Derrick Hammer
|
944cb868b5
|
refactor: increase decimal to 30,20
|
2024-03-11 07:57:09 -04:00 |
Derrick Hammer
|
0d9d7d4d98
|
refactor: store to 20 decimal places
|
2024-03-11 07:54:52 -04:00 |
Derrick Hammer
|
973c40afb4
|
refactor: switch to using decimals in db, a fork of the siacentral api to return decimals, strings for currency settings, and rats to do big number math safety
|
2024-03-11 07:51:48 -04:00 |
Derrick Hammer
|
5687e72a32
|
refactor: change SCPriceHistory table name
|
2024-03-10 13:58:45 -04:00 |
Derrick Hammer
|
dd296bd78a
|
feat: add initial price tracker
|
2024-03-10 12:43:18 -04:00 |
Derrick Hammer
|
2e9694149b
|
fix: wrong tag option for unique index
|
2024-03-02 06:19:31 -05:00 |
Derrick Hammer
|
a28bd6b11e
|
refactor: add db index on bucket/key
|
2024-03-01 20:44:55 -05:00 |
Derrick Hammer
|
454deeae21
|
refactor: change renter UploadObjectMultipart to use a db table like we do with s3 to track multipart uploads persistently and generically so we can resume later
|
2024-03-01 20:42:42 -05:00 |
Derrick Hammer
|
754ab390f0
|
refactor: add build tag to s5 specific tables
|
2024-02-28 21:24:06 -05:00 |
Derrick Hammer
|
bb167ea360
|
refactor: use a dynamic model registration process so we can use build tags to exclude/include
|
2024-02-28 21:20:05 -05:00 |
Derrick Hammer
|
b030de9714
|
feat: add generic s3 upload tracking
|
2024-02-28 11:36:53 -05:00 |
Derrick Hammer
|
b2325eb9af
|
refactor: keep filename singular
|
2024-02-28 11:17:31 -05:00 |
Derrick Hammer
|
1be4fb47fc
|
feat: add password reset, account verification models, and a verified field to users
|
2024-02-26 07:47:05 -05:00 |
Derrick Hammer
|
38375d44d8
|
feat: initial DNS link support
|
2024-02-25 09:47:40 -05:00 |
Derrick Hammer
|
fb8dfb2fa2
|
fix: dont log ErrRecordNotFound messages
|
2024-02-24 08:44:34 -05:00 |
Derrick Hammer
|
f6f9a7f97a
|
feat: add custom logger wrapper to use zap logger for database
|
2024-02-24 08:41:40 -05:00 |
Derrick Hammer
|
b5b0ed64b6
|
feat: add database cache support with both memory and redis modes
|
2024-02-24 08:19:27 -05:00 |
Derrick Hammer
|
10060f0245
|
fix: port in dsn is a number
|
2024-02-22 03:32:47 -05:00 |
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 |