mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
change private public policy
This commit is contained in:
parent
64be974a0c
commit
1338d12eeb
2 changed files with 7 additions and 6 deletions
|
@ -13,6 +13,9 @@ Current Movim version : 20150820.
|
|||
- Added to language selection : ar, de, es, it, ja, nl, ru
|
||||
- Fix URL in manifest.json (was https://https://...)
|
||||
- Modified mysql password generation (no special car)
|
||||
- Public/Private policy changed. The SSO portal is not used anymore
|
||||
But when a pod is marked as "private", only accounts with @yourdomain.com are able to connect.
|
||||
This change was necessary for public content (blog)
|
||||
|
||||
0.7b 2015-08-20
|
||||
- Update to upstream Movim 20150820 to fix #5
|
||||
|
|
|
@ -76,6 +76,10 @@ sudo su -c "cd $final_path && php mud.php config environment:production" movim
|
|||
sudo su -c "cd $final_path && php mud.php config timezone:`cat /etc/timezone`" movim
|
||||
sudo su -c "cd $final_path && php mud.php config username:$admin" movim
|
||||
sudo su -c "cd $final_path && php mud.php config password:`echo -n $password | sha1sum | awk '{print $1}'`" movim
|
||||
if [ $public_site = "No" ];
|
||||
then
|
||||
sudo su -c "cd $final_path && php mud.php config xmppwhitelist:$domain" movim
|
||||
fi
|
||||
sudo yunohost app addaccess movim -u $admin
|
||||
|
||||
# Copy init script or systemd service
|
||||
|
@ -103,12 +107,6 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/movim.conf
|
|||
|
||||
# SSOwat Configuration
|
||||
sudo yunohost app setting movim skipped_uris -v "/"
|
||||
if [ $public_site = "No" ];
|
||||
then
|
||||
sudo yunohost app setting movim protected_uris -v "/"
|
||||
else
|
||||
sudo yunohost app setting movim protected_uris -v "/?q=admin"
|
||||
fi
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
# Start Movim
|
||||
|
|
Loading…
Reference in a new issue