aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use bookmark emoji if possiblemarty hiatt2022-08-191-2/+5
|
* FIX the post visibility marker displayable checkmarty hiatt2022-08-191-2/+2
|
* docstringmarty hiatt2022-08-191-1/+1
|
* format for bookmarked toots, help-echo for B/F/K format charsmarty hiatt2022-08-191-4/+15
|
* tl--init*: fix a stray bracketmarty hiatt2022-08-191-8/+7
|
* remove commented code in profile--fields-insertmarty hiatt2022-08-101-17/+5
|
* fix formatting of unmute-usermarty hiatt2022-08-101-1/+2
|
* optional cd in -set-ce refactormarty hiatt2022-08-071-1/+1
|
* emoji funs indentationmarty hiatt2022-08-071-5/+6
|
* toot.el: refactor set-cwmarty hiatt2022-08-071-10/+12
|
* text-mode for update profile notemarty hiatt2022-08-031-0/+1
|
* cycle thru profile view: toots, followers, followingmarty hiatt2022-08-032-5/+20
|
* --thread: use --api for get-json url for tootmarty hiatt2022-07-271-4/+2
|
* refactor toggle boost and toggle favemarty hiatt2022-07-261-37/+42
|
* Merge branch 'main' of codeberg.org:martianh/mastodon.elmarty hiatt2022-07-260-0/+0
|\
| * --thread: fetch current toot before printing threadmarty hiatt2022-07-261-1/+7
| | | | | | | | fixes #264, where if you fave a toot then enter its thread, fave status is lost.
* | --thread: fetch current toot before printing threadmarty hiatt2022-07-261-1/+6
|/ | | | fixes #264, where if you fave a toot then enter its thread, fave status is lost.
* no fave counts for fol-req notifsmarty hiatt2022-07-231-1/+8
|
* tl--thread: FIX fetching of toot id for notifs/use parent tootmarty hiatt2022-06-271-2/+7
|
* --get-buffer-property: or rather than ifmarty hiatt2022-06-271-4/+3
|
* tl--more: message before and after appending more toots.mousebot2022-05-131-1/+3
| | | | | | | | | this user feedback prevents hitting 'n' running tl--more again before toots have been appended, when what the user wanted was only to naviagate to the next too after they'd been appended. running tl--more before toots are appended causes a bug of appending the same set of toots twice.
* gitignoremousebot2022-05-061-0/+1
|
* Merge branch 'develop'mousebot2022-04-0515-373/+1003
|\
| * flychecks and docstringsmousebot2022-04-053-3/+7
| |
| * toot: message if translate-toot called without lingva.elmousebot2022-04-051-3/+5
| |
| * toot: missing parens in --reply booster checksmousebot2022-04-051-2/+2
| |
| * toot: indents and flycheckmousebot2022-04-051-10/+11
| |
| * toot--reply: improve mentions in repliesmousebot2022-03-291-6/+20
| | | | | | | | | | | | - make sure we get ID from parent if its a fave/boost - avoid duplicates if user or booster already in mentions list
| * call lingva-translate with optional variable-pitch argmousebot2022-03-251-2/+5
| |
| * Merge pull request '2FA login support' (#255) from ↵martianh2022-03-239-148/+392
| |\ | | | | | | | | | | | | | | | Red_Starfish/mastodon-up.el:login into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/255
| | * auth: make mastodon-auth-source-file a defvarAbhiseck Paira2022-02-251-8/+4
| | | | | | | | | | | | | | | The variable `mastodon-auth-source-file' serves no purpose so change it from a defcustom to a defvar. Also update its docstring to document it.
| | * test: fix `mastodon-auth--access-token-not-found'Abhiseck Paira2022-02-251-0/+1
| | |
| | * test: add `mastodon-auth--user-unaware'Abhiseck Paira2022-02-251-0/+8
| | | | | | | | | | | | | | | Test for the situation when old mastodon.el users are unaware of the variable `mastodon-active-user'.
| | * auth: define variable mastodon-auth--user-unawareAbhiseck Paira2022-02-251-0/+15
| | | | | | | | | | | | | | | | | | Hold the explanation string in the variable `mastodon-auth--user-unaware'. This explanation is provided to old mastodon.el users who are not aware of the 2FA related changes.
| | * auth: make old mastodon.el users awareAbhiseck Paira2022-02-252-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most old users of the mastodon.el wouldn't know about the introduction of new variable `mastodon-active-user'[1]. Our goal is to make them aware. Set the default value of [1] to nil. This way we can know that the user hasn't set [1] properly because user is unaware of it. In the definition of `mastodon-auth--access-token', check [1]'s value and if it's null, explain to the user about the new situation. Finally signal the error "Variables not set properly". We have considered the possibility of automating the process but since the new login mechanism depends on setting [1] *in the init file*, the only way to automate it would be to write to user's init file which we consider to be very rude and shouldn't be done by this package.
| | * auth: make the wording in mastodon-auth--explanation clearerAbhiseck Paira2022-02-251-5/+11
| | |
| | * auth: present auth code request in a nicer wayAbhiseck Paira2022-02-251-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the minibuffer prompt to present the explanation what the user needs to do to get authorization code, use Emacs buffer and Window. The minibuffer prompt should have 2-3 words. This increases the readability of the explanation. Of course delete explanation buffer and restore the window configuration as it was after reading from minibuffer.
| | * auth: change name to mastodon-auth--request-authorization-codeAbhiseck Paira2022-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | Change the name of the function `mastodon-auth--ask-authorization-code' to `mastodon-auth--request-authorization-code'. Suggested-by: Marty Hiatt <martianhiatus@riseup.net>
| | * change '-' to '--' in between function and namespace namesAbhiseck Paira2022-02-235-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | mastodon.el currently follows the convention where all function names should have two dashes (not one dash) in between function and namespace names. Update all function names to follow this convention. See issue #205 and pull request #255
| | * test: add more testAbhiseck Paira2022-02-161-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following tests: * mastodon-client--current-user-active-p * mastodon-client-store-access-token * mastodon-client-make-user-active * mastodon-client-form-user-from-vars
| | * test: add test for mastodon-client--general-readAbhiseck Paira2022-02-161-0/+21
| | |
| | * test: fixture: update client.plstore fileAbhiseck Paira2022-02-161-1/+4
| | | | | | | | | | | | update the sample data in fixture/client.plstore file.
| | * test: merge mastodon-client--store1 and *store2Abhiseck Paira2022-02-111-14/+11
| | | | | | | | | | | | | | | | | | Merge `mastodon-client--store1' and `mastodon-client--store2' into a single test `mastodon-client--store' that test the function with the same name.
| | * test: fix mastodon-auth--access-token-not-foundAbhiseck Paira2022-01-271-0/+2
| | | | | | | | | | | | | | | | | | | | | Since the function `mastodon-auth--handle-token-response' now calls `mastodon-client-store-access-token' and `mastodon-client-make-user-active', define mock and stub for them respectively.
| | * test: remove tests for non existent functionsAbhiseck Paira2022-01-271-41/+0
| | | | | | | | | | | | | | | | | | | | | Remove the tests `mastodon-auth--generate-token--no-storing-credentials' and `mastodon-auth--generate-token--storing-credentials' as functions with similar names no longer exist (due to implementation of the new login mechanism)
| | * test: update client website in mastodon-client--registerAbhiseck Paira2022-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The test `mastodon-client--register' specifies that the `mastodon-http--post' be called with a specific value. The value it specified is outdated since mastodon.el's current website has changed. So update the value with URL of the current website.
| | * test: change mastodon files loading orderAbhiseck Paira2022-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before tests start test/ert-helper.el file is loaded which in turn loads other lisp/* files so that required functions and variables are defined during tests. Load lisp/mastodon.el file first before loading other files this solves the complain during tests that `mastodon-active-user' is not defined.
| | * update READMEAbhiseck Paira2022-01-171-13/+19
| | | | | | | | | | | | update the README to inform about the new changes.
| | * update copyright holder infoAbhiseck Paira2022-01-173-0/+3
| | | | | | | | | | | | | | | Update Copyright holder info for files that have undergone non trivial changes.
| | * define autoloads and defvars to silence the byte compilerAbhiseck Paira2022-01-172-0/+9
| | |