Julio Biason
e372fd7d4a
Using log-derive and breaking things into smaller modules
3 years ago
Julio Biason
4d0044900d
Starting to retrieve favourites
3 years ago
Julio Biason
12592de153
Better way to crawl over this
3 years ago
Julio Biason
39267a461c
Exposing the markdown configuration to download to it
3 years ago
Julio Biason
2b262db8d9
Add Markdown storage
3 years ago
Julio Biason
7137ff20ad
Do the parsing for adding storage
3 years ago
Julio Biason
477d76e0d7
Fixed the args to have the storages directly, instead of args
3 years ago
Julio Biason
bd45d26601
Moved from dyn to full Enum
3 years ago
Julio Biason
e7fe007d8c
Fixed the account management commands
3 years ago
Julio Biason
8422f053ba
Switching to a Command pattern
3 years ago
Julio Biason
25c10f3ab2
Make the code compile again
3 years ago
Julio Biason
635234e6f4
Starting to remove the old stuff
3 years ago
Julio Biason
fdf274fb45
Refactored the command line interface
3 years ago
Julio Biason
137c014252
Starting with the storage configuration
3 years ago
Julio Biason
e9d781b155
Here's an idea: Move backends to their own modules
...
Instead of having a bunch of things in "storage", let's have a
"filesystem" module, with its configuration and backend; let's have a
"joplin" module, with its configuration and backend; and so on.
3 years ago
Julio Biason
294d790e5c
Moved configuration errors to errors.rs
3 years ago
Julio Biason
3eedfa8c4f
Basic multiple-account support
3 years ago
Julio Biason
5adc4f800b
Moving configuration to another file
...
Things were getting too messy in the original file, so better start
clean (and right) than trying to fix things.
3 years ago
Julio Biason
1351050bea
Starting to deal with account commands
3 years ago
Julio Biason
6a677f47a2
Command line to add and remove acccounts
3 years ago
Julio Biason
bdac2501e4
Added command line interface with clap
3 years ago
Julio Biason
7471a8d5bd
Some small layout fixes
4 years ago
Julio Biason
9e3e39b9be
Refactored for a more "fluent" style
4 years ago
Julio Biason
dab2e47cab
Clippy
4 years ago
Julio Biason
af782fa992
Rounded up the resulting layout
4 years ago
Julio Biason
94b1f64318
Properly name the attachments now
4 years ago
Julio Biason
765eced234
Also keep the attachemtns in the org
4 years ago
Julio Biason
5a93c3ba84
Processing HTML to Org now, looks pretty decent
4 years ago
Julio Biason
9af9b3cda3
Markdown (only) to the Markdown gods
4 years ago
Julio Biason
a1bf236a83
Properly recover from error opening file
...
At first I thought the `map_err` would be the right way to solve this,
but actually it didn't do what I expected.
4 years ago
Julio Biason
058f57aa7a
Storage as Org Files
4 years ago
Julio Biason
689f86d0f8
Removed dbg
4 years ago
Julio Biason
569f353efe
Use a single configuration file
4 years ago
Julio Biason
568bc460de
Rust-analyzer suggested `match` and it was nice
4 years ago
Julio Biason
6d52dd7c81
Fixed a problem with the API
4 years ago
Julio Biason
279432fbd4
Now with 100% more dynamic dispatching!
5 years ago
Julio Biason
a7a42bea49
License
5 years ago
Julio Biason
67249d7e5a
Removed double Markdown transformation
5 years ago
Julio Biason
3013ecdf6c
Not every resource can be displayed inline
5 years ago
Julio Biason
bad3e4fc12
Push updated to Joplin, if set up
5 years ago
Julio Biason
9dc05f0d4a
Inverted the dependency between data and storage
5 years ago
Julio Biason
2f7c4cde65
Validate if Joplin is set up and working
5 years ago
Julio Biason
e869ddf7ee
Generic'fied the storage, so we can make the Joplin storage work
5 years ago
Julio Biason
315b8163dc
rustfmt
5 years ago
Julio Biason
6cbe296135
Extended the configuration to accept Joplin configs
5 years ago
Julio Biason
3c0c4b20be
Removed log and used println! and dbg!
5 years ago
Julio Biason
5ead217122
Clippy!
6 years ago
Julio Biason
9bf6983e28
Store the more recent favourite and retrieve everything TILL this element
6 years ago
Julio Biason
a3f3b39123
if let is cuter
6 years ago
Julio Biason
2f52090839
Capture the most recent favourite while saving data
6 years ago