aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-client-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all code.Holger Dürer2021-11-061-32/+32
| | | | | | | | | | | Basically, in Emacs for each file: select all text and `indent-region`. - This also removes one redundant comment, and - fixes an error with json decoding where the `json-read-from-string` was actually not within the intended `unless` clause (which explains the warning about "result of (string-equal "" json-string) will be ignored" which I never understood.
* Keep track of to which instance secrets in plstore belong.Holger Dürer2018-03-021-22/+50
| | | | | | | | | | | 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).
* Remove most byte-compile warnings.Holger Dürer2017-05-181-5/+5
| | | | | | | 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.
* Group API endpoint function with mastodon-httpJohnson Denen2017-04-231-1/+1
|
* Use Cask to run tests in TravisCIJohnson Denen2017-04-231-1/+0
|
* Add mastodon-client featureJohnson Denen2017-04-231-0/+76