aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
Commit message (Collapse)AuthorAgeFilesLines
...
| * binding to upload media, and check uploads up before posting tootmousebot2021-10-151-4/+5
| |
| * remove my old attachment displaymousebot2021-10-151-3/+0
| |
| * flycheck toot.elmousebot2021-10-151-3/+6
| |
| * 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 "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-151-36/+97
| |
* | first go at company completion for mentions in new tootsmousebot2021-10-201-0/+53
|/
* revert bug workaround copying toot to kill ringmousebot2021-10-031-2/+1
|
* Fix: make after-change-functions buffer local.Holger Dürer2021-10-031-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 aliasmousebot2021-10-031-3/+3
|
* restore var toot--media-attachmentsmousebot2021-10-021-3/+7
|
* customize option default-media-directorymousebot2021-10-021-1/+7
|
* flycheck: docstrings, autoloads, declarationsmousebot2021-10-021-6/+8
|
* add emojify-insert-emoji binding in mastodon new toot buffermousebot2021-10-021-0/+8
|
* repair somewhat the media-upload functions and error handlingmousebot2021-10-021-5/+1
|
* display "followers-only" for "private" post visibilitymousebot2021-09-231-3/+7
|
* fix formatting of mastodon-toot-default-visibilitymousebot2021-09-231-4/+5
|
* basic delete-and-redraft-toot, text status only for now.mousebot2021-09-231-0/+25
|
* hacks to minimize toot bug: copy text, only kill buffer after postmousebot2021-09-231-3/+5
|
* on delete toot, redraw current timeline or profilemousebot2021-09-231-1/+2
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* hack to ensure toot buffer bindings are always enabled.mousebot2021-06-191-2/+2
| | | | | | | | make mastodon-toot-mode is run in mastodon-toot--compose-buffer before after-change-functions bugs. this makes mastodon-toot work properly even if mastodon-mode has not yet been run/loaded yet.
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|
* travis.yml, move to new cask install methodmousebot2021-05-311-2/+1
|
* flychecks and autoloadsmousebot2021-05-261-3/+3
|
* typos in tl and http error responses in http.el for attachmentsmousebot2021-05-261-2/+1
|
* pin/unpin now toggle fun, and moved copy/delete to mastodon-toot.mousebot2021-05-251-0/+51
|
* implement uploading and posting of media attachments.mousebot2021-05-241-25/+73
| | | | | | uses request library and requires curl backend. supports multiple files upload and marking media as sensitive.
* clean-up edits after flycheck/bytecompile.mousebot2021-05-161-1/+1
|
* implmement mentioning boosters in replies by defaultmousebot2021-05-131-4/+22
|
* Update copyright and bump versionJohnson Denen2019-03-041-2/+2
|
* Add ability to change the visibilityJeremy Dormitzer2019-03-041-3/+14
|
* Improvements on posting toots.Holger Durer2019-03-041-33/+141
| | | | | | | | | | | | | - Visual feedback in the buffer of: - Number of characters - Content warning flag - Posting visibility - Can't post an empty toot. - Changing visibility to something other than "public". Still missing: - Attaching media - Enabling the NSWF-flag toggling.
* Bump to version 0.8.0Johnson Denen2018-08-101-1/+1
|
* Fix boosting and faving in the notifications buffer.Holger Dürer2018-08-101-2/+6
| | | | Now that we calculate the base toot id, we can ensure that it is unset in notifications that do not represent a toot.
* Fix the boosting/favouriting of statuses in profiles.Holger Durer2018-08-101-3/+4
| | | | | | | (Favouriting itself is still hard since we have clobbered the 'f' keybinding, but if you bind it to something else or invoke it via `M-x mastodon-toot--toggle-favourite` then at least it works.) This also changes the regular boosting/favoriting behavior. Before we would boost/fav a boost or fav instead of the actual toot that was boosted/faved. With this change we always boost/fav the base toot. To do this we now keep a second toot id (with the base toot) in the byline's properities. (For regular statuses 'toot-id and 'base-toot-id will be identical.)
* Fixes to boosting/favoriting. (#194)H Durer2018-08-101-28/+52
| | | | I had issues that occasionally I couldn't unfavorite / unboost a toot. Once that was fixed it annoyed me that the cursor would often jump on those actions (jumping to the byline with no need).
* Clean up code to remove compilation warnings.Holger Durer2018-08-101-2/+7
| | | | | We used to be clean but have slipped recently. Let's clean up the code so it's easier to see real code smell warnings in the compilation.
* Retoot add accts closes #155Alexander Griffith2018-03-051-4/+30
| | | | | | | | | | | | | When responding to toots the full acct for both local and federated accounts are now added to the new toot buffer. Changes - Added a function in mastodon.el to return the current user acct - Added mastodon-toot--process-local, which takes an acct and appends the current server if it is local returns an empty string if the acct matches the current user and does only adds a prefix @ if the acct is federated - mastodon-toot--mentions will return a formatted string of mentions or an empty string - adds tests for mastodon-toot--mentions - adds a missing , in mastodon-http--post - `mastodon-toot--reply` now passes `mastodon-toot` a toot-id rather than the whole json - 'mastodon-toot--reply-to-id is now a local var in a new toot
* Bump to 0.7.2 and shorten long code lines (#172)Alexander Griffith2018-03-051-1/+1
| | | | | | * Bump version numbers to 0.7.2 * Adjusted functions to bring line length below 90.
* Closes #152 and extends the fix for #150 as well as a host of bug fixesAlexander Griffith2018-02-281-6/+8
| | | | | | | | | | | | | | | | | | We now kill the http get request buffer once JSON has been extracted. mastodon-tl--as-string was implemented and replaced any occurrence of number-to-string or int-to-string Added variable mastodon-tl--display-media-p. By default it is 't but can be made a local buffer variable and set to nil. When nil rather than displaying the media it just provides a link Media::<link> Fixed checking for faves and boosts, they should now render properly. The return from json-read-from-string for nil is :json-false which evaluates to 't in elisp. Fixed the format string that gets printed when faving and boosting Fixed mastodon-tl--thread updating and requesting and changed its behaviour such that it tries to open the original toot thread rather than the boosted thread. Added tests for both the new mastodon-tl--as-string function and the mastodon-tl--toot-id utility. enter mastodon mode before defining local buffer variable mastodon-tl--buffer-spec. This fixes some oddities with the local buffer variable.
* Bump version to 0.7.1Johnson Denen2017-06-191-1/+1
|
* Bump to v0.7.0Johnson Denen2017-05-181-1/+1
|
* replaced declare-function with autoloadalexjgriffith2017-05-181-15/+15
|
* Replace uses of replace-regexp with search-forward and replace-match.Holger Dürer2017-05-181-1/+4
|
* Remove most byte-compile warnings.Holger Dürer2017-05-181-15/+17
| | | | | | | We do this by - moving vars into the files where they are (mostly) used - "declaring" vars used elsewhere with the (defvar <var-name>) pattern, - declaring functions defined in others functions rather than loading the file via require.
* Bump to v0.6.3Johnson Denen2017-05-151-1/+1
|
* Use lexical-binding in all files.Holger Dürer2017-05-151-1/+2
| | | | | We only support Emacs 24 and 25 so are free to use sane bindings by default. To keep the linter happy, we need to declare dependency on Emacs 24 in all files.
* Clean up use of progn.Holger Dürer2017-05-051-8/+6
| | | | | - Lambda, defun, let, etc. all have an implicit progn. - A progn with a single form is identical to that single form.