epal.routing.yml 8.48 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.confirmstudents:
Open Source Developer's avatar
trans  
Open Source Developer committed
82 83 84 85 86 87
  path: '/epal/confirmstudent'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::ConfirmStudents'
  requirements:
88
    _user_is_logged_in: 'TRUE'
89
epal.studentperschool:
Open Source Developer's avatar
Open Source Developer committed
90
  path: '/epal/studentperschool/{classId}/{sector}/{specialit}'
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::getStudentPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
97
epal.savecapacity:
Open Source Developer's avatar
Open Source Developer committed
98
  path: '/epal/savecapacity/{taxi}/{tomeas}/{specialit}'
Open Source Developer's avatar
Open Source Developer committed
99 100 101 102 103
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::SaveCapacity'
  requirements:
104 105 106 107 108 109 110 111
    _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:
112
    _user_is_logged_in: 'TRUE'
113 114 115 116 117 118 119
epal.ministry.log_out_go:
  path: '/ministry/logout'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::logoutGo'
  requirements:
120
    _user_is_logged_in: 'TRUE'
121
epal.ministry.general_report:
122
  path: '/ministry/general-report'
123 124 125
  options:
    _auth: [ 'basic_auth' ]
  defaults:
126 127
    _controller: '\Drupal\epal\Controller\ReportsCreator::makegGeneralReport'
  requirements:
128
    _user_is_logged_in: 'TRUE'
129
epal.ministry.report-completeness:
130
  path: '/ministry/report-completeness/{regionId}/{adminId}/{schId}'
131 132 133 134
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportCompleteness'
135
  requirements:
136
    _user_is_logged_in: 'TRUE'
137
epal.ministry.report-all-stat:
138
  path: '/ministry/report-all-stat/{regionId}/{adminId}/{schId}/{classId}/{sectorId}/{courseId}/{finalized}'
139 140 141 142 143
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportAllStat'
  requirements:
144
    _user_is_logged_in: 'TRUE'
145 146 147 148 149 150 151
epal.ministry.report-no-capacity:
  path: '/ministry/report-no-capacity/{capacityEnabled}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportNoCapacity'
  requirements:
152
    _user_is_logged_in: 'TRUE'
153 154 155 156 157 158 159
epal.ministry.retrieve-registry-id:
  path: '/ministry/retrieve-registry-id'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::retrieveUserRegistryNo'
  requirements:
160
    _user_is_logged_in: 'TRUE'
161 162
epal.ministry.massive_mail_unallocated:
  path: '/ministry/send-unallocated-massive-mail'
163 164 165
  options:
    _auth: [ 'basic_auth' ]
  defaults:
166 167
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToUnallocatedStudents'
  requirements:
168
    _user_is_logged_in: 'TRUE'
169 170 171 172 173 174 175 176
epal.ministry.massive_mail_unallocated_smallclass:
  path: '/ministry/send-unallocated-sc-massive-mail'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToUnallocatedStudentsSC'
  requirements:
    _user_is_logged_in: 'TRUE'
177 178
epal.ministry.massive_mail_located:
  path: '/ministry/send-located-massive-mail'
179 180 181
  options:
    _auth: [ 'basic_auth' ]
  defaults:
182
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToLocatedStudents'
183
  requirements:
184
    _user_is_logged_in: 'TRUE'
185 186 187 188 189 190 191
epal.ministry.retrievesettings:
  path: '/ministry/retrieve-settings'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinisterSettings::retrieveSettings'
  requirements:
192
    _user_is_logged_in: 'TRUE'
193
epal.ministry.storesettings:
194
  path: '/ministry/store-settings/{capacityDisabled}/{directorViewDisabled}/{applicantsLoginDisabled}/{applicantsResultsDisabled}'
195 196 197 198 199
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinisterSettings::storeSettings'
  requirements:
200 201 202
    _user_is_logged_in: 'TRUE'
epal.perfectureschools:
  path: '/epal/schools-per-perf'
Open Source Developer's avatar
trans  
Open Source Developer committed
203 204 205
  options:
    _auth: [ 'basic_auth' ]
  defaults:
206
    _controller: '\Drupal\epal\Controller\DirectorView::getSchools'
Open Source Developer's avatar
trans  
Open Source Developer committed
207 208
  requirements:
    _user_is_logged_in: 'TRUE'
209
epal.coursesperschools:
Open Source Developer's avatar
Open Source Developer committed
210
  path: '/epal/coursespersch/{schoolid}'
Open Source Developer's avatar
trans  
Open Source Developer committed
211 212 213 214 215
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getCoursesPerSchool'
  requirements:
Open Source Developer's avatar
changes  
Open Source Developer committed
216
    _user_is_logged_in: 'TRUE' 
217
epal.critirioschosen:
Open Source Developer's avatar
trans  
Open Source Developer committed
218 219 220 221 222 223 224
  path: '/epal/critiriachosen/{studentId}/{type}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getCritiria'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
225 226 227 228 229 230
epal.findcapacityperschool:
  path: '/epal/findcapacityperschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::FindCapacityPerSchool'
231 232
  requirements:
    _user_is_logged_in: 'TRUE'
233
epal.applicant.creationpdf:
234
  path: '/epal/pdf-application/{studentId}'
235 236 237 238
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\PdfCreator::createApplicantPDF'
Open Source Developer's avatar
Open Source Developer committed
239 240
  requirements:
    _user_is_logged_in: 'TRUE'
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
epal.svc.getdidacticyears:
  path: '/epal/get-didactic-years'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\WSConsumer::getAllDidactiYear'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.svc.getstudentpromotion:
  path: '/epal/get-student-promotion/{didactic_year_id}/{lastname}/{firstname}/{father_firstname}/{mother_firstname}/{birthdate}/{registry_no}/{level_name}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\WSConsumer::getStudentEpalPromotion'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.svc.getstudentcertification:
  path: '/epal/get-student-certification/{didactic_year_id}/{lastname}/{firstname}/{father_firstname}/{mother_firstname}/{birthdate}/{registry_no}/{level_name}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\WSConsumer::getStudentEpalCertification'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
changes  
Open Source Developer committed
265 266 267 268 269 270 271 272 273 274 275
epal.findcoursesperschool:
  path: '/epal/findcoursesperschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::FindCoursesPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'