Commit Graph

1751 Commits

Author SHA1 Message Date
rubenwardy
b36e91044f Homepage: Optimise recently updated query 2023-11-17 22:54:38 +00:00
rubenwardy
9184f1bcc0 Add support CDB to footer 2023-11-17 19:28:05 +00:00
rubenwardy
d2feddea1e Allow using the details tag in markdown
Fixes #487
2023-11-14 01:14:50 +00:00
rubenwardy
739179a152 Fix crash on user deletion due to game support 2023-11-13 17:44:40 +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
5ce5684ca6 Collections: Add short description to profile pages 2023-11-07 23:31:15 +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
3279e00aa4 OAuth2: Improve authorize page formatting 2023-10-31 21:18:28 +00:00
Buckaroo Banzai
c09f190712
Add missing \ in oauth curl example (#486)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-10-31 20:57:23 +00:00
rubenwardy
047bf936b4 OAuth2: Allow normal users to create clients (but unapproved) 2023-10-31 20:29:49 +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
e0553d0a50 OAuth2: Add example authorize URL to edit form 2023-10-31 19:26:23 +00:00
rubenwardy
76f9f58175 OAuth2: Add audit logs 2023-10-31 19:18:08 +00:00
rubenwardy
540603ed7a OAuth2 docs: check access token + scopes 2023-10-31 18:58:37 +00:00
rubenwardy
bc38094a41 Remove dummy data from API 2023-10-31 18:54:58 +00:00
rubenwardy
c4fac34e6a Fix skip button not being styled 2023-10-31 18:50:33 +00:00
rubenwardy
5ab6b84fe7 Add delete-token API 2023-10-31 18:50:33 +00:00
rubenwardy
604fb010d2 Fix codehilite guessing languages 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
1627fa50f2 Enable Spanish translation 2023-10-23 22:36:48 +01:00
rubenwardy
e402b52221 Improve repo wizard messaging on create package 2023-10-23 21:50:57 +01:00
rubenwardy
a9533732f3 Rename "unapprove" to "unpublish" 2023-10-15 22:16:19 +01:00
rec
40a59a4d31
Adding in a carousel for packages (#475)
Co-authored-by: recluse4615 <recluse4615@users.noreply.github.com>
2023-10-15 22:14:08 +01:00
rubenwardy
fc559814d4 Prevent renaming published packages 2023-10-15 22:13:35 +01:00
rubenwardy
4fc54f12bc Remove optional banner from set password page 2023-10-11 22:33:37 +01:00
rubenwardy
0b7febae5d Stats: Point to spike blog post 2023-10-08 14:56:12 +01:00
rubenwardy
9db2fdd49a Add missing unique constraint for author and name
Swear this was already present
2023-10-02 00:32:20 +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
383f9a43ef Move font awesome above scripts to avoid visual jump 2023-09-02 22:37:52 +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
30722020c8 Flatpages: Move table of contents to the top on mobile
Fixes #459
2023-09-02 22:05:11 +01:00
rubenwardy
d4ecaee5f2 Fix crash when using limit in /api/packages/
Fixes #468
2023-09-02 21:52:14 +01:00
rubenwardy
b6995b1857 Fix UI tests due to increased password requirements 2023-09-02 21:49:13 +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
18e8a11d00 Add improved "How to install" help page 2023-08-28 09:28:38 +01:00
rubenwardy
9ec2b05e8d Create favorites collection when viewing /add-to/ 2023-08-28 08:54:59 +01:00
rubenwardy
4c0e181336 Use same hue for link color as primary color 2023-08-26 19:55:14 +01:00
rubenwardy
3f2c7094d9 Add missing .btn to report button 2023-08-26 19:50:53 +01:00
rubenwardy
df825a0a84 Make links blue and not underlined 2023-08-26 19:49:23 +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
798679ca44 Use async in polltask.js 2023-08-26 13:21:20 +01:00
rubenwardy
c8a30a27dc Move JS files to /static/js/ 2023-08-26 13:08:11 +01:00
rubenwardy
2f458ba40e Remove direct use of jQuery
jQuery is still required by jQuery UI
2023-08-26 13:03:29 +01:00
rubenwardy
9eb03c6a57 Set homepage row size to 4 2023-08-25 21:31:19 +01:00
rubenwardy
98c1cbc769 Remove lazy loading from carousel 2023-08-25 21:28:39 +01:00
rubenwardy
05a597adeb Fix package tile images not fully covering tile 2023-08-25 20:55:50 +01:00
rubenwardy
0649e5cf13 Lazy load images 2023-08-25 20:50:48 +01:00
rubenwardy
210a0a10ae Update jQuery dependencies 2023-08-25 20:49:17 +01:00
rubenwardy
e99dbda126 Fix underline in UI-autocomplete 2023-08-22 20:12:56 +01:00
rubenwardy
9df80d212e
Upgrade to Bootstrap v5 (#457) 2023-08-22 19:58:43 +01:00
rubenwardy
5f1d0ed946 Disable quick_review_voting.js for guest users 2023-08-22 00:48:08 +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
dca6e82594 Add JS to vote on reviews without form submit
Fixes #329
2023-08-21 00:13:22 +01:00
rubenwardy
2a9f2924da Improve documentation on package create page
Fixes #447
2023-08-20 23:41:23 +01:00
rubenwardy
4433918d4c Add required text next to required fields 2023-08-20 23:41:06 +01:00
rubenwardy
bb719ad844 Show JSON decode errors to users
Fixes #431
2023-08-20 23:17:54 +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
c0655eb9e2 Fix package grid tiles being too large
Fixes #456
2023-08-19 03:03:15 +01:00
rubenwardy
b410ab3bcc Improve behaviour of added packages in search box 2023-08-19 02:56:05 +01:00
rubenwardy
618a768f9a Fix not being able to remove packages added by query field 2023-08-19 02:48:40 +01:00
rubenwardy
cea315048b Add long description to collections 2023-08-19 02:43:38 +01:00
rubenwardy
c04cb14eec Fix placeholder not being shown in collection view 2023-08-19 02:33:16 +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
e47ea249e7 Use Star instead of Heart for favourites 2023-08-19 00:46:27 +01:00
rubenwardy
c1aa12dc8c Make "Report an Issue" translatable 2023-08-19 00:43:42 +01:00
rubenwardy
b3847da28e Add report issue button to review form 2023-08-19 00:37:50 +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
4a0653bcfd Fix responsiveness of package grid on mobile 2023-08-14 22:01:01 +01:00
rubenwardy
f7a5a1218f Add package collections
Fixes #378
2023-08-14 21:48:50 +01:00
rubenwardy
bf20177756 Use CSS grid for package tiles 2023-08-14 18:55:42 +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
f1b2465e82 Add sorting links to profile page 2023-08-13 13:29:32 +01:00
rubenwardy
32a305c9d8 Prevent deleting banned accounts 2023-08-10 16:31:16 +01:00
rubenwardy
a1eac9959e Reduce min comment length 2023-08-06 20:55:55 +01:00
rubenwardy
7492c308ad MinetestCheck: Add more reserved mod names 2023-08-06 12:29:43 +01:00
rubenwardy
d31162a1fa MinetestCheck: Forbid the use of reserved mod names 2023-08-06 12:21:06 +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
30372b99c6 Disallow packages that ask mod security to be disabled 2023-07-22 12:48:20 +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
2007f3a095 Add og:image to profile pages 2023-07-15 19:11:41 +01:00
rubenwardy
a0c0cce2ab Fix og:title not being set unless description is set 2023-07-15 19:09:47 +01:00
rubenwardy
4a2d5c9066 Redirect /packages/author/ to /users/author/ 2023-07-15 19:08:36 +01:00
rubenwardy
9e446e7524 Add thread id and URL to review API 2023-07-12 21:32:22 +01:00
rubenwardy
43e9641feb API: Add option to filter reviews by package author 2023-07-09 16:48:46 +01:00
rubenwardy
e446e9011a Adjust error message to debug Yandex mail issue 2023-07-06 17:04:59 +01:00
rubenwardy
2494121615 Fix inverted condition in supports_all_games check 2023-07-03 22:49:46 +01:00
rubenwardy
a3e8dce871 Update game support docs 2023-07-03 22:36:25 +01:00
rubenwardy
ba0b4d518d Prevent supporting all games from .conf when depending on a game-specific game 2023-07-03 22:23:33 +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
96f9adb95f Update translations 2023-06-27 21:02:03 +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
461d45b411 Fix typos in game support text 2023-06-23 12:11:21 +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
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