| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
images are tab stops. click or RET runs shr-browse-image. a prefix arg
copies the URL.
images use the mastodon-tl--shr-image-map-replacement for extra functions like zoom
image, save image, rotate image, etc.
|
|
|
|
| |
better pinned toots formatting
|
| |
|
|
|
|
|
| |
this is to prevent pinned toots appearing as such when this function is used elsewhere
than for a profile. e.g. the tag search.
|
| |
|
| |
|
|
|
|
|
|
|
| |
also: profile--relationships-get no longer interactive.
and docstrings for fields insert.
indent "pinned" for pinned toots display
|