[tw5] TiddlyServer

2023-05-11 Thread Joan Forn


Hello everyone,

I am looking for some guidance regarding editing tiddlers on my iPhone. I 
would like to have a similar behavior as Notion, where any edited HTML is 
automatically synced across all devices and users who have access to the 
page.

Recently, I came across TiddlyServer, which seems promising, but there 
doesn't seem to be much documentation about it.

¿Any advise me on whether this is possible or any suggestions on how to 
achieve it?

Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8380089b-7c21-48ff-bf2e-68614718df6fn%40googlegroups.com.


[tw5] TiddlyServer updated to TiddlyWiki 5.2.1

2022-03-20 Thread Arlen Beiler
Hi everyone,
Sorry for the long silence.
I've updated TiddlyServer to point to TiddlyWiki 5.2.1 (using my production
builds of course). In the future I'll try to get these updated quicker. The
process is pretty streamlined for me at this point.
Enjoy
Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTOHr%2BOU_Z_wRTBBY8_o_Bhtin%3Dem-Bvx6GutqmLpXN7Q%40mail.gmail.com.


[tw5] Tiddlyserver Error

2021-07-27 Thread alan.s...@gmail.com
Hi all,

I just upgraded my Mint OS and, in the process installed new Node.JS and 
TiddlyServer applications (2.2.0-beta-4). The Tiddlers directory is 
unchanged and my configuration file is attached.

I get the following error message every few seconds:

Sync error while processing save of '$:/StoryList': Error: ENOENT: no such 
file or directory, open 
'/usr/local/lib/node_modules/tiddlyserver/datafolder/tiddlers/$__StoryList.tid

and, eventually, the Javascript heap runs out of memory.

Anyone have an idea what the problem might be?

Thanks,
Alan

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/92cb758a-c51a-47ad-8622-94e31718212en%40googlegroups.com.


[tw5] Tiddlyserver: How to remove file

2021-01-19 Thread vpl
Hi

I've installed tiddlyserver and became a fan of this component for 
accessing my different wikis & data/files folders through authentication 
and SSL

>From the Web interface I can create directory and upload files to my file 
data folder but could not find a way to remove a directory and files ?

Did I missed something in the configuration file ?

Thanks for your support and this great contribution !

Regards

Vpl

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20890b1f-c8e0-4506-be1b-1457768024aen%40googlegroups.com.


Re: [tw5] TiddlyServer and SSL

2020-09-05 Thread Arlen Beiler
Set the https property to a Javascript file which exports a function named
serverOptions. It is called for each listener instance started with one
argument and is expected to return the HTTPS options object for HTTPS
createServer

exports.serverOptions = function(address) { return { key: ..., cert: ... };
}


https://nodejs.org/dist/latest-v12.x/docs/api/https.html#https_https_createserver_options_requestlistener


On Fri, Sep 4, 2020 at 7:26 PM Calvino  wrote:

> Hi,
> Can anyone provide a document about how to bind Arlen's TiddlyServer with
> SSL cert files? I already have them for TiddlyWiki and it works okay ... I
> want to run TiddlyServer and use the same ones, but not sure how to
> reference them in the config file.
>
> If possible I'd rather do that then try to figure out an SSL reverse
> proxy, which I've run into a little trouble with on Windows.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/5c5a796a-0b67-4f27-b70a-6b028ff6d1e1n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTLTU7%2BsX%2BbuEanm9S3GTkNyLB_F8%3DCF7A5DbY4YA6cqw%40mail.gmail.com.


[tw5] TiddlyServer and SSL

2020-09-04 Thread Calvino
Hi,
Can anyone provide a document about how to bind Arlen's TiddlyServer with 
SSL cert files? I already have them for TiddlyWiki and it works okay ... I 
want to run TiddlyServer and use the same ones, but not sure how to 
reference them in the config file.

If possible I'd rather do that then try to figure out an SSL reverse proxy, 
which I've run into a little trouble with on Windows.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c5a796a-0b67-4f27-b70a-6b028ff6d1e1n%40googlegroups.com.


[tw5] Tiddlyserver portable install

2020-08-13 Thread Rob Jopling
Apologies if this has been covered in previous posts. I have tried to find 
the answers.

I am trying to create a portable install of Tiddlyserver that I can use on 
my Android tablet.

I have followed Arlen's instructions and have a created a portable install 
in a folder called Tiddlyserver on my Windows 10 pc. I have used the 
settings.json template that has been suggested and placed it in the 
Tiddlyserver folder. I have also created folders within the Tiddlyserver 
folder called  myfolder, workstuff, user and projects_group and have placed 
a test wiki in myfolder. After running the batch file I can access 
Tiddlyserver in Chrome at 127.0.0.1:8080 and I can see the folder tree. 
However, when I try to open any of the folders I get an HTTP ERROR 404.

Can anyone advise what I need to do to access the wiki? Have I put the wiki 
in the correct place?

Any suggesting about porting this to my Andoid tablet?

Many thanks in anticipation.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2575fc2-824b-41a0-8138-75cb382ca078n%40googlegroups.com.


[tw5] TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread oha...@gmail.com
Hi all,

I'm at the end of my rope here, trying to fix this. I am running an 
instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
proxy and SSL from Let's Encrypt. Some combination of all of these factors 
causes the Etag header to be missing on the responses, and my server cannot 
save because of it. Viewing the localhost works fine. 

I came across this old thread with similar issues 
https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
saw no answers in there.

Any help at all would be greatly appreciated. You can find my TiddlyServer 
setup in the original issue here 
https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is as 
follows:

server {
  server_name mydomain.com www.mydomain.com;

  error_log /var/log/nginx/mydomain.com.log;
  access_log /var/log/nginx/mydomain.com.access.log combined;

  location / {
proxy_pass http://192.168.0.109:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
  }

listen [::]:443 ssl ipv6only=on;
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # 
managed by Certbot
ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot



}server {
if ($host = mydomain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot

if ($host = www.mydomain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot


  listen 80;
  listen [::]:80;
  server_name mydomain.com www.mydomain.com;
return 404; # managed by Certbot
}

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2da5321f-4f22-4109-9bb5-9ed0cb1759b7n%40googlegroups.com.


Re: [tw5] TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Arlen Beiler
Yes. It is used for data folders and also the entire folder is served at
/assets/tiddlywiki/. None of the regular TiddlyServer stuff applies to it
(like permissions, file saving, loading data folders), it just serves the
requested file if it exists.

On Fri, Apr 24, 2020 at 4:59 PM Saq Imtiaz  wrote:

> Can I use my own copy of the TiddlyWiki code by setting this appropriately?
>
> "_datafoldertarget":"/path/to/tiddlywiki"
>
> Thanks,
> Saq
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/42faaabd-136e-4ff4-9919-25a6ab7864a0%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRiQBLVRSz4MCjL5EP9pk%3Drcyn_VUp_-50VcWC3uW9ATg%40mail.gmail.com.


[tw5] TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Saq Imtiaz
Can I use my own copy of the TiddlyWiki code by setting this appropriately?

"_datafoldertarget":"/path/to/tiddlywiki"

Thanks,
Saq 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/42faaabd-136e-4ff4-9919-25a6ab7864a0%40googlegroups.com.


[tw5] TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Arlen Beiler
Hello Everyone,

I've upgraded TiddlyServer to target 5.1.22.

@someguynamedmatt helped rearrange the build process, resulting in a clean
production build. So, I've now published TiddlyServer to npm and you can
install it by running

 npm install -g tiddlyserver

This will install it globally, which also puts it in your PATH, so you can
run it directly using

 tiddlyserver --config /path/to/settings.json

Windows should also work just fine. You can use the tilde (~) if your shell
supports it. I forgot to include tilde support for the config parameter (if
the shell passes it through). I'll add that in the future.

If you don't have npm installed or you want to do a portable install,
you'll find the archives listed at
https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
downloaded the tgz files from npm, and the zip files are the same archive
converted to a zip file.

I've separated out the tiddlywiki bundle into a separate npm package. If
you're familiar with that it's still the same idea. I will add more info to
the readme, but for now it's ready to use. It also includes the client-side
.js files for adding in an html page, which probably nobody uses yet. I'm
still working on the use cases and so forth for that, so that's just a
little teaser.

https://www.npmjs.com/package/tiddlywiki-production

As always, remember to create backups before upgrading.

Enjoy,
Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQ26P-vG44Bt_GJ-NsytudYM15JR5VTpD_n1TndmPR-7Q%40mail.gmail.com.


[tw5] TiddlyServer create directory security bug

2019-10-07 Thread Arlen Beiler
Hi Everyone,

I've fixed it in master and I'll publish a fix tomorrow, but I just
realized that the create directory function in the directory index page
does not check the folder name before creating it, which means that any
relative path will create a folder as long as it doesn't exist. So it's not
much of a security risk, because it will fail if the folder already exists,
but I thought I should mention it. I'm assuming no one has this feature
enabled for the public anyway, so it shouldn't be much of an issue.

Also, a week ago I discovered that I had not sufficiently checked the login
cookie suffix and an empty suffix would have slipped through, but as no one
has really been using this feature yet I don't think that would have
affected anyone. Just use at least 2.1.5 and you'll be fine. I'm glad I'm
catching bugs. Just thought I should let everyone know since these slipped
through.

Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQcyehhMffEu%3DbODva7UJH6MbmB4DgHqwX2n7Nd1%3Di6ww%40mail.gmail.com.


[tw5] TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-03 Thread Arlen Beiler
Hi everyone,

I've upgraded TiddlyServer to TW5.1.21.

This release also adds /assets/tiddlywiki which serves the tiddlywiki
folder the server is using to mount data folders. It's mainly for
convenience, but it has some really great use-cases such as loading plugins
as external javascript instead of in the HTML file, which of course get
cached across your entire site, not just for that page.

https://github.com/Arlen22/TiddlyServer/releases/tag/v2.1.5

Enjoy
Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdST_0tJSAb6YisMtv06S04pSYXfbNf-Kbyw75R%3DV_qyo3A%40mail.gmail.com.


[tw5] TiddlyServer 2.1.2 beta

2019-08-26 Thread Arlen Beiler
I've gotten another round of updates made to TiddlyServer.

The old tree format is back so an object works as a group and a string
works as a folder. If an object contains only folders or the more advanced
group element format which provides a key property for the group, you can
use an array instead of an object.

Here is a link to the current master, so you have a known good link when I
make updates. This one should be working a lot better than the last one
was. I've made so many changes to the code that it took me a while to get
all the bugs worked out. So this one should be a lot better but I don't
know if it is flawless yet or not. As always, feel free to open an issue on
Github if you run into any issues.

https://github.com/Arlen22/TiddlyServer/archive/693563c7844b75b17bdcfd9dfbb8a5af99589d22.zip

Let me know what your feedback is.
Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQgOP680GWfjKjLLSAVd0Gc%3DLC2jBOJnUJNESeKRarPpQ%40mail.gmail.com.