bourgeoa / tiddlywiki-node-solid-server

Tiddlywiki SyncAdaptorModules for node-solid-server
MIT License
14 stars 3 forks source link

Solid widget hard codes the solid.community popup, which is now down #7

Closed almereyda closed 3 years ago

almereyda commented 3 years ago

The login form tries to open solid.community, which has recently shut down, even when entering a pod on the new home of its data, like https://yala.solidcommunity.net.

bourgeoa commented 3 years ago

Sorry for the delay everything as been upgraded to v1.0.0 :

All tiddlers are saved as .ttl files in your pod. If you were using an old version saving tiddlers as .json, you shall be proposed a migration with a backup

almereyda commented 3 years ago

Thanks a lot! This is not a great delay, given the ecosystem effect such an upstream change has.

After creating the tiddlers folder manually, TiddlyWiki could connect to my pod, but then throws:

Cannot access https://yala.solidcommunity.net/public/tiddlers/main SFCFetchError: SFCFetchError 403 https://yala.solidcommunity.net/public/tiddlers/ - Make sure that the origin of your app is authorized for your pod

in a modal.

almereyda commented 3 years ago

Then when dismissing that dialogue, typing in a title and trying nevertheless, it throws

Error saved tiddler : SFCFetchError: SFCFetchError 404 https://yala.solidcommunity.net/public/tiddlers/main/ - The requested resource could not be found

Is there some kind of bootstrap process involved that breaks here, which produces the requested and missing LDP containers, before the app actually uses them?

almereyda commented 3 years ago

When saving GettingStarted with my details, it throws a red modal that reads

Internal JavaScript Error Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser TypeError: path is undefined

bourgeoa commented 3 years ago

After creating the tiddlers folder manually, TiddlyWiki could connect to my pod, but then throws:

Cannot access https://yala.solidcommunity.net/public/tiddlers/main SFCFetchError: SFCFetchError 403 https://yala.solidcommunity.net/public/tiddlers/ - Make sure that the origin of your app is authorized for your pod

in a modal.

This means that the app is not authorized by your pod. You need to add the app origin to your pod in trusted apps If you are using https://bourgeoa.solidcommunity.net/public/tiddlywiki/ then :

Hope the explanations are enough.

Error saved tiddler : SFCFetchError: SFCFetchError 404 https://yala.solidcommunity.net/public/tiddlers/main/ - The requested resource could not be found

The message is not the good one. This is just saying that you and/or the app are not allowed to write. See above

When saving GettingStarted with my details, it throws a red modal that reads

Internal JavaScript Error Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser TypeError: path is undefined

I did not test it. Anyway if you change the parameters it is for the app and you do not have write authorization on my pod.

If you want your own copy of the tiddlywiki app, it can be done with solid-ide, the process is something like :

If you try, tell me if you succeed or have problems.

almereyda commented 3 years ago

Thank you @bourgeoa , unfortunately I am not able to find this trusted apps section in my pod, my profile card or in the Solid documentation. It appears this functionality does not exist. Which surprises me, since this application makes the assumption this is being cared for before being run. Or would that mean that is an administration setting, and I need to run my own pod to add a trusted app?

Then it seems strange the app tries to write to your pod, while it's authenticated against mine and has the tiddlers folder present.


Update: https://github.com/linonetwo/solid-tiddlywiki-syncadaptor#if-you-can-not-access-private-resources brought me into the right direction, and now my pod also shows the title bar which was hidden for some reason before. There is a User Avatar menu that has the preferences, and in there are preferences where the trusted apps can be configured.

almereyda commented 3 years ago

As solidcommunity.net has been implemented for the popup, this issue can be closed.

I will try everything else later, to see how all that works out in the end.

bourgeoa commented 3 years ago

My box broke and I am waiting for a replacement I shall come back to you