Commit Graph

67 Commits

Author SHA1 Message Date
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
Hugh Rundle f8d118bbbe resolve #12 - exclude toots with certain hashtags 2020-04-04 18:28:21 +11:00
Hugh Rundle e3001255c6 update docs 2020-04-04 16:31:31 +11:00
Hugh Rundle 23e907d595 resolve #16 - keep toots based on visibility 2020-04-04 16:27:31 +11:00
Hugh Rundle 1497d96270 fix another README typo 2019-07-24 08:45:35 +10:00
Hugh Rundle 8ff1036db4 fix typo in issue url 2019-07-24 08:43:48 +10:00
Hugh Rundle df15d903c4 add documentation about utf-8 errors 2019-07-24 08:42:28 +10:00
Hugh Rundle 824a6f7071
Merge pull request #9 from hughrun/rate-limit-errors
Clean up rate limit code, relying on mastodon.py's 'wait' mode, and add notification when limit reached.
2019-05-19 14:47:08 +10:00
Hugh Rundle cc35769d83
Merge pull request #10 from MarkEEaton/rate-limit-notification
Rate limit notification
2019-05-19 09:41:43 +10:00
Mark Eaton 6354876d53 make rate limit check only for non-test runs 2019-05-13 15:32:10 -04:00
Mark Eaton 2f1a34852e add notification when rate limit reached 2019-05-13 14:33:33 -04:00
Hugh Rundle 6b26940ee9 reformat for nicer code using black 2019-05-12 15:40:15 +10:00
Hugh Rundle 9844486601 Amend rate-limit code and add more exception checking
The commit explicitly sets ratelimit_method to "wait" when initiating Mastodon (though this is the default anyway).
This setting allows mastodon.py to handle rate limits for us instead of having to put logic in ephemetoot to deal with it.

Also added some exception/error checking within the toot checking loop, allowing a second attempt for Mastodon API errors, adding a break after a KeyboardInterupt (Ctrl + C), and printing the errors in some cases to help with debugging.

Finally, there is now a 2 second delay between delete calls, just to be a bit nicer to the endpoint server.
2019-05-12 15:34:15 +10:00