summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-01-13chore: update dependency versionsLars Wirzenius1-1/+1
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
2023-07-22feat: allow any number of topics for a postLars Wirzenius3-7/+9
Sponsored-by: author
2023-04-21fix: tera creationLars Wirzenius1-1/+5
Sponsored-by: author
2023-04-14chore: drop unnecessary borrowLars Wirzenius1-1/+1
Sponsored-by: author
2022-11-14chore: drop unnecessary borrows, noticed by clippyLars Wirzenius3-3/+3
Sponsored-by: author
2022-04-25chore: port from structopt to clap v3Lars Wirzenius3-25/+25
Sponsored-by: author
2022-04-20fix: init to use all its membersLars Wirzenius1-0/+5
Sponsored-by: author
2021-09-23fix: if a topic path contains missing directories, create themLars Wirzenius2-0/+15
Sponsored-by: author
2021-09-15fix: allow topic pages to contain dotsLars Wirzenius1-3/+1
Previously, a topic of lars.wirzenius would be stored in lars.mdwn, which is wrong. Now it's stored in lars.wirzenius.mdwn. Sponsored-by: author
2021-08-24chore: fix unnecessary &foo to fooLars Wirzenius1-3/+3
Thank you, clippy. Sponsored-by: author
2021-08-24feat! rename binary from jt2 to jtLars Wirzenius2-3/+3
The software has now replaced all my use of the old Python version. Sponsored-by: author
2021-07-20feat: add command to remove a draftLars Wirzenius5-0/+29
Sponsored-by: author
2021-07-15feat: add command to list current draftsLars Wirzenius5-0/+53
Sponsored-by: author
2021-06-06chore: drop unnecessary closurecleanupsLars Wirzenius1-1/+1
Sponsored-by: author
2021-05-23chore: fix clippy warnings, use new Subplot binary nameLars Wirzenius4-14/+12
2021-05-22Merge branch 'defaults' into 'main'Daniel Silverstone1-2/+1
docs: remove from templates mention they're the default ones Closes #15 See merge request larswirzenius/jt!16
2021-05-19docs: remove from templates mention they're the default onesLars Wirzenius1-2/+1
2021-04-29feat: make a journal a git repository and commit new entriesLars Wirzenius4-0/+105
2021-04-22refactor: explicitly print error in main, don't return ResultLars Wirzenius1-1/+11
2021-04-21refactor: move subcommand implementations into src/cmd.rsLars Wirzenius4-90/+126
The command line interface definition (for structopt) and implementation are now both in src/cmd.rs. This seems tidier than having them split between src/opt.rs and src/bin/jt2.rs.
2021-04-12feat: add "new-topic" command and "new --topic" optionLars Wirzenius5-8/+82
This makes it easier to have "topic pages" in a journal, for collecting entries related to a certain topic. The topic page uses ikiwiki's !inline directive to collect pages linking to it.
2021-04-08feat: add a timestamp to the default templateLars Wirzenius2-1/+9
2021-04-08feat! add support for tera templates for new journal entriesLars Wirzenius4-3/+69
There is a hardcoded default template, plus one can be overridden per journal by adding a .config/templates/new_entry file in the journal.
2021-04-05refactor: use Result<_, JournalError> instead of anyhow::ResultLars Wirzenius2-8/+22
2021-04-03feat: allow setting name of directory where new entries goLars Wirzenius4-38/+75
Also, some refactoring that happened along the way.
2021-04-03feat: launch editor for new draftLars Wirzenius2-7/+29
2021-04-03fix: read config.yaml in default config dir, not the dir itselfLars Wirzenius1-1/+1
2021-04-02feat! support multiple draftsLars Wirzenius5-37/+156
This changes the command line syntax: subcommands edit and finish now require the draft id. We can change this later so that if there is only one draft, the program picks that one automatically. Also, new entries are 0.md, 1.md, etc, which is not going to be acceptable for real use, but this works minimally.
2021-03-26feat! rewrite codeLars Wirzenius6-128/+292
This started out as a change to re-do the command line parsing. I ended up rewriting everything, and failed to do it in a way that could be rebased into a sensible series of small commits.
2020-11-16feat: add "jt edit" to edit a draft with a chosen editorLars Wirzenius1-0/+26
Also, add some debugging log statements that were needed while making this change.
2020-10-20feat: create new draft, publish itLars Wirzenius1-0/+47
2020-09-12Apply 1 suggestion(s) to 1 file(s)Lars Wirzenius1-1/+1
2020-09-05feat: create and initialise a new journalLars Wirzenius2-0/+55
At the moment this only creates a new directory, but most of the change is scaffolding so that more interesting changes can be built on top of this later.