37b7b2e67e
Add functions to get by id and remove with FileLockEntry
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
75ab0c1408
Add "is"-flag setting when creating bookmark
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
c58b0d323e
Remove old implementation, define interface for new implementation
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
5be95227c4
Add builder for todo entries
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:19 +01:00
775d3f0a80
Reimplement libimagtodo
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:06 +01:00
adca7a4a1c
Remove old implementation
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:06 +01:00
b40a854c6f
Add function to get all events
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-09 19:44:08 +02:00
e86f36c215
Add getter helper
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-09 19:44:08 +02:00
cf78f7192f
Implement calendar library
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-09 19:44:08 +02:00
ee5348ea23
Update dependency: url: 1.7.2 -> 2
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-07 18:05:58 +02:00
flip1995
e2216db41d
Allow some Clippy lints
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
2e7706af99
[No-auto] lib/domain/todo: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
4301e80cf2
[No-auto] lib/domain/timetrack: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
8726cb12cf
[No-auto] lib/domain/mail: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
6307b80027
[No-auto] lib/domain/habit: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
2ac2a86c7a
[No-auto] lib/domain/bookmark: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:41 +02:00
flip1995
e365763857
[Auto] lib/domain/wiki: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
532564e9eb
[Auto] lib/domain/todo: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
601dd405b6
[Auto] lib/domain/timetrack: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
5f38265545
[Auto] lib/domain/mail: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
76878beb66
[Auto] lib/domain/habit: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
777c9e59f1
[Auto] lib/domain/diary: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
1e47f91a67
[Auto] lib/domain/contact: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
60fe113659
Replace r#try! with the ? operator
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
e21d4db543
Merge branch 'clippy' into master
2019-08-25 12:55:04 +02:00
605b98276d
Run "cargo fix --all-features" in root of project
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:17:07 +02:00
f4fa8b71dd
Fix: Provide header flag for timetracking entries
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 11:50:04 +02:00
2185d44011
Update all dependencies
...
This patch updates all dependencies but not "nom".
Done with `cargo upgrade --all` and manual editing.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 16:44:23 +02:00
6b8c236b67
Merge branch 'libimaghabit-dont-copy-comment-to-instance' into master
2019-06-30 13:14:36 +02:00
f3c41915fd
Do not create comment in habit instance
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 11:34:50 +02:00
191b535479
Change HabitInstance implementation to not contain comment in instance
...
This patch changes the HabitInstance implementation so that the comment
is not expected to exist in the instance object itself.
This is done for less data duplication.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 11:31:49 +02:00
a21d4b7122
Add DiaryId::get_date_representation() function
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 10:56:55 +02:00
99da4b777a
Rename module: timetrackingstore -> store
2019-06-26 20:27:06 +02:00
5dc6829354
Rename module: linker -> linkable
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-21 23:22:48 +02:00
ef17930c29
Rename interface
...
With this patch, the libimagentrylink library interface gets renamed.
The trait gets renamed to the more descriptive name "Linkable", the
functions get renamed to not contain any notion of "internal" anymore.
This patch also adapts the whole source tree for the new libimagentrylink
interface, also renaming variables to not contain "_internal_" anymore.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-21 23:22:47 +02:00
f21b6e53a2
Merge branch 'libimagentrylink-split' into master
2019-06-15 16:48:50 +02:00
901502b67e
Split "internal" module into several submodules
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-31 12:48:00 +02:00
d2a5e8fb59
Rename functions: *_external_link -> *_url
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-31 12:48:00 +02:00
8a5bc09b62
Fix libimagbookmark for new url library
2019-05-31 12:48:00 +02:00
c33c29e8e2
Fix import for new libimagentryurl lib
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-31 12:48:00 +02:00
3e22fbe352
Fix imports for new viewer interface
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30 11:12:44 +02:00
a7d53e47d1
Update toml-query to 0.9.0
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-29 18:39:25 +02:00
1482f70320
Update dependency: toml: 0.4 -> 0.5
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-29 18:39:25 +02:00
5c8af4460e
Fix: Entries::in_collection() should be able to return error
...
This patch changes the Entries::in_collection() interface to return a
Result<()>. This is needed because the fs backend implementation should
be able to check whether a directory actually exists whenever we change
the iterator.
If the implementation detects that the directory does not exist, we can
fail early and error out.
All usages of the interface are adapted by the patch as well.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 13:37:46 +02:00
740729bfda
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00
06e78c75de
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00
99ee4fdf43
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00
26de159415
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00
3321b9a643
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00
e200e40070
Add more context in error messages
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 00:55:10 +02:00