aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* cursor-face prop for fave etc markers.marty hiatt2023-09-271-2/+6
| | | | used to not break highlight-current-toot when inserting markers
* mastodon-toot--action: 1 not 2 letsmarty hiatt2023-09-271-3/+3
|
* (mastodon-tl--relative-time-details): Use `mastodon-tl--human-duration`Stefan Monnier2023-09-211-54/+38
| | | | | | | | * lisp/mastodon-tl.el (mastodon-tl--human-duration): Cap the finest resolution and return a pair to include the resolution used. (mastodon-tl--format-poll-expiry): Adjust accordingly. (mastodon-tl--relative-time-details): Rewrite using `mastodon-tl--human-duration`.
* set update-params buf spec in --make-profile-buffer-formarty hiatt2023-09-201-1/+2
|
* FIX toot-empty-p for attachment only post.marty hiatt2023-09-181-2/+2
|
* alist-get testfun equal in set-toot-languagemarty hiatt2023-09-151-1/+1
|
* bump versionmarty hiatt2023-08-301-1/+1
|
* refactor mastodon-return-credential-accountmarty hiatt2023-08-301-9/+8
|
* Merge branch 'scratch/mastodon' into developmarty hiatt2023-08-308-89/+101
|\
| * Misc minor cosmetic changesStefan Monnier2023-08-293-11/+9
| | | | | | | | | | | | | | Prefer # to quote function names. Remove some redundant `:group` arguments. Properly newline-terminate text files. Fix some ' warnings in docstrings.
| * Don't refer to obsolete font-lock face variablesStefan Monnier2023-08-294-11/+11
| | | | | | | | | | | | | | * lisp/mastodon-profile.el (mastodon-profile--update-user-profile-note): * lisp/mastodon-tl.el (mastodon-tl--byline, mastodon-tl--toot-stats): * lisp/mastodon-toot.el (mastodon-toot--view-toot-edits): * lisp/mastodon-views.el (mastodon-views--minor-view): Quote face names.
| * * lisp/mastodon-notifications.el: Fix dependencyStefan Monnier2023-08-291-4/+5
| | | | | | | | | | | | | | | | | | | | | | The file can't be loaded before `mastodon` because it requires `mastodon-mode-map`, so just require it. Also make the keymap definition more standard. * lisp/mastodon-notifications.el: Require `mastodon`. (mastodon-mode-map): Remove redundant declaration. (mastodon-notifications--map): Avoid `copy-keymap` and `keymap-canonicalize`.
| * Simplify calls to `alist-get`Stefan Monnier2023-08-295-9/+7
| | | | | | | | | | | | | | | | | | | | * lisp/mastodon-toot.el (mastodon-toot--set-toot-language): * lisp/mastodon-tl.el (mastodon-tl--read-rules-ids): * lisp/mastodon-profile.el (mastodon-profile--remove-from-followers-list): * lisp/mastodon-auth.el (mastodon-auth--access-token): * lisp/mastodon-views.el (mastodon-views--add-account-to-list) (mastodon-views--remove-account-from-list): Remove redundant optional arg to `alist-get` (`equal` is already the default).
| * * lisp/mastodon.el: Remove `ts` from `Package-Requires:`Stefan Monnier2023-08-292-19/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | This is/was the main hurdle to be able to include `mastodon.el` into (Non)GNU ELPA since `ts` is/was not in (Non)GNU ELPA. Also I think the replacement function is more flexible and gives better results :-) * lisp/mastodon-tl.el: Don't require `ts`. (mastodon-tl--time-units): New const. (mastodon-tl--human-duration): New function. (mastodon-tl--format-poll-expiry): Rewrite using it.
| * Fix "empty body" warningsStefan Monnier2023-08-272-37/+36
| | | | | | | | | | | | | | | | * lisp/mastodon-media.el (mastodon-media--process-image-response): Remove unused `unwind-protect`. * lisp/mastodon-views.el (mastodon-views--delete-filter): Fix paren error which made a `y-or-n-p` ineffective.
* | force arg for mastodon-return-credential-account.marty hiatt2023-08-271-6/+14
| |
* | fix quotation marks in 2 docstringsmarty hiatt2023-08-272-2/+2
|/
* let* in update-meta-fields-alistmarty hiatt2023-08-221-7/+7
|
* flychecks for new vars/funmarty hiatt2023-08-221-3/+4
|
* new var: mastodon-profile-acccount-preferences-data, to reduce requestsmarty hiatt2023-08-221-3/+10
|
* new fun: mastodon-return-credential-account, var: ↵marty hiatt2023-08-223-11/+21
| | | | | | mastodon-profile-credential-account FIX #480.
* add defcustom: mastodon-tl--highlight-current-toot.marty hiatt2023-08-162-2/+13
|
* remove error call in rendering html http response.marty hiatt2023-08-161-2/+2
|
* add 'cursor-face 'hightlight to insert-status.marty hiatt2023-08-161-1/+2
|
* indent -media.elmarty hiatt2023-08-021-1/+1
|
* let* for update-note-countmarty hiatt2023-07-251-1/+1
|
* 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
|
* fix type name for tl--show-statsmarty hiatt2023-07-131-1/+1
|
* give mastodon-auth--get-browser-login-url a proper alist.marty hiatt2023-07-131-4/+4
|
* message wait/done to attachment uploads, to avoid issues. See #478.marty hiatt2023-07-122-6/+3
|
* better docstring for mastodon-tl--scroll-up-commandmarty hiatt2023-07-061-1/+1
|
* add lemmy comment url form to masto-url-pmarty hiatt2023-07-061-1/+2
|
* mastodon-tl--scroll-up-commandmarty hiatt2023-07-062-0/+10
|
* handle updating a single-toot view. FIX #476.marty hiatt2023-06-271-2/+10
|
* help-echo for direct/private byline iconsmarty hiatt2023-06-221-2/+4
|
* add a lemmy community URL to url-pmarty hiatt2023-06-201-0/+1
|
* fix html render on error in process-jsonmarty hiatt2023-06-201-2/+2
|
* handle nil value in poll expires_at attr.marty hiatt2023-06-151-1/+3
|
* mute thread from notifs viewmarty hiatt2023-06-131-5/+8
| | | | uses base-toot-id, which i'm just praying is right.
* tag bindings on ' and ", not overloading :marty hiatt2023-06-112-3/+4
|
* add lemmy post regex to masto-url-pmarty hiatt2023-06-101-1/+2
|
* profile: switch followed-by/following displaymarty hiatt2023-06-101-2/+2
|
* dm-user bindingmarty hiatt2023-06-051-0/+1
|
* fix get user handles profile note test. FIX #472.marty hiatt2023-06-031-2/+3
| | | | | this way, if in profile note, we just return profile owner, else we might be on a toot in a profile, and so just proceed normally.
* don't dbl quote video overlay fontmarty hiatt2023-05-301-1/+1
|
* tiny cleanup of view-instance-description (uncallable code)marty hiatt2023-05-261-10/+2
|
* rough rendering for 404 html error responses.marty hiatt2023-05-261-4/+17
|
* extract-userhandle-from-url: check for url-filenamemarty hiatt2023-05-261-0/+2
| | | | | i ran into a "handle" that was just a TLD link. if we don't error when url-filename is "", and just do nothing, SHR seems to render such a handle fine.