aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
| * Only add scheduled_at parameter to toot params when non-nilToke Høiland-Jørgensen2022-12-261-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-replymartianh2022-12-262-7/+14
| |\
| | * Merge pull request 'Do not pass URL directly to message.' (#361) from ↵martianh2022-12-231-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 Henriksen2022-12-231-1/+1
| | | | | | | | | | | | | | | | This breaks if it contains any % characters.
| | * | further harden custom emoji regex filteringBas Alberts2022-12-221-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 traversalBas Alberts2022-12-231-7/+13
| | |
| | * message auth URL when copying to kill ringmarty hiatt2022-12-181-0/+1
| | |
| * | Merge branch 'develop' into fix-two-spaces-in-replyemocoder2022-12-194-62/+387
| |\|
| | * Merge pull request 'mastodon-tl--spoiler: Add error handling to /preferences ↵martianh2022-12-111-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 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.
| | * | Use mastodon-toot--count-toot-chars when validating toot lengthSacha Chua2022-12-081-1/+1
| | |/ | | | | | | | | | | | | * lisp/mastodon-toot.el (mastodon-toot--send): Use mastodon-toot--count-toot-chars instead of length.
| | * update comment re completion fetchingmarty hiatt2022-12-021-4/+2
| | |
| * | Update docstrings to match the current state.Dmitry Osipov2022-12-011-5/+8
| | |
| * | Move mentions concatenation into a function for a reply.Dmitry Osipov2022-12-011-23/+24
| | |
| * | Remove double white-space in the reply modeDmitry Osipov2022-11-281-4/+4
| | | | | | | | | | | | | | | | | | | | | When you start a reply (to a local user or federated), there's one extra white-space after the list of mentioned users: `@user1@host.local @user2@host.federated__` (the underscores represent white-spaces). This PR removes the extra space.
* | | further harden custom emoji regex filteringBas Alberts2022-12-241-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 traversalBas Alberts2022-12-231-7/+13
| | |
* | | Merge branch 'develop'marty hiatt2022-12-018-64/+489
|\ \ \ | | |/ | |/|
| * | factor fetch candidates fun, try to improve completion performancemarty hiatt2022-12-011-13/+21
| | |
| * | completion - bound the --get-bounds backward regex searchmarty hiatt2022-12-011-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 ctmarty hiatt2022-11-301-0/+2
| | |
| * | Merge branch 'schedule-toots' into developmarty hiatt2022-11-302-20/+229
| |\ \
| | * | edit scheduled post keybindingsmarty hiatt2022-11-301-1/+4
| | | |
| | * | make rescheduling without editing work, also with org-read-datemarty hiatt2022-11-292-5/+12
| | | |
| | * | display value of --scheduled-for in org-read-date if setmarty hiatt2022-11-291-3/+13
| | | |
| | * | cancel original scheduled toot if edited/rescheduledmarty hiatt2022-11-292-6/+16
| | | |
| | * | edit toot: use set-toot-propertiesmarty hiatt2022-11-291-5/+4
| | | |
| | * | add var scheduled-id, so we can cancel it if we reschedulemarty hiatt2022-11-292-4/+10
| | | |
| | * | refactor set toot properties, autoloads, docstrings, fixesmarty hiatt2022-11-292-33/+43
| | | |
| | * | set-toot-lang > -languagemarty hiatt2022-11-291-2/+2
| | | |
| | * | work on scheduling toots, editing as new, display scheduled tsmarty hiatt2022-11-292-23/+74
| | | |
| | * | abbreviate toot compose properties (visibility, char count etc)marty hiatt2022-11-291-3/+3
| | | |
| | * | tweak scheduled toot message string date formatmarty hiatt2022-11-291-1/+1
| | | |
| | * | view, reschedule, cancel scheduled tootsmarty hiatt2022-11-281-0/+98
| | | |
| | * | add schedule toot function + bindingmarty hiatt2022-11-281-4/+14
| | | |
| | * | Merge commit 'pullreqs/335' into schedule-tootsmarty hiatt2022-11-281-1/+6
| | |\ \
| | | * | add mastodon-toot--scheduled-at buffer-local variable to optionally schedule ↵Christian Tietze2022-11-261-1/+6
| | | | | | | | | | | | | | | | | | | | posts
| * | | | tl.el section headingsmarty hiatt2022-11-291-1/+3
| | | | |
| * | | | update package commentarymarty hiatt2022-11-281-2/+2
| |/ / /
| * | | Merge pull request 'Modify relative time strings such as all string are <= ↵martianh2022-11-281-6/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 12 characters' (#337) from rougier/mastodon.el:timestamp into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/337
| | * \ \ Merge branch 'develop' into timestampNicolas P. Rougier2022-11-281-9/+46
| | |\ \ \