aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
Commit message (Collapse)AuthorAgeFilesLines
...
* bump version in boilerplatemarty hiatt2022-08-271-2/+2
|
* update dependencies, request version consistencymarty hiatt2022-08-271-1/+1
|
* autoloads, flycheckmarty hiatt2022-08-271-2/+2
|
* skip toot-json check on own profile loadmarty hiatt2022-08-201-1/+4
|
* remove commented code in profile--fields-insertmarty hiatt2022-08-101-17/+5
|
* text-mode for update profile notemarty hiatt2022-08-031-0/+1
|
* cycle thru profile view: toots, followers, followingmarty hiatt2022-08-031-2/+17
|
* add header line to update profile note buffermousebot2022-03-141-0/+4
|
* make profile--show-user also work on profile headersmousebot2022-03-111-1/+2
|
* make follow etc work on boost/fave notifsmousebot2022-03-111-2/+4
| | | | | | | to achieve this, in notifications--format-note, we run notifications--insert-status on 'note' rather than 'status' handle mentions/reblogs when following from a notif
* add toot-json property to profile followers/following notemousebot2022-02-191-1/+3
| | | | in profile--add-author-bylines, which now prints profile notes
* add checks to profile--show-user for when its called on nothingmousebot2022-02-191-16/+22
| | | | - also make profile--extract-ysers-handles work on user listings as well as toots
* profile--add-author-bylines docstringmousebot2022-02-181-2/+1
|
* use search-insert-users-propertized for foll reqsmousebot2022-02-181-1/+3
| | | | | | not prifile--add-author-bylines autoload insert-users-propr in -profile
* run goto-first-item in tl--init, unless profile viewmousebot2022-02-171-1/+0
| | | | | | | | - remove call to goto-next-item from view filters and view foll suggests tweak init-sync goto-first-item behaviour remove call to goto-next-toot on profile load
* cleanup indentation in tl.elmousebot2022-02-171-2/+2
| | | | cleanup indents
* fix up follow requests view: own inheriting keymapmousebot2022-02-171-9/+20
| | | | uses init-sync now also
* re-factor follow-user functions for various viewsmousebot2022-02-171-8/+3
| | | | | | | | | | | | | | - 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.
* move faves count help-echo propertize into tl--bylinemousebot2022-02-151-1/+5
| | | | | | | | | this means that we only do the propertizing when we are actually doing an author byline, docstring for add-author-bylines it also needs renaming
* add mini docs for foll reqs viewmousebot2022-02-151-1/+4
| | | | reload foll reqs view on accept/reject
* add generic goto-next/prev-item funs for filters/foll reqsmousebot2022-02-151-2/+4
| | | | fix remnant call to goto-next-filter
* make profile--extract-user-handles compat with foll req viewmousebot2022-02-151-1/+6
| | | | | | this allows following users directly from foll req views made extract-users-handles work with follwers/following in profile view
* factor out a decent insert-follow-requests funmousebot2022-02-151-1/+15
|
* replace all calls to mastodon-search--insert-users-propertizedmousebot2022-02-151-2/+1
| | | | with calls to mastodon-profile--add-author-bylines.
* make accept/reject foll reqs cmds avail in foll reqs view!mousebot2022-02-151-0/+13
|
* 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.
* update homepage and copyright boilerplatemousebot2022-02-051-1/+1
|
* refactor follow request accept/reject functions.mousebot2021-12-241-46/+0
| | | | | | | | | | 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.
* tiny ediff clean up 2.mousebot2021-12-231-3/+2
|
* remove all ^M from update profile note buffermousebot2021-12-211-0/+1
|
* remove old commentsmousebot2021-12-201-6/+1
|
* typos and docstringsmousebot2021-12-201-3/+4
|
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-0/+1
|
* 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
|
* move profile view followers/following bindings to 's'/'g'.mousebot2021-11-101-2/+2
| | | | | | | because 'O' is no longer available, being used for --my-profile. the actual solution is to just have one binding that cycles through the profile views.
* Do a bit if `if` and `progn` sanitizing.Holger Dürer2021-11-061-6/+5
| | | | | | | - A `progn` with a single form is redundant - `when` doesn't need a `progn` body - `if` has an implicit `progn` for the consequences - I converted one cascade of `if`s into a `cond`.
* Convert most uses of `(cdr (assoc <some-symbol> <a-list>))` to `(alist-get ↵Holger Dürer2021-11-061-31/+31
| | | | | | | <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-12/+12
| | | | | | | | | | | 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.
* Use `defvar-local` to create buffer-local vars.Holger Dürer2021-11-061-2/+1
| | | | | This is much cleaner than first using `defvar` immediately followed by `make-variable-buffer-local`.
* Fix tests.Holger Dürer2021-11-011-1/+1
| | | | | | | | | | | | 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.
* display status of locked accounts in profile viewmousebot2021-10-261-1/+7
|
* update discover menumousebot2021-10-221-0/+8
|
* get relationships for a user with 1 rather than 2 requestsmousebot2021-10-051-2/+3
|
* make updating new toots inserts them after any pinned tootsmousebot2021-10-041-3/+4
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* use inbuilt image scaling if emacs version => 27.1mousebot2021-09-131-1/+2
| | | | and put point at point-min on profile load
* follow requests accept/reject from notifications +mousebot2021-08-091-39/+42
| | | | | | | - new bindings for f-req accept/reject (in both notifs and in f-req views) - check if we are at an f-req before accept/rejecting - flycheck / docstrings - fix notifs byline formatting for f-reqs