Fix plugin to run on current versions of Obsidian.#3
Fix plugin to run on current versions of Obsidian.#3jcfergus wants to merge 7 commits intomarkdown-confluence:mainfrom
Conversation
…ackages and build to the latest versions.
# Conflicts: # src/ConfluencePerPageForm.tsx
|
What needs to be done to get this merged/fixed? Just got obsidian to work with confluence and found the plugin is busted. |
|
It appears the project is abandoned, last commit over a year ago. |
|
Considering this project seems to be abandoned, could you @jcfergus post basic instructions on how to install this manually? |
|
You can install with BRAT with : https://github.com/lucasiscovici/obsidian-integration/ |
Thanks for this! Just for clarity for any future folks unfamiliar with BRAT as I was, you want to add it with a frozen version not just as a beta plugin: |
|
I had to install-then-uninstall-then-install-again in order to get it to work, but it works now. Thanks!! |
I saw the same, but it seems to mean there are no pages to publish. The plugin always only publishes pages inside a specific folder ("Confluence Pages" by default, configured in the plugin settings). By changing that folder to an existing folder, the plugin worked for me to sync pages. It seems "sync everything" is not a direct option, but I hacked that by putting everything in a single folder and syncing that (which ran into "Cannot read properties of undefined (reading 'type')", but that seems to be markdown-confluence/markdown-confluence#424) |
And even MORE clarity with the updated version of BRAT, you seemingly can only load this plugin with this (maybe latest version works but I didn't try):
NOTE: You must not have a forward slash at the end of obsidian-integration. Another tip: if you are using Atlassian Cloud you need to set your base URL in the plugin settings to https://your-domain.atlassian.net NOT https://your-domain.atlassian.net/wiki (the symptom will be 404 error in this case). |



This updates the dependencies and code to use the latest Obisdian sample plugin as a base, to solve these errors preventing the plugin from being enabled on recent versions of Obsidian.
i.e. markdown-confluence/markdown-confluence#651
I have tested it successfully on Obsidian 1.7.4, I don't know about other versions. There are no actual code changes in src/ConfluencePerPageForm.tsx, beyond adding some explicit
anytypes in a few spots to get eslint/tsc to not complain about them - my IDE "fixed" a few indents. I can revert those indentation changes if needed.