Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix tests. | Holger Dürer | 2021-11-01 | 11 | -26/+52 |
| | | | | | | | | | | | | These needed a bit of tender love and care to get back into passing state. - Move the auth tests to the `test` directory. No idea what it was doing in `lisp`. - Image tests are mostly broken because with later Emacsen we no longer need the `imagemagic` option on create-image. - Some method signatures have changed and mocking calls needed to follow suit. | ||||
* | Fix compilation warnings. | Holger Dürer | 2021-11-01 | 8 | -41/+65 |
| | | | | | | | | | | | | 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 | 2 | -17/+20 |
| | | | | | also rename company mentions completion default value to "following" not "followers", which is what the actual search is called and what it returns. | ||||
* | Merge branch 'develop' into imgcaching | mousebot | 2021-10-29 | 3 | -56/+60 |
|\ | |||||
| * | Merge branch 'img-previews' into develop | mousebot | 2021-10-29 | 3 | -40/+32 |
| |\ | |||||
| | * | 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 | 2 | -2/+2 |
| | | | |||||
| | * | merge upload-media-attachments functionality into toot-send. | mousebot | 2021-10-29 | 2 | -41/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | make get-max-toot-chars async | mousebot | 2021-10-29 | 1 | -6/+11 |
| |/ | |||||
| * | hopefully improve attachment upload error handling | mousebot | 2021-10-29 | 1 | -9/+15 |
| | | |||||
| * | fix for image uploads error in 'emacs -Q': expand file name! | mousebot | 2021-10-29 | 1 | -1/+2 |
| | | |||||
| * | require mastodon-toot in mastodon.el, for customize visibility | mousebot | 2021-10-28 | 1 | -9/+10 |
| | | | | | | | | - & no need for all other mastodon-toot autoloads | ||||
| * | fix group of mastodon-toot--attachment-height | mousebot | 2021-10-28 | 1 | -1/+1 |
| | | |||||
* | | enable-image-caching customize option | mousebot | 2021-10-29 | 1 | -3/+10 |
| | | |||||
* | | require mastodon-toot in mastodon.el, for customize visibility | mousebot | 2021-10-28 | 1 | -9/+10 |
| | | | | | | | | - & no need for all other mastodon-toot autoloads | ||||
* | | fix group of mastodon-toot--attachment-height | mousebot | 2021-10-28 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' into imgcaching | mousebot | 2021-10-28 | 6 | -29/+80 |
|\| | |||||
| * | mastodon-async readme | mousebot | 2021-10-28 | 2 | -2/+3 |
| | | |||||
| * | 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' | ||||
| * | readme | mousebot | 2021-10-26 | 1 | -0/+1 |
| | | |||||
| * | display status of locked accounts in profile view | mousebot | 2021-10-26 | 1 | -1/+7 |
| | | |||||
| * | switch followers-only and direct message icons to match web layout | mousebot | 2021-10-26 | 1 | -2/+2 |
| | | |||||
| * | readme | mousebot | 2021-10-25 | 1 | -4/+10 |
| | | |||||
| * | revert tl--thread to sync request for speed. | mousebot | 2021-10-25 | 1 | -13/+6 |
| | | |||||
| * | _args for update-status-fields | mousebot | 2021-10-25 | 1 | -1/+1 |
| | | |||||
| * | declare company-mode functions | mousebot | 2021-10-25 | 1 | -1/+5 |
| | | |||||
| * | echo faves, boosts, replies counts when in thread view | mousebot | 2021-10-25 | 1 | -0/+8 |
| | | |||||
| * | restore original tl--init as tl--init-sync. | mousebot | 2021-10-25 | 2 | -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. | ||||
* | | Merge branch 'develop' into imgcaching | mousebot | 2021-10-24 | 5 | -38/+37 |
|\| | |||||
| * | move read-file-as-string | mousebot | 2021-10-23 | 1 | -6/+6 |
| | | |||||
| * | remove wrongly set http--timeout | mousebot | 2021-10-23 | 1 | -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' binding | mousebot | 2021-10-23 | 1 | -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 toggle | mousebot | 2021-10-23 | 2 | -21/+19 |
| | | |||||
| * | bookmark-toot keybinding | mousebot | 2021-10-22 | 1 | -0/+1 |
| | | |||||
| * | move defcustom attachment-height from media to toot | mousebot | 2021-10-22 | 2 | -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! | ||||
* | | bookmark-toot keybinding | mousebot | 2021-10-22 | 1 | -0/+1 |
| | | |||||
* | | handle caching of images | mousebot | 2021-10-22 | 1 | -4/+14 |
| | | | | | | | | | | we now store images ourselves for caching rather than relying on url-automatic-caching. | ||||
* | | Merge branch 'develop' into imgcaching | mousebot | 2021-10-22 | 7 | -24/+88 |
|\| | |||||
| * | readme | mousebot | 2021-10-22 | 1 | -1/+2 |
| | | |||||
| * | don't allow posts longer than server's max_toot_chars length | mousebot | 2021-10-22 | 1 | -7/+9 |
| | | |||||
| * | readme | mousebot | 2021-10-22 | 1 | -1/+2 |
| | | |||||
| * | flycheck, autoloads, docstrings | mousebot | 2021-10-22 | 4 | -6/+13 |
| | | |||||
| * | bookmarks keybinding | mousebot | 2021-10-22 | 1 | -0/+2 |
| | | |||||
| * | update discover menu | mousebot | 2021-10-22 | 2 | -6/+19 |
| | | |||||
| * | bookmark/unbookmark toot funs | mousebot | 2021-10-22 | 1 | -0/+24 |
| | | |||||
| * | docstring typo | mousebot | 2021-10-22 | 1 | -1/+1 |
| | | |||||
| * | 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 |
| | |