Commit Graph

284 Commits

Author SHA1 Message Date
Mickaël Menu
16e7b55d41
Reorganize Template into their own package 2021-01-03 18:33:52 +01:00
Mickaël Menu
378834c495
Add language, file extension and default title in user config 2021-01-03 18:03:18 +01:00
Mickaël Menu
8467f1aa3a
Refactor transaction usage 2021-01-03 17:39:04 +01:00
Mickaël Menu
4ca1595f1f
Refactor file diff and indexation 2021-01-03 17:09:10 +01:00
Mickaël Menu
0573852529
Index notes content 2021-01-03 14:43:27 +01:00
Mickaël Menu
b4f2c841eb
Move Diff to zk package and add Dir walking 2021-01-03 12:28:06 +01:00
Mickaël Menu
75d1a143e7
Add note files diffing 2021-01-02 22:43:40 +01:00
Mickaël Menu
6831823e5d
Edit newly created notes 2021-01-02 18:09:10 +01:00
Mickaël Menu
4dad3a2309
Add the initial DB schema 2021-01-02 12:29:21 +01:00
Mickaël Menu
c89ff1e58a
Add the ./go shell script 2021-01-02 12:08:58 +01:00
Mickaël Menu
f2025b3a60
Refactor and test note creation 2021-01-01 18:24:15 +01:00
Mickaël Menu
e3f95cd1e1
Support for config overrides 2020-12-31 16:21:14 +01:00
Mickaël Menu
4d0c0ccdda
Refactor user config 2020-12-31 13:59:16 +01:00
Mickaël Menu
6a4a4c77e6
Move ID model to core 2020-12-29 18:13:46 +01:00
Mickaël Menu
9b7d5eca1e
Refactor templates 2020-12-29 17:22:19 +01:00
Mickaël Menu
fdf6718317
Refactor note creation 2020-12-29 16:07:12 +01:00
Mickaël Menu
8bb9f83eef
Create a new note 2020-12-28 16:04:10 +01:00
Mickaël Menu
ca0d95f242
Return an absolute template path from Zk.Template() 2020-12-28 16:00:38 +01:00
Mickaël Menu
3d871d2de3
Add default {{date}} argument 2020-12-28 15:59:52 +01:00
Mickaël Menu
abe0094dda
Refactor config getters into Zk 2020-12-28 14:33:45 +01:00
Mickaël Menu
43a0a3ca7a
Show a success message with zk init 2020-12-28 13:16:11 +01:00
Mickaël Menu
7c2e76a01c
Add the dependency container 2020-12-28 13:15:56 +01:00
Mickaël Menu
24fa3409d0
Cache string templates 2020-12-28 13:15:19 +01:00
Mickaël Menu
be4b58c979
Add zk.Dir struct 2020-12-28 13:15:07 +01:00
Mickaël Menu
768939f3fe
Add the {{sh}} template helper 2020-12-27 19:07:57 +01:00
Mickaël Menu
1490bb5ecb
Add the {{date}} template helper 2020-12-27 18:09:45 +01:00
Mickaël Menu
6dfa9b6949
Add the {{slug}} template helper 2020-12-26 20:10:39 +01:00
Mickaël Menu
76ac1d1bb1
Add a handlebars template renderer 2020-12-26 16:53:04 +01:00
Mickaël Menu
3bfc0754c7
Generate random IDs 2020-12-26 15:14:31 +01:00
Mickaël Menu
8b8a66f2f2
Parse config values 2020-12-26 14:49:20 +01:00
Mickaël Menu
c4a5648238
Parse zk config 2020-12-25 20:25:52 +01:00
Mickaël Menu
9f4d2ac81b
Refactor init command and add errors util 2020-12-25 12:14:01 +01:00
Mickaël Menu
bdda74362f
Add init command 2020-12-24 16:02:19 +01:00
Mickaël Menu
5e31368e37
Initial commit 2020-12-23 16:07:53 +01:00