-
Notifications
You must be signed in to change notification settings - Fork 12
/
.env.example
64 lines (58 loc) · 2 KB
/
.env.example
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
DB_NAME=phpreport
DB_USER=phpreport
DB_PASSWORD=phpreport
DB_HOST=localhost
DB_PORT=5432
DAO_BACKEND=PostgreSQL
EXTRA_DB_CONNECTION_PARAMETERS=
API_BASE_URL="http://localhost:8555"
LDAP_SERVER="localhost"
LDAP_PORT=389
LDAP_BASE="dc=igalia,dc=com"
ALL_USERS_GROUP="staff"
USER_GROUPS="staff,admin,manager"
EMPLOYEES_GROUP="staff"
# Uncomment the next lines to enable LDAP user authentication
# USER_DAO='HybridUserDAO'
# USER_GROUP_DAO='LDAPUserGroupDAO'
# BELONGS_DAO='LDAPBelongsDAO'
# End lines for LDAP user authentication
USE_EXTERNAL_AUTHENTICATION=false
OIDC_AUTHORITY=
OIDC_CLIENT_ID=
OIDC_USERNAME_PROPERTY=
OIDC_CERTS_URL=
OIDC_TOKEN_ENDPOINT=
USE_OIDC_ROLES=
OIDC_ROLES_PROPERTY=
JWT_ALGORITHM=
JWT_SECRET=
JWT_AUDIENCE=
CALENDAR_URL=""
CALENDAR_ID=""
CALENDAR_USERNAME=""
CALENDAR_PASSWORD=""
CALENDAR_EMAIL=""
# TODO All the variables below should be added to the database
# and be configurable by a GUI
COMPANY_DOMAIN="domain.com"
YEARLY_HOLIDAY_HOURS=184
VACATIONS_PROJECT_ID=1
EXTRA_HOURS_WARNING_TRIGGER=50
ISSUE_TRACKER_LINKS_URL="https://github.com/Igalia/phpreport/issues"
ISSUE_TRACKER_LINKS_TEXT="Report an issue"
NO_FILL_EMAIL_FROM="project-management@domain.com"
NO_FILL_CC_WARNING="manager1@domain.com"
NO_FILL_CC_CRITICAL="manager1@domain.com, project-management@domain.com"
NO_FILL_CC_LAST="manager1@domain.com, project-management@domain.com"
NO_FILL_TEMPLATE_WARNING="templates/no_fill_warning.txt"
NO_FILL_TEMPLATE_CRITICAL="templates/no_fill_critical.txt"
NO_FILL_TEMPLATE_LAST="templates/no_fill_last.txt"
NO_FILL_TEMPLATE_MANAGERS="templates/no_fill_summary_managers.txt"
NO_FILL_SUBJECT_WARNING="Please log your hours in PhpReport to complete W###WEEK_NUMBER###"
NO_FILL_SUBJECT_CRITICAL="[URGENT] Log your hours in PhpReport to complete W###WEEK_NUMBER###"
NO_FILL_SUBJECT_LAST="[URGENT] LAST CALL: Three days remain to update W###WEEK_NUMBER### on PhpReport"
NO_FILL_SUBJECT_MANAGERS="Report: Filling in PhpReport summary"
NO_FILL_TRIGGER_WARNING_DAY=2
NO_FILL_TRIGGER_CRITICAL_DAY=3
NO_FILL_TRIGGER_LAST_DAY=5