Commit Graph

419 Commits

Author SHA1 Message Date
rubenwardy 1b42f3310a
Add admin feature to bulk create releases 2018-07-08 17:28:39 +01:00
rubenwardy 8d2144895e
Fix creation of corrupt zip files
Fixes #103
2018-07-08 17:10:38 +01:00
rubenwardy 13837ce88b
Add forum topic validation 2018-07-07 00:28:27 +01:00
rubenwardy 73c65e3561
Add topics API 2018-07-07 00:01:56 +01:00
rubenwardy 67a229b8a3
Add WIP forum topic support 2018-07-06 23:17:56 +01:00
rubenwardy 9dd3570a52
Add email on Flask error 2018-07-06 22:55:55 +01:00
rubenwardy a6c8b12cdd
Reorder new and popular, change number of packages in each 2018-07-04 01:20:55 +01:00
rubenwardy 7813c766ac
Add package scores and split homepage into new and popular 2018-07-04 01:08:34 +01:00
rubenwardy 9fc9826d30
Clarify home page on subject of free software 2018-07-04 00:42:46 +01:00
rubenwardy 19e1ed8b32
Implement forum parser to increase accuracy 2018-07-04 00:38:51 +01:00
cx384 eb6b1d6375 Fix wrong section reference in inclusion policy 2018-06-20 16:37:53 +01:00
rubenwardy 8c6d352d07
Fix crash on packages page 2018-06-15 23:44:13 +01:00
rubenwardy cfa7654efc
Move API to dedicated file, and reduce download size 2018-06-15 22:57:43 +01:00
rubenwardy 87af23248e
Fix package owners not being able to see review threads 2018-06-12 22:20:06 +01:00
rubenwardy 68b7a5e922
Add thread watchers 2018-06-11 23:39:41 +01:00
rubenwardy e8cc685f89
Prevent new threads being created on approved packages 2018-06-11 23:22:48 +01:00
rubenwardy 86dd137f75
Add dates to comments 2018-06-11 23:20:18 +01:00
rubenwardy b48f684c0a
Add note about review thread being private 2018-06-11 23:14:14 +01:00
rubenwardy e0e6f3392d
Improve comment CSS 2018-06-11 23:11:15 +01:00
rubenwardy b1c349cc35
Add comment system 2018-06-11 22:52:37 +01:00
rubenwardy 40aac38d43
Fix worker stopping due to gitpython asking for credentials 2018-06-07 23:25:00 +01:00
rubenwardy 051df7ab87
Increase timeout in polltask.js 2018-06-07 23:25:00 +01:00
rubenwardy bb1f6702f6
Add name to create link 2018-06-05 23:51:40 +01:00
rubenwardy c9542427b4
Add create links to topic table 2018-06-05 23:45:15 +01:00
rubenwardy 8601c5e075
Add support for importing generic git releases 2018-06-05 23:13:39 +01:00
rubenwardy 3d97eca387
Add git screenshot importing 2018-06-05 22:39:08 +01:00
rubenwardy 99b21f996c
Fix screenshot import being broken 2018-06-05 19:59:07 +01:00
rubenwardy 700cd7ce1f
Add game detection 2018-06-05 19:51:01 +01:00
rubenwardy 8d9da5a750
Make git error public, delete dir after clone 2018-06-05 19:47:02 +01:00
rubenwardy 9a36bb7d72
Add git support for importing meta 2018-06-05 00:10:47 +01:00
rubenwardy e424dc57e7
Set remember me to true in loginUser 2018-06-04 19:34:29 +01:00
rubenwardy 7d60e2f671
Fix crash on any type search 2018-06-04 19:02:02 +01:00
rubenwardy 8b2018852e
Add redirection to set password after login if not set 2018-06-04 18:49:42 +01:00
rubenwardy 0aeefa2387
Add email usage note 2018-06-04 18:36:26 +01:00
rubenwardy 4420f489ac
Require email in set password 2018-06-04 18:34:04 +01:00
rubenwardy aad4fd2a70
Add list of similar packages in details page 2018-06-03 19:27:56 +01:00
rubenwardy d2bda0fded
Update inclusion policy 2018-06-03 15:19:17 +01:00
rubenwardy b84727b187
Fix username being case-sensitive 2018-06-03 01:50:58 +01:00
rubenwardy 6fd36dbfff
Add WIP things note to policy 2018-06-02 21:40:48 +01:00
rubenwardy 8e134a7c85
Fix todo topics sort order 2018-06-02 19:44:57 +01:00
rubenwardy 389258a10c
Fix button CSS issue 2018-06-02 19:42:46 +01:00
rubenwardy 3657316fa2
Clean up todo topics related HTML 2018-06-02 19:41:13 +01:00
rubenwardy a6f4249afb
Increase link string length limit 2018-06-02 18:32:07 +01:00
rubenwardy 70afb94d3b
Add topics todo list based on forum parser 2018-06-02 18:26:17 +01:00
rubenwardy 8984adaa72 Update policy document 2018-06-02 17:17:32 +01:00
rubenwardy c523624696
Fix button in alert borders 2018-05-30 04:00:27 +01:00
rubenwardy 072f189006
Add alternatives section to package page 2018-05-30 02:59:11 +01:00
rubenwardy 9967101d9f
Add package inclusion policy and guidance 2018-05-30 01:20:47 +01:00
rubenwardy 1ed09b646b
Fix double single quote 2018-05-29 23:21:24 +01:00
rubenwardy f554bfc92b
Fix max package grid cell size 2018-05-29 23:18:13 +01:00
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