Commit Graph

1240 Commits

Author SHA1 Message Date
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
c5fa76dab0 Add permissions check in outdated macro 2021-01-30 00:50:50 +00:00
rubenwardy
33bf3304a1 Add help message and button to outdated packages in to do list 2021-01-30 00:43:21 +00:00
rubenwardy
53d2d18b89 Fix create release title in warning on package page 2021-01-30 00:25:48 +00:00
rubenwardy
fa23a00014 Fix create release link in warning on package page 2021-01-30 00:24:38 +00:00
rubenwardy
81b24c6cb3 Add outdated warning to package page 2021-01-30 00:15:07 +00:00
rubenwardy
60a33a6492 Add ability to sort outdated packages list 2021-01-30 00:02:40 +00:00
rubenwardy
9acb7698ef Fix updates beat 2021-01-29 23:35:23 +00:00
rubenwardy
9e6ded6544 Fix empty message on user to do page 2021-01-29 23:30:30 +00:00
rubenwardy
ff5f98558d Fix notifications page package name width 2021-01-29 23:29:06 +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
fe2acddb5b Add datetime to outdated packages macro 2021-01-29 23:00:23 +00:00
rubenwardy
3dde8c05ad Improve wizard behaviour 2021-01-29 22:54:14 +00:00
rubenwardy
f49da74c3a Add help page for update detection 2021-01-29 22:50:18 +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
665bfd64d2 Bump CSS version 2021-01-29 20:27:33 +00:00
rubenwardy
cf5360f6f6 Don't disable update config on webhooks 2021-01-29 20:26:45 +00:00
rubenwardy
f1edfcebc0 Fix broken package icons 2021-01-29 20:21:17 +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
b613ac4b89 Fix default branch detection 2021-01-29 17:17:51 +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
693cf4250a Improve updateconfig docs 2021-01-29 16:36:23 +00:00
rubenwardy
ee9f6454e0 Change bot thread title 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
7be0616d38 Improve bot profile picture contrast 2021-01-29 16:36:23 +00:00
rubenwardy
ea527f9598 Only run update configs on approved packages 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
6b8b98c15b Add updateconfig error reporting 2021-01-29 16:36:23 +00:00
rubenwardy
17798df342 Add ref to update config 2021-01-29 16:36:23 +00:00
rubenwardy
2f2b8dc983 Add link to updateconfig from new release 2021-01-29 16:36:23 +00:00
rubenwardy
6e763b8453 Add notification type for bot messages 2021-01-29 16:36:23 +00:00
rubenwardy
09a9219fcd Add outdated flag to UpdateConfig to stop notification spam 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
7461acdd1f Add link to Installing X on the package page 2021-01-29 16:27:38 +00:00
rubenwardy
88a8e85b12 Fix crash on forum profile not found 2021-01-27 17:42:47 +00:00
rubenwardy
ce4c2142e2 Rename "Work in Progress" state to "Draft" 2021-01-25 16:58:58 +00:00
rubenwardy
6f9c01c375 Add pending verification note to email settings 2021-01-24 13:25:17 +00:00
rubenwardy
5e255a07f6 Add link to issue tracker in review form 2021-01-24 13:10:20 +00:00
rubenwardy
5314fda342 Fix broken user delete 2021-01-24 13:01:24 +00:00
rubenwardy
dfc6f6fd6e Fix crash on importing texture pack with no .conf 2021-01-21 20:47:44 +00:00
rubenwardy
05a08b4c05 Check for release key in minetestcheck 2021-01-16 18:19:51 +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
6d2558a921 Update top packages page 2021-01-10 03:03:07 +00:00
rubenwardy
28995ffdd6 Update policy and guidance 2021-01-10 03:00:28 +00:00
rubenwardy
e4d0b57f3c Improve Minetest config parsing error messages 2021-01-10 02:59:57 +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
e709fc9ce3 Update new thread message 2021-01-01 16:36:39 +00:00
Lars Mueller
e0b490fdc0 Add support for multiline values in .conf files 2021-01-01 16:24:49 +00:00
rubenwardy
7964f5979a Add missing 'ago' to datetimes 2020-12-31 18:21:34 +00:00
rubenwardy
6ebab36877 Fix postReleaseCheckUpdate running twice on release creation 2020-12-31 18:19:07 +00:00
rubenwardy
afb699f8d3 Include mod name as prefix to zips created by git-archive-all 2020-12-29 20:42:43 +00:00
rubenwardy
d772f157eb Improve user dropdown 2020-12-22 16:09:28 +00:00
rubenwardy
1b81ff4d3b
Update privacy policy 2020-12-22 13:14:49 +00:00
rubenwardy
8c5d997c6e Improve threads list design further 2020-12-22 12:54:48 +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
1064885a2c Improve footer 2020-12-22 11:14:16 +00:00
rubenwardy
60362abef1 Improve claim user UX 2020-12-22 10:58:43 +00:00
rubenwardy
d7d9131de8 Add quote styling 2020-12-17 20:10:46 +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
2ae4a2ed5a Fix broken includes in user models 2020-12-10 23:08:53 +00:00
rubenwardy
dfa5d0c5a7 Fix not being able to delete cover image 2020-12-10 23:07:13 +00:00
rubenwardy
fc3a481e6f Fix profile page crash when not logged in 2020-12-10 22:43:02 +00:00
rubenwardy
5ab8c2f0f1 Fix metapackages crash due to missing lazy=dynamic 2020-12-10 22:42:53 +00:00
rubenwardy
5a0aa636f3 Add ability to change cover image
Fixes #125
2020-12-10 22:40:20 +00:00
rubenwardy
fb1d33d27a Fix Package not using lazyloading for some relationships 2020-12-10 22:10:12 +00:00
rubenwardy
8d8577a941 Clean up database constraints 2020-12-10 22:10:12 +00:00
rubenwardy
70ac8fa6ab Convert models.py into package 2020-12-10 22:10:12 +00:00
rubenwardy
7088ffd321 Add ability for admin to hard delete packages 2020-12-10 22:10:12 +00:00
rubenwardy
e175e489e8 Use input-group for forum topic 2020-12-10 22:10:12 +00:00
rubenwardy
7efdf5cfef Fix minor things 2020-12-10 22:10:12 +00:00
rubenwardy
5fb01f01bf Fix broken audit links for normal users 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
d5190b0d76 Add audit log to account settings page 2020-12-10 22:10:12 +00:00
rubenwardy
58e1b924ca Add link to API docs in API Tokens page 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 78630b30715cb46b5695f8aba8443ffcfd4c67e5.
2020-12-10 22:10:12 +00:00
rubenwardy
b28732ee74 Use explicit back references in Database 2020-12-10 22:10:12 +00:00
rubenwardy
d8f33a4111 Add forum user redirect page 2020-12-07 20:11:40 +00:00
rubenwardy
396a620cf4 Fix visual glitch with discarded topics 2020-12-07 18:19:36 +00:00
rubenwardy
f7b3f4573d Add celery task maillogging 2020-12-07 18:17:17 +00:00
rubenwardy
9ead6c1481 Fix broken tag input due to jQuery UI update 2020-12-07 10:10:52 +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
2a9e52d36b Add note about thumbnails to screenshot page 2020-12-06 04:48:40 +00:00
rubenwardy
3f48905331 Add screenshot placeholder on package page 2020-12-06 04:41:58 +00:00
rubenwardy
cf307e25d0 Add delete button to screenshot list 2020-12-06 04:30:47 +00:00
rubenwardy
4046c00a01 Improve edit/new screenshot appearance 2020-12-06 04:22:56 +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
2910fcc1a4 Improve notification description 2020-12-06 01:23:18 +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
b3bd7ac615 Sort notifications in reverse order 2020-12-05 22:36:00 +00:00
rubenwardy
64a180ba8f Add reference validation
Fixes #158
2020-12-05 22:29:37 +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
e1d6c4f5f5 Reorder 'Settings' in user dropdown 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
19308b645b Add privacy policy 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
8872ad33ad Tweak settings template 2020-12-05 03:12:33 +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
0082870864 Add nav dropdown separators 2020-12-05 02:20:21 +00:00
rubenwardy
f69fb47d69 Fix links missing icons in new profile 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
afb87c525d Improve verify email wording 2020-12-05 02:20:21 +00:00
rubenwardy
9b0ce41fd7 Fix signature parsing 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
af8d8c330d Add created_at to approval queue list 2020-12-04 03:59:02 +00:00
rubenwardy
14f643592c Fix user conflict on forum import 2020-12-04 03:14:04 +00:00
rubenwardy
8c5cdb630e Fix forum parser 2020-12-04 02:57:36 +00:00
rubenwardy
b18903b59b Clean up JavaScript 2020-12-04 02:34:08 +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
15063d92cd Require packages to have all hard deps in approval process 2020-12-04 01:00:57 +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
d24f024cca Move screenshots to top of approval queue page 2020-12-03 23:36:24 +00:00
rubenwardy
ff93be7a89 Validate forum usernames in the claim form 2020-12-03 23:31:01 +00:00
rubenwardy
9f62c251f2 Fix error emails not preserving whitespace 2020-12-03 23:09:17 +00:00
rubenwardy
aff20f1a6d Remove error on game missing hard deps
Fixes #241
2020-12-03 21:08:20 +00:00
rubenwardy
6841a295ff Use contextlib to safely delete dirs in importtasks 2020-12-03 21:07:42 +00:00
rubenwardy
7a584e1a6e Fix failing UI test 2020-12-03 20:40:50 +00:00
rubenwardy
00be054135 Fix crash in GitLab webhook 2020-12-03 20:40:50 +00:00
rubenwardy
6503a82094 Fix crash on email templating 2020-10-19 15:30:45 +01:00
rubenwardy
31f52580c2 Change open package approval thread message 2020-09-23 19:17:06 +01:00
rubenwardy
2aa0c3cc84 Fix texture pack license not present issue
Fixes #236
2020-09-22 21:53:04 +01:00
rubenwardy
a3b3525b78 Add work queue icon to navigation bar 2020-09-19 19:30:33 +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
9a1c1c56e6 Allow admin to make a package WIP 2020-09-16 22:11:47 +01:00
rubenwardy
f56b6021d8 Fix crash on missing PackageState 2020-09-16 22:03:36 +01:00
rubenwardy
380c88b5a3 Improve release approval section appearance 2020-09-16 21:55:52 +01:00
rubenwardy
dd1288dc3c Sort notifications by date 2020-09-16 18:16:41 +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
e85d1755f0 Increase thread/comment ratelimiting based on rank 2020-08-18 18:10:42 +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
ab7d5a3feb Show optional dependencies on games 2020-08-18 17:09:13 +01:00
rubenwardy
2279208b00 Check for game hard dependencies 2020-08-18 17:08:17 +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
b8ee612b45 Update meta on release import 2020-08-18 16:12:27 +01:00
rubenwardy
5db633d911 Add ability to delete unused metapackages 2020-08-18 14:22:16 +01:00
rubenwardy
2f208d9239 Add regex checking for dependency names 2020-08-18 13:57:56 +01:00
rubenwardy
0c81d0ae2b Improve MinetestCheck name validation 2020-08-18 13:34:04 +01:00
rubenwardy
6167bdc7f0 Remove empty dependencies in MinetestCheck 2020-08-18 11:43:13 +01:00
rubenwardy
b50a306e66 Print updateMetaFromRelease info 2020-08-18 00:41:37 +01:00
rubenwardy
0b06cfffba Fix reimport packages not importing unapproved package 2020-08-18 00:28:27 +01:00
rubenwardy
85551539f0 Fix incorrect game names detected by MinetestCheck 2020-08-18 00:25:13 +01:00
rubenwardy
3914659718 Fix dependencies still being added if in provides
Fixes #226
2020-08-18 00:16:03 +01:00
rubenwardy
8fd229b739 Fix crash on null user agent 2020-08-16 13:13:25 +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
ce034fddd4 Add downloads to package JSON 2020-08-02 17:10:47 +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
dd7146205a Add description title tooltips to tags 2020-07-18 02:54:40 +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
b067fd2e77 Add support for filtering content warnings 2020-07-17 21:18:27 +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
0e4722ea98 Add nofollow to tags 2020-07-16 14:07:21 +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
643380038b Fix broken ordering by reverting change to default 2020-07-15 15:44:59 +01:00
rubenwardy
27dfbabe2f Improve tags page layout and add link to profile 2020-07-15 00:54:26 +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
ff2cd6dc2f Fix dropdown menu alignment 2020-07-14 04:28:27 +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
a57e06d09b Restrict seeing the email addresses of others to admins only 2020-07-13 00:34:05 +01:00
rubenwardy
bbc89bb2c2 Fix misattribution of review due to missing reply ordering 2020-07-12 23:53:20 +01:00
rubenwardy
ab58570a0c Redesign user list 2020-07-12 21:02:50 +01:00
rubenwardy
cd520a0251 Redesign version edit page 2020-07-12 20:36:32 +01:00
rubenwardy
8bcf12e1a7 Redesign tags and license edit pages 2020-07-12 20:34:16 +01:00
rubenwardy
ec087e4687 Move tag list to top of package list page 2020-07-12 20:19:00 +01:00
rubenwardy
ae4352068e Add tag filter list to package page 2020-07-12 20:10:19 +01:00
rubenwardy
2faa0e4219 Fix query sorting further 2020-07-12 17:56:06 +01:00
rubenwardy
2e3a9035c4 Fix pagination widget syntax error 2020-07-12 17:52:30 +01:00
rubenwardy
2e6f99d09e Fix fulltext search order being overriden 2020-07-12 17:52:15 +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
a123f42291 Fix incorrect mod name fold in MinetestCheck 2020-07-12 03:09:01 +01:00
rubenwardy
4bd9411d87 Add check constraint on MetaPackage name 2020-07-12 02:43:51 +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
729241c0fe Remove full review form from package page 2020-07-11 04:41:47 +01:00
rubenwardy
8d48723158 Swap edit and delete buttons in comments 2020-07-11 04:29:59 +01:00
rubenwardy
2fb2f1ae49 Remove admin from being able to edit any comment 2020-07-11 04:26:50 +01:00
rubenwardy
d5b8dd8909 Add title text to audit log severity icons 2020-07-11 04:14:57 +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
9bf20df941 Fix typo in previous commit 2020-07-11 00:06:21 +01:00
rubenwardy
adc31962c0 Merge padlock symbol with icons in thread lists 2020-07-11 00:05:44 +01:00
rubenwardy
0e9b8a1a82 Fix title wrapping in /threads/ 2020-07-11 00:01:03 +01:00
rubenwardy
6150447c85 Fix bootstrap toggle button not matching backing radio button 2020-07-10 23:55:46 +01:00
rubenwardy
dd86fb0e14 Fix profile picture alignment in notifications page 2020-07-10 23:50:02 +01:00
rubenwardy
b483d5413f Add badge to notification icon 2020-07-10 23:46:36 +01:00
rubenwardy
c80ff2e709 Fix empty view in thread lists 2020-07-10 23:18:40 +01:00
rubenwardy
2181e57e42 Redesign notifications page 2020-07-10 23:12:15 +01:00
rubenwardy
c490df7f50 Add ability for moderators to change linked accounts 2020-07-10 22:59:41 +01:00
rubenwardy
b9e1be57e4 Fix generation of forum profile URLs
Fixes #196
2020-07-10 22:44:58 +01:00
rubenwardy
c3d96c7459 Add more sort options to package API, correct documentation
Fixes #204
2020-07-10 22:32:54 +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
0bf61dda08 Fix ellipsis in pagination 2020-07-10 22:11:34 +01:00
rubenwardy
660b813ff7 Fix pagination losing query arguments
Fixes #205
2020-07-10 22:08:52 +01:00
rubenwardy
ba3b108239 Fix tag selector losing all tags on remove
Fixes #148
2020-07-10 21:27:41 +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
16b174d882 Improve recommends styling on review edit form 2020-07-10 20:47:03 +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
13130a217c Use FontAwesome for navbar icons 2020-07-10 20:23:19 +01:00
rubenwardy
daa2d2989e Clean up view package button on reviews 2020-07-10 20:16:06 +01:00
rubenwardy
ee6de95a52 Allow editors to unapprove and delete packages 2020-07-10 20:13:48 +01:00
rubenwardy
1daf59b7db Improve thread list design further 2020-07-10 20:10:51 +01:00
rubenwardy
94e91e33b8 Fix view thread page title 2020-07-10 19:46:23 +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
71f9fe469a Change comments button color if there are comments 2020-07-10 19:14:23 +01:00
rubenwardy
76b0c8446c Hide review form on own package 2020-07-10 19:12:08 +01:00
rubenwardy
069c7de78c Add reviews to user profile 2020-07-10 19:10:36 +01:00
rubenwardy
3eeaf3be22 Hide reviews from package thread list 2020-07-10 19:06:27 +01:00
rubenwardy
1989eabf86 Add more obvious edit buttons for reviews 2020-07-10 19:01:58 +01:00
rubenwardy
491f9ed679 Fix GitHub claim method being broken by phpBB update 2020-07-10 18:41:08 +01:00
rubenwardy
000259fc88 Fix crash on sending notification 2020-07-09 05:54:39 +01:00
rubenwardy
078765fe44 Prevent users from reviewing their own packages 2020-07-09 05:47:26 +01:00
rubenwardy
45877bb3a4 Fix missing import 2020-07-09 05:45:46 +01:00
rubenwardy
eb3d067e26 Fix crash on addNotification non-iterable 2020-07-09 05:45:04 +01:00
rubenwardy
db80c441ec Fix crash when guests view package page 2020-07-09 05:34:55 +01:00
rubenwardy
849b814034 Fix margin above CDB stats on homepage 2020-07-09 05:34:25 +01:00
rubenwardy
37a4dbe66b Add distinction between review buttons 2020-07-09 05:31:41 +01:00
rubenwardy
75ab56cad1 Add recent positive reviews to homepage 2020-07-09 05:30:13 +01:00
rubenwardy
25b481ac0a Add package title and link to review page 2020-07-09 05:01:18 +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
rubenwardy
d0aecd0ee5 Rename triggerNotif to addNotification, add array support 2020-07-09 04:16:45 +01:00
rubenwardy
307b8f8dde Add reviews
Fixes #173
2020-07-09 04:10:09 +01:00
rubenwardy
9d033acfff Separate rolling average downloads from score 2020-07-09 01:26:01 +01:00
rubenwardy
2617c53abf Add downloads column to Package
Fixes #200
2020-07-09 01:11:50 +01:00
rubenwardy
bbf1143090 Fix incorrect link in maintainers list 2020-07-09 00:02:56 +01:00
rubenwardy
2a37608cb0 Remove package author from maintainers edit field 2020-07-08 23:58:53 +01:00
rubenwardy
3dd5e7445e Fix check when showing remove myself from maintainers 2020-07-08 23:44:13 +01:00
rubenwardy
8dcbcd8b62 Add ability for users to remove themselves as maintainers 2020-07-08 23:42:30 +01:00
rubenwardy
d00428eb7e Add info about maintainers to edit maintainers page 2020-07-08 23:28:30 +01:00
rubenwardy
0e2ea27f54 Add notifications for editing maintainers 2020-07-08 23:20:29 +01:00
rubenwardy
b2809ed12e Fix maintainers field requiring lowercase names 2020-07-08 23:00:45 +01:00
rubenwardy
a72b9a174a Add support for package maintainers
Fixes #159
2020-07-08 22:45:24 +01:00
rubenwardy
ecb3d83c57 Fix FileNotFoundError on missing thumbnail source 2020-06-25 14:58:09 +01:00
rubenwardy
2cfb59d042 Return dictionary of package to deps in API 2020-06-05 16:09:27 +01:00
rubenwardy
4c3063cadf Fix typo 2020-06-05 04:48:53 +01:00
rubenwardy
66885fedaa Fix bugs, and document 2020-06-05 04:47:50 +01:00
rubenwardy
064eb9df04 Add ability to not include optional deps in deps API 2020-06-05 04:44:39 +01:00
rubenwardy
c3cef1eed6 Return package IDs only in dependency API 2020-06-05 04:29:52 +01:00
rubenwardy
ba8c4d3d24 Fix crash in MinetestRelease.get() 2020-06-04 20:40:56 +01:00
rubenwardy
c99a2a554b Fix typos 2020-06-03 18:28:08 +01:00
rubenwardy
749e7c6cd0 Add Package Config help page 2020-06-03 18:22:23 +01:00
rubenwardy
4d29087431 Fix crash on missing x_minetest_version meta 2020-06-03 17:53:03 +01:00
rubenwardy
183b769ee2 Add support for setting min/max minetest versions in conf 2020-06-03 17:46:59 +01:00
rubenwardy
14cf3912f0 Add support for getting MinetestRelease using engine_version 2020-06-03 17:33:33 +01:00
rubenwardy
720457e876 Add helper link to API tokens page 2020-06-03 16:41:06 +01:00
rubenwardy
27d004d299 Fix bad URL construction in GitLab webhooks 2020-06-03 16:40:52 +01:00
rubenwardy
7f650a619e Fix webhook issues, make repo URLs matched case insensitive 2020-06-03 16:32:39 +01:00
rubenwardy
d7977dec84 Fix broken link to content flags in API help page 2020-05-31 21:29:55 +01:00
rubenwardy
99a8f3d5d6 Fix broken release auto-approval due to permissions check 2020-05-31 16:06:04 +01:00
rubenwardy
c1b4256d44 Add delete unused uploads admin function 2020-05-30 16:48:37 +01:00
rubenwardy
ed78a2e06f Remove non-free score penalisation 2020-05-30 15:32:50 +01:00
rubenwardy
55a90e0464 Update to make the non-free policy clearer 2020-05-29 16:09:19 +01:00
rubenwardy
fb78136870 Fix bullet points in non-free page 2020-05-29 15:56:07 +01:00
rubenwardy
b477556698 Add help page on non-free licenses 2020-05-29 15:52:30 +01:00
rubenwardy
fc5cca9def Fix display_name rather than username being used in API 2020-05-27 17:47:31 +01:00
rubenwardy
dc455bcd87 Fix wrong API error response 2020-05-27 17:47:20 +01:00
TumeniNodes
bda82d2792
Fix spelling error (#165) 2020-05-23 17:02:01 +01:00
rubenwardy
a36e233051 Fix API auth crash and add more error messages 2020-05-19 17:24:57 +01:00
rubenwardy
8484c0f0aa Fix minor security vulnerability 2020-05-19 16:46:47 +01:00
rubenwardy
ffb5b49521 Fix crash on invalid protocol_version 2020-05-19 16:39:39 +01:00
rubenwardy
c15dd183a0 Update top packages 2020-04-30 22:41:55 +01:00
rubenwardy
57e7cbfd09 Make OpenGraph URLs absolute 2020-04-23 23:51:10 +01:00
Lars Mueller
e94bd9b845 Add meta to package view pages 2020-04-23 23:51:03 +01:00
rubenwardy
05bf8e3b3d Add prometheus support 2020-04-23 23:30:37 +01:00
rubenwardy
3992b19be3 Optimise SQL queries 2020-04-21 20:35:05 +01:00
rubenwardy
a678a61c23 Correct documentation on users allowed to use webhooks 2020-04-21 19:27:34 +01:00
rubenwardy
b5ce0a786a Improve legibility of textual content 2020-04-21 19:18:06 +01:00
rubenwardy
d58579d308 Document top packages algorithm 2020-04-21 18:26:03 +01:00
rubenwardy
0620c3e00f Add API to see scores 2020-04-21 18:15:13 +01:00
rubenwardy
a8374ec779 Allow all members to approve own releases 2020-04-21 17:07:04 +01:00
rubenwardy
bbaa687aa7 Format exception emails better 2020-04-14 14:45:06 +01:00
rubenwardy
dadfe72b48 Improve user authentication error handling 2020-04-14 14:39:59 +01:00
rubenwardy
9cc3eba009 Fix email sign up 2020-04-11 17:56:35 +01:00
rubenwardy
54a636d79e Fix access token not being shown after creation
Fixes #190
2020-04-11 17:45:25 +01:00
rubenwardy
0087c1ef9d Allow unlimited API tokens in GitHub webhooks 2020-04-11 15:24:44 +01:00
rubenwardy
39881e0d04 Improve error messages 2020-04-11 14:51:10 +01:00
rubenwardy
39a09c5d92 Add ability to search by tag 2020-04-07 18:23:06 +01:00
rubenwardy
663a9ba07b Fix exposing abs_url_for to templates 2020-03-28 19:01:39 +00:00
rubenwardy
144ae69f5c Fix case-insensitive comparison bug 2020-03-28 18:15:15 +00:00
rubenwardy
3e07bed51b Add ability to search packages by author 2020-03-28 18:13:03 +00:00
rubenwardy
9de219fd80 Increase package name and title length limits in form validation 2020-03-27 15:30:08 +00:00
rubenwardy
4a25435f7a Fix release validation for repos with submodules 2020-03-27 15:23:18 +00:00
rubenwardy
b0f32affcb Fix scores not degrading due to missing session.commit() 2020-03-22 19:47:52 +00:00
rubenwardy
99548ea65f Fix licenses being prefilled in package editor 2020-02-23 20:40:14 +00:00
rubenwardy
325ee02b49 Fix lack of download counter checks on non-release package download 2020-02-23 20:14:56 +00:00
rubenwardy
a60786d32c Fix non-admin users not being able to set profile URLs 2020-02-23 20:12:32 +00:00
rubenwardy
744c52ba18 Add links to GitHub oauth connection settings 2020-01-30 21:39:51 +00:00
rubenwardy
c31c1fd92a Change API Token warning to be friendlier 2020-01-30 21:01:50 +00:00
rubenwardy
36615ef656 Fix access token being exposed after APIToken edit 2020-01-25 18:26:55 +00:00
rubenwardy
53a5dffb26 Rename 'new tag' event to contain 'GitHub release' 2020-01-25 17:25:05 +00:00
rubenwardy
74f3a77a84 Fix 404 on GituHub log in 2020-01-25 17:23:14 +00:00
rubenwardy
a15f1ac223 Fix crash on existing GitHub App Integration 2020-01-25 03:09:59 +00:00
rubenwardy
19a626e237 Fix auto-webhook creation failure due to wrong scheme 2020-01-25 03:03:45 +00:00
rubenwardy
43c2ee6b7b Improve documentation 2020-01-25 02:36:10 +00:00
rubenwardy
b1555bfcd5 Fix git-created release regression 2020-01-25 02:36:10 +00:00
rubenwardy
d5541791b6 Prevent multiple webhooks from being created 2020-01-25 02:36:10 +00:00
rubenwardy
62b1cae0ab Fix automatic creation of tag webhooks 2020-01-25 01:35:05 +00:00
rubenwardy
933a23c9c7 Promote webhooks in release creation page 2020-01-25 01:29:55 +00:00
rubenwardy
f2799349ab Add tag push support to webhooks 2020-01-25 01:14:01 +00:00
rubenwardy
1d223cc16f Use git init/fetch instead of git clone 2020-01-25 01:07:39 +00:00
rubenwardy
b7101a403b Add GitLab webhook support 2020-01-25 00:44:46 +00:00
rubenwardy
493917d8b1 Restrict webhooks to trusted users 2020-01-25 00:04:56 +00:00
rubenwardy
e12aec4ccd Add automatic GitHub webhook creation 2020-01-24 23:19:06 +00:00
rubenwardy
d4936e18ee Add Github webhook support 2020-01-24 21:39:35 +00:00
rubenwardy
beb9c0e959 Rename 'vcs' release-creation mode to 'git' 2020-01-24 20:27:37 +00:00
rubenwardy
14faae3fd1 Add API to create releases 2020-01-24 20:21:40 +00:00
rubenwardy
6f1472addb Add ability to limit APITokens to a package 2020-01-24 19:26:00 +00:00
rubenwardy
2fa2c3afec Fix broken user registration
Fixes #181
2020-01-24 18:29:02 +00:00
rubenwardy
6e938ba74c Split up users blueprint 2020-01-24 18:15:12 +00:00
rubenwardy
53a63367dc Fix wtforms validatoion of package name 2020-01-24 18:03:40 +00:00