-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check backup consistency before importing workflow #196
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
justusdieckmann
commented
Feb 20, 2024
justusdieckmann
force-pushed
the
fix/check-backup-consistency
branch
from
February 20, 2024 15:17
038ab1b
to
a39e53a
Compare
Could you also include a check in case a bad workflow was already imported? This might also be helpful in case someone deletes a category... 😂 |
Fixes #194 |
justusdieckmann
force-pushed
the
fix/check-backup-consistency
branch
from
February 21, 2024 12:24
944a06e
to
2b54804
Compare
NinaHerrmann
added a commit
that referenced
this pull request
Jun 19, 2024
* Removed , * CI: Update for Moodle 4.2 * Workflow backup: Do not save attributes when they are null * Bump version * MBS-7377: Fix workflowoverview for big instances * Fix wrong calculation of courses counts in template context * fix upload workflow (#185) * fix upload workflow * inserting feedback * finally * Add check if process exists. (#191) This prevents courses to be processed which had been rescued by the teacher. * Update README.md Make Subplugin List (and link to wiki) more apparent * Improve help text for integration of icons (manual trigger) (#193) * Improved help text for the integration of icons * Improved help text for the integration of icons * Update for Moodle 4.3 (#190) * CI: Update for Moodle 4.3 * Prevent dynamic property access on classes for PHP 8.2 * phpcbf for styles etc. --------- Co-authored-by: Justus Dieckmann <[email protected]> Co-authored-by: NinaHerrmann <[email protected]> * Hide menu when there is no manual workflow (#195) Co-authored-by: Justus Dieckmann <[email protected]> * Fix step and trigger reordering: only change the relevant workflow (#200) * Reorder the remaining active workflows when disabling a workflow (#201) This fixes #128. * Show menu entry when a manual or automatic workflow is active (#199) * Show menu point when a manual or automatic workflow is active * Rename reset cache function * Show menu entry if there are workflows other than the default two --------- Co-authored-by: Justus Dieckmann <[email protected]> * Check backup consistency before importing workflow (#196) * Check backup consistency before importing workflow * Fix PHPDocs * Use existing category in backup_and_restore test * lifecycletrigger_categories: A bit of general refactoring * lifecycletrigger_categories: Don't fail if category doesn't exist * Add possibility to force import of errorneous backup * Use $force = false as default in restore_workflow:execute * Display only unique errors when Workflows causes multiple errors --------- Co-authored-by: Justus Dieckmann <[email protected]> Co-authored-by: NinaHerrmann <[email protected]> * CI: Update for Moodle 4.4 * Codestyle PHPCBF * Sort strings in lang files alphabetically * Fix sortindex gaps in upgrade step * Bump version * The columns in active_manual_workflows_table shouldn't be sortable * Shell escape the release notes in the release workflow (#207) Co-authored-by: Justus Dieckmann <[email protected]> * Fix mustache * added mtrace statement for logging failed mails (#214) * Shell escape release workflow for realsies this time (#208) --------- Co-authored-by: Justus Dieckmann <[email protected]> Co-authored-by: Philipp Memmel <[email protected]> Co-authored-by: Justus Dieckmann <[email protected]> Co-authored-by: Melanie Treitinger <[email protected]> Co-authored-by: KerstinSc <[email protected]> Co-authored-by: Kata <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.