Mads Marquart
|
8c367af0ff
|
Fix Python 2.7 errors
|
2020-01-05 20:52:50 +01:00 |
|
Mads Marquart
|
e1c5e5e417
|
Merge pull request #492 from OneBlue/mark-as-read-timestamp
Add a optional timestamp parameter to mark_as_read and mark_as_unread
|
2020-01-05 20:51:40 +01:00 |
|
Mads Marquart
|
bc1e3edf17
|
Small fixes
Handle more errors, and fix Client.stopListening
|
2020-01-05 20:29:44 +01:00 |
|
Mads Marquart
|
e488f4a7da
|
Fix typing status parsing
Co-authored-by: Tulir Asokan <tulir@maunium.net>
|
2020-01-05 19:57:53 +01:00 |
|
Mads Marquart
|
afad38d8e1
|
Fix chat timestamp parsing
|
2020-01-05 19:57:53 +01:00 |
|
Mads Marquart
|
e9804d4184
|
Fix message parsing
|
2020-01-05 19:57:53 +01:00 |
|
Mads Marquart
|
a1b80a7abb
|
Replace pull channel with MQTT setup
|
2020-01-05 19:57:53 +01:00 |
|
Mads Marquart
|
803bfa7084
|
Add proper MQTT error handling
|
2020-01-05 19:57:53 +01:00 |
|
Mads Marquart
|
d1cb866b44
|
Refactor MQTT listening
|
2020-01-05 19:57:52 +01:00 |
|
Mads Marquart
|
a298e0cf16
|
Refactor MQTT to do proper reconnecting
|
2020-01-05 14:56:01 +01:00 |
|
Mads Marquart
|
766b0125fb
|
Refactor MQTT connecting, add sync token support
|
2020-01-05 00:31:58 +01:00 |
|
Mads Marquart
|
998fa43fb2
|
Refactor MQTT connecting
|
2020-01-04 23:18:20 +01:00 |
|
Mads Marquart
|
ecc6edac5a
|
Fix message receiving in MQTT
|
2020-01-04 16:23:51 +01:00 |
|
Mads Marquart
|
ea518ba4c9
|
Add initial MQTT helper
|
2020-01-04 16:23:35 +01:00 |
|
Blue
|
49d5891bf5
|
Use datetime instead of raw timestamp
|
2020-01-01 23:24:12 +01:00 |
|
Blue
|
5fd7ef5191
|
Add a optional timestamp parameter to mark_as_read and mark_as_unread
|
2019-12-26 17:27:15 +01:00 |
|
Mads Marquart
|
ffdf4222bf
|
Split ._parseMessage to reduce indentation
|
2019-12-15 16:24:17 +01:00 |
|
Mads Marquart
|
a97ef67411
|
Backport e348425
|
2019-12-15 15:26:53 +01:00 |
|
Mads Marquart
|
aea4fea5a2
|
Set black target version explicitly
|
2019-12-12 09:56:26 +01:00 |
|
Mads Marquart
|
6c82e4d966
|
Merge pull request #489 from carpedm20/model-changes
Model changes
|
2019-12-11 16:32:28 +01:00 |
|
Mads Marquart
|
d1fbf0ba0a
|
Clean up doc references
|
2019-12-11 16:20:38 +01:00 |
|
Mads Marquart
|
aaf26691d6
|
Move Mention parsing into the class itself
|
2019-12-11 16:20:38 +01:00 |
|
Mads Marquart
|
1f96c624e7
|
Combine variously sized previews to a single key
|
2019-12-11 16:20:38 +01:00 |
|
Mads Marquart
|
a7b08fefe4
|
Use attrs on exception classes
|
2019-12-11 16:20:38 +01:00 |
|
Mads Marquart
|
91d4055545
|
Make models use kw_only (on Python > 3.5)
|
2019-12-11 16:12:14 +01:00 |
|
Mads Marquart
|
523c320c08
|
Make models use slots
|
2019-12-11 16:12:14 +01:00 |
|
Mads Marquart
|
27ae1c9f88
|
Stop mutating models
|
2019-12-11 16:12:14 +01:00 |
|
Mads Marquart
|
b03d0ae3b7
|
Allow specifying class variables in init
|
2019-12-11 16:12:14 +01:00 |
|
Mads Marquart
|
637ea97ffe
|
Add Image model
|
2019-12-11 16:12:14 +01:00 |
|
Mads Marquart
|
074c271fb8
|
Fix pytest version
|
2019-12-11 16:11:57 +01:00 |
|
Mads Marquart
|
e348425204
|
Fix black version
|
2019-12-11 16:11:54 +01:00 |
|
Mads Marquart
|
b8f83610e7
|
Merge pull request #480 from carpedm20/add-unit-tests
Add unit tests
|
2019-10-28 11:01:39 +01:00 |
|
Mads Marquart
|
41a445a989
|
Add ShareAttachment subattachment tests
|
2019-10-28 10:33:45 +01:00 |
|
Mads Marquart
|
80c7fff571
|
Add file attachment tests
|
2019-10-28 10:33:04 +01:00 |
|
Mads Marquart
|
e2d98356ad
|
Add poll tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
a8412ea3d8
|
Add plan tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
71177d8bf9
|
Add group test
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
5019aac6b7
|
Add page test
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
0c305f621a
|
Add user tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
ef73bb27aa
|
Add graphql tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
bd499c1ea2
|
Add message tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
24c4b10012
|
Add thread tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
648cbb4999
|
Add location tests, and fix live location expires_at parsing
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
ef5c86c427
|
Add quick reply tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
5e0b80cada
|
Add sticker tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
9898e8cd19
|
Add attachment tests
|
2019-10-27 14:40:09 +01:00 |
|
Mads Marquart
|
77d9b25bf0
|
Add utility function tests
|
2019-10-27 14:40:08 +01:00 |
|
Mads Marquart
|
e757e51a4e
|
Remove most __init__ methods
|
2019-10-22 20:18:14 +02:00 |
|
Mads Marquart
|
ce8711ba65
|
Enable model comparisons
|
2019-10-22 20:04:08 +02:00 |
|
Mads Marquart
|
bdd7f69a66
|
Fix missing pytest 4.0 features
Not really sure how many versions of pytest we should support? But then
again, we might as well for now...
|
2019-09-10 21:22:28 +02:00 |
|