diff --git a/README.md b/README.md index 868c554..7fdf1ab 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,10 @@ pluxml_ynh A yunohost version of PluXml : http://www.pluxml.org once installed, go to the web path of pluxml and follow the instructions. + +TODO +===== + +-dodge the installation step by giving settings to pluxml (installation will be automatic) + +-set files permissions to 750 for the whole folder (cause after installation step, configuration folder is created with word readable permission, that folder contains login infos with hashed pass via sha1 oO) diff --git a/scripts/install b/scripts/install index 4c543bf..c7764f3 100644 --- a/scripts/install +++ b/scripts/install @@ -26,13 +26,15 @@ fi # Save app settings sudo yunohost app setting $app admin -v "$admin" sudo yunohost app setting $app is_public -v "$is_public" +sudo yunohost app setting $app domain -v "$domain" +sudo yunohost app setting $app path -v "$path" #create path for copying final_path=/var/www/$app sudo mkdir -p $final_path #copy files to final folder and set permissions -sudo cp -R ../src/* $final_path/ +sudo cp -R ../sources/* $final_path/ sudo chown www-data:www-data -R $final_path #configure nginx settings @@ -41,17 +43,21 @@ sudo sed -i "s@YNH_EXAMPLE_ALIAS@$final_path@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf #temporal set public acessible -sudo yunohost app setting $app skipped_uris -v "/" +sudo yunohost app setting $app unprotected_uris -v "/" #make request to install app -#token= -curl -k -X POST --data "default_lang=fr&timezone=Greenland&install=Installer&name=$admin&login=$admin&pwd=$password&pwd2=$password&token=$token" https://$domain/$path/install.php +#get the html page +curl -kL -o "install_page.html" https://$domain/$path/install.php >/dev/null 2>&1 +#get the token for form validation +token=$(cat "install_page.html" | grep "input" | grep "token" | tail -1 | cut -d' ' -f3 | cut -d'"' -f2) +#send http POST values +curl -k -X POST --data "default_lang=fr&timezone=Greenland&install=Installer&name=$admin&login=$admin&pwd=$password&pwd2=$password&token=$token" https://$domain/$path/install.php >/dev/null 2>&1 sudo chmod 750 -R $final_path # If app is private, remove url to SSOWat conf from skipped_uris if [ "$is_public" = "No" ]; then -sudo yunohost app setting wordpress skipped_uris -d +sudo yunohost app setting $app skipped_uris -d fi #adding admin to the allowed users diff --git a/scripts/upgrade b/scripts/upgrade new file mode 100644 index 0000000..ac204c1 --- /dev/null +++ b/scripts/upgrade @@ -0,0 +1,33 @@ +#! /bin/bash + +app=pluxml + +#retrieve arguments +domain=$(sudo yunohost app setting $app domain) +path=$(sudo yunohost app setting $app path) +admin=$(sudo yunohost app setting $app admin) +is_public=$(sudo yunohost app setting $app is_public) + + +# Remove trailing "/" for next commands +path=${path%/} + +# Copy source files +final_path=/var/www/$app +sudo mkdir -p $final_path +sudo cp -a ../sources/* $final_path + +#configure nginx settings +sudo sed -i "s@YNH_EXAMPLE_PATH@$path@g" ../conf/nginx.conf +sudo sed -i "s@YNH_EXAMPLE_ALIAS@$final_path@g" ../conf/nginx.conf +sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf + +# If app is public, add url to SSOWat conf as skipped_uris +if [ "$is_public" = "Yes" ]; +then +sudo yunohost app setting $app unprotected_uris -v "/" +fi + +# Restart services +sudo service nginx reload +sudo yunohost app ssowatconf \ No newline at end of file diff --git a/src/config.php b/sources/config.php similarity index 100% rename from src/config.php rename to sources/config.php diff --git a/src/core/.htaccess b/sources/core/.htaccess similarity index 100% rename from src/core/.htaccess rename to sources/core/.htaccess diff --git a/src/core/admin/article.php b/sources/core/admin/article.php similarity index 100% rename from src/core/admin/article.php rename to sources/core/admin/article.php diff --git a/src/core/admin/auth.php b/sources/core/admin/auth.php similarity index 100% rename from src/core/admin/auth.php rename to sources/core/admin/auth.php diff --git a/src/core/admin/categorie.php b/sources/core/admin/categorie.php similarity index 100% rename from src/core/admin/categorie.php rename to sources/core/admin/categorie.php diff --git a/src/core/admin/categories.php b/sources/core/admin/categories.php similarity index 100% rename from src/core/admin/categories.php rename to sources/core/admin/categories.php diff --git a/src/core/admin/comment.php b/sources/core/admin/comment.php similarity index 100% rename from src/core/admin/comment.php rename to sources/core/admin/comment.php diff --git a/src/core/admin/comment_new.php b/sources/core/admin/comment_new.php similarity index 100% rename from src/core/admin/comment_new.php rename to sources/core/admin/comment_new.php diff --git a/src/core/admin/comments.php b/sources/core/admin/comments.php similarity index 100% rename from src/core/admin/comments.php rename to sources/core/admin/comments.php diff --git a/src/core/admin/foot.php b/sources/core/admin/foot.php similarity index 100% rename from src/core/admin/foot.php rename to sources/core/admin/foot.php diff --git a/src/core/admin/index.php b/sources/core/admin/index.php similarity index 100% rename from src/core/admin/index.php rename to sources/core/admin/index.php diff --git a/src/core/admin/medias.php b/sources/core/admin/medias.php similarity index 100% rename from src/core/admin/medias.php rename to sources/core/admin/medias.php diff --git a/src/core/admin/parametres_affichage.php b/sources/core/admin/parametres_affichage.php similarity index 100% rename from src/core/admin/parametres_affichage.php rename to sources/core/admin/parametres_affichage.php diff --git a/src/core/admin/parametres_avances.php b/sources/core/admin/parametres_avances.php similarity index 100% rename from src/core/admin/parametres_avances.php rename to sources/core/admin/parametres_avances.php diff --git a/src/core/admin/parametres_base.php b/sources/core/admin/parametres_base.php similarity index 100% rename from src/core/admin/parametres_base.php rename to sources/core/admin/parametres_base.php diff --git a/src/core/admin/parametres_edittpl.php b/sources/core/admin/parametres_edittpl.php similarity index 100% rename from src/core/admin/parametres_edittpl.php rename to sources/core/admin/parametres_edittpl.php diff --git a/src/core/admin/parametres_infos.php b/sources/core/admin/parametres_infos.php similarity index 100% rename from src/core/admin/parametres_infos.php rename to sources/core/admin/parametres_infos.php diff --git a/src/core/admin/parametres_plugin.php b/sources/core/admin/parametres_plugin.php similarity index 100% rename from src/core/admin/parametres_plugin.php rename to sources/core/admin/parametres_plugin.php diff --git a/src/core/admin/parametres_plugincss.php b/sources/core/admin/parametres_plugincss.php similarity index 100% rename from src/core/admin/parametres_plugincss.php rename to sources/core/admin/parametres_plugincss.php diff --git a/src/core/admin/parametres_pluginhelp.php b/sources/core/admin/parametres_pluginhelp.php similarity index 100% rename from src/core/admin/parametres_pluginhelp.php rename to sources/core/admin/parametres_pluginhelp.php diff --git a/src/core/admin/parametres_plugins.php b/sources/core/admin/parametres_plugins.php similarity index 100% rename from src/core/admin/parametres_plugins.php rename to sources/core/admin/parametres_plugins.php diff --git a/src/core/admin/parametres_users.php b/sources/core/admin/parametres_users.php similarity index 100% rename from src/core/admin/parametres_users.php rename to sources/core/admin/parametres_users.php diff --git a/src/core/admin/plugin.php b/sources/core/admin/plugin.php similarity index 100% rename from src/core/admin/plugin.php rename to sources/core/admin/plugin.php diff --git a/src/core/admin/prepend.php b/sources/core/admin/prepend.php similarity index 100% rename from src/core/admin/prepend.php rename to sources/core/admin/prepend.php diff --git a/src/core/admin/profil.php b/sources/core/admin/profil.php similarity index 100% rename from src/core/admin/profil.php rename to sources/core/admin/profil.php diff --git a/src/core/admin/statique.php b/sources/core/admin/statique.php similarity index 100% rename from src/core/admin/statique.php rename to sources/core/admin/statique.php diff --git a/src/core/admin/statiques.php b/sources/core/admin/statiques.php similarity index 100% rename from src/core/admin/statiques.php rename to sources/core/admin/statiques.php diff --git a/src/core/admin/theme/auth.css b/sources/core/admin/theme/auth.css similarity index 100% rename from src/core/admin/theme/auth.css rename to sources/core/admin/theme/auth.css diff --git a/src/core/admin/theme/base.css b/sources/core/admin/theme/base.css similarity index 100% rename from src/core/admin/theme/base.css rename to sources/core/admin/theme/base.css diff --git a/src/core/admin/theme/images/date.png b/sources/core/admin/theme/images/date.png similarity index 100% rename from src/core/admin/theme/images/date.png rename to sources/core/admin/theme/images/date.png diff --git a/src/core/admin/theme/images/delete.gif b/sources/core/admin/theme/images/delete.gif similarity index 100% rename from src/core/admin/theme/images/delete.gif rename to sources/core/admin/theme/images/delete.gif diff --git a/src/core/admin/theme/images/feed-icon-14x14.png b/sources/core/admin/theme/images/feed-icon-14x14.png similarity index 100% rename from src/core/admin/theme/images/feed-icon-14x14.png rename to sources/core/admin/theme/images/feed-icon-14x14.png diff --git a/src/core/admin/theme/images/file.png b/sources/core/admin/theme/images/file.png similarity index 100% rename from src/core/admin/theme/images/file.png rename to sources/core/admin/theme/images/file.png diff --git a/src/core/admin/theme/images/help.gif b/sources/core/admin/theme/images/help.gif similarity index 100% rename from src/core/admin/theme/images/help.gif rename to sources/core/admin/theme/images/help.gif diff --git a/src/core/admin/theme/images/icon_plugin.png b/sources/core/admin/theme/images/icon_plugin.png similarity index 100% rename from src/core/admin/theme/images/icon_plugin.png rename to sources/core/admin/theme/images/icon_plugin.png diff --git a/src/core/admin/theme/images/index.html b/sources/core/admin/theme/images/index.html similarity index 100% rename from src/core/admin/theme/images/index.html rename to sources/core/admin/theme/images/index.html diff --git a/src/core/admin/theme/images/pluxml.gif b/sources/core/admin/theme/images/pluxml.gif similarity index 100% rename from src/core/admin/theme/images/pluxml.gif rename to sources/core/admin/theme/images/pluxml.gif diff --git a/src/core/admin/theme/images/pluxml.png b/sources/core/admin/theme/images/pluxml.png similarity index 100% rename from src/core/admin/theme/images/pluxml.png rename to sources/core/admin/theme/images/pluxml.png diff --git a/src/core/admin/theme/index.html b/sources/core/admin/theme/index.html similarity index 100% rename from src/core/admin/theme/index.html rename to sources/core/admin/theme/index.html diff --git a/src/core/admin/theme/reset.css b/sources/core/admin/theme/reset.css similarity index 100% rename from src/core/admin/theme/reset.css rename to sources/core/admin/theme/reset.css diff --git a/src/core/admin/theme/style.css b/sources/core/admin/theme/style.css similarity index 100% rename from src/core/admin/theme/style.css rename to sources/core/admin/theme/style.css diff --git a/src/core/admin/top.php b/sources/core/admin/top.php similarity index 100% rename from src/core/admin/top.php rename to sources/core/admin/top.php diff --git a/src/core/admin/user.php b/sources/core/admin/user.php similarity index 100% rename from src/core/admin/user.php rename to sources/core/admin/user.php diff --git a/src/core/index.html b/sources/core/index.html similarity index 100% rename from src/core/index.html rename to sources/core/index.html diff --git a/src/core/lang/de/admin.php b/sources/core/lang/de/admin.php similarity index 100% rename from src/core/lang/de/admin.php rename to sources/core/lang/de/admin.php diff --git a/src/core/lang/de/core.php b/sources/core/lang/de/core.php similarity index 100% rename from src/core/lang/de/core.php rename to sources/core/lang/de/core.php diff --git a/src/core/lang/de/install.php b/sources/core/lang/de/install.php similarity index 100% rename from src/core/lang/de/install.php rename to sources/core/lang/de/install.php diff --git a/src/core/lang/de/update.php b/sources/core/lang/de/update.php similarity index 100% rename from src/core/lang/de/update.php rename to sources/core/lang/de/update.php diff --git a/src/core/lang/en/admin.php b/sources/core/lang/en/admin.php similarity index 100% rename from src/core/lang/en/admin.php rename to sources/core/lang/en/admin.php diff --git a/src/core/lang/en/core.php b/sources/core/lang/en/core.php similarity index 100% rename from src/core/lang/en/core.php rename to sources/core/lang/en/core.php diff --git a/src/core/lang/en/install.php b/sources/core/lang/en/install.php similarity index 100% rename from src/core/lang/en/install.php rename to sources/core/lang/en/install.php diff --git a/src/core/lang/en/update.php b/sources/core/lang/en/update.php similarity index 100% rename from src/core/lang/en/update.php rename to sources/core/lang/en/update.php diff --git a/src/core/lang/es/admin.php b/sources/core/lang/es/admin.php similarity index 100% rename from src/core/lang/es/admin.php rename to sources/core/lang/es/admin.php diff --git a/src/core/lang/es/core.php b/sources/core/lang/es/core.php similarity index 100% rename from src/core/lang/es/core.php rename to sources/core/lang/es/core.php diff --git a/src/core/lang/es/install.php b/sources/core/lang/es/install.php similarity index 100% rename from src/core/lang/es/install.php rename to sources/core/lang/es/install.php diff --git a/src/core/lang/es/update.php b/sources/core/lang/es/update.php similarity index 100% rename from src/core/lang/es/update.php rename to sources/core/lang/es/update.php diff --git a/src/core/lang/fr/admin.php b/sources/core/lang/fr/admin.php similarity index 100% rename from src/core/lang/fr/admin.php rename to sources/core/lang/fr/admin.php diff --git a/src/core/lang/fr/core.php b/sources/core/lang/fr/core.php similarity index 100% rename from src/core/lang/fr/core.php rename to sources/core/lang/fr/core.php diff --git a/src/core/lang/fr/install.php b/sources/core/lang/fr/install.php similarity index 100% rename from src/core/lang/fr/install.php rename to sources/core/lang/fr/install.php diff --git a/src/core/lang/fr/update.php b/sources/core/lang/fr/update.php similarity index 100% rename from src/core/lang/fr/update.php rename to sources/core/lang/fr/update.php diff --git a/src/core/lang/index.html b/sources/core/lang/index.html similarity index 100% rename from src/core/lang/index.html rename to sources/core/lang/index.html diff --git a/src/core/lang/it/admin.php b/sources/core/lang/it/admin.php similarity index 100% rename from src/core/lang/it/admin.php rename to sources/core/lang/it/admin.php diff --git a/src/core/lang/it/core.php b/sources/core/lang/it/core.php similarity index 100% rename from src/core/lang/it/core.php rename to sources/core/lang/it/core.php diff --git a/src/core/lang/it/install.php b/sources/core/lang/it/install.php similarity index 100% rename from src/core/lang/it/install.php rename to sources/core/lang/it/install.php diff --git a/src/core/lang/it/update.php b/sources/core/lang/it/update.php similarity index 100% rename from src/core/lang/it/update.php rename to sources/core/lang/it/update.php diff --git a/src/core/lang/nl/admin.php b/sources/core/lang/nl/admin.php similarity index 100% rename from src/core/lang/nl/admin.php rename to sources/core/lang/nl/admin.php diff --git a/src/core/lang/nl/core.php b/sources/core/lang/nl/core.php similarity index 100% rename from src/core/lang/nl/core.php rename to sources/core/lang/nl/core.php diff --git a/src/core/lang/nl/install.php b/sources/core/lang/nl/install.php similarity index 100% rename from src/core/lang/nl/install.php rename to sources/core/lang/nl/install.php diff --git a/src/core/lang/nl/update.php b/sources/core/lang/nl/update.php similarity index 100% rename from src/core/lang/nl/update.php rename to sources/core/lang/nl/update.php diff --git a/src/core/lang/pl/admin.php b/sources/core/lang/pl/admin.php similarity index 100% rename from src/core/lang/pl/admin.php rename to sources/core/lang/pl/admin.php diff --git a/src/core/lang/pl/core.php b/sources/core/lang/pl/core.php similarity index 100% rename from src/core/lang/pl/core.php rename to sources/core/lang/pl/core.php diff --git a/src/core/lang/pl/install.php b/sources/core/lang/pl/install.php similarity index 100% rename from src/core/lang/pl/install.php rename to sources/core/lang/pl/install.php diff --git a/src/core/lang/pl/update.php b/sources/core/lang/pl/update.php similarity index 100% rename from src/core/lang/pl/update.php rename to sources/core/lang/pl/update.php diff --git a/src/core/lang/pt/admin.php b/sources/core/lang/pt/admin.php similarity index 100% rename from src/core/lang/pt/admin.php rename to sources/core/lang/pt/admin.php diff --git a/src/core/lang/pt/core.php b/sources/core/lang/pt/core.php similarity index 100% rename from src/core/lang/pt/core.php rename to sources/core/lang/pt/core.php diff --git a/src/core/lang/pt/install.php b/sources/core/lang/pt/install.php similarity index 100% rename from src/core/lang/pt/install.php rename to sources/core/lang/pt/install.php diff --git a/src/core/lang/pt/update.php b/sources/core/lang/pt/update.php similarity index 100% rename from src/core/lang/pt/update.php rename to sources/core/lang/pt/update.php diff --git a/src/core/lang/ro/admin.php b/sources/core/lang/ro/admin.php similarity index 100% rename from src/core/lang/ro/admin.php rename to sources/core/lang/ro/admin.php diff --git a/src/core/lang/ro/core.php b/sources/core/lang/ro/core.php similarity index 100% rename from src/core/lang/ro/core.php rename to sources/core/lang/ro/core.php diff --git a/src/core/lang/ro/install.php b/sources/core/lang/ro/install.php similarity index 100% rename from src/core/lang/ro/install.php rename to sources/core/lang/ro/install.php diff --git a/src/core/lang/ro/update.php b/sources/core/lang/ro/update.php similarity index 100% rename from src/core/lang/ro/update.php rename to sources/core/lang/ro/update.php diff --git a/src/core/lang/ru/admin.php b/sources/core/lang/ru/admin.php similarity index 100% rename from src/core/lang/ru/admin.php rename to sources/core/lang/ru/admin.php diff --git a/src/core/lang/ru/core.php b/sources/core/lang/ru/core.php similarity index 100% rename from src/core/lang/ru/core.php rename to sources/core/lang/ru/core.php diff --git a/src/core/lang/ru/install.php b/sources/core/lang/ru/install.php similarity index 100% rename from src/core/lang/ru/install.php rename to sources/core/lang/ru/install.php diff --git a/src/core/lang/ru/update.php b/sources/core/lang/ru/update.php similarity index 100% rename from src/core/lang/ru/update.php rename to sources/core/lang/ru/update.php diff --git a/src/core/lib/class.plx.admin.php b/sources/core/lib/class.plx.admin.php similarity index 100% rename from src/core/lib/class.plx.admin.php rename to sources/core/lib/class.plx.admin.php diff --git a/src/core/lib/class.plx.capcha.php b/sources/core/lib/class.plx.capcha.php similarity index 100% rename from src/core/lib/class.plx.capcha.php rename to sources/core/lib/class.plx.capcha.php diff --git a/src/core/lib/class.plx.date.php b/sources/core/lib/class.plx.date.php similarity index 100% rename from src/core/lib/class.plx.date.php rename to sources/core/lib/class.plx.date.php diff --git a/src/core/lib/class.plx.encrypt.php b/sources/core/lib/class.plx.encrypt.php similarity index 100% rename from src/core/lib/class.plx.encrypt.php rename to sources/core/lib/class.plx.encrypt.php diff --git a/src/core/lib/class.plx.erreur.php b/sources/core/lib/class.plx.erreur.php similarity index 100% rename from src/core/lib/class.plx.erreur.php rename to sources/core/lib/class.plx.erreur.php diff --git a/src/core/lib/class.plx.feed.php b/sources/core/lib/class.plx.feed.php similarity index 100% rename from src/core/lib/class.plx.feed.php rename to sources/core/lib/class.plx.feed.php diff --git a/src/core/lib/class.plx.glob.php b/sources/core/lib/class.plx.glob.php similarity index 100% rename from src/core/lib/class.plx.glob.php rename to sources/core/lib/class.plx.glob.php diff --git a/src/core/lib/class.plx.medias.php b/sources/core/lib/class.plx.medias.php similarity index 100% rename from src/core/lib/class.plx.medias.php rename to sources/core/lib/class.plx.medias.php diff --git a/src/core/lib/class.plx.motor.php b/sources/core/lib/class.plx.motor.php similarity index 100% rename from src/core/lib/class.plx.motor.php rename to sources/core/lib/class.plx.motor.php diff --git a/src/core/lib/class.plx.msg.php b/sources/core/lib/class.plx.msg.php similarity index 100% rename from src/core/lib/class.plx.msg.php rename to sources/core/lib/class.plx.msg.php diff --git a/src/core/lib/class.plx.plugins.php b/sources/core/lib/class.plx.plugins.php similarity index 100% rename from src/core/lib/class.plx.plugins.php rename to sources/core/lib/class.plx.plugins.php diff --git a/src/core/lib/class.plx.record.php b/sources/core/lib/class.plx.record.php similarity index 100% rename from src/core/lib/class.plx.record.php rename to sources/core/lib/class.plx.record.php diff --git a/src/core/lib/class.plx.show.php b/sources/core/lib/class.plx.show.php similarity index 100% rename from src/core/lib/class.plx.show.php rename to sources/core/lib/class.plx.show.php diff --git a/src/core/lib/class.plx.timezones.php b/sources/core/lib/class.plx.timezones.php similarity index 100% rename from src/core/lib/class.plx.timezones.php rename to sources/core/lib/class.plx.timezones.php diff --git a/src/core/lib/class.plx.token.php b/sources/core/lib/class.plx.token.php similarity index 100% rename from src/core/lib/class.plx.token.php rename to sources/core/lib/class.plx.token.php diff --git a/src/core/lib/class.plx.utils.php b/sources/core/lib/class.plx.utils.php similarity index 100% rename from src/core/lib/class.plx.utils.php rename to sources/core/lib/class.plx.utils.php diff --git a/src/core/lib/config.php b/sources/core/lib/config.php similarity index 100% rename from src/core/lib/config.php rename to sources/core/lib/config.php diff --git a/src/core/lib/functions.js b/sources/core/lib/functions.js similarity index 100% rename from src/core/lib/functions.js rename to sources/core/lib/functions.js diff --git a/src/core/lib/html.article.txt b/sources/core/lib/html.article.txt similarity index 100% rename from src/core/lib/html.article.txt rename to sources/core/lib/html.article.txt diff --git a/src/core/lib/html.static.txt b/sources/core/lib/html.static.txt similarity index 100% rename from src/core/lib/html.static.txt rename to sources/core/lib/html.static.txt diff --git a/src/core/lib/index.html b/sources/core/lib/index.html similarity index 100% rename from src/core/lib/index.html rename to sources/core/lib/index.html diff --git a/src/core/lib/multifiles.js b/sources/core/lib/multifiles.js similarity index 100% rename from src/core/lib/multifiles.js rename to sources/core/lib/multifiles.js diff --git a/src/core/lib/visual.js b/sources/core/lib/visual.js similarity index 100% rename from src/core/lib/visual.js rename to sources/core/lib/visual.js diff --git a/src/data/.htaccess b/sources/data/.htaccess similarity index 100% rename from src/data/.htaccess rename to sources/data/.htaccess diff --git a/src/data/articles/.htaccess b/sources/data/articles/.htaccess similarity index 100% rename from src/data/articles/.htaccess rename to sources/data/articles/.htaccess diff --git a/src/data/commentaires/.htaccess b/sources/data/commentaires/.htaccess similarity index 100% rename from src/data/commentaires/.htaccess rename to sources/data/commentaires/.htaccess diff --git a/src/data/configuration/.htaccess b/sources/data/configuration/.htaccess similarity index 100% rename from src/data/configuration/.htaccess rename to sources/data/configuration/.htaccess diff --git a/src/data/configuration/index.html b/sources/data/configuration/index.html similarity index 100% rename from src/data/configuration/index.html rename to sources/data/configuration/index.html diff --git a/src/data/index.html b/sources/data/index.html similarity index 100% rename from src/data/index.html rename to sources/data/index.html diff --git a/src/data/statiques/.htaccess b/sources/data/statiques/.htaccess similarity index 100% rename from src/data/statiques/.htaccess rename to sources/data/statiques/.htaccess diff --git a/src/feed.php b/sources/feed.php similarity index 100% rename from src/feed.php rename to sources/feed.php diff --git a/src/index.php b/sources/index.php similarity index 100% rename from src/index.php rename to sources/index.php diff --git a/src/install.php b/sources/install.php similarity index 100% rename from src/install.php rename to sources/install.php diff --git a/src/plugins/.htaccess b/sources/plugins/.htaccess similarity index 100% rename from src/plugins/.htaccess rename to sources/plugins/.htaccess diff --git a/src/plugins/index.html b/sources/plugins/index.html similarity index 100% rename from src/plugins/index.html rename to sources/plugins/index.html diff --git a/src/sitemap.php b/sources/sitemap.php similarity index 100% rename from src/sitemap.php rename to sources/sitemap.php diff --git a/src/themes/.htaccess b/sources/themes/.htaccess similarity index 100% rename from src/themes/.htaccess rename to sources/themes/.htaccess diff --git a/src/themes/defaut/archives.php b/sources/themes/defaut/archives.php similarity index 100% rename from src/themes/defaut/archives.php rename to sources/themes/defaut/archives.php diff --git a/src/themes/defaut/article-full-width.php b/sources/themes/defaut/article-full-width.php similarity index 100% rename from src/themes/defaut/article-full-width.php rename to sources/themes/defaut/article-full-width.php diff --git a/src/themes/defaut/article.php b/sources/themes/defaut/article.php similarity index 100% rename from src/themes/defaut/article.php rename to sources/themes/defaut/article.php diff --git a/src/themes/defaut/categorie.php b/sources/themes/defaut/categorie.php similarity index 100% rename from src/themes/defaut/categorie.php rename to sources/themes/defaut/categorie.php diff --git a/src/themes/defaut/commentaires.php b/sources/themes/defaut/commentaires.php similarity index 100% rename from src/themes/defaut/commentaires.php rename to sources/themes/defaut/commentaires.php diff --git a/src/themes/defaut/css/reset.css b/sources/themes/defaut/css/reset.css similarity index 100% rename from src/themes/defaut/css/reset.css rename to sources/themes/defaut/css/reset.css diff --git a/src/themes/defaut/css/style.css b/sources/themes/defaut/css/style.css similarity index 100% rename from src/themes/defaut/css/style.css rename to sources/themes/defaut/css/style.css diff --git a/src/themes/defaut/erreur.php b/sources/themes/defaut/erreur.php similarity index 100% rename from src/themes/defaut/erreur.php rename to sources/themes/defaut/erreur.php diff --git a/src/themes/defaut/footer.php b/sources/themes/defaut/footer.php similarity index 100% rename from src/themes/defaut/footer.php rename to sources/themes/defaut/footer.php diff --git a/src/themes/defaut/header.php b/sources/themes/defaut/header.php similarity index 100% rename from src/themes/defaut/header.php rename to sources/themes/defaut/header.php diff --git a/src/themes/defaut/home.php b/sources/themes/defaut/home.php similarity index 100% rename from src/themes/defaut/home.php rename to sources/themes/defaut/home.php diff --git a/src/themes/defaut/img/favicon.png b/sources/themes/defaut/img/favicon.png similarity index 100% rename from src/themes/defaut/img/favicon.png rename to sources/themes/defaut/img/favicon.png diff --git a/src/themes/defaut/img/index.html b/sources/themes/defaut/img/index.html similarity index 100% rename from src/themes/defaut/img/index.html rename to sources/themes/defaut/img/index.html diff --git a/src/themes/defaut/img/rss.png b/sources/themes/defaut/img/rss.png similarity index 100% rename from src/themes/defaut/img/rss.png rename to sources/themes/defaut/img/rss.png diff --git a/src/themes/defaut/img/user.png b/sources/themes/defaut/img/user.png similarity index 100% rename from src/themes/defaut/img/user.png rename to sources/themes/defaut/img/user.png diff --git a/src/themes/defaut/index.html b/sources/themes/defaut/index.html similarity index 100% rename from src/themes/defaut/index.html rename to sources/themes/defaut/index.html diff --git a/src/themes/defaut/js/html5ie.js b/sources/themes/defaut/js/html5ie.js similarity index 100% rename from src/themes/defaut/js/html5ie.js rename to sources/themes/defaut/js/html5ie.js diff --git a/src/themes/defaut/js/index.html b/sources/themes/defaut/js/index.html similarity index 100% rename from src/themes/defaut/js/index.html rename to sources/themes/defaut/js/index.html diff --git a/src/themes/defaut/js/respond.min.js b/sources/themes/defaut/js/respond.min.js similarity index 100% rename from src/themes/defaut/js/respond.min.js rename to sources/themes/defaut/js/respond.min.js diff --git a/src/themes/defaut/lang/de.php b/sources/themes/defaut/lang/de.php similarity index 100% rename from src/themes/defaut/lang/de.php rename to sources/themes/defaut/lang/de.php diff --git a/src/themes/defaut/lang/en.php b/sources/themes/defaut/lang/en.php similarity index 100% rename from src/themes/defaut/lang/en.php rename to sources/themes/defaut/lang/en.php diff --git a/src/themes/defaut/lang/es.php b/sources/themes/defaut/lang/es.php similarity index 100% rename from src/themes/defaut/lang/es.php rename to sources/themes/defaut/lang/es.php diff --git a/src/themes/defaut/lang/fr.php b/sources/themes/defaut/lang/fr.php similarity index 100% rename from src/themes/defaut/lang/fr.php rename to sources/themes/defaut/lang/fr.php diff --git a/src/themes/defaut/lang/index.html b/sources/themes/defaut/lang/index.html similarity index 100% rename from src/themes/defaut/lang/index.html rename to sources/themes/defaut/lang/index.html diff --git a/src/themes/defaut/lang/it.php b/sources/themes/defaut/lang/it.php similarity index 100% rename from src/themes/defaut/lang/it.php rename to sources/themes/defaut/lang/it.php diff --git a/src/themes/defaut/lang/nl.php b/sources/themes/defaut/lang/nl.php similarity index 100% rename from src/themes/defaut/lang/nl.php rename to sources/themes/defaut/lang/nl.php diff --git a/src/themes/defaut/lang/pl.php b/sources/themes/defaut/lang/pl.php similarity index 100% rename from src/themes/defaut/lang/pl.php rename to sources/themes/defaut/lang/pl.php diff --git a/src/themes/defaut/lang/pt.php b/sources/themes/defaut/lang/pt.php similarity index 100% rename from src/themes/defaut/lang/pt.php rename to sources/themes/defaut/lang/pt.php diff --git a/src/themes/defaut/lang/ro.php b/sources/themes/defaut/lang/ro.php similarity index 100% rename from src/themes/defaut/lang/ro.php rename to sources/themes/defaut/lang/ro.php diff --git a/src/themes/defaut/lang/ru.php b/sources/themes/defaut/lang/ru.php similarity index 100% rename from src/themes/defaut/lang/ru.php rename to sources/themes/defaut/lang/ru.php diff --git a/src/themes/defaut/sidebar.php b/sources/themes/defaut/sidebar.php similarity index 100% rename from src/themes/defaut/sidebar.php rename to sources/themes/defaut/sidebar.php diff --git a/src/themes/defaut/static-full-width.php b/sources/themes/defaut/static-full-width.php similarity index 100% rename from src/themes/defaut/static-full-width.php rename to sources/themes/defaut/static-full-width.php diff --git a/src/themes/defaut/static.php b/sources/themes/defaut/static.php similarity index 100% rename from src/themes/defaut/static.php rename to sources/themes/defaut/static.php diff --git a/src/themes/defaut/tags.php b/sources/themes/defaut/tags.php similarity index 100% rename from src/themes/defaut/tags.php rename to sources/themes/defaut/tags.php diff --git a/src/themes/index.html b/sources/themes/index.html similarity index 100% rename from src/themes/index.html rename to sources/themes/index.html diff --git a/src/update/class.plx.updater.php b/sources/update/class.plx.updater.php similarity index 100% rename from src/update/class.plx.updater.php rename to sources/update/class.plx.updater.php diff --git a/src/update/index.html b/sources/update/index.html similarity index 100% rename from src/update/index.html rename to sources/update/index.html diff --git a/src/update/index.php b/sources/update/index.php similarity index 100% rename from src/update/index.php rename to sources/update/index.php diff --git a/src/update/update_4.2.php b/sources/update/update_4.2.php similarity index 100% rename from src/update/update_4.2.php rename to sources/update/update_4.2.php diff --git a/src/update/update_5.0.php b/sources/update/update_5.0.php similarity index 100% rename from src/update/update_5.0.php rename to sources/update/update_5.0.php diff --git a/src/update/update_5.1.1.php b/sources/update/update_5.1.1.php similarity index 100% rename from src/update/update_5.1.1.php rename to sources/update/update_5.1.1.php diff --git a/src/update/update_5.1.3.php b/sources/update/update_5.1.3.php similarity index 100% rename from src/update/update_5.1.3.php rename to sources/update/update_5.1.3.php diff --git a/src/update/update_5.1.4.php b/sources/update/update_5.1.4.php similarity index 100% rename from src/update/update_5.1.4.php rename to sources/update/update_5.1.4.php diff --git a/src/update/update_5.1.6.php b/sources/update/update_5.1.6.php similarity index 100% rename from src/update/update_5.1.6.php rename to sources/update/update_5.1.6.php diff --git a/src/update/update_5.1.7.php b/sources/update/update_5.1.7.php similarity index 100% rename from src/update/update_5.1.7.php rename to sources/update/update_5.1.7.php diff --git a/src/update/update_5.1.php b/sources/update/update_5.1.php similarity index 100% rename from src/update/update_5.1.php rename to sources/update/update_5.1.php diff --git a/src/update/update_5.2.php b/sources/update/update_5.2.php similarity index 100% rename from src/update/update_5.2.php rename to sources/update/update_5.2.php diff --git a/src/update/versions.php b/sources/update/versions.php similarity index 100% rename from src/update/versions.php rename to sources/update/versions.php diff --git a/src/version b/sources/version similarity index 100% rename from src/version rename to sources/version