epal.routing.yml 6.75 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'
Open Source Developer's avatar
trans    
Open Source Developer committed
41
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'
Open Source Developer's avatar
Open Source Developer committed
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
studentapplication:
  path: '/epal/student/{studentId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getStudentApplications'
  requirements:
    _user_is_logged_in: 'TRUE'
epalchosen:
  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
76
  options:
      _auth: [ 'basic_auth' ]
77
78
79
  defaults:
    _controller: '\Drupal\epal\Controller\Distribution::createDistribution'
  requirements:
80
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
transf    
Open Source Developer committed
81
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'
Open Source Developer's avatar
trans    
Open Source Developer committed
89
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'
Open Source Developer's avatar
trans    
Open Source Developer committed
97
98
99
100
101
102
103
confirmstudents:
  path: '/epal/confirmstudent'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::ConfirmStudents'
  requirements:
104
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans    
Open Source Developer committed
105
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'
Open Source Developer's avatar
Open Source Developer committed
113
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
128
    _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:
      _user_is_logged_in: 'TRUE'
129
130
131
132
133
134
135
136
137
epal.ministry.log_out_go:
  path: '/ministry/logout'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::logoutGo'
  requirements:
      _user_is_logged_in: 'TRUE'
epal.ministry.general_report:
138
  path: '/ministry/general-report'
139
140
141
  options:
    _auth: [ 'basic_auth' ]
  defaults:
142
143
144
    _controller: '\Drupal\epal\Controller\ReportsCreator::makegGeneralReport'
  requirements:
      _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
152
  requirements:
      _user_is_logged_in: 'TRUE'
153
epal.ministry.report-all-stat:
154
  path: '/ministry/report-all-stat/{regionId}/{adminId}/{schId}/{classId}/{sectorId}/{courseId}'
155
156
157
158
159
160
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportAllStat'
  requirements:
      _user_is_logged_in: 'TRUE'
161
162
163
164
165
166
167
168
epal.ministry.report-no-capacity:
  path: '/ministry/report-no-capacity/{capacityEnabled}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportNoCapacity'
  requirements:
      _user_is_logged_in: 'TRUE'
169
170
171
172
173
174
175
176
epal.ministry.retrieve-registry-id:
  path: '/ministry/retrieve-registry-id'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::retrieveUserRegistryNo'
  requirements:
      _user_is_logged_in: 'TRUE'
177
178
179
180
181
182
183
184
epal.ministry.massive_mail:
  path: '/ministry/send-massive-mail'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToStudents'
  requirements:
      _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans    
Open Source Developer committed
185
186
187
188
189
190
191
192
regionview:
  path: '/epal/ScoolperPerf/{perfectureId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSchoolsPerPerfetcure'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans    
Open Source Developer committed
193
194
195
196
197
198
199
coursesperschools:
  path: '/epal/CoursesperSch/{schoolid}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getCoursesPerSchool'
  requirements:
200
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans    
Open Source Developer committed
201
202
203
204
205
206
207
208
critirioschosen:
  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
trans    
Open Source Developer committed
209
findcapacity:
Open Source Developer's avatar
Open Source Developer committed
210
  path: '/epal/findCapacity/{taxi}/{tomeas}/{specialit}'
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::findCapacity'
  requirements:
216
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans    
Open Source Developer committed
217
218
219
220
221
222
223
224
findschoolid:
  path: '/epal/getschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSchoolID'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
225
226
227
228
229
230
231
232
233
234
gettypeofschool:
  path: '/epal/gettypeofschool'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::gettypeofschool'
  requirements:
    _user_is_logged_in: 'TRUE'