Commit Graph

147 Commits

Author SHA1 Message Date
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
Marek Lesko
35d7160fdd Remove unused flag from docker image prune command in docker-deploy job #5 2025-07-28 11:35:38 +00:00
Marek Lesko
228b303d3e Update update_db job to specify dotnet-ef version and adjust PATH for database migrations #5 2025-07-28 11:32:32 +00:00
Marek Lesko
d66e7e7126 Install dotnet-ef tool in update_db job for database migrations #5 2025-07-28 11:20:09 +00:00
Marek Lesko
b3e459211d Refactor update_db job to specify project paths for dotnet commands #5 2025-07-28 11:12:10 +00:00
Marek Lesko
e84cf9dfb7 Remove commented-out build jobs and adjust update_db job to change directory before restoring and building the project #5 2025-07-28 11:04:47 +00:00
Marek Lesko
a20155bb1e Add shell tag to docker-deploy job and set dependency for update_db job #5 2025-07-28 10:57:11 +00:00
Marek Lesko
14c3307339 Refactor database update job and update connection string in docker-compose for consistency #5 2025-07-28 10:50:11 +00:00
Marek Lesko
e35fe1bf6c Update database connection string to include TrustServerCertificate option #5 2025-07-28 10:26:51 +00:00
Marek Lesko
7b9ac121b6 Refactor docker-deploy script to change directory before pulling and deploying Docker images #5 2025-07-28 10:22:00 +00:00
Marek Lesko
7e3481e17f Update Docker build and deployment scripts for improved image tagging and configuration #5 2025-07-28 10:19:15 +00:00
Marek Lesko
e77a275885 Update Docker image tagging to use commit reference name instead of tag #5 2025-07-28 10:15:09 +00:00
Marek Lesko
6940ba1fc0 Add Docker image tagging and update deployment script in CI configuration #5 2025-07-28 10:12:28 +00:00
Marek Lesko
c8fde6f44c Refactor database connection handling and update Docker Compose environment variables #5 2025-07-28 10:05:41 +00:00
Marek Lesko
75e43c7473 Merge branch 'dev' of https://gitlab.lesko.me/marek/centrum into dev 2025-07-28 09:53:26 +00:00
Marek Lesko
2edb7aa3b3 Edit ProductController.cs #5 2025-07-28 09:31:02 +00:00
Marek Lesko
22159b15f3 Update .gitlab-ci.yml file #5 2025-07-28 09:27:24 +00:00
Marek Lesko
2199e1f5b2 Update .gitlab-ci.yml file 2025-07-28 09:16:30 +00:00