78 Commits

Author SHA1 Message Date
Francesco
05546202ff License headers 2023-10-11 11:09:02 +02:00
Francesco
1ada69df24 Removed old jdbcTemplate insert 2023-10-11 11:06:12 +02:00
Francesco
02ecb6b019 Removed old jdbcTemplate insert 2023-10-11 11:03:18 +02:00
Francesco
2fb76d445f JPA Validation WIP 2023-10-11 10:53:40 +02:00
Francesco
4b21437c30 Fixed condition to show errors 2023-10-10 21:47:29 +02:00
Francesco
7333db3f04 Formatting 2023-10-10 21:46:50 +02:00
Francesco
3ee6497d09 Changed search query to also exact match primary key 2023-10-10 21:39:51 +02:00
Francesco
c17d80514a Highlighting inputs with errors 2023-10-10 22:19:56 +02:00
Francesco
13b45e62b8 Showing validation errors field by field 2023-10-10 21:30:49 +02:00
Francesco
8b88475d8a WIP JPA Validation (TODO: show error messages on fields) 2023-10-10 17:53:45 +02:00
Francesco
608d42b412 Added successful delete message 2023-10-10 11:42:43 +02:00
Francesco
737fac7bab UI fixes 2023-10-10 11:20:38 +02:00
Francesco
ad06b8fab7 Changed About page to Help 2023-10-10 11:00:35 +02:00
Francesco
ac77c989e1 Example SecurityConfiguration (#10) 2023-10-10 10:55:09 +02:00
Francesco
0fd9226a80 Changed names of global ModelAttributes in order to avoid clashes with client-defined variables 2023-10-09 17:53:02 +02:00
Francesco
6819206bc6 Added null check 2023-10-09 17:30:56 +02:00
Francesco
9bd896e5c7 Improved handling of 404 errors
Instead of shipping an `error/404.html` template, added a `@ControllerAdvice` that handles `DbAdminNotFoundException`.
This way, we only show our error page for exceptions that are thrown inside our controller's methods, and don't interfere
with the 404 settings for the other routes defined by the user.
2023-10-09 17:28:55 +02:00
Francesco
474d71d1d9 Added package-info files 2023-10-08 11:33:34 +02:00
Francesco
ee3d43dc2a Fix method arguments 2023-10-08 10:59:04 +02:00
Francesco
3bf6b1f58d Removed FragmentContext and instead created multiple versions of input fields fragments for different contexts (search, create) 2023-10-08 10:55:21 +02:00
Francesco
bf7a4c8956 Support for char and short field types; Improved UI on create/edit form, now showing the type for each input element 2023-10-08 10:41:29 +02:00
Francesco
e1010a6c86 Logging prints 2023-10-08 10:19:33 +02:00
Francesco
95d47e58f0 Documentation 2023-10-06 17:00:03 +02:00
Francesco
fb5384c726 Added missing license header 2023-10-06 16:55:45 +02:00
Francesco
3c46805c9a Support for BigInteger, Date and Short field types 2023-10-06 16:22:49 +02:00
Francesco
9c058c188b Disabled edit link 2023-10-06 15:31:05 +02:00
Francesco
b84a139d12 @DisableEdit 2023-10-06 15:14:41 +02:00
Francesco
a05ce27d24 @DisableCreate 2023-10-06 14:52:29 +02:00
Francesco
7b2eb02cd4 Visual indicator of enabled/disabled operations in the Schema page 2023-10-06 14:31:55 +02:00
Francesco
99792fa7a8 UI fix 2023-10-06 14:11:40 +02:00
Francesco
7e7089ea72 @DisableDelete WIP 2023-10-06 12:46:11 +02:00
Francesco
5fdf7e18e7 Fix width of input fields 2023-10-05 16:02:17 +02:00
Francesco
1142e393e7 Enabled OffsetDateTime support 2023-10-05 14:43:20 +02:00
Francesco
cc131739c3 Minor changes 2023-10-05 13:15:51 +02:00
Francesco
2fe4eedc4b Added logging for unsupported field types 2023-10-05 10:01:38 +02:00
Francesco
4177bdcd43 - Small refactor to the rendering part for input fileds: each field now has its own Thymeleaf
fragment in order to allow easier customization and easier support for different field types (required for #7)
- WIP Handle unsupported types gracefully (#9)
2023-10-05 09:38:17 +02:00
Francesco
bebc562961 Refactored the way input fields are rendered to allow further customization
and easier support of custom fields like OffsetDateTime (#7).
2023-10-04 16:27:16 +02:00
Francesco
a6b41535fb Init in @PostConstruct 2023-10-04 12:57:16 +02:00
Francesco
aeac9c10b6 @ReadOnly fields (#4) 2023-10-03 11:17:02 +02:00
Francesco
76a99be813 Fix typo 2023-10-03 11:15:49 +02:00
Francesco
1d66169a43 Implemented scanning of multiple models packages (#3) 2023-10-02 09:19:14 +02:00
Francesco
6bebfcd58b v0.1.3 2023-10-01 14:20:49 +02:00
Francesco
5b027be0d1 Javadoc 2023-10-01 09:02:54 +02:00
Francesco
c7258e9968 License header 2023-10-01 08:35:15 +02:00
Francesco
cd5076303d Javadoc @HiddenColumn 2023-09-30 20:52:34 +02:00
Francesco
869e276fb4 Implemented @HiddenColumn 2023-09-30 20:44:52 +02:00
Francesco
1db41bad38 Changed default sorting to prioritize non-nullable fields 2023-09-30 11:19:21 +02:00
Francesco
90da830030 Removed custom oninvalid handling and marked required fields in UI 2023-09-30 10:58:24 +02:00
Francesco
5b6dba0d24 Added field type TEXT to searchable fields 2023-09-30 10:48:28 +02:00
Francesco
0976a76ffc Removed left padding in filter UI 2023-09-30 10:43:31 +02:00