Commit Graph

419 Commits

Author SHA1 Message Date
rubenwardy c80ea2c1b1
Sort meta list, and packages on profile 2018-05-29 23:15:41 +01:00
rubenwardy edd51b86d0
Add package grid to profile page 2018-05-29 22:58:46 +01:00
rubenwardy 944b8a4eb0
Add placeholder to release title 2018-05-29 22:43:42 +01:00
rubenwardy a627893355
Add trusted member color 2018-05-29 21:40:10 +01:00
rubenwardy 1600687449
Add non-free warning 2018-05-29 21:25:47 +01:00
rubenwardy fa2f17526f
Disable edit requests 2018-05-29 20:51:42 +01:00
rubenwardy 002e6828b6
Fix user claim verification token not being remembered due to multiple nodes 2018-05-29 20:32:15 +01:00
rubenwardy a947472c67
Fix crash on JSON packages due to lack of None check 2018-05-29 20:18:36 +01:00
rubenwardy e7acd7faa3
Add separate media license
Fixes #91
2018-05-29 20:17:18 +01:00
rubenwardy f755c7d429
Fix flash being hidden behind elements
Fixes #84
2018-05-29 18:50:45 +01:00
rubenwardy b6652547fa
Improve sign in form 2018-05-29 18:31:48 +01:00
rubenwardy df291db69b
Add email/password sign up 2018-05-29 18:27:39 +01:00
rubenwardy 63a3b5e872
Add claim call to action on unclaimed accounts 2018-05-29 18:16:05 +01:00
rubenwardy 6353ac29e9
Add set password form 2018-05-29 18:07:23 +01:00
rubenwardy a4b583bac5
Add github-less claim method 2018-05-29 17:42:27 +01:00
rubenwardy 52fdc8c212
Add clear all button to notifications page 2018-05-29 17:20:11 +01:00
rubenwardy 7e80adad56
Fix soft deleted and unapproved packages appearing where they shouldn't 2018-05-29 17:15:53 +01:00
rubenwardy bf5080aa18
Increase thumbnail resolution 2018-05-29 16:56:35 +01:00
rubenwardy 89f95a22dc
Add pagination 2018-05-29 16:52:53 +01:00
rubenwardy f1b21b73b2
Add max package tile size 2018-05-29 16:23:29 +01:00
rubenwardy 6a13dca2d5
Add thumbnail support 2018-05-29 16:19:17 +01:00
rubenwardy 048b604a75
Fix changing email not working due to validation issue 2018-05-28 15:25:45 +01:00
rubenwardy f7bb29c839
Fix empty release titles being allowed
Fixes #86
2018-05-28 14:55:31 +01:00
Ezhh ba506cb16d
Update ranks and permissions help page 2018-05-28 01:40:02 +01:00
Pavel Puchkin 179d0be933 Make search case-insensitive by using ilike 2018-05-28 00:06:57 +01:00
rubenwardy d6790903a6
Add trusted member rank 2018-05-27 23:56:13 +01:00
rubenwardy 48573fe922
Use proper datetime formatting 2018-05-27 23:45:12 +01:00
rubenwardy dff967d3df
Clarify name/title 2018-05-27 23:36:35 +01:00
rubenwardy a2b873bf38
Add 'set provides from name' admin action 2018-05-27 23:13:13 +01:00
rubenwardy d0969263ba
Fix crash due to remaining raise() in getDepends() 2018-05-27 23:02:11 +01:00
rubenwardy d046de8057
Merge pull request #78 from minetest/dev
Add meta packages, remove current dependencies
2018-05-27 22:55:46 +01:00
rubenwardy 05e536b121
Add helpful text to field labels 2018-05-27 22:55:11 +01:00
rubenwardy 2d6b55e67b
Reorder package fields 2018-05-27 22:51:50 +01:00
rubenwardy 44c9f7e58f
Hide unneeded fields depending on package type 2018-05-27 22:48:53 +01:00
rubenwardy 746cf7f4b5
Add bulk dependency importer from Github 2018-05-27 22:34:24 +01:00
rubenwardy fb5cba4cc8
Add dependency detection to importer 2018-05-27 22:04:03 +01:00
rubenwardy fb8aa25b71
Remove required by for now 2018-05-27 21:42:31 +01:00
rubenwardy 5d944d79d3
Improve placeholder text 2018-05-27 21:36:58 +01:00
rubenwardy ca7708437b
Fix potentiall XSS vulnerability 2018-05-27 21:33:50 +01:00
rubenwardy 63af1535b9
Add dependencies 2018-05-27 21:31:11 +01:00
rubenwardy 82159d488d
Add meta package selector 2018-05-27 20:22:01 +01:00
rubenwardy 5e4613a6ef
Add ability to edit provides 2018-05-27 18:52:23 +01:00
rubenwardy e85298d890
Allow new members to edit their packages if it hasn't been approved yet 2018-05-27 18:06:46 +01:00
rubenwardy f4c9348b7f
Add metapackages pages 2018-05-27 18:01:27 +01:00
rubenwardy 7b6ad051c4
Remove dependencies, add meta packages 2018-05-27 18:01:27 +01:00
rubenwardy 65fdba5882
Require screenshots for games and texture packs 2018-05-27 18:00:38 +01:00
Ezhh 54b7e7c3f7 Update package tags help page 2018-05-27 17:12:31 +01:00
rubenwardy 19848a154d
Add tag editor 2018-05-27 17:12:44 +01:00
rubenwardy 6ce2eb7133
Remove logo from navbar 2018-05-26 18:16:11 +01:00
rubenwardy c358c8b148
Revert "Add jumbotron background"
This reverts commit e5f61f2dc6.
2018-05-26 18:14:32 +01:00
rubenwardy 3d5a6dc32a
Fix two small usability issues 2018-05-26 03:08:14 +01:00
rubenwardy 506d5e518e
Fix crash on approving screenshots on approve package 2018-05-26 02:31:18 +01:00
rubenwardy ef0a32524e
Add banning
Fixes #13
2018-05-26 01:58:56 +01:00
rubenwardy 2abcd8ee47
Add screenshot recommendation to package alert banner 2018-05-26 01:29:18 +01:00
rubenwardy 2b7cc31b4b
Add height limit to autocomplete 2018-05-26 00:32:22 +01:00
rubenwardy 48ebc751e4
Show autocomplete on multichoice_selector focus 2018-05-26 00:28:52 +01:00
rubenwardy 968fd29bad
Fix crash on package query 2018-05-25 20:06:35 +01:00
rubenwardy fb2552ab55
Finish screenshot approval feature 2018-05-25 19:06:05 +01:00
rubenwardy 53df124973
Add edit and delete screenshot 2018-05-25 18:57:30 +01:00
rubenwardy 8cf5c7204f
Add package soft deletion 2018-05-25 18:28:24 +01:00
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