aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | buffer local keymap, error handling, make filters nicermousebot2022-02-152-36/+81
| | | | | | | | | | | | | | | | | | | | | | | | - separate goto-next/prev-filter commands - we use properties toot-id and byline so the navigation works, calqued on - goto-prev/next-toot - error handle no word or context supplied - reload filters view on create or delete
| * | Merge branch 'develop' into filtersmousebot2022-02-145-58/+171
| |\ \
| * | | view and delete filtersmousebot2022-02-141-1/+58
| | | |
| * | | second crack at create filtermousebot2022-02-091-11/+17
| | | |
| * | | fix go to first toot on thread loadmousebot2022-02-071-15/+15
| | | |
| * | | create filter first crackmousebot2022-02-071-0/+18
| | | |
| * | | --search-accounts-query use http--apimousebot2022-02-071-1/+1
| | | |
| * | | add go to next toot to tl--threadmousebot2022-02-071-1/+2
| | | |
* | | | factor out a decent insert-follow-requests funmousebot2022-02-151-1/+15
| | | |
* | | | replace all calls to mastodon-search--insert-users-propertizedmousebot2022-02-153-25/+5
| |_|/ |/| | | | | | | | with calls to mastodon-profile--add-author-bylines.
* | | improve use of goto-next-toot on timeline loadingmousebot2022-02-151-3/+10
| | |
* | | make accept/reject foll reqs cmds avail in foll reqs view!mousebot2022-02-152-1/+15
| |/ |/|
* | autoload -search--get-user-info for follow suggestionsmousebot2022-02-141-0/+1
| |
* | autoload http--api in search.elmousebot2022-02-131-0/+1
| |
* | make mpv an optional dependencymousebot2022-02-131-7/+9
| | | | | | | | | | | | - keymap / help-echo are conditional on mpv being installed. - maybe mpv (and company, emojify, etc.) should become hard dependencies...
* | docstrings/comments cleanupmousebot2022-02-131-10/+10
| |
* | Merge branch 'develop' into mpv-play-at-pointmousebot2022-02-121-4/+10
|\ \
| * | Fix the timers for auto-updating of relative timestamps.Holger Dürer2022-02-121-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have no idea how this ever worked, already the original commit (https://github.com/mooseyboots/mastodon.el/commit/746694f0ea75f5fa76739d49509836ccd67d7d65?utm_source=pocket_mylist) seems to have passed a time instead of seconds. The docs for `run-at-time` (https://www.gnu.org/software/emacs/manual/html_node/elisp/Timers.html) make it clear that this cannot work. Now we keep the absolute times but upon calling `run-at-time` we convert that to relative seconds from now.
* | | use tl--field to get media attachments infomousebot2022-02-121-4/+2
| | |
* | | move get-media-types / docstrings.mousebot2022-02-121-12/+15
| | | | | | | | | | | | | | | | | | we have to use mastodon-tl--field for the media types. we can't use mastodon-tl--property, as the 'attachments property for the toot doesn't exist yet when we are looking.
* | | add c-ret binding to author-byline help echomousebot2022-02-121-4/+7
| | |
* | | Merge branch 'develop' into mpv-play-at-pointmousebot2022-02-112-17/+10
|\| |
| * | revert to requiring mastodon tootmousebot2022-02-112-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | we always need all the funs for operating on individual toots so this is best. Revert "revert require of mastodon-toot to autoloads" This reverts commit 6a164669e0bffed67ad59c206f13651a67456127.
* | | autoloads and docstringsmousebot2022-02-111-3/+6
| | |
* | | put point after a boost/fave marker on successmousebot2022-02-111-1/+4
| | | | | | | | | | | | | | | | | | this will leave point on the author-byline, which is where we want it to be, as the marker is not strictly part of the byline, and we are adding info/actions to the author-byline.
* | | improve propertizing of boost/fave markersmousebot2022-02-111-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - previously, boost/fave markers behaved differently depending on whether they had just been created by the user, or if they were already existing and loaded with the timeline. in the first case, they'd not be part of the byline, in the second they would be. we make it that they not part of the byline, so `mastodon-tl--goto-next-toot', which works according to text properties, should always put point after them, on the author-byline. this also means that we can add help-echos and actions to the author byline without having to worry about also adding them to the boost/fave markers. fix call to format-faved-or-boosted-byline
* | | implement playing toot's moving image when point is on author bylinemousebot2022-02-111-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - new: mpv-play-video-from-byline - new: find-first-video-in-attachments, returns first moving image attachment from the toot - edit mpv-play-video-at-point to accept args url and type - attachments type/url are now stored in attachments property of the byline - fetched with get-attachments-for-byline - keymap byline-keymap to allow playing with C-RET
* | | display toot's media type when on author bylinemousebot2022-02-111-15/+33
| | |
* | | replace if call with or call in tl--mediamousebot2022-02-111-4/+3
| | |
* | | Merge branch 'develop' into mpv-play-at-pointmousebot2022-02-1113-95/+143
|\| |
| * | --search-accounts-query use http--apimousebot2022-02-071-1/+1
| | |
| * | add go to next toot to tl--threadmousebot2022-02-071-13/+15
| |/ | | | | | | fix go to first toot on thread load
| * implement follow suggestions.mousebot2022-02-072-15/+45
| | | | | | | | | | | | | | | | | | | | | | this factors out display of accounts from mastodon-search--search-query into mastodon-search--insert-users-propertized. mastodon-tl--get-follow-suggestions is the fun to view suggestions. seeing as this allows easy display of profile note under the account handle, i also added this display to --search-query, but it cd be easily disabled by calling --insert-users-propertized without its second arg.
| * message when notificiations--timeline returns nothing.mousebot2022-02-051-2/+4
| |
| * place point on byline of first toot on timeline load.mousebot2022-02-051-0/+1
| |
| * message for no follow reqs in add-author-bylines funmousebot2022-02-051-14/+16
| |
| * don't call mastodon-profile-mode in profile--view-follow-requestsmousebot2022-02-051-1/+0
| | | | | | | | | | | | | | it's now called in tl-init* for follow requests inits. calling it here also enables profile mode in whatever bufer view-follow-reqs was called from, which is useless.
| * revert require of mastodon-toot to autoloadsmousebot2022-02-052-11/+17
| | | | | | | | | | - use (autoload) call in mastodon.el for functions - use autoload cookie in mastodon-tool.el for customize options.
| * update homepage and copyright boilerplatemousebot2022-02-0513-19/+19
| |
| * autoload fix for mastodon-notifications--get; set interative to tmousebot2022-01-301-1/+3
| | | | | | | | | | to make `mastodon-notifications--get' available outside our keymap as it needs to be available to evil users and via M-x. otherwise there's no way to run it.
| * handle a buggy empty notificationmousebot2022-01-152-18/+20
| | | | | | | | | | | | i received an notification (also in other clients/web interface) attached to no toot. these checks should allow notifications view to display without tripping up on any such vacant notifs from the server.
| * autoloadsmousebot2022-01-151-0/+2
| |
* | disable moving image overlaymousebot2022-01-151-14/+14
| | | | | | | | | | due to the bug the displays it before (point-min) if you load a timeline more than once :/
* | Merge branch 'develop' into mpv-play-at-pointmousebot2022-01-153-18/+26
|\|
| * keep mastodon-toot--max-toot-chars a number not a string.mousebot2022-01-121-4/+3
| | | | | | | | | | we use it as a number various times so let's leave it a number, then convert to string for display in toot info.
| * byte compile warningsmousebot2022-01-111-2/+3
| |
| * 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.
* | try an all-the-icons icon. not too sure about it tho.mousebot2022-01-111-1/+6
| | | | | | | | its unicode