Commit graph

34 commits

Author SHA1 Message Date
f79b8c000b imag-diary: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
8e331f1f08 Move viewer implementation for imag-diary to libimagdiary 2016-09-21 16:58:21 +02:00
f98afd4b01 Move dependencies 2016-09-21 16:58:21 +02:00
a39f07f9a5 imag-diary: Use Err/Ok Result map utils to refactor code 2016-09-08 14:04:41 +02:00
19711219e7 imag-diary: Use util fn warn_exit() 2016-09-08 08:48:58 +02:00
6b5d91e447 Replace is_none() -> unwrap() with unwrap_or_else() 2016-09-05 16:15:54 +02:00
b2b8f013af Replace is_none() -> unwrap() with unwrap_or_else() 2016-09-05 16:15:54 +02:00
b7c8fa4d18 Replace is_none() -> unwrap() with unwrap_or_else() 2016-09-05 16:15:54 +02:00
f61e14ff41 Replace is_none() -> unwrap() with unwrap_or_else() 2016-09-05 16:15:54 +02:00
5e739df3f8 Replace is_none() -> unwrap() with unwrap_or_else() 2016-09-05 16:15:54 +02:00
66ccd97ef2 Simplify error handling 2016-09-05 16:15:54 +02:00
02b58a45c5 Simplify error handling 2016-09-05 16:15:54 +02:00
4ddb558837 Replace complex match with if let Err(e) 2016-09-05 16:15:54 +02:00
44675a4b4f Refactor: use map_err_into() instead of manual building 2016-09-05 16:15:54 +02:00
ab59bdfd4b Fix imag-diary::list::* for new StoreId Interface 2016-08-28 18:41:56 +02:00
4614b9d430 Use libimagentryedit instead of libimagrt 2016-08-09 15:47:56 +02:00
dcd72765bc Add deny() macro 2016-07-31 11:13:20 +02:00
b613aba257 Remove unused function
We do not offer explicit diary functionality.

Either a user creates a diary implicitely by creating a new entry inside
of it, or not.
2016-07-31 11:13:20 +02:00
7187ad89b1 If an error happens while viewing, trace it 2016-07-31 10:39:43 +02:00
c1d41c954e Remove keyword: mut 2016-07-31 10:38:30 +02:00
5cc84c1551 Remove keyword: mut 2016-07-31 10:38:21 +02:00
703788d9d2 Replace trace_error() with trace_error_exit() where appropriate 2016-07-16 21:57:29 +02:00
66cdc192c2 Annotate that we have a closure which takes &Entry here 2016-07-04 20:13:45 +02:00
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
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