Ivan Habunek
3176fa0614
Ignore vermin in one place
2024-09-29 09:38:23 +02:00
Ivan Habunek
0d829e9495
Rework the diag command a bit
2024-09-29 09:34:48 +02:00
Ivan Habunek
87acfb8ef4
Fix broken build
2024-04-14 09:05:09 +02:00
Ivan Habunek
9875209b30
Improve types
2024-02-10 18:24:35 +01:00
Ivan Habunek
965ffa1312
Remove unused code
2024-02-10 18:24:34 +01:00
Ivan Habunek
bbb5658781
Overhaul output to use click
2023-12-05 11:55:09 +01:00
Ivan Habunek
24866bd4e4
Improve types
2023-12-05 08:15:27 +01:00
Ivan Habunek
b9d0c1f7c2
Delete unused code
2023-12-04 18:46:45 +01:00
Ivan Habunek
eaaa14cfc2
Use click.echo to output text
2023-12-04 18:45:40 +01:00
Ivan Habunek
199a96625b
Extract parsing html
2023-11-04 07:53:40 +01:00
Ivan Habunek
d91c73520e
Better function name
2023-11-04 07:38:47 +01:00
Daniel Schwarz
0f39b1087f
Support to display a limited set of HTML tags
...
HTML tag support is aligned with Mastodon 4.2 supported tags.
This code introduces a soft dependency on the urwidgets library.
If urwidgets is not available, HTML tags are still supported,
but hyperlinks are not underlined using the OCS 8 terminal
feature (on supported terminals).
2023-09-22 21:32:19 -04:00
Ivan Habunek
da9931e5e5
Remove datetime hack used for python < 3.7
2023-06-30 11:08:22 +02:00
Ivan Habunek
3df8e2722a
Extract datetime utils
2023-06-30 11:08:19 +02:00
Ivan Habunek
d5b5c89996
Add support for custom instance domains
...
The instance domain can be different from their base url, for example
the instance at https://social.vivaldi.net uses the vivaldi.net domain,
sans 'social'.
This commit requires the user to provide the base url of the instance,
instead of domain name. The domain is then fetched from the server.
fixes #217
2023-03-09 11:00:45 +01:00
Ivan Habunek
7ed28b3bc3
Add helper function for stripping None values
2023-03-02 11:28:24 +01:00
Ivan Habunek
6c5eb528ee
Add command for updating user account
...
fixes #314
2023-02-21 18:10:14 +01:00
Ivan Habunek
00baabf7aa
Store temp file when using editor to post
...
In case of failed posting the status is not lost and the user can
recover it and continue posting.
fixes #311
2023-02-20 19:54:47 +01:00
Ivan Habunek
2d8791e629
Remove coding directives, no longer needed
2022-12-31 09:31:32 +01:00
Ivan Habunek
ded7a0c50d
Fix flake8 errors
2022-12-27 10:56:36 +01:00
Ivan Habunek
0ab0db048c
Show full language name
2022-12-11 23:26:15 +01:00
Ivan Habunek
92d6c399b1
Move utils to own module
2022-12-11 23:15:07 +01:00