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
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
75b7583832
Increase dependency limit ( #454 )
2022-09-21 21:27:02 -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
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
venashial
18d1bc56fd
Fix HTTP status code 200 -> 204 ( #394 )
2022-07-08 13:18:41 -07:00
Emma Cypress
16e7194dfe
Add Embedded dependency type ( #380 )
...
* Add Embedded dependency type
I couldn't find any SQL tables or anything for dependency types, so I'm going to assume there aren't any
* Make modpacks use Embedded instead of Required
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-06-25 19:16:46 -07:00
Geometrically
782bb11894
Secure auth route, fix quilt deps bug, optimize queries more ( #374 )
...
* Secure auth route, fix quilt deps bug, optimize queries more
* Add to_lowercase for multiple hashes functions
2022-06-17 16:56:28 -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
02bf5ada89
Increase file size limit ( #361 )
2022-05-30 16:29:23 -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
Emma C. Pointer-Null
7415b07586
Add more version creation data aliases ( #325 )
...
For consistency and also for making the OpenAPI spec a bit less janky
2022-03-24 19:58:07 -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
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
2badcfa546
Fix dependency updates and creating versions with no game versions/loaders ( #280 )
2022-01-24 11:27:39 -07:00
Geometrically
384e14b32d
Fix pack URL validation, Version file update route, and spaces in file download URLs ( #275 )
2022-01-09 15:35:01 -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
c87e72e08e
Switch to alternate query strategy which simplifies code ( #244 )
2021-09-01 06:04:38 -07:00
Geometrically
69928219a3
Fix project creation hash lookups failing ( #239 )
2021-08-25 23:18:44 -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
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
9ee92fb9e9
Project gallery, webhook fixes, remove cache, re-enable donation URLs ( #222 )
2021-07-19 11:30:39 -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
Geometrically
0ccb6cb873
Follows ( #172 )
...
* Follows initial
* Fix #171 , Fix #170 , Fix #169 , Fix #164
* More work on follows
* Fix compile error
* Upgrade meili version, add follows to search
2021-03-04 20:35:23 -07:00
Geometrically
06bb6f7bff
Dependencies, fix panic on version get, Filtered Versions route ( #153 )
2021-01-29 20:35:29 -07:00
Geometrically
174dbb5e74
Fix auth params, Add params to indexing, Order version game versions, Remove version moderation, Return donation platforms in get routes
2021-01-18 10:10:45 -07:00
Mikhail Oleynikov
fa35b2a66f
Fix #134
2021-01-15 16:13:08 +03:00
Geometrically
075b2df738
Fix lint failures
2021-01-14 12:23:39 -07:00
Geometrically
ec3c31a106
Move descriptions to database, switch to SHA-512 hashes, fix declining invites not working, allow user deletion, fix broken permission checks for many things, security fixes
2021-01-14 10:08:38 -07:00
Geometrically
1da5357df6
More mod info ( #104 )
...
* More mod info
* Downloading mods
* Run prepare
* User editing + icon editing
* Finish
* Some fixes
* Fix clippy errors
2020-11-27 10:57:04 -07:00
Geometrically
ef28459b61
Rate limiting + version fixes ( #90 )
...
* Rate limiting + version fixes
* Move patch to proper place
* More fixes
* Fix commit hash pin
2020-10-25 13:51:07 -07:00
Geometrically
b05b38b269
Add files to initial versions/mods ( #84 )
...
* Add files to initial versions/mods
* Remove useless code, fix actual problem
* Remove debug text
* Rename body to description
2020-10-19 22:08:47 -07:00