aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* extract endpoint to let var in --threadmarty hiatt2022-11-271-2/+3
|
* add fun mastodon-tl--dm-usermarty hiatt2022-11-271-0/+10
|
* nil the update-fun in buffer-spec for --thread viewsmarty hiatt2022-11-261-4/+3
|
* Merge branch 'develop' into filter-follow-by-langmarty hiatt2022-11-261-52/+62
|\
| * no lambdas allowed in buffer-spec update-function!marty hiatt2022-11-261-2/+2
| |
| * --set-buffer-spec everywhere(?) and include handle/instance urlmarty hiatt2022-11-261-4/+9
| | | | | | | | set buffer spec in view instances description
| * remove --view-author-profile, replace with --get-toot-authormarty hiatt2022-11-261-1/+1
| |
| * tl--symbol -- add media iconmarty hiatt2022-11-261-1/+1
| |
| * always use mastodon-tl--symbolmarty hiatt2022-11-261-3/+3
| |
| * symbols: preceding space for locked accounts, private/direct tootsmarty hiatt2022-11-261-2/+2
| |
| * cleanup --symbols, autoloadmarty hiatt2022-11-261-31/+7
| |
| * Merge branch 'develop' into HEADmarty hiatt2022-11-261-137/+640
| |\