| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
move help-echo propertizing to author name of byline, in
`mastodon-tl--byline-author'. so when we use `goto-next-toot' point is on
author and we get the help echo
and add the same help-echo to `mastodon-tl--content', but only when in thread
view. this ensures the propertizing occurs prior to any image propertizing,
when will then only replace the faves propertizing for the image part of the
given toot.
that way we have help echo for images when we want, and faves count otherwise.
|
|\ |
|
| |
| |
| |
| |
| | |
this updates the functions to toggle receiving notifications when a user
posts to work with the newly refactored follow-user function and associated functions.
|
| |\ |
|
| | |\ |
|
| | | |\ |
|
| | | | | |
|
| | | | | |
|
| | | |/
| | | |
| | | |
| | | | |
place them after toot content and add padding for vote count display.
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- if the type is not "image", it is displayed in`'help-echo' property.
- the idea is to use this to handle gifs/videos differently to images. but for
now i'm not sure how to actually render such media. but this way, at least the
item could be viewed externally if the user wants to see it, or at least they
know they're missing out on something.
- NB: EWW can't handle content type "video/mp4".
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- mastodon-tl--notify-user-posts
- mastodon-tl--no-notify-user-posts
- + some schtick in notifications.el to make sure the notifs display ok.
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
Just a small simplification of the recent change from commit
027f24125f: the formatting is actually the same no matter if showing
infos about the toot itself or the reblogged toot, so let's just first
pick which toot to use and have the formatting just once.
|
| |
| |
| |
| |
| |
| |
| | |
<some-symbol> <a-list>)`
This is more readable and actually more efficient (maybe) since it
uses `eq` rather than `equal` as a test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
This is much cleaner than first using `defvar` immediately followed by
`make-variable-buffer-local`.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These needed a bit of tender love and care to get back into passing
state.
- Move the auth tests to the `test` directory. No idea what it was
doing in `lisp`.
- Image tests are mostly broken because with later Emacsen we no
longer need the `imagemagic` option on create-image.
- Some method signatures have changed and mocking calls needed to
follow suit.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
This is mostly reflowing / reworkding docstrings to keep within 80
characters limit and adding autoloads.
There are two warning remaining that I don't understand:
- mastodon-async.el:359:16: Warning: reference to free variable
‘url-http-end-of-headers’
- mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused
When adding autoloads this sorts them for better readability.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- use it for eg notifications
- this because i suspect sync is sometimes faster.
- with async init*, i often have to press a key to trigger the request
- perhaps good to have both in the code, and choose which to use when
- cd also poss make this a customize.
|
|
|
|
|
| |
- the shr-maybe-probe-and-copy-url function is already bound to 'w' as well,
so we don't lose it by doing this
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and put point at point-min on profile load
|
|
|
|
|
| |
notifications only have a url and a preview_url, but no remote_url.
we still prefer remote_url in home timelines (inc. boosts) though.
|
|
|
|
| |
zero indexing the vote means we vote for the option we actually chose
|
| |
|
| |
|
|
|
|
| |
- masto view favorites binding moved to "V", in line with other separate views being in capitals
|
|
|
|
|
| |
this fixes the situation where accounts with nothing in "display_name" would appear as
only as a handle
|
| |
|
|
|
|
| |
this prevented the 'account-id from being attached to mentions
|
|
|
|
|
|
| |
this is an attempt to avoid adding same toots instead of older toots on timelines.
it seems to only happen sometimes, my guess it is happens when last toot displayed is
favorited or boosted, perhaps only by the logged-in user.
|
| |
|
|
|
|
|
|
|
|
| |
which is a copy of mastodon-tl--insert-status. this makes the 'toot-id of notifications
that of the favoriting/boosting item, rather than the item boosted/favorited.
this ID is needed in order to make loading more older notifications work correctly.
beforehand, the call would be incorrect and the same latest 20 notifications would load.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
and bindings.
view-follow-requests makes mastodon-tl--init run in mastodon-profile-mode
just so that its bindings can be restricted to that minor mode.
|
| |
|
| |
|