Rename all the templates (Ajaxplorer -> Pydio)

tags/0.2.0
Daniel Berteaud 11 years ago
parent 2fc152b87d
commit 9b4c520180
  1. 64
      createlinks
  2. 0
      root/etc/e-smith/db/configuration/defaults/pydio/DbName
  3. 0
      root/etc/e-smith/db/configuration/defaults/pydio/DbUser
  4. 0
      root/etc/e-smith/db/configuration/defaults/pydio/access
  5. 0
      root/etc/e-smith/db/configuration/defaults/pydio/status
  6. 0
      root/etc/e-smith/db/configuration/defaults/pydio/type
  7. 4
      root/etc/e-smith/db/configuration/migrate/pydio-database
  8. 0
      root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/pydio
  9. 0
      root/etc/e-smith/templates.metadata/var/lib/pydio/plugins/auth.serial/__user__/rights.ser
  10. 0
      root/etc/e-smith/templates.metadata/var/lib/pydio/plugins/auth.serial/roles.ser
  11. 0
      root/etc/e-smith/templates.metadata/var/lib/pydio/plugins/auth.serial/users.ser
  12. 0
      root/etc/e-smith/templates.metadata/var/lib/pydio/plugins/boot.conf/bootstrap.json
  13. 0
      root/etc/e-smith/templates.metadata/var/lib/pydio/plugins/conf.serial/plugins_configs.ser
  14. 0
      root/etc/e-smith/templates/etc/e-smith/sql/init/pydio
  15. 0
      root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/001exec
  16. 0
      root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo
  17. 0
      root/etc/e-smith/templates/var/cache/pydio/admin_counted/true
  18. 0
      root/etc/e-smith/templates/var/cache/pydio/first_run_passed/true
  19. 0
      root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All
  20. 0
      root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/users.ser/10All
  21. 0
      root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All
  22. 0
      root/etc/e-smith/templates/var/lib/pydio/plugins/conf.serial/plugins_configs.ser/10All

@ -2,38 +2,38 @@
use esmith::Build::CreateLinks qw(:all);
templates2events("/etc/ajaxplorer/bootstrap_plugins.php", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/ajaxplorer/diag_result.php", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/ajaxplorer/first_run_passed", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/ajaxplorer/admin_counted", qw(webapps-update bootstrap-console-save));
templates2events("/etc/e-smith/sql/init/ajaxplorer", qw(webapps-update bootstrap-console-save));
templates2events("/etc/ajaxplorer/bootstrap_repositories.php", qw(webapps-update bootstrap-console-save share-create share-delete share-modify share-modify-servers));
templates2events("/var/lib/ajaxplorer/plugins/auth.serial/roles.ser", qw(webapps-update bootstrap-console-save share-create share-delete share-modify share-modify-servers));
templates2events("/var/lib/ajaxplorer/plugins/auth.serial/users.ser", qw(webapps-update bootstrap-console-save user-create user-delete));
templates2events("/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser", qw(webapps-update bootstrap-console-save));
templates2events("/var/lib/ajaxplorer/plugins/boot.conf/bootstrap.json", qw(webapps-update bootstrap-console-save));
templates2events("/etc/pydio/bootstrap_plugins.php", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/pydio/diag_result.php", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/pydio/first_run_passed", qw(webapps-update bootstrap-console-save));
templates2events("/var/cache/pydio/admin_counted", qw(webapps-update bootstrap-console-save));
templates2events("/etc/e-smith/sql/init/pydio", qw(webapps-update bootstrap-console-save));
templates2events("/etc/pydio/bootstrap_repositories.php", qw(webapps-update bootstrap-console-save share-create share-delete share-modify share-modify-servers));
templates2events("/var/lib/pydio/plugins/auth.serial/roles.ser", qw(webapps-update bootstrap-console-save share-create share-delete share-modify share-modify-servers));
templates2events("/var/lib/pydio/plugins/auth.serial/users.ser", qw(webapps-update bootstrap-console-save user-create user-delete));
templates2events("/var/lib/pydio/plugins/conf.serial/plugins_configs.ser", qw(webapps-update bootstrap-console-save));
templates2events("/var/lib/pydio/plugins/boot.conf/bootstrap.json", qw(webapps-update bootstrap-console-save));
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_plugins.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_plugins.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-end");
safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/template-begin");
safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/pydio/bootstrap_plugins.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/pydio/bootstrap_plugins.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/cache/pydio/diag_result.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/cache/pydio/diag_result.php/template-end");
safe_touch("root/etc/e-smith/templates/var/cache/pydio/first_run_passed/template-begin");
safe_touch("root/etc/e-smith/templates/var/cache/pydio/admin_counted/template-begin");
event_link("ajaxplorer-user-rights", "webapps-update", "85");
event_link("ajaxplorer-user-rights", "share-create", "85");
event_link("ajaxplorer-user-rights", "share-delete", "85");
event_link("ajaxplorer-user-rights", "share-modify", "85");
event_link("ajaxplorer-user-rights", "share-modify-servers", "85");
event_link("ajaxplorer-user-rights", "user-delete", "85");
event_link("ajaxplorer-user-rights", "group-create", "85");
event_link("ajaxplorer-user-rights", "group-modify", "85");
event_link("ajaxplorer-user-rights", "group-delete", "85");
event_link("ajaxplorer-user-rights", "user-modify-admin", "85");
event_link("pydio-user-rights", "webapps-update", "85");
event_link("pydio-user-rights", "share-create", "85");
event_link("pydio-user-rights", "share-delete", "85");
event_link("pydio-user-rights", "share-modify", "85");
event_link("pydio-user-rights", "share-modify-servers", "85");
event_link("pydio-user-rights", "user-delete", "85");
event_link("pydio-user-rights", "group-create", "85");
event_link("pydio-user-rights", "group-modify", "85");
event_link("pydio-user-rights", "group-delete", "85");
event_link("pydio-user-rights", "user-modify-admin", "85");
safe_touch("root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/roles.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/users.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/boot.conf/bootstrap.json/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/users.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/pydio/plugins/conf.serial/plugins_configs.ser/template-begin");
safe_touch("root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/template-begin");

@ -1,6 +1,6 @@
{
my $rec = $DB->get('ajaxplorer')
|| $DB->new_record('ajaxplorer', {type => 'webapp'});
my $rec = $DB->get('pydio')
|| $DB->new_record('pydio', {type => 'webapp'});
my $pw = $rec->prop('DbPassword');
if (not $pw or length($pw) < 57){
use MIME::Base64 qw(encode_base64);
Loading…
Cancel
Save