-
Notifications
You must be signed in to change notification settings - Fork 1
/
lab_migration.routing.yml
executable file
·294 lines (293 loc) · 11.3 KB
/
lab_migration.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
lab_migration.proposal_form:
path: /lab-migration/proposal
defaults:
_title: 'Lab Migration Proposal'
_form: \Drupal\lab_migration\Form\LabMigrationProposalForm
requirements:
_permission: 'lab migration create proposal'
lab_migration.proposal_pending:
path: /lab-migration/manage-proposal/pending
defaults:
_title: 'Pending Proposals'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_proposal_pending'
requirements:
_permission: 'lab migration manage proposal'
lab_migration.solution_proposal_pending:
path: /lab-migration/manage-proposal/pending-solution-proposal
defaults:
_title: 'Pending Solution Proposals'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_solution_proposal_pending'
requirements:
_permission: 'lab migration manage proposal'
lab_migration.proposal_pending_solution:
path: /lab-migration/manage-proposal/pending-solution
defaults:
_title: 'Pending Solution'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_proposal_pending_solution'
requirements:
_permission: 'lab migration manage proposal'
lab_migration.proposal_all:
path: /lab-migration/manage-proposal/all
defaults:
_title: 'All Proposals'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_proposal_all'
requirements:
_permission: 'lab migration manage proposal'
lab_migration.category_all:
path: /lab-migration/manage-proposal/category
defaults:
_title: Category
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_category_all'
requirements:
_permission: 'lab migration manage proposal'
lab_migration.category_edit_form:
path: /lab-migration/manage-proposal/category/edit/{id}
defaults:
_title: 'Edit Category'
_form: \Drupal\lab_migration\Form\LabMigrationCategoryEditForm
requirements:
_permission: 'lab migration edit proposal'
lab_migration.manage_proposal_approve:
path: /lab-migration/manage-proposal/approve/{id}
defaults:
_title: 'Approve Proposal'
_form: \Drupal\lab_migration\Form\LabMigrationProposalApprovalForm
requirements:
_permission: 'lab migration manage proposal'
lab_migration.solution_proposal_approval_form:
path: /lab-migration/manage-proposal/solution-proposal-approve
defaults:
_title: 'Approve Solution Proposal'
_form: \Drupal\lab_migration\Form\LabMigrationSolutionProposalApprovalForm
requirements:
_permission: 'lab migration manage proposal'
lab_migration.proposal_edit_form:
path: /lab-migration/manage-proposal/edit/{id}
defaults:
_title: 'Edit Proposal'
_form: \Drupal\lab_migration\Form\LabMigrationProposalEditForm
requirements:
_permission: 'lab migration manage proposal'
lab_migration.proposal_status_form:
path: /lab-migration/manage-proposal/status/{id}
defaults:
_title: 'Proposal Status'
_form: \Drupal\lab_migration\Form\LabMigrationProposalStatusForm
requirements:
_permission: 'lab migration approve proposal'
lab_migration.proposal_open:
path: /lab-migration/open-proposal
defaults:
_title: 'Lab Migration Solve'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_proposal_open'
requirements:
_permission: 'lab migration propose solution'
lab_migration.solution_proposal_form:
path: /lab-migration/show-proposal/{id}
defaults:
_title: 'Lab Migration Solution Proposal'
_form: \Drupal\lab_migration\Form\LabMigrationSolutionProposalForm
requirements:
_permission: 'lab migration propose solution'
lab_migration.code_approval:
path: /lab-migration/code-approval
defaults:
_title: 'LM Manage Code Approval'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_code_approval'
requirements:
_permission: 'lab migration approve code'
lab_migration.code_approval_form:
path: /lab-migration/code-approval/approve/{solution_id}
defaults:
_title: 'Code Approval'
_form: \Drupal\lab_migration\Form\LabMigrationCodeApprovalForm
requirements:
_permission: 'lab migration approve code'
lab_migration.bulk_approval_form:
path: /lab-migration/code-approval/bulk
defaults:
_title: 'Bulk Manage'
_form: \Drupal\lab_migration\Form\LabMigrationBulkApprovalForm
requirements:
_permission: 'lab migration bulk manage code'
lab_migration.bulk_upload_code_form:
path: /lab-migration/code-approval/upload
defaults:
_title: 'Upload Code'
_form: \Drupal\lab_migration\Form\LabMigrationBulkUploadCodeForm
requirements:
_permission: 'lab migration bulk manage code'
lab_migration.lab_notes_form:
path: /lab-migration/code-approval/notes
defaults:
_title: 'Notes for Reviewers'
_form: \Drupal\lab_migration\Form\LabMigrationLabNotesForm
requirements:
_permission: 'lab migration bulk manage code'
lab_migration.list_experiments:
path: /lab-migration/code/list-experiments
defaults:
_title: 'List Experiments'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_list_experiments'
requirements:
_permission: 'lab migration upload code'
lab_migration.upload_code_form:
path: /lab-migration/code/upload
defaults:
_title: 'Code Submission'
_form: \Drupal\lab_migration\Form\LabMigrationUploadCodeForm
requirements:
_permission: 'lab migration upload code'
lab_migration.upload_code_delete:
path: /lab-migration/code/delete/{solution_id}
defaults:
_title: 'Delete Solution'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_upload_code_delete'
requirements:
_permission: 'lab migration upload code'
lab_migration.download_solution_file:
path: /lab-migration/download/file/{solution_file_id}
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_solution_file'
requirements:
_permission: 'lab migration download code'
lab_migration.download_solution:
path: /lab-migration/download/solution/{solution_id}
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_solution'
requirements:
_permission: 'lab migration download code'
lab_migration.download_experiment:
path: /lab-migration/download/experiment/{experiment_id}
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_experiment'
requirements:
_permission: 'lab migration download code'
lab_migration.download_lab:
path: /lab-migration/download/lab/{lab_id}
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_lab'
requirements:
_permission: 'lab migration download code'
lab_migration.download_full_experiment:
path: /lab-migration/full-download/experiment
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_full_experiment'
requirements:
_permission: 'lab migration approve code'
lab_migration.download_full_lab:
path: /lab-migration/full-download/lab/{lab_id}
defaults:
_title: 'Code Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_full_lab'
requirements:
_permission: 'lab migration approve code'
lab_migration.completed_labs_all:
path: /lab-migration/completed-labs
defaults:
_title: 'Completed Labs'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_completed_labs_all'
requirements:
_permission: 'lab migration download code'
lab_migration.labs_progress_all:
path: /lab-migration/labs-progress
defaults:
_title: 'Labs in Progress'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_labs_progress_all'
requirements:
_permission: 'lab migration download code'
lab_migration.run_form:
path: /lab-migration/lab-migration-run/{url_lab_id?}
defaults:
_title: 'Download Codes'
_form: \Drupal\lab_migration\Form\LabMigrationRunForm
requirements:
_permission: 'lab migration download code'
lab_migration.download_lab_pdf:
path: /lab-migration/generate-lab
defaults:
_title: 'Generate Lab'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_lab_pdf'
requirements:
_permission: 'lab migration generate lab'
lab_migration.delete_lab_pdf:
path: /lab-migration/delete-lab
defaults:
_title: 'Delete Lab PDF'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_delete_lab_pdf'
requirements:
_permission: 'lab migration approve code'
lab_migration.settings_form:
path: /admin/settings/lab-migration
defaults:
_title: 'Lab Migration Settings'
_form: \Drupal\lab_migration\Form\LabMigrationSettingsForm
requirements:
_permission: 'administer lab migration'
lab_migration.lab_bulk_manage_exp_ajax:
path: /lab-bulk-manage-exp/ajax
defaults:
_title: 'Ajax callbacks'
requirements:
_permission: 'lab migration bulk manage code'
lab_migration._list_all_lm_certificates:
path: /lab-migration/certificate
defaults:
_title: 'List Of All Certificates LM'
_controller: '\Drupal\lab_migration\Controller\DefaultController::_list_all_lm_certificates'
requirements:
_permission: 'Create custom Certificate'
lab_migration.certificate_form:
path: /lab-migration/certificate/lm-proposer/form
defaults:
_title: 'Create Certificate'
_form: \Drupal\lab_migration\Form\LabMigrationCertificateForm
requirements:
_permission: 'Create custom Certificate'
lab_migration.certificate_edit_form:
path: /lab-migration/certificate/lm-proposer/form/edit
defaults:
_title: 'Edit Proposer Certificate'
_form: \Drupal\lab_migration\Form\LabMigrationCertificateEditForm
requirements:
_permission: 'Create custom Certificate'
lab_migration.certificate_participation_form:
path: /lab-migration/certificate/lm-participation/form
defaults:
_title: 'Create Certificates for Participation'
_form: \Drupal\lab_migration\Form\LabMigrationCertificateParticipationForm
requirements:
_permission: 'Create custom Certificate'
lab_migration.certificate_participation_edit_form:
path: /lab-migration/certificate/lm-participation/form/edit
defaults:
_title: 'Edit Certificates for Participation'
_form: \Drupal\lab_migration\Form\LabMigrationCertificateParticipationEditForm
requirements:
_permission: 'Create custom Certificate'
lab_migration.generate_lm_pdf:
path: /lab-migration/certificate/generate-pdf
defaults:
_title: 'Download Certificate'
_form: \Drupal\lab_migration\Form\GenerateLmPdf
requirements:
_permission: 'Create custom Certificate'
lab_migration.verify_lab_migration_certificates:
path: /lab-migration/certificates/verify
defaults:
_title: 'Lab Migration Certificate Verification'
_controller: '\Drupal\lab_migration\Controller\DefaultController::verify_lab_migration_certificates'
requirements:
_permission: 'Verify custom Certificate of lab'
lab_migration.download_syllabus_copy:
path: /lab-migration/download/syllabus-copy-file/{proposal_id}
defaults:
_title: 'Syllabus Copy Download'
_controller: '\Drupal\lab_migration\Controller\DefaultController::lab_migration_download_syllabus_copy'
requirements:
_permission: 'lab migration bulk manage code'