1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-06-09 06:10:43 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Lexi Winter
ec48e8eed8 tui: allow editing toots
Add new [E]dit command to the timeline: opens an existing toot to allow
editing it.  Since this is more or less the same operation as posting a
new toot, extend the StatusComposer view to support this rather than
implementing a new view.

Add a new api method, fetch_status_source(), to implement the
/api/v1/statuses/{id}/source endpoint used to fetch the original post
text.
2024-01-01 14:16:09 +00:00
Ivan Habunek
57be6beae8
Log request exceptions 2023-11-21 16:50:19 +01:00
Daniel Schwarz
bfdd84870f
Added "toot list_delete" and "toot list_create" commands 2023-03-30 10:01:03 +02:00
Ivan Habunek
6c5eb528ee
Add command for updating user account
fixes #314
2023-02-21 18:10:14 +01:00
Ivan Habunek
db6d8c6d73
Catch request errors 2022-11-24 11:21:00 +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
Josh Soref
67bea207cd
Spelling fixes (#215)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-09 14:24:48 +01:00
Ivan Habunek
840b2fd476
Set the user agent string to all requests
Fixes issue with accessing instances using Cloudfare DDOS protection.

issue #106
2019-08-07 22:58:30 +02:00
Ivan Habunek
226713a5a0
Apply requests environment settings
Allows use of enironment variables for setting proxies and trusted CAs.

See:
http://docs.python-requests.org/en/master/user/advanced/#prepared-requests
2018-12-30 10:38:40 +01:00
Ivan Habunek
72f88831ad
Add delete command
issue #54
2018-06-14 10:40:16 +02:00
Ivan Habunek
025d8dde09
Use Idempotency-Key header when posting toots 2018-06-13 13:22:52 +02:00
Ivan Habunek
92d4dc745a
Use http methods instead of requests directly 2017-12-30 16:30:35 +01:00
Ivan Habunek
20eaf86b56
Extract http methods 2017-12-30 14:15:51 +01:00