td-task 0.2.6__tar.gz → 0.2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {td_task-0.2.6 → td_task-0.2.7}/PKG-INFO +2 -2
  2. {td_task-0.2.6 → td_task-0.2.7}/README.md +1 -1
  3. {td_task-0.2.6 → td_task-0.2.7}/pyproject.toml +1 -1
  4. {td_task-0.2.6 → td_task-0.2.7}/src/td/CHANGELOG.md +3 -0
  5. {td_task-0.2.6 → td_task-0.2.7}/src/td/db.py +2 -1
  6. {td_task-0.2.6 → td_task-0.2.7}/src/td/tui.py +3 -3
  7. {td_task-0.2.6 → td_task-0.2.7}/uv.lock +1 -1
  8. {td_task-0.2.6 → td_task-0.2.7}/.env.enc +0 -0
  9. {td_task-0.2.6 → td_task-0.2.7}/.github/workflows/pages.yml +0 -0
  10. {td_task-0.2.6 → td_task-0.2.7}/.github/workflows/publish.yml +0 -0
  11. {td_task-0.2.6 → td_task-0.2.7}/.gitignore +0 -0
  12. {td_task-0.2.6 → td_task-0.2.7}/.python-version +0 -0
  13. {td_task-0.2.6 → td_task-0.2.7}/assets/demo.gif +0 -0
  14. {td_task-0.2.6 → td_task-0.2.7}/demo.tape +0 -0
  15. {td_task-0.2.6 → td_task-0.2.7}/index.html +0 -0
  16. {td_task-0.2.6 → td_task-0.2.7}/src/td/__init__.py +0 -0
  17. {td_task-0.2.6 → td_task-0.2.7}/src/td/__main__.py +0 -0
  18. {td_task-0.2.6 → td_task-0.2.7}/src/td/backup.py +0 -0
  19. {td_task-0.2.6 → td_task-0.2.7}/src/td/config.py +0 -0
  20. {td_task-0.2.6 → td_task-0.2.7}/src/td/terminal.py +0 -0
  21. {td_task-0.2.6 → td_task-0.2.7}/tests/test_backup.py +0 -0
  22. {td_task-0.2.6 → td_task-0.2.7}/tests/test_cli_notes.py +0 -0
  23. {td_task-0.2.6 → td_task-0.2.7}/tests/test_notes.py +0 -0
  24. {td_task-0.2.6 → td_task-0.2.7}/tests/test_resize.py +0 -0
  25. {td_task-0.2.6 → td_task-0.2.7}/tests/test_tui_notes.py +0 -0
  26. {td_task-0.2.6 → td_task-0.2.7}/tests/test_update.py +0 -0
  27. {td_task-0.2.6 → td_task-0.2.7}/website/README.md +0 -0
  28. {td_task-0.2.6 → td_task-0.2.7}/website/favicon.svg +0 -0
  29. {td_task-0.2.6 → td_task-0.2.7}/website/main.js +0 -0
  30. {td_task-0.2.6 → td_task-0.2.7}/website/style.css +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: td-task
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Fast TUI and CLI manager for tasks and Markdown notes
5
5
  Requires-Python: >=3.14
6
6
  Requires-Dist: cryptography>=42.0.0
@@ -208,7 +208,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
208
208
  | `PageUp` / `PageDown` | Move one viewport |
209
209
  | `q` / `Esc` | Return |
210
210
 
211
- Settings you can change: max tasks per list (3–50), max starred tasks, whole-database
211
+ Settings you can change: max tasks per list (3–100), max starred tasks, whole-database
212
212
  encryption, current-list encryption, backup export / import, GitHub backup repo,
213
213
  GitHub backup now, auto-sync, and GitHub backup encryption.
214
214
 
@@ -197,7 +197,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
197
197
  | `PageUp` / `PageDown` | Move one viewport |
198
198
  | `q` / `Esc` | Return |
199
199
 
200
- Settings you can change: max tasks per list (3–50), max starred tasks, whole-database
200
+ Settings you can change: max tasks per list (3–100), max starred tasks, whole-database
201
201
  encryption, current-list encryption, backup export / import, GitHub backup repo,
202
202
  GitHub backup now, auto-sync, and GitHub backup encryption.
203
203
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "td-task"
3
- version = "0.2.6"
3
+ version = "0.2.7"
4
4
  description = "Fast TUI and CLI manager for tasks and Markdown notes"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.14"
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.7] - 2026-11-10
4
+ - Raise default max tasks per list from 15 to 100, and the max tasks setting range to 3–100.
5
+
3
6
  ## [0.2.6] - 2026-11-04
4
7
  - Back up and restore data through private GitHub repositories using the gh CLI.
5
8
  - Encrypt backups by default, with optional plain JSON storage.
@@ -7,7 +7,8 @@ from pathlib import Path
7
7
 
8
8
  DB_PATH = Path(os.environ.get("TD_DB_PATH", Path.home() / ".td.db"))
9
9
 
10
- DEFAULT_MAX_TASKS = 15
10
+ DEFAULT_MAX_TASKS = 100
11
+ MAX_TASKS_LIMIT = 100
11
12
  DEFAULT_MAX_STARRED_TASKS = 3
12
13
 
13
14
  SCHEMA = """
@@ -2649,12 +2649,12 @@ def _run_settings_loop(list_name: str) -> None:
2649
2649
  if hover == 0:
2650
2650
  try:
2651
2651
  new_max = int(edit_text)
2652
- if new_max < 3 or new_max > 50:
2652
+ if new_max < 3 or new_max > db.MAX_TASKS_LIMIT:
2653
2653
  raise ValueError
2654
2654
  db.set_max_tasks(new_max, list_name)
2655
2655
  status_msg = f"✓ max tasks set to {new_max} for list '{list_name}'"
2656
2656
  except ValueError:
2657
- status_msg = "✗ must be an integer between 3 and 50"
2657
+ status_msg = f"✗ must be an integer between 3 and {db.MAX_TASKS_LIMIT}"
2658
2658
  elif hover == 1:
2659
2659
  try:
2660
2660
  new_max = int(edit_text)
@@ -2705,7 +2705,7 @@ def _run_settings_loop(list_name: str) -> None:
2705
2705
  val = int(edit_text) if edit_text.strip() else 3
2706
2706
  except ValueError:
2707
2707
  val = 3
2708
- new_val = min(50, val + 1)
2708
+ new_val = min(db.MAX_TASKS_LIMIT, val + 1)
2709
2709
  edit_text = str(new_val)
2710
2710
  edit_cursor = len(edit_text)
2711
2711
  elif hover == 0 and key == term.KEY_ARROW_DOWN:
@@ -142,7 +142,7 @@ wheels = [
142
142
 
143
143
  [[package]]
144
144
  name = "td-task"
145
- version = "0.2.6"
145
+ version = "0.2.7"
146
146
  source = { editable = "." }
147
147
  dependencies = [
148
148
  { name = "cryptography" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes