Commit Graph
100 Commits
Author SHA1 Message Date
KKlochko ffbec934a6 Update resources and generator to accept dbi_server_id.
continuous-integration/drone/push Build is passing
2025-05-19 22:09:22 +03:00
KKlochko 4edf526475 Update tests to add missing assert and = which check permission for LiveViews.
continuous-integration/drone/push Build is failing
2025-05-18 22:22:01 +03:00
KKlochko 4a28708479 Add tests to check permissions for editing other servers' data. 2025-05-18 22:19:11 +03:00
KKlochko 3430693dac Update the pagination component to show itself if there's more than one page.
continuous-integration/drone/push Build is failing
2025-05-17 22:10:59 +03:00
KKlochko 54f15bead3 Rename the test module to LiveViewsPermissionsTest. 2025-05-17 22:09:54 +03:00
KKlochko 88a8eba322 Update to refactor tests which check permission for LiveViews.
continuous-integration/drone/push Build is passing
2025-05-16 13:10:25 +03:00
KKlochko f406239b16 Add tests to check permission for Show and Edit LiveViews.
continuous-integration/drone/push Build is passing
2025-05-15 11:50:33 +03:00
KKlochko bdc6670475 Add tests to check permission for Index LiveViews.
continuous-integration/drone/push Build is passing
2025-05-14 14:43:15 +03:00
KKlochko 4688d09dcf Add the LiveCase template for testing LiveViews. 2025-05-14 14:42:47 +03:00
KKlochko c51bca1eb5 Add the helper to make a user log in. 2025-05-14 14:41:42 +03:00
KKlochko 7bf009c38f Update the error message for the RequireAdmin Plug. 2025-05-14 14:41:10 +03:00
KKlochko 08b5bd3a12 Add the license.
continuous-integration/drone/push Build is passing
2025-05-13 22:03:03 +03:00
KKlochko f79316a916 Update to make the sticky footer.
continuous-integration/drone/push Build is passing
2025-05-12 21:01:18 +03:00
KKlochko 6636cb8b6b Add an example of the nginx configuration.
continuous-integration/drone/push Build is passing
2025-05-11 22:23:01 +03:00
KKlochko c7d193e2b3 Remove delete action for DBIServers from Server Index LiveView.
continuous-integration/drone/push Build is passing
2025-05-10 22:09:58 +03:00
KKlochko 3db1a9ab2a Update the format for sync workers' loggers. 2025-05-10 22:09:03 +03:00
KKlochko 96a6c34895 Fix to init new Flowbite components to make them work.
New cards' dropdown menus won't work, if the search query is updated.
2025-05-10 22:06:44 +03:00
KKlochko 8999897685 Update Server edit to allow change only sync_on? for other server's data.
continuous-integration/drone/push Build is passing
2025-05-09 14:37:13 +03:00
KKlochko 40a19b9c35 Fix edit actions to allow create new data. 2025-05-09 14:36:33 +03:00
KKlochko c96aac44cd Update Server's edit action to prevent change other server's data.
continuous-integration/drone/push Build is passing
2025-05-08 18:15:38 +03:00
KKlochko 3f157e5a00 Update the style for Server and User Show LiveViews. 2025-05-08 18:13:49 +03:00
KKlochko d659d694b0 Update edit actions to prevent change other server's data. 2025-05-08 18:05:04 +03:00
KKlochko efbb7e2f46 Update BookForm tests to update required AuthorRoles.
continuous-integration/drone/push Build is passing
2025-05-07 19:28:23 +03:00
KKlochko 51c86be131 Add migrations to require Book's Publisher and AuthorRole's Author. 2025-05-07 19:05:44 +03:00
KKlochko 59cc87cd97 Update AuthorRole and SelectedAuthor component to require Author. 2025-05-07 19:05:22 +03:00
KKlochko d82e4c20fc Update Book and SelectedPublisher component to require Publisher. 2025-05-07 19:04:44 +03:00
KKlochko 61338cd404 Update the input component to show errors depend on the show_errors? attribute. 2025-05-07 18:29:42 +03:00
KKlochko 0bd6453f6b Add tests for assigning DBIServer to Author and Book.
continuous-integration/drone/push Build is passing
2025-05-06 21:37:04 +03:00
KKlochko 47595e5634 Add tests for Publisher resource. 2025-05-06 21:24:25 +03:00
KKlochko 72bc941d18 Update Book to sync only a new non-local data. 2025-05-06 21:23:42 +03:00
KKlochko 83a82a2da2 Add helpers to convert datetimes. 2025-05-06 21:22:27 +03:00
KKlochko ec8edbb006 Update Author to sync only a new non-local data. 2025-05-06 21:22:18 +03:00
KKlochko 5ba0e4da06 Update Publisher to sync only a new non-local data. 2025-05-06 21:21:44 +03:00
KKlochko 5d8e70d79d Update Book and Publisher transformers to sync the relationship for DBIServer. 2025-05-06 15:16:06 +03:00
KKlochko d57fa73825 Update the AuthorTransformer to sync all attributes and relationships. 2025-05-06 15:15:40 +03:00
KKlochko 3b761f9c66 Update SyncServerTask to sync depend on the sync_on? attribute.
continuous-integration/drone/push Build is passing
2025-05-05 21:32:09 +03:00
KKlochko 981e1f0b92 Add the sync for DBIServer. 2025-05-05 21:30:27 +03:00
KKlochko 4291a3090d Add the DBIServer to the JSON API. 2025-05-05 21:25:20 +03:00
KKlochko 1d4cf53d76 Update the style for the core checkbox component.
continuous-integration/drone/push Build is failing
2025-05-04 21:58:31 +03:00
KKlochko b038bb1fc0 Update the DBIserver form to update the sync_on. 2025-05-04 21:57:31 +03:00
KKlochko 2d78c2bd1b Update DBIServer to add a relationship to itself and the sync on attribute. 2025-05-04 21:49:13 +03:00
KKlochko 0415938248 Update the tests for the error htmls.
continuous-integration/drone/push Build is passing
2025-05-03 21:41:43 +03:00
KKlochko 0aa54b8f3e Update the error htmls to check if the flash exists. 2025-05-03 21:40:42 +03:00
KKlochko 38d6510e9e Add components to change the author alias.
continuous-integration/drone/push Build is failing
2025-05-02 15:15:07 +03:00
KKlochko 956e61ad62 Add components to change the book edition. 2025-05-02 13:43:16 +03:00
KKlochko 954324200c Update the suffix for the default page title.
continuous-integration/drone/push Build is failing
2025-05-01 12:15:10 +03:00
KKlochko e1c818914e Update the style for the error pages. 2025-05-01 12:14:42 +03:00
KKlochko 0094e80270 Update the README to add guide how to create an admin user.
continuous-integration/drone/push Build is failing
2025-04-30 20:36:22 +03:00
KKlochko a991f63aae Add the configuration for the email.
continuous-integration/drone/push Build is failing
2025-04-30 13:03:06 +03:00
KKlochko 72c147cb78 Add the minimal height for the description for Author Show LiveView.
continuous-integration/drone/push Build is passing
2025-04-29 14:35:24 +03:00
KKlochko 3eccc2fd44 Update the Author Show LiveView to show only the description.
continuous-integration/drone/push Build is passing
2025-04-28 14:05:22 +03:00
KKlochko af11f13942 Add the brief_description for Book and Author. 2025-04-28 12:08:00 +03:00
KKlochko 6021d3e8c8 Fix the navbar's link for the logo to redirect with the link component. 2025-04-27 21:11:53 +03:00
KKlochko c0f91c52f1 Update the format for navbar and footer partials. 2025-04-27 21:10:44 +03:00
KKlochko 6baac297c5 Add GIN indexes for attributes which used to search. 2025-04-27 20:54:53 +03:00
KKlochko 44213069c9 Add the SyncWorkerManual to run sync manually and notify when done.
continuous-integration/drone/push Build is passing
2025-04-27 20:19:06 +03:00
KKlochko b616c0d5a0 Update the SyncWorker to add logging. 2025-04-27 20:15:29 +03:00
KKlochko ca1c9c05d2 Update the add_button to add_button_link and remove the extra links. 2025-04-27 15:43:14 +03:00
KKlochko ebbee7f9a5 Update the code format. 2025-04-27 15:21:26 +03:00
KKlochko cffbeb04e7 Fix to do not show empty parentheses if no Author's role. 2025-04-27 14:27:35 +03:00
KKlochko 90bacf8e37 Add the Task dashboard button to access Oban dashboard. 2025-04-27 14:24:33 +03:00
KKlochko dff915e835 Add the SyncWorker and its cron configuration for Oban. 2025-04-27 14:07:57 +03:00
KKlochko f4c2207a80 Update the Oban Dashboard to show only for admin users. 2025-04-27 13:58:47 +03:00
KKlochko 14b0b78e15 Add Oban for background jobs. 2025-04-27 13:57:10 +03:00
KKlochko df4518b757 Fix the SyncBooksTask to transform Roles with AuthorRolesTransformer.
continuous-integration/drone/push Build is passing
2025-04-26 18:55:06 +03:00
KKlochko 1c7fce1d3f Update to add the search actor for the Author and Publisher Index LiveViews. 2025-04-26 18:53:07 +03:00
KKlochko f1f0b77954 Add the sync button to Server Index LiveView.
continuous-integration/drone/push Build is passing
2025-04-25 21:28:24 +03:00
KKlochko 9115d6f596 Update the Book Show LiveView to show the identifiers.
continuous-integration/drone/push Build is passing
2025-04-24 22:05:44 +03:00
KKlochko 7b2c726b2c Update the Publisher Show LiveView to remove redundant information. 2025-04-24 22:05:00 +03:00
KKlochko 7c77ff3b23 Update the header style for mobile devices for Show LiveViews. 2025-04-24 22:04:28 +03:00
KKlochko 9205d91a0b Fix the Book FormComponent to add AuthorRoles if a new book. 2025-04-24 21:48:59 +03:00
KKlochko d8e982782e Fix the Book FormComponent to save publisher_id. 2025-04-24 21:38:42 +03:00
KKlochko ab3cc4596c Update the SyncServerTask's parent module to SyncTasks. 2025-04-24 21:38:07 +03:00
KKlochko 7779308cc6 Update the Book Show LiveView.
continuous-integration/drone/push Build is failing
2025-04-23 22:06:33 +03:00
KKlochko aaa18fd1b6 Update the headers styles for Book and DBIServer Index LiveViews.
continuous-integration/drone/push Build is passing
2025-04-22 11:59:58 +03:00
KKlochko 7d1b33af6c Update the auth page to remove the images. 2025-04-22 11:55:12 +03:00
KKlochko 757916fb9c Update the README. 2025-04-22 11:49:22 +03:00
KKlochko c074afb0f2 Add the docker-compose configuration and examples of env files. 2025-04-22 11:43:23 +03:00
KKlochko 1cd773cc6f Update the mix and docker image configuration to install js assets. 2025-04-22 11:40:54 +03:00
KKlochko 6e92e73829 Add the docker release configuration. 2025-04-22 11:34:09 +03:00
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