aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'single-toot-view' into developmarty hiatt2022-08-201-10/+56
|\
| * --thread: detailed-p for current toot in thread contextmarty hiatt2022-08-041-5/+5
| | | | | | | | and load single toot if no thread
| * add single toot viewmarty hiatt2022-07-291-5/+51
| | | | | | | | | | | | - add detailed-p optional args to --byline, --insert-status --toot - for now, --byline just prints the app used if detailed-p - mastodon-tl--single-toot new fun to display
* | tl--byline: add bookmarked-p propmarty hiatt2022-08-201-0/+1
| |
* | tl--insert-status: fetch base-toot-id from parent-toot if presentmarty hiatt2022-08-201-1/+3
| |
* | FIX bookmark toggle, updating display in bylinemarty hiatt2022-08-201-4/+4
| | | | | | | | just boilerplate copying fave/boost funs for now, better than nothing.
* | use bookmark emoji if possiblemarty hiatt2022-08-191-2/+6
| |
* | FIX the post visibility marker displayable checkmarty hiatt2022-08-191-2/+2
| |
* | format for bookmarked toots, help-echo for B/F/K format charsmarty hiatt2022-08-191-4/+15
| |
* | docstringmarty hiatt2022-08-191-1/+1
| |
* | tl--init*: fix a stray bracketmarty hiatt2022-08-191-8/+7
| |
* | rename do-if-toot -- add tl prefixmarty hiatt2022-08-191-7/+7
| |
* | fix formatting of unmute-usermarty hiatt2022-08-101-1/+2
| |
* | -tl--do-if-toot macromarty hiatt2022-08-101-48/+43
|/
* --thread: use --api for get-json url for tootmarty hiatt2022-07-271-4/+2
|
* --thread: fetch current toot before printing threadmarty hiatt2022-07-261-1/+6
| | | | fixes #264, where if you fave a toot then enter its thread, fave status is lost.
* no fave counts for fol-req notifsmarty hiatt2022-07-231-1/+8
|
* tl--thread: FIX fetching of toot id for notifs/use parent tootmarty hiatt2022-06-271-2/+7
|
* --get-buffer-property: or rather than ifmarty hiatt2022-06-271-4/+3
|
* tl--more: message before and after appending more toots.mousebot2022-05-131-1/+3
| | | | | | | | | this user feedback prevents hitting 'n' running tl--more again before toots have been appended, when what the user wanted was only to naviagate to the next too after they'd been appended. running tl--more before toots are appended causes a bug of appending the same set of toots twice.
* flychecks and docstringsmousebot2022-04-051-1/+2
|
* attach parent JSON to fave/boost notifs to fix repliesmousebot2022-03-191-2/+3
| | | | | | | because we switched to using boost/fave JSON rather than parent, as 'toot-json, replies to these toots were broken (mentions, etc.) so now we attach both bits of data and selectively pull from each.
* make timestamps for boost/fave notifs the time of orig tootmousebot2022-03-121-4/+13
| | | | | | | | | | | | do not use the time stamp of the boosting/faving. in other views, mastodon-tl--field already handles this by fetching from 'reblog if present, but in notifs, there's no reblog section, and instead there's a status section. so we fetch from status if present, else fallback to using --field. this became necessary when we started attaching the boost/fave json to such notifs, rather than the json of the boosed/faved toot.
* fix follow etc user when point on profile header infomousebot2022-03-111-10/+16
| | | | | | | | we just modify the if test to not run in accounts buffers, which means we end up using the next-toot solution, as was originally the case. hopefully a profile view will always have a toot or user or sth. else we cd find a better solution
* favourite not favoritemousebot2022-03-111-2/+2
|
* display image caption in help echomousebot2022-03-101-2/+3
|
* test for toot-json before following/muting/blocking etcmousebot2022-02-181-28/+42
| | | | | | | | | | | this is more needed now that we have some other buffers like follow suggestions and follow requests, which want to be able to use these functions. previously, if any of them were called in these buffers when not on the correct item, the buffer would reload and duplicate. ultimately this was probably due to tl--property calls failing, which causes goto-next-toot to be called, which when it also fails calls tl--more.
* FIX buffers that use alt acct fetch in interactive-user-handles-getmousebot2022-02-181-8/+8
|
* handle empty display_name in mastodon-tl--do-user-action-and-responsemousebot2022-02-181-1/+3
|
* tl--init: aslo set tl-buffer-spec before update-functionmousebot2022-02-181-4/+20
|
* 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-171-16/+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-171-51/+51
| | | | cleanup indents
* fix view filters/foll suggestsmousebot2022-02-171-27/+18
| | | | | | | | | | | | | | | | | | | | - 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
* 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-171-3/+12
| | | | | | | | | | | | | | - 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-171-1/+1
| | | | 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-151-31/+32
| | | | | | | | | 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
* invert if call in filters insertmousebot2022-02-151-11/+10
|
* add generic goto-next/prev-item funs for filters/foll reqsmousebot2022-02-151-7/+7
| | | | fix remnant call to goto-next-filter
* 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-151-1/+124
|\
| * Merge branch 'develop' into filtersmousebot2022-02-151-4/+12
| |\
| * | buffer local keymap, error handling, make filters nicermousebot2022-02-151-36/+79
| | | | | | | | | | | | | | | | | | | | | | | | - 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-141-39/+141
| |\ \