aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* restore original tl--init as tl--init-sync.mousebot2021-10-252-1/+32
| | | | | | | | | - use it for eg notifications - this because i suspect sync is sometimes faster. - with async init*, i often have to press a key to trigger the request - perhaps good to have both in the code, and choose which to use when - cd also poss make this a customize.
* move read-file-as-stringmousebot2021-10-231-6/+6
|
* remove wrongly set http--timeoutmousebot2021-10-231-2/+2
| | | | | | - http--timeout was given as an 4th arg to url-retrieve, which has nothing to do with timeouts, but is whether to be silent or not. - timeout arg only exists for url-retrieve-synchronously
* stop shr-image-map taking over our 'u' bindingmousebot2021-10-231-0/+3
| | | | | - the shr-maybe-probe-and-copy-url function is already bound to 'w' as well, so we don't lose it by doing this
* rewrite bookmark-toot as togglemousebot2021-10-232-21/+19
|
* bookmark-toot keybindingmousebot2021-10-221-0/+1
|
* move defcustom attachment-height from media to tootmousebot2021-10-222-9/+7
| | | | | | | | - this makes the autoload fun mastodon-toot have access to the variable, so that it can be successfully called without mastodon-mode having been enabled previously. - maybe there is another work around for making variables available to autoloaded functions, but i failed to find it!
* don't allow posts longer than server's max_toot_chars lengthmousebot2021-10-221-7/+9
|
* flycheck, autoloads, docstringsmousebot2021-10-224-6/+13
|
* bookmarks keybindingmousebot2021-10-221-0/+2
|
* update discover menumousebot2021-10-222-6/+19
|
* bookmark/unbookmark toot funsmousebot2021-10-221-0/+24
|
* docstring typomousebot2021-10-221-1/+1
|
* use http--api in max-toot-chars funmousebot2021-10-221-3/+2
|
* collect max toot chars from server and display in new toot buffermousebot2021-10-221-2/+17
|
* redrafts adopt reply to id from deleted tootmousebot2021-10-211-2/+5
|
* fix cw test for replies and for redrafts: "" not nil.mousebot2021-10-211-2/+2
|
* icon displays for message visibility - direct, or privatemousebot2021-10-211-1/+10
|
* print toot keybinding docs in two columnsmousebot2021-10-211-5/+37
|
* move attachments lower in toot-docsmousebot2021-10-211-4/+5
|
* restore hdurer's http--read-file-as-stringmousebot2021-10-211-0/+6
|
* revert to forward-whitespace -1 test for companymousebot2021-10-211-3/+7
| | | | | | | - this is an attempt to only engage company completion when our "word" at point is prefixed with a "@" - for some reason i dont understand, using company-grab-symbol-cons "^@ ..." doesn't work here: typing words with no @ still triggers company
* redraft toots adopt visibility and CW of deleted tootmousebot2021-10-211-6/+14
|
* when toot replied to has a CW, adopt it as default for replying tootmousebot2021-10-211-3/+11
|
* replies to toots adopt their visibility status by default.mousebot2021-10-212-10/+13
| | | | | | | | | this makes it so that if you reply to a direct message, your toot will also be direct by default. - we feed the reply's full toot JSON through the chain of functions called, all the way down to "setup-as-reply". that way, if anything else needs to be extracted when setting up a reply, it's all there.
* improvements to toot mentions completionmousebot2021-10-213-21/+24
| | | | | | | | | - customize option for completion off, following-only, or all. - 'following=true' is forwarded to http--get-search accordingly. - use company-grab-symbol-cons + regex, prepend "@" to it - also prepend '@' to the list in get-user-info-no-url - this makes company display user handles prepended with '@', and to match and - enter a handle without duplicating the '@'
* remove empty lines from docstringsmousebot2021-10-211-6/+0
|
* fix default-toot-visibility customizemousebot2021-10-211-5/+5
|
* make add mentions-company-backend to company-backens buffer localmousebot2021-10-211-1/+2
| | | | | - we add to company-backends rather than replacing it, but it is still only buffer local.
* Merge branch 'develop' into ments-completionmousebot2021-10-202-49/+117
|\
| * revert leftover caching things from merging image-previews branchmousebot2021-10-201-3/+1
| |
| * Merge branch 'img-previews' into developmousebot2021-10-204-56/+132
| |\
| | * docstringsmousebot2021-10-151-2/+2
| | |
| | * FIX the filename we send to post-media-attachementmousebot2021-10-151-3/+3
| | | | | | | | | | | | - it needs to be with full path of course!
| | * binding to upload media, and check uploads up before posting tootmousebot2021-10-151-4/+5
| | |
| | * remove my old attachment displaymousebot2021-10-151-3/+0
| | |
| | * disambiguate media--attachment-height and preview-max-heightmousebot2021-10-151-3/+3
| | |
| | * flycheck toot.elmousebot2021-10-151-3/+6
| | |
| | * rever auth / client changes toomousebot2021-10-152-13/+13
| | |
| | * merge hdurers attachment upload and my ownmousebot2021-10-151-27/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace hdurer's mastodon-toot--post-media and my mastodon-toot--add-media-attachment with hdurer's mastodon-toot--attach-media (which holds the data in the toot draft) and my mastodon-toot--upload-media-attachments (which actually uploads them)
| | * revert mastodon-http changesmousebot2021-10-151-49/+9
| | | | | | | | | | | | | | | - we will keep my old implementation of attachment uploading, as it already works with the media_ids[] of the API.
| | * revert "private" visibility = "followers only" in toot draftmousebot2021-10-151-3/+7
| | |
| | * handle image scaling with image-transforms-p (when emacs >= 27.1)mousebot2021-10-151-5/+8
| | |
| | * first test merge of hdurer's WIP: Posting of imagesmousebot2021-10-155-64/+176
| | |
| | * handle caching of imagesmousebot2021-10-091-4/+8
| | | | | | | | | | | | | | | we now store images ourselves for caching rather than relying on url-automatic-caching.
* | | first go at company completion for mentions in new tootsmousebot2021-10-202-0/+72
|/ /
* / Revert "handle cached images"mousebot2021-10-181-10/+4
|/ | | | | | -- caching images with url.el locks up mastodon.el This reverts commit 0129bcf466a4913bdda095b977cd06560c406a30.
* handle cached imagesmousebot2021-10-091-4/+10
| | | | | | | | when we fetch images, check if they are cached, and if so use the cached version. for now, images aren't cached explicitly, but this should work if the user has `url-automatic-caching' enabled.
* get relationships for a user with 1 rather than 2 requestsmousebot2021-10-051-2/+3
|
* set a larger mastodon-http--timeout.mousebot2021-10-051-1/+1
| | | | loading profiles would often not make in 5 seconds on a slower connection