Commit Graph

71 Commits

Author SHA1 Message Date
Daniel Schwarz 5ae6db8689 Added 'whois' API method to retrieve account by ID
More reliable and faster than retrieving by account name
tbd: is "whois" the right name for this method?
2023-02-03 15:02:47 +01:00
Ivan Habunek 15d377e889
Expand tests 2023-01-02 11:53:50 +01:00
Ivan Habunek a83c3520ae
Use fstrings instead of format 2023-01-02 11:53:50 +01:00
Ivan Habunek 2d8791e629
Remove coding directives, no longer needed 2022-12-31 09:31:32 +01:00
Daniel Schwarz 67b52757a4
Command line support for following hashtags (Mastodon 4+) 2022-12-31 09:02:38 +01:00
Lim Ding Wen 08a28bfb26
TOOT_VISIBILITY controls boost visibility
TOOT_VISIBILITY controls default boost visibility from CLI, and the boost visibility from TUI (no option to change in TUI yet)
2022-12-28 09:12:05 +01:00
Daniel Schwarz fed5574939
Add bookmark timeline and bookmarking to tui 2022-12-27 12:15:20 +01:00
Daniel Schwarz be5948bac8
Added translate status feature (requires server side support) 2022-12-11 20:25:02 +01:00
Ivan Habunek d6f5728486
Don't send null parameters when posting
fixes #250
2022-12-07 15:03:39 +01:00
Ivan Habunek 6ae2ed623a
Add test for scheduled statuses 2022-12-01 08:35:55 +01:00
Ivan Habunek 7b194880a0
Remove duplicate search api fn 2022-11-27 09:56:58 +01:00
Ivan Habunek 654bc06166
Fix formatting 2022-11-24 11:21:01 +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
Giuseppe Bilotta e171578878 Implement following/followers list retrieval 2022-11-18 08:23:12 +01:00
Ivan Habunek 44a30b44d8
Add toot (un)bookmarking
fixes #204
2022-11-17 06:32:12 +01:00
K 89585b6761
Use v2 endpoint for account search 2022-11-09 16:46:24 +01:00
Sandra Snan 9e046b6d86
Add --content-type option to toot post 2021-08-28 21:08:44 +02:00
ansuz ec097886d8
Support adding description to media 2021-08-28 18:47:07 +02:00
Ivan Habunek 7e0da50603
Add option for scheduling tweets 2021-08-28 17:39:31 +02:00
alex wennerberg 0b6d4a9e87
Add mentions-only parameter to notifications command 2021-07-29 10:08:58 +02:00
Ivan Habunek 3b5769acc0
Use authorized get to fetch public and tag timelines
Some servers require authorization for viewing "public" timelines, and
since currently toot always requires auth for this it's not required to
support anon access to timelines.

fixes #168
2020-05-11 12:59:50 +02:00
Ivan Habunek 6d18fd55a1
Quote hahtags before including them in an URL
Fixes searching by hashtag which include the #.

issue #134
2020-01-21 09:04:03 +01:00
Ivan Habunek cf78cd20ac
Upgrade to v2 search endpoint 2019-09-22 22:08:04 +02:00
Viktor Villainov 616483d78a
Remove double process_response function call
since it's called in anon_post already
2019-09-03 09:04:32 +02:00
Ivan Habunek a7e4f9d888
Add --language option to post command
Used to override language detection.
2019-07-30 16:13:29 +02:00
Denis Laxalde 6360e4d07d Add a --clear option to "notifications" command 2019-02-17 14:18:51 +01:00
Ivan Habunek d224375da4
Consolidate timeline selection arguments
toot timeline and toot curses now use the same logic.
2019-02-15 14:13:12 +01:00
Denis Laxalde f1c8465e63
Add a "reblogged_by" command 2019-02-14 17:58:47 +01:00
Ivan Habunek a3ebd96e05
Mark function as private 2019-02-13 14:19:27 +01:00
Ivan Habunek 19cbcd43b2
Make `toot timeline` continuable by pressing Enter 2019-02-13 14:19:00 +01:00
Ivan Habunek 32b1c67d49
Make boolen params a bit less verbose 2019-01-24 11:23:12 +01:00
Ivan Habunek c7c42b8337
Merge pull request #85 from ksunden/localtag
Add local and tag timelines to curses
2019-01-24 11:20:58 +01:00
Balazs Nadasdi e42c4c3b80
use http.get instead of hacking _status_action in api.py
(and fix a typo)
2019-01-21 17:25:20 +01:00
Balazs Nadasdi ee417df60e Status ID + thread view
- Status ID on timeline list view
 - thread command to view a complete thread
   Display order:
    - ancestors
    - status
    - descendants
2019-01-19 19:28:17 +01:00
ksunden 4df0c7882d ENH: Add local and tag timeline support to curses
Closes #61
2019-01-02 22:36:40 -06:00
Ivan Habunek 82ed630864
Add status related commands
(un)favourite, (un)reblog & (un)pin.

fixes #75
2019-01-02 12:33:25 +01:00
Ivan Habunek b06e9ea733
Enable fetching instance info over http
issue #56
2018-12-30 09:53:12 +01:00
Erica Ehrhardt fde84295e0 Add --disable-https flag 2018-12-24 17:20:30 -08:00
Ivan Habunek 05086e0c1f
Fix all media marked as sensitive
Needed to use "true" and "false" strings instead of bools.
2018-06-27 15:30:56 +02: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 8f93b255ad
Add option to reply to a toot
fixes #6
2018-06-13 13:21:22 +02:00
Ivan Habunek e1cfda1acb
Add support for tag and list timelines 2018-06-12 10:40:36 +02:00
kakakaya 08c5226ae2
Add api.timeline_public method 2018-06-12 09:50:50 +02:00
kakakaya 09a138ba27
Use SCOPES const 2018-06-12 09:50:50 +02:00
Ivan Habunek fa4e4e6357
Add spoiler text and sensitive options to post
issue #63
2018-06-07 10:06:43 +02:00
Ivan Habunek 6149c9beda
Show public or home timeline in curses 2018-01-14 15:46:29 +01:00
Ivan Habunek 923ac57811
Fetch next statuses when going below last 2018-01-14 15:46:29 +01:00