Commit Graph

160 Commits

Author SHA1 Message Date
Hugh Rundle 8e1cf1e006 bump dependencies and patch version 2021-08-23 21:14:06 +10:00
Hugh Rundle a989abc80b add test for archive_toot_media 2021-08-23 20:57:09 +10:00
Hugh Rundle 8b4452685f
Merge pull request #73 from fobser/archive_media
add archive_media configuration option
2021-08-23 15:25:36 +10:00
Florian Obser 04c4ccd6b9 add archive_media configuration option
With the archive_media option set to true, media attachments are
archived together with the toot.
Resolves #72
2021-08-22 16:52:23 +02:00
Hugh Rundle 8297ffd3af
add reference to `cleantoots`
Resolves #71
2021-08-06 11:36:10 +10:00
Hugh Rundle 29e1f760e7
Merge pull request #70 from hughrun/docs
clarify --init filepaths in docs
2021-05-25 08:41:38 +10:00
Hugh Rundle 7e330b919f clarify --init filepaths in docs 2021-05-25 08:27:49 +10:00
Hugh Rundle 2c50e89192
Merge pull request #68 from hughrun/3.1.1-prep
prepare for 3.1.1 release
2021-05-01 10:53:27 +10:00
Hugh Rundle 084a256820 prepare for 3.1.1 release
- run Black to clean up formatting
- extra-cautious addition to .gitignore
- bump version from pre-release
2021-05-01 10:38:43 +10:00
Hugh Rundle 999abcb934
Merge pull request #67 from hughrun/bugfix-66
Bugfix
2021-02-12 21:30:06 +11:00
Hugh Rundle 3816e2ed72 bump version to 3.1.1 alpha1 2021-02-12 21:16:12 +11:00
Hugh Rundle 039a142c24 Add default values to functions
Aimed to be a fix for #66 (concat incompatible type errors under certain conditions)
2021-02-12 21:11:25 +11:00
Hugh Rundle 1038bf6d6f Merge branch 'master' of github.com:hughrun/ephemetoot
align local with remote
2021-01-31 21:48:44 +11:00
Hugh Rundle 0bd317d09d
Merge pull request #65 from 96RadhikaJadhav/Fixed-typo
Fixed typo in install.md file
2020-11-28 07:59:41 +11:00
96RadhikaJadhav 95881151e5 Fixed typo in install.md file 2020-11-27 16:09:57 +05:30
Hugh Rundle 71c0b61a62 include tests in pypi package
This commit adds the tests directory when packaging up for pypi. This is in response to a request from @pacoesteban (GitHub user) who is the maintainer for the OpenBSD port of ephemetoot.
2020-09-26 13:42:40 +10:00
Hugh Rundle 45fd4a90af
Merge pull request #60 from hughrun/3.1-prep
3.1 prep
2020-09-12 15:19:40 +10:00
Hugh Rundle fcfed97634 bump version and amend docs 2020-09-12 15:16:16 +10:00
Hugh Rundle 790c0d97e1 add tests for -qq and -qqq 2020-09-12 15:09:16 +10:00
Hugh Rundle a3f5bd4c53 suppress IndexError message for q=2 or more
- adds username to "No toots found" message
- only prints if quiet <= 1
2020-09-12 15:06:48 +10:00
Hugh Rundle fbbea05fab fix version test 2020-09-12 14:27:46 +10:00
Hugh Rundle 44f764ace0
Merge pull request #59 from hughrun/sanitise-init
Sanitise init
2020-09-12 14:24:47 +10:00
Hugh Rundle 11a3888d5f
Merge pull request #57 from msafadieh/master
Add option to further suppress output
2020-09-12 14:23:26 +10:00
Hugh Rundle 3fa22cb33f Fix incorrect upgrade instructions
Fixes #55
2020-09-12 14:10:06 +10:00
Hugh Rundle e8ff05b11d sanitise --init inputs
Adds function to check most inputs for config file, to ensure they meet requirements.

For example, that tags don't have a "#" and the username doesn't have a "@"
2020-09-12 14:04:53 +10:00
Mohamad Safadieh 7aed1e8d1a
add options to further suppress output
This commit adds the ability to further suppress output for accounts
with no deleted toots using the `-qq` flag. It alsoadds the option
to completely suppress logging (excluding exceptions) by using the
`-qqq` flag
2020-09-09 19:06:38 -04:00
Hugh Rundle 0bd6831f44 include contributing.md in docs 2020-09-09 19:47:09 +10:00
Hugh Rundle bd04495c94
Merge pull request #54 from hughrun/v3-release
V3 release preparation
2020-09-08 20:14:16 +10:00
Hugh Rundle 4e108a4417
Merge branch 'master' into v3-release 2020-09-08 20:13:27 +10:00
Hugh Rundle 4905e0543d format with black 2020-09-08 20:05:10 +10:00
Hugh Rundle d52fb4f408 replace pip3 with pip in install instructions 2020-09-08 20:00:34 +10:00
Hugh Rundle dec1232f47 update relative links in docs 2020-09-08 19:01:45 +10:00
Hugh Rundle 2ab8c55bac update instructions
- fix docs Home link being wrong
- add --verbose to options page in docs
- add info about where to see docs, in init()
2020-09-08 18:41:37 +10:00
Hugh Rundle 94ac7869d1
Merge pull request #53 from hughrun/verbose
Verbose
2020-09-07 13:43:17 +10:00
Hugh Rundle cb78b7682a add line break in verbose mode 2020-09-07 13:28:54 +10:00
Hugh Rundle 81f408bde3 improve test run message
Resolves #50 by showing a different 'completion message' for test runs.
2020-09-07 11:13:07 +10:00
Hugh Rundle c3235027da add verbose mode and move exception catching
When tests were added and the main function was split up, some of the exception catching logic was inappropriately moved.
This meant that some exceptions didn't break the loop, when they should have. This is now fixed.

Also added --verbose mode to make troubleshooting a bit easier (hopefully).
2020-09-07 10:57:19 +10:00
Hugh Rundle 6d13618ad4 improve instructions
- README now has a 'quickstart' section
- config file creation clarifies not to include the '#' in hashtag lists
2020-09-07 09:51:06 +10:00
Hugh Rundle f25cc49ce1 prepare for v3.0.0
- update documentation
- bump version
2020-09-06 18:08:14 +10:00
Hugh Rundle 0cf95a4bb0
add warning to docs index file
Note about pinning beta version
2020-09-06 14:18:19 +10:00
Hugh Rundle d7a7292a2c fix equality in pip install 2020-09-05 18:00:28 +10:00
Hugh Rundle 0c1d305084
Merge pull request #48 from hughrun/3alpha1
update readme
2020-09-05 17:56:44 +10:00
Hugh Rundle 4fa44beb27 update readme 2020-09-05 17:55:25 +10:00
Hugh Rundle 38623d0ea8
Merge pull request #47 from hughrun/3alpha1
3 beta 0
2020-09-05 17:53:01 +10:00
Hugh Rundle 3d78af93b4 update version to 3 beta 0 2020-09-05 17:41:02 +10:00
Hugh Rundle f430ef1049 add tests
adds complete test suite using pytest
2020-09-05 17:24:10 +10:00
Hugh Rundle aea5c1d0ea update docs for v3
Adds more information specific to upgrading from earlier version to v3.x
2020-09-05 17:23:04 +10:00
Hugh Rundle 6ccbd9bdd9 standardise toot object references and fix prints
- toot references consistently use dot notation
- console_print statement with old print() comma use fixed
- change the way new lines are created in final message
2020-09-05 17:14:34 +10:00
Hugh Rundle 85546870f6 move retry_on_error() to top level
- moves retry_on_error() to top level function to enable testing
- clean up some code formatting
2020-09-05 12:07:51 +10:00
Hugh Rundle 0be13d7f1a put rate limit message in function and fix console_print()
- datetime message should print before message, not after
- rate limit message moved into function print_rate_limit_message()
2020-09-05 11:09:59 +10:00