P. Reis
|
e458608e38
|
refactor: rename createZapSplitsIfNotExists to seedZapSplits
|
2024-07-25 15:10:54 -03:00 |
|
P. Reis
|
882f8009dc
|
refactor: rename isNumberFrom1To100 to percentageSchema
|
2024-07-25 15:06:50 -03:00 |
|
P. Reis
|
f3d521356d
|
refactor: get rid of isObjectEmpty function
|
2024-07-25 14:52:52 -03:00 |
|
P. Reis
|
541b5b1c39
|
refactor: imports in alphabetical order
|
2024-07-25 14:52:03 -03:00 |
|
P. Reis
|
f94ae7606c
|
refactor: change zapSplitSchema to z.record())
|
2024-07-25 11:11:44 -03:00 |
|
P. Reis
|
85806f7ea8
|
refactor: use object fields instead of tuple in zapSplitSchema
|
2024-07-24 11:14:42 -03:00 |
|
P. Reis
|
961da0f52c
|
refactor: change error message in updateZapSplitsController & deleteZapSplitsController
|
2024-07-24 10:56:12 -03:00 |
|
P. Reis
|
ddd1972c83
|
refactor(app.ts): move cron function and startFirehose function to startup.ts
|
2024-07-24 10:55:30 -03:00 |
|
P. Reis
|
23bb24929c
|
refactor: remove zap split creation from instanceV1Controller endpoint
|
2024-07-24 10:54:56 -03:00 |
|
P. Reis
|
1698c1b19b
|
feat: create startup file
|
2024-07-24 10:54:20 -03:00 |
|
P. Reis
|
86874e3a08
|
feat: create createZapSplitsIfNotExists() function
|
2024-07-24 10:53:32 -03:00 |
|
P. Reis
|
0e43d1e8a7
|
refactor: add zap tag with new data structure
|
2024-07-23 22:40:38 -03:00 |
|
P. Reis
|
c49460e37d
|
refactor(instance.ts): use new zap_split data structure in ditto hard coded pubkey
|
2024-07-23 20:41:02 -03:00 |
|
P. Reis
|
75ad25ccac
|
test(zap-split): update to be in accord with new data structure
|
2024-07-23 20:39:51 -03:00 |
|
P. Reis
|
2ebaee8807
|
refactor: change DittoZapSplits data structure to use object fields instead of array
|
2024-07-23 20:39:23 -03:00 |
|
P. Reis
|
7cdfb67b99
|
refactor: rename officialDittoAccountPubkey to dittoPubkey & officialDittoAccountMsg to dittoMsg
|
2024-07-23 20:25:02 -03:00 |
|
P. Reis
|
a0c952b9b9
|
refactor: do not use isObjectEmpty function in if condition, zap tag
|
2024-07-23 20:15:44 -03:00 |
|
P. Reis
|
de32930c44
|
refactor: use exclamation mark (bang) instead of 'as string' cast
|
2024-07-23 18:26:06 -03:00 |
|
P. Reis
|
80e14c65c0
|
refactor: rename zap_split.ts to zap-split.ts, rename tests as well
|
2024-07-23 18:14:22 -03:00 |
|
P. Reis
|
5a5e8b7c5d
|
feat(createStatusController): add 'zap' tag to event
|
2024-07-21 20:11:26 -03:00 |
|
P. Reis
|
449a3497ba
|
feat: create deleteZapSplitsController
|
2024-07-21 19:40:55 -03:00 |
|
P. Reis
|
2e66af26db
|
feat: create updateZapSplitsController
|
2024-07-21 19:26:05 -03:00 |
|
P. Reis
|
2fe9b9f98d
|
feat: get zap splits and return it in api/v1/instance endpoint
|
2024-07-21 19:22:53 -03:00 |
|
P. Reis
|
1f9896bdbf
|
test: getZapSplits function return empty object
|
2024-07-19 19:30:31 -03:00 |
|
P. Reis
|
09eb444c9b
|
test: update so getZapSplits function returns undefined
|
2024-07-19 19:19:35 -03:00 |
|
P. Reis
|
beee0e76e7
|
refactor: allow to return undefined in getZapSplits function
|
2024-07-19 19:19:04 -03:00 |
|
P. Reis
|
3bc3e7675d
|
test: getZapSplits function
|
2024-07-19 17:36:12 -03:00 |
|
P. Reis
|
76a591ab6d
|
feat: create getZapSplits function
|
2024-07-19 17:20:31 -03:00 |
|
P. Reis
|
0c9e3e2b47
|
test(utils.ts): isObjectEmpty function
|
2024-07-19 16:27:10 -03:00 |
|
P. Reis
|
c17db58448
|
feat(utils.ts): create isObjectEmpty function
|
2024-07-19 16:26:50 -03:00 |
|
P. Reis
|
cc6441d239
|
refactor(utils.ts): remove unused imports
|
2024-07-19 15:22:35 -03:00 |
|
P. Reis
|
c2225da8dd
|
test(utls.ts): add more cases, isNumberFrom1To100 function
|
2024-07-19 13:34:45 -03:00 |
|
P. Reis
|
11809637ee
|
test(utils.ts): isNumberFrom1To100 function
|
2024-07-19 13:21:17 -03:00 |
|
P. Reis
|
dcec2ecdd0
|
feat: create isNumberFrom1To100 function
|
2024-07-19 13:19:04 -03:00 |
|
Alex Gleason
|
8c19c5ba09
|
Merge branch 'stable-sort' into 'main'
Sort events by id after created_at
See merge request soapbox-pub/ditto!429
|
2024-07-19 03:49:06 +00:00 |
|
Alex Gleason
|
8ec5feae13
|
Sort events by id after created_at
|
2024-07-18 22:48:11 -05:00 |
|
Alex Gleason
|
13f0d3f49e
|
Upgrade Nostrify to v0.26.2
|
2024-07-18 22:01:16 -05:00 |
|
Alex Gleason
|
7793db3e2c
|
Upgrade Nostrify to v0.26.1
|
2024-07-17 23:13:04 -05:00 |
|
Alex Gleason
|
b18d326f5d
|
Merge branch 'revert-bf9b816e' into 'main'
Revert "Merge branch 'tag-perf' into 'main'"
See merge request soapbox-pub/ditto!426
|
2024-07-18 04:11:50 +00:00 |
|
Alex Gleason
|
2d239fcaec
|
Revert "Merge branch 'tag-perf' into 'main'"
This reverts merge request !425
|
2024-07-18 04:11:04 +00:00 |
|
Alex Gleason
|
bf9b816e0b
|
Merge branch 'tag-perf' into 'main'
EventsDB: query tags by converting to ids filter
See merge request soapbox-pub/ditto!425
|
2024-07-18 03:33:03 +00:00 |
|
Alex Gleason
|
ff8d7ef9d4
|
EventsDB: normalizeFilters before expanding tag queries
|
2024-07-17 20:11:31 -05:00 |
|
Alex Gleason
|
0f5c28deeb
|
EventsDB: query tags by converting to ids filter
|
2024-07-17 19:58:12 -05:00 |
|
Alex Gleason
|
eebc3e5c61
|
Merge branch 'update-dependencies' into 'main'
chore: update dependencies
See merge request soapbox-pub/ditto!423
|
2024-07-16 19:29:23 +00:00 |
|
P. Reis
|
aec2cd3b9f
|
chore: update dependencies
|
2024-07-16 16:26:22 -03:00 |
|
Alex Gleason
|
d32cccd70e
|
Merge branch 'coverage-support' into 'main'
ci: add code coverage
See merge request soapbox-pub/ditto!421
|
2024-07-16 16:19:08 +00:00 |
|
Alex Gleason
|
00f09e1846
|
Merge branch 'use-postgres-js' into 'main'
replace kysely_deno_postgres with kysely-postgres-js
See merge request soapbox-pub/ditto!404
|
2024-07-16 14:27:46 +00:00 |
|
Alex Gleason
|
c2f578a2bb
|
DittoPostgres: handle pool not being opened yet
|
2024-07-16 09:26:49 -05:00 |
|
Alex Gleason
|
e208d7ef56
|
Merge remote-tracking branch 'origin/main' into use-postgres-js
|
2024-07-15 21:35:29 -05:00 |
|
Siddharth Singh
|
3aa8266bbe
|
use idle count to get avl connections
|
2024-07-16 07:44:55 +05:30 |
|