33 Commits

Author SHA1 Message Date
912c7b80a3 feat(backend/db): add basic CRUD functions for files 2025-07-04 00:37:06 +03:00
900770ff36 docs(erd): add can_create column to system.users 2025-07-03 20:19:45 +03:00
7062cb630e feat(backend/models): add CanCreate attribute to user model 2025-07-03 20:18:47 +03:00
436f164ab9 feat(db): add can_create column to system.users 2025-07-03 20:17:44 +03:00
d9ca913620 refactor(backend/models): make file's Metadata not nullable 2025-07-03 20:10:42 +03:00
153020b9c7 refactor(db): make metadata in data.files not nullable 2025-07-03 19:33:51 +03:00
effcd2c073 feat(db): add is_deleted column to data.files 2025-07-03 19:00:55 +03:00
78885b3656 docs(erd): add is_deleted column to data.files 2025-07-03 18:57:53 +03:00
828d611f4d fix(backend/db): set status code 200 when no error in handleDBError 2025-07-03 18:34:48 +03:00
82bd446a85 feat(backend/models): add aggregated fields to full file, tag, pool models 2025-07-03 18:23:46 +03:00
24075e5a76 style(backend/models): change JSON names to camelCase 2025-07-03 18:07:33 +03:00
27184bf17a refactor(backend/models): separate core, item and full models 2025-07-03 18:02:46 +03:00
ec17dfb0ce feat(backend/db): add database error handler 2025-07-03 17:31:17 +03:00
6e3328ca83 refactor(db): make metadata in data.files nullable 2025-07-03 16:19:34 +03:00
164ea9a6c8 feat(db): add uuid_extract_timestamp function 2025-07-03 16:18:44 +03:00
761babfa1a refactor(backend/models): use pgtype for nullable fields 2025-07-03 16:16:44 +03:00
59eacd6bc5 refactor(backend/db): remove ctx argument from transaction wrapper 2025-07-03 15:35:56 +03:00
5ac528be05 feat(backend/db): add util functions
`sortToSQL` and unimplemented `filterToSQL`
2025-07-03 14:55:30 +03:00
ad3c77b40e feat(backend/db): add transaction wrapper 2025-07-03 03:00:03 +03:00
e807d61b05 init(backend/db): initialize db handler 2025-07-03 02:53:06 +03:00
429213f29c refactor(backend/models): objects.go -> models.go 2025-07-03 02:52:59 +03:00
ace4fa1c0a feat(backend/models): add pagination and slice 2025-07-03 02:52:53 +03:00
d543101054 init(backend/models): add objects models 2025-07-03 02:52:28 +03:00
b1587f05cc refactor(db): rename schema access -> acl 2025-07-03 02:26:50 +03:00
9230b9a5dc docs(erd): rename schema access -> acl 2025-07-03 02:24:40 +03:00
be65d0623b init(backend): initialize backend 2025-07-03 00:10:25 +03:00
4221abe905 init(db): add database schema 2025-07-02 23:30:53 +03:00
a27ae7d4ab docs(erd): adjust sessions table schema for storing JWT whitelist 2025-07-02 23:25:34 +03:00
cc53b862e4 docs(erd): change column names in access schema
`read` -> `view`
`write` -> `edit`
2025-07-02 22:11:25 +03:00
49fc1537b7 docs(erd): remove created_at columns due to switching to UUID v7 2025-07-02 20:17:47 +03:00
1c013183f0 docs(erd): addsurrogate PK to mime table and change some ID types to numeric 2025-07-02 20:14:09 +03:00
e8084bdeb0 docs(erd): CRLF -> LF 2025-07-02 12:36:06 +03:00
6f7f38c9da docs(erd): add entity relationship diagram (ERD) 2025-07-01 23:58:13 +03:00