Commit Graph

646 Commits

Author SHA1 Message Date
bdc13cd6bf (feature): update cache on file rename (#124) 2020-02-20 08:32:54 +08:00
2522b9d2fa (bugfi): check for buffer file in post-command-hook (#128)
If you delete a org-roam buffer it can still trigger an update. Need to make
sure that their exists a file for the buffer before we proceed
2020-02-20 00:38:12 +08:00
edbe34a1d9 (chore): add autoload to org-roam-mode (#121)
With this change it is no longer required to load org-roam before use.
2020-02-19 14:50:36 +08:00
570467b34b (internal): increase performance of post-command-hook (#122)
file-truename can be an expensive function on a slow filesystem like NFS. I Removed a lot of the unneeded code and refactored to improve performance. In my testing it took the execution time from 13ms per call to 2µs; over a 1000x speedup. This is important since post-command-hook is called with every character you type.
2020-02-19 02:39:22 +08:00
e84ab1de9a (chore): Add GitHub templates (#117) 2020-02-18 13:43:13 +08:00
996923f9d9 (feature): add jump to point from org-roam buffer (#99) 2020-02-18 11:41:13 +08:00
4a5531cde3 (fix): fix typo (#113)
this addresses the minor typo noted in #112
2020-02-18 10:12:36 +08:00
2d206134fd (feature): insert link as downcased title with org-roam-insert (#110) 2020-02-17 23:15:27 +08:00
883eed0a5e (change): open file links in org-roam buffer in org-roam-last-window (#108)
Addresses #30 , thanks @l3kn
2020-02-17 21:46:48 +08:00
659babf922 (bugfix): force a cache update on making a new file (#107) 2020-02-17 19:02:46 +08:00
424de1f0cb (docs): update changelog (#106) 2020-02-17 16:01:46 +08:00
618b7f6124 (tests): add tests for org-roam-insert (#105) 2020-02-17 15:48:54 +08:00
ce305af319 (breaking): change org-roam-file-format to a function (#103)
This allows for more flexible naming of files. Now filename defaults
to yyyymmddhhmmss_title_here.org. Also, remove
`org-use-timestamp-as-filename`, and change it to
`org-roam-filename-noconfirm` to better describe what it is doing.s
2020-02-17 13:50:40 +08:00
58590a0e9d (bugfix): fix org-roam--find-file picking up temporary files (#98)
Fixes #96
2020-02-17 12:07:08 +08:00
9ae03532da (tests): test org-roam--build-cache-async (#92) 2020-02-16 20:31:09 +08:00
159b64b538 (feature): add support for file encryption by default (#90)
This is controlled by variable org-roam-encrypt-files
2020-02-16 18:31:51 +08:00
8ec3b441d1 (docs): document deft-title patching (#89) 2020-02-16 14:29:58 +08:00
f048a6b866 (bugfix): org-roam--org-roam-file-p: add a missed file-truename (#88) 2020-02-16 11:33:31 +08:00
9aba7ee094 (feature): support encrypted org files (#87)
Authored by @chip2n
2020-02-16 03:04:54 +08:00
ba91fc41a7 (bugfix): fix org-roam--parse-content incorrect :to computation (#86)
* fix org-roam--parse-content incorrect :to computation

org-roam--parse-content always computed the to-path relative to the
org-roam-directory, when it should be relative to the file-path in
question. Fixes #81.

* Add to changelog
2020-02-16 00:41:25 +08:00
5eb1a87123 Org-roam 0.1.1 (#83)
* Update README

* Add CONTRIBUTING

* Add CHANGELOG
v0.1.1
2020-02-15 15:30:33 +08:00
914bbe3b53 (docs): overhaul documentation (#76)
Updated for latest Org-roam, and add all relevant information into the new documentation site.
2020-02-15 14:49:11 +08:00
01130b49e1 Fix org-roam hooks not being attached on nested files (#82) 2020-02-15 11:36:10 +08:00
684ab67952 Insert org-roam-links relative to current file (#78)
Fixes #77
2020-02-14 23:14:38 +08:00
60eeb3985a Move org-roam sync/async utilities to org-roam-utils (#75)
This fixes #74 for some reason
2020-02-14 01:52:56 +08:00
a6cdc77980 deduplicate async/non-async functions (#72)
Signed-off-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-02-13 20:08:09 +08:00
9cd12a4f11 Add github test action (#73)
* Add github test action

* add mock tests
2020-02-13 16:41:27 +08:00
e00538f909 Fix org-roam-insert inserting absolute paths (#71)
Fixes #70
2020-02-13 16:04:41 +08:00
270995b2d4 Refactored functions to buffer-passing style (#69)
See https://nullprogram.com/blog/2014/05/27/
2020-02-13 15:55:21 +08:00
1cfd71f5a8 Fix several linting errors (#68)
Also add @alphapapa's makem scripts
2020-02-13 13:20:48 +08:00
ede33d7411 Fix org-roam--make-file to create files with extensions (#67) 2020-02-13 12:36:19 +08:00
7817116403 add more metadata into org-roam (#66)
In preparation for publishing to MELPA
2020-02-13 04:09:47 +08:00
efd2072070 Add documentation for configuration options (#65)
* document org-roam-directory

* rename org-roam-position, and document org-roam-buffer-position

* document org-roam-buffer

* document org-roam-buffer-width

* Document org-roam-graphviz-executable

* document org-roam-graph-viewer

* document org-roam-link-title-format
2020-02-13 03:14:34 +08:00
791c059200 Simplify org-roam-insert and org-roam-find-file (#62)
* Simplify org-roam-insert and org-roam-find-file

See #59.

* Add docs for org-roam automatic filenaming

* Update installation instructions
2020-02-13 00:25:45 +08:00
a2a448d7d2 Merge pull request #61 from jethrokuan/feat/timestamped-files
Add org-roam-timestamped-files option
v0.1.0
2020-02-12 22:37:02 +08:00
5c1d22352e Add org-roam-timestamped-files option 2020-02-12 22:18:03 +08:00
ddb1d10cff Merge pull request #60 from jethrokuan/feat/license
Add GPL License
2020-02-12 21:48:31 +08:00
f7d54d0448 Add GPL License 2020-02-12 21:47:57 +08:00
ceb88e1e82 Merge pull request #58 from jethrokuan/feat/title->id
add org-roam--title-to-id
2020-02-12 21:20:52 +08:00
c91bd7be92 add org-roam--title-to-id 2020-02-12 21:18:13 +08:00
3df3fd8e4d rtd customizations 2020-02-12 19:56:35 +08:00
42bfe14462 trim pymdownx extensions 2020-02-12 19:49:15 +08:00
b104bc7da3 fix broken mkdocs.yml 2020-02-12 19:41:22 +08:00
c278ac4350 add readthedocs.yml 2020-02-12 19:40:13 +08:00
3776f3a6b9 Add mkdocs plugins 2020-02-12 19:35:49 +08:00
2aca311cad Add documentation 2020-02-12 19:05:19 +08:00
5ee1cf198d Refactor into org-roam--make-file 2020-02-12 19:05:13 +08:00
654a0d4070 Add org-roam--populate-title
The title is now automatically populated by default. This behaviour is
customizable via org-roam-autopopulate-title. The title is either
provided during prompt, or inferred from the file name.
2020-02-12 19:05:04 +08:00
12cd3079a9 Add checks before updating cache with org-roam--update-cache 2020-02-12 19:04:57 +08:00
cdf344c189 Merge pull request #51 from jethrokuan/feat/cache-refactor
Refactoring the cache implementation
2020-02-11 16:22:56 +08:00