Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Fix issues with plugin app_config field. #54

Merged
merged 7 commits into from
Jul 13, 2015

Conversation

cyberstar
Copy link

Introduces:

  • Perform app_config filtering for plugins;
  • display app configs that exist but either not app hooked or page is not published in a help text;
  • prevent 500 if app hook was deleted (for plugins);
  • change help text for app_config field (no migration);
  • test cases for testing if error message is displayed and if page with plugins are accessible even though app hook or JobsConfig was deleted.

Should fix #66

@cyberstar cyberstar force-pushed the issue/fix-plugin-forms-with-respect-to-apphooks branch from bba4f9e to be765fc Compare July 9, 2015 16:02
@cyberstar
Copy link
Author

rebased.

@@ -1,5 +1,10 @@
{% load i18n apphooks_config_tags %}
<div class="aldryn aldryn-jobs aldryn-jobs-categories">
{% if plugin_configuration_error %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cyberstar be aware that this changed in: #61

@cyberstar cyberstar force-pushed the issue/fix-plugin-forms-with-respect-to-apphooks branch from 18a5d63 to 30da040 Compare July 10, 2015 11:37
@cyberstar
Copy link
Author

rebased.

@@ -2,6 +2,11 @@

<div class="aldryn aldryn-jobs aldryn-jobs-categories">
<div class="list-group">
{% if plugin_configuration_error %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing indent

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be outside of the list group

@mkoistinen
Copy link
Contributor

LGTM

1 similar comment
@FinalAngel
Copy link
Contributor

LGTM

Kirill Kniazev and others added 6 commits July 13, 2015 10:57
Perform app_config filtering;
display app configs that exist but either not app hooked or page is not published;
prevent 500 if apphook was deleted (for plugins);
change help text for app_config field (no migration).
Basicly most test cases could be adapted form NewsletterRegistration test cases.
@cyberstar cyberstar force-pushed the issue/fix-plugin-forms-with-respect-to-apphooks branch from d20a415 to d919a8e Compare July 13, 2015 08:21
@cyberstar
Copy link
Author

rebased

@FinalAngel
Copy link
Contributor

FE LGTM

cyberstar pushed a commit that referenced this pull request Jul 13, 2015
…t-to-apphooks

Fix issues with plugin app_config field.
@cyberstar cyberstar merged commit b12e8e7 into master Jul 13, 2015
@cyberstar cyberstar deleted the issue/fix-plugin-forms-with-respect-to-apphooks branch July 13, 2015 12:14
cyberstar pushed a commit that referenced this pull request Jul 13, 2015
Also small fix for version controlled content for jobs content.
Relyes on PR #54 (which introduces namespace_is_apphooked)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants