realaravinth
66226f893a
feat: implement email updates for sqlx postgres
2022-05-11 15:25:43 +05:30
realaravinth
58216f0f63
feat: define interface for updating email of a user
2022-05-11 15:25:25 +05:30
realaravinth
8861201727
feat: run linting and coverage CI runs on db-abstract branch
2022-05-11 13:34:11 +05:30
realaravinth
621e400ea8
feat: migrate email exists to use db_* interface
2022-05-11 13:33:30 +05:30
realaravinth
84671c4a11
feat: implement email exists for sqlx postgres
2022-05-11 13:33:30 +05:30
realaravinth
9595ea232b
feat: define interface for checking if user email exists
2022-05-11 13:33:30 +05:30
realaravinth
136439c97a
feat: add sqlx offline data generation
2022-05-11 13:33:30 +05:30
realaravinth
6ab6df02ed
fix: use db/db-migrations for DB migrations
2022-05-11 13:33:29 +05:30
realaravinth
af36961299
feat: implement postgres migrations
2022-05-11 13:33:29 +05:30
realaravinth
95e7a74559
feat: setup CI to use .env_sample and postgres URI
2022-05-11 13:33:29 +05:30
realaravinth
1cd4ce7318
feat: migrate username exists to use db_* interface
2022-05-11 13:33:29 +05:30
realaravinth
3a80281e86
feat: setup and run tests for sqlx postgres
2022-05-11 13:33:29 +05:30
realaravinth
79cc28bfd8
feat: implement username exists for postgres via sqlx
2022-05-11 13:33:29 +05:30
realaravinth
e244713ad7
feat: implement basic tests
2022-05-11 13:33:29 +05:30
realaravinth
454075a3d9
feat: define username exists endpoint
2022-05-11 13:33:29 +05:30
realaravinth
9e5b54a23d
feat: setup tests on db_* workspaces
2022-05-11 13:33:29 +05:30
realaravinth
5359795ddc
feat: enable CI for db-abstract
2022-05-11 13:33:29 +05:30
realaravinth
9f91854c4d
feat: migrate account deletion to use db_* interface
2022-05-11 13:33:29 +05:30
realaravinth
5dc818a1c1
feat: implemente delete account for postgres via sqlx
2022-05-11 13:33:29 +05:30
realaravinth
4bdbb52d8f
feat: define delete account db interface
2022-05-11 13:33:29 +05:30
realaravinth
4248959b13
feat: migrate user regisration to use db_*
2022-05-11 13:33:29 +05:30
realaravinth
26a0935e5f
feat: implement user registration for postgres via sqlx
2022-05-11 13:33:29 +05:30
realaravinth
8dde022851
feat: define interface for username registration"
2022-05-11 13:33:29 +05:30
realaravinth
43aac949e3
feat: convert db errors to service errors
2022-05-11 13:33:29 +05:30
realaravinth
f337721b25
feat: move health endpoint to use ping from db_*
2022-05-11 13:33:29 +05:30
realaravinth
79506a93b9
feat: load db_* db connection
2022-05-11 13:33:29 +05:30
realaravinth
1d8554cb36
chore: rust fmpt
2022-05-11 13:33:29 +05:30
realaravinth
b7a8716a82
feat: define checking routine
2022-05-11 13:33:29 +05:30
realaravinth
dba1f662a7
feat: init postgres implementation via sqlx
2022-05-11 13:33:29 +05:30
realaravinth
02abffd63a
feat: init and define database ops as interfaces to support multiple DBs
2022-05-11 13:33:29 +05:30
realaravinth
246dcfddb7
feat: mv db migrations to workspace
2022-05-11 13:33:29 +05:30
realaravinth
56225ae2e4
chore: actix-web updates: replace deprecated methods
2022-05-11 13:33:28 +05:30
realaravinth
6550266aef
feat: don't run cache busting routines during debug build
2022-05-11 13:33:28 +05:30
realaravinth
100fb4d5ab
feat: document .env
2022-05-11 13:33:28 +05:30
Aravinth Manivannan
8b7164635d
Merge pull request #26 from ChocoMilkWithoutSugar/master
...
Update README.md
2022-05-11 12:00:14 +05:30
Aravinth Manivannan
76230eed9e
Update README.md
...
Formatting default credentials
2022-05-11 06:28:06 +00:00
Luca
e2d126da30
Update README.md
...
add default credentials
2022-05-10 20:35:09 -03:00
realaravinth
2592b7a113
fix: use pre-built images in docker-compose
2022-05-10 22:33:26 +05:30
realaravinth
a00823544e
hotfix: run tests one at a time
...
SUMMARY
The test suite messy and inefficient in every imaginable way. It
creates a DB connection pool for every unit test and Postgres failed
with the following error:
code: "53300", message: "sorry, too many clients already
This hotfix runs tests via scripts/tests.sh, which executes one test
at a time.
Ideally, the connection pool must be shared across the whole test
suite but this requires a major refactor of the test suite and even
the app code. A refactor towards this is in progress in the
`db-abstract` branch, which I hope to complete within this week.
fixes #22
2022-05-09 11:33:28 +05:30
realaravinth
5160e210f3
chore: upgrade sailfish
2022-05-08 17:57:29 +05:30
realaravinth
87f09b6bfb
chore: migrate dart-sass to sass
2022-05-08 17:36:49 +05:30
realaravinth
91c6f77cab
chore: update actix-* deps
2022-05-07 16:10:14 +05:30
realaravinth
6d6b494c6f
feat: rm middleware mod and migrate codebase to use actix_auth_middleware
2022-05-07 12:30:00 +05:30
realaravinth
a668fafa62
feat: migrate v1 api mod to use actix_auth_middleware
2022-05-07 12:29:37 +05:30
realaravinth
b057e48d72
feat: migrate pages mod to use actix_auth_middleware
2022-05-07 12:29:02 +05:30
realaravinth
abe494b6e5
feat: upadte cache-busted
2022-05-07 12:28:37 +05:30
realaravinth
fdf94f1f06
feat: CI: run build every day at 0900
2022-05-06 17:14:09 +05:30
realaravinth
fc8a1670d2
update copyright notice
2022-01-08 22:16:05 +05:30
realaravinth
53e966958b
update sqlx offline compilation schema data
2021-12-18 21:04:35 +05:30
realaravinth
c46b3f4f4c
Implement easy edit view
...
When user tries to visit this view without an easy configuration
available, i.e, user had created the CAPTCHA using advance view and no
TrafficPattern is available in database, the user will be automatically
redirected to the advance edit page.
But the default edit link everywhere is to the easy edit view.
2021-12-18 21:01:19 +05:30