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
v3.0.0-beta.0
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
Hugh Rundle
303f7a4cc0
move most print statements to console_print() function
...
Makes code more DRY by moving printing logic into a function.
Checks for --quiet and --hide_skipped are now in this function.
Checks for --datestamp also in this function.
Also makes code easier to test.
2020-09-05 09:20:26 +10:00
Hugh Rundle
3012800f54
create process_toot() function
...
Move all logic for processing each individual toot out of check_batch to a top level function.
This is partially to enable easier testing and partially to make the codebase easier to read through and understand.
2020-08-31 16:54:26 +10:00
Hugh Rundle
977bb06db4
ignore archive dir used in dev
2020-08-31 15:10:58 +10:00
Hugh Rundle
43a792e44d
move check_batch to top level function
2020-08-31 15:10:18 +10:00
Hugh Rundle
0a01f18e44
refactor init()
...
This moves the input() statements into four separate functions taking values.
The main reason for doing so was to allow for unit testing, however it also makes the init() function a little clearer.
Also, potentially, these input functions can now be used by other functions in future.
2020-08-31 14:28:08 +10:00
Hugh Rundle
ffa50dd448
use os.path.join in plist creation
...
This is more correct and also makes testing easier
2020-08-31 09:53:09 +10:00
Hugh Rundle
50d04c27db
move archiving and date printing functions into global scope
2020-08-30 18:57:25 +10:00
Hugh Rundle
8c973a0b3e
improve error handling in console.py
2020-08-30 16:03:27 +10:00
Hugh Rundle
f6542f0529
refactor print statements
2020-08-30 14:33:36 +10:00
Hugh Rundle
619a4a42f7
add pytest
2020-08-30 11:44:37 +10:00
Hugh Rundle
2c9e35fffc
create __docs__ comments
2020-08-29 14:04:24 +10:00
Hugh Rundle
e13646e459
apply black formatting
2020-08-28 21:25:46 +10:00
Hugh Rundle
beac59d440
add try/except for missing config file
2020-08-28 21:16:07 +10:00
Hugh Rundle
275f16e997
make corrections to docs
2020-08-28 21:14:44 +10:00
Hugh Rundle
81db1f167f
Merge pull request #45 from hughrun/poetry
...
Version 3 alpha
v3.0.0a0
2020-08-28 18:32:39 +10:00
Hugh Rundle
5a20d985e4
Merge branch 'poetry' of github.com:hughrun/ephemetoot into poetry
2020-08-28 18:24:11 +10:00
Hugh Rundle
d3e3db27a8
3.0.0-alpha
...
This commit updates ephemetoot for version 3.0.0-alpha.0
Version 3 is designed to be installed from PyPi rather than GitHub. This means the default plist and config files will not be available.
- updates to directory structure
- add --init flag for initiating a config file
- change --schedule so that it saves the plist file directly to ~/Library/LaunchAgents
- update documentation
- new README just for PyPi
2020-08-28 18:16:39 +10:00
Hugh Rundle
d8f4458239
update poetry toml with correct license and new version
2020-08-28 18:16:31 +10:00
Hugh Rundle
2b9dacc56c
update docs for version 3
2020-08-28 18:13:46 +10:00
Hugh Rundle
490dad3bb8
reconfigure file structure and add toml for poetry
2020-08-26 21:59:01 +10:00
Hugh Rundle
0e1337b926
update and reconfigure docs
2020-08-26 21:57:13 +10:00
Hugh Rundle
3d3b74d828
remove header from index.md
2020-08-26 08:55:51 +10:00
Hugh Rundle
87a7791fc0
Create CNAME
2020-08-25 08:55:58 +10:00
Hugh Rundle
371ed4f4e6
Merge branch 'poetry' of github.com:hughrun/ephemetoot into poetry
2020-08-24 21:36:43 +10:00
Hugh Rundle
746d91b584
update docs index
2020-08-24 21:36:17 +10:00
Hugh Rundle
ecdd7a1e32
Set theme jekyll-theme-hacker
2020-08-24 21:25:42 +10:00
Hugh Rundle
05ef0279e4
add index page for GH Pages home
2020-08-24 21:23:38 +10:00
Hugh Rundle
99788e243b
re-organise docs
2020-08-24 21:22:39 +10:00