aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
Commit message (Collapse)AuthorAgeFilesLines
* remove first empty line in docstringsmarty hiatt2023-01-091-3/+0
|
* update copyright/author attributionmarty hiatt2022-11-271-0/+2
|
* http: always use PARAMS or CBARGS, never ARGS anywheremarty hiatt2022-11-241-16/+18
|
* rename build-query-string to -params-str, + build-array-params-alistmarty hiatt2022-11-221-14/+14
|
* remove redundant --get-search(-json) funs, use new params --get-jsonmarty hiatt2022-11-221-34/+0
|
* attempt to fix --get-search paramsmarty hiatt2022-11-221-1/+2
|
* fix --get-response-async re paramsmarty hiatt2022-11-221-1/+2
|
* fix some tests due to paramsmarty hiatt2022-11-221-1/+1
|
* params always in http.el, only ever send alists from elsewhere.marty hiatt2022-11-211-34/+51
| | | | probably incomplete but mostly done.
* no switch to response buffer on non-200 http responsemarty hiatt2022-11-211-3/+5
|
* http--post - make args + headers optional argsmarty hiatt2022-11-191-2/+2
| | | | also update all calls to it, no need for nil nil everywhere.
* http build array args docstringmarty hiatt2022-11-191-1/+2
|
* Merge branch 'develop' into listsmarty hiatt2022-11-191-0/+5
|\
| * refactor array params into -http--build-array-args-alistmarty hiatt2022-11-171-0/+5
| |
* | add delete and edit listsmarty hiatt2022-11-161-0/+16
| |
* | http--triage: add 404, don't process json in that casemarty hiatt2022-11-151-2/+5
| |
* | make a start on listsmarty hiatt2022-11-151-5/+8
|/
* http vector docstringsmarty hiatt2022-11-101-2/+5
|
* process-response: optionally JSON array as vector, for instance descmarty hiatt2022-11-101-6/+6
|
* http docstringsmarty hiatt2022-11-101-3/+6
|
* opt no-headers arg, only fetch when nilmarty hiatt2022-11-091-8/+10
|
* use a proper dotted alist for response headers listmarty hiatt2022-11-091-2/+2
|
* --init: handle json or full response and handle Link headermarty hiatt2022-11-091-0/+1
|
* http: add response layer to requests:marty hiatt2022-11-091-25/+50
| | | | | | | | | | | - response is a cons of JSON list and http response headers alist - existing --get-json functions now just car the response - we also process JSON array as a list not a vector - this should open the way to handling response headers if we want to, eg for paginating favorites with the Link: header
* add headers arg to http--process-json and --get-json-asyncmarty hiatt2022-11-051-4/+13
|
* Revert "remove unused --append-query-string"marty hiatt2022-11-031-0/+7
| | | | This reverts commit e2fd67b16104ab772a4ef962613cb9f3cb3cea52.
* http.el docstringsmarty hiatt2022-10-311-6/+10
|
* re-write --make-meta-fields-params to build normal params alistmarty hiatt2022-10-301-4/+2
|
* working meta fields updatemarty hiatt2022-10-291-2/+4
|
* remove unused --append-query-stringmarty hiatt2022-09-121-7/+0
|
* factor out http--build-query-string for use PATCH reqs alsomarty hiatt2022-09-121-14/+18
|
* macro declare debug body for auth reqmarty hiatt2022-09-121-0/+1
|
* indentation and stale TODOsmarty hiatt2022-09-121-37/+37
|
* use seq-empty-p and string-empty-p callsmarty hiatt2022-09-051-1/+1
|
* -http: optional silent requests so we can actually messagemarty hiatt2022-09-031-10/+10
|
* http--patch: make general function, not just for notemarty hiatt2022-08-311-11/+8
| | | | - this way we can build funs to change basic account options.
* bump version in boilerplatemarty hiatt2022-08-271-1/+1
|
* docstringsmarty hiatt2022-08-171-2/+3
|
* restore (list (cons call in macromarty hiatt2022-08-071-19/+19
|
* expand authorized-request macro to hand POST requestsmarty hiatt2022-08-071-26/+27
|
* http: --authorized-request macromarty hiatt2022-08-071-48/+46
|
* Merge pull request '2FA login support' (#255) from ↵martianh2022-03-231-0/+8
|\ | | | | | | | | | | Red_Starfish/mastodon-up.el:login into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/255
| * change '-' to '--' in between function and namespace namesAbhiseck Paira2022-02-231-1/+1
| | | | | | | | | | | | | | | | mastodon.el currently follows the convention where all function names should have two dashes (not one dash) in between function and namespace names. Update all function names to follow this convention. See issue #205 and pull request #255
| * add helper function `mastodon-http-append-query-string'Abhiseck Paira2022-01-131-0/+8
| | | | | | | | | | | | Add helper function `mastodon-http-append-query-string' which create URLs with query strings appended to its end. (see doc string for details.)
* | update homepage and copyright boilerplatemousebot2022-02-051-1/+1
|/
* pleroma compat commentmousebot2021-12-251-0/+1
|
* apply pleroma patch from #208mousebot2021-12-231-0/+2
|
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-0/+1
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-171-1/+1
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.