Pekka Helenius
|
73960c2b17
|
Update REST API help reference page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
16db45f529
|
Allow more flexibility when adding book authors
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
d9f674e4d8
|
Prefer absolute URI for book list page; minor form update
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
01769f8ad6
|
Improve controller logic
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e48ed4dc2b
|
Update REST api help reference page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cccbaf56e5
|
REST API: improve searching scheme
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0de9d8ae64
|
REST API: do not expose/export book hashes
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
f1fa35b122
|
Minor form update
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
d358dbcace
|
Update edit form code. Handle error situations better
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c18129253e
|
Minor update
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4baea10349
|
Update JSON naming scheme
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
58a6fe23f2
|
Update REST API reference help page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c0c49f80fb
|
Implement custom PUT/update method for REST API; improve class structure
Support for nested JSON book data
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cbec5eaf48
|
Add missing descriptions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
584cee7755
|
Book's nested JSON entries & REST API (POST): Implement support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b16266eb69
|
Create BookAuthorHelper class for handling author-related operations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cec4117a9e
|
Change comment placement
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4dc7d46f57
|
Implement findByNameIgnoreCaseContaining method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e7fc738b7a
|
REST API: Generate book hash when adding a new book with curl POST
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
67482438ce
|
Add comment about object notation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a2fcecfe8c
|
Determine data types for database; add column definitions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8a373a209d
|
Add missing header text
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e6a6325d5a
|
Implement random hashes as replacement for direct book IDs for front-end
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8ad66f24a0
|
Uniform and correct styling
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fa295895f3
|
Change used table elements (header -> data cell)
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
12eb644e74
|
Explain some design choices used in HTML documents; add commenting
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
33f753d34c
|
Be more specific why JSON key names may use different naming policy
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
659cfe791e
|
Set fallback message key strings for author & category NULL values
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a09ec7c17d
|
Update web forms due to new Author entity
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e4bf781720
|
Update messages for new author fields, update apiref messages
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3f6db48b70
|
Implement Author entity: re-format parts of table structures, add
supporting code
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
47a9669e71
|
Add missing 'None' option for category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5197cdd526
|
Improve REST API reference page: add more examples, update layout
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fc7caa6af9
|
Add REST API reference page CSS class styles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0e80a3a7c6
|
Add & modify REST API reference page messages
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6fda2ccd95
|
Remove unneeded submit buttons and forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e544d7bfd3
|
Expose book ID query for Rest API resource
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
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 |