aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * foll reqs/faves bindings global, autoloads and declarations, readmemousebot2021-06-015-15/+21
| |
| * bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-3113-26/+26
| |
| * travis.yml, move to new cask install methodmousebot2021-05-312-4/+2
| |
| * view favourites fun, and view/accept/reject follow requests funs.mousebot2021-05-303-3/+69
| | | | | | | | | | | | | | and bindings. view-follow-requests makes mastodon-tl--init run in mastodon-profile-mode just so that its bindings can be restricted to that minor mode.
| * only show pinned statuses for "statuses" profile buffermousebot2021-05-301-2/+2
| |
| * http: docstrings and move delete funmousebot2021-05-301-11/+11
| |
| * add request and seq as dependencies, flycheck cleanups, andmousebot2021-05-274-38/+45
| | | | | | | | move http search funs into http.el
| * flychecks and autoloadsmousebot2021-05-264-6/+13
| |
| * clean up media upload in http.elmousebot2021-05-261-1/+1
| |
| * typos in tl and http error responses in http.el for attachmentsmousebot2021-05-262-4/+7
| |
| * Support basic displaying of polls.mousebot2021-05-251-1/+17
| |
| * pin/unpin now toggle fun, and moved copy/delete to mastodon-toot.mousebot2021-05-254-74/+60
| |
| * pin/unpin toot funs, delete toot now tests if toot is own.mousebot2021-05-242-8/+53
| |
| * typos in -tl, thread* no longer interactive.mousebot2021-05-241-5/+5
| |
| * implement uploading and posting of media attachments.mousebot2021-05-242-25/+115
| | | | | | | | | | | | uses request library and requires curl backend. supports multiple files upload and marking media as sensitive.
| * Implement clickable images with shr-browse-image.mousebot2021-05-213-6/+26
| | | | | | | | | | | | | | | | images are tab stops. click or RET runs shr-browse-image. a prefix arg copies the URL. images use the mastodon-tl--shr-image-map-replacement for extra functions like zoom image, save image, rotate image, etc.
| * enable tab-stops for links/handles/hashtags in profile note.mousebot2021-05-211-1/+2
| |
| * pinned toots implemented properly, make-buffer-for revert to synchromousebot2021-05-212-31/+26
| | | | | | | | better pinned toots formatting
| * make the boosts/favorite byline text in notifications less ambiguousmousebot2021-05-211-2/+2
| |
| * fix propertizing of "B" for boost in bylinemousebot2021-05-191-1/+1
| |
| * autoloads in profile.elmousebot2021-05-181-0/+4
| |
| * enable live, propertized handle links and tags in searchmousebot2021-05-181-33/+37
| |
| * message for notifs load, tiny search.el cleanupmousebot2021-05-172-12/+15
| |
| * split mastodon-tl--timeline back into two functions.mousebot2021-05-172-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.mousebot2021-05-163-8/+32
| |
| * clean-up edits after flycheck/bytecompile.mousebot2021-05-165-23/+48
| |
| * display pinned toots first on a user's profile.mousebot2021-05-162-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.mousebot2021-05-161-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 profilesmousebot2021-05-161-3/+47
| | | | | | | | clean up fields mastodon-profile--fields-format
| * display "follows you" and "followed by you" on user profilesmousebot2021-05-143-11/+41
| |
| * copy url of toot at pointmousebot2021-05-132-2/+3
| |
| * copy url of toot at pointmousebot2021-05-131-0/+11
| |
| * message when loading timelines and profilesmousebot2021-05-132-2/+9
| |
| * implmement mentioning boosters in replies by defaultmousebot2021-05-131-4/+22
| |
| * change search results order: statuses, users, hashtagsmousebot2021-05-121-6/+6
| |
| * add basic search functionsmousebot2021-05-113-2/+150
| |
| * add my profile functionmousebot2021-05-103-1/+7
| |
| * async view profile, async view thread, better promptsmousebot2021-05-093-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 Eure2021-05-092-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 Eure2021-05-091-3/+7
| |
| * SWAG at moving to an async network model.Ian Eure2021-05-092-43/+95
| |
| * Set a HTTP timeout.mousebot2021-05-091-2/+5
| | | | | | | | This prevents mastodon.el from locking Emacs and spinning forever.
| * mute/unmute, block/unblock funs and bindingsmousebot2021-05-082-2/+103
| |
| * unfollow user funmousebot2021-05-082-1/+27
| |
| * indent toots/foll/following on profilemousebot2021-05-081-1/+1
| |
| * add toot/follows/followers counts to profile buffermousebot2021-05-081-1/+11
| |
| * re-write follow-user fun with completing readmousebot2021-05-081-12/+20
| |
| * follow user bindingmousebot2021-05-071-0/+1
| |
| * follow user or booster of toot at point funmousebot2021-05-071-0/+17
| |
| * move profile mode map bindings to free up 'f'/'F'mousebot2021-05-071-2/+2
| | | | | | | | - this way you can favorite posts when viewing a profile