aae126a3de
xmpp: Add support for setting reconnection policies
2022-05-30 16:26:34 +02:00
fc69261029
refactor: Move implies into moxlib
2022-05-13 14:01:05 +02:00
169457c9c9
test: Adapt to changes in [XmppManagerAttributes]
2022-05-07 23:48:51 +02:00
491c7e066e
test: Adapt to changed in moxdns
2022-05-07 23:46:21 +02:00
689e115559
meta: Use moxplatform for platform-specific tasks
2022-04-28 21:43:01 +02:00
a5be79b0d4
xmpp: Move the ping management out of [StreamManagementManager]
...
This allows the socket to say whether whitespace pings are allowed
and whether it manages its own keepalives or not.
2022-04-20 22:57:30 +02:00
e99e4ba540
test: Fix test naming
2022-04-20 20:52:51 +02:00
226e0bcba2
xmpp: Fix Issue with stream management (And null-operator on null)
...
As it turns out, there is a race-condition in sendStanza, if the
response is fast enough here. So the solution is to simply put
_awaitingResponse behind a mutex lock and turn code accessing it
into a critical section.
2022-04-20 18:33:12 +02:00
75fc24f79e
xmpp: Redact sending of SASL nonzas
2022-04-18 17:12:22 +02:00
96a251ec87
xmpp: Add a test for XEP-0363
2022-04-18 13:23:25 +02:00
96009c9037
style: Make tests fit naming convention
2022-04-18 13:01:07 +02:00
e2ba266e64
style: Remove unused variable
2022-04-18 13:00:34 +02:00
9f4762b388
test: Finally fix the roster tests
2022-04-18 12:59:44 +02:00
cc7acae24c
xmpp: Make JID parsing ignore whitespaces
2022-04-17 23:08:51 +02:00
112e23ba9a
xmpp: Use the xml package for putting the data together
2022-04-17 11:01:32 +02:00
e79a46fd83
ui: Implement a LRU cache
2022-04-13 19:10:09 +02:00
a58cec32db
xmpp: Allow disconnecting and detect socket closure
2022-04-12 18:13:58 +02:00
8556f61012
style: Fix a lot of linter warnings
2022-04-10 22:57:04 +02:00
ae545ce26d
ui: Implement a basic chat state indicator
2022-04-10 12:30:20 +02:00
8a518a8aa1
xmpp: Improve Stream Management by looking at Conversations
2022-04-09 19:47:33 +02:00
9320500b32
test: Fix tests not compiling
2022-04-06 14:49:27 +02:00
75811d7dee
service: Make [XmppState] and [PreferencesState] migratable
2022-04-06 14:46:08 +02:00
b08fe670bf
service: Move the xmpp service over to an [EventHandler]
2022-03-27 12:09:12 +02:00
7fcaca6491
service: Implement the [EventHandler]
2022-03-22 13:27:47 +01:00
66d04f9346
shared: Add an event handler
2022-03-21 13:07:51 +01:00
aeb17c824d
refactor: eventhandler -> awaitabledatasender
2022-03-21 12:42:24 +01:00
8993fa96fc
ui: Add the AwaitableDataSender
2022-03-21 12:37:10 +01:00
ae643e7009
xmpp: Rework the stanza handler
2022-03-11 21:39:42 +01:00
0f872908eb
service: Fix removing a roster item twice
2022-03-10 12:22:19 +01:00
e010d1321b
xmpp: Validate XEP-0368 against the expected domain
2022-03-09 18:00:13 +01:00
5b0073af1f
xmpp: Implement XEP-0198 resumption location
2022-03-09 11:02:19 +01:00
32cfb2a5b3
xmpp: Implement StartTLS
2022-03-08 21:50:21 +01:00
3664cb68ec
xmpp: Improve the Stream Management implementation
...
Give each stanza, by default, 10 seconds to be acked. This helps
in handling bursts during which we sent a lot of stanzas and the
acks start trickling in, which causes a lot of stanzas to be
uselessly retransmitted.
2022-03-06 12:02:18 +01:00
7ea4ad62e2
xmpp: Implement XEP-0004
2022-03-04 23:03:56 +01:00
be701a5e0f
xmpp: Begin writing a onBadCertificate function
2022-03-01 20:36:45 +01:00
91c5bfcf57
xmpp: Implement Message Carbons
2022-03-01 20:26:55 +01:00
430cb8ca24
xmpp: Possibly fix #4
2022-03-01 14:49:51 +01:00
c1b83b917d
ui: Implement a stubbed download button
2022-02-28 12:39:40 +01:00
c77b457c21
service: Unify thumbnail handling for SFS and SIMS
2022-02-27 22:12:05 +01:00
64e257b9f8
xmpp: Once again fix XEP-0198
2022-02-22 21:51:20 +01:00
0acabce757
xmpp: Fix roster pushes again
2022-02-22 21:21:31 +01:00
8c40acda96
xmpp: Fix the roster code
2022-02-22 16:25:12 +01:00
2cc5942ca4
xmpp: Make xep_0030.dart a bit cleaner
2022-02-17 12:41:45 +01:00
d0aca8d879
lint: Fix most linter warnings
2022-02-17 12:34:35 +01:00
0fa62f904a
meta: Add an UDP logger
2022-02-16 20:38:15 +01:00
0572226dd2
xmpp: Query-disco on presence
2022-02-16 13:02:36 +01:00
8bce32dcaf
test: The list must be 'mutable' as we sort it
2022-02-06 19:05:12 +01:00
e33b290d24
style: Fix linter issues
2022-02-06 18:48:59 +01:00
973982e55d
xmpp: Communicate stream closure from the buffer
2022-02-06 18:38:23 +01:00
023b8f3249
xmpp: Fix tests breaking because of moxdns
2022-02-06 14:35:38 +01:00