summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-08-24fix: changed org-roam version checkThomas F. K. Jorna
2021-08-20fix: follow mode breaks on org-capture #74Thomas F. K. Jorna
2021-08-20fix: remove service worker. Possibly fixes #61Thomas F. K. Jorna
2021-08-19fix: #73 Remove empty :hook from install suggestionsThomas F. K. Jorna
2021-08-18reverted README deletionThomas F. K. Jorna
2021-08-18Delete README.mdThomas F. K. Jorna
2021-08-17Extract org-roam-ui-open command from minor mode (#69)...* Extract org-roam-ui-open command from minor mode The new command allows reopening the web UI without toggling the whole mode off and on again. Eliminates hardcoded port in URL string, using org-roam-ui-port variable instead. IMHO a better distribution of responsibilities: - org-roam-ui-open opens the web UI (and that may require enabling the minor mode) - org-roam-ui-mode makes web service and websocket available * misc: change function prefix to orui Co-authored-by: Thomas F. K. Jorna <[email protected]>Damien Pollet
2021-08-16fix: #67, correctly skip non-node headlinesThomas F. K. Jorna
2021-08-16Delete feature_request.mdThomas F. K. Jorna
2021-08-16Update issue templatesThomas F. K. Jorna
2021-08-16Fix: reword feature request sectionThomas F. K. Jorna
2021-08-16feat: link children to parent heading #62 #53 #49Thomas F. K. Jorna
2021-08-16feat: support all citationsThomas F. K. Jorna
2021-08-16fix: local mode yielded error sometimesThomas F. K. Jorna
2021-08-16chore: build and mergeThomas F. K. Jorna
2021-08-16fix:#65 include citet and citep keywordsThomas F. K. Jorna
2021-08-10Fix: #58Thomas F. K. Jorna
2021-08-09Lighter name should be prefixed by space (#54)...Convention appears to be that the name is prefixed by a space, not suffixed.Bram Schoenmakers
2021-08-09fix: #56 org-preformat-keywords not containing keywordsThomas F. K. Jorna
2021-08-09fix: mostly pass checkdocThomas F. K. Jorna
2021-08-09chore: updated emacs version dep to 27.1Thomas F. K. Jorna
2021-08-09chore: update build filesKirill Rogovoy
2021-08-09fix: broken lock files + double clickKirill Rogovoy
2021-08-09doc: README manual installation (#51)...- Add installing `simple-httpd` I had an error loading org-roam-ui (on Emacs 27.2 vanilla) - Remove `(require 'webisocket) Redundant; it's required at the top of org-roam-ui) I confirm that this works on my end -- Emacs 27.2 vanilla on Windows. Thank you.Noboru Ota
2021-08-09chore: solve merge conflictsThomas F. K. Jorna
2021-08-08chore: buildThomas F. K. Jorna
2021-08-08feat: much smoother local modeThomas F. K. Jorna
2021-08-08refactor: housekeepingKirill Rogovoy
2021-08-08chore: build fixThomas F. K. Jorna
2021-08-08fix: #39 and similar issuesThomas F. K. Jorna
2021-08-07chore: buildThomas F. K. Jorna
2021-08-07fix: correct label background text and .el cleanupThomas F. K. Jorna
2021-08-07feat: configurable label size and lengthThomas F. K. Jorna
2021-08-07chore: remove test filesThomas F. K. Jorna
2021-08-07fix: no bare boundp in ifletThomas F. K. Jorna
2021-08-06chore: mergeThomas F. K. Jorna
2021-08-06fix: set orb-keywords if not thereThomas F. K. Jorna
2021-08-06Allow for user customization of citation node titles. (#40)...* Allow user styling of citation nodes via templates. This change updates the way that the title field is created for a citation node without an underlying node. Instead of manually calling `orb-bib-entry-get-value-function` and building the title via concatenation, it uses `orb--pre-xpand-template` to create a title. The template used can be customized with the `org-roam-ui-ref-title-template` variable. * Add the ability to retitle reference notes with bibliography information. This change adds the ability to update the title of notes that have a `:ROAM_REFS:` property and an associated bibtex entry. The new title will be created by `orb--pre-expand-template` and the `org-roam-ui-ref-title-template`, just like citation nodes that don't have associated nodes. This also requires that `org-ref` be loaded, otherwise it falls back to the original title. I put this behind another customizable variable in case it gets slow or a user wants to title reference nodes with the title they actually have in the node. Currently the handing of citation links throughout `org-roam` and `org-roam-bibtex` is rather scatter and seems rather brittle. At version points, different code processes the `:ROAM_REF:` filed differently, and it seems mostly because the fact that the default citation format `cite:%s` is so simple is why it works. For example, when inserting a ref into the database, org-roam uses the `org-link-plain-re` regex to normalize the reference. This results in the `cite:` being removed. When processing a link, it depends on the fact that `org` itself has split the link to `:type` and `:path`. The `:path` (without the `cite:`) is then inserted. In `org-roam-bibtex` they use `org-ref-cite-re` to remove the `cite:`, turning it into a key that is in the bibliography. In the PR, I followed the `org-roam-bibtex` method, parsing the `:ROAM_REFS:` property directly. We could also update the db node query to do a left outer join on the refs table. We then would have a new `refs` field on the node (we wouldn't need to send this over the wire) that is already formatted the way the database (and `org-roam-bibtex`) expect it to be. Then we wouldn't need to worry about our parsing getting out of sync with the other libraries. We would end up having to deal with multiple rows for the same node if it has multiple `refs`. I can look into a solution like this is we want. Another small thing to note, is that `:ROAM_REFS` doesn't have to specifically be a citation key for a bibliography. The examples have things like linking to google.com and then that is a reference where links to google can send you to your google note. In the UI we just check if `:ROAM_REFS:` is a there or not to making something a citation. Eventually we may want to actually include the `type` field from the `refs` table and make our decision based on that instead.Brian Lester
2021-08-05Merge branch 'main' into mainBrian Lester
2021-08-06feature: custom browserThomas F. K. Jorna
2021-08-06feature: warning when people are not using proper org-roamThomas F. K. Jorna
2021-08-06features!: context menu, better ui, and smoother updatesThomas F. K. Jorna
2021-08-05feature: added slider for node scaleThomas F. K. Jorna
2021-08-05fix: update notes smoothlyThomas F. K. Jorna
2021-08-05fix: typecast nodeThomas F. K. Jorna
2021-08-05feature: context menu and slightly less jumpy graphThomas F. K. Jorna
2021-08-04Add the ability to retitle reference notes with bibliography...information. This change adds the ability to update the title of notes that have a `:ROAM_REFS:` property and an associated bibtex entry. The new title will be created by `orb--pre-expand-template` and the `org-roam-ui-ref-title-template`, just like citation nodes that don't have associated nodes. This also requires that `org-ref` be loaded, otherwise it falls back to the original title. I put this behind another customizable variable in case it gets slow or a user wants to title reference nodes with the title they actually have in the node. Currently the handing of citation links throughout `org-roam` and `org-roam-bibtex` is rather scatter and seems rather brittle. At version points, different code processes the `:ROAM_REF:` filed differently, and it seems mostly because the fact that the default citation format `cite:%s` is so simple is why it works. For example, when inserting a ref into the database, org-roam uses the `org-link-plain-re` regex to normalize the reference. This results in the `cite:` being removed. When processing a link, it depends on the fact that `org` itself has split the link to `:type` and `:path`. The `:path` (without the `cite:`) is then inserted. In `org-roam-bibtex` they use `org-ref-cite-re` to remove the `cite:`, turning it into a key that is in the bibliography. In the PR, I followed the `org-roam-bibtex` method, parsing the `:ROAM_REFS:` property directly. We could also update the db node query to do a left outer join on the refs table. We then would have a new `refs` field on the node (we wouldn't need to send this over the wire) that is already formatted the way the database (and `org-roam-bibtex`) expect it to be. Then we wouldn't need to worry about our parsing getting out of sync with the other libraries. We would end up having to deal with multiple rows for the same node if it has multiple `refs`. I can look into a solution like this is we want. Another small thing to note, is that `:ROAM_REFS` doesn't have to specifically be a citation key for a bibliography. The examples have things like linking to google.com and then that is a reference where links to google can send you to your google note. In the UI we just check if `:ROAM_REFS:` is a there or not to making something a citation. Eventually we may want to actually include the `type` field from the `refs` table and make our decision based on that instead. Brian Lester
2021-08-04Allow user styling of citation nodes via templates....This change updates the way that the title field is created for a citation node without an underlying node. Instead of manually calling `orb-bib-entry-get-value-function` and building the title via concatenation, it uses `orb--pre-xpand-template` to create a title. The template used can be customized with the `org-roam-ui-ref-title-template` variable. Brian Lester
2021-08-04FIX: fix prettier fucking up the ci yamlThomas F. K. Jorna
2021-08-04fix: fixed the ci yaml endThomas F. K. Jorna