Commit Graph

1431 Commits

Author SHA1 Message Date
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