aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
| * cancel original scheduled toot if edited/rescheduledmarty hiatt2022-11-291-4/+5
| |
| * add var scheduled-id, so we can cancel it if we reschedulemarty hiatt2022-11-291-1/+2
| |
| * refactor set toot properties, autoloads, docstrings, fixesmarty hiatt2022-11-291-24/+17
| |
| * work on scheduling toots, editing as new, display scheduled tsmarty hiatt2022-11-291-15/+35
| |
| * view, reschedule, cancel scheduled tootsmarty hiatt2022-11-281-0/+98
| |
* | tl.el section headingsmarty hiatt2022-11-291-1/+3
|/
* Better wording for nowNicolas P. Rougier2022-11-281-1/+1
|
* Modify relative time strings such as all string are <= 12 charactersNicolas P. Rougier2022-11-271-6/+6
|
* update copyright/author attributionmarty hiatt2022-11-271-0/+1
|
* remove redundant str varmarty hiatt2022-11-271-3/+3
|
* autoloads and docstringsmarty hiatt2022-11-271-2/+7
|
* unmute or mute a threadmarty hiatt2022-11-271-5/+24
|
* add tl--mute-threadmarty hiatt2022-11-271-0/+40
|