Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem with Username for signing edits #57

Open
Xabrina opened this issue Apr 25, 2018 · 5 comments
Open

Problem with Username for signing edits #57

Xabrina opened this issue Apr 25, 2018 · 5 comments

Comments

@Xabrina
Copy link

Xabrina commented Apr 25, 2018

Hello everyone.
Every time I open a Noteseft session I have to put the Username for signing edits back into the configuration.
Is there any way I can keep it permanently ???

Thanks in advance.

@danielo515
Copy link
Contributor

Hello @Xabrina ,

I guess you are using some kind of synchronization to a remote database, and the username of the database is being used as username, is that correct ? If that is the case there is no solution at the moment. If not, I don't see why you need to change the username every time, it should be saved without problem.

@Xabrina
Copy link
Author

Xabrina commented Apr 28, 2018

Hello danielo515!
I am simply using Noteself in local mode, in the browser.
Every time I enter Noreself and create a note this does not reflect any name as creator of it, I have to go to configuration to put it to appear in the new tiddlers.
And thank you very much for this modification of the program you have made!

@danielo515
Copy link
Contributor

Hello @Xabrina now I understand what do you mean.
That is by design, and it is how TW, not just NoteSelf handles certain tiddlers.

If you click on the label where you change the user name you will notice that your user is actually stored at $:/status/UserName. TiddlyWiki does not sync tiddlers starting with status to the server. However this behavior is configurable.

  1. Search for the shadow tiddler $:/config/SyncFilter
  2. add [title[$:/status/UserName]] at the end
  3. save and reload

If that does not work maybe I'm missing something that I can not remember at the moment.

Regards

@danielo515
Copy link
Contributor

As a workaround, if that does not work you can edit your user name, click on the save button and get a NoteSelf version with your username hardcoded on the html

@danielo515
Copy link
Contributor

Hello @Xabrina ,
I just published a new version that fixes this problem, well sort of. Now the userName is being stored to the database. The sync filter can now be configured also, but that was not of your interest 😄

However there is still a problem, for some reason tiddlywiki deletes the username on startup, so the actual result is that you can persist the username but it gets deleted immediately after booting up.
I already opened a PulRequest to fix this problem one year ago:

TiddlyWiki/TiddlyWiki5#2893

but still pending.
I'm sorry about this

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants