Commit Graph

1347 Commits

Author SHA1 Message Date
rubenwardy
37a7dd28d6 Add optional Discord webhook support 2021-08-17 21:16:43 +01:00
rubenwardy
e5cc140d42 Add Approver rank 2021-08-16 18:57:05 +01:00
rubenwardy
59a5cf2df5 Add editor queue for packages with "Other" licenses
Fixes #283
2021-08-12 18:57:25 +01:00
rubenwardy
d6b1adf613 Disable package name validation on modpacks
Whilst modpacks providing an incorrect name in `modpack.conf` is wrong,
it doesn't actually matter as ContentDB will correct it after installation.
2021-08-08 20:43:57 +01:00
rubenwardy
562b0ceffe Allow admin to delete any user (except admins) 2021-08-04 21:50:35 +01:00
rubenwardy
6bbe2307e9 Add email notification prompt to post-login hook 2021-07-31 21:35:07 +01:00
rubenwardy
aae546a08e Import licenses from SPDX
Fixes #326
2021-07-31 21:03:45 +01:00
rubenwardy
2f2141f524 Allow editors to change maintainers
Fixes #325
2021-07-31 19:52:36 +01:00
rubenwardy
aee59626ee Add outdated packages notification 2021-07-30 19:50:52 +01:00
rubenwardy
825801b867 Refactor admin page 2021-07-30 19:43:02 +01:00
rubenwardy
447f3e2d5b Add modname uniqueness page 2021-07-29 19:34:47 +01:00
rubenwardy
ff846f4478 Fix bug with Editor screenshots 2021-07-28 01:53:44 +01:00
rubenwardy
c794de680b Profile medals: top package type icons, equal height 2021-07-26 00:02:55 +01:00
rubenwardy
034e5382ec Profile medals: refactor code 2021-07-25 23:41:34 +01:00
rubenwardy
e06ac1689c Profile medals: add progressbars, make top packages per type 2021-07-25 22:44:13 +01:00
rubenwardy
4de802c68d Add total downloads number on profiles with <50k 2021-07-25 20:26:01 +01:00
rubenwardy
33aedb233d Add maintained packages to user profile 2021-07-25 18:42:11 +01:00
rubenwardy
95bd1a50d9 Fix crash on user on None min_package_rank 2021-07-25 18:30:10 +01:00
rubenwardy
76675ad76b Add top packages badge to profile 2021-07-25 18:17:59 +01:00
rubenwardy
ac9b2207bf Fix profile badge icon use 2021-07-25 17:10:57 +01:00
rubenwardy
d7c83f58b9 Fix crash on profile with no pacakges 2021-07-25 17:01:21 +01:00
rubenwardy
d17bd5580e Fix badge hint 2021-07-25 16:36:39 +01:00
rubenwardy
94568c851a Add package downloads badge to profile page 2021-07-25 16:35:08 +01:00
rubenwardy
29bfc91683 Add top reviewer badge to profile page 2021-07-25 16:09:21 +01:00
rubenwardy
cb5fa4d6e7 Improve related packages on package page
Fixes #254
2021-07-25 03:54:08 +01:00
rubenwardy
fc7739be2c Add package name validation to postReleaseCheckUpdate
Fixes #186
2021-07-25 00:09:19 +01:00
rubenwardy
5a12b9e6c4 Fix crash in releases list due to missing current_user argument 2021-07-24 16:47:41 +01:00
rubenwardy
4e83adc032 Refactor package URL generation 2021-07-24 04:30:14 +01:00
rubenwardy
187202d363 Improve unified navigation further 2021-07-24 03:56:43 +01:00
rubenwardy
545968a71f Remove updateFromRelease feature 2021-07-24 03:09:33 +01:00
rubenwardy
f5aee035b3 Use vertical nav 2021-07-24 03:09:11 +01:00
rubenwardy
1389cf450c Unify package edit UI 2021-07-24 02:55:55 +01:00
rubenwardy
24e3b1505b Fix UI tests 2021-07-24 02:32:28 +01:00
rubenwardy
347f8e5a22 Add support for renaming users and package alias redirects
Fixes #270
2021-07-24 02:30:43 +01:00
rubenwardy
0614e6b28b Fix broken background for code blocks
Fixes #256
2021-07-24 01:14:28 +01:00
rubenwardy
823c06d3ea Prevent API from changing protected tags
Fixes #322
2021-07-24 00:43:55 +01:00
Warr1024
3049d17f5e Improve placeholder.png image
Closes #293
2021-07-22 18:46:14 +01:00
rubenwardy
e7818d7fb4 Tweak Featured styling, fix various issues 2021-07-22 18:33:24 +01:00
rubenwardy
7db6c6bba4 Fix missing state filter 2021-07-22 14:05:59 +01:00
rubenwardy
b87401a0c8 Fix missing mapPackages 2021-07-22 14:04:08 +01:00
rubenwardy
13b6ab04bb Bump CSS version 2021-07-22 13:52:59 +01:00
rubenwardy
148ece162c Add Featured packages and protected tags 2021-07-22 13:44:20 +01:00
rubenwardy
ce2bb3abad Fix Create Package not appearing for unprivileged users 2021-07-22 11:58:00 +01:00
rubenwardy
cfddf0ada3 Fix missing if-statement on screenshot approval badge 2021-07-22 11:54:18 +01:00
rubenwardy
54304cf3e0 Add Create Package button to profile page 2021-07-22 11:50:39 +01:00
rubenwardy
f1597622ea Add approval state labels to screenshots and package tiles 2021-07-22 11:43:43 +01:00
rubenwardy
6fa6203ce0 😢 2021-07-21 02:31:51 +01:00
rubenwardy
75c118c483 Prefetches dependencies of likely dependency candidates 2021-07-20 21:24:08 +01:00
rubenwardy
4238dbd412 Allow maintainers to delete their bot threads 2021-07-20 00:25:55 +01:00
rubenwardy
9a54ada0ec Don't mark package as changes needed when creating a review thread 2021-07-19 23:59:40 +01:00
rubenwardy
ce8ae30311 Add editor notification when user replies to ContentDB system user 2021-07-19 23:55:00 +01:00
rubenwardy
2f77a84ec5 Add notification when release creation fails 2021-07-19 23:49:29 +01:00
rubenwardy
f83605c35f Fix too long Draft/ChangesNeeded messages 2021-07-19 23:11:02 +01:00
rubenwardy
4c4bddeed6 Add post_login function, go to notifications page 2021-07-19 23:04:55 +01:00
rubenwardy
4523849641 Add Draft/ChangesNeeded notification admin action 2021-07-19 23:04:55 +01:00
rubenwardy
fb2f71e1dc Revert "Remove error on game missing hard deps"
This reverts commit aff20f1a6d22f25c7286b3625b7379c9dae7a5da.
2021-07-18 17:59:35 +01:00
rubenwardy
52437d4e2e Fix images exceeding long desc bounds
Fixes #309
2021-07-18 16:49:28 +01:00
rubenwardy
72a95ecfca Fix error with submodule cloning
Call `git submodule update --init` manually rather than using GitPython's
submodule API, as that fails with the following repo as a submodule:
https://files.creativekara.fr/git/naturalslopeslib.git
2021-07-18 02:48:19 +01:00
Jordan Irwin
9e95b69c11
Fix badges not displaying when dash (-) in title (#308) 2021-06-23 23:57:26 +01:00
rubenwardy
231c2a3a1e Fix broken audit log in thread log 2021-06-14 17:40:38 +01:00
rubenwardy
7dbea9f042 Fix crash on packages with no releases 2021-05-08 00:30:57 +01:00
rubenwardy
9dfb95a524 Use secrets library to generate tokens 2021-05-06 14:51:22 +01:00
rubenwardy
e9161610c4 Fix bad download file names
Fixes #116
2021-05-04 22:06:31 +01:00
rubenwardy
f4792ac537 Fix get_latest_tag() crash on repos with dangling tags
Fixes #272
2021-05-04 01:36:54 +01:00
rubenwardy
588b03cf34 Add tests for login and register 2021-05-03 23:57:22 +01:00
rubenwardy
94bf83c611 Add tests for git utils 2021-05-03 22:22:17 +01:00
rubenwardy
4bb35953b1 Test dependencies API 2021-05-03 18:47:19 +01:00
rubenwardy
d64463235c Add tests for package release filtering 2021-05-03 18:27:32 +01:00
rubenwardy
dcc34570d5
Use GitHub actions (#295) 2021-05-03 17:59:23 +01:00
rubenwardy
a33a4bd894 Fix editors not being able to approve releases 2021-04-28 23:18:16 +01:00
rubenwardy
c0719fdeaa Add simple captcha 2021-04-17 02:12:00 +01:00
rubenwardy
8dbd22f56c Add custom 404 page 2021-04-10 16:30:19 +01:00
rubenwardy
c2994a27fd Fix maintainers not being able to delete releases 2021-03-07 15:00:36 +00:00
rubenwardy
9cb9f8a4f6 Hotfix: Prevent webhooks from running on non-master/main branches 2021-03-07 14:48:04 +00:00
rubenwardy
4d2833de88 Add all releases API 2021-03-05 12:55:21 +00:00
rubenwardy
adcbf7455e Fix incorrect status code for Found 2021-03-02 22:37:37 +00:00
rubenwardy
df8ef542dd Disallow spaces in usernames 2021-03-02 22:36:21 +00:00
rubenwardy
c11e5c1f99 Revert "Fix Git clone error when checking out reference"
This reverts commit 63cfb5eac0c6a67db43b4bd35b1ea09b05c07214.
2021-03-02 16:42:38 +00:00
rubenwardy
63cfb5eac0 Fix Git clone error when checking out reference 2021-03-01 18:10:46 +00:00
rubenwardy
6861524641 Improve release ratelimit message, increase limit 2021-03-01 18:10:33 +00:00
rubenwardy
032d8bf67b Fix minmum length on packages titles
Fixes #263
2021-02-28 21:32:28 +00:00
rubenwardy
47797f1fb1 Make it more clear that .conf will override release min/max vers 2021-02-28 21:30:54 +00:00
rubenwardy
92764465e0 Disable code highlighting for non-annotated code fences
Fixes #279
2021-02-28 21:24:57 +00:00
rubenwardy
04e108c31e Fix API crash due to missing upper() in enum coercion 2021-02-28 16:04:40 +00:00
rubenwardy
aead579f0b Use pen icon instead of edit 2021-02-28 05:19:57 +00:00
rubenwardy
f9089319d3 Improve package page sidebar 2021-02-28 05:19:57 +00:00
rubenwardy
ff2f7caee1 Add support for README files when importing meta
Fixes #87
2021-02-28 02:36:31 +00:00
rubenwardy
da81df535a API Screenshots: Fix crash on not a number 2021-02-28 01:14:43 +00:00
rubenwardy
7078ed3ac3 Fix duplicate name checking in register form 2021-02-27 19:11:53 +00:00
rubenwardy
da6b4b210f Allow specifying display name on register 2021-02-27 19:03:52 +00:00
rubenwardy
04f659bc2b API: Add support for specifying commit for zip releases 2021-02-27 18:31:56 +00:00
rubenwardy
8ef74deec1 Fix duplicate check for changing display names 2021-02-25 23:31:29 +00:00
rubenwardy
7e20a09499 Increase severity of display name change audit log 2021-02-25 23:29:27 +00:00
rubenwardy
dea5a52c86 Allow users to change their display name
Fixes #269
2021-02-25 23:25:33 +00:00
rubenwardy
96b5b4ea5b Add link to monitor and API 2021-02-25 23:03:32 +00:00
rubenwardy
aec346e2d4 Fix names not being included in topic query 2021-02-25 14:11:10 +00:00
rubenwardy
b41e4b50d9 Fix comment box padding 2021-02-23 00:46:16 +00:00
rubenwardy
3c095544d0 Enable word break in markdown content 2021-02-23 00:08:36 +00:00
rubenwardy
77dcb85912 Add username validation to signup page 2021-02-22 23:45:20 +00:00
rubenwardy
3ed73c4145 Fix crash on login with redirect 2021-02-11 23:26:23 +00:00
rubenwardy
c37f589765 Add package audit page 2021-02-08 00:47:34 +00:00
rubenwardy
7ff92bc7c1 Add ability to filter by no tags on package tags page 2021-02-05 17:03:50 +00:00
rubenwardy
3839dfbf90 Fix tag selector dropdown style 2021-02-05 16:42:48 +00:00
rubenwardy
0ff4f40652 Fix screenshot reordering 2021-02-05 16:05:20 +00:00
rubenwardy
2797792322 Add search box and edit tags button to Package Tags page 2021-02-05 16:01:12 +00:00
rubenwardy
3ce653ba74 Update documentation 2021-02-05 15:44:00 +00:00
rubenwardy
0918b8b676 Update front-end dependencies 2021-02-05 14:21:34 +00:00
rubenwardy
63204575eb Prevent duplicate commit releases from webhooks 2021-02-04 19:54:26 +00:00
rubenwardy
fb3b0be50e Update minetest_client.md docs 2021-02-03 18:30:21 +00:00
rubenwardy
0c08738a66 Update API docs 2021-02-03 12:50:16 +00:00
rubenwardy
21cf5b57c1 Redesign sign in screen 2021-02-03 00:58:49 +00:00
rubenwardy
b5f47b1b73 Fix typo 2021-02-03 00:14:14 +00:00
rubenwardy
05c140da78 Update docs, rename desc to long_description 2021-02-03 00:11:48 +00:00
rubenwardy
8225e4098b Add support for .cdb.json
Fixes #231
2021-02-02 23:58:59 +00:00
rubenwardy
90aeb6e1a7 Add missing fields to packages API 2021-02-02 23:30:11 +00:00
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
878872799e Fix crash on wtfpl page 2021-02-02 20:43:10 +00:00
rubenwardy
14810b2cc5 Add table of contents to help pages 2021-02-02 20:05:24 +00:00
rubenwardy
5017a9ba7e Allow codehighlighting in markdown, enable linkify 2021-02-02 18:16:57 +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
2f66db5989 Update API docs, add support for code highlighting, add markdown table support 2021-02-02 17:09:19 +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
70f491fd27 Add Editor help page 2021-01-31 17:51:25 +00:00
rubenwardy
f07f2803f8 Fix crash in get_latest_tag due to missing tuple 2021-01-31 11:24:04 +00:00
rubenwardy
4364ce5d6f Fix incorrect query in check_update_config task 2021-01-30 23:51:09 +00:00
rubenwardy
7c3d738756 Fix index out of range error in get_latest_tag 2021-01-30 23:42:00 +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
b7814d9541 Check for existing releases with commit in update checker 2021-01-30 19:56:27 +00:00
rubenwardy
912b917a47 Fix API packages with no arguments 2021-01-30 19:49:15 +00:00
rubenwardy
c0112828eb Optimise package query speed 2021-01-30 19:32:04 +00:00
rubenwardy
b3237b0c49 Split utils.py into package 2021-01-30 18:25:00 +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
607c534174 Improve outdated messages: don't show last commit on tag triggers 2021-01-30 16:50:32 +00:00
rubenwardy
3b213889ca Improve outdated messages 2021-01-30 16:48:11 +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
0cd23f7883 Add hints to update config form 2021-01-30 15:22:19 +00:00
rubenwardy
1b296fcae5 Update documentation 2021-01-30 15:18:56 +00:00
rubenwardy
84d7030f7d Consistently use "Git Update Detection" 2021-01-30 15:09:31 +00:00
rubenwardy
2fddc276de Add note to outdated packages in user todo 2021-01-30 15:05:22 +00:00
rubenwardy
a92ef0a8a1 Fix crash due to wrong method call to get screenshot thumbnail 2021-01-30 14:57:38 +00:00
rubenwardy
99eee9c758 Use utc date format when creating releases using Update Config 2021-01-30 01:21:26 +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
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