280 Commits
Author SHA1 Message Date
KKlochko c9409996fe Fix the key mismatch to solve FOUC. 2025-06-06 20:28:00 +03:00
KKlochko b47d994989 Add the JSON API route to search by BookID. 2025-06-04 12:42:04 +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 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 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 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 7bf009c38f Update the error message for the RequireAdmin Plug. 2025-05-14 14:41:10 +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 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 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 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 72bc941d18 Update Book to sync only a new non-local data. 2025-05-06 21:23:42 +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