Commit Graph

179 Commits

Author SHA1 Message Date
Hugh Rundle 0ce796c87e add --retry-mins option
This commit adds a --retry-mins option to enable users to choose how many minutes pass
between attempts to retry a toot deletion when there is an error.

Also re-organises documentation and bumps version to 2.6.
2020-08-23 16:53:03 +10:00
Hugh Rundle 8ecc22c0ab
Merge pull request #40 from jneplokh/master
Fix typo in README on copying the example config
2020-07-19 17:35:22 +10:00
Jacob Neplokh b825031738
Fix typo in README on copying the example config 2020-07-19 00:24:50 -07:00
Hugh Rundle 06ff0fe1f1
Merge pull request #38 from hughrun/2_5_release
2 5 release
2020-07-18 18:27:44 +10:00
Hugh Rundle 0e1919f6f5 update hide-skipped references 2020-07-18 18:14:09 +10:00
Hugh Rundle 5c5fdec650 add --quite to readme 2020-07-18 18:12:38 +10:00
Hugh Rundle a777e18e12 update docs for v2.5
Updates README for new options
Updates version number
2020-07-18 18:04:27 +10:00
Hugh Rundle 62db64a73f add --quiet mode
This new option suppresses most logging, except for very basic information (which account is being worked on, and how many toots were deleted).

Exception messages are not suppressed.
2020-07-18 18:02:30 +10:00
Hugh Rundle f5016fe684 add --archive-deleted flag
This adds a flag to restrict the archive to only toots about to be deleted, rather than archiving everything.
2020-07-18 17:38:16 +10:00
Hugh Rundle 7aa2b89424 improve archive description 2020-07-18 15:53:12 +10:00
Hugh Rundle 9803e16f95 Fix non-absolute archive filepaths breaking
Archive paths can now be relative (not recommended) or use tildes

Also improves documentation of archive function both in README and example config.
2020-07-18 15:45:20 +10:00
Hugh Rundle 594f5dd5c6 improve help menu 2020-07-18 15:44:00 +10:00
Hugh Rundle 052d61f0d8 update CoC contact email 2020-07-05 17:21:07 +10:00
Hugh Rundle 75a09cb90f
Merge pull request #33 from hughrun/community
Update Community documentation.
2020-07-04 16:43:16 +10:00
Hugh Rundle dec4c2eddb
Merge pull request #32 from hughrun/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2020-07-04 16:40:36 +10:00
Hugh Rundle 027a119f84 make minor formatting changes to docs 2020-07-04 15:57:59 +10:00
Hugh Rundle ff6ddd1f13 add PRs Welcome badge to README 2020-07-04 14:26:30 +10:00
Hugh Rundle 59da638ef7 add contributing guide 2020-07-04 14:25:12 +10:00
Hugh Rundle ff16414933 update templates
- Add pull request template
- Update issue template directory name
- minor edits to README ahead of community docs improvements
2020-07-04 14:23:39 +10:00
Hugh Rundle 28261b9f66
Create CODE_OF_CONDUCT.md 2020-07-04 12:40:45 +10:00
Hugh Rundle 18537cda05 update example config with archive value 2020-07-04 10:58:23 +10:00
Hugh Rundle ad7eb48870 apply black code formatting 2020-07-04 10:56:23 +10:00
Hugh Rundle fe1358c7c3
Merge pull request #29 from jpmens/archive
Add support for archiving toots into JSON files
2020-06-30 09:14:06 +10:00
Jan-Piet Mens e92a6e9d16 add missing newline between functions 2020-06-29 13:45:44 +02:00
Jan-Piet Mens 7ebf1220a3 remove debugging. 2020-06-29 13:45:08 +02:00
Hugh Rundle 81afe39581
Merge pull request #29 from jpmens/archive
Add support for archiving toots into JSON files
2020-06-29 20:45:31 +10:00
Jan-Piet Mens c0d680258f Add support for archiving toots into JSON files 2020-06-28 14:04:29 +02:00
Hugh Rundle a1db933bbd Add --version flag
Commit adds a --version flag to display the current version (from setup.py) and also fetch the latest version (from the git repo).
Additionally includes the version number in the header when running deletions.
Resolves #27
2020-06-21 15:25:04 +10:00
Hugh Rundle c4c7b11fba Update docs
Update Readme and initial capitalise help text.
Resolves #22
2020-06-21 13:59:30 +10:00
Hugh Rundle 3ee8336888 add --pace argument
Resolves #24
Resolves #25

This commit adds a --pace argument, utilising the Mastodon.py option to slow down API calls to stay within the limit rather than pausing when it is hit.

Also adds timestamp in normal operation when the API limit is hit, and lists how many minutes left before reset.
2020-06-21 12:42:25 +10:00
Hugh Rundle 2263a9fc54 resolve #26 add hide_skipped flag 2020-06-20 21:05:06 +10:00
Hugh Rundle 669d276f81 resolve #23 include datestamp option for all actions 2020-06-20 20:52:34 +10:00
Hugh Rundle 898ce41fb7 Simplify config options and improve error handling
Fix #21
2020-05-09 14:45:38 +10:00
Hugh Rundle 4f6550f269 update docs with upgrade instructions 2020-04-27 15:42:44 +10:00
Hugh Rundle 38699156c4 Merge branch 'master' of github.com:hughrun/ephemetoot
Merge issue templates
2020-04-27 15:29:10 +10:00
Hugh Rundle e5488ced4d fix catastrophic bug from abc7e07677 2020-04-27 15:28:07 +10:00
Hugh Rundle b251577ffe minor readme update 2020-04-27 15:26:49 +10:00
Hugh Rundle e32518eb39 Add issue templates 2020-04-25 09:39:25 +10:00
Hugh Rundle 7d64f0f626 updated readme 2020-04-25 09:29:10 +10:00
Hugh Rundle 4a1abac664 updated readme 2020-04-25 09:23:56 +10:00
Hugh Rundle abc7e07677 add launchd scheduling
adds --schedule and --time flags
improves CLI feedback
resolves #5
2020-04-25 08:53:19 +10:00
Hugh Rundle 3f6562b423 improve exception handling 2020-04-21 08:49:34 +10:00
Hugh Rundle 6dfb599155 fix typos in README 2020-04-20 20:37:36 +10:00
Hugh Rundle 61d0d01f12 use setuptools and add multi-user
Resolves #20 - now uses setuptools for easy installation with pip
Resolves #13 - can now manage multiple accounts
Config file is now in YAML and is passed to script with --config flag
Can now execute from anywhere
2020-04-20 20:14:58 +10:00
Hugh Rundle ff448a45bd
Update README with correct config values
A couple were missed in the previous update by @rugk
2020-04-08 08:37:24 +10:00
Hugh Rundle 70a0d383c7
Merge pull request #18 from rugk/patch-1
Fix wrong config strings in example file
2020-04-08 08:33:51 +10:00
rugk 0d26b24a7a
Fix doc, too 2020-04-07 20:17:06 +02:00
rugk b56d7fa71e
Fix wrong config strings in example file
This fixes the errors:
> module 'config' has no attribute 'keep_pinned'

and:
> module 'config' has no attribute 'keep_pinned'
2020-04-07 20:15:56 +02:00
Hugh Rundle 76ace13237 update docs 2020-04-04 19:18:31 +11:00
Hugh Rundle cb7babc409 update docs 2020-04-04 19:16:07 +11:00