Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement basic app shell for the authenticated area #131

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
d62f4b1
Automated changes by yarn install
fabian-emilius Jun 24, 2024
01861bd
Fix issue that server container could not connect to keycloak
fabian-emilius Jun 24, 2024
3415b0d
Allow client ids being configured by environment variables
fabian-emilius Jun 25, 2024
3d4dfc6
Refactor folder structure and fix eslint
fabian-emilius Jun 25, 2024
f0006d9
Implement basic mock chart with echarts
fabian-emilius Jun 26, 2024
5866b08
Implement basic filters for chart
fabian-emilius Jun 26, 2024
b14b743
Fix issue that echart adds element from the bottom
fabian-emilius Jun 26, 2024
2954adf
Fix small filter issues in thesis overview
fabian-emilius Jun 28, 2024
38a45ce
Merge branch 'fix/pagination-issue-in-application-management' of gith…
fabian-emilius Jul 2, 2024
e954d44
Fix merge issues
fabian-emilius Jul 2, 2024
deb3071
Add basic app shell and create files for planned pages
fabian-emilius Jul 17, 2024
9e702df
Make navigation collapsible on desktop
fabian-emilius Jul 18, 2024
6c06b2f
Fix linting
fabian-emilius Jul 18, 2024
50da9c3
Rename legacy types to legacy to eventually remove them
fabian-emilius Jul 18, 2024
78ca5df
Rename legacy types to legacy to eventually remove them
fabian-emilius Jul 18, 2024
d7b2fb1
Implement new request logic
fabian-emilius Jul 20, 2024
9451e5c
Improve bundle size and build performance
fabian-emilius Jul 21, 2024
84c6ccb
Fix linting
fabian-emilius Jul 21, 2024
066b4cb
Remove unnecessary dependencies
fabian-emilius Jul 21, 2024
990e948
Remove unnecessary dependencies
fabian-emilius Jul 21, 2024
c78ab6e
Small webpack improvements
fabian-emilius Jul 21, 2024
e2c3705
Merge branch 'main' of github.com:ls1intum/thesis-track into 82-imple…
fabian-emilius Jul 21, 2024
283663c
Fix create application request
fabian-emilius Jul 21, 2024
47aaf5b
Improve keycloak token refresh logic and only use one keycloak client…
fabian-emilius Jul 21, 2024
de28d90
Close application modal after final changes were made
fabian-emilius Jul 21, 2024
efd3f3d
Set exact versions in package.json and update dependencies
fabian-emilius Jul 22, 2024
3b47254
Disable webpack bar on CI
fabian-emilius Jul 23, 2024
905dd97
Fix api server host
fabian-emilius Jul 23, 2024
a948fda
Add client id to args
fabian-emilius Jul 23, 2024
25b7526
Add better logging for keycloak initialization
fabian-emilius Jul 23, 2024
5af7988
Add runtime environment variables for easier hosting
fabian-emilius Jul 23, 2024
59c17d4
Remove testing code
fabian-emilius Jul 23, 2024
afe3a1f
Change .env production name
fabian-emilius Jul 23, 2024
2931171
Ignore all environment files
fabian-emilius Jul 23, 2024
76f542c
Modify deployment to support frontend runtime environments
fabian-emilius Jul 23, 2024
cb27228
Fix deployment
fabian-emilius Jul 23, 2024
d3a99a9
Fix deployment
fabian-emilius Jul 23, 2024
f3ddedc
Fix build environment variables
fabian-emilius Jul 23, 2024
dc5e251
Fix build environment variables
fabian-emilius Jul 23, 2024
fda6415
Fix build environment variables
fabian-emilius Jul 23, 2024
3aa507e
Fix build environment variables
fabian-emilius Jul 23, 2024
5518c86
Fix dev build commands
fabian-emilius Jul 23, 2024
13e1355
Remove docker build args and only use environment going forward
fabian-emilius Jul 23, 2024
842d8d7
Add logging messages to debug staging
fabian-emilius Jul 23, 2024
9fadb47
Fix issue that authentication tokens are reset if refresh token expir…
fabian-emilius Jul 23, 2024
2244d50
Improve refresh token logic
fabian-emilius Jul 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build environment variables
  • Loading branch information
fabian-emilius committed Jul 23, 2024
commit fda6415d41759c2684634940cb33ade23ffb313d
2 changes: 2 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ENV KEYCLOAK_HOST $KEYCLOAK_HOST
ENV KEYCLOAK_REALM_NAME $KEYCLOAK_REALM_NAME
ENV KEYCLOAK_CLIENT_ID $KEYCLOAK_CLIENT_ID

ENV CI 1

COPY . ./
RUN npm install
RUN npm run build
Expand Down
8 changes: 4 additions & 4 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ const config = (env) => {
new DefinePlugin({
process: {
env: {
API_SERVER_HOST: getVariable('API_SERVER_HOST'),
KEYCLOAK_HOST: getVariable('KEYCLOAK_HOST'),
KEYCLOAK_REALM_NAME: getVariable('KEYCLOAK_REALM_NAME'),
KEYCLOAK_CLIENT_ID: getVariable('KEYCLOAK_CLIENT_ID')
API_SERVER_HOST: JSON.stringify(getVariable('API_SERVER_HOST')),
KEYCLOAK_HOST: JSON.stringify(getVariable('KEYCLOAK_HOST')),
KEYCLOAK_REALM_NAME: JSON.stringify(getVariable('KEYCLOAK_REALM_NAME')),
KEYCLOAK_CLIENT_ID: JSON.stringify(getVariable('KEYCLOAK_CLIENT_ID'))
}
},
}),
Expand Down