Commit graph

5939 commits

Author SHA1 Message Date
5bde1cc207 Split into several files 2016-06-09 15:41:42 +02:00
f6971c6896 Implement view() 2016-06-09 15:41:42 +02:00
7f4a721897 Add ui spec for viewing entries 2016-06-09 15:41:42 +02:00
d8071a5624 Add functionality so one can create diary entries hourly and minutely 2016-06-09 15:41:42 +02:00
0f32957ce8 UI spec fixup 2016-06-09 15:41:42 +02:00
19a37e6f9f Implement delete() 2016-06-09 15:41:42 +02:00
4a134144d1 Add debugging in lib-iter 2016-06-09 15:41:42 +02:00
cf6d03ca03 Add main.rs 2016-06-09 15:41:42 +02:00
6f077f8ce4 Add specification for delete subcommand 2016-06-09 15:41:42 +02:00
55c833226c Add user interface definition 2016-06-09 15:41:42 +02:00
c5beb34614 Add dependencies 2016-06-09 15:41:42 +02:00
937530b41f diary: initial import 2016-06-09 15:41:42 +02:00
c099fc7270 Merge pull request #309 from matthiasbeyer/libimagdiary/init
Libimagdiary/init
2016-06-09 15:40:58 +02:00
b68bd7ef8e Impl Display for DiaryId 2016-06-08 19:36:13 +02:00
a7715287f5 Merge pull request #209 from matthiasbeyer/libimagstore/move
Add functions for moving and copying store entries
2016-06-08 16:39:36 +02:00
34d702ea83 Merge pull request #466 from matthiasbeyer/binary-enhance-ui
Binary enhance ui
2016-06-08 16:39:22 +02:00
55e6c29275 Add another level of error enclosure 2016-06-08 15:11:53 +02:00
e75b524e53 Add error kinds for Move functions 2016-06-08 15:11:53 +02:00
84a0778a5b Refactor: Use helper function for equal codelines 2016-06-08 15:08:06 +02:00
3c40df1ae7 Add Store::save_to() to create a copy of an entry 2016-06-08 15:08:06 +02:00
2ce84a3dbf Add {Pre, Post}Move hooks 2016-06-08 15:08:00 +02:00
Yase
2fec50fc10 exec command calls taskwarrior 2016-06-08 14:25:29 +02:00
e05d0e6f13 libimagentrytag: Add value_name() call in ui helpers 2016-06-08 14:11:16 +02:00
4e987e32cf Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
807f734d38 Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
0ca8f6bc0b Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
91f1e46282 Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
7d395dd87a Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
6a8a8150fd Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
12cac663d0 Implement save_as() 2016-06-08 14:03:17 +02:00
f885e6c80b Implement move_by_id() 2016-06-08 14:03:17 +02:00
5b16771f4f Add (unimplemented) functions for moving store entries 2016-06-08 14:02:52 +02:00
68621353be Merge pull request #464 from matthiasbeyer/imag-store/tests-utils-source-fix
Fix: sourcing of test-util helper functions fixed
2016-06-08 14:02:15 +02:00
de9d933a6b Add DiaryId::now(name) to create DiaryId at current time 2016-06-08 13:59:41 +02:00
857daa1c99 Add Diary::name() getter 2016-06-08 13:59:41 +02:00
ecba4e670f Add Diary::new_entry_by_id()
to generate a new entry from a DiaryId object.

Rewrite Diary::new_entry_today() to use this new functionality for more
DRY code.
2016-06-08 13:59:41 +02:00
7c50dd88b5 Impl Default for DiaryId 2016-06-08 13:59:41 +02:00
b04b6e3d24 Add setters for DiaryId type 2016-06-08 13:59:41 +02:00
schwente
21fa21859b Change the Error handling and remove unsed code 2016-06-08 12:54:11 +02:00
Yase
0545b6d336 ui.rs needed a multiple(true)
main.rs - now we get the string argument of exec --command <string argument>
2016-06-07 23:45:49 +02:00
d0104e7e67 Merge pull request #459 from matthiasbeyer/fix-457
Fix: Re-writing content of String in edit_in_tmpfile()
2016-06-07 20:48:44 +02:00
c098b06504 Fix: sourcing of test-util helper functions fixed 2016-06-07 20:46:49 +02:00
dc07abdd72 Fix Into<String> for DiaryId to contain padding zeroes 2016-06-07 20:02:18 +02:00
a29ea121a0 Reimplement FromStoreId::from_storeid() for DiaryId 2016-06-07 20:02:18 +02:00
bfa6f593b6 Fix: Re-writing content of String in edit_in_tmpfile() 2016-06-07 14:25:06 +02:00
88e89d7927 Merge pull request #456 from matthiasbeyer/libimagstore/errors-to-identify-store-api-call
Add a set of error kinds to identify the store call the error came from
2016-06-06 18:28:48 +02:00
schwente
11b0622804 Fixed the store.delete(...) Return Problem 2016-06-06 14:16:53 +02:00
0318117b6c Add missing imports 2016-06-04 15:34:02 +02:00
14a4b786e8 Enable lints 2016-06-04 15:34:02 +02:00
ef86c5e1ff Add config module 2016-06-04 15:34:02 +02:00