aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* update cmd/var indexmarty hiatt2023-08-211-34/+35
|
* Merge branch 'develop'marty hiatt2023-08-174-5/+17
|\
| * 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
| |
* | Merge branch 'develop'marty hiatt2023-07-252-10/+12
|\|
| * 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
| |
* | Merge branch 'develop'marty hiatt2023-07-1318-1461/+1500
|\|
| * 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
| |
| * update mastodon-indexmarty hiatt2023-07-061-2/+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
| |
| * readmemarty hiatt2023-06-263-5/+5
| |
| * 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
| |
| * update info pagesmarty hiatt2023-06-202-11/+11
| |
| * update mastodon-index.orgmarty hiatt2023-06-201-15/+3
| |
| * 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.
| * FIX boosting unlisted allowed, private not allowedmarty hiatt2023-05-251-1/+1
| |
| * more tiny -tl cleanupsmarty hiatt2023-05-241-12/+11
| |
| * rename tl--user-handles-getmarty hiatt2023-05-242-14/+13
| |
| * tiny refactor tl--mute-or-unmute-threadmarty hiatt2023-05-231-23/+19
| |