Commit Graph

164 Commits

Author SHA1 Message Date
Marek Lesko
2602c9a3b9 fix: add verification step to list contents of build output directory in Dockerfile 2025-10-19 18:45:54 +00:00
Marek Lesko
aae3eb92fa Edit docker-compose.yml 2025-10-19 18:26:35 +00:00
Marek Lesko
d3d9a9037e fix: remove version declaration and adjust app service configuration in docker-compose 2025-10-19 18:01:04 +00:00
Marek Lesko
ccfcc57f6b Merge branch 'dev' of https://gitlab.lesko.me/marek/centrum into dev 2025-10-19 17:57:38 +00:00
Marek Lesko
4e9cac7b44 refactor: remove unused example service from automations.yaml 2025-10-19 17:57:06 +00:00
Marek Lesko
147700ab82 Update .gitlab-ci.yml file 2025-10-19 17:39:42 +00:00
Marek Lesko
dea59357c3 fix: specify project file in dotnet restore command for clarity 2025-10-19 17:00:33 +00:00
Marek Lesko
f31ead1b6d fix: adjust Dockerfile to copy all API files before restoring dependencies 2025-10-19 16:57:08 +00:00
Marek Lesko
ba45c54e1d fix: reorder Dockerfile commands for improved build efficiency 2025-10-19 16:56:45 +00:00
Marek Lesko
56a5851783 fix: update Dockerfile to use npm ci for consistent installs 2025-10-19 16:52:52 +00:00
Marek Lesko
aba8943d17 Migrate to modernize template 2025-10-19 16:34:01 +00:00
Marek Lesko
9deee01ba3 fix: update Angular CLI version and refactor dialog component template
- Updated @angular/cli from version ~20.0.3 to ~20.3.6 in package.json.
- Refactored dialog.component.html to remove optional chaining from ngModel bindings for event properties.
2025-10-19 16:33:28 +00:00
Marek Lesko
f21ba09a6f Added pcakage-lock 2025-10-19 14:34:56 +00:00
Marek Lesko
0e5f91d02e Update .gitlab-ci.yml file 2025-10-14 12:04:42 +00:00
Marek Lesko
6ee421e109 Update .gitlab-ci.yml file 2025-10-14 11:54:16 +00:00
Marek Lesko
8e5561b80d Update .gitlab-ci.yml file 2025-10-14 11:52:17 +00:00
Marek Lesko
7a29d18494 Update .gitlab-ci.yml file 2025-10-14 11:49:46 +00:00
Marek Lesko
dcc17e7e25 chore: add initialization tasks for devcontainer setup 2025-10-14 10:29:12 +00:00
Marek Lesko
4c110f7f6e chore: update devcontainer configuration for improved setup 2025-10-14 10:18:12 +00:00
Marek Lesko
08d4432351 Changes 2025-10-14 08:22:01 +00:00
Marek Lesko
4dda50cbf4 ADDED Materialize theme 2025-10-13 18:18:04 +02:00
Marek Lesko
9451589a9d Edit docker-compose.yaml 2025-09-08 12:43:44 +00:00
Marek Lesko
5c3ea53231 Edit app.routes.ts 2025-08-06 20:18:17 +00:00
Marek Lesko
7919a93ab4 feat: integrate Tailwind CSS and implement dark mode functionality
- Added Tailwind CSS dependencies and configured PostCSS.
- Updated app component to wrap router outlet with a styled div for dark mode support.
- Modified routing to include a default route and added auth guards.
- Implemented dark mode toggle functionality in content component.
- Enhanced login component with improved styling and lifecycle management.
- Created items component with basic structure and routing.
- Added global styles for body and dark mode variants.
- Updated tests for new items component.
2025-08-06 19:53:23 +00:00
Marek Lesko
02116aa3df Refactor HTML and configuration files for improved structure and consistency
- Updated videos.html to enhance readability and maintainability.
- Refactored webpack.config.js for better organization and clarity.
- Cleaned up TypeScript configuration files (tsconfig.app.json, tsconfig.json, tsconfig.spec.json) for consistency in formatting.
- Adjusted docker-compose.yaml for improved formatting and readability.
2025-08-05 06:35:56 +00:00
Marek Lesko
83ca026a55 Edit Dockerfile 2025-08-04 18:45:55 +00:00
Marek Lesko
58d981b629 Edit app.config.ts #5 2025-08-03 18:48:20 +00:00
Marek Lesko
3fd3a77057 Edit app.config.ts #5 2025-08-03 18:41:37 +00:00
Marek Lesko
9cd2f4ef9c fix: simplify database connection string handling in Program.cs #3 2025-08-01 11:42:15 +02:00
Marek Lesko
4d26344665 fix: update CORS policy and add CorsOrigins to configuration #5 2025-08-01 11:02:57 +02:00
Marek Lesko
f8c555bc84 fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:22:36 +02:00
Marek Lesko
09b9969292 fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:21:46 +02:00
Marek Lesko
3638606e45 fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:18:19 +02:00
Marek Lesko
fa229e1e0c fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:14:35 +02:00
Marek Lesko
fc164063c8 fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:11:11 +02:00
Marek Lesko
2df87904c1 fix: correct escaping in apiEndpoint sed command in docker-build #5 2025-08-01 10:07:10 +02:00
Marek Lesko
8447f82dcf fix: update apiEndpoint in docker-build to include https protocol #5 2025-08-01 09:58:47 +02:00
Marek Lesko
f25af78f81 fix: update AllowedHosts in docker-build to use PUBLIC_WEB_URL #5 2025-08-01 09:52:59 +02:00
Marek Lesko
c251589885 feat: implement API endpoint interceptor and update app configuration #5 2025-08-01 09:51:22 +02:00
Marek Lesko
7902cc4dcf Update .gitlab-ci.yml file #5 2025-08-01 07:06:11 +00:00
Marek Lesko
e7c75609d2 fix: update apiEndpoint in docker-build to use PUBLIC_WEB_URL #4 2025-08-01 09:00:51 +02:00
Marek Lesko
2f86edb5e6 Minor fixes #5 2025-08-01 08:38:44 +02:00
Marek Lesko
0ab0402172 feat: implement authentication flow and dynamic API configuration #5 2025-07-31 17:41:18 +02:00
Marek Lesko
42f84e878f fix: update redirectUri to use window.location.origin for dynamic URL handling #5 2025-07-31 15:59:40 +02:00
Marek Lesko
66757b4b9f Merge branch 'PROVIDING-authentication-flow' into 'dev'
feat: integrate angular-oauth2-oidc for authentication

See merge request marek/centrum!10
2025-07-30 06:09:18 +00:00
Marek Lesko
af127b716e fix: update package versions for EntityFramework and adjust API endpoint in login component 2025-07-30 08:05:36 +02:00
Marek Lesko
f032df2894 Update .gitlab-ci.yml file #5 2025-07-29 18:10:10 +00:00
Marek Lesko
329fb94a3a feat: update ProductController route and enhance authentication configuration 2025-07-29 16:23:12 +00:00
Marek Lesko
9217e805e9 feat: integrate angular-oauth2-oidc for authentication
- Added angular-oauth2-oidc package to package.json.
- Configured OAuth client in app.config.ts with resource server settings.
- Implemented login component with basic HTTP request to fetch products.
- Set up routing for the login component.
- Updated app component to initialize OAuth service and handle login.
- Modified default app settings to open and collapse sidenav by default.
- Removed placeholder content from app.html to streamline the initial view.
2025-07-29 15:58:56 +00:00
Marek Lesko
50f0bb7f57 Enable authorization for ProductController and update GetProducts method to support optional ID query parameter #5 2025-07-28 11:49:01 +00:00