Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split mastodon-tl--timeline back into two functions. | mousebot | 2021-05-17 | 2 | -3/+8 |
| | | | | | this is to prevent pinned toots appearing as such when this function is used elsewhere than for a profile. e.g. the tag search. | ||||
* | add new functions to discover menu, and autoloads. | mousebot | 2021-05-16 | 3 | -8/+32 |
| | |||||
* | clean-up edits after flycheck/bytecompile. | mousebot | 2021-05-16 | 5 | -23/+48 |
| | |||||
* | display pinned toots first on a user's profile. | mousebot | 2021-05-16 | 2 | -7/+20 |
| | | | | | | | also: profile--relationships-get no longer interactive. and docstrings for fields insert. indent "pinned" for pinned toots display | ||||
* | shrink width of shr-width in -tl--render-text. | mousebot | 2021-05-16 | 1 | -1/+1 |
| | | | | | setting this to window-width minus 1 makes text flow work properly for me with proportional fonts enabled. | ||||
* | add basic display of "fields" (category pairs) on user profiles | mousebot | 2021-05-16 | 1 | -3/+47 |
| | | | | clean up fields mastodon-profile--fields-format | ||||
* | display "follows you" and "followed by you" on user profiles | mousebot | 2021-05-14 | 3 | -11/+41 |
| | |||||
* | copy url of toot at point | mousebot | 2021-05-13 | 2 | -2/+3 |
| | |||||
* | copy url of toot at point | mousebot | 2021-05-13 | 1 | -0/+11 |
| | |||||
* | message when loading timelines and profiles | mousebot | 2021-05-13 | 2 | -2/+9 |
| | |||||
* | implmement mentioning boosters in replies by default | mousebot | 2021-05-13 | 1 | -4/+22 |
| | |||||
* | change search results order: statuses, users, hashtags | mousebot | 2021-05-12 | 1 | -6/+6 |
| | |||||
* | add basic search functions | mousebot | 2021-05-11 | 3 | -2/+150 |
| | |||||
* | add my profile function | mousebot | 2021-05-10 | 3 | -1/+7 |
| | |||||
* | async view profile, async view thread, better prompts | mousebot | 2021-05-09 | 3 | -20/+31 |
| | | | | | | - view profile (using make-profile-buffer-for). - user confirm to delete toot. - better follow/mute/block/profile prompts | ||||
* | Rewrite `mastodon-auth--access-token` so it handles errors. | Ian Eure | 2021-05-09 | 2 | -7/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, `mastodon-auth--access-token` unconditionally returns the value of the `:access_token` key from the response of `(mastodon-auth--get-token)`. This causes problems when there was an error getting the token, for example, if you enter the wrong password. If a token couldn’t be retrieved, the JSON looks like: (:error "invalid_grant" :error_description "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.") Since there is no `:access_token` key, `mastodon-auth--access-token` returns `nil`, which results in a broken header in the next request: Authorization: Bearer Which causes the whole thing to freeze Emacs until you mash `C-g`. This commit rewrites the function to handle that case; to explicitly signal an error for *any* response that isn’t expected; to use `if-let`, which allows the temporary `token` variable to be eliminated; uses `pcase` to determine what kind of response was received; and adds ERT tests for all these cases. | ||||
* | Guard against the old version of Emacs which mastodon.el supports. | Ian Eure | 2021-05-09 | 1 | -3/+7 |
| | |||||
* | SWAG at moving to an async network model. | Ian Eure | 2021-05-09 | 2 | -43/+95 |
| | |||||
* | Set a HTTP timeout. | mousebot | 2021-05-09 | 1 | -2/+5 |
| | | | | This prevents mastodon.el from locking Emacs and spinning forever. | ||||
* | mute/unmute, block/unblock funs and bindings | mousebot | 2021-05-08 | 2 | -2/+103 |
| | |||||
* | unfollow user fun | mousebot | 2021-05-08 | 2 | -1/+27 |
| | |||||
* | indent toots/foll/following on profile | mousebot | 2021-05-08 | 1 | -1/+1 |
| | |||||
* | add toot/follows/followers counts to profile buffer | mousebot | 2021-05-08 | 1 | -1/+11 |
| | |||||
* | re-write follow-user fun with completing read | mousebot | 2021-05-08 | 1 | -12/+20 |
| | |||||
* | follow user binding | mousebot | 2021-05-07 | 1 | -0/+1 |
| | |||||
* | follow user or booster of toot at point fun | mousebot | 2021-05-07 | 1 | -0/+17 |
| | |||||
* | move profile mode map bindings to free up 'f'/'F' | mousebot | 2021-05-07 | 1 | -2/+2 |
| | | | | - this way you can favorite posts when viewing a profile | ||||
* | fix newlines before after posts | mousebot | 2021-05-07 | 1 | -4/+5 |
| | |||||
* | restore newline btw post body and byline | mousebot | 2021-05-07 | 1 | -0/+1 |
| | |||||
* | cherry pick ieure's cosmetic changes | mousebot | 2021-05-07 | 2 | -6/+6 |
| | |||||
* | docstring | mousebot | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | delete toot keybinding | mousebot | 2021-05-06 | 1 | -0/+2 |
| | |||||
* | add delete toot function | mousebot | 2021-05-06 | 2 | -0/+22 |
| | |||||
* | Update copyright and bump version | Johnson Denen | 2019-03-04 | 11 | -19/+19 |
| | |||||
* | Update discover function with new keybindings | Johnson Denen | 2019-03-04 | 1 | -7/+7 |
| | |||||
* | Update README for keybinding changes | Johnson Denen | 2019-03-04 | 1 | -34/+30 |
| | |||||
* | Close #199 with keybinding refactor | Johnson Denen | 2019-03-04 | 1 | -16/+18 |
| | |||||
* | Update README | Johnson Denen | 2019-03-04 | 1 | -3/+10 |
| | |||||
* | Refactor mastodon-discover functionality | Johnson Denen | 2019-03-04 | 2 | -31/+32 |
| | |||||
* | Fix #219 no `with-eval-after-load` in the code (#220) | H Durer | 2019-03-04 | 3 | -32/+78 |
| | | | | The package-lint logic is too daft to cope with this (you cannot even mention it in a comment). We now move the discover functionality into its own package and just mention in the README file how to make use of it. | ||||
* | Explitly require json.el in files where we dynamically bind its vars. | Holger Dürer | 2019-03-04 | 2 | -0/+3 |
| | | | | | | As pointed out in issue #211 the compiler actually warned the user about `json-array-type` etc. being unused lexical vars. Let's hope that this fixes the errors reported with reading json. | ||||
* | Make the test less fragile | Johnson Denen | 2019-03-04 | 1 | -1/+2 |
| | |||||
* | Make default visibility customizable; add documentation. | Jeremy Dormitzer | 2019-03-04 | 1 | -15/+18 |
| | |||||
* | Add ability to change the visibility | Jeremy Dormitzer | 2019-03-04 | 1 | -3/+14 |
| | |||||
* | Improvements on posting toots. | Holger Durer | 2019-03-04 | 2 | -40/+152 |
| | | | | | | | | | | | | | - Visual feedback in the buffer of: - Number of characters - Content warning flag - Posting visibility - Can't post an empty toot. - Changing visibility to something other than "public". Still missing: - Attaching media - Enabling the NSWF-flag toggling. | ||||
* | Use the email address of the current user as default (#203) | Jürgen Hötzel | 2019-03-04 | 2 | -2/+2 |
| | | | | * Use the email address of the current user as default | ||||
* | Update README | Johnson Denen | 2018-08-10 | 1 | -32/+34 |
| | |||||
* | Bump to version 0.8.0 | Johnson Denen | 2018-08-10 | 8 | -8/+8 |
| | |||||
* | Fix boosting and faving in the notifications buffer. | Holger Dürer | 2018-08-10 | 2 | -6/+12 |
| | | | | Now that we calculate the base toot id, we can ensure that it is unset in notifications that do not represent a toot. | ||||
* | Fix the boosting/favouriting of statuses in profiles. | Holger Durer | 2018-08-10 | 3 | -5/+9 |
| | | | | | | | (Favouriting itself is still hard since we have clobbered the 'f' keybinding, but if you bind it to something else or invoke it via `M-x mastodon-toot--toggle-favourite` then at least it works.) This also changes the regular boosting/favoriting behavior. Before we would boost/fav a boost or fav instead of the actual toot that was boosted/faved. With this change we always boost/fav the base toot. To do this we now keep a second toot id (with the base toot) in the byline's properities. (For regular statuses 'toot-id and 'base-toot-id will be identical.) |