Commit Graph

79 Commits

Author SHA1 Message Date
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 0f4cc6e8be Fixed 'step' attribute in search input fields 2023-10-27 12:15:45 +02:00
Francesco c205e4948c Fixed 'step' attribute value for integer fields; Fixed handling of NumberFormatException 2023-10-27 12:03:44 +02:00
Francesco b6cfe37c84 Fixed implementation of search with enum fields 2023-10-25 10:06:31 +02:00
Francesco 2cfcf2a8d7 Refactored field type system and Enum support
In order to support the `Enum` field type the `DbFieldType` enum has been converted
to an abstract class with an implementation class for each database field type.
2023-10-24 13:29:58 +02:00
Francesco 3ef44b79b1 WIP SQL console: export data 2023-10-23 12:02:28 +02:00
Francesco 0ef44cbfb9 WIP SQL console: foreign key resolution 2023-10-23 11:09:02 +02:00
Francesco 10af1b9020 WIP SQL console: pagination 2023-10-23 10:26:31 +02:00
Francesco e52cc2877f WIP SQL console 2023-10-22 16:25:05 +02:00
Francesco ee58fa0d77 WIP SQL console: enable flag; better table output 2023-10-22 16:13:58 +02:00
Francesco c9a9dc6e4c WIP SQL console: delete tabs 2023-10-22 15:02:04 +02:00
Francesco d0fa9a0dc6 WIP SQL console: edit tab names 2023-10-22 14:43:38 +02:00
Francesco 0ec0f63359 WIP SQL console: tabs 2023-10-22 14:31:09 +02:00
Francesco 471c5ac18a WIP SQL console: tabs 2023-10-22 10:31:58 +02:00
Francesco 0691d17867 WIP SQL console: basic prototype working 2023-10-21 19:39:21 +02:00
Francesco 198f7166f2 WIP SQL console 2023-10-20 16:57:44 +02:00
Francesco ec7eac3c12 Edited templates to reference new resources routes (#19) 2023-10-20 15:03:26 +02:00
Francesco 5370d862c3 Icons 2023-10-17 09:44:21 +02:00
Francesco 4fb1782888 DisableExport annotation 2023-10-17 09:38:55 +02:00
Francesco 4e4a078952 Improved CSV export code 2023-10-15 11:48:44 +02:00
Francesco e06422c105 Minor changes 2023-10-14 16:21:17 +02:00
Francesco e07ae2e8f4 Add delete button on single item page 2023-10-14 16:21:00 +02:00
Francesco e64a787b01 Options based on enum values 2023-10-14 11:24:49 +02:00
Francesco 49a81b47e2 Export raw values option 2023-10-14 11:21:26 +02:00
Francesco ada0f60b61 WIP CSV export 2023-10-13 17:57:05 +02:00
Francesco 7250a2433c WIP CSV export 2023-10-13 17:28:05 +02:00
Francesco 3f12b8b86f Help page 2023-10-11 14:55:55 +02:00
Francesco 90aae69daf Added global version variable 2023-10-11 11:34:51 +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 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 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 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 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