Geometrically
df83fcc5b9
Optimizations ( #676 )
2023-08-07 23:05:08 -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
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
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
a560f6e9f6
Monetization status, additional files fix, deps fix ( #574 )
2023-04-16 20:03:53 -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
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
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
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
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
ee93d9b495
Sort version files and mods on user profile ( #432 )
...
* ???
* Moardering fixes
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-08-28 21:54:42 -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
134c43ad9e
Always return the username as fetched from the database ( #382 )
...
Co-authored-by: Patrick <cryne@gmx.de >
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-06-25 22:04:34 -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
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -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
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
Jai A
6104150b77
Fix users not being able to see their own unapproved mods
2021-03-11 10:32:47 -07:00
Geometrically
38802d3522
Fix primary files, file deletion, checks for mod following, fix user following route ( #175 )
2021-03-08 12:52:48 -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
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
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
2719ae5df2
Add API routes to request multiple of an item ( #70 )
...
* Change header name
* Add default bio value
* Remove default
* Make name null
* Run prepare
* Add new API Routes for requesting multiple of an item
* Run formatter
* Simplify get mods query
* Run prepare
* Refactor to use one query for most routes, change version create route to have mod_id in data
* More fixes
2020-10-05 14:25:32 -07:00
Geometrically
68ee2bdcdc
Fix another GitHub OAuth Bug, allow users to register with null names. ( #69 )
...
* Change header name
* Add default bio value
* Remove default
* Make name null
* Run prepare
2020-10-03 16:31:10 -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
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