Sébastien Blin
b800012c57
proxyserver: add topic to msgpack
2022-09-08 11:15:28 -04:00
Sébastien Blin
ebeff20215
dht_proxy_server: fix permanent put
...
When a second permanent put request was received, we didn't call
async_wait after changing the expiration, causing push to not be
sent the second day and presence to expire on some devices after
~3 days.
2022-09-07 16:47:37 -04:00
kkostiuk
0f8d891476
iOS: drop support for voip notifications
2022-07-25 15:26:57 -04:00
Adrien Béraud
577f2a0645
proxy server: allow to configure address to bind
2022-07-05 19:32:29 -04:00
Adrien Béraud
293662a710
proxyserver: cleanup, avoid ref-to-temporary
2022-07-05 12:16:41 -04:00
kkostiuk
ead21d24a0
proxyserver: add application bundle id option
2022-07-04 18:17:12 -04:00
Adrien Béraud
633a03d76a
ios: support multiple notification types
...
- VOIP notifications for iOS < 14.5
- alert and background notifications for iOS >= 14.5
2022-06-30 15:44:16 -04:00
Adrien Béraud
f9b2285593
use string view literals where relevant
2022-03-29 14:47:01 -04:00
Adrien Béraud
9c2268fa41
fix various cppcheck warnings/errors
2022-03-29 10:15:00 -04:00
Adrien Béraud
21a71b1559
proxy server: support c++17
2022-03-23 13:35:30 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Sébastien Blin
2a50f85a30
proxy_server: set expiration for iOS devices
2021-09-10 10:21:31 -04:00
Sébastien Blin
04a78445c6
dht_proxy_server: increase ttl for push to 24 hours
...
If the android device is offline during more than 10 minutes, it
can misses push notifications and cause an incorrect state with
values not expired even if the re-subscribe is correct.
2021-09-10 10:21:31 -04:00
Adrien Béraud
0c00544798
remove embedded argon2, HTTP_PARSER_FORK
2021-06-09 13:57:10 -04:00
Sébastien Blin
ad549098f8
proxyServer: use lockListener_ to protect pushListeners_
2021-05-25 16:05:03 -04:00
Adrien Béraud
2195c0ed3e
proxy server: allow build without push notification support
2020-05-24 14:11:13 -04:00
Adrien Béraud
1b7e0679d5
proxy server: check push token when loading state
2020-05-24 02:04:45 -04:00
Sébastien Blin
9292c1116c
proxy: count permanent put values by hash in stats
2020-05-24 01:25:31 -04:00
Adrien Béraud
e3cd2a9d02
proxy server: add missing listener type
2020-05-19 19:52:51 -04:00
Adrien Béraud
19ccc3a327
proxy server: restart timers on resubscribe
2020-05-19 19:50:20 -04:00
Adrien Béraud
a27815b4a9
proxy server: persist ops on disk
2020-05-19 19:50:20 -04:00
Adrien Béraud
5daaf372b4
proxyserver: generate id before put
2020-05-11 12:31:07 -04:00
Adrien Béraud
1c536cbf5e
permanent put: set clientId
2020-02-09 10:34:42 -05:00
Adrien Béraud
859d8dc9cf
proxy server: check clientId for merging put
2020-02-07 00:21:13 -05:00
Sébastien Blin
1a67140463
proxyserver: enable keep alive packets
2020-02-06 14:15:47 -05:00
Adrien Béraud
9ae3d3c4d4
proxy: move info if possible
2020-02-05 14:25:03 -05:00
Sébastien Blin
5cfcf4861d
proxyserver: set permanent put pushToken
2020-01-28 16:27:20 -05:00
Adrien Béraud
7791163d49
proxy: receive values in blocks
2020-01-22 16:02:26 -05:00
Adrien Béraud
56db1bba19
proxy server: merge identical put requests
2020-01-22 15:56:48 -05:00
Adrien Béraud
fc95c85983
proxy server: send values in batches
2020-01-22 13:15:37 -05:00
Adrien Béraud
5af0f0c3d0
proxy server: flush response after all values are sent
2020-01-19 14:32:57 -05:00
Adrien Béraud
ec8beec427
proxy server: update stats on startup
2020-01-19 14:32:57 -05:00
Adrien Béraud
7b8ebbc54d
proxy server: catch more exceptions, cleanup
2020-01-19 14:32:57 -05:00
Adrien Béraud
052ed1f58c
proxy server: handlePrintStats on startup
2020-01-18 22:20:01 -05:00
Adrien Béraud
7f1d960a56
dhtrunner: add async/non-blocking version of getNodeInfo
2020-01-16 13:24:37 -05:00
Adrien Béraud
10d48137a9
proxy server: update stats on node info
2020-01-15 17:04:12 -05:00
Adrien Béraud
5b15fdeeef
proxy server: use shared_ptr for stats, remove statsMutex_
2020-01-15 13:54:24 -05:00
Adrien Béraud
0864ac9a39
proxy server: handle put session id provided after first request
2020-01-10 12:26:57 -05:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
dea4b202bf
proxy server: make json type explicit
2020-01-03 15:10:22 -05:00
Adrien Béraud
dc2f354652
proxy: use timestamps to handle reordered notifications
2020-01-03 14:47:22 -05:00
Adrien Béraud
99890fca64
proxy server: update sessionId when necessary
2019-12-19 14:20:03 -05:00
Adrien Béraud
5438d50578
proxy: add session token
2019-12-16 16:37:07 -05:00
Adrien Béraud
1f672773ba
proxy server: respect value priority for push notifications
2019-12-14 13:02:07 -05:00
Adrien Béraud
374fdd6cc9
proxy: send normal priority push message for value expiration
2019-12-14 13:02:07 -05:00
Adrien Béraud
c10aa32596
cpp: include config.h when necessary
2019-12-12 14:51:59 -05:00
Adrien Béraud
ed6df8869c
proxy: don't use keep-alive by default
2019-12-07 22:22:37 -05:00
Adrien Béraud
dd3c789916
proxy server: 0-initialize fields
2019-12-07 16:23:08 -05:00
Adrien Béraud
620ba2a89b
proxy server: fix warning
2019-12-01 21:01:42 -05:00
Adrien Béraud
d1598380db
proxy server: fix build without push notifications
2019-12-01 21:00:27 -05:00