Commit Graph

1159 Commits

Author SHA1 Message Date
rubenwardy
079775f5f6
Add dependency support to Edit Requests 2018-05-25 17:41:16 +01:00
rubenwardy
9d91d337d5
Move package endpoints to submodule 2018-05-25 17:28:32 +01:00
rubenwardy
71308d25d5
Fix bugs with edit EditRequests
Fixes #63
2018-05-25 17:12:34 +01:00
rubenwardy
211ed7c6fd
Add fancy multichoice selector
Fixes #47
2018-05-25 16:53:25 +01:00
rubenwardy
ebd99165e9
Fix static routing error 2018-05-25 15:23:55 +01:00
rubenwardy
3565058eea
Fix package count on home page 2018-05-24 20:42:26 +01:00
rubenwardy
149b43a013
Limit packages on home page and sort by creation date descending 2018-05-24 20:27:42 +01:00
rubenwardy
6012af6855
Fix square screenshots on package page 2018-05-24 19:54:59 +01:00
rubenwardy
ff83dda928
Fix crash on new release due to None id 2018-05-24 19:15:13 +01:00
rubenwardy
746ce990bd
Hide VCS release option when not available 2018-05-24 19:08:01 +01:00
Ezhh
b93a612207 Add help info for single and multiplayer tags 2018-05-24 02:34:07 +01:00
Ezhh
121d7cd7be Add help page for package tags 2018-05-24 02:03:44 +01:00
rubenwardy
fa35025ec1
Fix 404 on new package 2018-05-24 01:19:26 +01:00
rubenwardy
8d2bb12ad4
Add duplicate package check 2018-05-24 01:09:08 +01:00
rubenwardy
7bbb480ae2
Fix wizard showing after validation error 2018-05-24 01:04:25 +01:00
rubenwardy
f809cdcab0
Fix sass generation 2018-05-23 21:19:02 +01:00
rubenwardy
d5342d7096
Move static and uploads to public dir 2018-05-23 21:15:21 +01:00
rubenwardy
6e2f2e3d04
Fix user list sort order 2018-05-23 20:59:59 +01:00
rubenwardy
7b4b9a0562
Fix user list order 2018-05-23 20:38:27 +01:00
rubenwardy
715d499f8a
Improve release needed message 2018-05-23 20:37:17 +01:00
rubenwardy
fd62748af6
Add package creation date
Fixes #32
2018-05-23 20:18:40 +01:00
rubenwardy
ba1a40aa0a
Fix race condition when setting PackageRelease.task_id 2018-05-23 20:03:54 +01:00
rubenwardy
9c728a368c
Remove forum topic requirement 2018-05-23 19:40:37 +01:00
rubenwardy
243d474bc5
Allow editing release whilst it's importing 2018-05-23 19:31:25 +01:00
rubenwardy
e07f2515a1
Disallow approving release when it's still importing 2018-05-23 19:30:11 +01:00
rubenwardy
ba9879076d
Increase size of release URL 2018-05-23 19:24:10 +01:00
rubenwardy
fb22408794
Fix edit release infinite redirection 2018-05-23 19:17:44 +01:00
rubenwardy
bd2e7e7a46
Fix import bugs 2018-05-23 18:49:23 +01:00
rubenwardy
da33b10612
Reduce access restrictions on user list 2018-05-23 18:42:59 +01:00
rubenwardy
5c13200429
Fix GitHub login by making username case insensitive 2018-05-23 18:22:41 +01:00
rubenwardy
a0814f4792
Increase task_id column length 2018-05-23 18:19:29 +01:00
rubenwardy
73a7ebc352
Add Flask migrations 2018-05-23 17:59:24 +01:00
rubenwardy
a5eb97e0af
Add -t option to populate with test values, hide suggest changes button 2018-05-23 17:40:15 +01:00
rubenwardy
98d37dfe21
Add note about verification email 2018-05-21 22:46:48 +01:00
rubenwardy
5b056e8aab
Fix .box spacing issues 2018-05-21 22:42:02 +01:00
rubenwardy
4841c66602
Restrict changing display name to moderator and above 2018-05-21 22:31:50 +01:00
rubenwardy
0a72a38dd0
Add release requirement to package approval 2018-05-21 22:26:48 +01:00
rubenwardy
acad90c312
Add dependency support 2018-05-21 22:20:28 +01:00
rubenwardy
47432ea7e4
Clean up package list search CSS 2018-05-21 14:56:00 +01:00
rubenwardy
e5f61f2dc6
Add jumbotron background 2018-05-21 13:50:30 +01:00
rubenwardy
51a31b58b6
Improve alert box style 2018-05-18 21:36:00 +01:00
rubenwardy
ec4461d0f7
Improve homepage design further 2018-05-18 04:18:57 +01:00
rubenwardy
b6601e5bc4
Improve form CSS 2018-05-18 04:09:10 +01:00
rubenwardy
e45b4da09a
Improve package list design 2018-05-18 02:31:38 +01:00
rubenwardy
6711eb4afe
Move package grid to macro 2018-05-18 01:32:34 +01:00
rubenwardy
0b1aa8980b
Add footer 2018-05-18 01:27:11 +01:00
rubenwardy
bdca63bc7b
Improve alignment of MT icon 2018-05-18 00:43:41 +01:00
rubenwardy
c1672a413b
Add notification icon 2018-05-18 00:33:24 +01:00
rubenwardy
fe53b6f3f3
Improve CSS and overall design 2018-05-18 00:16:10 +01:00
rubenwardy
57c43e7994
Move create and work queue to user drop down 2018-05-17 23:26:36 +01:00
rubenwardy
67f028f6fc
Fix space between navbar buttons 2018-05-17 23:14:27 +01:00
rubenwardy
7396ed9105
Fix navbar image height 2018-05-17 23:01:50 +01:00
rubenwardy
3004dbeb4e
Add dropdown menu for user stuff 2018-05-17 20:36:46 +01:00
rubenwardy
69425df6c3
Add logo 2018-05-17 20:12:30 +01:00
rubenwardy
7fef1fb0d2
Add license to all JS/py files 2018-05-17 15:18:20 +01:00
rubenwardy
cfb92273ff
Add import screenshots admin action 2018-05-15 20:05:35 +01:00
rubenwardy
dbc56283eb
Add screenshot importing from github 2018-05-15 19:35:59 +01:00
rubenwardy
976f83c550
Fix wrong table style on all pages but help 2018-05-15 15:03:08 +01:00
rubenwardy
0bdcbd741c
Add import users from Krock's mod list feature 2018-05-15 15:00:12 +01:00
rubenwardy
e669b18062
Add user rank colors, sort user list 2018-05-15 15:00:07 +01:00
rubenwardy
f79c14ece8
Add footnote to ranks and permissions 2018-05-14 15:14:26 +01:00
rubenwardy
9d94744506
Change new package URL to /packages/new/ 2018-05-14 15:05:14 +01:00
rubenwardy
46b7c38d59
Fix bug in Conf file parser 2018-05-14 15:04:02 +01:00
rubenwardy
1e440d4523
Add help pages 2018-05-14 14:46:41 +01:00
rubenwardy
661bb19de7
Fix moderators being able to change emails of admins 2018-05-14 14:46:32 +01:00
rubenwardy
4bea3484d1
Fix crash on mod name not specified 2018-05-14 13:58:31 +01:00
rubenwardy
46a4bfbcff
Fix error not being shown in import meta alert 2018-05-14 13:54:29 +01:00
rubenwardy
c26c6ab220
Fix crash on no email provided to edit user 2018-05-14 01:35:18 +01:00
rubenwardy
e2341aafd9
Fix crash on anonymous user in rank_required 2018-05-14 01:27:08 +01:00
rubenwardy
d2b705b8bb
Don't require r query arg to check_task 2018-05-14 01:23:43 +01:00
rubenwardy
e6a3836aab
Hide all non-TaskError exceptions from users 2018-05-14 01:20:02 +01:00
rubenwardy
73fa5d1186
Add email support 2018-05-14 00:40:34 +01:00
rubenwardy
acc48c7262
Remove registering with username/email 2018-05-13 23:48:04 +01:00
rubenwardy
ff8bf992a9
Add user account claiming 2018-05-13 23:33:05 +01:00
rubenwardy
31615da169
Replace placeholder screenshot 2018-05-13 21:23:09 +01:00
rubenwardy
95235849f7
Fix another crash 2018-05-13 20:30:05 +01:00
rubenwardy
4d94e4a326
Fix crash in edit release caused by is_package_page addition 2018-05-13 18:55:08 +01:00
rubenwardy
889e130e6b
Fix CSRF vulnerability on approve/reject links
Fixes #17
2018-05-13 18:38:01 +01:00
rubenwardy
0dc02ed67f
Add is_package_page decorate to pass in package obj 2018-05-13 18:19:50 +01:00
rubenwardy
4fdafefcd5
Add notifications
Fixes #28
2018-05-13 18:04:07 +01:00
rubenwardy
f3c433de06
Restrict user list page to moderators only 2018-05-13 16:56:18 +01:00
rubenwardy
167a9f14cd
Combine doPackageList function and /packages/ endpoint 2018-05-13 15:56:19 +01:00
rubenwardy
7217353bdb
Remove package type from URLs 2018-05-13 15:52:30 +01:00
rubenwardy
4508d6f486
Add ability to edit editrequests 2018-05-13 15:40:37 +01:00
rubenwardy
e372bb810d
Add switch user admin tool 2018-05-13 15:28:27 +01:00
rubenwardy
8552796edd
Use string formatting when building strings 2018-05-13 00:38:54 +01:00
rubenwardy
38ed03f49a
Add Krock's mod search to meta importer to find forum topic ID 2018-05-12 18:50:09 +01:00
rubenwardy
db3d63d91a
Add more metadata to importer 2018-05-12 17:28:04 +01:00
rubenwardy
2b0f61b453
Remove duplicate Go button 2018-05-12 15:41:41 +01:00
rubenwardy
510bf50ff2
Remove meta refresh on task page, use JS to poll 2018-05-11 15:29:26 +01:00
rubenwardy
6d7b810270
Add login_required to task APIs 2018-05-11 15:14:35 +01:00
rubenwardy
92717f31dd
Add VCS import from Github 2018-05-11 15:04:17 +01:00
rubenwardy
5424f0aa34
Read from description.txt 2018-05-11 13:25:42 +01:00
Sam Walker
7aec5368d8
Use flexbox for responsive package grid 2018-05-11 12:58:46 +01:00
rubenwardy
5e44f3d64c
Move Github import to backend
Fixes #41
2018-05-11 12:57:16 +01:00
rubenwardy
a55b4f84ff
Improve homepage header 2018-05-09 18:58:09 +01:00
rubenwardy
1b0dfb2acc
Add scss, improve homepage 2018-05-09 18:35:36 +01:00
rubenwardy
552e35f6aa
Add meta importing from Github
Fixes #11
2018-05-09 17:44:58 +01:00
rubenwardy
6e1921f68b
Add release ID to JSON download 2018-04-19 20:20:05 +01:00
rubenwardy
1ecc3db383 Remove packages with no approved releases from JSON 2018-04-08 19:30:57 +01:00
rubenwardy
ed88c61714 Add ability to create packages on behalf of other users
Fixes #27
2018-04-03 15:01:21 +01:00
rubenwardy
5f2a399260 Add package licenses 2018-04-03 14:13:16 +01:00
rubenwardy
743d1d909f Add ability to suggest tag changes using edit requests
Fixes #36
2018-03-26 15:17:42 +01:00
rubenwardy
28d967e3e2 Add type to tag links 2018-03-26 13:04:09 +01:00
rubenwardy
821832770c Use .get() instead of filter_by() for primary key queries 2018-03-26 12:55:41 +01:00
rubenwardy
536da2add2 Add tag selecting in edit package
Fixes #35
2018-03-26 12:42:40 +01:00
rubenwardy
05444e8018 Add tags
Fixes #4
2018-03-26 11:28:34 +01:00
rubenwardy
c19f93e36d Add screenshot support
Fixes #21
2018-03-26 10:52:25 +01:00
rubenwardy
4b7bf9d778 Fix wrong download URL when serving behind reverse proxy 2018-03-24 23:10:13 +00:00
rubenwardy
69efdd7fde Add user rank changing
Fixes #14
2018-03-24 19:37:33 +00:00
rubenwardy
f51224a8d5 Add user list 2018-03-24 19:24:34 +00:00
rubenwardy
4898b69ea0 Fix script injection using markdown
Fixes #16
2018-03-24 19:19:04 +00:00
rubenwardy
287c9e5097 Fix suggest changes link 2018-03-24 02:49:30 +00:00
rubenwardy
cd77ad6050 Use bash script to start server 2018-03-24 02:36:14 +00:00
rubenwardy
6be5b3eb42 Add registering using Github 2018-03-24 02:35:58 +00:00
rubenwardy
bb9d589fb5 Add EditRequest approval and rejection 2018-03-23 19:49:57 +00:00
rubenwardy
a5042a986a Add EditRequest view page 2018-03-23 19:25:48 +00:00
rubenwardy
dcfd2b0003 Add EditRequest creation 2018-03-23 19:09:06 +00:00
rubenwardy
269c8c0eb4 Add packages API 2018-03-23 17:35:43 +00:00
rubenwardy
2a836c1000 Add dummy Package.getMainScreenshotURL() function 2018-03-23 17:08:28 +00:00
rubenwardy
73a79d5eef Add file upload for releases 2018-03-23 17:05:07 +00:00
rubenwardy
5a9fc51ffc Add download button and URL 2018-03-23 16:21:06 +00:00
rubenwardy
570dd519df Move package templates to subfolder 2018-03-23 15:34:13 +00:00
rubenwardy
8ff531535c Remove access to repos from Github scope 2018-03-21 22:05:32 +00:00
rubenwardy
0385590922 Use consistent quotes 2018-03-21 22:03:37 +00:00
rubenwardy
9ddc29e41f Fix work queue permissions check 2018-03-21 21:18:30 +00:00
rubenwardy
dc31a98416 Add list of packages to profile 2018-03-21 20:16:21 +00:00
rubenwardy
87d7b14283 Add packages page to list all types 2018-03-21 20:10:11 +00:00
rubenwardy
4e870bd641 Add basic search to package list 2018-03-21 20:02:53 +00:00
rubenwardy
8a8b0e505b Improve permission checking in work queue 2018-03-21 19:53:53 +00:00
rubenwardy
71691708ae Improve empty text on work queue 2018-03-21 19:45:39 +00:00
rubenwardy
12d58d338d Add more information to approval view 2018-03-21 19:36:53 +00:00
rubenwardy
e5de870b47 Add work queue 2018-03-21 19:24:45 +00:00
rubenwardy
aed805da6e Add new package approval 2018-03-21 19:03:14 +00:00
rubenwardy
49a2a9192f Add package validation 2018-03-21 17:42:43 +00:00
rubenwardy
a8edae1da0 Add package creation 2018-03-21 17:03:14 +00:00
rubenwardy
5cc49f2828 Add package release editing and approving 2018-03-21 16:41:34 +00:00
rubenwardy
32ac60256c Add redirect to full user URL 2018-03-21 16:41:22 +00:00
rubenwardy
bbb46ce19a Fix incomplete datetime being stored in releases, order releases by date 2018-03-20 18:47:18 +00:00
rubenwardy
d03947462d Add create release page 2018-03-20 18:40:19 +00:00
rubenwardy
596f725d59 Add package releases 2018-03-20 18:20:30 +00:00
rubenwardy
623ca3da07 Simplify PackageType 2018-03-20 04:11:50 +00:00
rubenwardy
363f9d8016 Add not joined rank 2018-03-20 04:03:13 +00:00
rubenwardy
73f24add61 Add permission validation to Package.checkPerm() 2018-03-20 03:54:38 +00:00
rubenwardy
bd58f9bee9 Clean up permissions code 2018-03-20 03:46:14 +00:00
rubenwardy
0fae3a6fcd Fix bug with PackageType to name form 2018-03-20 03:32:14 +00:00
rubenwardy
9fc71a5c99 User profile: fix typo, add rank 2018-03-20 03:31:49 +00:00
rubenwardy
dad980c3bf Add suggest changes button 2018-03-20 03:24:52 +00:00
rubenwardy
775850bbba Implement permissions properly 2018-03-20 03:16:46 +00:00
rubenwardy
5a3764f178 Add edit package 2018-03-20 02:58:31 +00:00
rubenwardy
d3484d96e1 Add more details to package page 2018-03-20 02:17:33 +00:00
rubenwardy
d17535fc78 Fix menu order 2018-03-20 01:19:19 +00:00
rubenwardy
07a9b79396 Check type and author in package details 2018-03-20 00:58:44 +00:00
rubenwardy
bc88027fbe Add package types 2018-03-20 00:44:47 +00:00
rubenwardy
ae600582a0 Rename mod to package, add README 2018-03-19 18:30:27 +00:00
rubenwardy
358fc4e5da Add package list and package view 2018-03-19 18:08:41 +00:00
rubenwardy
84f123a0ab Fix profile page 2018-03-18 18:14:55 +00:00
rubenwardy
7d20c49ebb Add Github login 2018-03-18 18:05:53 +00:00
rubenwardy
366a2302d0 Initial commit 2018-03-18 17:43:30 +00:00