Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tiny cleanup | mousebot | 2021-11-06 | 1 | -1/+1 |
| | |||||
* | support downloading/using custom emoji with emojify. | mousebot | 2021-11-05 | 1 | -1/+72 |
| | | | | | | | | | - adds functions to download custom emoji from mastodon-instance-url, collect them into a list formatted as needed by emojify-user-emojis, and to update that var with the mastodon custom emoji so that they can be used with emojify-insert-emoji. - for now the user has to enable these by calling -enable-custom-emoji themselves. | ||||
* | defvar company-backends for flycheck | mousebot | 2021-11-05 | 1 | -1/+2 |
| | |||||
* | Fix compilation warnings. | Holger Dürer | 2021-11-01 | 1 | -18/+23 |
| | | | | | | | | | | | | This is mostly reflowing / reworkding docstrings to keep within 80 characters limit and adding autoloads. There are two warning remaining that I don't understand: - mastodon-async.el:359:16: Warning: reference to free variable ‘url-http-end-of-headers’ - mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused When adding autoloads this sorts them for better readability. | ||||
* | include user's profile URL in company mentions completion. | mousebot | 2021-11-01 | 1 | -13/+15 |
| | | | | | also rename company mentions completion default value to "following" not "followers", which is what the actual search is called and what it returns. | ||||
* | fix toot--send setting args/args-media | mousebot | 2021-10-29 | 1 | -17/+14 |
| | |||||
* | make get-max-toot-chars async | mousebot | 2021-10-29 | 1 | -6/+11 |
| | |||||
* | docstrings | mousebot | 2021-10-29 | 1 | -1/+1 |
| | |||||
* | merge upload-media-attachments functionality into toot-send. | mousebot | 2021-10-29 | 1 | -38/+32 |
| | | | | | | | | | | | | | | | | | | | | this obviates the need for the user to upload files before posting their toot. - this commit makes http--post-media-attachment synchronous, so that toot-send has to wait for it. - in toot-send: if mastodon-toot--media-attachements is non-nil, the files it contains are uploaded synchronously, and their returned ids are added to toot-media-attachment-ids, which are parsed as args for the POST request to be attached to the toot. - then we send toot as usual. - clear-all-attachments also clears mastodon-toot--media-attachment-ids just in case. - we have no more need of media-attachments-filenames, as media-attachments is now a list and not a boolean value. | ||||
* | fix for image uploads error in 'emacs -Q': expand file name! | mousebot | 2021-10-29 | 1 | -1/+2 |
| | |||||
* | fix group of mastodon-toot--attachment-height | mousebot | 2021-10-28 | 1 | -1/+1 |
| | |||||
* | api/v2 for media attachment uploads | mousebot | 2021-10-26 | 1 | -1/+1 |
| | |||||
* | toot--enable-completion-for-mentions only if company noerror | mousebot | 2021-10-26 | 1 | -4/+5 |
| | | | | - from testing with 'emacs -Q' | ||||
* | _args for update-status-fields | mousebot | 2021-10-25 | 1 | -1/+1 |
| | |||||
* | declare company-mode functions | mousebot | 2021-10-25 | 1 | -1/+5 |
| | |||||
* | rewrite bookmark-toot as toggle | mousebot | 2021-10-23 | 1 | -20/+17 |
| | |||||
* | move defcustom attachment-height from media to toot | mousebot | 2021-10-22 | 1 | -4/+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 length | mousebot | 2021-10-22 | 1 | -7/+9 |
| | |||||
* | flycheck, autoloads, docstrings | mousebot | 2021-10-22 | 1 | -2/+6 |
| | |||||
* | bookmark/unbookmark toot funs | mousebot | 2021-10-22 | 1 | -0/+24 |
| | |||||
* | use http--api in max-toot-chars fun | mousebot | 2021-10-22 | 1 | -3/+2 |
| | |||||
* | collect max toot chars from server and display in new toot buffer | mousebot | 2021-10-22 | 1 | -2/+17 |
| | |||||
* | redrafts adopt reply to id from deleted toot | mousebot | 2021-10-21 | 1 | -2/+5 |
| | |||||
* | fix cw test for replies and for redrafts: "" not nil. | mousebot | 2021-10-21 | 1 | -2/+2 |
| | |||||
* | print toot keybinding docs in two columns | mousebot | 2021-10-21 | 1 | -5/+37 |
| | |||||
* | move attachments lower in toot-docs | mousebot | 2021-10-21 | 1 | -4/+5 |
| | |||||
* | revert to forward-whitespace -1 test for company | mousebot | 2021-10-21 | 1 | -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 toot | mousebot | 2021-10-21 | 1 | -6/+14 |
| | |||||
* | when toot replied to has a CW, adopt it as default for replying toot | mousebot | 2021-10-21 | 1 | -3/+11 |
| | |||||
* | replies to toots adopt their visibility status by default. | mousebot | 2021-10-21 | 1 | -7/+11 |
| | | | | | | | | | 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 completion | mousebot | 2021-10-21 | 1 | -12/+11 |
| | | | | | | | | | - 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 '@' | ||||
* | fix default-toot-visibility customize | mousebot | 2021-10-21 | 1 | -5/+5 |
| | |||||
* | make add mentions-company-backend to company-backens buffer local | mousebot | 2021-10-21 | 1 | -1/+2 |
| | | | | | - we add to company-backends rather than replacing it, but it is still only buffer local. | ||||
* | Merge branch 'develop' into ments-completion | mousebot | 2021-10-20 | 1 | -48/+111 |
|\ | |||||
| * | docstrings | mousebot | 2021-10-15 | 1 | -2/+2 |
| | | |||||
| * | FIX the filename we send to post-media-attachement | mousebot | 2021-10-15 | 1 | -3/+3 |
| | | | | | | | | - it needs to be with full path of course! | ||||
| * | binding to upload media, and check uploads up before posting toot | mousebot | 2021-10-15 | 1 | -4/+5 |
| | | |||||
| * | remove my old attachment display | mousebot | 2021-10-15 | 1 | -3/+0 |
| | | |||||
| * | flycheck toot.el | mousebot | 2021-10-15 | 1 | -3/+6 |
| | | |||||
| * | merge hdurers attachment upload and my own | mousebot | 2021-10-15 | 1 | -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 "private" visibility = "followers only" in toot draft | mousebot | 2021-10-15 | 1 | -3/+7 |
| | | |||||
| * | handle image scaling with image-transforms-p (when emacs >= 27.1) | mousebot | 2021-10-15 | 1 | -5/+8 |
| | | |||||
| * | first test merge of hdurer's WIP: Posting of images | mousebot | 2021-10-15 | 1 | -36/+97 |
| | | |||||
* | | first go at company completion for mentions in new toots | mousebot | 2021-10-20 | 1 | -0/+53 |
|/ | |||||
* | revert bug workaround copying toot to kill ring | mousebot | 2021-10-03 | 1 | -2/+1 |
| | |||||
* | Fix: make after-change-functions buffer local. | Holger Dürer | 2021-10-03 | 1 | -1/+2 |
| | | | | See issue #218 — we mistakenly modified the global value and `mastodon-toot--update-status-fields` makes no sense outside the toot compose buffer. | ||||
* | make mastodon-toot--insert-emoji an alias | mousebot | 2021-10-03 | 1 | -3/+3 |
| | |||||
* | restore var toot--media-attachments | mousebot | 2021-10-02 | 1 | -3/+7 |
| | |||||
* | customize option default-media-directory | mousebot | 2021-10-02 | 1 | -1/+7 |
| | |||||
* | flycheck: docstrings, autoloads, declarations | mousebot | 2021-10-02 | 1 | -6/+8 |
| |