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
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
wafflecoffee
411b8e3cb6
Initial work on site moderation improvements ( #410 )
2022-08-02 23:31:56 -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
bf19f5b9c0
Fix auth URL condition again ( #378 )
2022-06-19 17:20:21 -07:00
Geometrically
08a879bbb1
Fix auth URL condition ( #377 )
2022-06-19 14:41:41 -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
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
Jai A
e7b41f9a4c
Urgent fixes
2022-05-15 12:05:44 -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
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
2dd1496ef4
Fix HTTPS requests not working in the image ( #259 )
2021-11-14 16:27:33 -07:00
Geometrically
c9c58b65a6
Optimize dependencies route and change return value ( #230 )
2021-07-31 19:23:06 -07:00
Geometrically
66becbc4cc
Fix dependencies route only showing one dependency per version ( #229 )
2021-07-28 11:34:47 -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
venashial
bc983162f3
Detect if redirect url contains a query string ( #225 )
2021-07-27 16:31:41 -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
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
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
Geometrically
da654fdff5
Add default bio value, to fix GitHub integration errors ( #68 )
...
* Change header name
* Add default bio value
* Remove default
2020-10-03 12:11:36 -07:00
Aeledfyr
c4fb7b7928
General cleanup: fix some bugs, some refactoring ( #65 )
...
* Merged mod file upload in version creation, mod creation and
version file add to one function; This makes sure that they are
consistent
* Made some fields on `User` optional: `github_id`, `avatar_url`, `bio`.
* We may not want to publicly show the `github_id` to everyone
with access to the API
* If we allow non-github users, some of those fields would be
invalid; some oauth providers may not have avatars or bios
* Made CORS origins should configurable
* Made `--reconfigure-indices` and `--reset-indices` exit after
completion instead of starting the server
2020-09-30 22:07:52 -07:00
Jai A
217311211a
Remove org read scope
2020-09-29 11:55:12 -07:00
Jai A
ca55890ad2
Make scopes safe for browser
2020-09-29 11:46:11 -07:00
Jai A
2e514735ec
User retrieval routes
2020-09-28 22:30:13 -07:00
Jai A
3d32c30d2d
Authenticate protected routes
2020-09-28 21:05:42 -07:00
Jai A
05235f8385
Implement users in API
2020-09-28 10:48:15 -07:00
Jai A
cd28a75c86
Authentication workflow complete, add database link
2020-09-27 22:49:38 -07:00
Jai A
34075738ea
Basic GitHub integration
2020-09-26 22:49:16 -07:00