1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-06-02 18:48:33 +00:00
Commit graph

1422 commits

Author SHA1 Message Date
niconfus 7206d6c7ed Respect auto_creation_date when advancing recurring tasks 2021-02-06 21:24:21 -05:00
David Steele f327250e01 Use README.md for the Py package long description 2020-12-12 16:48:29 -05:00
David Steele b73ab604a7 Remove README referencing topydo.org
closes #284
2020-12-10 16:43:43 -05:00
David Steele c4db4bce5e Remove some references to topydo.org 2020-12-03 17:41:11 -05:00
David Steele 4c078a9f3d
Merge pull request #281 from mruwek/highlight-current-column
Better focus in column mode
2020-11-24 09:38:00 -05:00
Jacek Sowiński 3d34497576 Highlight title widget of currently focused column
Previously there wasn't any indicator of focus for empty columns. Now
title widget is highlighted then. Color is the same as for TodoWidget
focus and already configured by 'focus_background_color'.
2020-11-23 12:33:44 +01:00
Bram Schoenmakers f2a7698f3f
Remove Flattr button from README
Asking for donations while not being able to put effort in topydo doesn't make sense. Removing the donation button.
2020-11-23 07:46:12 +01:00
Jacek Sowiński 00d2496e5c Fix focus at the bottom and the top of the column
When scrolling down we need to switch to valign=bottom to properly show
last lines of the TodoWidget at the end of the TodoListWidget. Also
config <Down> key to use 'down' action in default config. Without such
config entry, using <Down> key would not take advantage of valign fix.

Also do not focus dividers when jumping with 'home' shortcut.
2020-11-23 07:35:21 +01:00
Jacek Sowiński 37fcd38d61 Convert timestamp to float before using with arrow
arrow>=0.15.0 doesn't accept timestamps given as `str`. Unfortunately
`json` used in ChangeSet doesn't preserve `float` type in dictionary
keys and always converts it to `str`. This leaded to feeding `arrow`
with unsupported strings.

Read note at: https://docs.python.org/3/library/json.html#json.dumps for
further explanation.

This fixes #271 and #274
2020-11-18 11:42:39 -05:00
Jacek Sowiński 2c28d2196f Revert "Fix test_revert_ls test"
This reverts commit 60b0e1beb0.
2020-11-18 11:42:39 -05:00
Jacek Sowiński 423288a764 Mock arrow.now() in the tests
As discovered by @davesteele, `arrow.now()` is not freezed to UTC with
freezegun. We have to mock it so the humanized dates in tests are
calculated properly.
2020-11-18 11:41:37 -05:00
Jacek Sowiński 8f71fffba1 Revert "Fix geo test time errors in tests"
This reverts commit 715a7216b7.
2020-11-18 11:41:37 -05:00
David Steele 0ccb913df6 Add travis test for 3.10 2020-10-30 14:43:31 -04:00
Spencer Taylor 60c072eba0 Set default priority of tasks to 'M' level
Previously, unprioritized tasks were set below all other tasks. This
change sets unprioritized tasks directly in the middle of all task
prioritizations.
2020-10-07 22:27:25 -04:00
David Steele 5cc02c99a8 test code coverage 2020-10-06 19:44:23 -04:00
David Steele 45414269b0 Redirect from topydo.org to a working tiddlywiki 2020-10-05 21:34:14 -04:00
David Steele 0bf7b8030e Add auto_delete_whitespace config variable
Make the feature that deletes blank lines on load optional.

Defaults to true, to preserve existing behavior.
2020-10-05 21:32:14 -04:00
Kirill Smelkov 09438df104 edit: Don't move modified todo items to the end of file
Before this patch a `t edit ...` will remove todo items selected by
`...` and then do equivalent of `t add` with input from result of
editing. This works, but has the property that whenever a todo item is
edited, it is always moved till the end of todo.txt file.

This property creates noise and makes synchronization harder to implement for
some of us who uses VCS and different machines to maintain todo.txt .

-> Teach edit to preserve todo items in their places. Adjust existing
tests and add a couple more exercising cases where either new todo
items are added in the editor, or vice versa, removed in the editor.

/cc @mruwek
2020-10-05 20:45:38 -04:00
David Steele 767bea58a0 Start documenting the 0.14 release 2020-10-04 20:59:11 -04:00
David Steele 9338cf6590 Fix repository links throughout 2020-10-04 13:21:45 -04:00
David Steele ee316e54d7 Test on python 3.9 2020-10-04 12:30:36 -04:00
David Steele 853bb001af Add codecov yaml file
Patch test is informational only
Project test allows .2% regression.
2020-10-03 10:29:47 -04:00
David Steele 917e60b8e6 isort fix 2020-10-02 21:12:05 -04:00
David Steele 557e277a5a Add a setup.py test req for freezegun 2020-10-02 21:07:29 -04:00
David Steele 2c768a192c Add python 3.7 & 3.8 to Travis 2020-10-02 21:07:29 -04:00
David Steele bbc0a5d010 Allow python 3.4 tests to fail in travis
Pip and arrow are both complaining about the presence of v3.4.

From the travis log

0.82s$ pip install .
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Processing /home/travis/build/davesteele/topydo
Collecting arrow>=0.7.0 (from topydo==0.13)
  Downloading a3d20e80ee/arrow-0.14.2-py2.py3-none-any.whl
ERROR: arrow requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' but the running Python is 3.4.8

The command "pip install ." failed and exited with 1 during .

Your build has been stopped.
2020-10-02 21:07:29 -04:00
David Steele a4801840f4 Skip the ical tests if icalendar is not installed
It is listed in setup.py as an extra
2020-10-02 21:07:29 -04:00
David Steele 60b0e1beb0 Fix test_revert_ls test
It was unable to parse the mini-dates in the _handle_ls(). Replace
the dates with the full length strings in the BackupSimulator
commands.
2020-10-02 21:07:29 -04:00
David Steele 715a7216b7 Fix geo test time errors in tests
The freezetime decorator was giving a time of the previous day if
the test was run for time zones west of Greenwich.
2020-10-02 21:07:29 -04:00
David Steele e7ffc32168 Some more escape deprecation fixes 2020-03-05 10:31:48 -05:00
David Steele bafbe2ed6b Fix escape deprecation warnings
Starting in Python 3.7, Python emits deprecation warning for normal
strings containing what it considers invalid backslash escapes. In
Python 3.9, this situation will be a syntax error. Fix the reported
instances.

ref https://lwn.net/Articles/795546/
2020-03-04 08:39:37 -05:00
Bram Schoenmakers b59fcfca53
Fix URLs to images 2019-03-13 15:25:06 +01:00
Bram Schoenmakers 1fbfb82940 Update CNAME 2019-03-13 12:50:02 +01:00
Bram Schoenmakers da8cd022a2 Create CNAME 2019-03-13 12:48:59 +01:00
U-ASML-COM\brschoen 0caba88d72 Prepare for Github pages 2019-03-13 12:42:42 +01:00
Bram Schoenmakers d4f843dac7 Force installing the latest version of isort
Version 4.2.5 that is installed on Travis prints false positives causing
checks to fail.

Make sure that version 4.3.x or higher gets installed.
2018-04-04 13:02:37 +02:00
Bram Schoenmakers bb3f806fd6 Mention business days for relative dates 2018-02-28 12:50:55 +01:00
Bram Schoenmakers bf06350a22
Drop Python 3.3 support
topydo may still work but will not be tested against this Python version
2018-02-12 14:26:14 +01:00
Bram Schoenmakers bdc7eea4b2 Mention that due dates and priorities are taken into account for relevancy 2018-02-02 11:05:56 +01:00
Bram Schoenmakers e9259b269a Add remark to install column mode dependencies 2018-01-30 13:11:51 +01:00
Bram Schoenmakers 18056921a3 Don't treat timestamps in HH:MM format as tags
When you enter a todo item: "Call office at 09:00", the 09:00 would be
seen as a tag-value pair. Because of this, the timestamp would be
removed from the todo text: "Call office at ".

Discussed in issue #211.
2017-11-28 13:16:30 +01:00
Bram Schoenmakers be1e70ccc4 Upgrade TiddlyWiki to version 5.1.15 2017-11-21 10:25:46 +01:00
Bram Schoenmakers 58cd00f087 Documentation updates, expose the 'repeat' functionality with the . key 2017-11-21 10:24:00 +01:00
Bram Schoenmakers e947fde94c Fix links to the (new) todo.txt repositories 2017-09-19 12:30:44 +02:00
Bram Schoenmakers e28607b67a Show completed items at the bottom by default 2017-08-15 14:56:30 +02:00
Bram Schoenmakers 0b33791ac7 Version bump 2017-08-13 16:08:15 +02:00
Bram Schoenmakers b83b1546bd Add changelog to documentation
Also, display the last changelog at the bottom of the homepage
2017-08-13 16:05:53 +02:00
Bram Schoenmakers 73ad553cf9 Updated the documentation with all features and changes for 0.13 2017-08-13 14:49:04 +02:00
Bram Schoenmakers 9d7cd8069b Update changelog 2017-08-13 12:31:15 +02:00
Bram Schoenmakers 91864817aa Some minor grammar fixes to the synopsis 2017-08-13 11:41:31 +02:00