d6e1994eeb
Fix: Explicitely import only relevant trait
2017-12-24 13:52:50 +01:00
0870665668
Add iterator extension for iterators over Result<T, E>
2017-12-24 13:52:50 +01:00
67410b3ad2
Implement iter extension for all iterators over StoreId
2017-12-24 13:52:50 +01:00
898617ff62
Merge pull request #593 from matthiasbeyer/libimagnotification/init
...
Libimagnotification/init
2017-12-23 15:19:16 +01:00
552d963980
Add changelog entry
2017-12-23 14:20:46 +01:00
420af751fc
Add dbus and pkgconfig dependencies in travis.yml
2017-12-23 14:20:46 +01:00
f0ae628687
Transform to use error-chain
2017-12-23 14:20:46 +01:00
7bdaaf35fc
Initial import
2017-12-23 14:20:46 +01:00
4819061d68
Merge pull request #1179 from matthiasbeyer/imag-link/intelligent-positional-args
...
Rewrite imag-link commandline to be intelligent
2017-12-23 14:20:24 +01:00
8104b1cf0b
Adapt tests
...
This changes the internal function `link_from_to` a bit, but as this is
only internal we don't care.
2017-12-23 12:57:15 +01:00
9ec5ed9b05
Rewrite imag-link commandline to be intelligent
...
This patch is a rewrite for the imag-link commandline to automatically
recognize whether an internal or an external link is about to be made
and automatically do the right thing.
The commandline got a lot easier and also smaller in size (as in number
of commands), but the functionality should remain the same.
2017-12-23 12:57:13 +01:00
7a12d82552
Merge pull request #1169 from matthiasbeyer/imag-habit/init
...
Imag habit/init
2017-12-22 16:20:09 +01:00
05a630f943
Change UI. Positional args are not possible here
2017-12-22 14:40:01 +01:00
6a7e7f0f12
Add functionality so we can create a habit with a due date
2017-12-22 14:40:01 +01:00
df16d0737e
Adapt for new API of Habit::next_instance_date()
...
With cd8f0beae8
the interface of `HabitTemplate::next_instance_date()` changed to return
a `Result<Option<_>>` rather than a `Result<_>` because the
next_instance_date could be a None if the Habit was closed already.
This patch adapts imag-habit for this new interface.
2017-12-22 14:40:01 +01:00
501f67dcf2
Add more output in today()
2017-12-22 14:40:01 +01:00
496850a762
Add future-check in CLI and fix for default command invokation
2017-12-22 14:40:01 +01:00
39a983f6fb
Add more details to default command
2017-12-22 14:40:01 +01:00
7cf46f99d4
Add done
functionality
2017-12-22 14:40:01 +01:00
b78095d8bc
Impl delete()
2017-12-22 14:40:01 +01:00
ff39a450b1
Explicitely state that printing an empty table is forbidden
2017-12-22 14:40:01 +01:00
404d839310
Make "today" the default command
2017-12-22 14:40:01 +01:00
0fa1ae28f8
Let "today" command list upcoming habits
2017-12-22 14:40:01 +01:00
5574764d83
Add a subcommand to list habits due today
2017-12-22 14:40:01 +01:00
2520635cae
Add support for listing the next date when the habit must be done
2017-12-22 14:40:01 +01:00
6e7414a2fd
Implement show()
2017-12-22 14:40:01 +01:00
915b1325d2
Implement list()
2017-12-22 14:40:01 +01:00
528b30c1ff
Implement create()
2017-12-22 14:40:01 +01:00
d1848e9186
Add CLI spec
2017-12-22 14:40:01 +01:00
be79f6373e
Import crate for imag-habit
2017-12-22 14:40:01 +01:00
840bc86c90
Merge pull request #1178 from matthiasbeyer/libimaghabit/fix-until
...
Fix: Until date is still optional
2017-12-22 14:39:41 +01:00
6246d25c9d
Fix: Until date is still optional
2017-12-22 13:20:11 +01:00
09c9eb6090
Merge pull request #1175 from matthiasbeyer/libimaghabit/remove-unused
...
libimaghabit: Remove unused things
2017-12-22 12:29:50 +01:00
e2787c0087
Merge pull request #1174 from matthiasbeyer/libimaghabit/until-date
...
libimaghabit: Add until-date support
2017-12-22 12:08:36 +01:00
9bf4b9604b
Remove unused variables
2017-12-22 11:03:42 +01:00
90ed0c0e10
Remove unused macro import
2017-12-22 11:02:55 +01:00
96b51280ab
Remove unused imports
2017-12-22 11:01:35 +01:00
cd8f0beae8
Add until-date support
2017-12-22 10:59:27 +01:00
1f92ae3ad5
Merge pull request #1171 from matthiasbeyer/doc-update
...
Doc update
2017-12-21 15:05:33 +01:00
7c752e8ef3
Update list of library todos
2017-12-20 14:45:26 +01:00
872dbb91e0
Update todo-list of crates which are done
2017-12-20 14:45:02 +01:00
19c360d42b
Merge pull request #1170 from matthiasbeyer/libimaghabit/api-cleanup
...
libimaghabit: API cleanup
2017-12-19 19:57:51 +01:00
ddf703eaa0
Add HabitTemplate::next_instance_date_after()
...
Rewrite HabitTemplate::next_instance_date() to use the new function
2017-12-19 19:13:12 +01:00
6f244a52ff
Add function to instantiate with a given date
...
Use that function in the `create_instance()` function which was renamed
to `create_instance_today()`.
2017-12-19 19:13:04 +01:00
3d96170021
Merge pull request #1042 from matthiasbeyer/libimaghabit/init
...
libimaghabit: init
2017-12-08 15:47:28 +01:00
13e9ee3ffa
Add Habit::next_instance_date()
2017-12-08 14:54:49 +01:00
f81faa3f6a
Make "util" pub
2017-12-08 14:54:49 +01:00
999bdf8d0d
Add HabitTemplate::linked_instances() function
2017-12-08 14:54:49 +01:00
3b319fd4f0
Add HabitInstanceStoreIdIterator::new
2017-12-08 14:54:49 +01:00
30e05d21f9
Add debugging output
2017-12-08 14:54:49 +01:00