[tw] Re: Restrict master saving

2016-07-27 Thread RichardWilliamSmith
Just hide the save button somewhere noone will look - somewhere in the 
menus or in a hidden tiddler they have to know the name of - yoiu can bury 
a link to it somewhere that just renders as a single 'period', for example 
- those who don't know it's there will never even notice it.

Someone who knows how Tiddlywiki works will always be able to save it.

RR

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8a528c9d-6ce4-4f53-a902-77337164b0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Restrict master saving

2016-07-27 Thread Matthew Lauber
If you can use the nodejs version, I've got a nginx config that can proxy 
the site and use auth_basic to limit write requests while allowing read 
requests.

location /wiki/ {
limit_except GET HEAD {
auth_basic 'Restricted';
auth_basic_user_file /etc/nginx/auth/tiddlywiki;
}
proxy_pass   http://127.0.0.1:/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For 
 $proxy_add_x_forwarded_for; 
}


This basically shows up as a standard browser username/password popup.  But 
it only works with the nodejs version, and doesn't hide the save button, 
just 403's the save requests.




On Wednesday, July 27, 2016 at 8:12:40 AM UTC-4, PMario wrote:
>
> Hi Jesper,
>
> If you activate the "ReadOnly" theme. ... RightSidebar: Tools: theme 
> button: select "ReadOnly" ... you get a slightly modified UI. ...
> The save button is also there. Just 4 buttons down. 
>
> That's not optimal but simple to achieve without any modifications.  
> But be aware, that the tiddler menue: more dropdown   still contains a 
> delete button, which works and probably causes an "autosave" ...
>
> So all in all ... as you found out... suboptimal :/
>
> There have been some discussions 
>  
> in the group, but imo there is no generic solution, which keeps a simple 
> editors UI and possibilities, but prevents the user from accidentally 
> changing something. .. At least I don't know it :)
>
> -m
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc468f94-b650-4159-9b80-ff47a15de54d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Restrict master saving

2016-07-27 Thread PMario
Hi Jesper,

If you activate the "ReadOnly" theme. ... RightSidebar: Tools: theme 
button: select "ReadOnly" ... you get a slightly modified UI. ...
The save button is also there. Just 4 buttons down. 

That's not optimal but simple to achieve without any modifications.  
But be aware, that the tiddler menue: more dropdown   still contains a 
delete button, which works and probably causes an "autosave" ...

So all in all ... as you found out... suboptimal :/

There have been some discussions 
 
in the group, but imo there is no generic solution, which keeps a simple 
editors UI and possibilities, but prevents the user from accidentally 
changing something. .. At least I don't know it :)

-m

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1beb45cc-26fc-46e4-85c3-f029f8e4f70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.