Blame view

sources/settings/routes.php 4.79 KB
03e52840d   Kload   Init
1
2
3
4
5
6
7
  <?php
  /**
   * Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
   * This file is licensed under the Affero General Public License version 3 or
   * later.
   * See the COPYING-README file.
   */
6d9380f96   Cédric Dupont   Update sources OC...
8
  /** @var $this OCP\Route\IRouter */
03e52840d   Kload   Init
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  // Settings pages
  $this->create('settings_help', '/settings/help')
  	->actionInclude('settings/help.php');
  $this->create('settings_personal', '/settings/personal')
  	->actionInclude('settings/personal.php');
  $this->create('settings_settings', '/settings')
  	->actionInclude('settings/settings.php');
  $this->create('settings_users', '/settings/users')
  	->actionInclude('settings/users.php');
  $this->create('settings_apps', '/settings/apps')
  	->actionInclude('settings/apps.php');
  $this->create('settings_admin', '/settings/admin')
  	->actionInclude('settings/admin.php');
  // Settings ajax actions
  // users
  $this->create('settings_ajax_userlist', '/settings/ajax/userlist')
  	->actionInclude('settings/ajax/userlist.php');
6d9380f96   Cédric Dupont   Update sources OC...
26
27
  $this->create('settings_ajax_grouplist', '/settings/ajax/grouplist')
  	->actionInclude('settings/ajax/grouplist.php');
03e52840d   Kload   Init
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  $this->create('settings_ajax_createuser', '/settings/ajax/createuser.php')
  	->actionInclude('settings/ajax/createuser.php');
  $this->create('settings_ajax_removeuser', '/settings/ajax/removeuser.php')
  	->actionInclude('settings/ajax/removeuser.php');
  $this->create('settings_ajax_setquota', '/settings/ajax/setquota.php')
  	->actionInclude('settings/ajax/setquota.php');
  $this->create('settings_ajax_creategroup', '/settings/ajax/creategroup.php')
  	->actionInclude('settings/ajax/creategroup.php');
  $this->create('settings_ajax_togglegroups', '/settings/ajax/togglegroups.php')
  	->actionInclude('settings/ajax/togglegroups.php');
  $this->create('settings_ajax_togglesubadmins', '/settings/ajax/togglesubadmins.php')
  	->actionInclude('settings/ajax/togglesubadmins.php');
  $this->create('settings_ajax_removegroup', '/settings/ajax/removegroup.php')
  	->actionInclude('settings/ajax/removegroup.php');
31b7f2792   Kload   Upgrade to ownclo...
42
43
44
  $this->create('settings_users_changepassword', '/settings/users/changepassword')
  	->post()
  	->action('OC\Settings\ChangePassword\Controller', 'changeUserPassword');
03e52840d   Kload   Init
45
46
  $this->create('settings_ajax_changedisplayname', '/settings/ajax/changedisplayname.php')
  	->actionInclude('settings/ajax/changedisplayname.php');
6d9380f96   Cédric Dupont   Update sources OC...
47
48
  $this->create('settings_ajax_changegorupname', '/settings/ajax/changegroupname.php')
  	->actionInclude('settings/ajax/changegroupname.php');	
31b7f2792   Kload   Upgrade to ownclo...
49
50
51
52
  // personal
  $this->create('settings_personal_changepassword', '/settings/personal/changepassword')
  	->post()
  	->action('OC\Settings\ChangePassword\Controller', 'changePersonalPassword');
03e52840d   Kload   Init
53
54
55
56
  $this->create('settings_ajax_lostpassword', '/settings/ajax/lostpassword.php')
  	->actionInclude('settings/ajax/lostpassword.php');
  $this->create('settings_ajax_setlanguage', '/settings/ajax/setlanguage.php')
  	->actionInclude('settings/ajax/setlanguage.php');
31b7f2792   Kload   Upgrade to ownclo...
57
58
  $this->create('settings_ajax_decryptall', '/settings/ajax/decryptall.php')
  	->actionInclude('settings/ajax/decryptall.php');
6d9380f96   Cédric Dupont   Update sources OC...
59
60
61
62
  $this->create('settings_ajax_restorekeys', '/settings/ajax/restorekeys.php')
  	->actionInclude('settings/ajax/restorekeys.php');
  $this->create('settings_ajax_deletekeys', '/settings/ajax/deletekeys.php')
  	->actionInclude('settings/ajax/deletekeys.php');
03e52840d   Kload   Init
63
64
65
66
67
68
69
70
71
  // apps
  $this->create('settings_ajax_apps_ocs', '/settings/ajax/apps/ocs.php')
  	->actionInclude('settings/ajax/apps/ocs.php');
  $this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php')
  	->actionInclude('settings/ajax/enableapp.php');
  $this->create('settings_ajax_disableapp', '/settings/ajax/disableapp.php')
  	->actionInclude('settings/ajax/disableapp.php');
  $this->create('settings_ajax_updateapp', '/settings/ajax/updateapp.php')
  	->actionInclude('settings/ajax/updateapp.php');
6d9380f96   Cédric Dupont   Update sources OC...
72
73
  $this->create('settings_ajax_uninstallapp', '/settings/ajax/uninstallapp.php')
  	->actionInclude('settings/ajax/uninstallapp.php');
03e52840d   Kload   Init
74
75
76
77
78
79
80
81
82
  $this->create('settings_ajax_navigationdetect', '/settings/ajax/navigationdetect.php')
  	->actionInclude('settings/ajax/navigationdetect.php');
  $this->create('apps_custom', '/settings/js/apps-custom.js')
  	->actionInclude('settings/js/apps-custom.php');
  // admin
  $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php')
  	->actionInclude('settings/ajax/getlog.php');
  $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
  	->actionInclude('settings/ajax/setloglevel.php');
6d9380f96   Cédric Dupont   Update sources OC...
83
84
85
86
87
88
  $this->create('settings_mail_settings', '/settings/admin/mailsettings')
  	->post()
  	->action('OC\Settings\Admin\Controller', 'setMailSettings');
  $this->create('settings_admin_mail_test', '/settings/admin/mailtest')
  	->post()
  	->action('OC\Settings\Admin\Controller', 'sendTestMail');
03e52840d   Kload   Init
89
90
  $this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php')
  	->actionInclude('settings/ajax/setsecurity.php');
6d9380f96   Cédric Dupont   Update sources OC...
91
92
  $this->create('settings_ajax_excludegroups', '/settings/ajax/excludegroups.php')
  	->actionInclude('settings/ajax/excludegroups.php');