aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* FIX local mentions/links checkingmousebot2022-01-111-9/+9
| | | | | | | | | | | we remove the hacky non-check for a user handle from mastodon-tl--process-link, so that it /always/ runs mastodon-tl--extract-userhandle-from-url. the in extract-userhandle-from-url, we test if the url host = local instance. if so, we just return buffer-text, which = "@user", with no suffix. else we return a full "@user@instance.url" handle. remove unused var after fix to userhandle parsing
* FIX fetching max toot length from servermousebot2022-01-111-4/+12
| | | | | | | | some servers have 'max_toot_chars, but others seem to have 'max_characters, under statuses, under configuation. we allow for both types, but also we check our var isn't nil before trying to check it's length, which broke toot--send in some cases.
* add support for poll notificationsmousebot2022-01-101-4/+12
| | | | finally we now display all types of notifications! it's about bloody time.
* refactor notification functionsmousebot2022-01-031-75/+48
|
* fix follow-request-process: change "accept" to "authorize"mousebot2021-12-291-7/+8
|
* pleroma compat commentmousebot2021-12-251-0/+1
|
* reload on pin togglemousebot2021-12-251-2/+6
|
* Merge branch 'insert-status-refactor' into developmousebot2021-12-242-17/+9
|\
| * refactor mastodon-notifications--insert-statusmousebot2021-12-242-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | which was a copy of mastodon-tl--insert-status. we revert to having just the latter as main function with optional argument. mastodon-notifications--insert-status just calls it with the arg ID. the reason we need the difference is to ensure notifications have their own ID, and not that of the toot the notif refers to, attached as property "toot-id". then we have all functionality working on notifications, such as boosting mentions and so on.
* | refactor follow request accept/reject functions.mousebot2021-12-243-82/+33
|/ | | | | | | | | | 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.
* text-mode for toot compose buffermousebot2021-12-241-1/+1
| | | | and remove duplicate mastodon-toot-mode call.
* tiny ediff clean up 2.mousebot2021-12-232-5/+3
|
* Merge branch 'main' into developmousebot2021-12-232-13/+11
|\
| * apply pleroma patch from #208mousebot2021-12-231-0/+2
| |
| * tiny cleanups after Ediff main / mastermousebot2021-12-231-14/+10
| |
| * remove all ^M from update profile note buffermousebot2021-12-211-0/+1
| |
| * override 'O' binding on links to my-profilemousebot2021-12-211-0/+2
| |
* | remove all ^M from update profile note buffermousebot2021-12-211-0/+1
| |
* | override 'O' binding on links to my-profilemousebot2021-12-211-0/+2
| |
* | docstring and move pin toot togglemousebot2021-12-201-21/+18
| |
* | improve delete toot testsmousebot2021-12-201-0/+2
| |
* | remove old commentsmousebot2021-12-201-6/+1
| |
* | refactoring delete/redraft functionsmousebot2021-12-201-37/+43
| |
* | typos and docstringsmousebot2021-12-203-9/+13
|/
* autoload typomousebot2021-12-171-1/+1
|
* improve faves count help-echo propertizingmousebot2021-12-171-10/+30
| | | | | | | | - add `mastodon-tl--format-faves-count function - handle notifications formatting (get 'status field of toot) - apply to author-byline formatting - apply to the (F) and (B) formatting for faves/boosts - ensures where point lands after `mastodon-tl--goto-next-toot is always propertized
* y-or-n-p before cancelling a toot.mousebot2021-12-171-1/+7
|
* mapcar* -> cl-mapcar in -tl.elmousebot2021-12-171-3/+2
|
* bump version to a round numbermousebot2021-12-1713-13/+13
|
* cl-lib not cl for mapcar* in -tlmousebot2021-12-171-2/+2
|
* boilerplate maintainer contactmousebot2021-12-1713-1/+16
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-1713-25/+37
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.
* bump version, change homepage link, readmemousebot2021-12-1713-26/+26
|
* revert echo faves on toot text in thread viewmousebot2021-12-171-12/+1
| | | | | | because it breaks propertizing of links/handles. so echo faves is now only on byline author name.
* keep "O"/my-profile binding when point on image.mousebot2021-12-171-0/+2
|
* FIX echo faves in thread view clashing with media help-echomousebot2021-12-171-16/+28
| | | | | | | | | | | | | move help-echo propertizing to author name of byline, in `mastodon-tl--byline-author'. so when we use `goto-next-toot' point is on author and we get the help echo and add the same help-echo to `mastodon-tl--content', but only when in thread view. this ensures the propertizing occurs prior to any image propertizing, when will then only replace the faves propertizing for the image part of the given toot. that way we have help echo for images when we want, and faves count otherwise.
* Merge branch 'develop' into echo-faves-in-threadmousebot2021-12-171-24/+29
|\
| * ensure media-attachment is not a dirmousebot2021-12-171-9/+11
| |
| * Merge branch 'immed-async-media-upload' into developmousebot2021-12-171-15/+18
| |\
| | * fix media attachments test before postingmousebot2021-12-171-15/+18
| | | | | | | | | | | | | | | | | | if --media-attachments is non-nil, make sure we have non-nil media-args, and that we have same num of -ids to attach as attachments uploaded.
* | | Merge branch 'develop' into echo-faves-in-threadmousebot2021-12-167-179/+221
|\| |
| * | Merge branch 'immed-async-media-upload' into developmousebot2021-12-162-27/+29
| |\|
| | * attach media test before postmousebot2021-12-151-3/+6
| | | | | | | | | | | | just test that length of --media-attachments == length of --media-attachment-ids.
| | * a first hack to make media uploads immediate and async.mousebot2021-12-152-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | this commit moves the call to -upload-attached-media into -attach-media. upload-attached-media now uploads a single item only, whichever file has just been selected at the prompt. but we still use the list of attached-media to handle preview displays.
| * | refactor notify-user-posts functionsmousebot2021-12-161-25/+32
| | | | | | | | | | | | | | | this updates the functions to toggle receiving notifications when a user posts to work with the newly refactored follow-user function and associated functions.
| * | Merge branch 'develop' into notify-when-postmousebot2021-12-1612-666/+695
| |\ \
| | * \ Merge branch 'develop' into media-typemousebot2021-12-164-134/+112
| | |\ \
| | | * \ Merge branch 'refactor-follows-etc' into developmousebot2021-12-161-120/+76
| | | |\ \
| | | | * | indent-buffer on -tl.elmousebot2021-12-161-14/+14
| | | | | |
| | | | * | refactor un/follow, un/block, un/mute functionsmousebot2021-12-151-116/+72
| | | | |/