Dustin J. Mitchell
5f983a66af
Include version in default-generated .taskrc ( #3500 )
...
This will avoid new users being prompted with all the news since
2.5.0.
2024-06-21 08:32:09 -04:00
Dustin J. Mitchell
28a46880a2
Treat a nonzero exit status as a failure ( #3430 )
...
And fix the test cases that have been failing ,undetected
2024-05-03 13:58:09 +00:00
Akash Shanmugaraj
aeb6acf640
added BYOS (Bring Your Own SERVICE_ACCOUNT) for GCS authentication ( #3262 )
2024-01-27 07:57:12 -05:00
Dustin J. Mitchell
daca37806e
Rename sync.server.encryption_secret
to sync.encryption_secret
. ( #3249 )
...
* Rename `sync.server.encryption_secret` to `sync.encryption_secret`.
* move pwgen
2024-01-21 19:11:24 -05:00
Dustin J. Mitchell
9566c929e2
Add support for cloud sync, specifically GCP ( #3223 )
...
* Add support for cloud sync, specifically GCP
This adds generic support for sync to cloud services, with specific
spuport for GCP. Adding others -- so long as they support a
compare-and-set operation -- should be comparatively straightforward.
The cloud support includes cleanup of unnecessary data, and should keep
total space usage roughly proportional to the number of tasks.
Co-authored-by: ryneeverett <ryneeverett@gmail.com>
2024-01-21 12:36:37 -05:00
Dustin J. Mitchell
7f68441916
Change "client key" to "client id" ( #3130 )
...
In #3118 @ryneeverett mentioned that "key" suggests that this is a
secret, when in truth it's just a user identifier. So "ID" is a better
word for it than "key".
2023-07-11 22:13:53 -04:00
Dustin J. Mitchell
31105c2ba3
Sync against taskchampion-sync-server ( #3118 )
...
This removes use of gnutls and the TLS implementation, which is no
longer needed (task synchronization is handled via Taskchampion, which
uses `reqwest`, which handles TLS via other Rust dependencies). This
incidentally removes the following config options:
* `debug.tls`
* `taskd.ca`
* `taskd.certificate`
* `taskd.ciphers`
* `taskd.credentials`
* `taskd.key`
* `taskd.server`
* `taskd.trust`
2023-07-08 10:27:33 -04:00
Dustin J. Mitchell
771977aa69
Restore check for missing config
2023-07-04 14:08:51 -04:00
Dustin J. Mitchell
9df4c8156e
remove TDB::commit
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
5bb9857984
Use Taskchampion to store Taskwarrior data
...
This replaces the TF2 task files with a TaskChampion replica.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
35c8ce2ccb
Remove references to TDB2::read_only
...
A TC replica is always read-write.
2022-07-24 14:18:21 -04:00
Tomas Babej
0a558ef7c8
Context: Add a reminder to mirror options in the vim syntax file
2022-05-07 21:52:22 -04:00
Tomas Babej
1fc1884017
Context: Add parent column among default ones for the recurring report
...
This helps to identify parent-child relationships.
2022-03-14 02:48:13 -04:00
Tomas Babej
75ce386b44
Context: Adjust definition of the recurring report filter
...
Ensure the recurring report lists the recurring parent tasks as well as
the child tasks.
2022-03-14 02:48:13 -04:00
Patrick Flakus
59a1729a05
Cleanup: Fixed typo in docstring
2022-01-27 16:10:47 -05:00
Dustin J. Mitchell
b066a17ebe
use a reference in CurrentTask
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
53127bf844
add Context::withCurrentTask
2021-12-30 15:03:37 -05:00
Tomas Babej
3a00956144
ColDepends: Allow specifying short(er) UUIDs
2021-12-03 03:57:37 -05:00
Jakub Wilk
04ef785eea
Fix typo
2021-11-06 11:50:02 -04:00
Tomas Babej
d5a026d91a
context: Interpret legacy-style context as read context only
...
This provides a better migration path than surprising users with the
write context functionality out of the blue.
Closes #2620 .
2021-10-14 22:34:48 -04:00
Tomas Babej
1d4baca0d9
context: Do not interpret empty filter/mods as missing context definition
...
This is a corner case bug, when user has both old-style and new-style
context defined, where new-style is defined as empty string, the
old-style will (incorrectly) take precedence.
Closes #2629 .
2021-10-14 17:47:11 -04:00
Tomas Babej
34c12a7b78
Context: Add news.version among configuration defaults
...
Otherwise news.version shows up as unrecognized variable.
2021-10-02 18:27:57 -04:00
Tomas Babej
36604c95d2
Context: Document the availability of environment variables in the taskrc
2021-09-28 23:38:33 -04:00
Tomas Babej
cd2abc7132
Replace references to monthsperline with calendar.monthsperline
2021-09-25 13:34:58 -04:00
Tomas Babej
04e84cb06f
refactoring: Reorder verbosity tokens
2021-09-16 07:15:54 -04:00
Tomas Babej
9a3b103861
Context: Override verbosity token should not imply header
...
Users might want to only opt-in into footnote override notifications,
without seeing header-based override information about TASKRC or
TASKDATA.
2021-09-16 07:15:54 -04:00
Tomas Babej
ed6249fee6
Context: Make default/override imply header
2021-09-16 07:15:54 -04:00
Tomas Babej
712f0080dd
Context: Introduce 'default' verbosity token
...
The purpose of this token is to control the display of information
messages about taskwarrior choosing a default action of some sort.
2021-09-16 07:15:54 -04:00
Tomas Babej
867efe3928
Context: Update the list of verbosity tokens
...
- Add the "context" token to the default tokens..
- Remove the "filter" token from the default list.
2021-09-16 07:15:54 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Tomas Babej
21f1086f3d
Context: Add default values for report.<name>.context variables
2021-08-21 08:25:06 -04:00
Dustin J. Mitchell
20af583e21
Refactor to store dependencies as individual attributes
...
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.
As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Dustin J. Mitchell
9a9ede7878
update built-in reports to use +WAITING, and doc
2021-08-08 14:27:25 -04:00
Dustin J. Mitchell
901283c79f
[WIP] make 'waiting' status a 'virtual' status
2021-08-08 14:27:25 -04:00
sebu06
3d61966831
Added coloring of dates with scheduled tasks
...
Color can be changed using color.calendar.scheduled
2021-07-20 07:38:14 -04:00
Scott Mcdermott
ac3572a4f5
CLI2: New filter attribute modifier "by", uses '<=' for comparison
...
This patch allows e.g. due.by:tomorrow that includes all of tomorrow,
because it uses less than or equal to, rather than just less than, like
'before' modifier does. This allows matching the last second of the day
when filtering by "due.by:eod", and more generally allows date filters
with an inclusive end-interval specification.
Closes #2536
2021-07-18 09:45:00 -04:00
oxalica
2cb8f1d5ea
Support relative include for themes in taskrc
2021-06-02 19:34:57 -04:00
Rosen Penev
ab7f5b0b51
clang-tidy: loop conversion
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 09:13:22 -04:00
Paolo Capriotti
856b589bac
Parse 'context' verbose token correctly
2021-04-11 20:32:42 -04:00
Tomas Babej
351c3b025c
getTaskContext: Allow getting context info for a non-active context
2021-04-03 15:01:39 -04:00
Tomas Babej
9a380887ee
CLI2: Simplify context determination
...
Simlifies by offloading portion of the logic into the singleton Context
class (which has nothing to do with the task context per se, just a
implementation singleton).
2021-04-03 15:01:39 -04:00
Tomas Babej
0d1542ccd7
meta: Update various links to https
2021-03-12 07:58:04 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
eb32c9d8d7
Context: Correctly handle XDG_CONFIG_HOME paths ending with '/'
2020-12-10 23:49:00 -05:00
Tomas Babej
f0e34a7ef7
Context: Do not append .config if XDG_CONFIG_HOME is defined
...
- Thanks to Julien Rabinow.
2020-12-10 23:34:59 -05:00
Tomas Babej
5dc42df7d0
Context: Correctly respect empty XDG_CONFIG_HOME
2020-12-09 21:21:17 -05:00
Tomas Babej
1f98b9d128
Context: Adjust styling
2020-12-09 20:35:13 -05:00
Julien Rabinow
5256797ea9
add support for XDG_CONFIG_HOME
2020-12-09 20:15:22 -05:00
Julien Rabinow
46b553dd8c
reorder code to be in same order as comments (intuitive order)
2020-12-09 20:15:22 -05:00
Julien Rabinow
1aa77c9ede
fix home_dir variable definition
2020-12-09 20:15:22 -05:00