Wyatt Verchere
35cd277fcf
analytics ( #695 )
...
* playtime
* other routes, improvements
* fmt clippy
* revs
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-09-13 16:35:47 -07:00
Emma Alexia Triphora
e6818023a3
Allow moderators to edit version info ( #703 )
...
* Allow moderators to edit version info
* Clippy fix
2023-09-11 14:21:50 -04:00
Geometrically
d11f0e864e
gv loader cache bring back ( #677 )
...
* gv loader cache bring back
* run prep fmt
2023-08-08 10:14:49 -07:00
Geometrically
039d26feeb
Add launcher analytics ( #661 )
...
* Add more analytics
* finish hydra move
* Finish websocket flow
* add minecraft account flow
* Finish playtime vals + payout automation
2023-08-02 14:43:04 -07:00
Geometrically
4bb47d7e01
Finish authentication ( #659 )
2023-07-18 15:02:54 -07:00
Geometrically
ec80c2b9db
Next auth fixes ( #658 )
2023-07-14 22:55:00 -07:00
Geometrically
0d88ff8dae
Verify Email + Reset Password flows ( #654 )
...
* verifiers
* add missing emails
* fix gh perms
2023-07-12 20:40:24 -07:00
Geometrically
4bdf9bff3a
2FA + Add/Remove Auth Providers ( #652 )
...
* 2FA + Add/Remove Auth Providers
* fix fmt issue
2023-07-11 19:13:07 -07:00
Geometrically
7fbb8838e7
Scoped PATs ( #651 )
...
* Scoped PATs
* fix threads issues
* fix migration
2023-07-10 16:44:40 -07:00
Geometrically
6c0ad7fe1a
Sessions Route + Password Auth ( #649 )
...
* Sessions Route + Password Auth
* run prep + fix clippy
* changing passwords + logging in
* register login
2023-07-08 14:29:17 -07:00
Geometrically
239214ef92
Initial Auth Impl + More Caching ( #647 )
...
* Port redis to staging
* redis cache on staging
* add back legacy auth callback
* Begin work on new auth flows
* Finish all auth flows
* Finish base session authentication
* run prep + fix clippy
* make compilation work
2023-07-07 12:20:16 -07:00
Wyatt Verchere
fe25cd3bec
Minos push ( #589 ) ( #590 )
...
* Minos push (#589 )
* moving to other computer
* working redirection
* incomplete pat setup
* no more errors
* new migrations
* fixed bugs; added user check
* pats
* resized pats
* removed testing callback
* lowered kratos_id size
* metadata support
* google not working
* refactoring
* restructured github_id
* kratos-id optional, legacy accounts connect
* default picture
* merge mistake
* clippy
* sqlx-data.json
* env vars, clippy
* merge error
* scopes into an i64, name
* requested changes
* removed banning
* partial completion of github flow
* revision
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-05-31 16:03:08 -07:00
Geometrically
3a6b9f04f9
Fix reports creation ( #580 )
2023-04-21 11:10:57 -07:00
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
bb80505b76
Return pending TMs, fix notifs serde ( #575 )
...
* Return pending TMs, fix notifs serde
* fix compile
2023-04-18 14:16:41 -07:00
Geometrically
a560f6e9f6
Monetization status, additional files fix, deps fix ( #574 )
2023-04-16 20:03:53 -07:00
Geometrically
95ae981698
Overhaul notifs + threads fixes ( #573 )
...
* Overhaul notifs + threads fixes
* fix lang
2023-04-15 19:48:21 -07:00
Geometrically
969eb67217
Add replies, private notes, get many threads ( #572 )
...
* Add replies, private notes, get many threads
* register multiple route
* filter out moderators in threads
2023-04-13 15:04:08 -07:00
Geometrically
8f61e9876f
Add report + moderation messaging ( #567 )
...
* Add report + moderation messaging
* Add system messages
* address review comments
* Remove ds store
* Update messaging
* run prep
---------
Co-authored-by: Geometrically <geometrically@Jais-MacBook-Pro.local >
2023-04-12 17:59:43 -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
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
26533c47e7
Add loaders + game versions param to mods ( #528 )
2023-01-27 19:24:40 -07:00
Geometrically
7d195367a8
Bulk Editing + Random Projects Route ( #517 )
...
* Bulk Editing + Random Projects Route
* Run fmt + clippy + prepare
* Remove license_url
2023-01-04 19:23:47 -07:00
BasiqueEvangelist
161dee89ec
Add notification for project status updates ( #511 )
...
* Add notification for project status updates
* aaaaaa
* cargo sqlx prepare
* use friendly name of statuses
* Update src/models/projects.rs
Co-authored-by: triphora <emma@modrinth.com >
* only send notifications to accepted users
* only send notifications for people not on the team
* cargo sqlx prepare
* !=
* fully address pr comments
Co-authored-by: triphora <emma@modrinth.com >
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-12-30 14:40:00 -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
983e2df065
Miscellaneous improvements and removals ( #502 )
2022-12-23 15:19:15 -05:00
triphora
16d5a70c08
Add ordering to categories, gallery images, and team members ( #501 )
2022-12-23 14:34:04 -05:00
Geometrically
a5f9331023
Fix hashes not showing ( #496 )
...
* Fix hashes not showing
* Run prepare + fmt
2022-12-08 15:42:59 -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
c34e2ab3e1
Fix team member splits being set to 0 by default ( #490 )
2022-12-02 10:32:17 -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
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
1d391e68e5
Better ser/deser for payouts vals ( #474 )
2022-11-08 14:14:07 -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
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
wafflecoffee
b864791fa6
Limit 'superuser' status of current moderators ( #386 )
...
Resolves MOD-88
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-07-23 18:47:32 -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
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
Geometrically
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -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
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