Commit Graph

170 Commits

Author SHA1 Message Date
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
Marek Lesko
75e762ac6c Update .gitlab-ci.yml file 2025-07-27 17:19:02 +00:00
Marek Lesko
4ede06b99e Update .gitlab-ci.yml file 2025-07-27 17:05:37 +00:00
Marek Lesko
316d891da4 Update .gitlab-ci.yml file 2025-07-27 17:01:57 +00:00
Marek Lesko
a551ec95c0 Update .gitlab-ci.yml file 2025-07-27 16:55:10 +00:00
Marek Lesko
003625113c Update .gitlab-ci.yml file 2025-07-27 16:54:30 +00:00
Marek Lesko
e84149bc11 feat: Update CI/CD pipeline to include database update and Docker build/deploy steps #5 2025-07-27 16:52:46 +00:00
Marek Lesko
af3b0aefe4 feat: Enhance static file serving and routing for development and production environments #3 2025-07-27 16:40:13 +00:00
Marek Lesko
b991f009c7 feat: Add authentication configuration with OpenID Connect and update appsettings #4 2025-07-27 16:30:17 +00:00
Marek Lesko
813b7ac9aa delete: Remove WeatherForecastController and WeatherForecast model #3 2025-07-27 16:16:41 +00:00
Marek Lesko
e969008873 Implement initial product management with Entity Framework Core #3 2025-07-27 16:03:55 +00:00
Marek Lesko
5f921e5a2c CONFIGURED projects #2 2025-07-16 13:31:46 +00:00
Marek Lesko
f465a0d9eb Merge remote-tracking branch 'origin/main' into dev 2025-07-16 13:16:11 +00:00
Marek Lesko
eb20ae9106 FIXED CI/CD config #2 2025-07-15 19:30:06 +00:00
Marek Lesko
e3c22289cf fix: Minor fixes for CI/CD process v1.0.4 2025-07-15 19:25:38 +00:00