0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-10-21 19:44:16 -04:00

702 Commits

Author SHA1 Message Date
Ivan Habunek
92d6c399b1 Move utils to own module 2022-12-11 23:15:07 +01:00
Ivan Habunek
47be3a762a Fix language specification
Old API docs claimed to require ISO 639-2 format, testing determines
that that ISO 639-1 is required instead.
2022-12-11 23:15:07 +01:00
Ivan Habunek
c3bf0f3bb0 Enable toggling translation 2022-12-11 22:51:32 +01:00
Daniel Schwarz
be5948bac8 Added translate status feature (requires server side support) 2022-12-11 20:25:02 +01:00
Ivan Habunek
f9fef1927c Bump version, update changelog 0.31.0 2022-12-07 15:09:09 +01:00
Ivan Habunek
40e7a6f3a1 Fix several tests when running on Pleroma 2022-12-07 15:03:40 +01:00
Ivan Habunek
3e828c05d9 Send datetimes with timezone when scheduling
This fixes this feature on Pleroma
2022-12-07 15:03:39 +01:00
Ivan Habunek
d6f5728486 Don't send null parameters when posting
fixes #250
2022-12-07 15:03:39 +01:00
Ivan Habunek
b2626a9aa8 Don't hardcode hostname in tests 2022-12-07 14:02:16 +01:00
Ivan Habunek
603c742ea2 Fix actions 2022-12-06 13:49:08 +01:00
Ivan Habunek
4f0c367995 Add post --scheduled-in option for easier scheduling 2022-12-03 15:38:19 +01:00
Ivan Habunek
66f1883b3c Remove sr.ht build
Love sr.ht, but Github actions have multiple python versions.
2022-12-02 09:27:14 +01:00
Ivan Habunek
a5d2533297 Validate minimum python version in tests 2022-12-02 09:27:14 +01:00
Ivan Habunek
48a9b2d3dd Set min python version to 3.6
This is already the case since f-strings are used.
2022-12-02 09:27:14 +01:00
Ivan Habunek
05c900c297 Add github actions workflow 2022-12-02 09:27:14 +01:00
Ivan Habunek
59b98a7f33 Improve colorize 2022-12-02 08:50:34 +01:00
Ivan Habunek
0e13914fce Add duration parsing 2022-12-01 10:20:50 +01:00
Ivan Habunek
6ae2ed623a Add test for scheduled statuses 0.30.1 2022-12-01 08:35:55 +01:00
Ivan Habunek
d76a2ee967 Bump version, update changelog 2022-11-30 13:51:00 +01:00
Ivan Habunek
de2547cfa1 Refactor post function to make it more readable 2022-11-30 12:44:20 +01:00
Ivan Habunek
4ccc547830 Don't default to media URLs if no text is given 2022-11-30 08:56:10 +01:00
Ivan Habunek
7b4063fddc Remove use of deprecated status.text_url 2022-11-30 08:55:46 +01:00
Ivan Habunek
e396768d15 Bump version, add changelog 0.30.0 2022-11-29 11:54:45 +01:00
Ivan Habunek
be0c5653af Set up code coverage 2022-11-29 11:54:45 +01:00
Ivan Habunek
a0353f9bbe Remove unused imports 2022-11-29 11:07:02 +01:00
Ivan Habunek
c31d588a80 Expand instance tests 2022-11-29 11:06:47 +01:00
Ivan Habunek
942dd36cd6 Fix tests 2022-11-29 10:08:21 +01:00
Peter Fidelman
1d26ecd489 Add zoom command to open status in scrollable popup window 2022-11-29 09:40:48 +01:00
Ivan Habunek
916b4cc4bf Extract code for printing a poll 2022-11-29 09:20:00 +01:00
Daniel Schwarz
f15310cc75 Display polls in command line status output
Also display your own votes in toot tui poll displays.
2022-11-29 09:03:19 +01:00
Ivan Habunek
7b194880a0 Remove duplicate search api fn 2022-11-27 09:56:58 +01:00
Ivan Habunek
ebc17e0764 Make toot instance work with localhost
Asserting the domain exists does not bring much value.
2022-11-27 09:56:04 +01:00
Ivan Habunek
d308475afe Fix key detection 2022-11-27 09:26:09 +01:00
Ivan Habunek
92b9b4ef18 Expand tests 2022-11-26 07:57:49 +01:00
Ivan Habunek
ee8555627a Tweak dev dependencies 2022-11-24 15:38:26 +01:00
Ivan Habunek
7c1d517506 Fix example dsn 2022-11-24 15:05:41 +01:00
Ivan Habunek
4fb347d70a Update build, remove shell, add email on failure 2022-11-24 11:27:43 +01:00
Ivan Habunek
4a544e8175 Don't install postgres for build
This won't be necessary unless we set up a testing server.
2022-11-24 11:23:24 +01:00
Ivan Habunek
b8decb7660 Set up integration tests against a local instance 2022-11-24 11:21:02 +01:00
Ivan Habunek
654bc06166 Fix formatting 2022-11-24 11:21:01 +01:00
Ivan Habunek
d03a329b1a Improve print_instance 2022-11-24 11:21:01 +01:00
Ivan Habunek
db6d8c6d73 Catch request errors 2022-11-24 11:21:00 +01:00
Ivan Habunek
f1dca18365 Add build manifest 2022-11-24 11:21:00 +01:00
Ivan Habunek
5c10479d65 Add api endpoint for fetching a single status 2022-11-24 11:21:00 +01:00
Ivan Habunek
44be9fd8bb Add api endpoint for registring an account 2022-11-24 11:20:59 +01:00
Ivan Habunek
b15cb85a23 Standardize http request method parameters
This allows setting either json or data. Until now we were always using
data and this is not enough for some endpoints.
2022-11-24 11:20:59 +01:00
Nick LaForge
8c3baa704e Fix typo 2022-11-23 15:39:26 +01:00
Daniel Schwarz
9abaebdc21 Updated patch
Corrected code here
2022-11-22 07:16:27 +01:00
Ivan Habunek
5aa779ef06 Bump version 0.29.0 2022-11-21 09:45:51 +01:00
Ivan Habunek
1bab2e117b Update changelog 2022-11-21 09:19:04 +01:00