Commit Graph

230 Commits

Author SHA1 Message Date
rubenwardy
3efda30b98 Add ability to send email in bulk 2020-12-05 22:02:33 +00:00
rubenwardy
683b855584 Enable email notifications for new users 2020-12-05 22:02:33 +00:00
rubenwardy
9c10e190bc Implement email notifications 2020-12-05 22:02:33 +00:00
rubenwardy
c46430c663 Add email to email tab, merge settings into settings.py file 2020-12-05 22:02:33 +00:00
rubenwardy
d976269f1a Add notice to notification settings 2020-12-05 22:02:33 +00:00
rubenwardy
c8e93a9f52 Add notification settings 2020-12-05 22:02:33 +00:00
rubenwardy
d32bb30071 Add notification types 2020-12-05 22:02:33 +00:00
rubenwardy
d5263acdf8 Fix switching between users in settings template 2020-12-05 03:16:09 +00:00
rubenwardy
7e29a621c3 Add missing login_required to profile edit 2020-12-05 02:42:44 +00:00
rubenwardy
dfb216a8df Log sensitive account changes 2020-12-05 02:42:32 +00:00
rubenwardy
f75bdec756 Add settings template 2020-12-05 02:20:21 +00:00
rubenwardy
4f52f82a15 Split profile into view and edit 2020-12-05 02:20:21 +00:00
rubenwardy
7c07ac22ad Add password suggestions to change and set password forms 2020-12-05 02:20:21 +00:00
rubenwardy
5f7c0a3b24 Implement password resets 2020-12-05 02:20:21 +00:00
rubenwardy
f7d90f2f53 Register: Fix behaviour on email conflict, add password suggestion 2020-12-05 02:20:21 +00:00
rubenwardy
43aab057c8 Implement change password 2020-12-05 02:20:21 +00:00
rubenwardy
bfcdd642fd Use NULL for non-existant passwords 2020-12-05 02:20:21 +00:00
rubenwardy
a8537659e2 Use correct mixin 2020-12-05 02:20:21 +00:00
rubenwardy
9620ceb842 Implement user registration and email confirmation 2020-12-05 02:20:21 +00:00
rubenwardy
5ef15e91d4 Remove flask_user and use flask_login directly, with partial feature support 2020-12-05 02:20:21 +00:00
rubenwardy
2358ed1b24 Remove WIP topic warning 2020-12-04 04:17:17 +00:00
rubenwardy
42f96618e2 Clean up code 2020-12-04 02:26:06 +00:00
rubenwardy
2b06bca015 Set default git reference in create release form to None 2020-12-04 01:43:20 +00:00
rubenwardy
78630b3071 Revert "Add ability to delete threads"
This reverts commit 15821fe7965078d3833a36cfd7d2bd71b9e236e9.
2020-12-04 01:18:02 +00:00
rubenwardy
15821fe796 Add ability to delete threads 2020-12-04 00:01:21 +00:00
rubenwardy
7d558ad7a2 Add pagination to audit log 2020-12-03 23:43:05 +00:00
rubenwardy
4242898e5d Add pagination to reviews 2020-12-03 23:41:11 +00:00
rubenwardy
ff93be7a89 Validate forum usernames in the claim form 2020-12-03 23:31:01 +00:00
rubenwardy
00be054135 Fix crash in GitLab webhook 2020-12-03 20:40:50 +00:00
rubenwardy
2aa0c3cc84 Fix texture pack license not present issue
Fixes #236
2020-09-22 21:53:04 +01:00
rubenwardy
d76f10c312 Improve documentation 2020-09-16 23:32:39 +01:00
rubenwardy
a1e0e37223 Fix broken state comparison due to enum ordering 2020-09-16 22:19:14 +01:00
rubenwardy
258a23cd9a Allow all users to delete their packages 2020-09-16 18:12:53 +01:00
rubenwardy
92fb54556a Implement package states for easier reviews 2020-09-16 17:51:03 +01:00
rubenwardy
e81eb9c8d5 Fix crash on no signature 2020-09-15 15:48:03 +01:00
rubenwardy
934d581737 Fix screenshot form not validating length 2020-08-19 13:06:21 +01:00
rubenwardy
1c4fe1b80c Fix reimport not unapproving releases 2020-08-18 17:39:20 +01:00
rubenwardy
f6ff5cba82 Add unfulfilled dependencies todo page 2020-08-18 17:28:42 +01:00
rubenwardy
193e4e39b1 Split hard and soft dependers on meta package page 2020-08-18 17:13:37 +01:00
rubenwardy
a8e1863341 Fix bug in meta package counting 2020-08-18 16:54:05 +01:00
rubenwardy
506974a50d Add forum topic list to meta packages page 2020-08-18 16:42:33 +01:00
rubenwardy
996ba82663 Add list of dependers to meta package page
Fixes #229
2020-08-18 16:29:51 +01:00
rubenwardy
68524adadf Remove provides/dependencies from Package form 2020-08-18 16:14:47 +01:00
rubenwardy
5db633d911 Add ability to delete unused metapackages 2020-08-18 14:22:16 +01:00
rubenwardy
0b06cfffba Fix reimport packages not importing unapproved package 2020-08-18 00:28:27 +01:00
rubenwardy
d69da8e3ea Redirect to correct URL when _game is missing from package name 2020-08-02 18:03:44 +01:00
rubenwardy
9a64809542 Add badges/shields support 2020-08-02 17:41:06 +01:00
rubenwardy
e931d6a88b Fix comment length checking 2020-07-29 17:33:12 +01:00
rubenwardy
a8a3067ac9 Fix validation error in release form on incomplete URL 2020-07-18 15:42:49 +01:00
rubenwardy
64dab0c4b6 Filter tags by available packages in package search 2020-07-18 03:14:56 +01:00
rubenwardy
68a132f271 Add tags list to homepage 2020-07-18 02:48:22 +01:00
rubenwardy
c7b1dcec4f Sort "recently added" by approved_at 2020-07-18 01:48:37 +01:00
rubenwardy
7d0a93483a Reorder homepage sections 2020-07-18 01:27:23 +01:00
rubenwardy
836caf0fe0 Add last updated section to homepage 2020-07-18 01:24:23 +01:00
rubenwardy
980e1c9eb1 Add ability to search admin tag list by views 2020-07-17 23:17:25 +01:00
rubenwardy
e2a9ea91cf Fix descriptions being required in warning and tag editors 2020-07-17 22:29:02 +01:00
rubenwardy
2a7318eca2 Add descriptions to tags, and show in multiselect 2020-07-17 22:08:34 +01:00
rubenwardy
6a674c3c79 Add Content Warnings 2020-07-17 20:48:51 +01:00
rubenwardy
0ac2827468 Fix crash on bad wtforms validator instace 2020-07-17 20:07:51 +01:00
rubenwardy
054dfa4cbd Fix wrong character limit on review form 2020-07-16 18:41:27 +01:00
rubenwardy
74371d3fcb Check user-agent for crawlers before incrementing counters 2020-07-16 14:35:12 +01:00
rubenwardy
208a47b41d Fix tag views redis cache 2020-07-16 13:52:18 +01:00
rubenwardy
7fb2f3170c Allow Editors to edit tags 2020-07-15 19:54:36 +01:00
rubenwardy
9663e87838 Count tag views 2020-07-15 19:06:00 +01:00
rubenwardy
8dd1cd9045 Increase comment length limit to 2000 2020-07-15 16:01:45 +01:00
rubenwardy
15bbc35e65 Use query builder in tag list, add link to todo page 2020-07-15 00:21:20 +01:00
rubenwardy
c9e4638b34 Add start of bulk tag editor 2020-07-14 23:45:54 +01:00
rubenwardy
aa6892da82 Add admin function to import foreign release URLs 2020-07-14 00:28:56 +01:00
rubenwardy
3fbc5f7751 Filter out packages with no releases in ContentDB 2020-07-13 02:10:59 +01:00
rubenwardy
ab58570a0c Redesign user list 2020-07-12 21:02:50 +01:00
rubenwardy
ae4352068e Add tag filter list to package page 2020-07-12 20:10:19 +01:00
rubenwardy
f437850a50 Add global url_set_query Jinja template function 2020-07-12 17:15:30 +01:00
rubenwardy
820c968f73 Replace "Content DB" with "ContentDB" 2020-07-12 16:34:25 +01:00
rubenwardy
9d1f098d8a Fix clear notifications creating null user_ids 2020-07-12 16:33:17 +01:00
rubenwardy
d7ecf8041a Improve admin list design 2020-07-12 03:47:59 +01:00
rubenwardy
284683e7e5 Add reimport of package meta from latest release
Fixes #127
2020-07-12 02:22:35 +01:00
rubenwardy
868ced76a8 Fix bugs related to package owner not being a maintainer 2020-07-11 16:56:36 +01:00
rubenwardy
dfbcbbbb47 Add ability to edit comments 2020-07-11 03:53:03 +01:00
rubenwardy
08f6bd8bef Move DELETE_REPLY permission to ThreadReply 2020-07-11 03:35:14 +01:00
rubenwardy
31b8a7931b Add ability for moderators to delete comments 2020-07-11 03:29:38 +01:00
rubenwardy
a4dd4f0429 Add audit log 2020-07-11 02:32:17 +01:00
rubenwardy
bf927c50f0 Add the ability to lock threads 2020-07-11 01:42:47 +01:00
rubenwardy
5f7be4b433 Add package and created_at to Notifications 2020-07-11 00:53:03 +01:00
rubenwardy
c490df7f50 Add ability for moderators to change linked accounts 2020-07-10 22:59:41 +01:00
rubenwardy
b9386d5a47 Use middleware to clear notifications
Fixes #70
2020-07-10 22:23:52 +01:00
rubenwardy
1d8abd8f4b Fix screenshot approval checkbox always being unchecked
Fixes #212
2020-07-10 22:19:47 +01:00
rubenwardy
660b813ff7 Fix pagination losing query arguments
Fixes #205
2020-07-10 22:08:52 +01:00
rubenwardy
42b08f9bcd Fix tags being lost on Edit Package
Fixes #211
2020-07-10 21:02:40 +01:00
rubenwardy
849cdd257d Ignore FileExistsError in thumbnails 2020-07-10 20:50:25 +01:00
rubenwardy
61e2c8a1c0 Remove accidental limit of 5 reviews on /reviews/ 2020-07-10 20:33:47 +01:00
rubenwardy
c7a7609763 Add /reviews/ to list all reviews 2020-07-10 20:31:29 +01:00
rubenwardy
d91f537bdd Improve thread list style 2020-07-10 19:46:14 +01:00
rubenwardy
436a4cce2b Add ability to delete reviews 2020-07-10 19:26:37 +01:00
rubenwardy
3eeaf3be22 Hide reviews from package thread list 2020-07-10 19:06:27 +01:00
rubenwardy
491f9ed679 Fix GitHub claim method being broken by phpBB update 2020-07-10 18:41:08 +01:00
rubenwardy
078765fe44 Prevent users from reviewing their own packages 2020-07-09 05:47:26 +01:00
rubenwardy
db80c441ec Fix crash when guests view package page 2020-07-09 05:34:55 +01:00
rubenwardy
75ab56cad1 Add recent positive reviews to homepage 2020-07-09 05:30:13 +01:00
rubenwardy
893507691b Show "Edit Review" button when a user already has a review 2020-07-09 04:50:49 +01:00
rubenwardy
ac7adde4b1 Add score bonus to reviews 2020-07-09 04:32:13 +01:00