Geometrically
59f24df294
Add dependencies to search ( #578 )
...
* Add dependencies to search
* add attrs for faceting
* run prepare
* Add user data route from token
* update to 24hrs
* Fix report bugs
2023-04-20 16:38:30 -07:00
Geometrically
b91ec48178
Fix notification spam ( #565 )
2023-03-17 09:36:12 -07:00
triphora
3c2f144795
Perses finale ( #558 )
...
* Move v2 routes to v2 module
* Remove v1 routes and make it run
* Make config declaration consistent, add v3 module
* Readd API v1 msgs
* Fix imports
2023-03-16 11:56:04 -07:00
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
Geometrically
c15acc4ce3
Add API V1 flickers ( #541 )
...
Co-authored-by: triphora <emmaffle@modrinth.com >
2023-02-15 17:05:28 -05:00
Geometrically
b056610eaa
Version slugs ( #533 )
...
* Version slugs
* Get rid of new field, finish it up
2023-02-15 13:38:37 -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
triphora
1611049623
Fix query params giving plain text error ( #509 )
2023-01-05 17:14:39 -05: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
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
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
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
1e4d07a52c
Download counting ( #388 )
2022-07-01 19:31:37 -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
355689ed19
Replace ignore IP system with keys ( #368 )
2022-06-09 15:28:40 -07:00
Geometrically
75614fb13c
Move downloads to queue for better performance ( #367 )
2022-06-09 12:21:51 -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
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
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -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
9492363b22
Fix uploading ( #305 )
...
* Upgrade rust-s3 to fix tokio panics
* Run fmt
* Update deps
2022-02-20 20:16:32 -07:00
Geometrically
c0c80c0fdf
See if RateLimit is cors issue ( #303 )
2022-02-19 17:51:24 -07:00
ramidzkh
7c80b61666
Automatically generate updates.json for Forge mods ( #298 )
...
* Automatically generate updates.json for Forge mods
https://api.modrinth.com/updates/{id}/forge_updates.json serves a minimal update JSON for the Forge update checker
Closes #281
* Authenticate update JSON requests
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-02-19 13:09:09 -07:00
Geometrically
d128f3e14e
Send CORS wildcard, allow editing of non-accepted team members ( #299 )
2022-02-15 13:09:10 -07:00
Geometrically
4498b89ac4
Fix lax cors configuration ( #295 )
2022-02-12 19:57:00 -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
0cbc2001e2
Fix routing errors] ( #289 )
2022-02-06 16:35:52 -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
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
Redblueflame
efa8d5c575
Added monitoring, limited concurent connections ( #245 )
...
* reduced the default, and added environment override.
* Using parse is more stable and doesn't fail CI this time :P
* Added support for monitoring
This support is currently basic, but it can be improved later down the road.
* Forgot scheduler file
* Added health check
* Cargo fix
* Update cargo.lock to avoid action fails.
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2021-09-20 21:26:16 -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
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
BasiqueEvangelist
15c56dfcb8
Maven endpoint support ( #180 )
...
* Basic maven endpoint
* Clean up maven endpoint
* cargo sqlx prepare
* Minor cleanup
* Remove indentation
* Borrow &str instead of &String
* Refactor mod_data-getting
2021-03-29 10:36:55 +02:00
Jai A
853ead26ca
Register notification routes, add action method for notifications, and fix auto-featuring versions
2021-03-06 13:47:49 -07:00
Geometrically
109d7d87bd
Reports ( #165 )
...
* Reports WIP
* Finish reports
* Clippy fixes
Co-authored-by: Geometrically <geometrically@pop-os.localdomain >
2021-02-13 12:11:13 -07:00
AppleTheGolden
951a33fae9
Add Sentry integration
2021-01-27 14:38:18 +01: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
a40b9f4054
Fix clippy error (?)
2021-01-01 09:13:27 -07:00
Geometrically
b8d2ef1eb5
Fix SQLX errors
2020-12-31 19:09:23 -07:00
Geometrically
0efeffeaa3
Bump ratelimit to 200 RPM, allow specified IPs to have lax ratelimit restrictions, and allow wildcard for CORS
2020-12-31 18:54:58 -07:00
Geometrically
fd33ff81c9
Fix description cache
2020-12-29 21:49:01 -07:00
Geometrically
f0b73fd696
Change index interval, add slug to search documents ( #110 )
...
* Change index interval, add slug to search documents
* Allow the removal of '@' for slug get
* Fix
* Remove name and rename side type
* Run prepare
2020-12-13 18:10:58 -07:00
Geometrically
df5684a9f8
Fix access controls ( #109 )
...
* Fix access controls
* Remove CF indexing, fix some stuff
2020-12-02 10:24:20 -07:00
Aeledfyr
b3f724c799
Hotfix: fix version delete permissions and CORS allowed methods ( #107 )
2020-11-30 10:45:59 -07:00
Geometrically
a7be6504a2
Fix hash ( #106 )
...
* More mod info
* Downloading mods
* Run prepare
* User editing + icon editing
* Finish
* Some fixes
* Fix clippy errors
* Fix hash lookup
* Run prepare
* Run formatter
2020-11-29 14:27:40 -07:00