Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make mastodon-notifications-get a global function | marty hiatt | 2022-11-21 | 1 | -1/+1 |
| | | | | | | | | | so we can view notifs without first openin other masto buffers - move it to mastodon.el - autoload cookie - rename all instances - pray the keymap works | ||||
* | fix toot del/pin tests | marty hiatt | 2022-11-21 | 1 | -19/+22 |
| | |||||
* | http--post - make args + headers optional args | marty hiatt | 2022-11-19 | 2 | -53/+53 |
| | | | | also update all calls to it, no need for nil nil everywhere. | ||||
* | -- separator for profile/tl funs in other files | marty hiatt | 2022-11-18 | 2 | -62/+62 |
| | |||||
* | fix make-author-buffer test: include header img | marty hiatt | 2022-11-12 | 1 | -1/+1 |
| | |||||
* | hack fix -toot--kill test: set mastodon-toot-previous-window-config | marty hiatt | 2022-11-12 | 1 | -4/+7 |
| | |||||
* | fix profile--make-author-buffer test: json array list not vector | marty hiatt | 2022-11-12 | 1 | -1/+1 |
| | |||||
* | add mock to fix author buffer test and notifs-get | marty hiatt | 2022-09-12 | 2 | -1/+6 |
| | |||||
* | fix spoiler text and indent tl-tests | marty hiatt | 2022-09-12 | 2 | -57/+60 |
| | |||||
* | fix http-get-retrieves test | marty hiatt | 2022-09-03 | 1 | -2/+2 |
| | |||||
* | test profile buffer for - change time stamp for woodpecker | marty hiatt | 2022-08-27 | 1 | -2/+2 |
| | |||||
* | update ert-helper to load all tests files | marty hiatt | 2022-08-27 | 1 | -0/+8 |
| | |||||
* | masto notifs tests filename correct | marty hiatt | 2022-08-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request '2FA login support' (#255) from ↵ | martianh | 2022-03-23 | 3 | -57/+97 |
|\ | | | | | | | | | | | Red_Starfish/mastodon-up.el:login into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/255 | ||||
| * | test: fix `mastodon-auth--access-token-not-found' | Abhiseck Paira | 2022-02-25 | 1 | -0/+1 |
| | | |||||
| * | test: add `mastodon-auth--user-unaware' | Abhiseck Paira | 2022-02-25 | 1 | -0/+8 |
| | | | | | | | | | | Test for the situation when old mastodon.el users are unaware of the variable `mastodon-active-user'. | ||||
| * | change '-' to '--' in between function and namespace names | Abhiseck Paira | 2022-02-23 | 2 | -10/+10 |
| | | | | | | | | | | | | | | | | 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 test | Abhiseck Paira | 2022-02-16 | 1 | -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-read | Abhiseck Paira | 2022-02-16 | 1 | -0/+21 |
| | | |||||
| * | test: merge mastodon-client--store1 and *store2 | Abhiseck Paira | 2022-02-11 | 1 | -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-found | Abhiseck Paira | 2022-01-27 | 1 | -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 functions | Abhiseck Paira | 2022-01-27 | 1 | -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--register | Abhiseck Paira | 2022-01-27 | 1 | -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 order | Abhiseck Paira | 2022-01-27 | 1 | -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. | ||||
* | | ert-helper: load mastodon.el before -profile so mastodon-mode-map is avail | mousebot | 2022-02-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mpv-play-at-point' into develop | mousebot | 2022-02-13 | 1 | -1/+1 |
|\ \ | |||||
| * \ | Merge branch 'develop' into mpv-play-at-point | mousebot | 2022-02-12 | 1 | -1/+4 |
| |\ \ | |||||
| * | | | fix media-link-rendering-gif test | mousebot | 2022-02-11 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge branch 'develop' of codeberg.org:martianh/mastodon.el into develop | mousebot | 2022-02-12 | 1 | -0/+288 |
|\ \ \ | |||||
| * | | | Add tests for mastodon-profile. | Holger Dürer | 2022-02-12 | 1 | -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 develop | mousebot | 2022-02-12 | 1 | -1/+1 |
|\| | | | |_|/ |/| | | |||||
| * | | Fix the timer test that was broken with the recent timer fix. | Holger Dürer | 2022-02-12 | 1 | -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. | ||||
* / | fix search-get-user-info test broken by follow suggestions | mousebot | 2022-02-11 | 1 | -1/+4 |
|/ | |||||
* | making a start on pinned toot tests | mousebot | 2021-12-20 | 1 | -1/+31 |
| | |||||
* | tests for own-toot-p | mousebot | 2021-12-20 | 1 | -21/+36 |
| | |||||
* | improve delete toot tests | mousebot | 2021-12-20 | 2 | -7/+9 |
| | |||||
* | delete toot test use temp buffer | mousebot | 2021-12-20 | 1 | -15/+44 |
| | |||||
* | hack attempts to test delete toot functions | mousebot | 2021-12-20 | 1 | -2/+39 |
| | |||||
* | add block/mute calls to test do user action function | mousebot | 2021-12-20 | 1 | -2/+22 |
| | |||||
* | test mastodon-tl--do-user-action-function | mousebot | 2021-12-20 | 1 | -1/+95 |
| | |||||
* | test mastodon-http--triage | mousebot | 2021-12-20 | 1 | -0/+75 |
| | |||||
* | Merge branch 'develop' into notify-when-post | mousebot | 2021-12-16 | 10 | -265/+532 |
|\ | |||||
| * | Merge branch 'develop' into media-type | mousebot | 2021-12-16 | 10 | -607/+633 |
| |\ | |||||
| | * | Make the local ert runner pass. | Holger Dürer | 2021-11-10 | 3 | -1/+4 |
| | | | | | | | | | | | | | | | | | | When just loading the lisp and test files one can run `M-x ert` but because things are subtly different we need to tweak a few more things to make things pass in that mode. | ||||
| | * | Hamonize tests. | Holger Dürer | 2021-11-10 | 9 | -127/+134 |
| | | | | | | | | | | | | | | | | | | | | | - Add a header comment explicitly switching off lexical binding - Harmonize naming (always start with module and double hyphen) - Ensure all tests have at least a minimal doc string. - Move tests from `mastodon-auth-test.el` to `mastodon-auth-tests.el` | ||||
| | * | Reformatting `mastodon-search-tests.el`. | Holger Dürer | 2021-11-10 | 8 | -511/+517 |
| | | | | | | | | | | | | | | | - Remove redundant let binding of vars - Re-indent various things to better fit reasonably on a screen. | ||||
| | * | Change `mastodon-auth-test.el` to not expect errors. | Holger Dürer | 2021-11-10 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | Instead let's catch the error and then assert the correct error text. This is more specific and also looks nicer on a test run as there are no `F` symbols for the (expected) failures. | ||||
| * | | update mastodon-media:get-media-link-rendering{-gif} | mousebot | 2021-11-09 | 1 | -1/+28 |
| |/ | | | | | | | | | to handle adding property "type" to media, and to display in help-echo if not an image. | ||||
| * | update test mastodon-media:get-media-link-rendering with extra props | mousebot | 2021-11-09 | 1 | -2/+10 |
| | | |||||
| * | Reformat all code. | Holger Dürer | 2021-11-06 | 7 | -390/+390 |
| | | | | | | | | | | | | | | | | | | | | | | 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. |