Commit Graph
100 Commits
Author SHA1 Message Date
KKlochko daa1eadba5 Add the search component. 2025-04-16 21:55:34 +03:00
KKlochko 7a6d594ea7 Update the table's padding for Publisher and Servers LiveViews. 2025-04-15 21:48:07 +03:00
KKlochko c0f55e235e Update the table component style. 2025-04-15 21:46:21 +03:00
KKlochko 0f5ec22038 Update the model's transparent background color for the dark theme. 2025-04-15 21:44:38 +03:00
KKlochko d2c539333c Update the sync tests.
continuous-integration/drone/push Build is passing
2025-04-15 16:53:31 +03:00
KKlochko 3285d3860e Update the DBIServer generator to use admin user. 2025-04-15 16:44:31 +03:00
KKlochko f40af2bc76 Update to make the sync actions authorised for Book and Author. 2025-04-15 16:41:52 +03:00
KKlochko e078bf0911 Fix the routers order to create new resources. 2025-04-15 10:53:46 +03:00
KKlochko 1f3a2fa9e0 Update the formating for Publisher resource. 2025-04-15 10:52:30 +03:00
KKlochko 777a9436d5 Update Book resource and its tests. 2025-04-15 10:52:04 +03:00
KKlochko 6014b53dd1 Add policies for Book, BookId, AuthorRole, BookEditionsRegistry, DBI_Server. 2025-04-15 10:45:49 +03:00
KKlochko 8dc4a80e31 Update Author resource and test for the form. 2025-04-15 10:09:20 +03:00
KKlochko d004affd74 Add policies for AuthorAliasRegistry resource. 2025-04-15 10:07:57 +03:00
KKlochko 1d0abee1de Add tests for the Publisher form. 2025-04-15 10:05:41 +03:00
KKlochko 6886a1b5d2 Add the update action and the form for Publisher. 2025-04-15 10:05:04 +03:00
KKlochko 12c805c0bf Add policies for Publisher resource. 2025-04-15 10:03:57 +03:00
KKlochko 840549dd66 Update the generators for test to use the moderator user as an actor. 2025-04-15 10:02:58 +03:00
KKlochko 775564ea1d Add policies for AuthorRole resource. 2025-04-14 22:08:03 +03:00
KKlochko d3233a7aab Add policies for Author resource. 2025-04-14 21:59:31 +03:00
KKlochko 73f2f8c261 Update User generator for tests. 2025-04-14 21:59:03 +03:00
KKlochko 87dd98bd0a Fix the navbar to show the menu button if signed in. 2025-04-13 21:50:56 +03:00
KKlochko 5c0ea0f88f Update LiveViews and component to check if user can moderate.
continuous-integration/drone/push Build is passing
2025-04-12 21:51:34 +03:00
KKlochko 92a090575c Update the navbar and routes to check the User's role.
continuous-integration/drone/push Build is passing
2025-04-11 11:07:05 +03:00
KKlochko 2456b48929 Update the LiveUserAuth to check the User's role. 2025-04-11 11:06:56 +03:00
KKlochko 92cb5d342c Update User's actions to manage roles. 2025-04-11 11:04:30 +03:00
KKlochko e5dd5a8dde Add roles for users. 2025-04-11 11:04:02 +03:00
KKlochko 9189ee0b14 Update to refactor the test for Book sync.
continuous-integration/drone/push Build is passing
2025-04-10 21:12:21 +03:00
KKlochko b9e23eeb90 Remove unused variable from the Book sync task. 2025-04-10 20:56:26 +03:00
KKlochko 3285265e4d Update to sync newer resources from a datetime. 2025-04-10 20:55:25 +03:00
KKlochko cbec8fceb4 Update to sync also BookEditionsRegistry.
continuous-integration/drone/push Build is passing
2025-04-10 11:19:43 +03:00
KKlochko 62be4c9165 Update to refactor Author and its sync. 2025-04-10 11:15:32 +03:00
KKlochko 99f59e6923 Update to refactor AuthorAliasRegistry, its sync and test. 2025-04-10 11:03:49 +03:00
KKlochko a53f0abae5 Add tests for sync AuthorAliasRegistry.
continuous-integration/drone/push Build is failing
2025-04-09 21:55:24 +03:00
KKlochko 034882672a Add the helpers for tests. 2025-04-09 21:54:46 +03:00
KKlochko 1a326cc8aa Update to sync also AuthorAliasRegistry. 2025-04-09 21:53:03 +03:00
KKlochko bbe5de8cb2 Remove unused aliases from DataTransformers. 2025-04-09 21:45:04 +03:00
KKlochko ac1b8aa66f Update sync task for Books.
continuous-integration/drone/push Build is passing
2025-04-08 17:43:31 +03:00
KKlochko f4c11b99e3 Update AuthorRole and BookId for sync Book data. 2025-04-08 17:37:41 +03:00
KKlochko 74570c81a1 Update AuthorRole delete logic to cascade if no Book. 2025-04-08 17:28:45 +03:00
KKlochko d1a44a5457 Add transformers for BookId.
continuous-integration/drone/push Build is passing
2025-04-07 22:02:52 +03:00
KKlochko b64aa37c4f Add transformers for AuthorRole. 2025-04-07 21:51:35 +03:00
KKlochko 4d48795ccd Update the AuthorRole API to show the author relationship. 2025-04-07 21:48:15 +03:00
KKlochko d0426e208e Update the navbar to show user information, sign in and out buttons.
continuous-integration/drone/push Build is passing
2025-04-06 21:33:04 +03:00
KKlochko 57bb008026 Update the routes to add authentication if needed.
continuous-integration/drone/push Build is passing
2025-04-05 22:00:41 +03:00
KKlochko 39ea8e0deb Add links for Publisher and Servers to navbar if user is signed in. 2025-04-05 22:00:34 +03:00
KKlochko 4edb1650b0 Update the style for models for Publishers and DBI Servers.
continuous-integration/drone/push Build is passing
2025-04-05 19:53:56 +03:00
KKlochko 297821b693 Update to refactor DataTransformers for Author and Publisher.
continuous-integration/drone/push Build is passing
2025-04-04 11:24:44 +03:00
KKlochko 4e8ce20bb0 Add the Book interface to search book by a bid. 2025-04-04 11:23:06 +03:00
KKlochko 38cd8eff54 Remove New Book button from Book Index LiveView. 2025-04-04 11:22:32 +03:00
KKlochko e9ed2d9731 Update the style for no data text for Index LiveViews. 2025-04-04 11:22:22 +03:00
KKlochko 07a4d6f9ce Add the sorting for Author Index LiveView. 2025-04-04 11:20:53 +03:00
KKlochko 4626ff8a29 Update the search component to send event for updating the query. 2025-04-04 11:20:06 +03:00
KKlochko 0150095233 Add the search by bids for Book Index LiveView. 2025-04-04 11:18:40 +03:00
KKlochko 73f69a72a5 Add the BookSearch component.
continuous-integration/drone/push Build is passing
2025-04-03 21:46:59 +03:00
KKlochko 877bc63f9b Add the JSON API exntension for BookId and AuthorRoles. 2025-04-03 21:45:30 +03:00
KKlochko 68169cc78b Add the validation for Book's page count to be greater than 0.
continuous-integration/drone/push Build is passing
2025-04-02 13:38:02 +03:00
KKlochko 730b2b6927 Add the sync task for Book. 2025-04-02 12:55:12 +03:00
KKlochko fb90783c35 Update the sync for Author and Publisher to verify synced data. 2025-04-02 12:52:30 +03:00
KKlochko 133d788584 Update to refactor Author and sync modules. 2025-04-02 10:57:21 +03:00
KKlochko 5ee34f76bc Add the sync task for Publisher. 2025-04-02 10:56:55 +03:00
KKlochko 6a6987bee6 Update the JSON API endpoint to /authors for Author. 2025-04-02 09:31:30 +03:00
KKlochko 71c7ce3501 Add JSON API for Book and Publisher. 2025-04-02 09:28:31 +03:00
KKlochko 488b610aed Update the card component to center their text.
continuous-integration/drone/push Build is passing
2025-04-01 17:51:38 +03:00
KKlochko 731c67302a Update nested forms style for Book FormComponent. 2025-04-01 17:50:58 +03:00
KKlochko 17caffc616 Add the red border for an input if there's an error and the dark theme. 2025-04-01 17:47:54 +03:00
KKlochko e98a98b2c1 Add tests for the Book and Author forms.
continuous-integration/drone/push Build is passing
2025-04-01 14:39:27 +03:00
KKlochko 5f786cfb4b Add the update action for the Book FormComponent. 2025-04-01 14:38:52 +03:00
KKlochko 72875c20d2 Update the input type to textarea for the description field.
continuous-integration/drone/push Build is passing
2025-03-31 22:01:38 +03:00
KKlochko ae0e9d44e1 Update the dark style for the textarea component. 2025-03-31 22:01:07 +03:00
KKlochko 47964f9f0c Add the footer partial. 2025-03-31 21:53:54 +03:00
KKlochko a7b6d64d40 Update the Book Show LiveView to show the cover image.
continuous-integration/drone/push Build is passing
2025-03-30 19:48:17 +03:00
KKlochko 9c89dec3cc Update the Book Show LiveView to show authors with their roles. 2025-03-30 19:47:31 +03:00
KKlochko df98f12aea Update the background color for the dark theme for the whole page. 2025-03-30 18:43:07 +03:00
KKlochko 10b34b4980 Add the action to read AuthorRoles by a Book id.
continuous-integration/drone/push Build is passing
2025-03-30 16:01:44 +03:00
KKlochko 8cfac66a56 Add the search action for Books. 2025-03-30 16:01:02 +03:00
KKlochko 7a4d30ba5e Add the BookCard component to the Book Index LiveView. 2025-03-30 15:57:50 +03:00
KKlochko 905f4edf88 Add BookCard component. 2025-03-30 15:54:36 +03:00
KKlochko 3e5f362d6a Add the cover_image_url attribute to arguments to create a Book. 2025-03-30 15:54:04 +03:00
KKlochko 198d408847 Update the Author Show LiveView to show the avatar image and aliases. 2025-03-30 12:25:15 +03:00
KKlochko 98c89e1bb5 Update the image size for AuthorCard.
continuous-integration/drone/push Build is passing
2025-03-29 21:59:49 +02:00
KKlochko 99678c12e5 Add the avatar_url attribute to Author's create action. 2025-03-29 21:59:16 +02:00
KKlochko 5b9646003b Update the style for nested forms to add dark theme.
continuous-integration/drone/push Build is passing
2025-03-28 11:42:54 +02:00
KKlochko d563034bb2 Update the button style for Show LiveViews. 2025-03-28 11:16:55 +02:00
KKlochko 4f86571579 Add separated Edit LiveView for Book. 2025-03-28 11:09:47 +02:00
KKlochko f210fb0ff1 Update the button style for Author's form. 2025-03-28 11:03:26 +02:00
KKlochko 9c2b596942 Update the back component to show white text if dark theme is turn on. 2025-03-28 11:02:20 +02:00
KKlochko f2a6af8366 Add the dark theme for core component texts.
continuous-integration/drone/push Build is passing
2025-03-27 11:01:19 +02:00
KKlochko 6f47e58a30 Fix the button alignment in the simple form. 2025-03-27 10:59:26 +02:00
KKlochko 72af6ccafc Add the svg icon for AuthorCard's edit action. 2025-03-27 10:58:38 +02:00
KKlochko 3e8e7ed0b0 Add the buttons for save, edit, cancel actions. 2025-03-27 10:58:06 +02:00
KKlochko 2e583ac33f Update headers for Author Index and FormComponent LiveViews.
continuous-integration/drone/push Build is passing
2025-03-26 15:32:46 +02:00
KKlochko 834d3e46b9 Update core components for forms to add dark theme.
simple_form, input, label, header to implement dark theme.
2025-03-26 15:31:17 +02:00
KKlochko 1a3b30e251 Add the styled buttons for the forms. 2025-03-26 15:30:58 +02:00
KKlochko 396b1eb0be Fixed the AuthorCard edit url.
continuous-integration/drone/push Build is passing
2025-03-26 12:43:10 +02:00
KKlochko 69612a0d4a Add the cancel button to Author's FormComponent. 2025-03-26 12:42:47 +02:00
KKlochko 8c155f2546 Update the routes and Author's Index page. 2025-03-26 12:13:13 +02:00
KKlochko 1133c048d1 Update the Author form to redirect to Index or Show LiveView. 2025-03-26 11:57:11 +02:00
KKlochko cad5758ce9 Update the Show LiveView to redirect to Edit Liveview for Author. 2025-03-26 11:55:37 +02:00
KKlochko d39cacf88d Add separated Edit LiveView for Author. 2025-03-26 11:54:25 +02:00
KKlochko 0950d3fe6b Update background color and width for the page content. 2025-03-26 11:52:44 +02:00