Commit Graph

237 Commits

Author SHA1 Message Date
msramalho
606e69587b config file is web only 2025-02-11 19:13:33 +00:00
msramalho
f24f88c44b version in config 2025-02-11 19:10:28 +00:00
msramalho
a9dd278d24 further worker/web separation and tests fixed 2025-02-11 18:18:49 +00:00
msramalho
b452ec9869 moving user_state out of shared 2025-02-10 23:51:35 +00:00
msramalho
1877999a70 WIP fixing tests 2025-02-10 23:49:18 +00:00
msramalho
37ebba73bf separate images, no more .env 2025-02-10 23:49:08 +00:00
msramalho
6f3d3427c8 pyevn annoyances 2025-02-10 23:47:38 +00:00
msramalho
c2dff5c121 refactors from pipenv to poetry 2025-02-10 22:39:02 +00:00
msramalho
f8c45e2d92 major refactor of structure for worker V web: docker/app/secrets/envs/... 2025-02-10 00:41:50 +00:00
msramalho
a1b730bad4 adds group permissions 2025-02-09 12:48:33 +00:00
msramalho
a374c0e662 fixing tests 2025-02-08 23:33:20 +00:00
msramalho
cdf9950988 updates interop endpoints 2025-02-08 23:33:10 +00:00
msramalho
937b69ffcc new schemas 2025-02-08 23:33:02 +00:00
msramalho
0d51e5cd65 implements expiration policy via store_until 2025-02-08 17:29:42 +00:00
msramalho
ad6dc4db43 bugs, worker cleanup 2025-02-08 15:20:27 +00:00
msramalho
a97333c4d6 drops /sheet/archive API token endpoint 2025-02-08 15:19:16 +00:00
msramalho
5494825286 minor docker comments 2025-02-08 15:18:15 +00:00
msramalho
9a62f3ff59 WIP decoupling worker/web, cleaning worker code 2025-02-08 00:40:35 +00:00
msramalho
46a5c1a260 WAL checkpoint at startup 2025-02-07 18:21:25 +00:00
msramalho
83ba9884f6 auto remove stale sheets and email users 2025-02-07 17:57:02 +00:00
msramalho
eccd71d168 implments cronjob to do the sheet archiving 2025-02-07 16:53:33 +00:00
msramalho
fed8543c30 fix /user/active tests 2025-02-06 20:40:40 +00:00
msramalho
9af48efe22 default group should actually exist 2025-02-06 20:26:32 +00:00
msramalho
90bcd44e0a default group needs to be considered explicitly 2025-02-06 20:11:58 +00:00
msramalho
6471b08a4b adds user schemas 2025-02-06 18:58:35 +00:00
msramalho
5344cc56e7 introduces group/global usage & permissions, validates in endpoints and tests endpoints 2025-02-06 18:41:12 +00:00
msramalho
2b8c48af1b introduces user.manually_trigger_sheet and implements quotas for sheets 2025-02-04 19:08:08 +00:00
msramalho
73968eafc4 adds final tests for endpoints.url 2025-02-04 16:31:24 +00:00
msramalho
a9aae77726 adds tests to url/archive endpoint 2025-02-04 16:18:36 +00:00
msramalho
809438fbb9 introduces user.read_public drops unused endpoints 2025-02-04 15:40:20 +00:00
msramalho
7f5211f0ca improves documentation 2025-02-04 14:13:58 +00:00
msramalho
8bd7e5e590 drops /groups endpoint, no longer used 2025-02-04 14:05:59 +00:00
msramalho
1e872e8225 deprecates user.active in favor of user.permissions 2025-02-04 14:01:39 +00:00
msramalho
370ebd0c8c sqlalchemy deprecation fixed 2025-02-03 12:33:29 +00:00
msramalho
9f8d7b31f3 refactors user-groups definition and fixes tests 2025-02-03 12:33:21 +00:00
msramalho
c737368f41 disable endpoint until we find whether it is used or not 2025-01-23 14:12:12 +00:00
msramalho
f8383bc6a3 method renaming 2025-01-22 13:59:44 +00:00
msramalho
9f9bbc9344 pushing bulk of changes 2025-01-22 13:21:16 +00:00
msramalho
2209b09a9a missing tests for security 2024-11-05 11:41:07 +00:00
msramalho
46a3cbc003 renames mics -> misc 2024-11-05 10:35:31 +00:00
msramalho
66dd35db0c renaming interop file 2024-11-05 10:34:12 +00:00
msramalho
59c1be597c introduces Sheet models and auth flow 2024-11-05 10:33:44 +00:00
msramalho
f1525ef85a Merge branch 'main' into dev 2024-11-04 12:15:22 +00:00
msramalho
10306eba8a refactors user-groups setup and auth logic 2024-10-31 14:52:14 +00:00
msramalho
c8e1d441a4 fixes uvicorn factory warning 2024-10-31 10:33:34 +00:00
msramalho
00e9df0ac3 adds custom encoder 2024-10-30 15:39:06 +00:00
msramalho
2a4c6444b0 fixes bad input for limit 2024-10-29 17:24:03 +00:00
msramalho
8c658cdf52 switching from optional response_model to mandatory return type 2024-10-29 16:17:40 +00:00
msramalho
aaada7d83f users in domains are active 2024-10-29 12:57:07 +00:00
msramalho
b771f57f35 all users are inactive unless in user-groups 2024-10-29 12:44:01 +00:00