Commit Graph

733 Commits

Author SHA1 Message Date
Dustin J. Mitchell
f054a4061e Remove taskchampion-sync-server (#3380)
This crate has been moved to
https://github.com/GothenburgBitFactory/taskchampion-sync-server.

The integration-tests repo used the sync server to test integration
between taskchampion and the sync-server. We should do that again, but
after taskchampion moves to its own repo (#3209). In the interim, the
cross-sync integration test can simply test syncing between local
servers, but the snapshot test is no longer useful as the local server
does not support snapshots.
2024-04-20 12:44:06 +00:00
ryneeverett
0944c73716 Recommend LSP's in development docs (#3370)
* Recommend LSP's in development docs

Per conversation in #3338.

There are already a lot of documented compile options so I think we're
better off suggesting that everybody create a compile_commands.json
whether or not they're using an LSP because it doesn't cost much.

While I was at it it seemed reasonable to mention rust LSP too. Now that
rls is deprecated I'm not sure there is any competitor to rust-analyzer
worth mentioning.

* Export compile commands by default.

Thanks to @felixschurk for the idea and telling me how to do it.

It took me a minute to figure out that this places the
compile_commands.json in the build directory rather than the root of the
project. But clangd still finds it there and that's a better place for
it anyway.
2024-04-16 08:19:58 -04:00
Dustin J. Mitchell
10cec507cb Check that sync.server.origin is a URL (#3361) 2024-04-16 02:11:55 +00:00
Dustin J. Mitchell
4d9bb20bdd Update task news to support 3.0.0 (#3342)
* Introduce Version, use it to check current version in custom reports
* Support multiple versions in 'task news'
2024-04-15 22:04:16 -04:00
Dustin J. Mitchell
06fdfc5af3 Edit Cargo.toml during release (#3302) 2024-03-27 22:56:13 +00:00
Dustin J. Mitchell
8bb08bf01d Add releasing docs (#3292)
add releasing docs
2024-03-24 21:32:38 +00:00
Dustin J. Mitchell
18a8bd2997 Use corrosion instead of CMakeRust (#3273)
* Use corrosion instead of CMakeRust
* use OpenSUSE tumbleweed (latest) to get newer CMake
2024-03-02 16:21:34 -05:00
Felix Schurk
8dd29e0a8a Change to out-of source build, Update build instructions (#3271)
* update build instructions

Usage of "modern" CMake syntax and using specific out of source build.
Further add example on how to build in parallel, build a specific target
and how to change the compiler.

This closes #3236.
2024-02-25 12:27:52 -05: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
4af0636b52 Add note about Rust not building automatically (#3255) 2024-01-21 22:13:46 -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
fa21835001 Better links from TW devel docs to TaskChampion (#3253) 2024-01-21 18:03:11 -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
Thomas Lauf
a8f79f84a8 Fix typo 2023-10-20 12:03:02 +02:00
Dustin J. Mitchell
971b229a4b Consolidate in-repo documentation (#3143)
* move doc/misc to top level, add READMEs

* Move docs -> doc/devel

This also consolidates the _three_ documents describing (differently)
how to build Taskwarrior into a signle document.
2023-08-09 21:30:01 -04: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
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
Tomas Babej
fd03169314 man: Make frequency abbreviation more clear 2022-07-25 19:51:59 -04:00
John Nguyen
68bef0135f Fix typo in man page
The example for _unique has typo, should be using attribute for project.
Fixes #2277
2021-10-02 21:05:50 -04:00
Tomas Babej
130b2fe77c man: Fix spacing between headers 2021-10-02 09:48:35 -04:00
Tomas Babej
d7d2f938c5 man: Document the 'news' command 2021-10-02 09:47:23 -04:00
Tomas Babej
db6aeffd66 holidays: Update for 2022 2021-10-01 21:59:00 -04:00
Tomas Babej
1a8756e042 holidays: Add sv-FI locale 2021-10-01 21:58:43 -04:00
Tomas Babej
cb571f345a holidays: Add sk-SK locale 2021-10-01 21:58:34 -04:00
Tomas Babej
a2af5260cd holidays: Add pt-BR locale 2021-10-01 21:58:22 -04:00
Tomas Babej
10c049cff0 holidays: Add hr-HU locale 2021-10-01 21:58:10 -04:00
Tomas Babej
7e0d1aa902 holidays: Add fr-CA locale 2021-10-01 21:57:26 -04:00
Tomas Babej
0edc6665c0 man: Mention new color.calendar.scheduled setting in the man page 2021-09-25 20:25:53 -04:00
Tomas Babej
6908586899 docs: Fix documented default value of burndown.cumulative
The default is actually 1, not 0.
2021-09-25 20:25:53 -04:00
Tomas Babej
f37a8abb86 doc: Strip trailing whitespace 2021-09-25 13:35:33 -04:00
Tomas Babej
d9861eb891 doc: Expand section about relative paths in taskrc 2021-09-25 13:35:32 -04:00
Tomas Babej
059ab577b8 man: Update taskrc manpage's description of context 2021-09-25 13:35:31 -04:00
Tomas Babej
cd2abc7132 Replace references to monthsperline with calendar.monthsperline 2021-09-25 13:34:58 -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
c5f6419dfd docs: Document the 'default' token 2021-09-16 07:15:54 -04:00
DanielMowitz
cb07e93ddd Changed configuration option name and added documentation. 2021-09-11 13:56:03 -04:00
Tomas Babej
0bc92d6115 meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Tomas Babej
505bbf60bb colors: Do not provide any color for color.tagged by default
The simple fact that the task has a single or more tags of any value
does not convey a lot of information. As such, we should not color tasks
based on this property by default.

Users can still configure the color.tagged configuration variable if the
color rule makes sense in their system.
2021-08-31 18:28:54 -04:00
Tomas Babej
d91e30ee13 Merge branch '2.6.0' into getFromContext 2021-08-28 23:53:40 -04:00
Tomas Babej
d270ef31a4 docs: Document report.X.context in the man page 2021-08-21 12:39:17 -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
1d81e5e3ee Configuration override of settings for context
Every configuration parameter can be overwritten for the
current context by setting the parameter:

context.<name>.rc.<parameter> = <value>

in the config file. This allows for example to set a custom
report for each context.
2021-08-05 13:22:17 +02:00
Scott Mcdermott
3948484cf5 docs: Document TW #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
Tomas Babej
14fd8ea673 man: Adjust wording 2021-04-21 22:58:47 -04:00
DanielMowitz
7a07e09733 Added documentation for multi-day holidays. 2021-04-21 22:23:00 -04:00
Tomas Babej
4a726175f5 docs: Expand the manpage to explain writeable context 2021-04-03 15:01:39 -04:00