Commit Graph

37 Commits

Author SHA1 Message Date
Derrick Hammer 051cf59195
fix: need to update config management in db pkg 2024-02-22 03:30:40 -05:00
Derrick Hammer fc042570ab
refactor: change to store the hash as a raw, but also make it unique with an index 2024-02-17 23:17:26 -05:00
Derrick Hammer 11f30700c3
fix: use tx.Statement.Changed to ensure email is being changed before validating it 2024-02-17 09:00:44 -05:00
Derrick Hammer c076d219d0
refactor: move checking of users name to api layer 2024-02-17 08:45:06 -05:00
Derrick Hammer 593d8ea381
refactor: ensure key is unique 2024-02-14 00:13:28 -05:00
Derrick Hammer 9d25690d72
feat: add OTP to user model 2024-02-13 23:21:53 -05:00
Derrick Hammer 6f61f09ba4
refactor: move email validation to gorm 2024-02-13 19:41:00 -05:00
Derrick Hammer 302821d749
refactor: more refactoring of methods and move some validation to gorm 2024-02-13 19:36:23 -05:00
Derrick Hammer 75d9c7f46e
feat: add first and last name to user model 2024-02-13 19:06:04 -05:00
Derrick Hammer 2dc8fc56f5
refactor: epic refactor to use uber fx microframework/DI framework to manage dependency graph, remove the portal object, and remove the interfaces package 2024-01-28 02:20:59 -05:00
Derrick Hammer 00a58a3b98
feat: add mimetype column to tus_upload and upload 2024-01-25 18:58:56 -05:00
Derrick Hammer aab4bb4d69
refactor: add completed column to tus_upload 2024-01-22 17:48:32 -05:00
Derrick Hammer dd857650e0
fix: need create a compound index on hash and deleted at 2024-01-21 01:41:04 -05:00
Derrick Hammer b10798d71f
fix: update TusLock to use a compound unique index to work with soft deletes 2024-01-20 11:47:44 -05:00
Derrick Hammer 6a8936b9c9
feat: add initial tus db models 2024-01-19 15:49:41 -05:00
Derrick Hammer 5b6084986f
refactor: init doesn't need portal passed 2024-01-19 12:43:16 -05:00
Derrick Hammer 3be1042def
fix: add S5Challenge to AutoMigrate 2024-01-16 14:18:36 -05:00
Derrick Hammer 1bbedecad9
refactor: remove username from user 2024-01-16 13:28:33 -05:00
Derrick Hammer a62c6daa4a
feat: add S5 challenge model 2024-01-16 11:31:25 -05:00
Derrick Hammer c2075989fa
fix: need a Database and DatabaseService getter, and a getter on Database 2024-01-16 01:24:47 -05:00
Derrick Hammer 48f03c0f47
refactor: add Size field 2024-01-16 00:54:32 -05:00
Derrick Hammer 441e07f00e
refactor: rename ProtocolType 2024-01-16 00:53:39 -05:00
Derrick Hammer f986e3e483
refactor: uploads should not store the cid but just a hash 2024-01-16 00:52:55 -05:00
Derrick Hammer 4976874453
fix: ensure blocklist is singular 2024-01-16 00:11:12 -05:00
Derrick Hammer 86c80aefaa
fix: fix user relationship 2024-01-16 00:05:25 -05:00
Derrick Hammer d30d2f34b5
fix: correct db name setting 2024-01-16 00:00:54 -05:00
Derrick Hammer 82fe380b02
feat: initial database support and models 2024-01-15 20:58:20 -05:00
Derrick Hammer c7bce2ff23
refactor: Prune old code base to prepare for rewrite 2024-01-11 14:49:50 -05:00
Derrick Hammer cd2f63eb72
feat: initial dnslink support 2023-08-15 02:11:55 -04:00
Derrick Hammer 8d3f490c01
Merge remote-tracking branch 'origin/develop' into develop 2023-08-03 08:49:20 -04:00
Derrick Hammer 78ee15cf4b
fix: close db on shutdown 2023-08-03 08:48:49 -04:00
Derrick Hammer 5d15ca330a
fix(db): need to set charset, parseTime and loc in connection for mysql 2023-06-29 02:54:31 -04:00
Derrick Hammer 3005be6fec
feat: tus support 2023-05-15 12:36:00 -04:00
Derrick Hammer 13d1adb717
refactor: add upload and pin models to migration 2023-05-04 04:14:31 -04:00
Derrick Hammer 48164ec320
fix: register LoginSession model 2023-04-30 04:47:07 -04:00
Derrick Hammer 25c7d6d4fb
fix: use database.path over database.name 2023-04-30 02:15:57 -04:00
Derrick Hammer 9a4c3d5d13
feat: wip version 2023-04-29 13:40:43 -04:00