Commit graph

4539 commits

Author SHA1 Message Date
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
90a4139ede Make builder consuming 2017-12-08 14:54:49 +01:00
dc7a315176 Getter for all instances 2017-12-08 14:54:45 +01:00
b181b488a2 Add extension to check whether an Entry or a StoreId points to a habit instance/template 2017-12-08 14:54:45 +01:00
9af2f34b58 Outsource instance id creation to helper fn 2017-12-08 14:54:45 +01:00
6a13567efc dependency: kairos: beta-1 -> beta-2 2017-12-08 14:54:45 +01:00
0ffbb2ef1a Add kairos error chain integration 2017-12-08 14:54:45 +01:00
2c655daa39 Add IsValidHabitObj helper trait 2017-12-08 14:54:45 +01:00
6b33fc9e6f Update kairos: master -> 0.1.0-beta-1 2017-12-08 14:54:45 +01:00
a6a36455f5 Add recur spec with kairos support 2017-12-08 14:54:41 +01:00
42cabffa64 Implement HabitInstance for Entry 2017-12-08 14:54:41 +01:00
533d97532b Move date-string conversion utils to util module 2017-12-08 14:54:40 +01:00
a71c9281ec Initial import 2017-12-08 14:54:40 +01:00
167511afec Fix formatting and adjust module/lib documentation
Also add symlink in module implementation to lib-documentation.
2017-12-08 14:54:40 +01:00
3fa2995c5f
Merge pull request #1168 from matthiasbeyer/libimagentrylist/print-empty-list
Add flag and check whether to print empty table
2017-12-07 22:08:47 +01:00
65620d6a0b
Merge pull request #1167 from matthiasbeyer/remove-println
Remove accidentially slipped-in println!()
2017-12-06 21:16:30 +01:00
13768322d2 Add flag and check whether to print empty table 2017-12-06 20:31:18 +01:00
af67ff51c8 Remove accidentially slipped-in println!() 2017-12-06 19:51:02 +01:00
b1cf058dcc
Merge pull request #1165 from matthiasbeyer/libimagentrylist/with-idx-fix
TableLister: If configured with index, also print index row
2017-12-03 22:23:44 +01:00
b17772041f TableLister: If configured with index, also print index row 2017-12-03 21:20:23 +01:00
72710323d0
Merge pull request #1164 from matthiasbeyer/rustc-minimum-version
Update travis rustc version
2017-12-02 11:57:57 +01:00
6949aa759f Update travis rustc version
The 'bitflags' dependency requires rustc 1.20 as minimum version, hence
remove 1.19.

Also add the newer rustc versions in the CI chain.
2017-12-02 11:02:24 +01:00
0e04e8f258
Merge pull request #1162 from matthiasbeyer/travis-all
Travis all
2017-11-18 14:23:18 +01:00
77f93e77f0 Fix syntax 2017-11-18 12:28:20 +01:00
7bc47d40f3 Rewrite travis script to test with all features 2017-11-18 12:26:57 +01:00
b2377c3bc8
Merge pull request #1132 from matthiasbeyer/imag-contact/init
Imag contact/init
2017-11-09 12:15:46 +01:00
5661dd8e35 Add CHANGELOG entry for imag-contact 2017-11-09 11:25:56 +01:00
04d5af8d50 Switch to upstream rust-vobject 2017-11-09 11:21:17 +01:00
521d661f1c Fix path 2017-11-09 11:21:17 +01:00
00c73d53c7 Phone and email information is in the person table 2017-11-09 11:21:17 +01:00
c8a8bdcd22 Fix format and location of content 2017-11-09 11:21:17 +01:00
c90d0ab34a Fix UUID-Filename creating, add debug output 2017-11-09 11:21:17 +01:00
296136fca5 Add tests 2017-11-09 11:21:17 +01:00
524df37ca6 Add parsing of personal information: Birthday 2017-11-09 11:21:17 +01:00
794efb0034 Outsource functional part for testability 2017-11-09 11:21:17 +01:00
e211aba341 Implement create subcommand
The complexity of the create() routine justifies the move to another file.

This commit implements the create() functionality which creates a TOML
tempfile which the user should edit and then reads the contents to build
the Vcard object which then gets written to either stdout or the
destination file.

Besides that:

* Move helper function to util module
* Rewrite and fix tests
2017-11-09 11:20:32 +01:00
ab8c8e4e41 Add new required dependencies 2017-11-09 11:19:17 +01:00
d0ec7e26dc Add implementation for imag-contact
* Implement contact listing with formatting via commandline or config
* Implement importer functionality for contact
* Implement "show" subcommand
* imagrc.toml: Add explanation which fns are supported in templates
2017-11-09 11:19:17 +01:00
0540ae9392 Initial import of imag-contact 2017-11-09 11:15:04 +01:00
6efd0a9450
Merge pull request #1110 from matthiasbeyer/libimagcontact/init
Libimagcontact/init
2017-11-08 18:15:02 +01:00