Commit Graph

369 Commits

Author SHA1 Message Date
rubenwardy
12e364969b Add licenses API 2021-02-02 22:41:48 +00:00
rubenwardy
ca58c70206 Add validation to package API 2021-02-02 22:34:51 +00:00
rubenwardy
551996ca14 Add start of package edit API 2021-02-02 21:35:29 +00:00
rubenwardy
14810b2cc5 Add table of contents to help pages 2021-02-02 20:05:24 +00:00
rubenwardy
a040c7dd2e Clean up audit_log reasons 2021-02-02 17:29:03 +00:00
rubenwardy
912ebbc409 Add API to delete releases 2021-02-02 17:09:28 +00:00
rubenwardy
e1fe63ab19 Add more screenshot APIs 2021-02-02 17:09:25 +00:00
rubenwardy
509f03ce65 Add API to create screenshots 2021-02-02 17:09:23 +00:00
rubenwardy
64a897b52f Improve token form 2021-02-02 17:09:21 +00:00
rubenwardy
033f40c263 Add support for zip uploads in the API
Fixes #261
2021-02-02 00:19:32 +00:00
rubenwardy
a78fe8ceb9 Split importtasks.py 2021-02-01 22:43:43 +00:00
rubenwardy
c6a973f7e1 Add ability to filter by minetest-mods in outdated page 2021-02-01 21:18:27 +00:00
rubenwardy
d7647520c8 Fix erroneous updates from Git Update Detector 2021-02-01 11:34:55 +00:00
rubenwardy
ede010c25d Fix condition in apply_all_updates 2021-01-30 22:59:55 +00:00
rubenwardy
db09b8eb84 Add ability to bulk create releases for outdated packages 2021-01-30 22:58:55 +00:00
rubenwardy
a0cd155730 Add ability to bulk set update config 2021-01-30 22:44:54 +00:00
rubenwardy
c0112828eb Optimise package query speed 2021-01-30 19:32:04 +00:00
rubenwardy
b22ef5ae83 Add release creation audit logs 2021-01-30 17:10:38 +00:00
rubenwardy
8d6661511a Update copyrights 2021-01-30 17:00:58 +00:00
rubenwardy
36dc51ef4a Fix broken query condition in user todo 2021-01-30 16:07:39 +00:00
rubenwardy
663cbd91f5 Add missing tags section to user todo list 2021-01-30 16:03:09 +00:00
rubenwardy
82fe0e7bbf Add All Package Tags to todo tabs 2021-01-30 15:53:13 +00:00
rubenwardy
324815d58d Default to sort=score on All Outdated Packages 2021-01-30 15:45:48 +00:00
rubenwardy
a67e3af172 Improve update config form 2021-01-30 15:41:55 +00:00
rubenwardy
56ff354021 Fix new release not reseting outdated flag 2021-01-30 01:19:43 +00:00
rubenwardy
ac4d5c8c88 Add page with list of all update configs 2021-01-30 01:08:00 +00:00
rubenwardy
60a33a6492 Add ability to sort outdated packages list 2021-01-30 00:02:40 +00:00
rubenwardy
a088b1b0b5 Remove outdated packages section from editor work queue, as it's a tab now 2021-01-29 23:26:44 +00:00
rubenwardy
29adccb6d1 Add PackageUpdateConfig.auto_created 2021-01-29 23:18:37 +00:00
rubenwardy
c6d39fcba3 Add title and ref query args to create release 2021-01-29 23:12:26 +00:00
rubenwardy
3dde8c05ad Improve wizard behaviour 2021-01-29 22:54:14 +00:00
rubenwardy
53babc1113 Fix outdated packages page query 2021-01-29 22:37:17 +00:00
rubenwardy
09f8302e74 Add support for New Tag update detection trigger 2021-01-29 22:20:44 +00:00
rubenwardy
cf5360f6f6 Don't disable update config on webhooks 2021-01-29 20:26:45 +00:00
rubenwardy
ef9860b6cc Replace update bot message with notification only 2021-01-29 20:01:48 +00:00
rubenwardy
4f920f011f Add new to do list UI 2021-01-29 19:38:14 +00:00
rubenwardy
e8dca43f44 Remove webhook creation wizard 2021-01-29 16:36:23 +00:00
rubenwardy
46b60f9d24 Improve updateconfig docs further 2021-01-29 16:36:23 +00:00
rubenwardy
a02942b7e0 Disable updateconfig if webhooks are used 2021-01-29 16:36:23 +00:00
rubenwardy
c5d99e00d8 Document that new tag isn't implemented yet 2021-01-29 16:36:23 +00:00
rubenwardy
8fcea988ca Add admin option to set updateconfigs on all relevant packages 2021-01-29 16:36:23 +00:00
rubenwardy
17798df342 Add ref to update config 2021-01-29 16:36:23 +00:00
rubenwardy
c8406b45d4 Add set up releases wizard 2021-01-29 16:36:23 +00:00
rubenwardy
14a67b99ba Add package update configuration for polling 2021-01-29 16:36:23 +00:00
rubenwardy
6f9c01c375 Add pending verification note to email settings 2021-01-24 13:25:17 +00:00
rubenwardy
07d7282383 Add APIs for tags and homepage 2021-01-16 00:34:09 +00:00
rubenwardy
01bed3e307 Add user-agnostic redirect to todo tags 2021-01-10 03:09:02 +00:00
rubenwardy
0054f362a7 Add account form to account settings page 2021-01-01 17:02:08 +00:00
rubenwardy
12bcdf2d47 Prevent moderators and admins from being deleted 2021-01-01 16:53:14 +00:00
rubenwardy
6ebab36877 Fix postReleaseCheckUpdate running twice on release creation 2020-12-31 18:19:07 +00:00
rubenwardy
c065519cca Add threads to navbar 2020-12-22 12:50:59 +00:00
rubenwardy
df79159e2e Improve thread list appearance 2020-12-22 12:39:32 +00:00
rubenwardy
60362abef1 Improve claim user UX 2020-12-22 10:58:43 +00:00
rubenwardy
c44cc8082c Enable email notifications on claim login 2020-12-15 16:24:49 +00:00
rubenwardy
7a4335b8bc Improve form error messages 2020-12-15 12:56:17 +00:00
rubenwardy
8e3930d092 Fix failed login to unclaimed account 2020-12-15 12:29:30 +00:00
rubenwardy
5cbdaae5b3 Allow any maintainer/editor to set up GitHub webhooks 2020-12-14 21:22:11 +00:00
rubenwardy
c7aecd32be Fix error creating releases from certain git references
Fixes #249
2020-12-14 21:05:56 +00:00
rubenwardy
4820d11ce3 Tweak homepage row limits 2020-12-14 11:52:38 +00:00
rubenwardy
fc8cd3cfb8 Add top reviewed section to homepage 2020-12-14 11:48:26 +00:00
rubenwardy
fc9b8c2a5a Fix ungraceful crash when registering taken username 2020-12-13 14:01:18 +00:00
rubenwardy
9ec91fc52d Fix 'Remember Me' 2020-12-10 23:36:56 +00:00
rubenwardy
dfa5d0c5a7 Fix not being able to delete cover image 2020-12-10 23:07:13 +00:00
rubenwardy
5a0aa636f3 Add ability to change cover image
Fixes #125
2020-12-10 22:40:20 +00:00
rubenwardy
7088ffd321 Add ability for admin to hard delete packages 2020-12-10 22:10:12 +00:00
rubenwardy
333dd60b32 Add logging of log ins 2020-12-10 22:10:12 +00:00
rubenwardy
4433c32afc Add ability to filter audit log by user 2020-12-10 22:10:12 +00:00
rubenwardy
ac7714b997 Add account page to settings 2020-12-10 22:10:12 +00:00
rubenwardy
778a602aa6 Add user deletion / deactivation 2020-12-10 22:10:12 +00:00
rubenwardy
fd0b203f1e Add ability to delete threads
This reverts commit 78630b3071.
2020-12-10 22:10:12 +00:00
rubenwardy
d8f33a4111 Add forum user redirect page 2020-12-07 20:11:40 +00:00
rubenwardy
55dc6460d2 Change default notification settings 2020-12-06 15:04:09 +00:00
rubenwardy
3aa12be544 Add daily notification digests 2020-12-06 15:02:02 +00:00
rubenwardy
35e1659b77 Fix crash on missing GitLab field 2020-12-06 04:54:32 +00:00
rubenwardy
cf307e25d0 Add delete button to screenshot list 2020-12-06 04:30:47 +00:00
rubenwardy
4226e945e6 Improve new screenshot behaviour 2020-12-06 04:08:31 +00:00
rubenwardy
f93a2d8717 Add ability to reorder screenshots 2020-12-06 03:37:05 +00:00
rubenwardy
8ff61b4517 Fix incorrect sort order in notifications 2020-12-05 23:40:03 +00:00
rubenwardy
4944463f56 Partition Editor notifications away from normal notifications in the notifications list 2020-12-05 23:09:29 +00:00
rubenwardy
5a2ce15f96 Fix users being able to modify other user's email settings 2020-12-05 22:24:21 +00:00
rubenwardy
f6f4fe4fc6 Fix Email settings tab changing user 2020-12-05 22:20:43 +00:00
rubenwardy
a17260a4ee Add digest settings (despite not being implemented) 2020-12-05 22:03:05 +00:00
rubenwardy
4019e82f4a Add username-less redirect to email settings 2020-12-05 22:02:33 +00:00
rubenwardy
79230c1b0e Add bulk notification sending 2020-12-05 22:02:33 +00:00
rubenwardy
da3175e7bd Add email changed email 2020-12-05 22:02:33 +00:00
rubenwardy
d654113204 Remove email from user on unsubscribe 2020-12-05 22:02:33 +00:00
rubenwardy
6e3d32a9d5 Check for blacklisted emails in change email forms 2020-12-05 22:02:33 +00:00
rubenwardy
085f0b49c6 Add unsubscribe 2020-12-05 22:02:33 +00:00
rubenwardy
5fe3b0b459 Add email send reasons 2020-12-05 22:02:33 +00:00
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 15821fe796.
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