Masahiko AMANO H1K0
H1K0 pushed to master at H1K0-dev/tanabata 2025-10-10 01:37:33 +03:00
b774d2b3c9 style(backend): improve error handling
d124229308 fix(backend/infrastructure/persistence/postgres): some fixes on FileRepository methods
bf7a11076f fix(backend/infrastructure/persistence/postgres): add testing connection to db and improve error messages
Compare 3 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-10-09 01:46:35 +03:00
c7176fadf6 fix(backend/domain): fix typo in error code
bc4354bf7b refactor(backend/domain): get rid of pgx types
Compare 2 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-10-09 01:39:29 +03:00
00ab98072b feat(backend/repositories): add get tags by file method
H1K0 pushed to master at H1K0-dev/tanabata 2025-10-09 01:09:09 +03:00
c39d82fafd refactor(backend): switch to DDD
H1K0 pushed to master at H1K0-dev/tanabata 2025-10-08 20:21:06 +03:00
4e0fc431e2 refactor(backend/domain): rename domain.go -> entity.go
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-05 15:38:42 +03:00
7384751d6b fix(backend/storage/postgres): fix FileGetAccess function
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-05 14:51:39 +03:00
49952c62ef refactor(backend): change backend file structure
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-04 23:32:06 +03:00
057ba22b18 feat(backend/db): add function to get user's rights to a file
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-04 22:46:37 +03:00
35d41a46c0 fix(backend/db): fix error and status handling in some functions
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-04 02:32:56 +03:00
dbc34a8e0d feat(db): add recursive function to add tags to file including autotags
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-04 00:54:59 +03:00
912c7b80a3 feat(backend/db): add basic CRUD functions for files
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 20:19:54 +03:00
900770ff36 docs(erd): add can_create column to system.users
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 20:18:58 +03:00
7062cb630e feat(backend/models): add CanCreate attribute to user model
436f164ab9 feat(db): add can_create column to system.users
d9ca913620 refactor(backend/models): make file's Metadata not nullable
153020b9c7 refactor(db): make metadata in data.files not nullable
Compare 4 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 19:01:06 +03:00
effcd2c073 feat(db): add is_deleted column to data.files
78885b3656 docs(erd): add is_deleted column to data.files
Compare 2 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 18:55:48 +03:00
828d611f4d fix(backend/db): set status code 200 when no error in handleDBError
82bd446a85 feat(backend/models): add aggregated fields to full file, tag, pool models
24075e5a76 style(backend/models): change JSON names to camelCase
27184bf17a refactor(backend/models): separate core, item and full models
ec17dfb0ce feat(backend/db): add database error handler
Compare 7 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 16:17:08 +03:00
761babfa1a refactor(backend/models): use pgtype for nullable fields
59eacd6bc5 refactor(backend/db): remove ctx argument from transaction wrapper
5ac528be05 feat(backend/db): add util functions
Compare 3 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 03:00:15 +03:00
ad3c77b40e feat(backend/db): add transaction wrapper
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 02:53:54 +03:00
e807d61b05 init(backend/db): initialize db handler
429213f29c refactor(backend/models): objects.go -> models.go
ace4fa1c0a feat(backend/models): add pagination and slice
d543101054 init(backend/models): add objects models
Compare 4 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 02:27:04 +03:00
b1587f05cc refactor(db): rename schema access -> acl
9230b9a5dc docs(erd): rename schema access -> acl
Compare 2 commits »
H1K0 pushed to master at H1K0-dev/tanabata 2025-07-03 00:10:39 +03:00
be65d0623b init(backend): initialize backend