Pekka Helenius
|
02feca41d2
|
Implement REST API reference help page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
11dde7c3d0
|
Also consider NULL/None category type for books
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a36b273a96
|
Ignore books in JSON output; define SQL fetch & cascade types for book
list
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
87ccddc9eb
|
Ignore books in JSON output; define SQL fetch & cascade types for book
list
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
27dfa3f3ff
|
Allow NULL category id; various JSON/SQL related additions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9abb6ff1f0
|
Implement custom JSON serializer for book category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b3c1bb677d
|
Define REST API export and URL naming policy
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1459fb754b
|
Add default redirect
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fb254e1e3d
|
Initial REST API search support for a book by its title
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c6707e5436
|
Hide Id fields from JSON data. Necessary?
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e430378fdf
|
Modify findById method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
43260f181f
|
Add missing null check
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ce7e3dc04a
|
Implement initial REST support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bf9a113078
|
Add missing ISBN value check for Edit web form
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
840a8f01d6
|
Add additional book ID check
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
86f6f69df1
|
Add comma decimal support for input forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3d12f60eae
|
Add class description
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4fef3aa30d
|
Disable file log since file paths may conflict with the OS environment
on stand-alone Tomcat server installations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
535e814039
|
Update error HTML template
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
684393850e
|
Add missing headers
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c498246b6d
|
Format CSS + raw HTML correctly also without Java; set placeholders for
Spring message keys; minor changes to web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b4992c71c4
|
Set proper price placeholder value into Add web form
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
967396b23d
|
Add more database constraints for BOOK table
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2f9bfb19c7
|
Add missing CRUD saving operation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bf87234827
|
Move categories to global Spring Model
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bad3ad0dbd
|
Update example forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
32973f2402
|
Add bookstore CSS style
|
4 years ago |
Pekka Helenius
|
f3ac94faeb
|
Add example input values for users; Update web form styles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8171bd0b46
|
Change book price data type to BigDecimal
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7a22d4bb14
|
Use Thymeleaf message expressions in web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ee21c836a9
|
Set SLF4J log format; improve logs; deprecate HttpExceptionHandler class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
956bdad01d
|
Error if attempting to add a non-unique ISBN value
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
91c4c8f63a
|
Public methods; add 'existsbyIsbn' method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4b13819157
|
Minor clean-up: remove redundant parameter
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
128ee7ef04
|
Simplify code of retrieving current year in add form; fix typo
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
382c8e9136
|
Generalize web form URL scheme
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0666a39954
|
Minor refactoring
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3457982d9b
|
Set more flexible naming scheme for template URLs, get from Controller
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a4ce0b0f2b
|
Fix categories not showing up after invalid edits; Rename view
references
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
26de2e5846
|
Update sample book information
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5c57943f92
|
Allow ':' in book's name
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1eecc28e54
|
Redirect invalid URL requests to default page by default. Do not filter
these invalid requests by specific HTTP method types
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a479b461e8
|
Prefer 'Long' over 'long' data type for Ids
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
074c25c0ed
|
Update book data Edit logic
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
df81977c3f
|
Fix + separate Id number generation for Book & Category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
95da20e3c0
|
Update toString method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
32f05de98e
|
Delete redundant Book class constructor
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0e32811e58
|
Implement Category; add one-to-many relationship; update web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
64b26e407f
|
Common clean-up; update string formats & Book class annotations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
96d664976d
|
Enable forward HTTP headers support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |