Commit Graph

1492 Commits

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