aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
Commit message (Collapse)AuthorAgeFilesLines
* mastodon.el: introduce new defcustom `mastodon-active-user'Abhiseck Paira2022-01-131-0/+13
| | | | | | | | | | | Use `mastodon-active-user' and `mastodon-instance-url' to determine which mastodon account the user wants to be active for the current session of Emacs. See the documentation string of this variable for details on how to use it. This new variable becomes necessary to prevent conflict when a user has two accounts on the same instance, that is same value of `mastodon-instance-url'.
* refactor follow request accept/reject functions.mousebot2021-12-241-4/+4
| | | | | | | | | | previously we had duplication of functions depending on whether we were in follow requests view or notificaitons view. now we just check which kind of f-req we have and act accordingly. main function being `mastodon-notifications--follow-request-process'. also updates keybindings for both views. we no longer need them included separately in profile-mode.
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-0/+1
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-171-2/+3
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.
* bump version, change homepage link, readmemousebot2021-12-171-2/+2
|
* customize option to enable custom emoji by default.mousebot2021-12-151-1/+3
|
* move profile--my-profile binding to 'O'mousebot2021-11-101-1/+1
| | | | to avoid using C-S- bindings, which don't always work for others.
* 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
|