Lorenz Diener
429132e956
Test and document app_verify_credentials
2019-04-28 00:14:30 +02:00
Lorenz Diener
67824478af
implement app_verify_credentials, document entity change
2019-04-28 00:07:04 +02:00
Lorenz Diener
798f243af2
Fix version number for instance dict
2019-04-27 23:41:06 +02:00
Lorenz Diener
efcd01a3ed
Update instance dict docs and version
2019-04-27 23:39:17 +02:00
Lorenz Diener
861bdc7693
Fix broken tests
2019-04-27 23:29:27 +02:00
Lorenz Diener
5340087325
Add min_id parameter to a lot of functions
2019-04-27 23:20:45 +02:00
Lorenz Diener
dc6c80bad7
Implement, document and test pagination changes
2019-04-27 23:11:37 +02:00
Lorenz Diener
72e3290d8c
Add endorsements (with docs and tests)
2019-04-27 22:13:27 +02:00
Lorenz Diener
4deeb7875b
Document 2.5.0 entity updates
2019-04-27 21:45:57 +02:00
Lorenz Diener
e393664974
Test fixups and small 2.8 fixes
...
Pagination backwards is broken presently.
2019-04-27 21:04:06 +02:00
Lorenz Diener
c1418e9f3f
Removed trends endpoint
2019-04-27 19:10:33 +02:00
Lorenz Diener
fb7496c68d
Documented some things related to non-authed access
2019-04-27 18:59:54 +02:00
Lorenz Diener
edd55ec6fd
Allow object creation with no credentials whatsoever
2019-04-27 18:46:33 +02:00
Lorenz Diener
ecdaecf17a
Document new error
2019-04-27 18:46:20 +02:00
Lorenz Diener
f809e0029c
Stream decoder now iterates more, fixes #155
2019-04-27 18:35:47 +02:00
Lorenz Diener
d04d4d14fe
Update Pipfile.lock to ensure all the dependencies are safe
2019-04-27 18:03:33 +02:00
Lorenz Diener
2448d74002
Update index.rst
2019-04-27 17:44:05 +02:00
Lorenz Diener
234c97cd99
Update index.rst
2019-04-27 17:38:54 +02:00
Lorenz Diener
87b5b6535c
Merge pull request #157 from jfmcbrayer/status_post_content_type
...
Add 'content_type' parameter to status_post() for use with Pleroma
2019-04-27 17:24:24 +02:00
Lorenz Diener
351d302531
Merge pull request #158 from lefherz/master
...
New exception class if server is malconfigured, e.g. 502
2019-04-27 17:23:46 +02:00
Lorenz Diener
28ba394cb9
Merge pull request #161 from codl/doc-ratelimit
...
document rate limiting attributes
2019-04-27 17:21:46 +02:00
Lorenz Diener
a264154073
Merge pull request #164 from codl/link-flakeid
...
more robust handling of pagination Link headers
2019-04-27 17:20:20 +02:00
Lorenz Diener
450ebd983f
Merge pull request #162 from codl/160
...
better handling of non-standard error responses, such as from pleroma
2019-04-27 17:17:08 +02:00
codl
de329e8cf6
oh. forgot to update setup.py as well
2019-04-15 15:59:39 +02:00
codl
a815c10f9b
add test for link headers. this adds requests-mock as a dependency
2019-04-15 15:52:30 +02:00
codl
e594bad9bb
remove extraneous import
2019-04-15 14:31:41 +02:00
codl
eca31ea732
improve link header parameter extraction regex
2019-04-15 14:26:43 +02:00
codl
62a47f4e92
oops. str.is_digit() -> str.isdigit()
2019-04-15 14:19:45 +02:00
codl
ad96297a06
more robust handling of pagination Link headers
...
during a cursory investigation for #163 I found that the code handling
Link headers would not handle non-numeric post IDs like pleroma's
flakeIDs correctly
IDs starting with a number would be truncated to the first non-digit,
and IDs not starting with a number would throw. Thankfully, all flakeIDs
generated so far start with 9. Maybe 8 for the earliest ones, I'm not
sure. Either way, so far it would only have misbehaved when using the
pagination functions or accessing the _pagination_prev and
_pagination_next attributes directly
2019-04-15 03:31:09 +02:00
codl
0666bdabf1
better handling of non-standard error responses, such as from pleroma
2019-03-11 14:51:11 +01:00
codl
3f83ee0a4c
failing test for #160
2019-03-11 14:50:23 +01:00
codl
1041db3b95
document rate limiting attributes
...
p sure the thing about editing them was actually wrong since they get
updated on every request
2019-03-11 14:10:44 +01:00
lefherz
280973661d
New exception class if server is malconfigured, e.g. 502
2019-02-03 01:58:59 +01:00
Jason McBrayer
da9bdb4dbb
Add 'content_type' parameter to status_post() for use with Pleroma
...
This parameter lets you specify the source content type of your post for Pleroma servers, and
accepts 'text/plain', 'text/markdown', and 'text/html'. It defaults to None, but if set on
a request to a Mastodon server, it will be safely ignored.
2019-01-24 10:06:33 -05:00
Lorenz Diener
8b86269787
Merge pull request #151 from jrabbit/seven_proxies
...
Made Session support more robust and added support to .create_app()
2018-11-26 11:47:21 +01:00
Lorenz Diener
9c5c5b85cc
Make filter application regex use raw strings
2018-11-26 11:44:13 +01:00
Lorenz Diener
d1717be251
Fix media is-file check
2018-11-26 11:42:19 +01:00
Lorenz Diener
ae9640e95d
Merge pull request #150 from jfmcbrayer/mime-magic
...
Use python-magic to determine mime types from contents
2018-11-26 11:24:35 +01:00
Lorenz Diener
62bf6afd9f
Merge pull request #146 from errbufferoverfl/issue-145-providing-mime-type-raises-exception
...
Adds statement to open file if MIME type is set and file exists
2018-11-26 11:21:03 +01:00
Lorenz Diener
1956b18845
Explicitly module-scope vcr_config
2018-11-26 11:15:59 +01:00
Lorenz Diener
a22083da88
Merge pull request #152 from jrabbit/pipenv-tooling
...
[WIP] Add pipenv and tox file
2018-11-26 10:55:38 +01:00
Lorenz Diener
e1e003ec76
Merge pull request #143 from MarkEEaton/master
...
Revise sample code in README.rst
2018-11-26 10:50:54 +01:00
Jack Laxson
838f84408c
Add pipenv and tox file, 2.7 is broken rn
2018-11-18 04:58:33 -05:00
Jack Laxson
975145ada6
Made Session support more robust and added support to .create_app()
2018-11-18 04:55:04 -05:00
Jason McBrayer
4b7bbe72cd
Use magic for guessing mime type if available
...
Replace uses of mimetypes.guess_type with guess_type wrapper that uses
magic if available, and falls back to mimetypes if not.
2018-11-12 10:04:15 -05:00
Jason McBrayer
7e2259e3ee
Add requirement for python-magic, and add wrappers to Mastodon.py
2018-11-12 09:44:57 -05:00
errbufferoverfl
aabbfa86bf
Adds statement to open file if MIME type is set and file exists
2018-09-14 17:16:12 +10:00
MarkEEaton
dc4b3ffc03
Update index.rst to reflect README.rst
2018-08-17 09:09:25 -04:00
MarkEEaton
84b1bc7249
Keep the ''' and explain why they are there
...
This commit takes into account the discussion from https://github.com/halcy/Mastodon.py/pull/125
2018-08-14 13:25:24 -04:00
MarkEEaton
cf4987d601
Revise README.rst for clarity
2018-08-14 13:04:21 -04:00