Skip to content

Commit c52abc3

Browse files
committed
Removing unused classes.
1 parent 9f555dc commit c52abc3

File tree

11 files changed

+0
-801
lines changed

11 files changed

+0
-801
lines changed

app/config/config.local.neon.example

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ parameters:
99
issuer: "%webapp.address%"
1010
audience: "%webapp.address%"
1111
expiration: 604800 # 7 days in seconds
12-
invitationExpiration: 604800 # of an invitation token (7 days in seconds)
1312
verificationKey: "sis-ext-123" # this should be a really secret string
1413

1514
recodex:
@@ -22,30 +21,10 @@ parameters:
2221
secretRozvrhng: SECRET_TOKEN # for module 'rozvrhng'
2322
secretKdojekdo: SECRET_TOKEN # for module 'kdojekdo'
2423

25-
emails: # common configuration for sending email (addresses and template variables)
26-
from: "SIS-CodEx <[email protected]>" # sending email address
27-
defaultAdminTo: "Administrator <[email protected]>" # admin mail address
28-
#debugMode: true # in debug mode, no messages are sent via SMTP (you should also active archiving)
29-
#archivingDir: "%appDir%/../log/email-debug" # a directory where copies of all emails sent are stored (in text files)
30-
3124
# The most important part - a database system connection
3225
nettrine.dbal:
3326
connection:
3427
host: "localhost"
3528
user: "recodex-sis-ext"
3629
password: "someSecretPasswordYouNeedToSetYourself"
3730
dbname: "recodex-sis-ext"
38-
39-
# configure mailing module
40-
mail:
41-
host: "your.smtp.forwarding.server"
42-
clientHost: "your.sis-ext.domain"
43-
port: 587
44-
username: "user"
45-
password: "pass"
46-
secure: "tls"
47-
context:
48-
ssl:
49-
verify_peer: false
50-
verify_peer_name: false
51-
allow_self_signed: true

app/config/config.neon

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ parameters:
1717
issuer: "%webapp.address%"
1818
audience: "%webapp.address%"
1919
expiration: 86400 # of regular auth tokens (seconds)
20-
invitationExpiration: 86400 # of an invitation token (seconds)
2120
usedAlgorithm: HS256
2221
verificationKey: "sis-ext-123"
2322

@@ -45,17 +44,6 @@ parameters:
4544
archivingDir: "" # a directory where copies of all emails sent are stored (in text files)
4645
defaultAdminTo: "Administrator <[email protected]>" # admin mail address
4746

48-
linkTemplates:
49-
assignmentUrl: "%webapp.address%/app/assignment/{id}"
50-
exerciseUrl: "%webapp.address%/app/exercises/{id}"
51-
shadowAssignmentUrl: "%webapp.address%/app/shadow-assignment/{id}"
52-
solutionUrl: "%webapp.address%/app/assignment/{assignmentId}/solution/{solutionId}"
53-
referenceSolutionUrl: "%webapp.address%/app/exercises/{exerciseId}/reference-solution/{solutionId}"
54-
forgottenPasswordUrl: "%webapp.address%/forgotten-password/change?{token}" # URL of web application where the password can be changed
55-
emailVerificationUrl: "%webapp.address%/email-verification?{token}"
56-
invitationUrl: "%webapp.address%/accept-invitation?{token}"
57-
solutionSourceFilesUrl: "%webapp.address%/app/assignment/{assignmentId}/solution/{solutionId}/sources"
58-
5947
application:
6048
errorPresenter: ApiError
6149
mapping:
@@ -138,7 +126,6 @@ services:
138126
- App\Helpers\SisHelper(%sis%)
139127
- App\Helpers\UserActions
140128
- App\Helpers\UserUpdater
141-
- App\Helpers\WebappLinks(%webapp.address%, %linkTemplates%)
142129

143130
# emails
144131
- App\Helpers\Emails\EmailLocalizationHelper

app/helpers/Pair.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

app/helpers/PermissionHints.php

Lines changed: 0 additions & 84 deletions
This file was deleted.

app/helpers/WebappLinks.php

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)