Commit Graph
100 Commits
Author SHA1 Message Date
KKlochko 54833a92ca Update User and Book LiveView to handle changed params.
continuous-integration/drone/push Build is passing
2025-04-21 16:46:30 +03:00
KKlochko abfa20a6a6 Update the search component to send the query if changed. 2025-04-21 16:45:47 +03:00
KKlochko 0102b1c25a Update the layout for the BookSearch's dropdown menu. 2025-04-21 15:09:06 +03:00
KKlochko 523f017089 Fix the broken layout for the BookSearch component. 2025-04-21 15:07:51 +03:00
KKlochko 8b35c9b060 Add the add edition button for Book Show LiveView. 2025-04-21 13:21:39 +03:00
KKlochko d7e0a2117c Add the add alias button for Author Show LiveView. 2025-04-21 13:20:46 +03:00
KKlochko dcc3d43387 Update the BookSearch component to show as the row for mobiles. 2025-04-20 21:07:36 +03:00
KKlochko e2094b915f Update to refactor the unused and deprecated code. 2025-04-20 18:45:16 +03:00
KKlochko 601f77e0a8 Update the user info to show the non-regular role and the border. 2025-04-20 18:34:32 +03:00
KKlochko e91f46c2cd Fix the nested form for AuthorRole to persist the author.
continuous-integration/drone/push Build is passing
2025-04-20 18:19:09 +03:00
KKlochko 99ae616eff Update the style for AuthorRoles' nested forms for the Book's form. 2025-04-20 18:17:12 +03:00
KKlochko 289ff4855c Update the SearchResources component to change the text's alightment. 2025-04-20 17:52:50 +03:00
KKlochko 0915938331 Update to remove unused code for the SelectPublisher component. 2025-04-20 17:48:09 +03:00
KKlochko a1c2eca103 Update the Book form to select Author for AuthorRole via the components. 2025-04-20 17:47:16 +03:00
KKlochko 5d64f1364b Add components to select and show selected Author. 2025-04-20 17:46:23 +03:00
KKlochko 7c4eb2357c Update the Book form to show the label for Publisher. 2025-04-20 17:46:02 +03:00
KKlochko 34bf021962 Update the Book form to select publisher via the components. 2025-04-20 16:15:54 +03:00
KKlochko 71a61d3765 Add components to select and show selected Publisher. 2025-04-20 16:11:11 +03:00
KKlochko 2275e26c88 Update the Book Show to show the alternative editions.
continuous-integration/drone/push Build is passing
2025-04-19 22:12:43 +03:00
KKlochko 2ccf820f7d Update the Book Show to show the Authors with links. 2025-04-19 22:11:47 +03:00
KKlochko dc35461634 Update the footer to center text for small displays. 2025-04-19 21:53:44 +03:00
KKlochko 8655068bac Update the search resources components. 2025-04-19 21:52:55 +03:00
KKlochko a8951a5166 Update the table component to remove the extra white border.
continuous-integration/drone/push Build is passing
2025-04-18 11:16:16 +03:00
KKlochko b1e174eb2e Update the FormComponent for Book to reorder BookIds and AuthorRoles. 2025-04-18 11:15:23 +03:00
KKlochko d0470f5aa5 Add sortablejs to reorder lists. 2025-04-18 11:13:56 +03:00
KKlochko 77514d75a0 Update the LiveView to refactor and remove the unused code.
continuous-integration/drone/push Build is passing
2025-04-17 20:03:10 +03:00
KKlochko 638c6c3bd1 Fix the form components to show the flash component for Book and Author. 2025-04-17 19:51:25 +03:00
KKlochko 4de9c62939 Update the select component to add the dark theme. 2025-04-17 14:26:11 +03:00
KKlochko d8587ca9b6 Add the separated Edit LiveViews for Publisher and DBIServer. 2025-04-17 14:19:54 +03:00
KKlochko 3ee8b2ed0b Add the moderator role attribute for search the resources component. 2025-04-17 12:21:46 +03:00
KKlochko a2c22319f0 Update the Authors Index LiveView to use the search_resource component. 2025-04-17 12:21:07 +03:00
KKlochko a3b5155337 Add the search for Users Index LiveView. 2025-04-17 12:18:15 +03:00
KKlochko 1f895f7ef5 Update the Server Show LiveView. 2025-04-17 11:48:27 +03:00
KKlochko 403d037b55 Add the search and pagination for Server Index LiveView. 2025-04-17 11:47:55 +03:00
KKlochko 97633869df Add the search action for DBIServer. 2025-04-17 11:45:43 +03:00
KKlochko 5e478b7e6d Add the User LiveViews to manage roles. 2025-04-17 11:15:50 +03:00
KKlochko 524595da9a Update User to allow admin search users. 2025-04-17 11:12:57 +03:00
KKlochko 33a70a023f Update the Publisher Index LiveView to search and sort data.
continuous-integration/drone/push Build is passing
2025-04-16 21:57:08 +03:00
KKlochko 291fbfbdf4 Remove the table from Book and Author Index LiveViews. 2025-04-16 21:56:06 +03:00
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