aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
Commit message (Collapse)AuthorAgeFilesLines
...
* cleanup indentation in tl.elmousebot2022-02-171-23/+23
| | | | cleanup indents
* remove unused let binding user-idsmousebot2022-02-171-2/+3
|
* re-factor follow-user functions for various viewsmousebot2022-02-171-20/+28
| | | | | | | | | | | | | | - revert profile--extract-users-handles - rewrite search--insert-users-propertized to handle raw account JSON, and to call search--get-user-info itself, so we can add full acct JSON to each user displayed and use it for follow-user etc. - and to choose how we want to follow users, we edit tl--interactive-user-handles-get to work differently depending on context: - poss contexts are "follow suggestions" view, search results, and profiles displaying a user's followers/followed users.
* Revert "replace all calls to mastodon-search--insert-users-propertized"mousebot2022-02-171-2/+22
| | | | This reverts commit 787f18dcff2ee7a4c5a5cbf331f4e2d26997e1cc.
* replace all calls to mastodon-search--insert-users-propertizedmousebot2022-02-151-22/+2
| | | | with calls to mastodon-profile--add-author-bylines.
* autoload http--api in search.elmousebot2022-02-131-0/+1
|
* --search-accounts-query use http--apimousebot2022-02-071-1/+1
|
* implement follow suggestions.mousebot2022-02-071-15/+25
| | | | | | | | | | | 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.
* update homepage and copyright boilerplatemousebot2022-02-051-4/+3
|
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-1/+3
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-171-1/+1
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.
* bump version, change homepage link, readmemousebot2021-12-171-2/+2
|
* Convert most uses of `(cdr (assoc <some-symbol> <a-list>))` to `(alist-get ↵Holger Dürer2021-11-061-13/+13
| | | | | | | <some-symbol> <a-list>)` This is more readable and actually more efficient (maybe) since it uses `eq` rather than `equal` as a test.
* Reformat all code.Holger Dürer2021-11-061-39/+39
| | | | | | | | | | | 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.
* fix broken completion, restore search--get-user-info{-@}mousebot2021-11-031-1/+7
| | | | | we need this modified version of -get-user-info because it adds the @ prefix to the account handle, which our completion prefix also contains
* Fix compilation warnings.Holger Dürer2021-11-011-7/+2
| | | | | | | | | | | | 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.
* include user's profile URL in company mentions completion.mousebot2021-11-011-4/+5
| | | | | also rename company mentions completion default value to "following" not "followers", which is what the actual search is called and what it returns.
* docstringsmousebot2021-10-291-1/+1
|
* flycheck, autoloads, docstringsmousebot2021-10-221-1/+2
|
* improvements to toot mentions completionmousebot2021-10-211-3/+5
| | | | | | | | | - customize option for completion off, following-only, or all. - 'following=true' is forwarded to http--get-search accordingly. - use company-grab-symbol-cons + regex, prepend "@" to it - also prepend '@' to the list in get-user-info-no-url - this makes company display user handles prepended with '@', and to match and - enter a handle without duplicating the '@'
* first go at company completion for mentions in new tootsmousebot2021-10-201-0/+19
|
* flycheck: docstrings, autoloads, declarationsmousebot2021-10-021-2/+1
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|
* add request and seq as dependencies, flycheck cleanups, andmousebot2021-05-271-32/+2
| | | | move http search funs into http.el
* flychecks and autoloadsmousebot2021-05-261-0/+2
|
* enable live, propertized handle links and tags in searchmousebot2021-05-181-33/+37
|
* message for notifs load, tiny search.el cleanupmousebot2021-05-171-11/+13
|
* clean-up edits after flycheck/bytecompile.mousebot2021-05-161-11/+36
|
* change search results order: statuses, users, hashtagsmousebot2021-05-121-6/+6
|
* add basic search functionsmousebot2021-05-111-0/+145