179 Commits

Author SHA1 Message Date
dalbodeule
9963f504c5
Update SnapAdmin version and improve foreign key mapping logic
Bumped the `VERSION` constant from 0.4.1 to 0.6.2. Enhanced the `mapForeignKeyType` method to scan the entire class hierarchy for `@Id` annotations, ensuring better support for inherited entity structures.
2025-05-24 19:09:12 +09:00
dalbodeule
61ff240456
Remove @EnableWebMvc annotation from SnapAdminMvcConfig
The `@EnableWebMvc` annotation was removed to prevent overriding Spring Boot's default MVC configuration. This change ensures better compatibility with existing configurations and avoids potential conflicts in the application.
2025-05-22 00:50:02 +09:00
dalbodeule
35b02d156b
Add debugBackend module with database and security setup
Introduced a new `debugBackend` module to support debugging and development tasks. This includes configuration for PostgreSQL, Redis, Hibernate, Spring Boot, and a basic security setup. Also added required entities, repositories, and runtime hints for SnapAdmin integration.
2025-05-21 16:33:56 +09:00
dalbodeule
50f2844319
Refactor DbField to handle disableEditField explicitly.
Removed the `isDisable` parameter from the `DbField` constructor and set `disableEditField` through a dedicated method. Updated relevant logic to ensure proper handling of non-editable fields across the application.
2025-05-20 16:28:47 +09:00
dalbodeule
28063ed583
Enable flexible date parsing, add field edit restrictions, and hide controllers.
Enhances date/time field parsing with support for multiple formats across `InstantFieldType`, `LocalDateTimeFieldType`, `OffsetDateTimeFieldType`, and others. Introduces `DisableEditField` annotation to restrict editing of specific fields and updates templates, controllers, and schemas accordingly. Hides controllers from swagger documentation and adds error handling for unexpected scenarios.
2025-05-20 15:51:33 +09:00
dalbodeule
2e3e11aafb
Switch to Gradle and update project structure
Replaced Maven with Gradle, updating configurations and dependencies to reflect the change. Added IntelliJ IDEA project settings and updated `.gitignore` for Gradle, IDE, and OS-specific files. Refactored package names and added enhancements such as compiler arguments and environmental versioning.
2025-05-14 22:07:02 +09:00
dalbodeule
e4ea60fd85
Migrate build system from Maven to Gradle
Replaced Maven with Gradle by introducing a Gradle build structure, updating dependencies, and configuration files. Additionally, refactored package structure from `tech.ailef` to `space.mori.dalbodeule` for consistency.
2025-05-14 21:24:41 +09:00
marcus-bornman
daba2510db fix(0.2.2): issue #49 (null pointer exception with optional @OneToOne relationships). 2024-10-22 09:52:22 +02:00
Francesco
581d154f1b Filename 2024-04-02 15:30:49 +02:00
Francesco
a40a9493b8 Refactored all template paths for #40 2023-11-24 16:54:18 +01:00
Francesco
3f7f60dd27 Moving templates in subfolder (#40) 2023-11-24 16:39:54 +01:00
Francesco
f4dc649a3b Fixed error in SQL console with Postgres (#39) 2023-11-22 10:43:43 +01:00
Francesco
1f6d79cf6c Fixed lower page size change 2023-11-11 11:36:14 +01:00
Francesco
32751552d4 Fixed #38 2023-11-11 11:07:43 +01:00
Francesco
6d157d2a4b Working on the SQL console
- Fixed issue with the delete action not working properly
- Implementation of page size change in results (#27)
2023-11-10 16:52:23 +01:00
Francesco
8b9ea56b48 Adding missing page titles 2023-11-10 14:54:16 +01:00
Francesco
7625462eae Search by username in audit logs (#34) 2023-11-10 10:20:03 +01:00
Francesco
9a5ae6baa0 Id to user element for testing 2023-11-09 15:49:11 +01:00
Francesco
79a8af91e8 Added route for Forbidden errors 2023-11-08 17:22:01 +01:00
Francesco
0e389e69ec Displaying current authenticated user 2023-11-08 15:18:41 +01:00
Francesco
d22c04b9e4 Fixed handling of Collection types in ManyToMany (#35) 2023-11-08 14:51:04 +01:00
Francesco
c81b495222 Using more generic Collection instead of List (avoid ClassCastException for Sets or similar) 2023-11-08 14:17:05 +01:00
Francesco
231383de84 Better displaying of null values 2023-11-07 22:49:25 +01:00
Francesco
c0373f3d03 Fix column name 2023-11-07 22:47:04 +01:00
Francesco
1f6edce39d Fixed field name 2023-11-07 22:46:01 +01:00
Francesco
f1b0f166b1 Better exception message on not found field 2023-11-07 22:45:46 +01:00
Francesco
95b9104295 User column in logs 2023-11-07 22:34:19 +01:00
Francesco
81d02d4172 Principal injection 2023-11-07 22:26:05 +01:00
Francesco
1fbd337c22 More 'dbAdmin' renaming 2023-11-07 15:50:01 +01:00
Francesco
6a8c08caed Warning message 2023-11-07 15:26:07 +01:00
Francesco
4cd1f4101b Organize imports 2023-11-07 15:22:08 +01:00
Francesco
83541b49da Refactor DbAdmin names to SnapAdmin 2023-11-07 15:19:29 +01:00
Francesco
6eb572f72c Correctly displaying no authentication warning #32 2023-11-07 15:09:52 +01:00
Francesco
da8fc10414 Startup auth check for #32 2023-11-07 09:40:38 +01:00
Francesco
283835f206 Minor fixes 2023-11-06 22:41:25 +01:00
Francesco
60581527f0 Started implementation of #32 2023-11-06 22:39:26 +01:00
Francesco
8455db747b Rename 2023-11-06 22:31:28 +01:00
Francesco
f69363563d Rename 2023-11-06 22:28:12 +01:00
Francesco
630be403c7 snapadmin.enabled now defaults to false (#30) 2023-11-06 20:43:19 +01:00
Francesco
e51f37595e Renamed dbadmin references to snapadmin (#29) 2023-11-03 20:04:10 +01:00
Francesco
666dabc8c2 Fixed references to old repo url 2023-11-02 18:36:20 +01:00
Francesco
84522842b3 Changed order of menu items 2023-11-02 18:24:11 +01:00
Francesco
773bd5d72c Renaming packages 2023-10-31 14:44:15 +01:00
Francesco
8fd9dd3631 Replaced 'Spring Boot Database Admin' with 'SnapAdmin' 2023-10-31 14:31:50 +01:00
Francesco
2fdce6fffe Renamed packages and spring-devtools properties 2023-10-31 14:30:09 +01:00
Francesco
243e6364fe License headers 2023-10-29 11:38:42 +01:00
Francesco
fdff9c84d5 License headers 2023-10-28 17:00:09 +02:00
Francesco
4b1bfb73e9 Logging 2023-10-27 12:25:09 +02:00
Francesco
0f4cc6e8be Fixed 'step' attribute in search input fields 2023-10-27 12:15:45 +02:00
Francesco
ad95f2434c Fixed handling of java.sql.Date field type 2023-10-27 12:15:17 +02:00