Merged state:sync functionality into state:import and state:export #596
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to improve multi-user support, remove deprecated commands, and enhance the codebase. The most important changes include the removal of the
state:sync
command, updates to the configuration files, and improvements to theExportCommand
class.Multi-user support and command updates:
README.md
: Announced the removal of thestate:sync
command and the addition of multi-user support instate:import
andstate:export
commands.FAQ.md
: Updated instructions for enabling multi-user functionality and removed deprecated sync task instructions.Configuration updates:
config/config.php
: RemovedSyncCommand
references and updated sync settings to reflect the new multi-user support. [1] [2]config/env.spec.php
: Removed deprecated environment variables related to the sync command. [1] [2]Codebase improvements:
src/Commands/State/ExportCommand.php
: Refactored theExportCommand
class to support multi-user export and added dependency injection for theDirectMapper
class. [1] [2] [3] [4] [5] [6]frontend/pages/console.vue
: Simplified the logic for checking the response status and running commands.These changes improve the overall functionality and maintainability of the codebase by removing deprecated features and enhancing support for multi-user configurations.