aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
Commit message (Collapse)AuthorAgeFilesLines
* docstrings/flychecksmarty hiatt2023-01-281-5/+9
|
* hide-replies doctsring - document prefix argmarty hiatt2023-01-281-1/+3
|
* view whole thread cmd. FIXES #378.marty hiatt2023-01-281-0/+12
|
* add account of toot at point to any list. FIXES #380marty hiatt2023-01-281-2/+14
|
* ignore --hide-replies on profile-statuses viewmarty hiatt2023-01-281-6/+9
|
* tl--more*: handle calling on last toot in thread view. FIXES #384marty hiatt2023-01-271-1/+6
| | | | | | for now we funcall tl--thread not on JSON, but on thread parent ID. this will load whole thread, which may be significantly larger than current thread branch view. maybe need more subtlety, later.
* Merge branch 'hide-replies' into developmouse2023-01-191-18/+31
|\
| * handle hiding replies when loading more toots into a tlmarty hiatt2023-01-151-18/+31
| | | | | | | | | | | | | | | | we add a boolean 'hide-replies' element to the tl--buffer-spec plist. then, in --timeline, we check that boolean and hide replies if so. we add new arg to init in order to hand on and store the prefix arg as a boolean.
* | Merge pull request 'Add option to hide replies' (#365) from ↵martianh2023-01-191-3/+31
|\| | | | | | | | | | | boynux/mastodon.el:hide-replies into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/365
| * Add option to hide repliesMoha2023-01-151-3/+31
| | | | | | | | | | | | Additionally adds a prefix to load timelines with no replies Signed-off-by: Moha <boynux@gmail.com>
* | differentiate edit toot from new tootmarty hiatt2023-01-161-1/+4
| |
* | tl--get-users-followings - set limit to 80marty hiatt2023-01-161-1/+1
| |
* | add single-status check to get-buffer-typemarty hiatt2023-01-161-0/+2
| |
* | buffer-spec for toot-edits history and add check to get-buffer-typemarty hiatt2023-01-161-1/+3
|/
* factor instance response, so own instance isn't within do-if-tootmarty hiatt2023-01-151-55/+67
| | | | | this means we can view own instance without point being near a toot at all, as it should be.
* add list-timeline to timeline-proper-pmarty hiatt2023-01-151-1/+1
|
* factor endpoint/buffer-name fun vars get-buffer-typemarty hiatt2023-01-151-59/+61
|
* Merge branch 'buffer-type-has-toots' into developmarty hiatt2023-01-151-7/+90
|\
| * make sure get-buffer-type really works in all viewsmarty hiatt2023-01-151-33/+35
| |
| * fix set buffer-spec for instance-descriptionmarty hiatt2023-01-151-3/+3
| |
| * add fun --timeline-proper-pmarty hiatt2023-01-141-0/+7
| |
| * add list timelines and scheduled statuses to --get-buffer-typemarty hiatt2023-01-141-2/+6
| |
| * add funs --get-buffer-type and --has-toots-pmarty hiatt2023-01-111-0/+70
| | | | | | | | still need to actually use these in the codebase tho
* | case-insensitive match for --get-link-header-from-responsemarty hiatt2023-01-131-1/+2
|/ | | | | | pleroma uses "link", not "Link". FIXES #352
* customize number of posts displayed in a timeline or account viewmarty hiatt2023-01-111-4/+14
| | | | FIXES #363
* Merge branch 'buffer-spec-update-params' into developmarty hiatt2023-01-101-33/+40
|\
| * optional no-error arg for get-buffer-propertymarty hiatt2023-01-101-8/+10
| | | | | | | | used by update-params and link-header, as they are optionally set in buffer spec
| * tl--get-buff-prop: don't error if we find nothing.marty hiatt2023-01-091-3/+4
| | | | | | | | that way we can call buffer-spec fetch funs without knowing if they're set.
| * factor out mastodon-tl--update-params.marty hiatt2023-01-091-2/+7
| | | | | | | | | | | | | | | | | | we use this so that things don't break when (mastodon-tl--get-buffer-property 'update-params) is called when update-params is not set, which causes an error. we might also just remove the error call in that function and return nil if a buffer prop is not set.
| * store params in buffer-spec, use for updating buffersmarty hiatt2023-01-091-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - store the http parameters used to load and update the current view in `mastodon-tl--buffer-spec` - `mastodon-tl--updated-json` - fetch and use stored parameters for now, local TL, and filtered notifications rely on this tl--more-json-async: handle update-params properly updated-json /more-json-async: fall back to args if no params update docstrings and code commends regarding update-params in buffer-spec
* | remove first empty line in docstringsmarty hiatt2023-01-091-29/+2
|/
* Document `mastodon-tl--set-after-update-marker'Tassilo Horn2022-12-311-0/+3
|
* docstringsmarty hiatt2022-12-301-2/+3
|
* `mastodon-tl--set-after-update-marker' - add `t` to last cond branchmarty hiatt2022-12-301-2/+3
|
* Fix mastodon-tl-position-after-updateTassilo Horn2022-12-291-3/+3
|
* hack tl--update so it works with update fun tl--threadmarty hiatt2022-12-291-11/+16
|
* fix update local tl, tl--update, like tl--moremarty hiatt2022-12-291-2/+5
|
* Merge commit 'pullreqs/350' into developmarty hiatt2022-12-291-1/+35
|\
| * Keep current position of point after updates (fixes #349)Tassilo Horn2022-12-281-1/+35
| | | | | | | | | | Set a marker (mastodon-tl--before-update-marker) before updating the buffer and reset point's position there afterwards.
| * handle nil json response in tl--init*marty hiatt2022-12-281-37/+39
| | | | | | | | | | | | fixes #352 we should almost always have faves and other tls, but not always things like bookmarks.
| * Revert "adapt messaging for following of locked accounts"marty hiatt2022-12-281-26/+14
| | | | | | | | This reverts commit 0eeb429d3531a3c11cc9ea3c3aef258b7c671edb.
| * FIX pagination of local timelinemarty hiatt2022-12-281-5/+6
| |
* | handle nil json response in tl--init*marty hiatt2022-12-291-37/+39
| | | | | | | | | | | | fixes #352 we should almost always have faves and other tls, but not always things like bookmarks.
* | Revert "adapt messaging for following of locked accounts"marty hiatt2022-12-291-26/+14
| | | | | | | | This reverts commit 0eeb429d3531a3c11cc9ea3c3aef258b7c671edb.
* | FIX pagination of local timelinemarty hiatt2022-12-291-10/+20
|/ | | | actually fix Local pagination with tl--more* etc
* adapt messaging for following of locked accountsmarty hiatt2022-12-281-14/+26
|
* mastodon-tl--spoiler: Add error handling to /preferences api querySkylar Hill2022-12-081-2/+6
| | | | | | | | | | | | | mastodon.el currently breaks when trying to load a spoilered toot if the /preferences endpoint returns something unexpected, preventing mastodon-tl--buffer-spec from being set and not automatically enabling the major mode. This is particularly a problem on GoToSocial, which does not currently have the endpoint implemented and instead returns a 404 HTML page, causing a JSON parsing error. This PR adds a simple check which causes the API check in mastodon-tl--spoiler to return null if it errors, thus triggering the default behavior of hiding CW'd toots until opened.
* Merge branch 'schedule-toots' into developmarty hiatt2022-11-301-0/+117
|\
| * edit scheduled post keybindingsmarty hiatt2022-11-301-1/+4
| |
| * make rescheduling without editing work, also with org-read-datemarty hiatt2022-11-291-0/+1
| |