Commit Graph
100 Commits
Author SHA1 Message Date
KKlochko 1842ebc32c Update the tests for Metadata.get_author_book action. 2025-06-03 19:40:22 +03:00
KKlochko 02a34694e4 Update the Author Show LiveView to show their books. 2025-06-03 19:32:17 +03:00
KKlochko e4f17524ea Update the card components to check a dbi_server existence by the id. 2025-06-03 19:30:00 +03:00
KKlochko 03b889b094 Fix to hide the label if no identifiers for Book Show LiveView. 2025-06-03 18:09:08 +03:00
KKlochko 30df53702b Update to allow a Book to have no Publisher. 2025-06-03 18:06:26 +03:00
KKlochko cedc4d78e8 Update DBIServer Show LiveView to show the edit button for admins. 2025-06-03 18:03:19 +03:00
KKlochko 11a7962167 Update the code format for components and LiveViews.
continuous-integration/drone/push Build is failing
2025-06-03 10:55:19 +03:00
KKlochko 589f13d90e Update the Book's nested form's layout if there're an error. 2025-06-03 10:50:14 +03:00
KKlochko e754ef0d8f Update the DarkModeSwitcher component to change the icon order. 2025-06-03 10:48:59 +03:00
KKlochko aded500cab Add the DarkModeSwitcher component. 2025-06-02 22:02:38 +03:00
KKlochko 3bc4616c5d Update to allow search book by an empty bid.
continuous-integration/drone/push Build is passing
2025-06-01 20:47:34 +03:00
KKlochko 5c31715211 Update the background colors for the light theme.
continuous-integration/drone/push Build is passing
2025-06-01 11:47:53 +03:00
KKlochko 2e023fa2f7 Fix the light theme for Author Show LiveView. 2025-06-01 11:46:28 +03:00
KKlochko e9e49572d1 Add the content's horizontal padding for card components.
continuous-integration/drone/push Build is passing
2025-05-31 21:43:42 +03:00
KKlochko bf333aad07 Update the select components to show the message about no records. 2025-05-31 21:39:28 +03:00
KKlochko e226e696da Update the select components to add hover style for records. 2025-05-31 21:36:05 +03:00
KKlochko ac4e28bd56 Update the README to add step to choose a pre-build or build image.
continuous-integration/drone/push Build is passing
2025-05-29 20:37:19 +03:00
KKlochko 59ab26a838 Update the docker-compose to use the pre-built image by default. 2025-05-29 20:36:44 +03:00
KKlochko 045faf59a4 Update the CI/CD configuration to build the image.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-05-27 21:44:40 +03:00
KKlochko 152bee732f Update the version. 2025-05-27 21:43:51 +03:00
KKlochko 99188454e9 Update Navbar partial to show the Server menu item for moderators.
continuous-integration/drone/push Build is passing
2025-05-26 20:38:19 +03:00
KKlochko 80e99b7de8 Remove extra debug logs which used to inspect a state.
continuous-integration/drone/push Build is passing
2025-05-26 14:30:53 +03:00
KKlochko 51c584056b Fix a typo in SearchResources component that an admin is a moderator.
continuous-integration/drone/push Build is passing
2025-05-26 14:21:59 +03:00
KKlochko b70b99ba51 Update DBIServer's Index and Show to allow moderators to read. 2025-05-26 14:21:14 +03:00
KKlochko 9c7a555dae Update Show LiveViews to add information from which server. 2025-05-26 14:19:38 +03:00
KKlochko ab3d65a899 Update Oban configuration to prune jobs which older than 7 days.
continuous-integration/drone/push Build is passing
2025-05-25 21:26:22 +03:00
KKlochko 44841a53e8 Update the LiveViews permission test to fix misuse of the user values.
continuous-integration/drone/push Build is passing
2025-05-24 21:56:49 +03:00
KKlochko a25a4e24da Update to refatactor tests for syncing. 2025-05-24 21:52:22 +03:00
KKlochko 493aca0e5b Update to move get_id functions to support/helpers. 2025-05-24 21:46:02 +03:00
KKlochko 8a3b522049 Update to refactor tests for Author and Book. 2025-05-24 21:21:04 +03:00
KKlochko 89c871110c Update to refactor tests for resource forms. 2025-05-24 21:19:19 +03:00
KKlochko 64028d09f5 Fix data transformers to remove a nil value of dbi_server for syncing.
continuous-integration/drone/push Build is passing
Map.put_new don't update nil value, because the key exists.
2025-05-23 12:50:43 +03:00
KKlochko ea5ada751d Update DBIServerTransformer to fetch the dbi_server relationship. 2025-05-23 12:47:46 +03:00
KKlochko f4eb929401 Update DBIServer to make the relationship to another server public. 2025-05-23 12:42:39 +03:00
KKlochko 59e2d2f8a1 Update the footer to add the license.
continuous-integration/drone/push Build is passing
2025-05-22 21:38:29 +03:00
KKlochko ddcab0b843 Update the API get actions to use the by_id action.
continuous-integration/drone/push Build is passing
2025-05-21 19:42:13 +03:00
KKlochko b7979bf6ba Add descriptions for resources' actions. 2025-05-21 19:41:28 +03:00
KKlochko db025ece6a Fix DBIServer FormComponent to allow edit only other servers' sync_on?.
continuous-integration/drone/push Build is passing
2025-05-20 22:13:10 +03:00
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