aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
Commit message (Collapse)AuthorAgeFilesLines
* remove ;; Version: strings in buffers other than mastodon.elmarty hiatt2023-11-101-1/+0
|
* edit toots adopt attachments. FIX #506marty hiatt2023-11-061-3/+7
| | | | | | | - fetch media from url (http--read-file-as-string) - on edit, set media-attachments/-ids with the data from the toot/url - nb: users still can't edit attachments, can only remove all or maintain them as they are. but that's much better than always nuking them!
* triage: call cb on response. do-user-action-fun: check response datamarty hiatt2023-10-281-1/+1
| | | | this means the triage callback always needs to handle 1 arg.
* docstrings autoloadsmarty hiatt2023-10-131-1/+1
|
* mastodon-http--api-search fun (search uses api v2)marty hiatt2023-10-131-0/+4
|
* http: build query str only when we have a valuemarty hiatt2023-10-131-2/+3
|
* doctring for http--postmarty hiatt2023-10-081-2/+5
|
* require shr for http.elmarty hiatt2023-10-081-0/+1
|
* hotfix http-post errormarty hiatt2023-10-071-1/+1
|
* port fedi-http handling of POST JSON data or notmarty hiatt2023-10-021-8/+11
|
* remove error call in rendering html http response.marty hiatt2023-08-161-2/+2
|
* comment erroneous request-timeout lexicalmarty hiatt2023-07-201-1/+1
|
* poss fix for simultaneous uploads. See #478.marty hiatt2023-07-131-8/+10
|
* fix indent of media attachmentsmarty hiatt2023-07-131-2/+2
|
* message wait/done to attachment uploads, to avoid issues. See #478.marty hiatt2023-07-121-5/+1
|
* fix html render on error in process-jsonmarty hiatt2023-06-201-2/+2
|
* rough rendering for 404 html error responses.marty hiatt2023-05-261-4/+17
|
* Revert "use url-http-end-of-headers in http.el" To fix testsmarty hiatt2023-05-161-2/+2
| | | | This reverts commit 6d05cf81ff5a84aa12735aeab2ac99a083c15033.
* http docstringmarty hiatt2023-05-161-2/+3
|
* use url-http-end-of-headers in http.elmarty hiatt2023-05-111-2/+2
|
* audit http.elmarty hiatt2023-05-101-52/+43
|
* refactor concat-params-to-url, replace append-query stringmarty hiatt2023-05-101-36/+20
|
* remove all ;; Package-Requires: declarations save for main filemarty hiatt2023-03-271-1/+0
| | | | main file is set in .dir-locals.el now
* manually(!) apply stephan monnier's patch, save the ts workmarty hiatt2023-03-211-1/+1
| | | | thanks stephan!
* sort all autoloadsmarty hiatt2023-03-191-1/+0
| | | | sort autoloads in profile.el
* http--process-response: display response as error if not jsonmarty hiatt2023-01-281-2/+12
| | | | still need to handle possible html.
* 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