aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix typo in mastodon-tl--process-link setting 'account-id propmousebot2021-08-081-1/+1
| | | | this prevented the 'account-id from being attached to mentions
* move follow req acc/rej bindings so they don't shadow profilesmousebot2021-07-161-2/+2
|
* implement updating user profile notemousebot2021-06-051-7/+62
| | | | | uses a tiny minor mode 'profile-update', with bindings. U is a general binding for it.
* foll reqs/faves bindings global, autoloads and declarations, readmemousebot2021-06-011-4/+6
|
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|
* view favourites fun, and view/accept/reject follow requests funs.mousebot2021-05-301-2/+62
| | | | | | | 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.
* only show pinned statuses for "statuses" profile buffermousebot2021-05-301-2/+2
|
* add request and seq as dependencies, flycheck cleanups, andmousebot2021-05-271-1/+2
| | | | move http search funs into http.el
* enable tab-stops for links/handles/hashtags in profile note.mousebot2021-05-211-1/+2
|
* pinned toots implemented properly, make-buffer-for revert to synchromousebot2021-05-211-12/+26
| | | | better pinned toots formatting
* autoloads in profile.elmousebot2021-05-181-0/+4
|
* split mastodon-tl--timeline back into two functions.mousebot2021-05-171-2/+2
| | | | | this is to prevent pinned toots appearing as such when this function is used elsewhere than for a profile. e.g. the tag search.
* clean-up edits after flycheck/bytecompile.mousebot2021-05-161-2/+2
|
* display pinned toots first on a user's profile.mousebot2021-05-161-4/+3
| | | | | | | also: profile--relationships-get no longer interactive. and docstrings for fields insert. indent "pinned" for pinned toots display
* add basic display of "fields" (category pairs) on user profilesmousebot2021-05-161-3/+47
| | | | clean up fields mastodon-profile--fields-format
* display "follows you" and "followed by you" on user profilesmousebot2021-05-141-7/+38
|
* message when loading timelines and profilesmousebot2021-05-131-1/+4
|
* add my profile functionmousebot2021-05-101-0/+5
|
* async view profile, async view thread, better promptsmousebot2021-05-091-4/+9
| | | | | | - view profile (using make-profile-buffer-for). - user confirm to delete toot. - better follow/mute/block/profile prompts
* indent toots/foll/following on profilemousebot2021-05-081-1/+1
|
* add toot/follows/followers counts to profile buffermousebot2021-05-081-1/+11
|
* move profile mode map bindings to free up 'f'/'F'mousebot2021-05-071-2/+2
| | | | - this way you can favorite posts when viewing a profile
* Update copyright and bump versionJohnson Denen2019-03-041-1/+1
|
* Fix the boosting/favouriting of statuses in profiles.Holger Durer2018-08-101-0/+2
| | | | | | | (Favouriting itself is still hard since we have clobbered the 'f' keybinding, but if you bind it to something else or invoke it via `M-x mastodon-toot--toggle-favourite` then at least it works.) This also changes the regular boosting/favoriting behavior. Before we would boost/fav a boost or fav instead of the actual toot that was boosted/faved. With this change we always boost/fav the base toot. To do this we now keep a second toot id (with the base toot) in the byline's properities. (For regular statuses 'toot-id and 'base-toot-id will be identical.)
* More profile work (#193)H Durer2018-08-101-64/+152
| | | | | | | | | | | | * Add an alternative approach to user profile opening. This way asks the user in the minibuffer for the handle and offering completion for all user handles in the current status but allowing the user to also enter any other handle to browse whichever account they wish. This also cleans up some compiler warnings about profile code. * Create a new minor mode for mastodon profile pages. There we override the 'f' and 'F' keys to show following and followers respectively. Those pages now look very similar to the regular profile page (with a header).