binwiederhier
2716ede6e1
Extract message cache into message/ package with model/ types
...
Move message cache from server/message_cache.go into a dedicated
message/ package with Store interface, SQLite and PostgreSQL
implementations. Extract shared types into model/ package.
2026-02-18 20:22:44 -05:00
binwiederhier
22f48c5ad3
Change mod path
2023-11-16 20:54:58 -05:00
binwiederhier
625b13280f
WIP: Access API
2023-05-13 14:39:31 -04:00
binwiederhier
c997e4911a
Fix test and retry
2023-05-02 14:16:59 -04:00
Rahul Tyagi
d2fa768151
fix: removes an issue with topic.Subscribe function not checking duplicate ID
2023-05-02 21:40:27 +05:30
binwiederhier
6f4b260035
Tiny changes
2023-03-04 09:32:29 -05:00
binwiederhier
346d8d7967
Works
2023-03-03 22:22:07 -05:00
binwiederhier
4d22ccc7f6
WIP Reject 507s after a while
2023-02-28 22:25:13 -05:00
binwiederhier
0967414f79
Bump version, add more details to rate_visitor logs
2023-02-25 21:09:10 -05:00
binwiederhier
8215b66db3
Logging improvements, etc.
2023-02-25 20:23:22 -05:00
binwiederhier
2329695a47
Polishing
2023-02-23 20:46:53 -05:00
binwiederhier
8eae44ea61
Topic expiry attempt
2023-02-23 16:03:40 -05:00
binwiederhier
0c3d832c5f
More todos
2023-02-23 09:38:53 -05:00
binwiederhier
bdeec4d297
Polish a little
2023-02-22 22:26:43 -05:00
binwiederhier
21b27b5dbe
Working test
2023-02-22 21:33:18 -05:00
binwiederhier
29340e7e24
Add test, fails
2023-02-22 21:00:56 -05:00
Karmanyaah Malhotra
0e4044b747
rename lastVisitor to vRate
2023-02-21 20:18:04 -06:00
Karmanyaah Malhotra
bc3d897d7a
Use mutexes in topic
2023-02-21 20:16:03 -06:00
Karmanyaah Malhotra
1655f584f9
rate limiting impl 2.0?
2023-02-21 20:04:56 -06:00
Karmanyaah Malhotra
28b654ae27
Keep track of lastVisitor to a topic
2023-02-14 13:58:13 -06:00
Karmanyaah Malhotra
d686e1ee77
Use visitor instead of UserID in topicSubscription
2023-02-14 13:07:32 -06:00
binwiederhier
e6bb5f484c
Self-review, round 2
2023-02-09 15:24:12 -05:00
binwiederhier
bf96d21d67
Add more logs
2023-02-07 22:45:55 -05:00
binwiederhier
a6641980c2
WIP: Logging
2023-02-03 22:21:50 -05:00
binwiederhier
eecd689ad5
Fix sync display name and delete after issue
2023-01-24 15:05:19 -05:00
binwiederhier
bce71cb196
Kill existing subscribers when topic is reserved
2023-01-23 14:05:41 -05:00
Philipp Heckel
9cee8ab888
Call subscriber funtions in individual goroutines
2022-06-22 13:52:49 -04:00
Philipp Heckel
c1f7bed8d1
Fix tests, lock topic as short as possible
2022-06-21 19:45:23 -04:00
Philipp Heckel
7845eb0124
So much logging
2022-06-01 23:24:44 -04:00
Philipp Heckel
ab955d4d1c
Logging
2022-06-01 16:57:35 -04:00
Philipp Heckel
8283b6be97
Firebase quota limit
2022-05-31 20:38:56 -04:00
Philipp Heckel
98c1ab9e86
Finish cache tests
2021-12-08 22:57:31 -05:00
Philipp Heckel
c0ee174b13
Make publishing asynchronous
2021-11-09 14:48:25 -05:00
Philipp Heckel
7b810acfb5
SQLite cache
2021-11-02 21:09:49 -04:00
Philipp Heckel
67922b0ae5
Cache
2021-11-02 14:08:21 -04:00
Philipp Heckel
b145e693a5
Add firebase support
2021-10-29 13:58:14 -04:00
Philipp Heckel
a38aca47bd
Subscribe endpoint consolidation; same behavior for all endpoints; keepalive
2021-10-27 14:56:17 -04:00
Philipp Heckel
23cf77e0b7
Rate limiting, docs
2021-10-23 22:49:50 -04:00
Philipp Heckel
e1c9fef6dc
Makefile, Dockerfile, GoReleaser, config.yml, systemd service
2021-10-23 21:29:45 -04:00
Philipp Heckel
a66bd6dad7
Remove websockets, readme, better UI
2021-10-23 15:22:17 -04:00
Philipp Heckel
5c2b6d18ec
Works mostly
2021-10-22 21:26:01 -04:00