Commit Graph

721 Commits

Author SHA1 Message Date
rubenwardy
9173d3c578 Use package translation in API 2024-03-03 01:14:33 +00:00
rubenwardy
ab57b6aa2c Add translation url field to package form and API 2024-03-03 01:14:33 +00:00
rubenwardy
9b36fb2c19 Add package translations page 2024-03-03 01:14:33 +00:00
rubenwardy
1656c79c1d Add Languages editor to admin tools 2024-03-03 01:14:33 +00:00
rubenwardy
50b860233b Allow admin tools page to be used by editors
This makes it easier to find certain tools
2024-01-28 21:51:31 +00:00
rubenwardy
4c5b506053 Fix incorrect package list in admin actions 2024-01-27 22:41:42 +00:00
rubenwardy
cbe232ca0c Add expiry to redis ratelimiting 2024-01-22 18:09:26 +00:00
rubenwardy
6bb6a7ae05 Delete release and screenshot uploads immediately 2024-01-18 18:28:36 +00:00
rubenwardy
9ff7567cde Fix 10x bug in admin storage page 2024-01-18 18:14:02 +00:00
rubenwardy
406eb5d180 Add admin page to see package storage usage 2024-01-18 18:09:13 +00:00
rubenwardy
acaf674ec5 Add action to delete empty threads 2024-01-15 00:48:17 +00:00
rubenwardy
8eb3604caf Post to approval thread when package status changes 2024-01-10 00:48:15 +00:00
rubenwardy
8367fd14a8 Prompt users to leave approval thread comment when re-submitting 2024-01-10 00:47:42 +00:00
rubenwardy
7ce2ee1f5b Remove game jam banner 2024-01-04 23:09:03 +00:00
rubenwardy
376864db1b Add caching to more API endpoints 2024-01-01 17:35:11 +00:00
rubenwardy
785c931890 Add filter to hide nonfree content
Fixes #121
2023-12-30 18:07:00 +00:00
rubenwardy
15bde2461e Game Jam: Update message 2023-12-22 02:13:18 +00:00
rubenwardy
44cf1623c5 OAuth2: Treat empty parameter as no parameter 2023-12-16 22:05:52 +00:00
rubenwardy
28864740a0 Remove no-cache from thumbnail cache control 2023-12-16 16:16:41 +00:00
rubenwardy
8606f596f3 Package API: Add option to return desc as hypertext 2023-12-16 00:46:11 +00:00
rubenwardy
8e312c4bcc OAuth2: Return success=true in POST request 2023-12-15 23:03:58 +00:00
rubenwardy
a29345bd10 Clean up various things 2023-12-15 16:08:12 +00:00
rubenwardy
b80ce88bc0 Add warning when removing a package will break mods 2023-12-03 13:47:52 +00:00
rubenwardy
884e73e046 Add gamejam 2023 banner 2023-12-02 13:11:57 +00:00
rubenwardy
12664a4f41 Fix crash on review votes page 2023-11-19 13:49:36 +00:00
rubenwardy
8619433b66 Homepage: Improve performance by adjusting loading options 2023-11-18 11:25:22 +00:00
rubenwardy
96c86cf070 Homepage: Fix unapproved packages appearing in recently updated 2023-11-18 11:03:49 +00:00
rubenwardy
b36e91044f Homepage: Optimise recently updated query 2023-11-17 22:54:38 +00:00
rubenwardy
fa59113cd3 Set max-age in thumbnails endpoint 2023-11-12 16:18:20 +00:00
rubenwardy
b4c508ebab Use lossless webp, fix jpg generation 2023-11-12 16:11:38 +00:00
rubenwardy
c546eef6a9 Add jpg to allowed thumbnail extensions 2023-11-10 19:13:48 +00:00
rubenwardy
4578cb157f Use webp for thumbnails 2023-11-10 19:10:52 +00:00
rubenwardy
bd46943c63 Collections: Add ability to pin to profile 2023-11-07 23:25:53 +00:00
rubenwardy
9b0f84bac5 OAuth: Add app type (is_clientside) 2023-11-07 23:06:22 +00:00
rubenwardy
f74931633c OAuth: Add description 2023-11-07 22:57:19 +00:00
rubenwardy
d4b1344f6a Fix review voting JS not showing removals
Fixes #474
2023-10-31 23:28:20 +00:00
rubenwardy
fa389273ab OAuth2: Fix typo 2023-10-31 20:14:21 +00:00
rubenwardy
00f7dbb28d OAuth2: Add approval and verified apps 2023-10-31 20:11:55 +00:00
rubenwardy
073dcf9517 OAuth2: Improve authorize page wording 2023-10-31 19:50:29 +00:00
rubenwardy
8b03ca6c63 OAuth2: Add ability to revoke all tokens 2023-10-31 19:38:32 +00:00
rubenwardy
76f9f58175 OAuth2: Add audit logs 2023-10-31 19:18:08 +00:00
rubenwardy
bc38094a41 Remove dummy data from API 2023-10-31 18:54:58 +00:00
rubenwardy
5ab6b84fe7 Add delete-token API 2023-10-31 18:50:33 +00:00
rubenwardy
72b608b158 Respect next when logging in using GitHub 2023-10-31 18:50:33 +00:00
rubenwardy
a29715775e Add OAuth2 Applications API
Fixes #344
2023-10-31 18:45:45 +00:00
rubenwardy
a9533732f3 Rename "unapprove" to "unpublish" 2023-10-15 22:16:19 +01:00
rubenwardy
4fc54f12bc Remove optional banner from set password page 2023-10-11 22:33:37 +01:00
rubenwardy
7c72912913 Transfer: add option to remove current owner from maintainers 2023-10-02 00:23:30 +01:00
rubenwardy
4f4e5f8e53 Prevent transferring if destination package exists 2023-10-02 00:19:55 +01:00
rubenwardy
0ecf992f83 Post package removals to Discord webhook 2023-10-01 23:41:30 +01:00
rubenwardy
43af3a8e75 Improve user comments page performance 2023-09-29 23:10:08 +01:00
rubenwardy
315337d552 Allow indexing collections list page 2023-09-15 22:06:18 +01:00
rubenwardy
bcebb72a66 Include aliases in /api/updates/ 2023-09-14 20:41:48 +01:00
rubenwardy
83e7701eee Add a super fast latest release API 2023-09-12 21:15:55 +01:00
rubenwardy
886dec3ffd Fix crash on unauthenticated user 2023-09-02 22:45:50 +01:00
rubenwardy
8dfd5c407d Readd "Sync with Forums" button to profile picture settings 2023-09-02 22:34:29 +01:00
rubenwardy
459eb02112 Make user comments page paginated
Fixes #392
2023-09-02 22:27:38 +01:00
rubenwardy
d4ecaee5f2 Fix crash when using limit in /api/packages/
Fixes #468
2023-09-02 21:52:14 +01:00
rubenwardy
af3c4fe987 Fix crash when saving empty collection
Fixes #464
2023-09-02 21:46:25 +01:00
rubenwardy
e94ff23bb9 Fix crash when bulk updating package configs
Fixes #467
2023-09-02 21:38:52 +01:00
rubenwardy
566d557840 Prevent editing game support until a release is created 2023-09-02 21:37:20 +01:00
rubenwardy
379337ad60 Fix crash when collection.author is None 2023-08-31 09:42:37 +01:00
rubenwardy
9ec2b05e8d Create favorites collection when viewing /add-to/ 2023-08-28 08:54:59 +01:00
rubenwardy
4d470ce230 Increase min password length to 12 2023-08-26 14:54:58 +01:00
rubenwardy
da17fb63f3 Add review, comment, and collection counts to prometheus metrics 2023-08-26 13:52:29 +01:00
rubenwardy
416674e7ee Allow submitting reviews with ctrl+enter 2023-08-26 13:41:32 +01:00
rubenwardy
8f52c67f0f Allow submitting comment with ctrl+enter
Fixes #427
2023-08-26 13:39:03 +01:00
rubenwardy
9eb03c6a57 Set homepage row size to 4 2023-08-25 21:31:19 +01:00
rubenwardy
9df80d212e
Upgrade to Bootstrap v5 (#457) 2023-08-22 19:58:43 +01:00
rubenwardy
4df15d6ff2 Fix "featured" being used instead of "spotlight" on homepage 2023-08-22 00:16:32 +01:00
rubenwardy
954826f053 Fix new items missing drag handles in collection editor 2023-08-21 00:34:55 +01:00
rubenwardy
1b5174621d Add warning about favorites being public 2023-08-20 23:04:09 +01:00
rubenwardy
e5e68826fb Allow ordering packages in collections 2023-08-20 22:51:21 +01:00
rubenwardy
4bd53e4b1a Use collections for spotlight and featured, remove protected tags 2023-08-20 22:25:54 +01:00
rubenwardy
a2ea6573bd Add Collections API 2023-08-20 21:47:20 +01:00
rubenwardy
cea315048b Add long description to collections 2023-08-19 02:43:38 +01:00
rubenwardy
5b4f997f3d Add ability to add packages from collection page 2023-08-19 02:31:40 +01:00
rubenwardy
57ba3e8700 Add ability to remove packages from collection page 2023-08-19 01:25:13 +01:00
rubenwardy
2c52f06744 Support lists of packages in create collection 2023-08-19 00:33:04 +01:00
rubenwardy
aaee730ba5 Fix crash when creating collection 2023-08-16 09:43:26 +01:00
rubenwardy
eb81674f06 Prevent naming a package the same as a collection 2023-08-16 01:03:54 +01:00
rubenwardy
ea2f1f4f6f Fix unapproved packages appearing in collections 2023-08-16 01:00:51 +01:00
rubenwardy
f470357a42 Allow changing collection URL name 2023-08-16 00:54:34 +01:00
rubenwardy
2ad25f1aa9 Fix various issues with collections 2023-08-15 20:39:32 +01:00
rubenwardy
af4f03d298 Add ability to delete collections 2023-08-14 22:17:29 +01:00
rubenwardy
f7a5a1218f Add package collections
Fixes #378
2023-08-14 21:48:50 +01:00
rubenwardy
800cacb003 Add API for HTML/Markdown to Hypertext 2023-08-13 13:50:02 +01:00
rubenwardy
2454738eaa Fix banned users having incorrect rank after account deactivation 2023-08-13 13:29:55 +01:00
rubenwardy
a1eac9959e Reduce min comment length 2023-08-06 20:55:55 +01:00
rubenwardy
76414cb5ba Add page to transfer packages 2023-07-29 21:34:23 +01:00
Dmitry Smirnov
6d184e0320
Allow users to see their own comments (#451)
Fixes #428
2023-07-22 13:13:12 +01:00
rubenwardy
18ee0108e5 Use display name rather than username in Discord webhooks 2023-07-22 12:45:50 +01:00
rubenwardy
d374ce27cf Make package approval threads private
We've found that a lot of users comment in these
threads when they shouldn't
2023-07-22 12:45:21 +01:00
rubenwardy
4a2d5c9066 Redirect /packages/author/ to /users/author/ 2023-07-15 19:08:36 +01:00
rubenwardy
43e9641feb API: Add option to filter reviews by package author 2023-07-09 16:48:46 +01:00
rubenwardy
1f2478fc1b Add list of packages affected by bulk support games 2023-06-27 22:55:46 +01:00
rubenwardy
1a8d28a2d8 Prevent users being able to enable support for all games when they shouldn't 2023-06-27 21:40:31 +01:00
rubenwardy
86565a0384 Fix unsupported games appearing in game hubs
Fixes #449
2023-06-27 20:41:07 +01:00
rubenwardy
78f0d1f6c3 Fix crash due to incorrect /tasks/ param type 2023-06-25 12:20:23 +01:00
rubenwardy
adbc2b0195 Fix missing types on integer route arguments 2023-06-25 00:29:24 +01:00
rubenwardy
dcce351ad2 Improve messages relating to game support 2023-06-20 00:36:33 +01:00
rubenwardy
edce45f71a Add emails_sent metric 2023-06-19 23:34:49 +01:00
rubenwardy
3992b30cc2 Allow standard users to override game support 2023-06-19 22:35:26 +01:00
rubenwardy
bb41ea7dcc Prevent texture packs from supporting all games 2023-06-19 22:22:55 +01:00
rubenwardy
f2eee008f6 Fix endpoint argument rename causing issues 2023-06-19 22:10:21 +01:00
rubenwardy
45ed12ddf0 Use snake_case for method names 2023-06-19 21:57:54 +01:00
rubenwardy
16f93b3e13 Optimise imports and fix linter issues 2023-06-19 21:57:54 +01:00
rubenwardy
d808a5c822 Fix issues based on linter 2023-06-19 21:57:54 +01:00
rubenwardy
f2cfb6c17d Fix typos and grammar issues 2023-06-19 21:57:54 +01:00
rubenwardy
8585357942 Use consistent naming scheme for methods/functions 2023-06-19 21:57:54 +01:00
rubenwardy
e0b25054dc Fix incorrect filter on bulk game support set 2023-06-18 23:03:41 +01:00
rubenwardy
324d7ec1e1 Add audit logging for game support pages 2023-06-18 21:34:53 +01:00
rubenwardy
c498818e8b Add supports_all_games to make game support explicit
Fixes #388 and fixes #441
2023-06-18 21:12:14 +01:00
rubenwardy
80c42637df Stats: Add ability to select date range 2023-06-14 22:47:08 +01:00
rubenwardy
3375276f0d Show all featured packages in client 2023-06-01 18:00:08 +01:00
rubenwardy
0a77a0110d Split Featured tag into Featured and Spotlight 2023-06-01 17:55:00 +01:00
rubenwardy
78b5986027 Add client preview to screenshots page 2023-06-01 17:48:59 +01:00
rubenwardy
26abe9275c Promote featured packages in the client 2023-05-31 17:29:20 +01:00
rubenwardy
57b736b1df Todo: Add game support status 2023-05-19 19:40:03 +01:00
rubenwardy
723994322b Refactor todo blueprint 2023-05-19 19:19:47 +01:00
rubenwardy
08ff5199e3 Allow editors to use zipgrep 2023-05-13 16:48:48 +01:00
rubenwardy
0658368aad Homepage: Fix tag counts including unapproved packages 2023-05-13 15:40:03 +01:00
rubenwardy
1659802ff3 Fix tag counts including unapproved packages 2023-05-13 15:34:20 +01:00
rubenwardy
dee9959fda Remove unused admin actions 2023-05-12 01:13:09 +01:00
rubenwardy
7df1b8cc0f Remove old restore method 2023-05-12 01:06:09 +01:00
rubenwardy
e88ead392b Add audit logging to type editors 2023-05-12 01:03:21 +01:00
rubenwardy
f03746f5ad Allow editors and approvers to see package audit log descriptions 2023-05-12 00:55:44 +01:00
rubenwardy
3ccb165522 Import forum profile pictures and host them directly 2023-05-05 18:43:20 +01:00
rubenwardy
a026e2c2bb Fix release creation using API 2023-05-02 10:24:52 +01:00
rubenwardy
4c66b25e7c Fix crash on donate page 2023-04-30 00:27:10 +01:00
rubenwardy
b785a66ae8 Reduce number of indexed pages
Removes some package search pages from search results. Also removes all package thread lists (as they are redundant)
2023-04-24 00:17:26 +01:00
rubenwardy
a5ec46f14c Update database dependencies 2023-04-23 21:51:51 +01:00
rubenwardy
660ef72532 Update non-database dependencies 2023-04-23 21:51:51 +01:00
rubenwardy
0a06e41497 Add API to provide descriptions as Minetest hypertext markup 2023-04-19 20:03:07 +01:00
rubenwardy
a97da15359 Don't consider neutral reviews to be positive 2023-04-15 20:06:24 +01:00
rubenwardy
b1bd39c0fc Add ability to make neutral reviews 2023-04-15 02:46:35 +01:00
rubenwardy
1235bc14db Fix account deactivation 2023-04-03 20:43:26 +01:00
rubenwardy
766765b1f8 Fix crash on unimplemented is_
Whilst is_ is documented, it appears to be
unimplemented for certain objects.
2023-03-29 10:58:09 +01:00
rubenwardy
fb13272e6c Fix crash due to relations not supporting is_ 2023-03-18 23:20:09 +00:00
rubenwardy
7eca06a097 Fix web hooks updating deleted packages 2023-03-18 14:22:39 +00:00
rubenwardy
07f5d2e0d5 Add per-package donate URLs 2023-03-05 18:17:03 +00:00
rubenwardy
08054e4969 Add page to find packages asking for donations 2023-03-05 17:33:09 +00:00
rubenwardy
e0f9623670 Fix wrong comment being used for reviews
Fixes #417
2023-01-28 16:39:53 +00:00
rubenwardy
37b200295c Fix crash on empty display name 2023-01-21 19:03:43 +00:00
rubenwardy
157f418855 Fix game support not being in tabs for txp 2023-01-12 21:10:58 +00:00
rubenwardy
42b9986fc8 Enable game support for texture packs 2023-01-12 19:48:18 +00:00
rubenwardy
605015f812 Update blocked site message 2023-01-12 16:43:10 +00:00
rubenwardy
540e24e8f9 Add Discord embed to package webhooks 2023-01-04 20:58:32 +00:00
rubenwardy
72b4029ed3 Add ability to block domains 2023-01-03 12:17:25 +00:00
AFCMS
13dcd373f2
Add API endpoint for .cdb.json JSON Schema (#402)
Fixes #393
2023-01-02 19:26:10 +00:00