Mads Marquart
|
72ab8695f1
|
Make ts a datetime, and rename to at in all onX methods
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
47bdb84957
|
Make seen_ts a datetime, and rename to seen_at in onX methods
- onMessageSeen
- onMarkedSeen
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
24cf4047b7
|
Convert durations to timedeltas
On:
- AudioAttachment.duration
- VideoAttachment.duration
- Client.onCallEnded call_duration argument
- Client.muteThread mute_time argument
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
2e53963398
|
Make LiveLocationAttachment.expires_at a datetime object
Renamed from .expiration_time
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
61842b199f
|
Make ActiveStatus.last_active a datetime object
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
aef64e5c29
|
Make Message.timestamp a datetime object, and rename to .created_at
|
2019-09-08 15:24:58 +02:00 |
|
Mads Marquart
|
6d13937c4a
|
Make Plan.time a datetime object
|
2019-09-08 15:24:57 +02:00 |
|
Mads Marquart
|
4b34a063e8
|
Rename Thread.last_message_timestamp to .last_active, and use datetimes
|
2019-09-08 15:20:31 +02:00 |
|
Mads Marquart
|
ba088d45a7
|
Make Client fetching methods use datetime objects
On:
- Client.fetchThreads after and before arguments
- Client.fetchThreadMessages before argument
- Client.fetchThreadList before argument
|
2019-09-08 15:20:31 +02:00 |
|
Mads Marquart
|
d12f9fd645
|
Add datetime helper functions
|
2019-09-08 15:20:30 +02:00 |
|
Mads Marquart
|
a6a3768a38
|
Fix _util.now() usage in Client
|
2019-09-08 13:15:11 +02:00 |
|
Mads Marquart
|
3d28c958d3
|
Bump version: 1.8.1 → 1.8.2
v1.8.2
|
2019-09-05 20:07:44 +02:00 |
|
Marco Gavelli
|
6b68916d74
|
Fix Python 2 only issue (str.split does not take keyword parameters)
Fixes #469
|
2019-09-05 20:02:51 +02:00 |
|
Mads Marquart
|
8052b818de
|
Small fixes
|
2019-08-28 23:03:31 +02:00 |
|
Mads Marquart
|
da4ed73ec6
|
Remove models.py
|
2019-08-28 22:59:22 +02:00 |
|
Mads Marquart
|
62c9512734
|
Clean up imports
|
2019-08-28 22:44:42 +02:00 |
|
Mads Marquart
|
d3a0ffc478
|
Fix logging
- Following advice here: https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library
- Renamed the logger: client -> fbchat
- Remove logging_level init parameter from Client
- Use print instead of log.info in examples
|
2019-08-28 22:27:29 +02:00 |
|
Mads Marquart
|
d84ad487ee
|
Merge pull request #465 from carpedm20/drop-python-2
Drop Python 2 support
|
2019-08-28 22:01:10 +02:00 |
|
Mads Marquart
|
01b80b300e
|
Remove explicit new style class declarations
|
2019-08-28 21:57:50 +02:00 |
|
Mads Marquart
|
66505f8f41
|
Remove redundant encoding specifiers and __future__ imports
|
2019-08-28 21:57:46 +02:00 |
|
Mads Marquart
|
75378bb709
|
Remove Python 2 specific imports
|
2019-08-28 21:37:16 +02:00 |
|
Mads Marquart
|
6fb6e707ba
|
Remove six dependency
|
2019-08-28 21:26:59 +02:00 |
|
Mads Marquart
|
330473a092
|
Update PyPI classifiers and required python version
|
2019-08-28 21:24:59 +02:00 |
|
Mads Marquart
|
5ee93b760a
|
Update badges
- Update version numbers
- Use badgen.net instead of shields.io
- Remove badges from the docs (they're only present in the README)
|
2019-08-28 21:24:09 +02:00 |
|
Mads Marquart
|
7911c2ebae
|
Stop testing Python 2.7 in TravisCI
|
2019-08-28 21:09:52 +02:00 |
|
Mads Marquart
|
3c00d66ccf
|
Add version warning and begin developing version 2 (for real this time)
|
2019-08-28 20:53:13 +02:00 |
|
Mads Marquart
|
12e752e681
|
Bump version: 1.8.0 → 1.8.1
v1.8.1
|
2019-08-28 19:21:39 +02:00 |
|
Mads Marquart
|
1f342d0c71
|
Move Client._getSendData into the Thread / Group models
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
5e86d4a48a
|
Add method to convert a ThreadType to a subclass of Thread (e.g. Group)
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
0838f84859
|
Move most of Client._getSendData to State._do_send_request
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
abc938eacd
|
Make State.fb_dtsg private
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
4d13cd2c0b
|
Move body of Client._doSendRequest to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
8f8971c706
|
Move parts of Client._getSendData to Message._to_send_data
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
2703d9513a
|
Move Client._client_id to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
3dce83de93
|
Move Client._upload to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
ef8e7d4251
|
Move user id handling to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
a131e1ae73
|
Move body of Client.graphql_requests to State._graphql_requests
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
84a86bd7bd
|
Move body of Client._payload_post to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
adfb5886c9
|
Move body of Client._post to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
8d237ea4ef
|
Move body of Client._get to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
513bc6eadf
|
Move Client._do_refresh to State
|
2019-08-28 18:07:21 +02:00 |
|
Mads Marquart
|
856962af63
|
Bump version: 1.7.3 → 1.8.0
v1.8.0
|
2019-08-28 10:58:46 +02:00 |
|
Daniel Hill
|
128efe7fba
|
improve animated sticker support
|
2019-08-01 18:37:13 +12:00 |
|
Mads Marquart
|
7c68a29181
|
Stop using Client.graphql_request internally
|
2019-07-25 23:32:17 +02:00 |
|
Mads Marquart
|
2f4e3f2bb1
|
Remove Client._generatePayload
Make Client._get and Client._post require a query input
|
2019-07-25 20:20:26 +02:00 |
|
Mads Marquart
|
0389b838bc
|
Merge pull request #455 from carpedm20/add-spell-check
Add spell checking.
Use sphinxcontrib-spelling to fix documentation and docstring spelling errors.
|
2019-07-25 18:51:53 +02:00 |
|
Mads Marquart
|
441f53e382
|
Merge pull request #454 from carpedm20/google-style-docstrings
Google docstring style
|
2019-07-24 21:56:33 +02:00 |
|
Mads Marquart
|
83c45dcf40
|
Fix spelling / typesetting in various places
|
2019-07-24 16:18:15 +02:00 |
|
Mads Marquart
|
cc9d81a39e
|
Fix spelling mistakes in documentation
|
2019-07-24 16:18:15 +02:00 |
|
Mads Marquart
|
edf14cfd84
|
Add and configure sphinxcontrib-spelling
|
2019-07-24 16:17:36 +02:00 |
|