epal.routing.yml 8.11 KB
Newer Older
1 2 3 4 5 6 7 8 9
epal.user.send_verification_code:
  path: '/epal/user/sendvercode'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::sendVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.user.verify_verification_code:
10
  path: '/epal/user/verifyvercode'
11 12 13 14 15 16
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::verifyVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
17 18 19 20 21 22 23 24
epal.user.save_profile:
  path: '/epal/user/save'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::saveUserProfile'
  requirements:
    _user_is_logged_in: 'TRUE'
25
epal.user.get_data:
26
  path: '/epal/userdata'
27 28
  options:
    _auth: [ 'basic_auth' ]
29
  defaults:
30
    _controller: '\Drupal\epal\Controller\CurrentUser::getEpalUserData'
31 32
  requirements:
    _user_is_logged_in: 'TRUE'
33
epal.current_user:
Open Source Developer's avatar
Open Source Developer committed
34
  path: '/epal/curuser'
35
  options:
Open Source Developer's avatar
Open Source Developer committed
36
    _auth: [ 'basic_auth' ]
Open Source Developer's avatar
Open Source Developer committed
37
  defaults:
38
    _controller: '\Drupal\epal\Controller\CurrentUser::getLoginInfo'
Open Source Developer's avatar
Open Source Developer committed
39
  requirements:
Open Source Developer's avatar
Open Source Developer committed
40
    _user_is_logged_in: 'TRUE'
41
epal.submitedapplications:
Open Source Developer's avatar
tranfer  
Open Source Developer committed
42
  path: '/epal/subapplic'
Open Source Developer's avatar
trans  
Open Source Developer committed
43 44 45
  options:
    _auth: [ 'basic_auth' ]
  defaults:
Open Source Developer's avatar
Open Source Developer committed
46
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getSubmittedApplications'
Open Source Developer's avatar
trans  
Open Source Developer committed
47 48
  requirements:
    _user_is_logged_in: 'TRUE'
49
epal.studentapplication:
Open Source Developer's avatar
Open Source Developer committed
50 51 52 53 54 55 56
  path: '/epal/student/{studentId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getStudentApplications'
  requirements:
    _user_is_logged_in: 'TRUE'
57
epal.epalchosen:
Open Source Developer's avatar
Open Source Developer committed
58 59 60 61 62 63 64
  path: '/epal/epalchosen/{studentId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getEpalChosen'
  requirements:
    _user_is_logged_in: 'TRUE'
65 66
epal.application_submit:
  path: '/epal/appsubmit'
67
  options:
68 69 70 71 72
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ApplicationSubmit::appSubmit'
  requirements:
    _user_is_logged_in: 'TRUE'
73 74
epal.allocation:
  path: '/epal/distribution'
75
  options:
76
    _auth: [ 'basic_auth' ]
77 78 79
  defaults:
    _controller: '\Drupal\epal\Controller\Distribution::createDistribution'
  requirements:
80
    _user_is_logged_in: 'TRUE'
81
epal.sectorperschool:
Open Source Developer's avatar
Open Source Developer committed
82
  path: '/epal/sectorperschool'
Open Source Developer's avatar
transf  
Open Source Developer committed
83 84 85 86 87 88
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSectorsPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
89
epal.specialityperschool:
Open Source Developer's avatar
Open Source Developer committed
90
  path: '/epal/specialityperschool/{sectorId}'
Open Source Developer's avatar
trans  
Open Source Developer committed
91 92 93 94 95 96
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSpecialPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
97
epal.confirmstudents:
Open Source Developer's avatar
trans  
Open Source Developer committed
98 99 100 101 102 103
  path: '/epal/confirmstudent'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::ConfirmStudents'
  requirements:
104
    _user_is_logged_in: 'TRUE'
105
epal.studentperschool:
Open Source Developer's avatar
Open Source Developer committed
106
  path: '/epal/studentperschool/{selectId}/{classId}/{limitdown}/{limitup}'
Open Source Developer's avatar
trans  
Open Source Developer committed
107 108 109 110 111 112
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getStudentPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
113
epal.savecapacity:
Open Source Developer's avatar
Open Source Developer committed
114
  path: '/epal/savecapacity/{taxi}/{tomeas}/{specialit}'
Open Source Developer's avatar
Open Source Developer committed
115 116 117 118 119
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::SaveCapacity'
  requirements:
120 121 122 123 124 125 126 127
    _user_is_logged_in: 'TRUE'
epal.ministry.log_in_go:
  path: '/ministry/login'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::loginGo'
  requirements:
128
    _user_is_logged_in: 'TRUE'
129 130 131 132 133 134 135
epal.ministry.log_out_go:
  path: '/ministry/logout'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::logoutGo'
  requirements:
136
    _user_is_logged_in: 'TRUE'
137
epal.ministry.general_report:
138
  path: '/ministry/general-report'
139 140 141
  options:
    _auth: [ 'basic_auth' ]
  defaults:
142 143
    _controller: '\Drupal\epal\Controller\ReportsCreator::makegGeneralReport'
  requirements:
144
    _user_is_logged_in: 'TRUE'
145
epal.ministry.report-completeness:
146
  path: '/ministry/report-completeness/{regionId}/{adminId}/{schId}'
147 148 149 150
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportCompleteness'
151
  requirements:
152
    _user_is_logged_in: 'TRUE'
153
epal.ministry.report-all-stat:
154
  path: '/ministry/report-all-stat/{regionId}/{adminId}/{schId}/{classId}/{sectorId}/{courseId}/{finalized}'
155 156 157 158 159
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportAllStat'
  requirements:
160
    _user_is_logged_in: 'TRUE'
161 162 163 164 165 166 167
epal.ministry.report-no-capacity:
  path: '/ministry/report-no-capacity/{capacityEnabled}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportNoCapacity'
  requirements:
168
    _user_is_logged_in: 'TRUE'
169 170 171 172 173 174 175
epal.ministry.retrieve-registry-id:
  path: '/ministry/retrieve-registry-id'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::retrieveUserRegistryNo'
  requirements:
176
    _user_is_logged_in: 'TRUE'
177 178
epal.ministry.massive_mail_unallocated:
  path: '/ministry/send-unallocated-massive-mail'
179 180 181
  options:
    _auth: [ 'basic_auth' ]
  defaults:
182 183
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToUnallocatedStudents'
  requirements:
184
    _user_is_logged_in: 'TRUE'
185 186
epal.ministry.massive_mail_located:
  path: '/ministry/send-located-massive-mail'
187 188 189
  options:
    _auth: [ 'basic_auth' ]
  defaults:
190
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToLocatedStudents'
191
  requirements:
192
    _user_is_logged_in: 'TRUE'
193 194 195 196 197 198 199
epal.ministry.retrievesettings:
  path: '/ministry/retrieve-settings'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinisterSettings::retrieveSettings'
  requirements:
200
    _user_is_logged_in: 'TRUE'
201 202 203 204 205 206 207
epal.ministry.storesettings:
  path: '/ministry/store-settings/{capacityDisabled}/{directorViewDisabled}/{applicantsLoginDisabled}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinisterSettings::storeSettings'
  requirements:
208 209 210
    _user_is_logged_in: 'TRUE'
epal.perfectureschools:
  path: '/epal/schools-per-perf'
Open Source Developer's avatar
trans  
Open Source Developer committed
211 212 213
  options:
    _auth: [ 'basic_auth' ]
  defaults:
214
    _controller: '\Drupal\epal\Controller\DirectorView::getSchools'
Open Source Developer's avatar
trans  
Open Source Developer committed
215 216
  requirements:
    _user_is_logged_in: 'TRUE'
217
epal.coursesperschools:
Open Source Developer's avatar
Open Source Developer committed
218
  path: '/epal/coursespersch/{schoolid}'
Open Source Developer's avatar
trans  
Open Source Developer committed
219 220 221 222 223
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getCoursesPerSchool'
  requirements:
224
    _user_is_logged_in: 'TRUE'
225
epal.critirioschosen:
Open Source Developer's avatar
trans  
Open Source Developer committed
226 227 228 229 230 231 232
  path: '/epal/critiriachosen/{studentId}/{type}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getCritiria'
  requirements:
    _user_is_logged_in: 'TRUE'
233
epal.findcapacity:
Open Source Developer's avatar
Open Source Developer committed
234
  path: '/epal/findcapacity/{taxi}/{tomeas}/{specialit}'
Open Source Developer's avatar
trans  
Open Source Developer committed
235 236 237 238 239
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::findCapacity'
  requirements:
240
    _user_is_logged_in: 'TRUE'
241
epal.findschoolid:
Open Source Developer's avatar
trans  
Open Source Developer committed
242 243 244 245 246 247 248
  path: '/epal/getschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSchoolID'
  requirements:
    _user_is_logged_in: 'TRUE'
249
epal.gettypeofschool:
Open Source Developer's avatar
Open Source Developer committed
250 251 252 253 254 255 256
  path: '/epal/gettypeofschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::gettypeofschool'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
257 258
epal.getlimitspercourse:
  path: '/epal/getlimitspercourse/{classid}'
259 260 261 262 263 264
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getlimitsperCourse'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
265 266 267 268 269 270 271 272
epal.findcapacityperschool:
  path: '/epal/findcapacityperschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::FindCapacityPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'