24 Commits

Author SHA1 Message Date
FrenchGithubUser
ae614b3ce2 more foundations for the new tracker and changed user id to i32 (rust)
and INT (sql)
2025-10-07 21:08:18 +02:00
FrenchGithubUser
ab8c3f3bd1 base project for arcadia's new tracker 2025-10-07 12:38:52 +02:00
simp4t7
1366b7b7a7 Update dockerfile (#330)
* working cargo chef, a lot of changes...

* working on dockerfile refactor

* done with dockerfile, need to change docs

* done with dockerfile

* revert workspace and .env files

* update patch path

* fix vendor path in dockerfile
2025-09-02 09:02:33 +00:00
Pavlos Polianidis
560b3c7fac Refactor/workspace (#321) 2025-08-23 13:01:24 +00:00
FrenchGithubUser
639ce44d5d moved files into backend/ 2025-04-15 21:03:38 +02:00
diceypotato
29d1a11bf8 env: rename .env to .env.example and discontinue use of .env.local
Make consistent use of a single .env file as housing runtime parameters
for Arcadia.

While we're here, drop the unmaintained `dotenv` and prefer the
maintained `dotenvy`, which was already in the dependency tree and is
actively maintained.

Note that existing users will likely need to rename their `.env.local`
file to `.env` in order to continue working.
2025-04-14 14:11:47 -05:00
FrenchGithubUser
be307c8d2f register routes in swagger 2025-04-14 15:11:01 +02:00
FrenchGithubUser
eb193670dc save dottorrent file to disk, added route to download dottorrent file 2025-04-13 14:56:40 +02:00
FrenchGithubUser
2396dbca42 feature: added utoipa api swagger for auth routes 2025-04-10 12:33:59 +02:00
diceypotato
3713bddf1f repos: rework error management
First step in reworking error handling, this creates a top-level Error
type and matching Result type, the intent is to simplify code by
allowing easier short-circuiting, and to map to various status codes in
the handler layer (to come later).

While we're add it, add the infra necessary to properly log.
2025-04-04 11:00:27 -05:00
FrenchGithubUser
9d153ab083 all primary keys are now SQL BIGSERIAL and rust i64 2025-04-04 13:53:00 +02:00
diceypotato
9c8510e299 sqlx: prefer sqlx::query! and sqlx::query_as! for static checking
The macros will use the schema to do compile-time checking, prefer them.

This also means fixing up nullability mismatches and making use of
of the postgres inet type.

Note that this doesn't convert all uses, it's just a start.  More
conversions can come later.
2025-04-03 11:13:59 -05:00
diceypotato
8ee5c22241 test: add infra for integration testing and implement tests for auth
Add some infrastructure for testing, and fix some things found when
implementing the first tests for auth.
2025-04-03 09:07:46 -05:00
FrenchGithubUser
18f35c5f72 added cors and small improvements 2025-03-29 20:56:43 +01:00
FrenchGithubUser
05af4d9032 open_library autofiller 2025-03-28 16:42:47 +01:00
FrenchGithubUser
d8f9707693 added title group search endpoint and refactor 2025-03-20 20:43:28 +01:00
FrenchGithubUser
30eec9fd1d updated master_group use 2025-03-19 21:04:01 +01:00
FrenchGithubUser
d42330281f torrent/title group/edition group/master group uploading 2025-03-15 18:43:42 +01:00
FrenchGithubUser
8717d89cc9 proper invitation mechanism, added open signups possibility 2025-03-14 12:32:06 +01:00
FrenchGithubUser
42abf2e28e fixed db stuff, added user provider 2025-03-13 22:08:01 +01:00
FrenchGithubUser
f076aa9f0a registration fixes 2025-03-13 17:22:45 +01:00
FrenchGithubUser
d23421b0f2 registering works 2025-03-13 15:17:03 +01:00
FrenchGithubUser
ebfc4073ad setup folder structure and sqlx 2025-03-12 23:15:07 +01:00
FrenchGithubUser
c7dc1da597 actix setup 2025-03-12 21:26:54 +01:00