| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- previously, boost/fave markers behaved differently depending on whether they
had just been created by the user, or if they were already existing and loaded
with the timeline. in the first case, they'd not be part of the byline, in the
second they would be.
we make it that they not part of the byline, so `mastodon-tl--goto-next-toot',
which works according to text properties, should always put point after them,
on the author-byline.
this also means that we can add help-echos and actions to the author byline
without having to worry about also adding them to the boost/fave markers.
fix call to format-faved-or-boosted-byline
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- new: mpv-play-video-from-byline
- new: find-first-video-in-attachments, returns first moving image attachment
from the toot
- edit mpv-play-video-at-point to accept args url and type
- attachments type/url are now stored in attachments property of the byline
- fetched with get-attachments-for-byline
- keymap byline-keymap to allow playing with C-RET
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
fix go to first toot on thread load
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this factors out display of accounts from mastodon-search--search-query into
mastodon-search--insert-users-propertized.
mastodon-tl--get-follow-suggestions is the fun to view suggestions.
seeing as this allows easy display of profile note under the account handle, i
also added this display to --search-query, but it cd be easily disabled by
calling --insert-users-propertized without its second arg.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
to make `mastodon-notifications--get' available outside our keymap
as it needs to be available to evil users and via M-x. otherwise there's no way to run it.
|
| |
| |
| |
| |
| |
| | |
i received an notification (also in other clients/web interface) attached to
no toot. these checks should allow notifications view to display without
tripping up on any such vacant notifs from the server.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we remove the hacky non-check for a user handle from mastodon-tl--process-link, so that it
/always/ runs mastodon-tl--extract-userhandle-from-url.
the in extract-userhandle-from-url, we test if the url host = local instance.
if so, we just return buffer-text, which = "@user", with no suffix. else we
return a full "@user@instance.url" handle.
remove unused var after fix to userhandle parsing
|
|/
|
|
| |
oops fix the mpv require statement
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which was a copy of mastodon-tl--insert-status.
we revert to having just the latter as main function with optional argument.
mastodon-notifications--insert-status just calls it with the arg ID.
the reason we need the difference is to ensure notifications have their own
ID, and not that of the toot the notif refers to, attached as property
"toot-id". then we have all functionality working on notifications, such as
boosting mentions and so on.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
- add `mastodon-tl--format-faves-count function
- handle notifications formatting (get 'status field of toot)
- apply to author-byline formatting
- apply to the (F) and (B) formatting for faves/boosts
- ensures where point lands after `mastodon-tl--goto-next-toot is always propertized
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
strictly, the 27.1 dependency is only for proper-list-p in -http.el.
|
| |
|
|
|
|
|
|
| |
because it breaks propertizing of links/handles.
so echo faves is now only on byline author name.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|