Ben Lopatin
5dd1dab051
Run test workflow on pull request
2019-10-13 18:15:51 -04:00
Ben Lopatin
c3ae5b3c76
Update return documentation
2019-10-13 18:12:23 -04:00
Ben Lopatin
d02ab15d3f
Formatting
2019-10-13 18:10:12 -04:00
Richard Leyton
9a8641e596
Added invite() and invite_link() methods
2019-10-12 18:09:52 +01:00
Ben Lopatin
802f018519
Replace bad link with route documentation
...
Closes gh-173
2019-10-06 12:12:43 -04:00
Ben Lopatin
be74c4e5b7
Add GitHub Actions testing workflow ( #24 )
...
* Add GitHub Actions testing workflow
* Update named Python versions and dev status
* Use unittest.mock as default mock source
Fall back to package for Python 2.7
* Try installing mock outside of setup
* Switch to GitHub actions shield
2019-10-06 12:04:51 -04:00
Ben Lopatin
9198a1d549
Version bump 0.9.0
v0.9.0
2019-10-06 11:43:56 -04:00
Logan Kilpatrick
53cc24744f
Update README.rst ( #21 )
...
Update README.rst with link to web accessible documentation.
2019-10-06 12:05:50 +11:00
Ben Lopatin
9dcf5832b6
Merge pull request #18 from Lakshmipathi/master
...
Fix activate and deactivate call
2019-07-21 18:21:15 -04:00
Lakshmipathi.G
10c27d6338
Fix activate and deactivate call
...
Signed-off-by: Lakshmipathi.G <Lakshmipathi.G@giis.co.in >
2019-07-14 12:43:37 +05:30
Ben Lopatin
89f12f707b
Break out of infinite loop for ok responses
2019-04-21 13:52:14 -04:00
Karl Goetz
0cef55a02f
Handle HTTP 429, rate limiting
...
Per the announcement on Discourse meta, global API rate limits have been
introduced to the Discourse API.
This change adds a new DiscourseRateLimitedError class and a retry mechanism on
receipt of a 429.
https://meta.discourse.org/t/global-rate-limits-in-discourse/78612
Closes : #11
----
Added by Maintainer:
Closes : #13
Formatted with black as well
2019-04-21 13:39:34 -04:00
Ben Lopatin
faa8895321
Merge pull request #16 from cck197/master
...
extra methods for deactivate/activate hack; see https://meta.discours…
2019-04-21 13:32:18 -04:00
Ben Lopatin
e434edb2ea
Merge pull request #17 from orsonmmz/topics
...
Added category_topics() and delete_topic() methods
2019-01-02 09:37:03 -05:00
Maciej Suminski
9601d96701
Added category_topics() and delete_topic() methods
2019-01-01 14:12:33 +01:00
Christopher Kelly
d5ce2d78dc
extra methods for deactivate/activate hack; see https://meta.discourse.org/t/creating-active-users-via-the-api-gem/33133/3
2018-12-07 19:37:55 -08:00
Ben Lopatin
84b59d2e4f
Merge pull request #15 from cck197/master
...
groups endpoint moved; see https://meta.discourse.org/t/group-api-emp…
2018-12-07 16:52:56 -05:00
Christopher Kelly
1970e53059
suspend uses suspend_until ISO date string
2018-12-07 12:11:25 -08:00
Christopher Kelly
0c7b60fef8
groups endpoint moved; see https://meta.discourse.org/t/group-api-empty-response/67892
2018-12-07 11:28:21 -08:00
Ben Lopatin
de6e758be6
Remove Python 3.7 from Travis testing
...
From
https://docs.travis-ci.com/user/languages/python/#development-releases-support :
> Recent Python branches require OpenSSL 1.0.2+. As this library is not
> available for Trusty, 3.7, 3.7-dev, 3.8-dev, and nightly do not work (or
> use outdated archive).
2018-10-29 18:35:43 -04:00
Ben Lopatin
0f2efa8e74
Update Python versions supported
2018-10-29 18:31:33 -04:00
Ben Lopatin
44cf317aa9
Fix version cleaning
v0.8.0
2018-10-29 18:15:41 -04:00
Ben Lopatin
468f6b58cd
Version bump 0.8.0
...
Closes gh-14
2018-10-29 18:11:35 -04:00
Ben Lopatin
c0db7215c9
Format with black
2018-10-29 18:02:58 -04:00
Ben Lopatin
b0b277c917
Add PR template
2018-10-29 18:02:19 -04:00
Ben Lopatin
7793f3ae54
Merge pull request #12 from goetzk/patch-1
...
Increase minimum requests version
2018-02-14 19:25:47 -05:00
Karl Goetz
c900fad726
Increase minimum requests version
...
With the addition of json support in PR #9 , the required version of requests has increased to that which introduced json={} syntax.
2018-02-15 11:03:19 +11:00
Ben Lopatin
6c4c40d93c
Merge pull request #10 from goetzk/new-api-methods
...
New api methods
2017-12-13 20:27:58 -05:00
Karl Goetz
ff49cc7219
Merge branch 'master' into new-api-methods
2017-11-30 22:25:00 +11:00
Karl Goetz
3e391c38ec
Merge branch 'master' into new-api-methods
2017-11-30 22:22:36 +11:00
Karl Goetz
010bfa624c
Add docstrings to methods
...
Requested in #10
2017-11-09 09:25:38 +11:00
Karl Goetz
006b7d416a
Revert change to site_settings
...
Adding a settings arg changed the interface, something I was trying to avoid on
this branch.
Picked up by @bennylope when reviewing #10 .
2017-11-09 08:40:16 +11:00
Ben Lopatin
7b3733ca8e
Merge pull request #9 from goetzk/json-support
...
Json support
2017-11-08 12:35:31 -05:00
Alvaro Molina Alvarez
a87503eec3
adding support over topics
2017-10-21 16:08:26 +11:00
Alvaro Molina Alvarez
f0dd191b58
getting user emails
2017-10-21 16:07:52 +11:00
Alvaro Molina Alvarez
6cffef4e49
Change group_members to handle paging
2017-10-21 16:06:13 +11:00
Alvaro Molina Alvarez
12356819ea
adding tags support
2017-10-21 16:04:55 +11:00
Alvaro Molina Alvarez
84016afbc5
adding new client's methods
2017-10-21 16:04:23 +11:00
Alvaro Molina Alvarez
e5fe47d0a6
updating client methods
2017-10-21 16:01:59 +11:00
Alvaro Molina Alvarez
2fde21b51f
adding trust level lock method
2017-10-21 16:01:38 +11:00
Alvaro Molina Alvarez
2d2e8d1695
adding upload image client method
2017-10-21 16:00:42 +11:00
Alvaro Molina Alvarez
217b606ee7
adding avatar support when a group is added
2017-10-21 15:58:47 +11:00
Alvaro Molina Alvarez
fd815ac97b
adding color schemes method
2017-10-21 15:58:02 +11:00
Alvaro Molina Alvarez
9fbfa39060
adding new functions to the client
2017-10-21 15:56:44 +11:00
Alvaro Molina Alvarez
3ab8689b6e
Add JSON support to more methods
...
This includes proper support for JSON being added to _put, originally in [1]
[1] a1ac18e852
2017-10-21 15:52:56 +11:00
Alvaro Molina Alvarez
914e22cc55
adding update_avatar client method
2017-10-21 15:47:39 +11:00
Karl Goetz
f42a457514
New add_group_members API call
...
Taken from [1] by Alvaro Molina Alvarez, split to keep merges on a single
topic.
[1] 74414d1429
2017-10-21 15:45:03 +11:00
Karl Goetz
8faa1cfaf9
Group kwargs for Discourse API v1.7
...
Taken from [1] by Alvaro Molina Alvarez
[1] 74414d1429
2017-10-21 15:42:41 +11:00
Karl Goetz
227f7a3205
Add JSON support to client library
...
Newer versions of Discourse API use JSON PUTs and POSTs extensively.
This is a modified cherry pick of [1] by Alvaro Molina Alvarez
[1] 74414d1429
2017-10-21 15:40:29 +11:00
Ben Lopatin
17faed6fa7
Update CONTRIBUTING.rst
2017-10-06 09:41:18 -04:00