Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tl--get-buff-prop: don't error if we find nothing. | marty hiatt | 2023-01-09 | 1 | -3/+4 |
| | | | | that way we can call buffer-spec fetch funs without knowing if they're set. | ||||
* | factor out mastodon-tl--update-params. | marty hiatt | 2023-01-09 | 1 | -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 buffers | marty hiatt | 2023-01-09 | 1 | -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 | ||||
* | tl--action-success: only move point if it was on byline | marty hiatt | 2023-01-07 | 1 | -3/+5 |
| | | | | FIX #326 | ||||
* | Document `mastodon-tl--set-after-update-marker' | Tassilo Horn | 2022-12-31 | 1 | -0/+3 |
| | |||||
* | docstrings | marty hiatt | 2022-12-30 | 2 | -4/+5 |
| | |||||
* | `mastodon-tl--set-after-update-marker' - add `t` to last cond branch | marty hiatt | 2022-12-30 | 1 | -2/+3 |
| | |||||
* | Fix mastodon-tl-position-after-update | Tassilo Horn | 2022-12-29 | 1 | -3/+3 |
| | |||||
* | hack tl--update so it works with update fun tl--thread | marty hiatt | 2022-12-29 | 1 | -11/+16 |
| | |||||
* | fix update local tl, tl--update, like tl--more | marty hiatt | 2022-12-29 | 1 | -2/+5 |
| | |||||
* | Merge commit 'pullreqs/350' into develop | marty hiatt | 2022-12-29 | 1 | -1/+35 |
|\ | |||||
| * | Keep current position of point after updates (fixes #349) | Tassilo Horn | 2022-12-28 | 1 | -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 hiatt | 2022-12-28 | 1 | -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 hiatt | 2022-12-28 | 1 | -26/+14 |
| | | | | | | | | This reverts commit 0eeb429d3531a3c11cc9ea3c3aef258b7c671edb. | ||||
| * | FIX pagination of local timeline | marty hiatt | 2022-12-28 | 1 | -5/+6 |
| | | |||||
* | | handle nil json response in tl--init* | marty hiatt | 2022-12-29 | 1 | -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 hiatt | 2022-12-29 | 1 | -26/+14 |
| | | | | | | | | This reverts commit 0eeb429d3531a3c11cc9ea3c3aef258b7c671edb. | ||||
* | | FIX pagination of local timeline | marty hiatt | 2022-12-29 | 1 | -10/+20 |
|/ | | | | actually fix Local pagination with tl--more* etc | ||||
* | adapt messaging for following of locked accounts | marty hiatt | 2022-12-28 | 1 | -14/+26 |
| | |||||
* | Only add scheduled_at parameter to toot params when non-nil | Toke Høiland-Jørgensen | 2022-12-26 | 1 | -11/+13 |
| | | | | | | | | | The Pleroma server software can't handle the scheduled_at parameter being set to anything other than a valid datetime, even an empty value. To work around this, change mastodon-toot--send to only add the parameter to the list of args if its non-nil. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> | ||||
* | Merge branch 'develop' into fix-two-spaces-in-reply | martianh | 2022-12-26 | 2 | -7/+14 |
|\ | |||||
| * | Merge pull request 'Do not pass URL directly to message.' (#361) from ↵ | martianh | 2022-12-23 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | | sigkill/mastodon.el:no-message into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/361 | ||||
| | * | Do not pass URL directly to message. | Troels Henriksen | 2022-12-23 | 1 | -1/+1 |
| | | | | | | | | | | | | This breaks if it contains any % characters. | ||||
| * | | further harden custom emoji regex filtering | Bas Alberts | 2022-12-22 | 1 | -2/+2 |
| |/ | | | | | | | | | | | | | Prevent empty string shortcodes from creating dotfiles inside the custom emoji download dir to prevent e.g. ".envrc" and other such contextual dotfiles from being created in the legitimate download location. | ||||
| * | fix for custom emoji path traversal | Bas Alberts | 2022-12-23 | 1 | -7/+13 |
| | | |||||
| * | message auth URL when copying to kill ring | marty hiatt | 2022-12-18 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'develop' into fix-two-spaces-in-reply | emocoder | 2022-12-19 | 4 | -62/+387 |
|\| | |||||
| * | Merge pull request 'mastodon-tl--spoiler: Add error handling to /preferences ↵ | martianh | 2022-12-11 | 1 | -2/+6 |
| |\ | | | | | | | | | | | | | | | | api query' (#347) from stellarskylark/mastodon.el:develop into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/347 | ||||
| | * | mastodon-tl--spoiler: Add error handling to /preferences api query | Skylar Hill | 2022-12-08 | 1 | -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. | ||||
| * | | Use mastodon-toot--count-toot-chars when validating toot length | Sacha Chua | 2022-12-08 | 1 | -1/+1 |
| |/ | | | | | | | | | * lisp/mastodon-toot.el (mastodon-toot--send): Use mastodon-toot--count-toot-chars instead of length. | ||||
| * | update comment re completion fetching | marty hiatt | 2022-12-02 | 1 | -4/+2 |
| | | |||||
| * | factor fetch candidates fun, try to improve completion performance | marty hiatt | 2022-12-01 | 1 | -13/+21 |
| | | |||||
| * | completion - bound the --get-bounds backward regex search | marty hiatt | 2022-12-01 | 1 | -1/+5 |
| | | | | | | | | | | | | this prevents matching when we have type words after a handle/tag (forward-whitespace -1) places point before the previous space. placing it after doesn't work, it breaks some completion cases. | ||||
| * | schedule-toot - comment to acknowledge ct | marty hiatt | 2022-11-30 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'schedule-toots' into develop | marty hiatt | 2022-11-30 | 2 | -20/+229 |
| |\ | |||||
| | * | edit scheduled post keybindings | marty hiatt | 2022-11-30 | 1 | -1/+4 |
| | | | |||||
| | * | make rescheduling without editing work, also with org-read-date | marty hiatt | 2022-11-29 | 2 | -5/+12 |
| | | | |||||
| | * | display value of --scheduled-for in org-read-date if set | marty hiatt | 2022-11-29 | 1 | -3/+13 |
| | | | |||||
| | * | cancel original scheduled toot if edited/rescheduled | marty hiatt | 2022-11-29 | 2 | -6/+16 |
| | | | |||||
| | * | edit toot: use set-toot-properties | marty hiatt | 2022-11-29 | 1 | -5/+4 |
| | | | |||||
| | * | add var scheduled-id, so we can cancel it if we reschedule | marty hiatt | 2022-11-29 | 2 | -4/+10 |
| | | | |||||
| | * | refactor set toot properties, autoloads, docstrings, fixes | marty hiatt | 2022-11-29 | 2 | -33/+43 |
| | | | |||||
| | * | set-toot-lang > -language | marty hiatt | 2022-11-29 | 1 | -2/+2 |
| | | | |||||
| | * | work on scheduling toots, editing as new, display scheduled ts | marty hiatt | 2022-11-29 | 2 | -23/+74 |
| | | | |||||
| | * | abbreviate toot compose properties (visibility, char count etc) | marty hiatt | 2022-11-29 | 1 | -3/+3 |
| | | | |||||
| | * | tweak scheduled toot message string date format | marty hiatt | 2022-11-29 | 1 | -1/+1 |
| | | | |||||
| | * | view, reschedule, cancel scheduled toots | marty hiatt | 2022-11-28 | 1 | -0/+98 |
| | | | |||||
| | * | add schedule toot function + binding | marty hiatt | 2022-11-28 | 1 | -4/+14 |
| | | | |||||
| | * | Merge commit 'pullreqs/335' into schedule-toots | marty hiatt | 2022-11-28 | 1 | -1/+6 |
| | |\ | |||||
| | | * | add mastodon-toot--scheduled-at buffer-local variable to optionally schedule ↵ | Christian Tietze | 2022-11-26 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | posts |