aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop'mousebot2022-02-1316-90/+426
|\
| * Merge branch 'develop' of codeberg.org:martianh/mastodon.el into developmousebot2022-02-121-0/+288
| |\
| | * Merge pull request 'Add tests for mastodon-profile.' (#259) from ↵martianh2022-02-121-0/+288
| | |\ | | | | | | | | | | | | | | | | | | | | h_d/mastodon.el:add-profile-tests into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/259
| | | * Add tests for mastodon-profile.Holger Dürer2022-02-121-0/+288
| | |/ | | | | | | | | | These are completely missing so far so let's get some things added.
| * | Merge branch 'develop' of codeberg.org:martianh/mastodon.el into developmousebot2022-02-121-1/+1
| |\|
| | * Merge pull request 'Fix the timer test that was broken with the recent timer ↵martianh2022-02-121-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | fix.' (#258) from h_d/mastodon.el:fix-timer-test into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/258
| | | * Fix the timer test that was broken with the recent timer fix.Holger Dürer2022-02-121-1/+1
| | |/ | | | | | | | | | | | | When we corrected the time arg for `run-at-time` we forgot to update the corresponding test which was strictly checking the time arg.
| * | Merge 'develop' of codeberg.org:martianh/mastodon.el into developmousebot2022-02-121-4/+10
| |\|
| | * Merge pull request 'Fix the timers for auto-updating of relative ↵martianh2022-02-121-4/+10
| | |\ | | | | | | | | | | | | | | | | | | | | timestamps.' (#257) from h_d/mastodon.el:fix-timers into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/257
| | | * Fix the timers for auto-updating of relative timestamps.Holger Dürer2022-02-121-4/+10
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * / fix search-get-user-info test broken by follow suggestionsmousebot2022-02-111-1/+4
| |/
| * revert to requiring mastodon tootmousebot2022-02-112-17/+10
| | | | | | | | | | | | | | | | 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.
| * --search-accounts-query use http--apimousebot2022-02-071-1/+1
| |
| * add go to next toot to tl--threadmousebot2022-02-071-13/+15
| | | | | | | | fix go to first toot on thread load
| * implement follow suggestions.mousebot2022-02-072-15/+45
| | | | | | | | | | | | | | | | | | | | | | 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.
| * message when notificiations--timeline returns nothing.mousebot2022-02-051-2/+4
| |
| * place point on byline of first toot on timeline load.mousebot2022-02-051-0/+1
| |
| * message for no follow reqs in add-author-bylines funmousebot2022-02-051-14/+16
| |
| * don't call mastodon-profile-mode in profile--view-follow-requestsmousebot2022-02-051-1/+0
| | | | | | | | | | | | | | 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.
| * revert require of mastodon-toot to autoloadsmousebot2022-02-052-11/+17
| | | | | | | | | | - use (autoload) call in mastodon.el for functions - use autoload cookie in mastodon-tool.el for customize options.
| * update homepage and copyright boilerplatemousebot2022-02-0513-19/+19
| |
| * autoload fix for mastodon-notifications--get; set interative to tmousebot2022-01-301-1/+3
| | | | | | | | | | 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.
| * handle a buggy empty notificationmousebot2022-01-152-18/+20
| | | | | | | | | | | | 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.
| * autoloadsmousebot2022-01-151-0/+2
| |
| * keep mastodon-toot--max-toot-chars a number not a string.mousebot2022-01-121-4/+3
| | | | | | | | | | we use it as a number various times so let's leave it a number, then convert to string for display in toot info.
* | autoload fix for mastodon-notifications--get; set interative to tmousebot2022-01-301-1/+3
| | | | | | | | | | 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.
* | keep mastodon-toot--max-toot-chars a number not a string.mousebot2022-01-201-4/+3
| | | | | | | | | | we use it as a number various times so let's leave it a number, then convert to string for display in toot info.
* | Merge branch 'develop'mousebot2022-01-112-4/+3
|\|
| * byte compile warningsmousebot2022-01-111-2/+3
| |
| * FIX local mentions/links checkingmousebot2022-01-111-9/+9
| | | | | | | | | | | | | | | | | | | | | | 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
| * FIX fetching max toot length from servermousebot2022-01-111-4/+12
| | | | | | | | | | | | | | | | 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.
* | FIX fetching max toot length from servermousebot2022-01-111-4/+12
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'fix-local-mentions-links-checking'mousebot2022-01-116-186/+118
|\ \
| * | FIX local mentions/links checkingmousebot2022-01-111-7/+9
| |/ | | | | | | | | | | | | | | | | 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.
| * add support for poll notificationsmousebot2022-01-101-4/+12
| | | | | | | | finally we now display all types of notifications! it's about bloody time.
| * refactor notification functionsmousebot2022-01-031-75/+48
| |
| * fix follow-request-process: change "accept" to "authorize"mousebot2021-12-291-7/+8
| |
| * pleroma compat commentmousebot2021-12-251-0/+1
| |
| * reload on pin togglemousebot2021-12-251-2/+6
| |
| * Merge branch 'insert-status-refactor' into developmousebot2021-12-242-17/+9
| |\
| | * refactor mastodon-notifications--insert-statusmousebot2021-12-242-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | refactor follow request accept/reject functions.mousebot2021-12-243-82/+33
| |/ | | | | | | | | | | | | | | | | | | 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.
| * text-mode for toot compose buffermousebot2021-12-241-1/+1
| | | | | | | | and remove duplicate mastodon-toot-mode call.
* | readme update for ghmousebot2021-12-251-13/+12
| |
* | remove old auth test filemousebot2021-12-241-47/+0
| |
* | Merge branch 'main'mousebot2021-12-2325-696/+3540
|\|
| * tiny ediff clean up 2.mousebot2021-12-232-5/+3
| |
| * Merge branch 'main' into developmousebot2021-12-232-13/+11
| |\
| | * apply pleroma patch from #208mousebot2021-12-231-0/+2
| | |
| | * tiny cleanups after Ediff main / mastermousebot2021-12-231-14/+10
| | |