P. Reis
|
a18b049eb7
|
feat: make notifications great again
it works the same as before, but with way less code
|
2024-09-16 14:08:45 -03:00 |
|
P. Reis
|
8b5940298c
|
Merge branch 'main' into zap-notification-streaming
|
2024-09-16 09:18:40 -03:00 |
|
P. Reis
|
cbc1691002
|
feat: zap notification in streaming
|
2024-09-15 18:34:11 -03:00 |
|
P. Reis
|
dc69f21e0b
|
refactor: write map function in a cleaner way
|
2024-09-15 17:46:10 -03:00 |
|
P. Reis
|
c5711ea071
|
refactor(accountSearchController): only reassign events if event is undefined
|
2024-09-15 17:42:58 -03:00 |
|
P. Reis
|
ed74b2464a
|
refactor: write it like a normal if statement
|
2024-09-15 17:42:26 -03:00 |
|
P. Reis
|
3b8a800cd2
|
refactor(search enchance): map over pubkeys instead of events
|
2024-09-15 17:27:56 -03:00 |
|
P. Reis
|
f99ea7c33f
|
refactor(getPubkeysBySearch): cast as string
|
2024-09-13 18:57:47 -03:00 |
|
P. Reis
|
b3e56320a0
|
feat(accountSearchController): return accounts in autocomplete form
|
2024-09-13 18:41:20 -03:00 |
|
P. Reis
|
6387ee440c
|
feat: return multiple accounts in searchController
|
2024-09-13 16:36:01 -03:00 |
|
P. Reis
|
69c2158131
|
refactor: return ordered accounts by similarity relevance in searchEvents() function
|
2024-09-13 16:20:56 -03:00 |
|
P. Reis
|
935cc7c5a5
|
refactor: remove NIP-50 search if looking for accounts, use same filter
|
2024-09-13 14:33:34 -03:00 |
|
P. Reis
|
a6f1098bc6
|
test: getPubkeysBySearch() function
|
2024-09-13 10:32:05 -03:00 |
|
P. Reis
|
c03ea07dcb
|
feat: create getPubkeysBySearch() function and use it inside searchEvents() function
|
2024-09-13 10:27:12 -03:00 |
|
Alex Gleason
|
f7ee59146e
|
Clean up config
|
2024-09-11 18:30:23 -05:00 |
|
Alex Gleason
|
ebc0250d81
|
DittoDB.getInstance() -> Storages.kysely()
|
2024-09-11 13:23:06 -05:00 |
|
Alex Gleason
|
d2fb3fd253
|
Make EventsDB not rely on Conf
|
2024-09-11 13:06:20 -05:00 |
|
Alex Gleason
|
f3ae200833
|
Simplify database interfaces, make tests use pglite
|
2024-09-11 11:48:58 -05:00 |
|
Alex Gleason
|
dc8d09a9da
|
Remove SQLite support
|
2024-09-11 11:08:33 -05:00 |
|
Alex Gleason
|
2309fd72d1
|
Don't limit statuses to kind 1
|
2024-09-08 09:05:23 -05:00 |
|
Alex Gleason
|
99a25e1e18
|
media: fix setting description
|
2024-09-07 10:32:14 -05:00 |
|
Alex Gleason
|
8efd6fbb20
|
Remove unattached_media table, replace with LRUCache, fix media upload order problem
|
2024-09-07 10:24:56 -05:00 |
|
Alex Gleason
|
ddba16551a
|
Fix rendering mentions inside of URLs
|
2024-09-07 09:41:43 -05:00 |
|
Alex Gleason
|
1a98049ee8
|
Merge branch 'prom-metrics-best' into 'main'
Update Prometheus metrics to conform to best practices
See merge request soapbox-pub/ditto!478
|
2024-09-07 14:15:07 +00:00 |
|
Alex Gleason
|
4a578528f5
|
Add back pool size gauge
|
2024-09-07 09:00:18 -05:00 |
|
Alex Gleason
|
5454942a2c
|
Update Prometheus metrics to conform to best practices
|
2024-09-07 08:52:02 -05:00 |
|
P. Reis
|
a8900b3217
|
fix(zap notification): put kind 9735 in the first filter
|
2024-09-05 18:43:02 -03:00 |
|
Alex Gleason
|
4373a1eea9
|
Merge branch 'zap-notification' into 'main'
Implement zap notifications + Fix notification pagination
Closes #193
See merge request soapbox-pub/ditto!474
|
2024-09-05 20:14:54 +00:00 |
|
P. Reis
|
486dff83b9
|
fix: pass parameters params in ditto:zap notification
|
2024-09-03 22:24:01 -03:00 |
|
Alex Gleason
|
7c319c6ff0
|
streaming: don't notify self of own post
|
2024-09-03 00:58:35 +02:00 |
|
P. Reis
|
8e8f8767b4
|
Merge branch 'main' into zap-notification
|
2024-09-02 09:54:45 -03:00 |
|
P. Reis
|
729471d692
|
feat(notifications api): implement zap notification
calls database for zap events
|
2024-09-02 09:53:42 -03:00 |
|
Alex Gleason
|
b909f4e355
|
Merge branch 'store-alt-text' into 'main'
Store alt text along with other imeta, and render it when requested
Closes #172
See merge request soapbox-pub/ditto!464
|
2024-09-01 20:10:31 +00:00 |
|
P. Reis
|
7d9f874cdf
|
feat: implement fifth parameter in zap tag
|
2024-08-27 17:52:51 -03:00 |
|
Siddharth Singh
|
1a38061b34
|
mediaDescriptionUpdateSchema --> mediaUpdateSchema
|
2024-08-25 19:48:04 +05:30 |
|
Siddharth Singh
|
7e711aa8a8
|
updateMediaDescriptionController --> updateMediaController
|
2024-08-25 19:43:28 +05:30 |
|
Siddharth Singh
|
1f04a7fcdf
|
remove debug console.logs
|
2024-08-25 17:20:25 +05:30 |
|
Siddharth Singh
|
6ff90d63bb
|
implement PUT /api/v1/media/:id
Adds support for setting image descriptions for accessibility reasons
|
2024-08-25 16:23:25 +05:30 |
|
Alex Gleason
|
4db8b2d4fb
|
Throw when creating a replaceable event that doesn't exist yet
|
2024-08-15 18:10:42 -05:00 |
|
Alex Gleason
|
1feeaf7b1e
|
Put zap splits behind a feature flag, disabled by default
|
2024-08-14 22:05:17 -05:00 |
|
Alex Gleason
|
1a69df1cd7
|
Add timeout message to the relay
|
2024-08-12 23:04:12 -05:00 |
|
Alex Gleason
|
552de01a17
|
Rework DittoDB to return an object
|
2024-08-11 19:02:27 -05:00 |
|
Alex Gleason
|
66cfba5535
|
Remove leading @ from params.acct
|
2024-08-10 09:58:25 -05:00 |
|
Alex Gleason
|
4bf3096454
|
errorHandler: don't log timeouts
|
2024-08-09 13:31:36 -05:00 |
|
Alex Gleason
|
2f2fda2ac3
|
Render OG data on every page
|
2024-08-07 21:06:51 -05:00 |
|
Alex Gleason
|
ba241f0431
|
Rework opengraph
|
2024-08-07 20:47:53 -05:00 |
|
Alex Gleason
|
72970bf480
|
Code style changes
|
2024-08-07 19:01:50 -05:00 |
|
Alex Gleason
|
349f59cc70
|
Merge remote-tracking branch 'origin/main' into opengraph-metadata
|
2024-08-07 18:19:13 -05:00 |
|
Alex Gleason
|
e264d6116c
|
Merge branch 'search-fixes' into 'main'
search: parse bech32 ids from pasted URLs, improve Mastodon API compat
See merge request soapbox-pub/ditto!450
|
2024-08-07 23:11:20 +00:00 |
|
Alex Gleason
|
a24c119c7b
|
accountSearchController: actually use the looked up event, whoops
|
2024-08-07 16:56:15 -05:00 |
|