Commit graph

11451 commits

Author SHA1 Message Date
Dustin J. Mitchell
3a2450cb23 provide context for errors to help debugging 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
fa9e6ddcd5 Don't unwrap in production code 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
cbe11a1d3d fix new clippy warnings 2021-05-16 09:38:40 -04:00
Dustin J. Mitchell
cea5ae87c7
Merge pull request #237 from taskchampion/issue151
[breaking] Include /v1/ in the sync-server paths
2021-05-16 09:18:19 -04:00
Dustin J. Mitchell
373cef9d33 [breaking] Include /v1/ in the sync-server paths
This is an incompatible change to the sync-server protocol.
2021-05-14 12:51:24 -04:00
begasus
4fff27f4bc Fix reference for errno.h on Haiku 2021-05-14 00:04:48 -04:00
Dustin J. Mitchell
febe6d8b68 sort the 'next' repot by id 2021-05-11 14:58:57 -04:00
Dustin J. Mitchell
ac53383aea remove debugging prints 2021-05-09 21:30:58 -04:00
Dustin J. Mitchell
3f1453b70b
Merge pull request #230 from taskchampion/issue100
Document environment variables all in one place
2021-05-08 09:56:57 -04:00
dbr
027225d2a3 More WIP.
Workaround for !Send SQLite causing problems as each get_txn creates a new transaction
2021-05-08 22:09:48 +10:00
Dustin J. Mitchell
7aea34c7a3 Document environment variables all in one place 2021-05-07 11:16:10 -04:00
dbr
7ff54ed0de WIP. Open new connection for each transaction as workaround 2021-05-07 22:24:55 +10:00
Dustin J. Mitchell
1d0ed132df remove spurious dependency from mdbook-deploy workflow
Fixes #227.
2021-05-05 16:55:21 +00:00
Dustin J. Mitchell
f30264b77f
Merge pull request #223 from taskchampion/issue222
rename CLI to `ta`
2021-05-04 17:19:42 -04:00
Dustin J. Mitchell
0f0f2b0e75 rename CLI to ta 2021-05-04 17:09:47 -04:00
Dustin J. Mitchell
73ad035bed
Merge pull request #220 from taskchampion/issue120
Fix doc links
2021-05-03 09:41:11 -04:00
Dustin J. Mitchell
5d8a1f50d4
Merge pull request #224 from taskchampion/issue164
Switch to TOML for configuration
2021-05-03 09:36:37 -04:00
Dustin J. Mitchell
94d1217d81 Switch to TOML for configuration 2021-05-02 17:04:26 -04:00
Rosen Penev
73575f8d88 convert manual loops to std::count_if
Simpler and generates less assembly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-01 21:20:52 -04:00
Dustin J. Mitchell
c696bf35d4 Fix doc links
`installation.md` was not being included due to using `-` instead of `*`
in `SUMMARY.md`.  The usage link was just incorrect.
2021-05-01 12:25:19 -04:00
Dustin J. Mitchell
b4a8b150a8
Merge pull request #218 from taskchampion/graphics
Add CGI assets
2021-05-01 10:43:03 -04:00
dbr
60ff0a8d11 Very WIP (i.e broken) start of SQLite storage in server 2021-04-29 16:00:22 +10:00
dbr
ff894f6ff6 Comments and rustfmt 2021-04-29 11:01:46 +10:00
dbr
a3c9a76f1d Explicit check that rusqlite::Transaction isn't auto-commited on drop 2021-04-29 10:58:34 +10:00
dbr
23531d73c4 Remove debug junk 2021-04-29 10:57:43 +10:00
dbr
e479c25c34 Tidier 2021-04-29 10:41:17 +10:00
dbr
cefd6fd6cc Serialize Uuid as string for nicer debugging
Also implement ToSql/FromSql for Operation/TaskMap so errors are handled properly
2021-04-29 10:39:29 +10:00
dbr
d5724c4dc2 Unused 2021-04-29 10:37:04 +10:00
Dustin J. Mitchell
24011b5e8d
Merge pull request #212 from savchenko/main
Compatibility, deprecation and security policies
2021-04-28 13:55:27 -04:00
dbr
e06e33bee4 Remove kv storage backend
Now uses sqlite by default
2021-04-29 00:20:13 +10:00
dbr
cf70ef49ed Minor tidying 2021-04-29 00:10:53 +10:00
dbr
5ae828b1eb Implement working set methods 2021-04-29 00:09:54 +10:00
Andrew Savchenko
aad0496620
Add CGI assets
- Closes https://github.com/taskchampion/taskchampion/issues/207
2021-04-28 14:02:08 +09:30
Andrew Savchenko
8f0f8bf31b Add CGI assets
- Closes https://github.com/taskchampion/taskchampion/issues/207
2021-04-28 13:56:29 +09:30
Andrew Savchenko
db9d5483e8
Update Policy
- Closes https://github.com/taskchampion/taskchampion/pull/212
2021-04-28 13:43:06 +09:30
Andrew Savchenko
990c540563
Update Policy
- https://github.com/taskchampion/taskchampion/pull/212#discussion_r621457029
2021-04-28 13:37:11 +09:30
Andrew Savchenko
62f3dab049 Update Policy
- https://github.com/taskchampion/taskchampion/pull/212#discussion_r621458637
2021-04-28 12:20:34 +09:30
dbr
2b7e121e7e Implement operations storage for SQLite 2021-04-28 12:35:50 +10:00
dbr
1959f0c63a Implement all_task_uuids and base version methods 2021-04-27 19:35:45 +10:00
Andrew Savchenko
215fda0539 [ABI] Add notice about backend upgrade 2021-04-27 16:00:22 +09:30
Andrew Savchenko
c81d61dfa6
Removed SECURITY.md in favour of POLICY.md 2021-04-27 15:41:29 +09:30
Andrew Savchenko
8aa6b50969 Add POLICY.md
- https://github.com/taskchampion/taskchampion/issues/210
- https://github.com/taskchampion/taskchampion/milestone/1
2021-04-27 15:40:11 +09:30
Tomas Babej
62399239ca Filter: Make +ACTIVE trigger pendingOnly shortcut 2021-04-24 15:28:00 -04:00
Tomas Babej
523e2b40fe Filter: Consider presence of +PENDING tag signal to skip completed.data
This puts +PENDING at the same level of treatment as status:pending when
it comes to decision whether the data processed should be pending only.

The mechanism is by no means perfect and should be improved in the
future.
2021-04-24 15:28:00 -04:00
Tomas Babej
5e87be4641 Filter: Fix copy-paste error in pendingOnly 2021-04-24 15:28:00 -04:00
Tomas Babej
c7fd6b798b libshared: Bump version to support Pig.getUntilAscii 2021-04-24 10:47:28 -04:00
Tomas Babej
87d0499fc8 performance: Use ascii-only version of getUnitl for parsing attribute names
Not having to consider utf-8 characters has performance benefits.
2021-04-24 10:47:28 -04:00
Tomas Babej
95b135b59e DOM: Create a copy of Task object only if needed 2021-04-24 10:47:28 -04:00
Tomas Babej
87b0be9b6f performance: Pre-emptively reserve size of the values vector
Each token will add a corresponding Variant into the vector, so we can
avoid the performance penalty connected with dynamic resizes of the
vector.
2021-04-24 10:47:28 -04:00
Tomas Babej
312f77f703 performance: Do not use Pig to extract raw line content 2021-04-24 10:47:28 -04:00