aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Reformat all code.Holger Dürer2021-11-061-2/+2
| | | | | | | | | | | Basically, in Emacs for each file: select all text and `indent-region`. - This also removes one redundant comment, and - fixes an error with json decoding where the `json-read-from-string` was actually not within the intended `unless` clause (which explains the warning about "result of (string-equal "" json-string) will be ignored" which I never understood.
* Fix tests.Holger Dürer2021-11-011-1/+1
| | | | | | | | | | | | These needed a bit of tender love and care to get back into passing state. - Move the auth tests to the `test` directory. No idea what it was doing in `lisp`. - Image tests are mostly broken because with later Emacsen we no longer need the `imagemagic` option on create-image. - Some method signatures have changed and mocking calls needed to follow suit.
* require mastodon-toot in mastodon.el, for customize visibilitymousebot2021-10-281-9/+10
| | | | - & no need for all other mastodon-toot autoloads
* mastodon-async readmemousebot2021-10-281-0/+1
|
* rewrite bookmark-toot as togglemousebot2021-10-231-1/+2
|
* bookmark-toot keybindingmousebot2021-10-221-0/+1
|
* flycheck, autoloads, docstringsmousebot2021-10-221-1/+2
|
* bookmarks keybindingmousebot2021-10-221-0/+2
|
* replies to toots adopt their visibility status by default.mousebot2021-10-211-3/+2
| | | | | | | | | this makes it so that if you reply to a direct message, your toot will also be direct by default. - we feed the reply's full toot JSON through the chain of functions called, all the way down to "setup-as-reply". that way, if anything else needs to be extracted when setting up a reply, it's all there.
* kill-current-buffer instead of kill-this-buffermousebot2021-10-011-1/+1
| | | | | kill-this-buffer doesn't always work if not called from the menu bar, as stated in its docstring.
* basic delete-and-redraft-toot, text status only for now.mousebot2021-09-231-0/+2
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-9/+9
|
* functions to vote on polls in timelines, bound to "v"mousebot2021-08-091-1/+3
| | | | - masto view favorites binding moved to "V", in line with other separate views being in capitals
* follow requests accept/reject from notifications +mousebot2021-08-091-0/+4
| | | | | | | - new bindings for f-req accept/reject (in both notifs and in f-req views) - check if we are at an f-req before accept/rejecting - flycheck / docstrings - fix notifs byline formatting for f-reqs
* hack to ensure toot buffer bindings are always enabled.mousebot2021-06-191-1/+1
| | | | | | | | make mastodon-toot-mode is run in mastodon-toot--compose-buffer before after-change-functions bugs. this makes mastodon-toot work properly even if mastodon-mode has not yet been run/loaded yet.
* typos and readmemousebot2021-06-141-1/+1
|
* use mastodon-auth--user-acct instead of get-account-name in mastodonmousebot2021-06-081-2/+3
| | | | | | the former first checks if the value is stored in var mastodon-auth--acct-alist, and only makes a request if it doesn't get the handle from there. and if run it also stores the value.
* only get-home-timeline if mastodon buffers not already open.mousebot2021-06-071-2/+15
| | | | requires cl-lib
* implement updating user profile notemousebot2021-06-051-1/+3
| | | | | uses a tiny minor mode 'profile-update', with bindings. U is a general binding for it.
* enable async stream for user notifications.mousebot2021-06-031-0/+5
| | | | creates a notifications filter for the 'user' stream, then handles display of notifications, which have their own timeline funs.
* add basic live updates of home/local/federated timelines.mousebot2021-06-011-0/+6
| | | | | the code, mastodon-async.el is taken from https://github.com/alexjgriffith/mastodon-future.el and only slightly modified to make the home stream work.
* foll reqs/faves bindings global, autoloads and declarations, readmemousebot2021-06-011-0/+2
|
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|
* add request and seq as dependencies, flycheck cleanups, andmousebot2021-05-271-1/+2
| | | | move http search funs into http.el
* pin/unpin now toggle fun, and moved copy/delete to mastodon-toot.mousebot2021-05-251-6/+6
|
* pin/unpin toot funs, delete toot now tests if toot is own.mousebot2021-05-241-0/+2
|
* add new functions to discover menu, and autoloads.mousebot2021-05-161-0/+9
|
* display "follows you" and "followed by you" on user profilesmousebot2021-05-141-1/+2
|
* copy url of toot at pointmousebot2021-05-131-0/+2
|
* add basic search functionsmousebot2021-05-111-0/+2
|
* add my profile functionmousebot2021-05-101-0/+1
|
* async view profile, async view thread, better promptsmousebot2021-05-091-1/+2
| | | | | | - view profile (using make-profile-buffer-for). - user confirm to delete toot. - better follow/mute/block/profile prompts
* mute/unmute, block/unblock funs and bindingsmousebot2021-05-081-0/+4
|
* unfollow user funmousebot2021-05-081-0/+1
|
* follow user bindingmousebot2021-05-071-0/+1
|
* cherry pick ieure's cosmetic changesmousebot2021-05-071-1/+1
|
* delete toot keybindingmousebot2021-05-061-0/+2
|
* Update copyright and bump versionJohnson Denen2019-03-041-2/+2
|
* Close #199 with keybinding refactorJohnson Denen2019-03-041-16/+18
|
* Refactor mastodon-discover functionalityJohnson Denen2019-03-041-0/+1
|
* Fix #219 no `with-eval-after-load` in the code (#220)H Durer2019-03-041-31/+0
| | | | 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.
* Bump to version 0.8.0Johnson Denen2018-08-101-1/+1
|
* Rebind and document some keybindingsJohnson Denen2018-08-101-3/+7
|
* Clean up whitespaceJohnson Denen2018-08-101-1/+1
|
* More profile work (#193)H Durer2018-08-101-3/+5
| | | | | | | | | | | | * Add an alternative approach to user profile opening. This way asks the user in the minibuffer for the handle and offering completion for all user handles in the current status but allowing the user to also enter any other handle to browse whichever account they wish. This also cleans up some compiler warnings about profile code. * Create a new minor mode for mastodon profile pages. There we override the 'f' and 'F' keys to show following and followers respectively. Those pages now look very similar to the regular profile page (with a header).
* Adjusted mastodon-tl.el to open user profiles in emacs. (#189)Alexander Griffith2018-08-101-0/+1
| | | | | | * Adjusted mastodon-tl.el to open user profiles in emacs. This also fixes an issue in user profiles where new statuses were insert at the above rather than below the user profile header.
* Add user profiles closes #165 (#186)Alexander Griffith2018-08-101-0/+4
| | | | | | | | * Add user profiles - added keybinding U for opening user profiles - (also added vimish keybindings 'h' and 'l' as aliased for tab and stab in mastodon-mode to compliment jk nav) - autoloads 'mastodon-profile--get-next-author
* added mastodon-notifications--get to mastodon.el load in. (#185)Alexander Griffith2018-08-101-0/+1
|
* Some small tweaks to our keymap handling. (#183)H Durer2018-08-101-24/+30
| | | | | - Use special mode which sets up a sensible base keymap. - Define the keymap just once so that users can tweak it as they wish without us messing with that on each invocation of mastodon-mode.
* Adds the notification timeline to mastodon.el closing #34. (#178)Alexander Griffith2018-08-101-0/+1
| | | | | | | - Can now handle notifications (follow reblog favourite and mention) - Tests for each of the rendering functions are included - Added keybinding N to mastodon.el for mastodon-notifications-get - added mastodon-notifications to ert-helper.el