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
a1b64a05ba
add more information to 'task purge' footnote
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
87467f72c7
[BREAKING] remove 'task purge' support
...
TaskChampion removes deleted tasks automatically when they expire, so
this subcommand is no longer required.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
d47c70579f
[BREAKING] Disable the 'sync' command
...
This will require support from TaskChampion.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
ddd367232e
[BREAKING] Remove journal.info support
...
This support will require access to all of the operations ever performed
on a task, which is not currently exposed by TaskChampion (but see #2928 )
2023-04-16 19:21:14 -04:00
DBV
627dc79a7e
Update CmdNews.cpp
...
typo
2023-01-11 00:09:28 -05:00
Dustin J. Mitchell
12ecfa2b1e
rename rust/ to taskchampion/
2022-07-29 21:41:41 -04:00
Dustin J. Mitchell
8c30400af3
Add a C++ wrapper around TC FFI
...
This uses CMake to build a simple Rust library (in `src/tc/rust`) that
just re-exports everything from the `taskchampion-lib` crate.
The C++ wrappers then wrap this into C++ objects with proper lifecycle
maintenance, in the `tc` namespace.
The C++ wrappers are incomplete, and missing methods are tagged with
"TODO". These will be added as needed.
2022-07-29 21:41:41 -04:00
Dustin J. Mitchell
f452100588
Remove references to TDB2::data_size
...
This value will is not relevant for TaskChampion.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
271d06cd9c
make TDB2.pending/completed non-public
...
References to methods on these fields are replaced with methods on TDB2,
several of which already existed.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
4ebd0ffb39
make TDB2.undo non-public
...
The stats command calls an API to provide this information in a way that
will still be relevant for TaskChampion, while CmdInfo's access to the
data remains. The TaskChampion interface for per-task hitsory is still
not ready.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
c8cfcec48b
Make TDB2.backlog non-public
...
The stats command gets this information from an API that will also work
for TaskChampion. The sync command still accesses the field directly,
as the command must be completely rewritten for TaskChampion.
2022-06-21 12:05:50 -04:00
Raf Czlonka
92a9a716a8
Use 'speakers' instead of 'users'.
...
"Non-English users" sounds very much like "users who are not English".
Also, "Non-English speakers" is already a well established phrase.
2022-06-12 18:30:20 -04:00
Raf Czlonka
12bdc0d480
Fix typo: 'holday' -> 'holiday'
...
While there, be consistent when using hyphens.
2022-06-12 18:30:20 -04:00
sec65
0d63165ca5
TW-2763: added hooks.location to show command
2022-06-12 18:11:05 -04:00
Nikos Koukis
4c179a427d
Fix issue with filter not applied correctly during task _tags command
...
Also includes:
* Add cmake build directory + Session.vim files to .gitignore list
2022-05-31 01:31:28 -04:00
Dominik Rehák
8c3aa95224
CmdInfo: Fix leading spaces before urgency value
...
The minimal field width is set to 4, so if the value is shorter, it gets
prefixed with spaces, breaking the flow of the table.
2022-04-13 11:22:49 -04:00
Dustin J. Mitchell
2ea6dd627e
Just set contextTask in Task::modify
...
Based on the observation that every command was setting contextTask
immediately before calling `task.modify(..)`.
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
6e9ad1048d
move use of contextTask out of columns, into commands
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
e3dd91d45e
use the existing (but misnamed) orphans method
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
e768e2c100
compare Tasks directly, not their properties
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
ac24ec1387
fixup and fix spelling for denotate
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
2812a8c77a
Refactor getDOM to use a pointer for the optional context
...
It's possible to call getDOM without a contextual task. Previously,
this was done by referencing a "dummy" task which necessitated a way to
distinguish such dummy tasks. This switches to using a pointer and
treating the NULL value as meaning there is no context.
Note that this cannot use `std::optional<&Task>`, as optional does not
support reference types.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
dede40bc4e
Replace direct Task.data access with a temp getter (syntactic refactor)
...
Now this getter, `data_removeme`, can easily be grepped out and
replaced, one usage at a time in small PRs.
2021-12-16 23:03:44 -05:00
Siôn le Roux
01add8a34a
docs: Fix typo in XDG news
...
This had XFG written in it, it's surely a typo of XDG since on the next
line it's written correctly.
2021-11-23 21:05:01 +01:00
Tomas Babej
493f36ecdd
CmdContext: Utilize new reason-providing validateWriteContext
2021-11-06 11:53:45 -04:00
Tomas Babej
5d8f8dac35
validateWriteContext: Refactor to return the underlying reason for invalidity directly
2021-11-06 11:53:44 -04:00
Tomas Babej
f5dce013ce
CmdContext: Expand the definition of an invalid write context to incllude tag exclusion
2021-11-06 11:53:44 -04:00
Tomas Babej
531881f651
validateWriteContext: Tag exclusion should also be detected as invalid write context
2021-11-06 11:53:43 -04:00
Tomas Babej
7de681aa3b
validateWriteContext: Apply early break when detected the OR operator
2021-11-06 11:53:42 -04:00
Jakub Wilk
04ef785eea
Fix typo
2021-11-06 11:50:02 -04:00
Tomas Babej
72930708ec
CmdNews: Support Mac OS-X url opener
2021-11-04 22:07:39 -04:00
Tomas Babej
072b38d326
CmdCustom: Increase probability of displaying upgrade message
...
We have received reports from people that have upgraded, but seemingly
have not seen release notes in the `task news` command. One of the
causes here could be the fact that the probability of displaying the
footnote about running `task news` is `1/10`.
Increase the probability to 1/4.
2021-10-18 21:32:53 -04:00
Tomas Babej
dc81bf5fb5
CmdNews: Adjust for brevity
2021-10-18 21:31:41 -04:00
Tomas Babej
793b23411a
CmdUDAs: Do not identify tags and dependencies as orphan UDAs
2021-10-16 10:22:34 -04:00
Tomas Babej
dbf641988e
CmdTags: Update pointers to task enumeration lists
2021-10-02 21:38:47 -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
a392983631
CmdNews: Minor adjustments
2021-10-02 17:10:59 -04:00
Tomas Babej
ef53c4fc75
CmdCustom: Generate notice about task news
2021-10-02 16:58:16 -04:00
Tomas Babej
5ccfece56d
CmdNews: Improve footnote advertising of minor higlights
2021-10-02 16:25:27 -04:00
Tomas Babej
5e5a68e045
CmdNews: Mark more higlights as major
2021-10-02 16:24:57 -04:00
Tomas Babej
214890af26
CmdNews: Prevent double outro by reverting to defautl signal handler
2021-10-02 16:08:11 -04:00
Tomas Babej
bd39e6b2e0
CmdNews: Prevent compiler warning
2021-10-02 16:08:10 -04:00
Tomas Babej
cb4444098e
CmdNews: Add short outro on interrupt
2021-10-02 16:08:09 -04:00
Tomas Babej
7e3ea4f47e
CmdNews: Implement short outro section
2021-10-02 16:08:08 -04:00
Tomas Babej
8ef6aa4bce
CmdNews: Guide users about minor highlights
2021-10-02 13:11:31 -04:00
Tomas Babej
f9f62d596a
CmdNews: Dynamically construct the heading
2021-10-02 11:45:59 -04:00
Tomas Babej
333840062b
CmdNews: Replace prompt at the beginning by defaulting to major items only
2021-10-02 11:40:47 -04:00