doing 2.1.23 → 2.1.27

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 (171) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +17 -21
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/CHANGELOG.md +329 -102
  6. data/Dockerfile +5 -5
  7. data/Dockerfile-2.6 +5 -5
  8. data/Dockerfile-2.7 +5 -4
  9. data/Dockerfile-3.0 +5 -4
  10. data/Gemfile.lock +1 -1
  11. data/README.md +1 -1
  12. data/Rakefile +3 -3
  13. data/bin/commands/add_section.rb +15 -0
  14. data/bin/commands/again.rb +57 -0
  15. data/bin/commands/archive.rb +55 -0
  16. data/bin/commands/cancel.rb +60 -0
  17. data/bin/commands/changes.rb +69 -0
  18. data/bin/commands/choose.rb +9 -0
  19. data/bin/commands/colors.rb +21 -0
  20. data/bin/commands/commands.rb +89 -0
  21. data/bin/commands/commands_accepting.rb +76 -0
  22. data/bin/commands/completion.rb +27 -0
  23. data/bin/commands/config.rb +245 -0
  24. data/bin/commands/done.rb +235 -0
  25. data/bin/commands/finish.rb +126 -0
  26. data/bin/commands/flag.rb +90 -0
  27. data/bin/commands/grep.rb +108 -0
  28. data/bin/commands/import.rb +71 -0
  29. data/bin/commands/install_fzf.rb +17 -0
  30. data/bin/commands/last.rb +81 -0
  31. data/bin/commands/meanwhile.rb +76 -0
  32. data/bin/commands/note.rb +91 -0
  33. data/bin/commands/now.rb +145 -0
  34. data/bin/commands/on.rb +65 -0
  35. data/bin/commands/open.rb +53 -0
  36. data/bin/commands/plugins.rb +23 -0
  37. data/bin/commands/recent.rb +77 -0
  38. data/bin/commands/redo.rb +26 -0
  39. data/bin/commands/reset.rb +73 -0
  40. data/bin/commands/rotate.rb +42 -0
  41. data/bin/commands/sections.rb +11 -0
  42. data/bin/commands/select.rb +105 -0
  43. data/bin/commands/show.rb +185 -0
  44. data/bin/commands/since.rb +63 -0
  45. data/bin/commands/tag.rb +149 -0
  46. data/bin/commands/tag_dir.rb +29 -0
  47. data/bin/commands/tags.rb +66 -0
  48. data/bin/commands/template.rb +61 -0
  49. data/bin/commands/today.rb +64 -0
  50. data/bin/commands/undo.rb +49 -0
  51. data/bin/commands/view.rb +201 -0
  52. data/bin/commands/views.rb +11 -0
  53. data/bin/commands/yesterday.rb +72 -0
  54. data/bin/doing +241 -3662
  55. data/docs/doc/Array.html +13 -449
  56. data/docs/doc/BooleanTermParser/Clause.html +5 -5
  57. data/docs/doc/BooleanTermParser/Operator.html +4 -4
  58. data/docs/doc/BooleanTermParser/Query.html +8 -8
  59. data/docs/doc/BooleanTermParser/QueryParser.html +2 -2
  60. data/docs/doc/BooleanTermParser/QueryTransformer.html +2 -2
  61. data/docs/doc/BooleanTermParser.html +1 -1
  62. data/docs/doc/Doing/Color.html +65 -59
  63. data/docs/doc/Doing/Completion.html +2 -2
  64. data/docs/doc/Doing/Configuration.html +49 -16
  65. data/docs/doc/Doing/Errors/DoingNoTraceError.html +2 -2
  66. data/docs/doc/Doing/Errors/DoingRuntimeError.html +2 -2
  67. data/docs/doc/Doing/Errors/DoingStandardError.html +2 -2
  68. data/docs/doc/Doing/Errors/EmptyInput.html +2 -2
  69. data/docs/doc/Doing/Errors/NoResults.html +2 -2
  70. data/docs/doc/Doing/Errors/PluginException.html +3 -3
  71. data/docs/doc/Doing/Errors/UserCancelled.html +2 -2
  72. data/docs/doc/Doing/Errors/WrongCommand.html +2 -2
  73. data/docs/doc/Doing/Errors.html +1 -1
  74. data/docs/doc/Doing/Hooks.html +6 -6
  75. data/docs/doc/Doing/Item.html +50 -16
  76. data/docs/doc/Doing/Items.html +10 -10
  77. data/docs/doc/Doing/LogAdapter.html +24 -24
  78. data/docs/doc/Doing/Note.html +7 -7
  79. data/docs/doc/Doing/Pager.html +4 -4
  80. data/docs/doc/Doing/Plugins.html +7 -7
  81. data/docs/doc/Doing/Prompt.html +59 -14
  82. data/docs/doc/Doing/Section.html +6 -6
  83. data/docs/doc/Doing/TemplateString.html +8 -8
  84. data/docs/doc/Doing/Types.html +46 -1
  85. data/docs/doc/Doing/Util/Backup.html +10 -10
  86. data/docs/doc/Doing/Util.html +15 -15
  87. data/docs/doc/Doing/WWID.html +73 -61
  88. data/docs/doc/Doing.html +3 -3
  89. data/docs/doc/FalseClass.html +235 -0
  90. data/docs/doc/GLI/Commands/Help.html +3 -3
  91. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +17 -17
  92. data/docs/doc/GLI/Commands.html +1 -1
  93. data/docs/doc/GLI.html +1 -1
  94. data/docs/doc/Hash.html +45 -11
  95. data/docs/doc/Numeric.html +5 -5
  96. data/docs/doc/Object.html +203 -0
  97. data/docs/doc/PhraseParser/Operator.html +4 -4
  98. data/docs/doc/PhraseParser/PhraseClause.html +5 -5
  99. data/docs/doc/PhraseParser/Query.html +10 -10
  100. data/docs/doc/PhraseParser/QueryParser.html +2 -2
  101. data/docs/doc/PhraseParser/QueryTransformer.html +2 -2
  102. data/docs/doc/PhraseParser/TermClause.html +5 -5
  103. data/docs/doc/PhraseParser.html +1 -1
  104. data/docs/doc/Status.html +7 -7
  105. data/docs/doc/String.html +306 -3111
  106. data/docs/doc/Symbol.html +45 -11
  107. data/docs/doc/Time.html +6 -6
  108. data/docs/doc/TrueClass.html +235 -0
  109. data/docs/doc/_index.html +37 -19
  110. data/docs/doc/class_list.html +1 -1
  111. data/docs/doc/file.README.html +2 -2
  112. data/docs/doc/index.html +2 -2
  113. data/docs/doc/method_list.html +240 -576
  114. data/docs/doc/top-level-namespace.html +2 -2
  115. data/doing.rdoc +289 -169
  116. data/example_plugin.rb +2 -2
  117. data/lib/completion/_doing.zsh +35 -31
  118. data/lib/completion/doing.bash +30 -19
  119. data/lib/completion/doing.fish +81 -67
  120. data/lib/doing/array/array.rb +4 -0
  121. data/lib/doing/array/nested_hash.rb +17 -0
  122. data/lib/doing/{array.rb → array/tags.rb} +7 -25
  123. data/lib/doing/changelog/change.rb +26 -11
  124. data/lib/doing/changelog/changes.rb +14 -4
  125. data/lib/doing/{array_chronify.rb → chronify/array.rb} +0 -0
  126. data/lib/doing/chronify/chronify.rb +5 -0
  127. data/lib/doing/{numeric_chronify.rb → chronify/numeric.rb} +0 -0
  128. data/lib/doing/{string_chronify.rb → chronify/string.rb} +0 -0
  129. data/lib/doing/colors.rb +115 -54
  130. data/lib/doing/completion/fish_completion.rb +2 -1
  131. data/lib/doing/configuration.rb +9 -6
  132. data/lib/doing/good.rb +72 -0
  133. data/lib/doing/hash.rb +4 -0
  134. data/lib/doing/help_monkey_patch.rb +6 -5
  135. data/lib/doing/hooks.rb +3 -3
  136. data/lib/doing/item.rb +19 -15
  137. data/lib/doing/items.rb +2 -2
  138. data/lib/doing/log_adapter.rb +35 -2
  139. data/lib/doing/normalize.rb +188 -0
  140. data/lib/doing/pager.rb +1 -0
  141. data/lib/doing/plugins/export/dayone_export.rb +1 -1
  142. data/lib/doing/plugins/export/html_export.rb +1 -1
  143. data/lib/doing/plugins/export/json_export.rb +1 -1
  144. data/lib/doing/plugins/export/markdown_export.rb +1 -1
  145. data/lib/doing/plugins/export/template_export.rb +3 -1
  146. data/lib/doing/plugins/import/calendar_import.rb +1 -1
  147. data/lib/doing/plugins/import/doing_import.rb +1 -1
  148. data/lib/doing/plugins/import/timing_import.rb +1 -1
  149. data/lib/doing/prompt.rb +9 -3
  150. data/lib/doing/string/highlight.rb +95 -0
  151. data/lib/doing/string/query.rb +129 -0
  152. data/lib/doing/string/string.rb +12 -0
  153. data/lib/doing/string/tags.rb +164 -0
  154. data/lib/doing/string/transform.rb +168 -0
  155. data/lib/doing/string/truncate.rb +75 -0
  156. data/lib/doing/string/url.rb +82 -0
  157. data/lib/doing/template_string.rb +2 -24
  158. data/lib/doing/types.rb +9 -0
  159. data/lib/doing/util.rb +20 -16
  160. data/lib/doing/version.rb +1 -1
  161. data/lib/doing/wwid.rb +91 -51
  162. data/lib/doing.rb +5 -6
  163. data/lib/examples/commands/wiki.rb +6 -7
  164. data/lib/examples/plugins/wiki_export/wiki_export.rb +1 -1
  165. data/lib/helpers/threaded_tests.rb +69 -79
  166. data/lib/helpers/threaded_tests_string.rb +50 -0
  167. data/scripts/deploy.rb +107 -0
  168. data/scripts/runtests.sh +4 -0
  169. metadata +65 -8
  170. data/lib/doing/string.rb +0 -765
  171. data/lib/doing/symbol.rb +0 -28
data/CHANGELOG.md CHANGED
@@ -1,3 +1,59 @@
1
+ ### 2.1.27
2
+
3
+ 2022-02-14 06:04
4
+
5
+ #### NEW
6
+
7
+ - `doing finish --update` will overwrite any existing @done tag with a new date (current time or set with `--at` or `--back`)
8
+
9
+ #### IMPROVED
10
+
11
+ - Code refactoring and cleanup
12
+ - Include release dates in `doing changes` output when available
13
+ - Allow various naming conventions for %color strings in templates. Now `boldwhite`, `brightwhite`, `bg_bold_cyan`, and `bold_bg_cyan` all work (for example)
14
+ - Common flags (e.g. --search, --tag) found on multiple commands consolidated and help descriptions matched
15
+ - `commands_accepting` now accepts multiple arguments and a `--bool` flag
16
+ - `changes` command can now output changes only (no version numbers) and defaults to raw Markdown if not a TTY or the `--md` flag is used
17
+ - `doing archive` now accepts `--after` and `--from` date filters
18
+
19
+ #### FIXED
20
+
21
+ - Some flag descriptions in help
22
+ - Editor detection
23
+
24
+ ### 2.1.26
25
+
26
+ 2022-01-23 16:14
27
+
28
+ #### NEW
29
+
30
+ - Use plugins.hidden_commands in configuration to disable any command (array of command names). Note that some commands use aliases and the first name should be used.
31
+ - `doing commands [add|remove]` allows interactive enabling and disabling of default and custom commands
32
+
33
+ #### IMPROVED
34
+
35
+ - Moved all commands into separate files for management
36
+
37
+ #### FIXED
38
+
39
+ - Changelog command regex too greedy when parsing changelog
40
+
41
+ ### 2.1.25
42
+
43
+ 2022-01-23 09:25
44
+
45
+ ### 2.1.24
46
+
47
+ 2022-01-22 17:27
48
+
49
+ #### IMPROVED
50
+
51
+ - Minor update to Fish completion script
52
+
53
+ #### FIXED
54
+
55
+ - Changelog formatting issue
56
+
1
57
  ### 2.1.23
2
58
 
3
59
  2022-01-22 15:52
@@ -9,7 +65,7 @@
9
65
 
10
66
  #### IMPROVED
11
67
 
12
- - With complete examples in the help output for most commands, `doing help` almost always requires scrolling up. It now automatically paginates using your system $PAGER (or best detected option). # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch develop # Your branch is up to date with 'origin/develop'. # # Changes to be committed: # modified: lib/doing.rb # new file: lib/doing/help_monkey_patch.rb # # ------------------------ >8 ------------------------ # Do not modify or remove the line above. # Everything below it will be ignored. diff --git a/lib/doing.rb b/lib/doing.rb index d29e6ab..87a47b8 100644 --- a/lib/doing.rb +++ b/lib/doing.rb @@ -23,6 +23,7 @@ require 'tty-markdown' require 'tty-reader' require 'tty-screen' +require_relative 'doing/help_monkey_patch' require_relative 'doing/changelog' require_relative 'doing/hash' require_relative 'doing/types' diff --git a/lib/doing/help_monkey_patch.rb b/lib/doing/help_monkey_patch.rb new file mode 100644 index 0000000..5a20288 --- /dev/null +++ b/lib/doing/help_monkey_patch.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module GLI + module Commands + # Help Command Monkeypatch for paginated output + class Help < Command + def show_help(global_options,options,arguments,out,error) + Doing::Pager.paginate = true + + command_finder = HelpModules::CommandFinder.new(@app,arguments,error) + if options[:c] + help_output = HelpModules::HelpCompletionFormat.new(@app,command_finder,arguments).format + out.puts help_output unless help_output.nil? + elsif arguments.empty? || options[:c] + Doing::Pager.page HelpModules::GlobalHelpFormat.new(@app,@sorter,@text_wrapping_class).format + else + name = arguments.shift + command = command_finder.find_command(name) + unless command.nil? + Doing::Pager.page HelpModules::CommandHelpFormat.new( + command, + @app, + @sorter, + @synopsis_formatter_class, + @text_wrapping_class).format + end + end + end + end + end +end
68
+ - With complete examples in the help output for most commands, `doing help` almost always requires scrolling up. It now automatically paginates using your system $PAGER (or best detected option).
13
69
  - `doing tags` takes a MAX_COUNT argument to limit results when searching
14
70
  - `doing tags --line` flag to output tags in a single line
15
71
  - Mostly for my own use, `doing changes` (which views the changelog) now accepts `--lookup VERSION` and `--search SEARCH_PATTERN`
@@ -431,10 +487,14 @@ Build automation test
431
487
 
432
488
  ### 1.0.93
433
489
 
490
+ #### FIXED
491
+
434
492
  - Gemfile error
435
493
 
436
494
  ### 1.0.91
437
495
 
496
+ #### NEW
497
+
438
498
  - "taskpaper" format available for all output options
439
499
  - "markdown" format available for all output commands (GFM-style task list, customizable template)
440
500
  - `--rename` option for tag command to replace tags
@@ -442,23 +502,34 @@ Build automation test
442
502
 
443
503
  ### 1.0.90
444
504
 
505
+ #### IMPROVED
506
+
507
+ - doing finish `--auto` now pulls from all sections, not just the section of the target entry
508
+
509
+ #### FIXED
510
+
445
511
  - Minor fix for shell command in doing select
446
512
  - Fix for doing finish `--auto` when matched item is last in list
447
- - doing finish `--auto` now pulls from all sections, not just the section of the target entry
448
513
 
449
514
  ### 1.0.89
450
515
 
516
+ #### NEW
517
+
451
518
  - Pretty print JSON output
452
519
  - `--no-menu` option for select command to use `--query` as a filter and act on matching entries without displaying menu
453
520
 
454
521
  ### 1.0.88
455
522
 
523
+ #### IMPROVED
524
+
456
525
  - Add `--before` and `--after` time search to yesterday command
457
526
  - Add `--before` and `--after` date search to search/grep command
458
527
  - Add `--tag_order` to yesterday command
459
528
 
460
529
  ### 1.0.87
461
530
 
531
+ #### IMPROVED
532
+
462
533
  - Add leading spaces to make %shortdate align properly, at least for the last week
463
534
  - Add `--tag`, `--bool`, and `--search` to view command
464
535
  - Add `--before` and `--after` date search to view command
@@ -469,44 +540,73 @@ Build automation test
469
540
 
470
541
  ### 1.0.86
471
542
 
543
+ #### IMPROVED
544
+
472
545
  - Add `count` config option for templates->recent
473
546
 
474
547
  ### 1.0.85
475
548
 
476
- - Fix `--auto` for finish command
549
+ #### IMPROVED
550
+
477
551
  - Add `--before` DATE_STRING to archive and rotate commands
478
552
  - Only create on rotate file per day, merge new entries into existing file
479
553
 
554
+ #### FIXED
555
+
556
+ - Fix `--auto` for finish command
557
+
480
558
  ### 1.0.84
481
559
 
560
+ #### NEW
561
+
482
562
  - `rotate` command for archiving entries to new file
563
+
564
+ #### FIXED
565
+
483
566
  - Fixed current_section config key not being honored in some commands
484
567
 
485
568
  ### 1.0.83
486
569
 
570
+ #### FIXED
571
+
487
572
  - Fixes for `doing view` options, additional config keys for views
488
573
 
489
574
  ### 1.0.82
490
575
 
576
+ #### FIXED
577
+
491
578
  - Bugfixes
492
579
 
493
580
  ### 1.0.81
494
581
 
582
+ #### IMPROVED
583
+
495
584
  - fzf menu improvements
496
585
  - allow multiple selections `doing select` action menu
497
586
 
498
587
  ### 1.0.80
499
588
 
589
+ #### IMPROVED
590
+
500
591
  - Convert all menus to fzf screens
501
592
 
502
593
  ### 1.0.79
503
594
 
504
- - Gem missing fzf
595
+ #### IMPROVED
596
+
505
597
  - Wildcard tag removal using `doing select -t "tag*" -r`
506
598
  - fzf menu display polish
507
599
 
600
+ #### FIXED
601
+
602
+ #### FIXED
603
+
604
+ - Gem missing fzf
605
+
508
606
  ### 1.0.78
509
607
 
608
+ #### IMPROVED
609
+
510
610
  - If no action is specified with select command, an interactive menu is
511
611
  presented
512
612
  - add output action select command with formatting and save options
@@ -514,66 +614,98 @@ presented
514
614
 
515
615
  ### 1.0.76
516
616
 
617
+ #### IMPROVED
618
+
517
619
  - Refine editing multiple selections (doing select)
518
620
 
519
621
  ### 1.0.74
520
622
 
623
+ #### NEW
624
+
521
625
  - Add `--tag` and `--search` flags to tag command to tag all entries matching search terms
522
626
  - Add since command, which is the same as `doing on tuesday to now` but `doing since tuesday` just feels more intuitive.
523
627
 
524
628
  ### 1.0.73
525
629
 
630
+ #### FIXED
631
+
526
632
  - Fix for timeline output
527
633
 
528
634
  ### 1.0.72
529
635
 
636
+ #### NEW
637
+
530
638
  - Add `doing select` to show menu of all tasks, searchable with fuzzy matching and the ability to perform certain tasks on multiple selections.
531
639
 
532
640
  ### 1.0.71
533
641
 
642
+ #### FIXED
643
+
534
644
  - Fix for template command not working at all
535
645
 
536
646
  ### 1.0.70
537
647
 
648
+ #### FIXED
649
+
538
650
  - Fix for `doing done --took 30m` setting the wrong @done timestamp when completing previous item
539
651
 
540
652
  ### 1.0.69
541
653
 
654
+ #### IMPROVED
655
+
542
656
  - Add `--unfinished` option to finish and cancel commands
543
657
 
544
658
  ### 1.0.68
545
659
 
660
+ #### FIXED
661
+
546
662
  - Fix error in `doing show --sort` argument parsing
547
663
 
548
664
  ### 1.0.67
549
665
 
666
+ #### FIXED
667
+
550
668
  - Gem packaging error
551
669
 
552
670
  ### 1.0.66
553
671
 
554
- - Fix for some long flags being interpreted as arrays instead of strings
672
+ #### IMPROVED
673
+
555
674
  - More flexible boolean specification, can be: all, and, any, or, not, or none
675
+
676
+ #### FIXED
677
+
678
+ - Fix for some long flags being interpreted as arrays instead of strings
556
679
  - Fix for archive command not removing original entries from archived section
557
680
 
558
681
  ### 1.0.65
559
682
 
683
+ #### IMPROVED
684
+
560
685
  - Prevent duplicates/overlapping entries when importing
561
686
 
562
687
  ### 1.0.64
563
688
 
689
+ #### NEW
690
+
564
691
  - Initial import feature for Timing.app reports
565
692
 
566
693
  ### 1.0.63
567
694
 
568
- - README updates
695
+ #### IMPROVED
696
+
569
697
  - If `doing done --took=X` results in completion date greater than current time, use current time as completion date and backdate the entry's timestamp to fit
570
698
 
571
699
  ### 1.0.62
572
700
 
573
- - Fix: `doing done` with `--took=` and without `--back=` should set end time to start date plus `--took` value
701
+ #### FIXED
702
+
703
+ - `doing done` with `--took=` and without `--back=` should set end time to start date plus `--took` value
574
704
 
575
705
  ### 1.0.61
576
706
 
707
+ #### IMPROVED
708
+
577
709
  - Add `--search` filter to `doing archive`
578
710
 
579
711
  ### 1.0.60
@@ -646,7 +778,7 @@ presented
646
778
  - `--tag` and `--bool` filtering for again/resume, cancel
647
779
  - `--in` flag for `again`/`resume` to specify to which section the new
648
780
  - Finish command accepts `--tag=` flag, finishing last entry
649
- - `doing cancel` to end X tasks without completion date (alias for
781
+ - `doing cancel` to end X tasks without completion date
650
782
 
651
783
  #### IMPROVED
652
784
 
@@ -663,7 +795,6 @@ presented
663
795
  #### NEW
664
796
 
665
797
  - Finish command accepts `--tag=` flag, finishing last entry
666
- - `doing cancel` to end X tasks without completion date (alias for
667
798
 
668
799
  #### FIXED
669
800
 
@@ -671,88 +802,128 @@ presented
671
802
 
672
803
  ### 1.0.49
673
804
 
805
+ #### FIXED
806
+
674
807
  - Fix for missing date on @done tags
675
808
 
676
809
  ### 1.0.48
677
810
 
811
+ #### FIXED
812
+
678
813
  - Fix confirmation dialog for `doing tag -a -c 0` (autotag all)
679
814
 
680
815
  ### 1.0.47
681
816
 
817
+ #### IMPROVED
818
+
682
819
  - Remove check for file existence before attempting to run run_after script
683
820
  - Don't autotag entries restarted with `again/resume`
684
821
  - Add short flags (`-b`) for `--back` on all commands that support it
685
822
 
686
823
  ### 1.0.46
687
824
 
825
+ #### IMPROVED
826
+
688
827
  - Code cleanup
689
828
 
690
829
  ### 1.0.45
691
830
 
831
+ #### IMPROVED
832
+
692
833
  - Only execute run_after script if changes are written
693
834
 
694
835
  ### 1.0.44
695
836
 
837
+ #### IMPROVED
838
+
696
839
  - Remove unnecessary console logging
697
840
 
698
841
  ### 1.0.43
699
842
 
843
+ #### NEW
844
+
700
845
  - Add `again` command to repeat last entry without @done tag
701
846
  - Add `run_after` configuration option to execute external script after any change
702
847
 
703
848
  ### 1.0.42
704
849
 
850
+ #### FIXED
851
+
705
852
  - Fix note indentation in doing file
706
853
 
707
854
  ### 1.0.41
708
855
 
856
+ #### FIXED
857
+
709
858
  - Fix for repeated backreferences in tag transform
710
859
 
711
860
  ### 1.0.40
712
861
 
862
+ #### IMPROVED
863
+
713
864
  - Add `--tag_sort` to all subcommands with `--totals` option
714
865
 
715
866
  ### 1.0.39
716
867
 
868
+ #### NEW
869
+
717
870
  - Tag transforms
718
871
  - Option to sort tags by name in `--totals`
719
872
 
720
873
  ### 1.0.33
721
874
 
875
+ #### FIXED
876
+
722
877
  - Gem dependency updates
723
878
 
724
879
  ### 1.0.30
725
880
 
881
+ #### FIXED
882
+
726
883
  - Fix for array comparison error
727
884
 
728
885
  ### 1.0.29
729
886
 
887
+ #### FIXED
888
+
730
889
  - Bugfixes
731
890
 
732
891
  ### 1.0.28
733
892
 
893
+ #### IMPROVED
894
+
734
895
  - Global option `-x` to skip autotags and default_tags from global/local .doingrc
735
896
  - Remove extra spaces when creating entry
736
897
 
737
898
  ### 1.0.27
738
899
 
900
+ #### IMPROVED
901
+
739
902
  - More graceful writing of default config (~/.doingrc) on first run
740
903
  - Repaired testing setup. Needs moar tests.
741
904
 
742
905
  ### 1.0.26
743
906
 
907
+ #### IMPROVED
908
+
744
909
  - Add `--at` flag for `doing done`, e.g. `doing done --at=1:35pm --took=15m A new task I already finished`
745
910
  - Allow decimal quantities when using natural language for hours or days, e.g. `--took=2.5h`
746
911
  - Add `did` as a synonym for `done` subcommand
747
912
 
748
913
  ### 1.0.25
749
914
 
915
+ #### IMPROVED
916
+
917
+ #### IMPROVED
918
+
750
919
  - Smarter method of getting user $HOME
751
920
  - Improved avoiding duplicate tags when autotagging
752
921
  - Improved autotag reporting
753
922
 
754
923
  ### 1.0.24
755
924
 
925
+ #### IMPROVED
926
+
756
927
  - `doing note` operates on whatever is most recent, not just the last note in Currently
757
928
  - `doing tag` with no count specified operates on most recent entry in any section, not just Currently
758
929
  - `doing tag` with a count greater than 1 requires a section to be specified
@@ -761,6 +932,8 @@ presented
761
932
 
762
933
  ### 1.0.23
763
934
 
935
+ #### IMPROVED
936
+
764
937
  - Apply default_tags after autotagging to avoid tags triggering tags
765
938
  - Set `doing recent` to default to All sections instead of Currently
766
939
  - Fix error in time reporting
@@ -768,25 +941,42 @@ presented
768
941
 
769
942
  ### 1.0.22
770
943
 
771
- - Fix handling of "local" config files, allowing per-project configurations
944
+ #### IMPROVED
945
+
772
946
  - Allow cascading of local config files
773
947
  - Allow `doing today` and `yesterday` to specify a section
774
948
 
949
+ #### FIXED
950
+
951
+ - Fix handling of "local" config files, allowing per-project configurations
952
+
775
953
  ### 1.0.21
776
954
 
955
+ #### NEW
956
+
777
957
  - Add legitimate regex search capabilities
778
958
  - Synonyms for grep (search) and now (next)
959
+
960
+ #### FIXED
961
+
779
962
  - CSS fix
780
963
 
781
964
  ### 1.0.20
782
965
 
783
- - Rewrite HTML export templates with responsive layout and typography
784
- - Ability to customize the HTML output using HAML and CSS
966
+ #### NEW
967
+
785
968
  - New command `doing templates` to export default templates for HAML and CSS
786
969
  - New config options under `html_template` for `haml` and `css`
787
970
 
971
+ #### IMPROVED
972
+
973
+ - Rewrite HTML export templates with responsive layout and typography
974
+ - Ability to customize the HTML output using HAML and CSS
975
+
788
976
  ### 1.0.19
789
977
 
978
+ #### IMPROVED
979
+
790
980
  - For `doing note -e` include the entry title so you know what you're adding a note to
791
981
  - For any other command that allows `-e` include a comment noting that anything after the first line creates a note
792
982
  - Ignore # comments when parsing editor results
@@ -794,25 +984,36 @@ presented
794
984
 
795
985
  ### 1.0.18
796
986
 
797
- - Fix `undefined method [] for nil class` error in `doing view`
987
+ #### IMPROVED
988
+
798
989
  - Loosened up the template color resetting a bit more
799
990
 
991
+ #### FIXED
992
+
993
+ - Fix `undefined method [] for nil class` error in `doing view`
994
+
800
995
  ### 1.0.17
801
996
 
997
+ #### NEW
998
+
802
999
  - Add `--stdout` global option to send reporting to STDOUT instead of STDERR (for use with LaunchBar et al)
803
1000
 
804
1001
  ### 1.0.16
805
1002
 
1003
+ #### FIXED
1004
+
806
1005
  - Fixes overzealous color resetting
807
1006
 
808
1007
  ### 1.0.15
809
1008
 
1009
+ #### FIXED
1010
+
810
1011
  - CLI/text totals block was outputting when HTML output was selected
811
1012
  - Have all template colors reset bold and background automatically when called
812
1013
 
813
1014
  ### 1.0.14
814
1015
 
815
- Catching up on the changelog. Kind of. A lot has happened, mostly fixes.
1016
+ #### IMPROVED
816
1017
 
817
1018
  - Fish completion
818
1019
  - views and sections subcommands have -c option to output single column
@@ -822,149 +1023,175 @@ Catching up on the changelog. Kind of. A lot has happened, mostly fixes.
822
1023
 
823
1024
  ### 1.0.13
824
1025
 
1026
+ #### FIXED
1027
+
825
1028
  - Fix gsub error in doing meanwhile
826
1029
 
827
1030
  ### 1.0.8pre
828
1031
 
829
- * JSON output option to view commands
830
- * Added autotagging to tag command
831
- * date filtering, improved date language
832
- * added doing on command
833
- * let view templates define output format (csv, json, html, template)
834
- * add `%chompnote` template variable (item note with newlines and extra whitespace stripped)
1032
+ #### NEW
1033
+
1034
+ - added doing on command
1035
+ - Added autotagging to tag command
1036
+ - JSON output option to view commands
1037
+ - date filtering, improved date language
1038
+ - let view templates define output format (csv, json, html, template)
1039
+
1040
+ #### IMPROVED
1041
+
1042
+ - add `%chompnote` template variable (item note with newlines and extra whitespace stripped)
835
1043
 
836
1044
  ### 1.0.7pre
837
1045
 
838
- * fix for `-v` option
839
- * Slightly fuzzier searching in the grep command
840
- * cleaner exits, `only_timed` key for view configs
841
- * making the note command append new notes better, and load existing notes in the editor if `-e` is called
842
- * handle multiple tag input in `show` tag filter
843
- * Global tag operations, better reporting
1046
+ #### IMPROVED
1047
+
1048
+ - Slightly fuzzier searching in the grep command
1049
+ - cleaner exits, `only_timed` key for view configs
1050
+ - making the note command append new notes better, and load existing notes in the editor if `-e` is called
1051
+ - handle multiple tag input in `show` tag filter
1052
+ - Global tag operations, better reporting
1053
+
1054
+ #### FIXED
1055
+
1056
+ - fix for `-v` option
844
1057
 
845
1058
  ### 1.0.4pre
846
1059
 
847
- * Improved HTML output
848
- * `--only_timed` option for view/show commands that only outputs items with elapsed timers (interval between start and done dates)
849
- * add seconds for timed items in CSV output, run `--only_timed` before chopping off `--count #`
850
- * fix for 1.8.7 `Dir.home` issue
851
- * version bump
852
- * don't show tag totals with zero times
853
- * zsh completion for doing
854
- * HTML styling
855
- * `--only_timed` option
856
- * added zsh completion file to `README.md`
857
- * add zsh completion file
1060
+ #### IMPROVED
1061
+
1062
+ - Improved HTML output
1063
+ - `--only_timed` option for view/show commands that only outputs items with elapsed timers (interval between start and done dates)
1064
+ - add seconds for timed items in CSV output, run `--only_timed` before chopping off `--count #`
1065
+ - fix for 1.8.7 `Dir.home` issue
1066
+ - version bump
1067
+ - don't show tag totals with zero times
1068
+ - zsh completion for doing
1069
+ - HTML styling
1070
+ - `--only_timed` option
1071
+ - added zsh completion file to `README.md`
1072
+ - add zsh completion file
858
1073
 
859
1074
  ### 1.0.3pre
860
1075
 
861
- * `done` command: making `--took` modify start time if `--back` isn't specified
862
- * Cleaned up time totals, improved HTML output
863
- * fixes for `--back` and `--took` parsing
864
- * Adding more complete terminal reporting to archive command
1076
+ #### IMPROVED
1077
+
1078
+ - `done` command: making `--took` modify start time if `--back` isn't specified
1079
+ - Cleaned up time totals, improved HTML output
1080
+ - fixes for `--back` and `--took` parsing
1081
+ - Adding more complete terminal reporting to archive command
865
1082
 
866
1083
  ### 1.0.0pre
867
1084
 
868
- * Skipped ahead in the version numbering. Because I don't care.
869
- * Added a `note` command and `--note` flags for entry creation commands
1085
+ #### IMPROVED
870
1086
 
871
- * * *
1087
+ - Skipped ahead in the version numbering. Because I don't care.
1088
+ - Added a `note` command and `--note` flags for entry creation commands
872
1089
 
873
1090
  ### 0.2.6pre
874
1091
 
875
- * `--totals`, `--[no-]times`, `--output [csv,html]` options for `yesterday` command.
876
- * Add tests for Darwin to hide OS X-only features on other systems
877
- * `-f` flag to `now` command for finishing last task when starting a new one (Looks back for the last unfinished task in the list)
878
- * `--took` option for `done` and `finish` for specifying intervals from the start date for the completion date
879
- * Basic command line reporting
880
- * `--auto` flag for `finish` and `done` that will automatically set the completion time to 1 minute before the next start time in the list. You can use it retroactively to add times to sequential todos.
881
- * `doing grep` for searching by text or regex
1092
+ #### IMPROVED
1093
+
1094
+ - `--totals`, `--[no-]times`, `--output [csv,html]` options for `yesterday` command.
1095
+ - Add tests for Darwin to hide OS X-only features on other systems
1096
+ - `-f` flag to `now` command for finishing last task when starting a new one (Looks back for the last unfinished task in the list)
1097
+ - `--took` option for `done` and `finish` for specifying intervals from the start date for the completion date
1098
+ - Basic command line reporting
1099
+ - `--auto` flag for `finish` and `done` that will automatically set the completion time to 1 minute before the next start time in the list. You can use it retroactively to add times to sequential todos.
1100
+ - `doing grep` for searching by text or regex
882
1101
 
883
1102
  ### 0.2.5
884
1103
 
885
- * Default to showing times #26, show totals even if no tags exist #27, fix indentation #29
886
- * Add section label to archived tasks automatically, excepting `Currently` section
887
- * Today outputs and backdate for finish
888
- * HTML styling and fix for 1.8.7 HAML errors
889
- * Look, HTML output! (`--output html`)
890
- * Also, `--output csv`
891
- * let doing `archive` function on all sections
892
- * option to exclude date from _@done_,
893
- * output newlines in sections and views
894
- * Flagging (`doing mark`)
895
- * fix for view/section guess error
896
- * Adding tag filtering to archive command (`doing archive \@done`)
897
- * `doing yesterday`
898
- * `doing done -r` to remove last doing tag (optionally from `-s Section`)
899
- * Add `-f` flag to specify alternate doing file
900
- * `meanwhile` command
1104
+ #### IMPROVED
1105
+
1106
+ - Default to showing times #26, show totals even if no tags exist #27, fix indentation #29
1107
+ - Add section label to archived tasks automatically, excepting `Currently` section
1108
+ - Today outputs and backdate for finish
1109
+ - HTML styling and fix for 1.8.7 HAML errors
1110
+ - Look, HTML output! (`--output html`)
1111
+ - Also, `--output csv`
1112
+ - let doing `archive` function on all sections
1113
+ - option to exclude date from _@done_,
1114
+ - output newlines in sections and views
1115
+ - Flagging (`doing mark`)
1116
+ - fix for view/section guess error
1117
+ - Adding tag filtering to archive command (`doing archive \@done`)
1118
+ - `doing yesterday`
1119
+ - `doing done -r` to remove last doing tag (optionally from `-s Section`)
1120
+ - Add `-f` flag to specify alternate doing file
1121
+ - `meanwhile` command
901
1122
 
902
1123
  ### 0.2.1
903
1124
 
1125
+ #### IMPROVED
1126
+
904
1127
  - CSV output for show command (`--csv`)
905
1128
  - HTML output for show command (`--output html`)
906
1129
  - fuzzy searching for all commands that specify a view.
907
- - In the terminal, you'll see "Assume you meant XXX" to show what match it found, but this is output to STDERR (and won't show up if you're redirecting the output or using it in GeekTool, etc.)
1130
+ - In the terminal, you'll see "Assume you meant XXX" to show what match it found, but this is output to STDERR (and won't show up if you're redirecting the output or using it in GeekTool, etc.)
908
1131
  - `tags_color` in view config to highlight tags at the end of the lines. Can be set to any of the `%colors`.
909
1132
  - Basic time tracking.
910
- - `-t` on `show` and `view` will turn on time calculations
911
- - Intervals between timestamps and dated _@done_ tags are calculated for each line, if the tag exists.
912
- - You must include a `%interval` token in the appropriate template for it to show
913
- - _@start(date)_ tags can optionally be used to override the timestamp in the calculation
914
- - Any other tags in the line have that line's total added to them
915
- - Totals for tags can be displayed at the end of output with `--totals`
1133
+ - `-t` on `show` and `view` will turn on time calculations
1134
+ - Intervals between timestamps and dated _@done_ tags are calculated for each line, if the tag exists.
1135
+ - You must include a `%interval` token in the appropriate template for it to show
1136
+ - _@start(date)_ tags can optionally be used to override the timestamp in the calculation
1137
+ - Any other tags in the line have that line's total added to them
1138
+ - Totals for tags can be displayed at the end of output with `--totals`
916
1139
 
917
1140
 
918
1141
  ### 0.2.0
919
1142
 
1143
+ #### IMPROVED
1144
+
920
1145
  - `doing done` without argument tags last entry done
921
- - `-a` archives them
1146
+ - `-a` archives them
922
1147
  - `doing finish` or `doing finish X` marks last X entries done
923
- - `-a` archives them
1148
+ - `-a` archives them
924
1149
  - `doing tag tag1 [tag2]` tags last entry or `-c X` entries
925
- - `doing tag -r tag1 [tag2]` removes said tag(s)
1150
+ - `doing tag -r tag1 [tag2]` removes said tag(s)
926
1151
  - custom views additions
927
- - custom views can include `tags` and `tags_bool`
928
- - `tags` is a space-separated list of tags to filter the results by
929
- - `tags_bool` defines `AND` (all tags must exist), `OR` (any tag exists), or `NONE` (none of the tags exist)
930
- - `order` key (`asc` or `desc`) defines output sort order by date
931
- - section key can be set to `All` to combine sections
1152
+ - custom views can include `tags` and `tags_bool`
1153
+ - `tags` is a space-separated list of tags to filter the results by
1154
+ - `tags_bool` defines `AND` (all tags must exist), `OR` (any tag exists), or `NONE` (none of the tags exist)
1155
+ - `order` key (`asc` or `desc`) defines output sort order by date
1156
+ - section key can be set to `All` to combine sections
932
1157
  - `doing show` updates
933
- - accepts `all` as a section
934
- - arguments following section name are tags to filter by
935
- - `-b` sets boolean (`AND`, `OR`, `NONE`) or (`ALL`, `ANY`, `NONE`) (default `OR`/`ANY`)
936
- - use `-c X` to limit results
937
- - use `-s` to set sort order (`asc` or `desc`)
938
- - use `-a` to set age (`newest` or `oldest`)
1158
+ - accepts `all` as a section
1159
+ - arguments following section name are tags to filter by
1160
+ - `-b` sets boolean (`AND`, `OR`, `NONE`) or (`ALL`, `ANY`, `NONE`) (default `OR`/`ANY`)
1161
+ - use `-c X` to limit results
1162
+ - use `-s` to set sort order (`asc` or `desc`)
1163
+ - use `-a` to set age (`newest` or `oldest`)
939
1164
  - fuzzy section guessing when specified section isn't found
940
1165
  - fuzzy view guessing for `doing view` command
941
1166
 
942
- * * *
943
-
944
1167
  ### 0.1.9
945
1168
 
1169
+ #### IMPROVED
1170
+
946
1171
  - colors in templated output
947
1172
  - `open` command
948
- - opens in the default app for file type
949
- - `-a APPNAME` (`doing open -a TaskPaper`)
950
- - `-b bundle_id` (`doing open -b com.sublimetext.3`)
1173
+ - opens in the default app for file type
1174
+ - `-a APPNAME` (`doing open -a TaskPaper`)
1175
+ - `-b bundle_id` (`doing open -b com.sublimetext.3`)
951
1176
  - `-e` switch for `now`, `later` and `done` commands
952
- - save a tmp file and open it in an editor
953
- - allows multi-line entries, anything after first line is considered a note
954
- - assumed when no input is provided (`doing now`)
1177
+ - save a tmp file and open it in an editor
1178
+ - allows multi-line entries, anything after first line is considered a note
1179
+ - assumed when no input is provided (`doing now`)
955
1180
  - `doing views` shows all available custom views
956
1181
  - `doing view` without a view name will let you choose a view from a menu
957
1182
  - `doing archive` fixed so that `-k X` works to keep `X` number of entries in the section
958
1183
 
959
1184
  ### 0.1.7
960
1185
 
1186
+ #### IMPROVED
1187
+
961
1188
  - colors in templated output
962
1189
  - `open` command
963
- - opens in the default app for file type
964
- - `-a APPNAME` (`doing open -a TaskPaper`)
965
- - `-b bundle_id` (`doing open -b com.sublimetext.3`)
1190
+ - opens in the default app for file type
1191
+ - `-a APPNAME` (`doing open -a TaskPaper`)
1192
+ - `-b bundle_id` (`doing open -b com.sublimetext.3`)
966
1193
  - `-e` switch for `now`, `later`, and `done` commands
967
- - save a tmp file and open it in an editor
968
- - allows multi-line entries, anything after first line is considered a note
969
- - assumed when no input is provided (`doing now`)
1194
+ - save a tmp file and open it in an editor
1195
+ - allows multi-line entries, anything after first line is considered a note
1196
+ - assumed when no input is provided (`doing now`)
970
1197