56 Commits

Author SHA1 Message Date
4b47da3673 refactor: improve handling of optional CustomerID in project models and DTOs
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-04-01 15:48:43 +00:00
a9c7598862 refactor: restructure database initialization and migration logic, moving to models package 2025-03-31 19:21:49 +00:00
bcc3aadb85 refactor: move JWTConfig to config package and update database initialization methods 2025-03-31 19:11:38 +00:00
fcdeedf7e9 wip 2025-03-31 19:07:30 +00:00
21c9233058 test
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s
2025-03-13 11:26:53 +00:00
b9c900578d refactor: remove repeating code etc 2025-03-12 13:52:34 +00:00
294047a2b0 feat: Refactor activity and project handlers to use utility functions for ID parsing and response handling 2025-03-12 11:38:24 +00:00
1198b326c1 refactor: moved and removed unused code 2025-03-12 11:09:00 +00:00
b47c29cf5a feat: Introduce Undefined function for Nullable type and refactor DTOs to use Nullable directly 2025-03-12 11:03:48 +00:00
4170eb5fbd feat: Refactor DTOs to use types.ULID and update companyId fields to be optional 2025-03-12 09:32:29 +00:00
233f3cdb5c feat: Introduce Nullable type for optional fields and update user DTOs accordingly 2025-03-12 08:56:44 +00:00
da115dc3f6 feat: Enhance user update handling and introduce NullString type for optional fields 2025-03-12 07:54:00 +00:00
0379ea4ae4 feat: Add TypeScript type generation and update DTOs to use string for IDs 2025-03-12 06:38:41 +00:00
016078c1c3 feat: Add example values to DTOs for improved API documentation 2025-03-12 06:29:10 +00:00
c3162756ad feat: Update .env file to comment out JWT configuration and add .gitignore for keys directory 2025-03-11 23:56:35 +00:00
2e13d775fa feat: Implement RSA key generation and initialization for JWT authentication 2025-03-11 23:54:29 +00:00
b545392f27 feat: Add JWT configuration to environment and refactor JWT middleware to use new config structure 2025-03-11 23:37:15 +00:00
9057adebdd feat: Update database models and DTOs to use bytea for ULIDWrapper and add JWT configuration to environment 2025-03-11 23:11:49 +00:00
c08da6fc92 feat: Add API key middleware and update configuration to support API key validation 2025-03-11 17:20:39 +00:00
165432208c feat: Update JWT token generation to set cookie and modify authentication middleware to use cookie 2025-03-11 17:14:55 +00:00
728258caa7 feat: Update project rules to enhance clarity and efficiency in development practices 2025-03-11 16:46:07 +00:00
e336ff3ba2 feat: Update models to use ULIDWrapper for ID handling and adjust related database operations 2025-03-11 16:37:05 +00:00
2555143c0e feat: Load database configuration from a centralized config package and add pgAdmin service to Docker Compose 2025-03-11 15:11:20 +00:00
ec250570a6 feat: Refactor database configuration loading and seeding logic for improved clarity and maintainability 2025-03-11 12:35:04 +00:00
a0b0b98624 feat: Remove outdated Swagger documentation files and update database configuration handling 2025-03-11 11:21:15 +00:00
09584efa39 feat: Add project rules and guidelines for architecture, coding practices, security, documentation, testing, frontend, devops, and development workflow 2025-03-11 10:36:34 +00:00
78be762430 feat: Add database migration, seeding, and testing commands with Makefile integration 2025-03-11 09:10:35 +00:00
baf656c093 feat: Refactor API routes to separate public and protected endpoints for better organization 2025-03-10 22:54:54 +00:00
460235b832 feat: Add user registration endpoint with JWT token generation and update API documentation 2025-03-10 22:44:16 +00:00
9f8eab0fac feat: Update API routes and enhance Swagger documentation for activity handler 2025-03-10 22:40:10 +00:00
4b98c1a9e5 feat: Add Swagger documentation for Time Tracker API with hello endpoint 2025-03-10 22:27:36 +00:00
dde2017ad1 feat: Add Docker Compose configuration for PostgreSQL and update database credentials in main.go 2025-03-10 22:25:03 +00:00
8785b86bfc feat: Implement company management API endpoints and handler 2025-03-10 22:03:13 +00:00
58173b436c refactor: Update DTOs to use string type for IDs and enhance API documentation for activity and user handlers 2025-03-10 21:43:45 +00:00
558ee70c21 feat: Add authentication DTOs and setup API routes for user and activity management 2025-03-10 21:02:41 +00:00
aa5c7e77fc refactor: Remove deprecated, bad examples 2025-03-10 20:48:13 +00:00
ce39b7ba34 refactor: Update user model to use 'any' type for updates and adjust DTO path in configuration 2025-03-10 20:45:41 +00:00
d1720ea33d refactor: Update comments to English for consistency across models 2025-03-10 10:11:04 +00:00
7f275c774e refactor: Remove unused entity and datasource files; add AuthDto for authentication, simplification 2025-03-10 09:47:44 +00:00
3b0b2b4340 feat: Update repository interfaces to use specific create and update types for Company, Customer, Project, TimeEntry, and User 2025-03-10 08:06:10 +00:00
3193204dac feat: Refactor User entity and datasource to use email and password hashing with salt 2025-03-10 08:05:48 +00:00
f567d086ec feat: Update repositories to use specific create and update types for Activity and User 2025-03-10 07:31:37 +00:00
17cb4505be feat: Add database object models and repositories for Activity, Company, Customer, Project, TimeEntry, and User with GORM integration 2025-03-10 07:29:34 +00:00
4dda83904a feat: Add database object models for Activity, Company, Customer, Project, TimeEntry, and User with GORM integration 2025-03-09 21:09:52 +00:00
115f2667f6 feat: Update entity types to include specific ID types and adjust DTO mappings 2025-03-09 20:44:46 +00:00
86f4c757e3 feat: Refactor entity types to include BaseEntity properties and update date handling 2025-03-09 20:37:03 +00:00
b2328b4e0c feat: Extend User type to include BaseEntity properties 2025-03-09 20:30:50 +00:00
837cd55a33 feat: Introduce base entity structure and update DTOs for Activity, Company, User, and TimeEntry 2025-03-09 20:28:46 +00:00
9749d5658c feat: Add create and update DTOs for Company, Customer, Project, Activity, User, and TimeEntry entities 2025-03-09 19:55:23 +00:00
0402b8ac65 feat: Replace int IDs with ulid.ULID in domain entities and update TypeScript DTOs 2025-03-09 18:37:52 +00:00