Geometrically
630a71c46c
Queue Dates + Warnings, some cleanup ( #549 )
...
* Queue Dates + Warnings, some cleanup
* Fix ping
* Fix repeated discord messaging
* Fix compile error + run fmt
2023-03-14 14:48:46 -07:00
Magnus Jensen
3c1e3cd38e
Fix version name can be empty string ( #537 )
2023-03-03 18:20:04 -05:00
Orchid system (Emma)
5d48ecf86a
Project Perses (API v1 yeetenings): parts 4 and 5 ( #554 )
...
* Project Perses (API v1 yeetenings): parts 4 and 5
Resolves MOD-219
Resolves MOD-220
* Note to Emma: Please test your stuff
2023-03-02 10:50:46 -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
26533c47e7
Add loaders + game versions param to mods ( #528 )
2023-01-27 19:24:40 -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
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
fe256d6a62
File types ( #506 )
...
* File types
* Run prepare + fmt
* Switch to struct
* Update docker version
2022-12-23 16:36:53 -07:00
triphora
16d5a70c08
Add ordering to categories, gallery images, and team members ( #501 )
2022-12-23 14:34:04 -05: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
triphora
820519b4f7
Move to SPDX licenses ( #449 )
...
* Move to SPDX licenses
Found a way to do this without breaking API compat, so here it is, instead of waiting for v3
Resolves MOD-129
Resolves #396
* License URL updates
* what was I thinking
* Do a thing
* Add open source filter
* Remove dead imports
* Borrow
* Update 20220910132835_spdx-licenses.sql
* Add license text route
* Update migration
* Address comments
2022-11-29 21:53:24 -07:00
Geometrically
213a64b1ff
FlameAnvil fixes ( #484 )
2022-11-21 18:59:21 -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
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
da19a07943
Payouts fees changes ( #478 )
...
* Payouts fees changes
* Update src/queue/payouts.rs
Co-authored-by: triphora <emmaffle@modrinth.com >
Co-authored-by: triphora <emmaffle@modrinth.com >
2022-11-16 13:46:36 -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
3e52f804a7
More reasonable length restrictions ( #458 )
2022-09-26 18:09:50 -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
wafflecoffee
4c1dca73c4
Replace remaining icon.ext image paths with hash ( #435 )
...
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-09-02 12:19:39 -07:00
Geometrically
bf8ac214a1
Attempt to fix multipart errors ( #436 )
2022-08-27 15:18:25 -07:00
Geometrically
ac3a17b178
Fix plugin validator, fix version urls, clippy lints, additional categories ( #421 )
2022-08-16 17:42:04 -07:00
Geometrically
33988ed3fb
Allow duplicate version numbers, fix version sorting, edit validators ( #414 )
2022-08-06 17:44:16 -07:00
Geometrically
d165c081f7
Fix API breakage project creation ( #409 )
2022-07-31 21:54:17 -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
Geometrically
d29d910ac6
Add mod lists for modpacks, liteloader support, update actix, fix moderation webhook ( #357 )
2022-05-26 10:08:19 -07:00
Geometrically
a0f840bcf8
Add quilt validators, Deps fix, Fix slug collisions ( #338 )
2022-04-24 13:02:41 -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
Geometrically
023663b268
Fix permissions checks for projects, fix gallery URLs ( #321 )
2022-03-16 07:49:09 -07:00
Geometrically
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -07:00
BasiqueEvangelist
3ee144459f
Allow setting primary file when creating version ( #304 )
...
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-02-20 19:44:59 -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
a54b2db81b
Fix gallery creation validation and validators returning incorrect er… ( #263 )
...
* Fix gallery creation validation and validators returning incorrect errors
* Remove docker image
* Add URL validation for pack files
* Remove unneeded dependencies
2021-11-30 20:07:23 -07:00
Geometrically
7f791d4919
Move validators to seperate thread, other fixes ( #253 )
...
* Move validators to seperate thread, other fixes
* Update rust version in Dockerfile
* Fix notifs not working
* Fix pack validator not enforcing files
2021-11-13 15:46:08 -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
f37e267a5e
Make gallery item featuring exclusive ( #241 )
...
* Make gallery featured value exclusive
* Run prepare
2021-08-29 15:18:45 -07:00
Geometrically
fdf8845a2f
Fix validators ( #237 )
...
* Fix file extension checks not working
* Fix validators not validating files of a non-matching extension
2021-08-22 09:11:38 -07:00
Geometrically
4073a7abc3
Force files to be unique, require all new versions to have at least one file ( #236 )
2021-08-21 19:38:32 -07:00
Geometrically
ffd9a34cf5
Query optimization ( #235 )
...
* Optimize version queries and decrease some query complexity
* Run formatter
2021-08-20 16:33:09 -07:00
Geometrically
b1bc7c1fc2
Add fields to gallery items ( #234 )
2021-08-05 22:01:26 -07:00
Geometrically
76b62eda3a
Allow gallery featuring, add gallery images to search, rename rejection reasons, transfer ownership route ( #226 )
2021-07-27 16:50:07 -07:00
Geometrically
4922598aee
Add gallery item deletion + making them optional ( #224 )
2021-07-21 09:54:29 -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
Geometrically
2a4caa856e
More APIv2 Fixes ( #210 )
...
* Refactor search to not spam the database with queries, new utility routes for V2
* Run prepare
* More V2 Fixes
* Run prepare + formatter
2021-06-05 20:59:21 -07:00
Geometrically
16db28060c
Project Types, Code Cleanup, and Rename Mods -> Projects ( #192 )
...
* Initial work for modpacks and project types
* Code cleanup, fix some issues
* Username route getting, remove pointless tests
* Base validator types + fixes
* Fix strange IML generation
* Multiple hash requests for version files
* Fix docker build (hopefully)
* Legacy routes
* Finish validator architecture
* Update rust version in dockerfile
* Added caching and fixed typo (#203 )
* Added caching and fixed typo
* Fixed clippy error
* Removed log for cache
* Add final validators, fix how loaders are handled and add icons to tags
* Fix search module
* Fix parts of legacy API not working
Co-authored-by: Redblueflame <contact@redblueflame.com >
2021-05-30 15:02:07 -07:00