| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
h_d/mastodon.el:add-profile-tests into develop
Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/259
|
| | |/
| | |
| | |
| | | |
These are completely missing so far so let's get some things added.
|
| |\| |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
fix.' (#258) from h_d/mastodon.el:fix-timer-test into develop
Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/258
|
| | |/
| | |
| | |
| | |
| | | |
When we corrected the time arg for `run-at-time` we forgot to update
the corresponding test which was strictly checking the time arg.
|
| |\| |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
timestamps.' (#257) from h_d/mastodon.el:fix-timers into develop
Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/257
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I have no idea how this ever worked, already the original
commit (https://github.com/mooseyboots/mastodon.el/commit/746694f0ea75f5fa76739d49509836ccd67d7d65?utm_source=pocket_mylist)
seems to have passed a time instead of seconds. The docs for
`run-at-time` (https://www.gnu.org/software/emacs/manual/html_node/elisp/Timers.html)
make it clear that this cannot work.
Now we keep the absolute times but upon calling `run-at-time` we
convert that to relative seconds from now.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
we always need all the funs for operating on individual toots so this is best.
Revert "revert require of mastodon-toot to autoloads"
This reverts commit 6a164669e0bffed67ad59c206f13651a67456127.
|
| | |
|
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
it's now called in tl-init* for follow requests inits.
calling it here also enables profile mode in whatever bufer view-follow-reqs
was called from, which is useless.
|
| |
| |
| |
| |
| | |
- use (autoload) call in mastodon.el for functions
- use autoload cookie in mastodon-tool.el for customize options.
|
| | |
|
| |
| |
| |
| |
| | |
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 use it as a number various times so let's leave it a number, then convert
to string for display in toot info.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
we use it as a number various times so let's leave it a number, then convert
to string for display in toot info.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
some servers have 'max_toot_chars, but others seem to have 'max_characters,
under statuses, under configuation.
we allow for both types, but also we check our var isn't nil before trying to
check it's length, which broke toot--send in some cases.
|
| |
| |
| |
| |
| |
| |
| |
| | |
some servers have 'max_toot_chars, but others seem to have 'max_characters,
under statuses, under configuation.
we allow for both types, but also we check our var isn't nil before trying to
check it's length, which broke toot--send in some cases.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
finally we now display all types of notifications! it's about bloody time.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
previously we had duplication of functions depending on whether we were in
follow requests view or notificaitons view.
now we just check which kind of f-req we have and act accordingly.
main function being `mastodon-notifications--follow-request-process'.
also updates keybindings for both views. we no longer need them included
separately in profile-mode.
|
| |
| |
| |
| | |
and remove duplicate mastodon-toot-mode call.
|
| | |
|
| | |
|
|\| |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|