Commit Graph

251 Commits

Author SHA1 Message Date
Ben Lopatin c566377ccb Merge pull request #77 from akhmerov/patch-1
use an up to date endpoint for group owner creation
2023-08-31 12:42:11 -04:00
Anton Akhmerov 9c07f97e87 use an up to date endpoint for group owner creation 2023-08-29 10:19:59 -04:00
Ben Lopatin eb195bb6bc Merge pull request #81 from Dettorer/tox-add-py311
Enable the tests for Python 3.11
2023-08-29 10:19:49 -04:00
Paul Dettorer Hervot 71f9da07c7 Enable the tests for Python 3.11 2023-08-29 14:50:35 +02:00
Ben Lopatin ed4efd82aa Merge pull request #80 from inducer/fix-group-membership-admin
Fix group membership admin functionality
2023-08-15 15:23:09 -04:00
Andreas Kloeckner e33a37b8b9 Fix group membership administration endpoints 2023-08-09 19:40:14 -05:00
Ben Lopatin 50465b4502 Merge pull request #74 from themotleyfool/add-update-category
Add client endpoint for updating category
2023-02-28 20:24:46 -05:00
Max Lancaster e9748279b8 Add client endpoint for updating category 2023-02-28 19:55:26 -05:00
Karl Goetz 7898ff3ff1 Merge pull request #69 from themotleyfool/add-latest-posts
Add endpoint to fetch latest posts across topics
v1.4.0
2023-01-25 21:51:55 +11:00
Max Lancaster 9709744b33 Add endpoint to fetch latest posts across topics
Added endpoint for looking up latest posts across topics, see Discourse api documentation here:

https://docs.discourse.org/#tag/Posts/operation/listPosts
2023-01-24 18:21:42 -05:00
Karl Goetz 22e236a009 Merge pull request #72 from bennylope/test-against-python311
Add Python 3.11 to test matrix
2023-01-25 07:23:35 +11:00
Ben Lopatin 0857a9cfe7 Add Python 3.11 to test matrix 2023-01-22 16:53:04 -05:00
Ben Lopatin 30e2068b4d Merge pull request #70 from themotleyfool/fix-github-action-display
Fix python version display in github actions
2023-01-22 16:51:53 -05:00
Ben Lopatin 227924f098 Merge pull request #68 from inducer/rate-limit-improvements
Rate limit improvements
2023-01-22 16:48:05 -05:00
Max Lancaster 201ff3d717 Fix python version display in github actions
test.yml uses the wrong python version variable which is causing to not display the title correctly in the github actions interface, see github documentation here:

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#using-the-python-starter-workflow
2023-01-17 19:33:35 -05:00
Andreas Kloeckner 393422f964 Rate limiting: print limit name, log before waiting 2022-12-14 17:06:17 -06:00
Andreas Kloeckner d9e0af7e59 Rate-limited: do not fail if no Content-Type header 2022-12-14 17:05:51 -06:00
Ben Lopatin 227c3fb469 Bump version and add changelog v1.3.0 2022-07-28 20:09:22 -04:00
Ben Lopatin 0378a38d87 Merge pull request #65 from Natureshadow/add-group-owners
Add group owners
2022-07-28 20:04:58 -04:00
Ben Lopatin 5c12e06e58 Merge pull request #62 from Natureshadow/fix-429-not-json
Handle HTTP 429 errors that are not JSON-encoded
2022-07-28 20:04:43 -04:00
Ben Lopatin 27363e5fa7 Merge pull request #63 from Natureshadow/fix-add-group-owner
Use new API for add_group_owner
2022-07-28 20:03:10 -04:00
Dominik George 8be16c34ff Allow adding multiple group owners by list 2022-07-28 22:26:38 +02:00
Dominik George 8971629bcb Use new API for add_group_owner
Closes #61
2022-07-28 22:22:03 +02:00
Dominik George 7e237c6b68 Handle HTTP 429 errors that are not JSON-encoded
Closes #60
2022-07-28 22:19:11 +02:00
Ben Lopatin 062904fd2a Fix URL
Must not have quotes...
2022-04-18 14:15:56 -04:00
Ben Lopatin 0d1eb1b816 Update history for release v1.2.0 2022-04-18 14:08:47 -04:00
Ben Lopatin 457abc559f Merge pull request #58 from Sebastian2023/fix_category
Fix getting category details
2022-04-18 14:03:31 -04:00
Sebastian Scherbel 3b7b7d2490 Fix getting category details 2022-04-18 14:02:25 -04:00
Ben Lopatin 1d74e2f1b7 Merge pull request #59 from Sebastian2023/add_site
Add option to fetch all categories including subcategories
2022-04-18 13:57:26 -04:00
Sebastian Scherbel e254926726 Add option to fetch all categories including subcategories 2022-04-18 09:33:03 +02:00
Ben Lopatin ff40a1c8c0 Correct license 2021-12-18 16:27:15 -05:00
Ben Lopatin 7054b9118f Merge pull request #54 from bennylope/python-updates
Update supported Python versions
2021-12-18 16:26:31 -05:00
Ben Lopatin b5ccf244a5 Ignore blame for moving to src, formatting 2021-12-18 16:24:31 -05:00
Ben Lopatin 901a53a10d Add missing console scripts 2021-12-18 16:22:12 -05:00
Ben Lopatin 71cb943e55 Update flake8 config 2021-12-18 16:18:05 -05:00
Ben Lopatin f6b4c02fc0 Format with black 2021-12-18 16:16:47 -05:00
Ben Lopatin 4eaff3a790 Update docstrings 2021-12-18 15:31:53 -05:00
Ben Lopatin 864b1b047f Add module docstring and __all__ definition 2021-12-18 15:31:03 -05:00
Ben Lopatin 69bdc5f76f Add and format docstrings 2021-12-18 15:26:15 -05:00
Ben Lopatin 27c76de371 Add docstrings 2021-12-18 15:25:20 -05:00
Ben Lopatin baaa049dc6 Fix flake8 path 2021-12-18 15:17:37 -05:00
Ben Lopatin bbe216ef8c Remove quotes from versions
Doesn't seem to be actually running tests...
2021-12-18 15:14:13 -05:00
Ben Lopatin d9a5c081a9 Use tox-gh-actions 2021-12-18 15:10:09 -05:00
Ben Lopatin f61ffdbcdb Install explicitly before testing 2021-12-18 15:06:47 -05:00
Ben Lopatin 8a0e742abd Update tests to use pytest 2021-12-18 15:05:43 -05:00
Ben Lopatin 1a22796e8e Use setup.cfg for metadata 2021-12-18 14:55:46 -05:00
Ben Lopatin 0177c46356 Move package into src directory 2021-12-18 14:55:46 -05:00
Ben Lopatin ef5f8523d8 Update tox environments 2021-12-18 14:42:50 -05:00
Ben Lopatin 96f9ea4b50 Remove Python 2 compatibility checks 2021-12-18 14:41:33 -05:00
Ben Lopatin 9b11c7d06a Use strings for version identifiers 2021-12-18 14:36:14 -05:00