Commit Graph

1817 Commits

Author SHA1 Message Date
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
c7ee42a4d5 Game Support: Show correct conf file name 2023-06-19 22:33:45 +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
0ddf498285 Fix tests 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
e8b14709e6 Fix quotes in templates 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
f3d21b79ab Improve game support messages 2023-06-18 22:57:24 +01:00
rubenwardy
324d7ec1e1 Add audit logging for game support pages 2023-06-18 21:34:53 +01:00
rubenwardy
3a70d6d188 Change unsupported game text 2023-06-18 21:18:42 +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
cb352fad47 Stats: Make date range dropdown blue when active 2023-06-15 09:00:11 +01:00
rubenwardy
2596253535 Stats: Improve summaries when range is selected
Fixes #446
2023-06-15 08:45:28 +01:00
rubenwardy
81651aee97 Stats: Update date range options 2023-06-14 23:00:22 +01:00
rubenwardy
80c42637df Stats: Add ability to select date range 2023-06-14 22:47:08 +01:00
rubenwardy
516361345e Stats: Fix annotation being added when outside graph range 2023-06-14 22:41:02 +01:00
rubenwardy
7f3b24a650 Fix typo on support packages page 2023-06-13 17:46:04 +01:00
rubenwardy
d443945b5c Fix release min/max error being shown incorrectly 2023-06-05 17:55:20 +01:00
rubenwardy
28b3084186 Add missing CSS for client preview 2023-06-01 18:02:26 +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
a0491216b9 Fix normalize_whitespace double escaping text 2023-05-27 15:28:06 +01:00
rubenwardy
e5f669ccb6 Revert "Birthday" and "Add birthday number and link to forum topic"
This reverts commit 224fef683db7a76bea5acae55d71bce5644dd9e4.

This reverts commit 14e01c9007a91bfb9890570dfe24d3c08adeb39a.
2023-05-26 21:40:09 +01:00
rubenwardy
224fef683d Add birthday number and link to forum topic 2023-05-25 12:54:59 +01:00
rubenwardy
14e01c9007 Birthday 2023-05-25 12:29:18 +01:00
rubenwardy
bb206da804 Enable Turkish translation 2023-05-24 00:11:30 +01:00
rubenwardy
996d46cad7 Fix all package stats API returning 0s 2023-05-20 00:56:44 +01:00
rubenwardy
8cde0cd852 Fix locked medal progress label being cut off
Fixes #365
2023-05-19 21:46:33 +01:00
rubenwardy
287aae8bd2 Disable linkify on <code> tags 2023-05-19 20:36:51 +01:00
rubenwardy
ff23f981e2 Disable linkify on text without https:// or http://
Fixes #374
2023-05-19 20:15:00 +01:00
rubenwardy
05bfa11d71 Fix test data failing txp constraint 2023-05-19 20:06:50 +01:00
rubenwardy
81b9833a81 Disable sqlalchemy-searchable sync_trigger to fix failing CI
This is a big hack and will prevent search working on databases that
haven't set it up yet, but is needed to get UI tests and such working.
2023-05-19 20:06:50 +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
d8fa3342cf Discord webhooks: Fix understood failing status codes 2023-05-14 17:23:55 +01:00
rubenwardy
a5e258f7fa Fix throwing exception 2023-05-14 17:22:57 +01:00
rubenwardy
8178232911 Fix Discord webhooks failing due to avatar URL being relative 2023-05-14 17:21:23 +01:00
rubenwardy
1a173153c8 Inspect Discord webhook response 2023-05-14 17:16:56 +01:00
rubenwardy
adbbaf93c6 Fix session.execute in integration test utils 2023-05-13 19:12:52 +01:00
rubenwardy
fe64f15949 Fix stylesheet not being included 2023-05-13 18:21:13 +01:00
rubenwardy
286a598c77 Fix empty descriptions being added 2023-05-13 17:45:22 +01:00
rubenwardy
08ff5199e3 Allow editors to use zipgrep 2023-05-13 16:48:48 +01:00
rubenwardy
e168da4f72 Fix unapproved games showing in supported games
Fixes #429
2023-05-13 16:10:53 +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
35afd50f3d Fix crash when generating diff on new package 2023-05-12 15:53:06 +01:00
rubenwardy
dee9959fda Remove unused admin actions 2023-05-12 01:13:09 +01:00
rubenwardy
ed8ce8c16c Add link to search from tag edit page 2023-05-12 01:08:22 +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
84d379d490 Fix incorrect difference detected due to order of tags 2023-05-12 00:45:40 +01:00
rubenwardy
9738a8a826 describe_difference: Limit string field diff length 2023-05-12 00:20:38 +01:00
rubenwardy
19fa91d319 Add changes to edit package audit log entry 2023-05-12 00:17:15 +01:00
rubenwardy
1fc4852e77 Add check constraint to validate texture pack licenses 2023-05-11 23:08:01 +01:00
rubenwardy
a2a38f1e14 Add descriptions to about/faq flatpages 2023-05-08 01:49:23 +01:00
rubenwardy
fb329cd76e Link to Minetest Modding Book in help pages 2023-05-08 01:45:36 +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
d8ee237b1d Add og:title 2023-04-30 23:22:10 +01:00
rubenwardy
50037f6cb7 Remove remaining rubenwardy.com link in footer 2023-04-30 18:15:10 +01:00
rubenwardy
9fa42df385 Improve description tag generation 2023-04-30 00:54:01 +01:00
rubenwardy
c2ab4ac308 Add meta tag to donate page 2023-04-30 00:33:20 +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
d16969837c Add About page 2023-04-23 23:27:18 +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
3c1ba226c4 FAQ: Clarify email verification account deletion 2023-04-23 16:36:33 +01:00
rubenwardy
2a0545210b hypertext: Add support for nested lists 2023-04-19 20:03:07 +01:00
rubenwardy
0a06e41497 Add API to provide descriptions as Minetest hypertext markup 2023-04-19 20:03:07 +01:00
rubenwardy
64280bd960 Add rules for user behaviour 2023-04-19 02:28:30 +01:00
rubenwardy
a97da15359 Don't consider neutral reviews to be positive 2023-04-15 20:06:24 +01:00
rubenwardy
c9e8df7f5b Simplify review rating 2023-04-15 04:02:09 +01:00
rubenwardy
1b1955f052 Fix review rating 2023-04-15 03:20:01 +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
634fafc880 Enable Ukrainian 2023-03-29 16:15:23 +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
e7f5f7055d Remove accidental about link 2023-03-27 10:32:52 +01:00
rubenwardy
fd06d86062 Rename report link 2023-03-24 17:56:02 +00: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
027a6a79bc Add description to donation page 2023-03-09 18:23:35 +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
Nicolae Crefelean
4e154644ee Show the image caption on screenshot hover (#423) 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
88022667ce Remove incorrect check on package provides 2023-01-14 23:54:45 +00:00
rubenwardy
c927a87db3 Fix long audit descriptions being lost 2023-01-13 23:49:06 +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
14d29a54e1 Update AI section in copyright guide 2023-01-09 00:21:43 +00:00
rubenwardy
be8de45714 Fix game support crash due to incorrect key 2023-01-08 12:23:33 +00:00
rubenwardy
0a6e3237b1 Fix untranslatable strings 2023-01-08 12:23:33 +00:00
rubenwardy
008e6ba2e6
Add help page about copyright (#415) 2023-01-05 13:08:55 +00:00
rubenwardy
46b804834a Fix embed being required in webhook 2023-01-05 09:43:27 +00:00
rubenwardy
540e24e8f9 Add Discord embed to package webhooks 2023-01-04 20:58:32 +00:00
AFCMS
4c98063d6a
Fix invalid API route in docs for .cdb.json schema (#416) 2023-01-03 12:43:18 +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
rubenwardy
65e8929689 Fix game support errors not showing to users
Fixes #394
2023-01-02 19:19:33 +00:00
rubenwardy
31a748b0b3 Fix deleted packaging being show on todo page
Fixes #401
2023-01-02 19:16:51 +00:00
rubenwardy
38baea3dcf Fix wrong scheme used when Git cloning
Fixes #408
2023-01-02 19:14:33 +00:00
rubenwardy
ad0e958736 Fix mention of content flags in non-free help 2023-01-02 17:41:10 +00:00
rubenwardy
c1600b90a6 Loop chart colors 2023-01-02 17:34:34 +00:00
rubenwardy
72d999e759 Remove login button from gone page when already logged in
Fixes #414
2023-01-02 17:25:08 +00:00
rubenwardy
a7bbb45fc2 Use 403 status code for unpublished pages 2023-01-02 17:20:08 +00:00
rubenwardy
16abb636c5 Show message on draft packages rather than 404 2023-01-02 16:17:28 +00:00
rubenwardy
a7e6f19ae6 Move package approval section above header
In an attempt to make it more obvious
2023-01-02 16:14:20 +00:00
rubenwardy
18f70738d0 Prevent reviewing unapproved packages 2023-01-02 15:51:19 +00:00
wsor4035
d3bdf4cf03
Remove white background from avatars
Fixes #387
2023-01-01 22:48:10 +00:00
rubenwardy
5e425cd29c Validate mod directory casing 2023-01-01 22:45:10 +00:00
rubenwardy
048b02db1d Update copyright year 2023-01-01 21:09:59 +00:00
rubenwardy
8930418d53 Update gone page message 2023-01-01 20:42:40 +00:00
rubenwardy
8ef737b16c Fix being able to see unpublished packages 2023-01-01 20:39:35 +00:00
wsor4035
01344256a9
Fix license editor crash (#410) 2022-12-26 19:01:34 +00:00
rubenwardy
5940919fae Add docs for game Package Query arg 2022-12-20 13:48:42 +00:00
rubenwardy
c4ccd82f63 Remove password suggestions
It was based on 5 words from a 2048 word list, which is only the same as a 11 character password
2022-12-15 16:04:02 +00:00
rubenwardy
a7b6778f64 Remove gamejam promotion 2022-12-04 15:02:49 +00:00
rubenwardy
7558346071 Don't allow users to recreate removed packages 2022-11-23 19:13:03 +00:00
rubenwardy
f986caf18b Allow new members to create API tokens 2022-11-22 21:56:19 +00:00
rubenwardy
ba7ed40d6a Fix crash in upgrade_new_members task 2022-11-22 21:55:40 +00:00
rubenwardy
4435679737 Update text on claim page 2022-11-22 21:52:02 +00:00
rubenwardy
34aaa45c92 Fix failing test 2022-11-18 21:37:59 +00:00
rubenwardy
a81d289bc8 Add caching headers to API 2022-11-18 21:36:15 +00:00
rubenwardy
db8574ffe3 Homepage: Preload review information in queries 2022-11-18 21:15:46 +00:00
rubenwardy
b72244398b Homepage: Preload package authors and screenshots in queries 2022-11-18 20:29:52 +00:00
rubenwardy
01bc519b86 Add API to get all package stats 2022-11-15 01:51:21 +00:00
rubenwardy
292b4f5483 Statistics: Rotate annotation and add shadow 2022-11-11 01:18:31 +00:00
rubenwardy
6212b95a4d Statistics: Add label for Nov5 YouTube event 2022-11-11 01:05:27 +00:00
rubenwardy
6916b0612f Add redirect to current_user's stats 2022-11-09 20:52:31 +00:00
rubenwardy
1f40a5bf8b Add user info API 2022-11-09 20:47:19 +00:00
rubenwardy
b370b3bab2 Add statistics link to user dropdown in navbar 2022-11-09 20:09:40 +00:00
rubenwardy
9f375c6235 Fix crash on user stats page with no packages 2022-11-09 20:08:50 +00:00
rubenwardy
c9b5e3374c Remove limit on packages in chart 2022-11-09 19:46:42 +00:00
rubenwardy
31aef061fb Add downloads by package graph 2022-11-09 19:45:25 +00:00
rubenwardy
f7742d47ff Add package dropdown to statistics pages 2022-11-09 18:58:58 +00:00
rubenwardy
724b80e91e Add user statistics pages 2022-11-09 18:47:44 +00:00
rubenwardy
82cd0aefdf Attempt to fix chart stretching 2022-11-09 18:46:42 +00:00
rubenwardy
e15a3c682f Statistics: Fix issue with missing days
Fixes #397
2022-11-09 18:46:11 +00:00
rubenwardy
852e6ab5a0 Fix crash in phpbbparser 2022-11-09 17:41:32 +00:00
rubenwardy
20bf16abbf Statistics: Add .csv download 2022-11-08 18:47:28 +00:00
rubenwardy
5fc603682d Statistics: Add weekly and monthly total/average 2022-11-08 18:47:03 +00:00
rubenwardy
977fc1ce96 Move statistics link on package page 2022-11-07 01:41:13 +00:00
rubenwardy
f547fd258d Fix squashed charts 2022-11-07 00:53:30 +00:00
rubenwardy
b0cece3f5f Add empty view to stats page 2022-11-06 19:47:42 +00:00
rubenwardy
53601b77c8 Adjust score given on downloads 2022-11-06 19:44:36 +00:00
rubenwardy
0cb220acff Use UTC dates for stats 2022-11-06 19:12:43 +00:00
rubenwardy
aa2996f92e Fix blocked JS by renaming _stats.js to _charts.js 2022-11-06 19:00:34 +00:00
rubenwardy
69662eeafc Stats: Improve page 2022-11-06 18:51:33 +00:00
rubenwardy
4387e71417 Add statistics page 2022-11-06 18:02:54 +00:00
rubenwardy
e1f4787fb9 Add package stats endpoint 2022-11-06 10:32:46 +00:00
rubenwardy
de70b21e55 Fix PackageDailyStats field names 2022-11-05 23:22:21 +00:00
rubenwardy
d11d638144 Add per-package download tracking 2022-11-05 22:43:57 +00:00
rubenwardy
f010a12ded Improve package search title generation 2022-10-28 16:21:31 +01:00
rubenwardy
e50f7094f8 Replace game jam banner 2022-10-26 09:43:23 +01:00
rubenwardy
ac3047f124 Add game jam 2022 ad 2022-10-25 17:24:43 +01:00
rubenwardy
294037ec70 Use level 4 thumbnail for cover image 2022-10-25 02:00:12 +01:00
rubenwardy
5a506ef557 Add level 4 thumbnails 2022-10-25 01:49:06 +01:00
rubenwardy
da3af2c22f Only allow editors to access user comments page 2022-10-24 14:43:39 +01:00
rubenwardy
1ef71b7a59 Add robots.txt to git 2022-10-19 15:08:27 +01:00
rubenwardy
51d2b82acf Add page to list mods that don't support current version 2022-10-15 12:53:17 +01:00
rubenwardy
5f42e35231 Fix crash on sign up 2022-10-14 12:52:29 +01:00
rubenwardy
e2af9893ce Fix failing unit test 2022-10-13 19:27:18 +01:00
rubenwardy
cb443a2d15 Add game.conf example to package config help 2022-10-13 19:23:45 +01:00
rubenwardy
a7f2cc5d2b Disallow usernames only containing "." 2022-10-13 19:23:18 +01:00
rubenwardy
905185812b Fix broken search input-group 2022-10-13 19:21:16 +01:00
rubenwardy
5baa06d8c3 Use icon for search button rather than text 2022-10-13 17:21:31 +01:00
rubenwardy
cbd430841c Move Threads to footer from navbar 2022-10-13 16:58:12 +01:00
rubenwardy
bfe32d8fc8 Enable Italian and Vietnamese 2022-10-13 16:56:59 +01:00
qwerty123a2
6edc4645d2
Makes it clear that an error occurred. (#390)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-09-25 15:35:23 +01:00
rubenwardy
90710cc8b9 Remove full description from search index 2022-09-14 22:12:43 +01:00
rubenwardy
7bfb183578 Fix broken metapackages -> modnames redirect 2022-09-01 23:14:56 +01:00
rubenwardy
906ec3885a Rename "Metapackage" to "Mod Name" 2022-09-01 22:56:49 +01:00
rubenwardy
f649fa57e6 Move mods above games in metapackage page 2022-09-01 22:30:43 +01:00
rubenwardy
b4208f2dda Reintroduce New Member rank
Fixes #183
2022-08-23 02:31:17 +01:00
rubenwardy
1d36f7d12b Update package config doc 2022-08-19 00:06:54 +01:00
rubenwardy
631ef2b10a Add migration to fix search weights 2022-08-18 16:44:40 +01:00
rubenwardy
bae1df2e8d Rename fileUpload -> file_upload 2022-08-09 17:51:17 +01:00
rubenwardy
0b92d43871 Add missing screenshots page to editor console 2022-08-09 13:48:49 +01:00
rubenwardy
9b7f1e6e88 Add missing screenshots item to user todo 2022-08-09 13:39:58 +01:00
wsor4035
c0447cdcd2
Add Editor crash course (#385)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-08-01 13:02:16 +01:00
rubenwardy
3be937c503 Remove zipgrep min length 2022-07-25 18:05:14 +01:00
rubenwardy
bc4e83d76a Add noindex to report page when given a URL 2022-07-19 23:29:56 +01:00
rubenwardy
20411e6f81 Make reporting the report page a 404 2022-07-19 23:20:13 +01:00
rubenwardy
56298ed57f Add graceful error message for invalid json files 2022-06-25 15:36:59 +01:00
rubenwardy
294a968c9f Fix crash when null is used for an array in .cdb.json
Fixes #298
2022-06-25 15:27:40 +01:00
rubenwardy
78717b5eea Move game support updateAll to celery task 2022-06-25 04:47:38 +01:00
rubenwardy
e86eb6a4b8 Update game support blacklist 2022-06-25 04:39:07 +01:00
rubenwardy
a8de369edf Disallow "_game" as a package name 2022-06-25 03:44:25 +01:00
rubenwardy
3b140df508 Improve bot message friendliness 2022-06-25 03:30:12 +01:00
rubenwardy
cef8985d38 Make editor GUI override author game support 2022-06-25 03:20:27 +01:00
rubenwardy
4fdfc49429 Add mod.conf example to supported games page 2022-06-25 03:13:36 +01:00
rubenwardy
bfbab7ae9e Prevent disabling game detection without manually specifying games 2022-06-25 02:51:29 +01:00
rubenwardy
e091bd6fb0 Use db.session for GameSupportResolver in postReleaseCheckUpdate 2022-06-25 02:41:50 +01:00
rubenwardy
4a82172e07 Fix detached instance error in game support 2022-06-25 02:39:36 +01:00
rubenwardy
d9e65f7c3a Add option to disable game support detection 2022-06-25 02:27:51 +01:00
rubenwardy
42841896d1 Add ability for editors to set game support 2022-06-25 01:17:20 +01:00
rubenwardy
7f00b77db3 Add helpful page for game support 2022-06-25 00:32:32 +01:00
rubenwardy
d6887d7b46 Add support for un/"supported_games" in mod.conf 2022-06-24 23:56:27 +01:00
rubenwardy
f22911b4a0 Fix and reenable game support 2022-06-24 23:18:16 +01:00
ROllerozxa
4adb209894
Fix Swedish language code (#380) 2022-06-20 15:38:49 +01:00
rubenwardy
fa55f1d03b Report: Fix URL 2022-06-13 17:12:30 +01:00
rubenwardy
f511771fd4 Remove unused field 2022-06-13 17:11:50 +01:00
rubenwardy
5bd6ab7611 Disable reports from anonymous users 2022-06-13 17:10:14 +01:00
rubenwardy
f5643173a8 Enable Swedish 2022-06-05 18:17:52 +01:00
rubenwardy
6375cf7ae8 Allow modpacks with only a single mod 2022-06-05 17:59:25 +01:00
rubenwardy
2a82c08d8b Update wording on screenshot policy 2022-06-05 01:44:44 +01:00
rubenwardy
0a89849157 Improve username error messages and duplicate messages 2022-06-05 01:00:45 +01:00
rubenwardy
adaf44bc2b Fix package deletion
Fixes #192
2022-06-01 17:30:28 +01:00
rubenwardy
8b5d767d3c Fix issues with deleted packages 2022-06-01 17:30:28 +01:00
rubenwardy
dfc0af21ee Lower ratelimit 2022-05-09 12:40:01 +01:00
rubenwardy
cfd67dce33 Add ratelimit to package reviews 2022-05-08 16:01:13 +01:00
rubenwardy
0241c51f6f Fix thread template styling issue 2022-04-26 22:50:14 +01:00
rubenwardy
958020b19b Fix new thread private behaviour 2022-04-23 21:44:27 +01:00
rubenwardy
34d66a3d96 Update thread visibility guidance 2022-04-23 21:38:16 +01:00
rubenwardy
0689565ded Fix crash on mentioning user 2022-04-23 21:31:59 +01:00
rubenwardy
8fcbdd0666 Add mentioned users to thread when replying too 2022-04-23 21:20:36 +01:00
rubenwardy
c7d251b206 Add New Thread button to threads list 2022-04-23 21:17:03 +01:00
rubenwardy
f3ff44203c Add is_status_update to thread replies 2022-04-23 20:56:50 +01:00
rubenwardy
ee2311025c Allow watchers to see private threads, add list of users able to see thread 2022-04-23 20:42:58 +01:00
rubenwardy
b8e40b166d Fix comments being lost when two users try to open a package approval thread 2022-04-23 20:22:49 +01:00
rubenwardy
d7dd0274fa Fix long comments being swallowed 2022-04-23 20:05:19 +01:00
rubenwardy
b67e9a8130 Improve screenshots policy formatting 2022-04-23 14:59:54 +01:00
rubenwardy
794d113ce9 Fix list formatting in policy and guidance 2022-04-23 14:39:07 +01:00
rubenwardy
d8336989a8 Add policy on screenshots
Fixes #333
2022-04-23 14:29:28 +01:00
rubenwardy
64acf3047f Fix minor issues with zipgrep 2022-04-09 01:41:38 +01:00
rubenwardy
f137dfa978 Enable Polish, Chinese, and Slovak 2022-04-09 01:41:18 +01:00
rubenwardy
2a1672544f Disable game support in UI for now 2022-04-02 20:12:49 +01:00
rubenwardy
8f622ba5c9 Add ability to search for text in all packages 2022-04-02 20:09:59 +01:00
rubenwardy
e42f6b2cfa Add 500 page 2022-02-15 15:26:03 +00:00
rubenwardy
9200d7becd Add missing package attribution to remove() 2022-02-14 01:21:24 +00:00
rubenwardy
a70454cf1f Extend number of audit log entries shown on /todo/ 2022-02-14 01:19:32 +00:00
rubenwardy
07db1943fb Add audit log to editor todo 2022-02-14 01:18:03 +00:00
rubenwardy
3d35f6507a Add temp banning and ban messages 2022-02-13 10:41:02 +00:00
rubenwardy
7a650eb1e4 Fix unfulfilled dependency checker 2022-02-13 09:53:12 +00:00
rubenwardy
d7c765c972 Disable game support updating 2022-02-13 09:13:53 +00:00
rubenwardy
173261a69f Emails: Fix crash due to missing connection 2022-02-13 09:03:50 +00:00
rubenwardy
5c5608680b Add validation for modpack names with one mod 2022-02-12 18:25:46 +00:00
rubenwardy
595b86df6c Add Precedence: Bulk header to bulk emails 2022-02-12 14:13:57 +00:00
rubenwardy
770d17b42a Use persistent SMTP connection for bulk emails, add List-Unsubscribe header 2022-02-12 14:06:04 +00:00
rubenwardy
8ad066409c Fix notification digest issue 2022-02-11 17:17:11 +00:00
rubenwardy
83b2cf48d4 Fix audit crash 2022-02-10 02:20:12 +00:00
rubenwardy
2bbb117eac Small fixes 2022-02-09 19:14:08 +00:00
rubenwardy
f61112a8d7 Add ability for moderators to convert reviews into threads 2022-02-09 12:47:36 +00:00
rubenwardy
3566b030c5 Attempt to fix package session issues 2022-02-08 10:40:20 +00:00
rubenwardy
2d54fe4ed7 Fix issues with Package sets by adding a PackageSet class 2022-02-07 18:10:43 +00:00
rubenwardy
b82bcb0af9 Disable 'Submit for Approval' when release is broken 2022-02-04 13:36:26 +00:00
rubenwardy
eeea5d004a Fix "specific" typo 2022-02-03 17:04:09 +00:00
rubenwardy
97ee0a9f85 Fix crash on game support update 2022-02-03 17:02:01 +00:00
rubenwardy
958f92fd63 Add single API to upload cover image 2022-02-02 01:29:14 +00:00
rubenwardy
dfef268b05 Fix docs on cover-image 2022-02-02 01:21:33 +00:00
rubenwardy
e7d2f09eb4 Add cover_image to screenshot response in API 2022-02-02 01:20:11 +00:00
rubenwardy
5bb9012655 Add game support to API 2022-02-02 01:11:44 +00:00
rubenwardy
a291b2cd6f Add cover_image API
Fixes #360
2022-02-02 01:08:01 +00:00
rubenwardy
ead077fb92 Metapackages: Split up "provided" into multiple subheadings 2022-02-02 00:56:56 +00:00
rubenwardy
1c9d6ac865 Rename "Supported Games" to "Compatible Games" 2022-02-02 00:29:16 +00:00
rubenwardy
d098ee9dff Run game support update_all on unapproved mods too 2022-02-02 00:25:59 +00:00
rubenwardy
b8d95dd222 Add disclaimer to Supported Games section on package pages 2022-02-01 21:54:11 +00:00
rubenwardy
7c93db95a3 Add community hub to list game content 2022-02-01 21:22:28 +00:00
rubenwardy
d529634b7f Add game support detection
Part of #232
2022-02-01 20:56:43 +00:00
rubenwardy
f8e82b63e3 Revert "Limit visibility of unapproved packages to maintainers and approvers" and "Fix 404 on packages when not logged in"
This reverts commit 85a178d90e7ea654f456716a203388a1035048a4.
This reverts commit 727db52c19b6775972f9b5c073b26ce3c9e543bd.
2022-02-01 14:54:09 +00:00
rubenwardy
afdf06b3f6 Remove confusing min/max version text 2022-01-30 19:27:21 +00:00
rubenwardy
d21a86587f Fix content_flags documentation 2022-01-30 19:24:33 +00:00
rubenwardy
38071165d1 Add welcome dialog API 2022-01-30 03:35:32 +00:00
rubenwardy
1cfc152d3b Fix crash on needs tags in user todo 2022-01-29 20:23:15 +00:00
rubenwardy
2db2f61992 Enable Russian language 2022-01-29 20:23:00 +00:00
rubenwardy
bdd3ab4360 Add is_protected and views to Tags API 2022-01-29 19:26:55 +00:00
rubenwardy
4f9ec2e8a4 Fix attempting to set protected tag in API dropping other tags 2022-01-29 19:25:02 +00:00
rubenwardy
14fd30c4f4 Fix attempt to call module list 2022-01-27 19:20:45 +00:00
rubenwardy
c2fbf7603a Update to Python 3.10 2022-01-27 18:44:00 +00:00
rubenwardy
c3a4ea239c Update dependencies 2022-01-27 18:21:47 +00:00
rubenwardy
e2708933d3 Clean up admin blueprint 2022-01-26 19:12:48 +00:00
rubenwardy
cb2d9d4b07 Add note about bug reports to report page 2022-01-26 18:16:47 +00:00
rubenwardy
d08710684d Add screenshot resolution checking 2022-01-26 03:08:00 +00:00
rubenwardy
625e4cf9ee Allow removing video_url 2022-01-25 23:32:51 +00:00
rubenwardy
c8b310ebdb Fix 2022-01-25 23:28:38 +00:00
rubenwardy
e20863a7e1 Support links to video hosts other than YouTube 2022-01-25 22:14:06 +00:00
rubenwardy
8f2a87e5ed Harden video_embed.js, store URL in data-src 2022-01-25 21:52:46 +00:00
rubenwardy
ae88360e20 Fix unsubscribe crash 2022-01-25 21:38:02 +00:00
rubenwardy
7d97c2a27b Fix notification digest crash 2022-01-25 21:37:54 +00:00
rubenwardy
02b7d55c2d Add remind_video_url() admin action 2022-01-25 21:37:35 +00:00
rubenwardy
55b5893cce Update translations 2022-01-25 21:04:39 +00:00
rubenwardy
1018e1c29c Add support for YouTube video embeds
Fixes #75
2022-01-25 21:00:45 +00:00
rubenwardy
e5a4161e76 Fix crash due to typo whilst commiting 2022-01-25 18:09:32 +00:00
rubenwardy
a3f437e482 Redesign download button 2022-01-25 17:27:40 +00:00
rubenwardy
9fcbbdc472 Refactor get_locale() to be cleaner 2022-01-25 01:35:57 +00:00
rubenwardy
7aac597216 Change User.locale default to None 2022-01-25 01:33:13 +00:00
rubenwardy
95b3c66366 Copy locale to User model 2022-01-25 01:22:47 +00:00
rubenwardy
3b354de2fc Lower email sending rate limit again 2022-01-23 18:40:06 +00:00
rubenwardy
411392eb76 Lower email sending rate limit 2022-01-23 18:27:46 +00:00
rubenwardy
15c3e4edec Raise email sending rate limit 2022-01-23 18:25:58 +00:00
rubenwardy
fa0572ae44 Move preferred language/locale point in privacy policy 2022-01-23 18:10:25 +00:00
rubenwardy
ade75ace49 Update privacy policy
- Add preferred language
- Add admin bulk email sending
- Update location
2022-01-23 17:56:54 +00:00
Hugo Locurcio
56539bb369
Fix missing space before "and" in package list (#357) 2022-01-23 17:21:29 +00:00
rubenwardy
390bf7a657 Fix two crashes due to translations 2022-01-23 17:14:03 +00:00
rubenwardy
deb5c02ce6 Fix sending error email on email ratelimit 2022-01-22 22:11:36 +00:00
rubenwardy
004c5cd383 Allow translating emails
Fixes #350
2022-01-22 21:23:01 +00:00
rubenwardy
7b4254da58 Add locale to user model 2022-01-22 20:47:43 +00:00
rubenwardy
85a178d90e Fix 404 on packages when not logged in 2022-01-22 00:04:09 +00:00
rubenwardy
a48c0fb2b4 Fix unapproved content showing in "related"
Fixes #253
2022-01-21 22:49:12 +00:00
rubenwardy
3c944cbd72 Add moderator tools page
Fixes #341
2022-01-21 22:33:22 +00:00
rubenwardy
727db52c19 Limit visibility of unapproved packages to maintainers and approvers
Fixes #338
2022-01-21 21:48:15 +00:00
rubenwardy
80d534a53f Fix crash on invalid username in forums import 2022-01-21 21:20:04 +00:00
rubenwardy
fe2d08c395 Allow moderators to edit ThreadReplies 2022-01-21 14:30:12 +00:00
rubenwardy
97e2e1c16e Add abs_url_samesite 2022-01-21 14:23:27 +00:00
rubenwardy
a32b63f932 Use relative URLs in report, to ensure correct links 2022-01-21 14:17:50 +00:00
rubenwardy
e0421c1e57 Disable WIP markdown editor toolbar option 2022-01-21 13:59:13 +00:00
rubenwardy
f457f7f5d7 Fix accidental new line in thread <title> 2022-01-21 13:15:07 +00:00
rubenwardy
3ac2d937d7 Fix grammatically weird <title> on thread pages 2022-01-21 13:14:02 +00:00
rubenwardy
45eca10859 Fix "staff" typo 2022-01-21 02:53:46 +00:00
rubenwardy
ef28fa026e Fix crash due to misnamed path argument in abs_url_for 2022-01-20 23:40:47 +00:00
rubenwardy
e1a86f3be0 Remove report link on help pages 2022-01-20 23:37:17 +00:00
rubenwardy
7f5656df08 Add reporting system
Fixes #12
2022-01-20 23:30:56 +00:00
rubenwardy
a47e6e8998 Move /email_sent/ to flask endpoint, to allow translation 2022-01-20 21:55:16 +00:00
rubenwardy
b6fe0466ca Increase locale cookie expiry to 5 years 2022-01-20 20:27:38 +00:00
rubenwardy
9ea4ee3449 Fix crash due to mistake in tags.html 2022-01-20 14:49:46 +00:00
rubenwardy
d9a6127c35 Fix inconsistent capitalisation of GitHub and Javascript
Fixes #353
2022-01-20 01:29:02 +00:00
rubenwardy
3ad003140f Fix inconsistent naming of reviews vs approvals
Fixes #354
2022-01-20 01:18:13 +00:00
rubenwardy
a325d2c2cd Fix crash due to missing import in screenshots.py 2022-01-17 22:32:09 +00:00
rubenwardy
9cc79d9fa5 Fix mention linkifying emails 2022-01-17 18:15:23 +00:00
rubenwardy
a09f11d110 Show profile picture on package page
Fixes #327
2022-01-17 18:15:08 +00:00
rubenwardy
6e93e6d777 Fix optional_depends not being validated 2022-01-17 15:34:41 +00:00
rubenwardy
6a4bf7129d Add user and package mentions 2022-01-17 15:06:03 +00:00
rubenwardy
e02c014890 Fix format instead of variable in gettext 2022-01-14 18:28:22 +00:00
rubenwardy
beb916d521 Fix some untranslatable text 2022-01-14 18:25:33 +00:00
rubenwardy
f3856b5db5 Improve donation panel on package pages 2022-01-14 17:52:33 +00:00
rubenwardy
8af2942097 Enable German translation 2022-01-14 15:28:46 +00:00
rubenwardy
543499560d Fix crash in package_approval.html translation 2022-01-13 03:09:22 +00:00
rubenwardy
7ffecbb318 Fix key package API returning display_name rather than username 2022-01-12 20:50:11 +00:00
rubenwardy
e0a92c6455 Add /api/dependencies/ 2022-01-12 17:08:18 +00:00
rubenwardy
3af5fccd61 Fix crash due to missing request.endpoint 2022-01-12 16:47:39 +00:00
rubenwardy
fbadb05037 Fix crash due to missing view_args 2022-01-11 17:06:24 +00:00
rubenwardy
416daa868b Add hint to reason in package removal 2022-01-09 21:14:59 +00:00
rubenwardy
34ccd76b0c Add reason to package removal 2022-01-09 21:12:29 +00:00
rubenwardy
ca0823c460 Fix optional dependencies being presolved 2022-01-08 22:29:02 +00:00
rubenwardy
71b4a0416f Fix remaining translation parameters 2022-01-08 17:57:05 +00:00
rubenwardy
3a0a3c5325 Enable Indonesian 2022-01-08 16:40:51 +00:00
rubenwardy
ec6f16c229 Fix crash when sending emails 2022-01-08 02:42:48 +00:00
rubenwardy
db4e3dabb7 Fix crash due to misspelled gettext arg 2022-01-08 02:35:17 +00:00
rubenwardy
b2a72da219 Enable Melay translation 2022-01-08 02:34:19 +00:00
rubenwardy
574339f935 Fix crash in template 2022-01-08 01:49:13 +00:00
rubenwardy
baa8c871b0 Fix crash on unimported gettext 2022-01-08 01:47:25 +00:00
rubenwardy
c5a6ae3035 Allow translating text in templates 2022-01-07 23:27:00 +00:00
rubenwardy
c8b0f9e6ce Allow translating text in blueprints 2022-01-07 22:11:12 +00:00
rubenwardy
1b26acaaae Allow translating form labels 2022-01-07 21:55:33 +00:00
rubenwardy
dcd7e31738 Allow translating flash messages 2022-01-07 21:46:16 +00:00
rubenwardy
c4dd380218 Allow translating package form 2022-01-07 21:18:34 +00:00
rubenwardy
ad05ba1ee8 Fix search bad text bug 2022-01-07 21:15:48 +00:00
rubenwardy
a175162186 Remove flask-menu, make navbar translatable 2022-01-07 21:09:09 +00:00
rubenwardy
b40bc8c20d Tag index.html and base.html, test updating translation templates 2022-01-07 20:58:32 +00:00
rubenwardy
44b02cfb4e Add translation tagging call for help 2022-01-07 20:27:49 +00:00
rubenwardy
9de4ad5cb3 Fix crash 2022-01-07 19:46:49 +00:00
rubenwardy
482c9e5905 Enable translation support 2022-01-07 19:42:52 +00:00
rubenwardy
d8f164ffc1 Fix thread typo when sending webhook 2022-01-05 00:27:48 +00:00
rubenwardy
e4ea44aa5b Allow null dev_state 2022-01-04 13:08:53 +00:00
rubenwardy
122e1a4677 Rename replies to comments 2022-01-03 01:44:12 +00:00
rubenwardy
933d8ebfe7 Add all user replies page 2022-01-03 01:41:50 +00:00
rubenwardy
8f4e214c52 Add review votes page 2022-01-01 22:40:27 +00:00
rubenwardy
e346587111 Remove thumbs from helpful votes 2022-01-01 21:45:03 +00:00
rubenwardy
4dfb35a57b Remove gamejam banner 2022-01-01 02:27:49 +00:00
rubenwardy
d16666c0f8 Update homepage gamejam notice 2021-12-23 12:07:38 +00:00
rubenwardy
4d37f53a04 Fix crash due to null dev_state 2021-12-23 11:58:39 +00:00
rubenwardy
e3ed5fbc58 Show WIP packages in client, add missing keys to package 2021-12-23 11:56:03 +00:00
rubenwardy
2e7d4277e1 Allow editors to restore packages 2021-12-20 23:56:44 +00:00
rubenwardy
5932ac3c7c Clean up hide query argument in QueryBuilder 2021-12-20 21:24:06 +00:00
rubenwardy
5d32d7922f Add Maintenance State field
Fixes #160
2021-12-20 21:07:12 +00:00
rubenwardy
a800685947 Improve webhook error on create events 2021-12-12 17:20:23 +00:00
rubenwardy
7aca5a54dc Add more to reviews API response 2021-11-26 14:56:01 +00:00
rubenwardy
e1cd2ceb1d Improve reviews API docs 2021-11-26 14:42:21 +00:00
rubenwardy
c46cca519a Fix paginated API response key 2021-11-26 14:34:37 +00:00
rubenwardy
da41fb5738 Improve reviews API 2021-11-26 14:33:17 +00:00
rubenwardy
bd25a8d601 Fix limit arg in QueryBuilder 2021-11-25 15:51:41 +00:00
rubenwardy
c13b13268b Update topic queries API doc 2021-11-25 15:48:23 +00:00
rubenwardy
10cfbc6e45 Fix typo in URL in API docs 2021-11-25 11:13:58 +00:00
rubenwardy
6c99732673 Fix UI test assertion 2021-11-25 11:01:07 +00:00
rubenwardy
3c4085eb0b Use username in fallback when generating gravatar profile picture 2021-11-25 11:00:20 +00:00
rubenwardy
443dd9f18f Fix user count assertion in UI tests 2021-11-25 10:56:45 +00:00
rubenwardy
95c0fb8a70 Fix migration 2021-11-25 10:51:54 +00:00
rubenwardy
a04b2542b5
Add policy on Featured Packages (#323) 2021-11-25 10:49:42 +00:00
rubenwardy
49355f5db1 Improve API documentation 2021-11-25 10:49:31 +00:00
rubenwardy
41e0e65a6b Add more info to /api/homepage/ 2021-11-25 10:35:31 +00:00
rubenwardy
f714d809f8 Fix crash on /api/homepage/ due to invalid response returned 2021-11-25 10:28:15 +00:00
rubenwardy
cd39f7b2c6 Fix verification email not being sent by set password 2021-11-25 01:49:14 +00:00
rubenwardy
c4c8390ead Fix typo in API docs 2021-11-24 23:16:05 +00:00
rubenwardy
085c99272e Show gamejam banner to all users 2021-11-24 23:14:32 +00:00
rubenwardy
5fd1666a5d Prevent metrics roll over 2021-11-24 23:01:42 +00:00
rubenwardy
c0eb10521d Delete unconfirmed accounts after 12 hours 2021-11-24 22:54:35 +00:00
rubenwardy
bc371f1ef3 Delete inactive user accounts after 12 hours 2021-11-24 17:58:03 +00:00