1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-05-09 18:28:35 +00:00
Commit graph

1439 commits

Author SHA1 Message Date
David Steele f3dc108d58 Fix tests for test completion test change 2023-08-14 10:25:40 -04:00
David Steele 5d7a742095 Use todo.txt spec for id-ing completed tasks
Topydo was only identifying a task as completed if it included a
completion date (which topydo automatically adds). This affects
compatibility with other todo.txt apps, making archiving unreliable.
2023-08-14 10:14:31 -04:00
David Steele 800f9aec36 Link from README to topydo.org tiddlywiki
Closes #301.
2022-12-06 15:03:29 -05:00
David Steele 6bd9703755 Remove python 3.12 alpha from CI tests
There is an error, only for this test, complaining of a missing libxml2
and libxlst (because Cython is missing?). It is still early in the 3.12
release process.
2022-12-06 15:03:29 -05:00
David Steele 9373bb4702 Update a test reference ics file
Tests started failing across python versions. Tests disagree on presence
or absense of a "VALUE=..." format-specifying option on a COMPLETED and
DTS-START dates.

Modified the test reference file to match test output. This does not
introduce errors to https://icalendar.org/validator.html.
2022-12-06 15:03:29 -05:00
David Steele f25316fd21 Update GitHub CI tests for 3.12-alpha existence 2022-12-06 15:03:29 -05:00
David Steele ec6739b75f Update TiddlyWiki with pri -d option 2022-12-06 15:03:29 -05:00
David Steele 67f10d8a50 Update CI test python versions 2022-12-06 15:03:29 -05:00
David Steele 144e2a2258 Remove alpha 3.11 Actions test
It is failing in the pip install stage, on lxml.
2022-12-06 15:03:29 -05:00
David Steele cceec6137d Update Actions test to 3.10 and 3.11 alpha 2022-12-06 15:03:29 -05:00
David Steele d96572c088 Drop support for Python 3.2
The code had a backport shim for importing shutil get_terminal_size.
For modern versions, the call is in shutil in the standard library.
Starting with 3.9, on Debian, the backport reference causes a FTBFS.

Drop the workaround.

Support for security fixes for Python 3.2 ended in 2016.
2022-12-06 15:03:29 -05:00
David Steele 2a9feba408
Merge pull request #303 from BioBox/del_pri
Add ability to remove priorities.
2022-10-01 15:01:41 -04:00
David Steele 4fef42562d
Merge pull request #302 from BioBox/typo
Fix typo on ls format specifiers
2022-09-30 23:30:20 -04:00
Daniel J. Perry 7995eed4ba Add ability to remove priorities. 2022-09-30 16:07:13 -04:00
Daniel J. Perry 0c0fb14071 Fix typo on ls format specifiers 2022-09-28 22:51:45 -04:00
David Steele 57d7577c98 Delete CNAME 2021-04-11 20:28:04 -04:00
David Steele 52d081ee5e Add github workflow 2021-04-11 16:15:39 -04:00
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