Magnus Jensen
3c1e3cd38e
Fix version name can be empty string ( #537 )
2023-03-03 18:20:04 -05:00
Geometrically
00d09aa01e
Housekeeping + Fix DB perf issues ( #542 )
...
* Housekeeping + fix db perf issues
* run prep
2023-02-22 16:11:14 -07:00
triphora
9afdc55416
Add project color to embed accent color ( #522 )
...
Closes #521
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-02-21 17:44:18 -07:00
Magnus Jensen
dc15914a85
chore(validate): update error description to space actual error ( #538 )
...
Co-authored-by: MagnusHJensen <magnus.holm.jensen@lego.dk >
2023-02-15 09:40:32 -07:00
Geometrically
afdab0300e
Update Analytics req + Fix versions list ( #529 )
...
* Update Analytics req + Fix versions list
* Fix sentry support
* Fix lint
2023-02-01 10:08:02 -07:00
Geometrically
867ba7b68f
Fix various issues ( #524 )
...
* Fix various issues
* Fix multipart body hang
* drop req if error
* Make multipart errors more helpful
2023-01-16 16:45:19 -07:00
Geometrically
34af33607b
Update file restrictions, download counting, project colors, etc ( #515 )
...
* Update file restrictions, download counting, project colors, etc
* Run fmt + clippy + prepare
2022-12-30 13:56:41 -07:00
Geometrically
5bb188a822
Project Colors ( #512 )
...
* Inital tests
* Finish project colors
* Run fmt + clippy + prepare
* Fix dp+rp fmting
2022-12-29 17:20:50 -07:00
Geometrically
df4680ee09
Fix data pack webhook ( #513 )
2022-12-29 09:13:39 -07:00
Geometrically
9fed1cde25
Fix webhook again ( #499 )
2022-12-09 12:29:16 -07:00
Geometrically
5c7b175e90
Webhook update ( #498 )
...
* Update webhook
* Run clippy
2022-12-08 19:44:46 -07:00
Geometrically
d8b9d8431e
Shader fixes ( #495 )
...
* Shader fixes
* Add core shaders validator
* Update validator again
* Rename shaders
* Fix build
2022-12-08 15:13:01 -07:00
Geometrically
91a2ce2b3f
Switch out references of 'TO_JSONB' ( #494 )
2022-12-07 23:30:41 -07:00
Geometrically
4da1871567
Public Webhook Fixes ( #493 )
...
* Public discord webhook
* Switch to jsonb for most queries + make gallery featured first
* Run fmt + clippy + prepare
2022-12-07 09:56:53 -07:00
Geometrically
e809f77461
Public discord webhook ( #492 )
2022-12-06 19:51:03 -07:00
Geometrically
e96d23cc3f
Initial work on new status sys + scheduling releases ( #489 )
...
* Initial work on new status sys + scheduling releases
* Finish project statuses + begin work on version statuses
* Finish version statuses
* Regenerate prepare
* Run fmt + clippy
2022-12-06 09:14:52 -07:00
Geometrically
f259d81249
FlameAnvil Project Sync ( #481 )
...
* FlameAnvil Project Sync
* Perm fixes
* Fix compile
* Fix clippy + run prepare
2022-11-20 19:50:14 -07:00
triphora
18fde86a20
Fix #464 ( #467 )
...
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-11-19 17:54:56 -07:00
Tom Martin
ba28bc94d3
Fix all default clippy warnings ( #480 )
...
All trivial, fixes were for:
- #[deny(clippy::if_same_then_else)]
- #[warn(clippy::explicit_auto_deref)]
- #[warn(clippy::bool_assert_comparison)]
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-11-17 10:09:53 -07:00
Geometrically
2c1bcaafc1
Use auto payments with paypal ( #472 )
...
* Use auto payments with paypal
* Remove sandbox key
2022-11-07 15:38:25 -07:00
Geometrically
2ca6e67b37
Payouts finish ( #470 )
...
* Almost done
* More work on midas
* Finish payouts backend
* Update Cargo.lock
* Run fmt + prepare
2022-10-30 23:34:56 -07:00
Geometrically
6e72be54cb
R2 impl ( #466 )
...
* Add Cloudflare R2 impl
* Bump actix version
* Fix sec issues
2022-10-22 21:23:31 -07:00
Geometrically
e7c3f8bf47
Initial work on payouts (badges, perms, splits) ( #440 )
...
* Initial work on payouts (badges, perms, splits)
* Fix clippy error, bitflag consistency
2022-09-02 12:38:58 -07:00
Geometrically
ac3a17b178
Fix plugin validator, fix version urls, clippy lints, additional categories ( #421 )
2022-08-16 17:42:04 -07:00
Geometrically
b04bced37f
More project data ( #406 )
...
* More project data
* Array_agg fixes + cleanup
* fix prepare
* Add approval dates to search
* Update migrations/20220725204351_more-project-data.sql
Co-authored-by: wafflecoffee <emmaffle@modrinth.com >
* Add category labels + display categories
Co-authored-by: wafflecoffee <emmaffle@modrinth.com >
2022-07-31 13:29:20 -07:00
Emma Cypress ⚘
6614b56298
Revert "Add auto-reporting inappropriate text content" ( #397 )
...
* Revert "Add auto-reporting inappropriate text content (#387 )"
This reverts commit 68f7dc9512 .
* Maybe don't revert the whole thing
2022-07-10 10:02:41 -07:00
Emma Cypress ⚘
68f7dc9512
Add auto-reporting inappropriate text content ( #387 )
...
* Add initial support for blocking inappropriate text content
To make something clear, **nothing** is automatically censored or
deleted as a result of this pull request. This pull request is
meant to add two things:
- Regenerate new IDs (project, version, user, etc.) with profanity
- Send reports to the moderators for new inappropriate content
* Make it build
* Fix logic issue
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-07-09 18:51:55 -07:00
Geometrically
4e97a3b3d5
More project type validators ( #383 )
2022-06-26 10:39:38 -07:00
Geometrically
cd514285d9
Fix rejected files showing in hash routes ( #375 )
...
* Fix rejected files showing in hash routes
* Run prepare and formatter
* Add modrinth.com exception for callback URLs
* run fmt
2022-06-18 14:09:37 -07:00
Geometrically
75614fb13c
Move downloads to queue for better performance ( #367 )
2022-06-09 12:21:51 -07:00
Geometrically
e497af4c26
Add deps list for override mods, fix version editing for packs ( #363 )
2022-06-05 10:42:33 -07:00
Geometrically
d29d910ac6
Add mod lists for modpacks, liteloader support, update actix, fix moderation webhook ( #357 )
2022-05-26 10:08:19 -07:00
Geometrically
80e00a80d5
Switch to time crate, add file sizes ( #329 )
...
* Switch to time crate, add file sizes
* Update deps, adjust pack format
* Run formatter, fix clippy
2022-03-29 19:35:09 -07:00
Geometrically
d1c0c9739d
Shulkers of fixes ( #327 )
...
* Shulkers of fixes
* Fix validation message
* Update deps
* Bump docker image version
2022-03-27 19:12:42 -07:00
Jai A
caed86d846
Fix filenames, dep route again
2022-02-28 16:00:12 -07:00
Geometrically
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -07:00
Geometrically
725f8571bb
Fix deps, download URLs, remove duplicate deps ( #310 )
2022-02-26 21:16:11 -07:00
Danielle
b7c7c0e862
Fix download counting ( #309 )
2022-02-26 08:37:24 -07:00
Danielle
3f671b918a
Move download counting to worker ( #306 )
...
* Move download counting to worker
* Run `cargo sqlx prepare`
* Format & some Clippy fixes
2022-02-21 19:57:40 -07:00
Geometrically
e576a58ead
Fix error messages, auth routes, and remove category unique constraint ( #293 )
...
* Fix error messages, auth routes, and remove category unique constraint
* Run prepare
* Remove debug secrets
* Fix team member editing
2022-02-10 10:56:45 -07:00
Geometrically
6bf5dbabee
Upgrade to Actix V2, bump SQLX version, code cleanup, intergrate ratelimiter ( #288 )
...
* Upgrade to Actix V2, bump SQLX version, code cleanup, intergrate ratelimiter
* Add pack file path validation
* Fix compilation error caused by incorrect merge
2022-02-05 23:08:30 -07:00
Geometrically
9e9d6e45b4
Set pack format content type ( #269 )
2021-12-14 21:07:43 -07:00
Leo Chen
13187de97d
Rustic cleanups, dedups and making the code less hard to read in general ( #251 )
...
* typos :help_me:
* (part 1/?) massive cleanup to make the code more Rust-ic and cut down heap allocations.
* (part 2/?) massive cleanup to make the code more Rust-ic and cut down heap allocations.
* (part 3/?) cut down some pretty major heap allocations here - more Bytes and BytesMuts, less Vec<u8>s
also I don't really understand why you need to `to_vec` when you don't really use it again afterwards
* (part 4/?) deduplicate error handling in backblaze logic
* (part 5/?) fixes, cleanups, refactors, and reformatting
* (part 6/?) cleanups and refactors
* remove loads of `as_str` in types that already are `Display`
* Revert "remove loads of `as_str` in types that already are `Display`"
This reverts commit 4f974310cfb167ceba03001d81388db4f0fbb509.
* reformat and move routes util to the util module
* use streams
* Run prepare + formatting issues
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2021-10-11 20:26:59 -07:00
Geometrically
9ee92fb9e9
Project gallery, webhook fixes, remove cache, re-enable donation URLs ( #222 )
2021-07-19 11:30:39 -07:00
Geometrically
981bf1d56f
Fix caching bug, and moderation webhook being sent at the wrong time ( #215 )
2021-06-19 22:01:11 -07:00
Geometrically
d2c2503cfa
Final V2 Changes ( #212 )
...
* Redo dependencies, add rejection reasons, make notifications more readable
* Fix errors, add dependency route, finish PR
* Fix clippy errors
2021-06-16 09:05:35 -07:00