Commit Graph

146 Commits

Author SHA1 Message Date
Glenn de Haan
676d00833c Updated crowdin.yml pull request parameters. Updated .dockerignore 2024-10-14 19:04:45 +02:00
Glenn de Haan
a4583cc4a5 Update Crowdin configuration file 2024-10-14 18:57:42 +02:00
Glenn de Haan
2036f6071a Merge pull request #46 from glenndehaan/feature/i18n
Feature/i18n
4.3.0
2024-10-14 18:47:59 +02:00
Glenn de Haan
eafd7aaffa Updated README.md 2024-10-14 18:42:47 +02:00
Glenn de Haan
c3b36b55a3 Implemented the print.json translation file. Added a new print dialog. Moved /print function to a post request. Updated translation.js debug output. Implemented translator within print.js. Fixed typos. Removed unused utils from email and print components render function 2024-10-13 10:37:26 +02:00
Glenn de Haan
d5c19d021d Removed _locales.json implementation. Added language parameter to mail.js. Implemented regex check to translation.js. Added language dropdown to email component. Added languages.js 2024-10-10 19:36:07 +02:00
Glenn de Haan
1bc459de66 Swapped mail function parameters. Replaced throw errors for log warnings. Implemented fallback language in translation.js. Added express-locale for future web i18n use 2024-10-09 13:48:26 +02:00
Glenn de Haan
467ce7edb1 Implemented mail translations. Updated debug output from translation.js 2024-10-09 12:39:44 +02:00
Glenn de Haan
1b1a934f87 Implemented the translation.js module. Implemented the 'TRANSLATION_DEBUG' environment variable. Updated the README.md to include the Translations chapter. Moved en.json to en/email.json to better utilize Crowdin 2024-10-09 11:37:47 +02:00
Glenn de Haan
79b75cd56c Setup initial locales folder for translations. Added English translations for email. Added _locales.json for mapping 2024-10-09 10:33:43 +02:00
Glenn de Haan
8ae97ced44 Merge pull request #45 from glenndehaan/feature/filters-sort
Feature/filters sort
4.2.0
2024-10-09 10:15:34 +02:00
Glenn de Haan
1fc446c72d Implemented sort and updated sync button layout 2024-10-09 09:58:13 +02:00
Glenn de Haan
e2e259c699 Dependency updates 4.1.5 2024-10-09 00:26:09 +02:00
Glenn de Haan
89aeab936b Adjust dropdown styling to conform with others in the app 2024-10-08 17:03:21 +02:00
Glenn de Haan
7843a1e35d Implemented filters 2024-10-08 16:55:12 +02:00
Glenn de Haan
facb921593 Implemented revised filter and sort layout 2024-10-08 16:46:09 +02:00
Glenn de Haan
ded6547777 Implemented filter and sort selected functions 2024-10-08 15:29:05 +02:00
Glenn de Haan
9b48a97136 Fixed SMTP_SECURE type check within variables.js. Removed smtpSecure checks from mail.js. Disable TLS certificate checks within mail.js since this could cause issues with self-hosted solutions 4.1.4 2024-10-08 10:24:45 +02:00
Glenn de Haan
5f542660ad Extended voucher.ejs with filters and sort fields. Also implemented JS handlers for submit 2024-10-08 10:02:26 +02:00
Glenn de Haan
ac6f10de91 Removed unused transition-opacity. Added event handler on details, email and create overlays when clicking outside the overlay 4.1.3 2024-10-07 16:14:38 +02:00
Glenn de Haan
a0b8520a6f Moved static routes before OIDC to prevent errors due to silent login 2024-10-07 15:51:23 +02:00
Glenn de Haan
a4a11ea59c Updated build output format. Updated build log in info.js 4.1.2 2024-10-07 15:09:45 +02:00
Glenn de Haan
f13ed225b3 Moved build info to variables.js. Simplified info.js build readout. Added versions to user dropdown 4.1.1 2024-10-07 11:34:06 +02:00
Glenn de Haan
7fb9956c10 Implemented Git version tag into docker build and GitHub actions. Implemented Release Notes button. Updated Documentation button to directly navigate to the README.md 4.1.0 2024-10-07 10:44:02 +02:00
Glenn de Haan
eacb0b4fd9 Updated README.md. Revert type check within variables.js. Implemented type check within config.js, fallback to 'null' when option is not defined 4.0.4 2024-10-07 00:45:58 +02:00
Glenn de Haan
117b18e9a8 Updated deprecation token list 4.0.3 2024-10-04 13:14:22 +02:00
Glenn de Haan
83d228cc40 Fixed incorrect type check on 'VOUCHER_CUSTOM', 'SERVICE_WEB' and 'AUTH_INTERNAL_ENABLED' 4.0.2 2024-10-04 12:57:42 +02:00
Glenn de Haan
b0a520d4a3 Revert "Setup non-root user within Dockerfile. Copy files as non-root user within Dockerfile. Launch app as non-root user within Dockerfile"
This reverts commit 4b2e4ce93a.
4.0.1
2024-10-04 12:40:44 +02:00
Glenn de Haan
990608be1c Merge pull request #42 from glenndehaan/release/v4
Release/v4
4.0.0
2024-10-04 11:42:33 +02:00
Glenn de Haan
0b2b18307d Renamed 'AUTH_TOKEN' to 'AUTH_INTERNAL_BEARER_TOKEN'. Updated README.md 2024-10-04 11:38:27 +02:00
Glenn de Haan
0998c37467 Update project screenshots. Updated OIDC documentation screenshots 2024-10-04 11:16:23 +02:00
Glenn de Haan
04cff21fcc Enable attemptSilentLogin on OIDC for users that might be already signed in, this will skip the login page if users have authenticated with the idP before and still have a valid session 2024-10-03 14:02:12 +02:00
Glenn de Haan
4418f9c347 Added Login with OIDC button to login page. Made login.ejs dynamic based on enabled authentication services. Made GitHub icon on login.ejs smaller. Refactored authorization.js middleware to support running both internal and OIDC authentication within the same instance. Added extra error to info.js when both authentication services are disabled but authentication itself is enabled. Updated status.js to correctly display both authentication services running at the same time. Updated README.md. Enabled /login when OIDC is enabled. Added missing middleware on /logout. Fixed JWT not initializing when authInternalEnabled is true 2024-10-03 13:56:28 +02:00
Glenn de Haan
e1c1aa8c21 Fixed incorrect config handling within variables.js 2024-10-03 13:17:57 +02:00
Glenn de Haan
eb1c85d4e4 Added 'AUTH_OIDC_ENABLED' to integration documentation 2024-10-03 11:09:03 +02:00
Glenn de Haan
44e88a99fa Added missing width and height for images 2024-10-03 11:01:55 +02:00
Glenn de Haan
3990144f07 Implemented new logout flow utilizing new /oidc/logout endpoints 2024-10-03 10:45:28 +02:00
Glenn de Haan
0dc4562ad8 Implemented the 'AUTH_INTERNAL_ENABLED' and 'AUTH_OIDC_ENABLED' environment variables. Removed complex if structures with 'AUTH_OIDC_ENABLED' checks. Updated README.md 2024-10-03 10:34:54 +02:00
Glenn de Haan
5c069f1c34 Implement missing config getters within variables.js 2024-10-03 09:51:43 +02:00
Glenn de Haan
4f501c09af Added 3.x to 4.x migration documentation to README.md. Updated OIDC integration documentation to mention new callback url 2024-10-01 13:26:47 +02:00
Glenn de Haan
10f7f7284b Updated docker installation in README.md. Added Release Noted chapter in README.md 2024-10-01 13:11:05 +02:00
Glenn de Haan
43aec4d02c Moved OIDC routes to /oidc/* paths 2024-10-01 12:48:28 +02:00
Glenn de Haan
4ad1b68161 Removed 'public' OIDC flow from application. Deprecated 'AUTH_OIDC_CLIENT_TYPE'. Removed 'AUTH_OIDC_CLIENT_TYPE' from documentation. Updated OIDC config checks. Removed 'AUTH_OIDC_CLIENT_TYPE' and 'public' OIDC flow references from README.md 2024-09-30 19:35:39 +02:00
Glenn de Haan
9e6eece08b Removed 'public' flow from implementation documentation 2024-09-30 19:15:56 +02:00
Glenn de Haan
11873f4879 Replaced AUTH_PASSWORD with AUTH_INTERNAL_PASSWORD 2024-09-30 18:53:07 +02:00
Glenn de Haan
4b2e4ce93a Setup non-root user within Dockerfile. Copy files as non-root user within Dockerfile. Launch app as non-root user within Dockerfile 2024-09-30 18:48:23 +02:00
Glenn de Haan
d653c124e2 Fixed error on force re-sync when UniFi is unavailable. Implemented check for deprecated environment variables. Implemented check for valid UniFi usernames. Implemented UniFi username check in unifi.js. Added array.js utils 3.8.2 2024-09-30 18:35:52 +02:00
Glenn de Haan
f491c27af4 Added GitHub issue template config.yml 2024-09-29 17:37:06 +02:00
Glenn de Haan
4dd77a7ebd Implemented GitHub issue forms 2024-09-29 17:33:56 +02:00
Glenn de Haan
48f8bd3e36 Disabled userIcon for internal authentication 3.8.1 2024-09-24 20:56:46 +02:00