Commit Graph

184 Commits

Author SHA1 Message Date
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
Marek Lesko
b0521f60a9 Add shared tag to docker-build job in CI configuration #5 2025-07-28 08:25:18 +00:00
Marek Lesko
014cf13072 Restore docker-compose.yaml for application and database services #5 2025-07-28 08:23:33 +00:00
Marek Lesko
91ffd122e9 Update GitLab CI configuration to use Docker Compose for deployment #5 2025-07-28 08:18:51 +00:00
Marek Lesko
246c22ff70 Edit Dockerfile #5 2025-07-28 07:23:09 +00:00
Marek Lesko
c7806a5463 Edit Dockerfile #5 2025-07-27 21:05:22 +00:00
Marek Lesko
cda065e25f Update .gitlab-ci.yml file #5 2025-07-27 20:47:42 +00:00
Marek Lesko
68cf1b30df Update .gitlab-ci.yml file #5 2025-07-27 20:35:24 +00:00
Marek Lesko
adb09771cb Update .gitlab-ci.yml file #5 2025-07-27 18:30:34 +00:00
Marek Lesko
10e2e631d6 Update .gitlab-ci.yml file #5 2025-07-27 18:22:12 +00:00
Marek Lesko
e0a1523e49 Update .gitlab-ci.yml file 2025-07-27 17:50:55 +00:00
Marek Lesko
d5b870530a Fix Docker build context path in CI configuration and add Dockerfile for multi-stage build #5 2025-07-27 17:47:10 +00:00
Marek Lesko
fd10c53dfb Update .gitlab-ci.yml file 2025-07-27 17:31:08 +00:00
Marek Lesko
0e4bbea454 Update .gitlab-ci.yml file 2025-07-27 17:26:44 +00:00