Skip to content
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

[WIP] Replacement warnings #109

Merged
merged 5 commits into from
Apr 25, 2021
Merged

[WIP] Replacement warnings #109

merged 5 commits into from
Apr 25, 2021

Conversation

jaxwilko
Copy link
Member

This PR adds warnings to both the backend UI and the CLI to inform the user to remove replaced plugins.

Backend Example:
Backend UI

CLI Example:
CLI

modules/system/lang/en/lang.php Outdated Show resolved Hide resolved
modules/system/lang/en/lang.php Outdated Show resolved Hide resolved
@mjauvin
Copy link
Member

mjauvin commented Apr 23, 2021

Since both messages are so identical, should we only have one? Simpler to maintain/translate.

@jaxwilko
Copy link
Member Author

@mjauvin They're not quite the same as the start different:

This plugin replaces :alias (matches the format for the cli update where each class reports back info)
vs
The :plugin plugin replaces :alias (matches format of the backend ui)

@mjauvin
Copy link
Member

mjauvin commented Apr 23, 2021

I understand Jack, but the message for the UI could be used for both.

@mjauvin
Copy link
Member

mjauvin commented Apr 25, 2021

Can we merge this?

@mjauvin mjauvin added this to the v1.1.3 milestone Apr 25, 2021
@LukeTowers LukeTowers merged commit 59ee7c1 into develop Apr 25, 2021
@LukeTowers LukeTowers deleted the wip/replacement-warnings branch April 25, 2021 16:18
LukeTowers added a commit that referenced this pull request Apr 26, 2021
* develop: (95 commits)
  Fix unit tests
  Ensure route attributes from plugins are properly loaded
  Revert "Support ReportContainers that are aliases of real ReportContainers"
  Ensure all plugins are uninstalled when the system is uninstalled (#114)
  Add history of replacement plugins to the system_plugin_history table (#115)
  Warn when replaced plugins are still present (#109)
  Added plugin registration after loading (#113)
  Fixed issue with taglist when not readOnly but an array value
  Improve handling for null being passed to the ImageResizer
  Add discord badge
  Support ReportContainers that are aliases of real ReportContainers
  Fix registering of namespace aliases
  Use the database version of the plugin when determining database replacement actions
  Fix broken links
  Add support for plugin replacement / forking (#41)
  Add dependency required for the plugin replacement
  Bust the cache on the AJAX framework asset URLs
  Switch to actively maintained faker repository (#74)
  Improve display of changelog
  Improves Froala richeditor link insertion via the pagelinks plugin
  ...
LukeTowers added a commit that referenced this pull request May 14, 2021
* develop: (45 commits)
  Revert "Add class alias registration method to plugins (#152)" (#176)
  Add class alias registration method to plugins (#152)
  Improved Latvian translation (#142)
  Fixing styles for custom checkbox (#140)
  ImageResizer should support uppercase file extensions (#135)
  Improved Italian Translations (#134)
  Improved Latvian translation (#128)
  Update lang.php
  Only show plugin warnings for active replacements (#122)
  Fix unit tests
  Ensure route attributes from plugins are properly loaded
  Revert "Support ReportContainers that are aliases of real ReportContainers"
  Ensure all plugins are uninstalled when the system is uninstalled (#114)
  Add history of replacement plugins to the system_plugin_history table (#115)
  Warn when replaced plugins are still present (#109)
  Added plugin registration after loading (#113)
  Fixed issue with taglist when not readOnly but an array value
  Improve handling for null being passed to the ImageResizer
  Add discord badge
  Support ReportContainers that are aliases of real ReportContainers
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants