aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
Commit message (Collapse)AuthorAgeFilesLines
* implement uploading and posting of media attachments.mousebot2021-05-241-0/+42
| | | | | | 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-2/+3
|
* display "follows you" and "followed by you" on user profilesmousebot2021-05-141-3/+1
|
* Guard against the old version of Emacs which mastodon.el supports.Ian Eure2021-05-091-3/+7
|
* SWAG at moving to an async network model.Ian Eure2021-05-091-12/+51
|
* Set a HTTP timeout.mousebot2021-05-091-2/+5
| | | | This prevents mastodon.el from locking Emacs and spinning forever.
* docstringmousebot2021-05-061-1/+1
|
* add delete toot functionmousebot2021-05-061-0/+11
|
* Update copyright and bump versionJohnson Denen2019-03-041-2/+2
|
* Bump to version 0.8.0Johnson Denen2018-08-101-1/+1
|
* Retoot add accts closes #155Alexander Griffith2018-03-051-1/+1
| | | | | | | | | | | | | 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.
* Keep track of to which instance secrets in plstore belong.Holger Dürer2018-03-021-5/+6
| | | | | | | | | | | While testing out issue 149 (https://github.com/jdenen/mastodon.el/issues/149) I had problems due to stale client information being cached. With this change we store various pieces of information (the client information in the plstore and the auth tokens) in alists keyed by the instance url (and the plstore key contains the instance url as well to allow us to store data per instance).
* Closes #152 and extends the fix for #150 as well as a host of bug fixesAlexander Griffith2018-02-281-0/+1
| | | | | | | | | | | | | | | | | | 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-1/+1
|
* Remove most byte-compile warnings.Holger Dürer2017-05-181-5/+6
| | | | | | | 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/+1
| | | | | 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-6/+4
| | | | | - Lambda, defun, let, etc. all have an implicit progn. - A progn with a single form is identical to that single form.
* Moved decode-coding-string out of tl functionsalexjgriffith2017-05-051-1/+4
|
* Bump to v0.6.2Johnson Denen2017-04-291-1/+1
|
* Bump to v0.6.1Johnson Denen2017-04-281-1/+1
|
* Bump to v0.6.0Johnson Denen2017-04-241-1/+1
|
* Bump to v0.5.5Johnson Denen2017-04-241-1/+1
|
* Bump to v0.5.4Johnson Denen2017-04-231-1/+1
|
* Make tweaks per checkdoc feedbackJohnson Denen2017-04-231-0/+3
|
* Make tweaks per package-lint feedbackJohnson Denen2017-04-231-2/+4
|
* Close #10 and remove unused mastodon-http functionsJohnson Denen2017-04-231-61/+8
|
* Group API endpoint function with mastodon-httpJohnson Denen2017-04-231-1/+1
|
* Rewrite mastodon-authJohnson Denen2017-04-231-2/+2
| | | | | | - Remove client functions - Use mastodon-http--post - No more callback spaghetti
* Cleanup mastodon-toot featureJohnson Denen2017-04-201-1/+3
| | | | | - Delete unused functions - Refactor --action function to use mastodon-http--triage
* Close #11 with new callbacksJohnson Denen2017-04-201-0/+7
|
* Add boost feature to timelinesJohnson Denen2017-04-181-0/+19
|
* Retrieve home timeline with `mastodon' functionJohnson Denen2017-04-141-1/+0
|
* Use synchronous calls for simpler JSON parsingJohnson Denen2017-04-141-3/+16
|
* Add GET functionJohnson Denen2017-04-141-0/+7
|
* Make headers more conventionalJohnson Denen2017-04-101-4/+21
|
* Fix #8 flycheck issuesJohnson Denen2017-04-091-9/+29
|
* Update DOCSTRINGsJohnson Denen2017-04-091-5/+18
|
* Fix void-function errorJohnson Denen2017-04-091-1/+1
|
* Refactor authorizationJohnson Denen2017-04-091-7/+36
|
* Restructure under lisp directoryJohnson Denen2017-04-091-0/+34