As always, npTools -h
to see the full list of current options.
- [Added] Support for moving lines when its checklist is completed (extending
-t
feature).
- [Added] function to remove
@done(...)
markers from completed checklist items (introduced in NotePlan 3.8). This is triggered by new command line option-r
.
- [Fixed] bug with improperly closed frontmatter
- [Added] supports new Weekly notes, available with NotePlan 3.6.0.
- [Change] Removed the code to make new notes where linked notes aren't found, as it was unreliable. It will now simply warn the user.
- [Add] Adds the
--movecomplete
option to move a task from a calendar note to the project note indicated by [[note#title]] but only when the task has been completed. (The earlier '--move' option remains; this does the same, but operates whether or not the task has been completed.) - [Add] Understands notes with titles in the frontmatter (added NP v3.4.x)
- [Change] Removed
--archive
option, as it isn't ready for use. (It was already turned off by default.) - [Change] Tidy up logging
- [Change] The @repeat(..) function now creates the next copy of the repeated task without using the scheduled indicator
[>]
but the regular open task indicator[ ]
.
- [Change] Change to using
#!/usr/bin/env ruby
at the start of scripts to make it easier to pick up whatever ruby installation is the user's preference.
- [Improve] The place where lines moved from daily notes are inserted is now smarter still.
- [Fix] Bugs introduced in refactoring regexes in last release.
- [Improve] The place where lines moved from daily notes are inserted is now smarter [Issue 39]. Note this removes the NUM_HEADER_LINES user-settable variable.
- [Fix] Fixed cosmetic bug in moving titled section from daily notes to a project note
- [Fix] Removed stray
>dates
when creating new@repeat(...)
s
- [New] Now allow for
>date
events to be moved to from one daily to the one it points to. This has to be activated with the-m
option, as it will be quite a significant change for some users.
- [Fix] Fixed bug in file-matching logic [thanks to Dimitry for reporting]
- [Fix] Fixed bug that stopped date pattern matching in calendar files [thanks to Dimitry for reporting]
- [Improve] Clarified the README for how dates are defined when using #create_event.
- [Add] Command line option
-c
to override how many hours to look back to find changed notes to process - [Improve] Allow more types of time spec when creating events (e.g. "2.45PM" or "3.15-5.00"
- [Improve] For template dates be more discriminating about where to find dates to match on, so now ignores dates embedded in certain URLs.
- [Fix] spacing around processed template dates (e.g. {3d})
- [Fix] removing headers with empty sections now won't remove header if next content is a lower-level header
- [Clean up] Remove some obsolete code and add some more logging
- [Fix] Allow event creation to work with "Language & Region" settings that use a 12-hour not a 24-hour clock [Issue 37]
- [Add] Works with tasks that use the
-
and- [ ]
markers, as well as*
and* [ ]
[Issue 24]
- [Add] For event creation can now also specify time patterns of form 4-6PM and just 3-4
- [Add] Extend logging to see why some files aren't matching for a user
- [Add] Add a second custom date match style for base dates to use in date offset patterns. See README for RE_DATE_OFFSET_CUSTOM.
- [Change] The built-in date match style for base dates is now NotePlan's usual YYYY-MM-DD, not DD-MM-YYYY etc.
- [Improve] Can now use simpler '3PM' type of time spec when creating events.
- [Improve] Can now customise the
#create_event
tag used to trigger creating events. Also opens the selected Calendar app if needed first, and reduces the delay if not. [Issue 36]
- [Improve] Can now add location to created events, and copies any description from following indented lines. [Issue 36]
- [New] Add ability to create events in the Calendar, based on time-blocking syntax. See README for more details. [Issue 36]
- [Improve] Clarify documentation to show all sorts of lines in daily notes are moved to the mentioned [[note title]], not just task or header lines. Also loosened unnecessarily strict regexes used here.
- [New] Allow use of weekdays in repeats and template dates (using 'b' rather than usual 'd' for days) [Issue 32]
- [Improve] Extended the command line option --skiptoday to allow comma-separated list of notes to ignore [thanks to @BMStroh PR32]
- [New] add --skipfile=file option to ignore particular files [thanks to @BMStroh, issue 30]
- [Fix] Blank headers at EOF not removed [thanks to @BMStroh, PR31]
- [New] where the note for a
[[Note link]]
doesn't exist, it is created in the top-level Notes folder first
- [New] remove [>] tasks from calendar notes, as there will be a duplicate (whether or not the 'Append links when scheduling' option is set or not)
- [New] Added the command line info for --skiptoday [thanks to @BMStroh, PR28]
- [Improve] Make the configuration easier for first time users [thanks to @BMStroh, PR27]
- [Change] Now default to using the sandbox location for CloudKit storage (change from NotePlan 3.0.15 beta)
- [Fix] Calendar files apparently disappearing if the default file extension is set to .md
- [New] Remove empty header lines and empty header sections
- [New] Add -q (--quiet) option to suppress all output apart from errors
- [Improve] Handling of edge case where there are two identically-named notes in different sub-folders. When moving a task to them, pick the most recently note to move it to. (issue 21)
- [Fix] Improve finding files with .md as well as .txt extensions, as well as more smartly handling supplied filename patterns
- [Improve] Ignore empty NotePlan data files (issue 12), and simplify file-glob coding to ignore @Archive and @Trash sub-directories
- [Fix] nil error in moving tasks to [[Note]] (issue 19)
- [New] Allow for future NP change to allow .md files not just .txt files (issue 20)
- [Fix] Error in calculation of yearly repeats (issue 18)
- [Change] allow @done(date) to be tided up when time has AM/PM suffix (issue 17)
- [New] add new --noarchive option (issue 16)
- [New] add new --keepscheduled option (issue 14,15)
- [Change] Script now called
npTools
- [Improve] Significant improvements to documentation
- [New] Make work with CloudKit storage, available for NP v3 beta (issue 11),
- [Fix] infinite loop on missing note (issue 8)
- [New] remove empty trailing lines (issue 10)
- [New] also move headings with a [[Note]] marker and all its child tasks, notes and comments (issue 6)
- [New] add generation of @repeat-ed tasks (issue 2)
- [Improve] documentation
- [New] add ability to find and clean notes in folders (from NP v2.4) (issue 1)
- [Improve] file error handling
- [New] added first set of command line options (-h, -v, -w)
- [Change] date offsets are now ignored in a section with a heading that includes a #template hashtag.
- [New] changes any mentions of date offset patterns (e.g. {-10d}, {+2w}, {-3m}) to being scheduled dates (e.g. >2020-02-27), if it can find a DD-MM-YYYY date pattern in the previous markdown heading
- [New] adds colouration of output (using https://github.com/fazibear/colorize)
- [Change] move open and now closed tasks with [[Note]] mentions
- [New] remove a set of user-specified tags from @done tasks, via constant
TagsToRemove
Initial commit to GitHub repository. Already does the following cleaning up:
- removes the time component of any @done() mentions that NP automatically adds
- removes #waiting or #high tags from @done tasks
- remove any lines with just * or -
- moves any calendar entries with [[Note link]] in it to that note, after the header section.