aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* search: use toot-json propertize not user-json, for compatmousebot2022-02-181-1/+1
|
* use search-insert-users-propertized for foll reqsmousebot2022-02-181-1/+3
| | | | | | not prifile--add-author-bylines autoload insert-users-propr in -profile
* handle empty display_name in search--get-user-infomousebot2022-02-181-1/+3
| | | | ensures we hever have an empty author name slot
* tl--init: aslo set tl-buffer-spec before update-functionmousebot2022-02-181-4/+20
|
* improve check for any existing masto buffers on mastodon loadmousebot2022-02-171-4/+9
|
* no faves counts for following/followers in profile viewmousebot2022-02-171-1/+6
|
* make interactive-user-handles-get work for all profile viewsmousebot2022-02-171-2/+4
| | | | | | | | - profile statuses: leave as is - profile followers/following: we extract handle direct from toot-json without running mastodon-profile--extract-users-handles on the toot, as with user views there is no toot
* run goto-first-item in tl--init, unless profile viewmousebot2022-02-172-17/+15
| | | | | | | | - remove call to goto-next-item from view filters and view foll suggests tweak init-sync goto-first-item behaviour remove call to goto-next-toot on profile load
* cleanup indentation in tl.elmousebot2022-02-173-76/+76
| | | | cleanup indents
* fix view filters/foll suggestsmousebot2022-02-172-27/+19
| | | | | | | | | | | | | | | | | | | | - they get keymaps that inherit and so override the main masto keymap, which allows them to still have the basic timeline/view nav functions. - but we give them next-item rather than next toot so that they never try to e.g. load for toots into the buffer, which wouldn't work. - also remove the reference to foll requests view in tl--init as it is not longer needed. binding for follow suggestions remove tab from foll suggests keymap makes tab work as default, which means you can n/p to next/prev user, while still being able to tab to user next handle, to visit profile squashed commit: remove foll suggestions keymap
* fix up follow requests view: own inheriting keymapmousebot2022-02-171-9/+20
| | | | uses init-sync now also
* remove unused let binding user-idsmousebot2022-02-171-2/+3
|
* rename goto-first-toot to goto-first-itemmousebot2022-02-171-5/+7
| | | | and enable it in "favourites" buffer
* re-factor follow-user functions for various viewsmousebot2022-02-173-31/+43
| | | | | | | | | | | | | | - revert profile--extract-users-handles - rewrite search--insert-users-propertized to handle raw account JSON, and to call search--get-user-info itself, so we can add full acct JSON to each user displayed and use it for follow-user etc. - and to choose how we want to follow users, we edit tl--interactive-user-handles-get to work differently depending on context: - poss contexts are "follow suggestions" view, search results, and profiles displaying a user's followers/followed users.
* move next/prev item funsmousebot2022-02-171-15/+15
|
* Revert "replace all calls to mastodon-search--insert-users-propertized"mousebot2022-02-172-3/+23
| | | | This reverts commit 787f18dcff2ee7a4c5a5cbf331f4e2d26997e1cc.
* Revert "move faves count help-echo propertize into tl--byline"mousebot2022-02-171-32/+31
| | | | This reverts commit 48a89e518d0a84d4b81c223c9e8cf151df619b1f.
* fix reload on filter create in filter viewmousebot2022-02-171-2/+3
|
* improve follow suggestionsmousebot2022-02-171-17/+31
| | | | suggestions fix fun names(!)
* move faves count help-echo propertize into tl--bylinemousebot2022-02-152-32/+37
| | | | | | | | | this means that we only do the propertizing when we are actually doing an author byline, docstring for add-author-bylines it also needs renaming
* add mini docs for foll reqs viewmousebot2022-02-152-2/+6
| | | | reload foll reqs view on accept/reject
* invert if call in filters insertmousebot2022-02-151-11/+10
|
* add generic goto-next/prev-item funs for filters/foll reqsmousebot2022-02-152-9/+11
| | | | fix remnant call to goto-next-filter
* make profile--extract-user-handles compat with foll req viewmousebot2022-02-151-1/+6
| | | | | | this allows following users directly from foll req views made extract-users-handles work with follwers/following in profile view
* more robust goto-first-toot on timeline/thread loadmousebot2022-02-151-6/+16
| | | | rather than using goto-next-toot, which loops when we have no items in buffer
* Merge branch 'filters' into developmousebot2022-02-152-1/+126
|\
| * fix view filters bindingmousebot2022-02-151-1/+1
| |
| * Merge branch 'develop' into filtersmousebot2022-02-152-4/+25
| |\
| * | 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
|\| |