1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00
Commit Graph

24 Commits

Author SHA1 Message Date
Ivan Habunek
02c392230e
Remove unused import 2019-02-13 15:43:30 +01:00
Ivan Habunek
19cbcd43b2
Make toot timeline continuable by pressing Enter 2019-02-13 14:19:00 +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
Denis Laxalde
0f6bd920c3 Replace ' by "'" before parsing HTML
Beautiful will does not parse HTML entities like `'` as we expect
and the previous logic of replacing this *after* HTML parsing occurred
did not produced expected results.

To illustrate this, we change data in "test_timeline" to include a
literal `'` as it sometimes occur in data returned by Mastodon API.
New HTML content is:

    <p>The computer can&apos;t tell you the emotional story [...] </p>

Beautiful will parse this as as:

    <p>The computer can&amp;apost tell you the emotional story [...] </p>

which is not what we expect.

We fix this by replacing `&apos;` *before* HTML parsing by Beautiful.
Since test data in "test_timeline" got updated we also add an extra
assertion checking that part of the content with a literal "'" is
(still) properly rendered.
2019-01-01 23:14:54 +01:00
Ivan Habunek
cf1217cc26
Fix tests 2018-06-27 16:29:45 +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
b3d81c43cc
Tweak timeline output 2018-06-12 11:43:47 +02:00
Ivan Habunek
ce0df5f1b7
Fix tests on Python 3.5 2018-06-09 10:39:08 +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
9f23ba4d55
Simplify mocking in tests 2018-06-07 10:05:14 +02:00
Ivan Habunek
6a3c877270
Reimplement configuration to allow multiple logins
The configuration is now stored in a single json encoded file instead of
separate files.
2018-01-02 12:24:32 +01:00
Ivan Habunek
92d4dc745a
Use http methods instead of requests directly 2017-12-30 16:30:35 +01:00
Ivan Habunek
7bbc98363e
Extract exceptions 2017-12-30 13:32:52 +01:00
Ivan Habunek
6766cf83b4
Search only accounts when looking for users
Instead of using general search.
2017-05-07 10:42:04 +02:00
Ivan Habunek
12047cdc92
Fix tests for follow/unfollow 2017-04-20 10:58:49 +02:00
Ivan Habunek
373f26424d
Rework how commands are defined 2017-04-19 14:47:30 +02:00
Ivan Habunek
3f44d560c8
Store access tokens for multiple instances
This makes it so an app is created only once for each instance, instead
of being re-created on each login. Prevents accumulations of authroized
apps in https://mastodon.social/oauth/authorized_applications
2017-04-18 16:16:24 +02:00
Ivan Habunek
a666689c8d
Add whoami command 2017-04-16 17:53:02 +02:00
Ivan Habunek
a493da5c84
Added follow and unfollow commands 2017-04-16 17:15:05 +02:00
Ivan Habunek
64d46955e2
Add search command 2017-04-16 15:07:27 +02:00
Ivan Habunek
d7701bd2e6
Replace deprecated optparse with argparse 2017-04-16 14:06:16 +02:00
Ivan Habunek
7e31c57a63
Start testing 2017-04-15 14:46:22 +02:00