mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #1188 from creative-commoners/pulls/6/remove-legacy-upgrader
MNT Remove legacy upgrader config
This commit is contained in:
commit
232f1ac8a6
63
.upgrade.yml
63
.upgrade.yml
@ -1,63 +0,0 @@
|
|||||||
mappings:
|
|
||||||
SecureEditableFileField: SilverStripe\UserForms\Extension\SecureEditableFileField
|
|
||||||
UserFormFieldEditorExtension: SilverStripe\UserForms\Extension\UserFormFieldEditorExtension
|
|
||||||
UserFormValidator: SilverStripe\UserForms\Extension\UserFormValidator
|
|
||||||
GridFieldAddClassesButton: SilverStripe\UserForms\Form\GridFieldAddClassesButton
|
|
||||||
UserForm: SilverStripe\UserForms\Form\UserForm
|
|
||||||
UserFormsGridFieldFilterHeader: SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader
|
|
||||||
UserFormsCheckboxSetField: SilverStripe\UserForms\FormField\UserFormsCheckboxSetField
|
|
||||||
UserFormsCompositeField: SilverStripe\UserForms\FormField\UserFormsCompositeField
|
|
||||||
UserFormsFieldContainer: SilverStripe\UserForms\FormField\UserFormsFieldContainer
|
|
||||||
UserFormsFieldList: SilverStripe\UserForms\FormField\UserFormsFieldList
|
|
||||||
UserFormsGroupField: SilverStripe\UserForms\FormField\UserFormsGroupField
|
|
||||||
UserFormsStepField: SilverStripe\UserForms\FormField\UserFormsStepField
|
|
||||||
EditableCustomRule: SilverStripe\UserForms\Model\EditableCustomRule
|
|
||||||
UserDefinedForm: SilverStripe\UserForms\Model\UserDefinedForm
|
|
||||||
UserDefinedFormController: SilverStripe\UserForms\Control\UserDefinedFormController
|
|
||||||
EditableCheckbox: SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox
|
|
||||||
EditableCheckboxGroupField: SilverStripe\UserForms\Model\EditableFormField\EditableCheckboxGroupField
|
|
||||||
EditableCountryDropdownField: SilverStripe\UserForms\Model\EditableFormField\EditableCountryDropdownField
|
|
||||||
EditableDateField: SilverStripe\UserForms\Model\EditableFormField\EditableDateField
|
|
||||||
EditableDateField_FormField: SilverStripe\UserForms\Model\EditableFormField\EditableDateField\FormField
|
|
||||||
EditableDropdown: SilverStripe\UserForms\Model\EditableFormField\EditableDropdown
|
|
||||||
EditableEmailField: SilverStripe\UserForms\Model\EditableFormField\EditableEmailField
|
|
||||||
EditableFieldGroup: SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroup
|
|
||||||
EditableFieldGroupEnd: SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroupEnd
|
|
||||||
EditableFileField: SilverStripe\UserForms\Model\EditableFormField\EditableFileField
|
|
||||||
EditableFormField: SilverStripe\UserForms\Model\EditableFormField
|
|
||||||
EditableFormFieldValidator: SilverStripe\UserForms\Model\EditableFormField\Validator
|
|
||||||
EditableFormHeading: SilverStripe\UserForms\Model\EditableFormField\EditableFormHeading
|
|
||||||
EditableFormStep: SilverStripe\UserForms\Model\EditableFormField\EditableFormStep
|
|
||||||
EditableLiteralField: SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField
|
|
||||||
EditableMemberListField: SilverStripe\UserForms\Model\EditableFormField\EditableMemberListField
|
|
||||||
EditableMultipleOptionField: SilverStripe\UserForms\Model\EditableFormField\EditableMultipleOptionField
|
|
||||||
EditableNumericField: SilverStripe\UserForms\Model\EditableFormField\EditableNumericField
|
|
||||||
EditableOption: SilverStripe\UserForms\Model\EditableFormField\EditableOption
|
|
||||||
EditableRadioField: SilverStripe\UserForms\Model\EditableFormField\EditableRadioField
|
|
||||||
EditableTextField: SilverStripe\UserForms\Model\EditableFormField\EditableTextField
|
|
||||||
UserDefinedForm_EmailRecipient: SilverStripe\UserForms\Model\Recipient\EmailRecipient
|
|
||||||
UserDefinedForm_EmailRecipientCondition: SilverStripe\UserForms\Model\Recipient\EmailRecipientCondition
|
|
||||||
UserFormRecipientItemRequest: SilverStripe\UserForms\Model\Recipient\UserFormRecipientItemRequest
|
|
||||||
SubmittedFileField: SilverStripe\UserForms\Model\Submission\SubmittedFileField
|
|
||||||
SubmittedForm: SilverStripe\UserForms\Model\Submission\SubmittedForm
|
|
||||||
SubmittedFormField: SilverStripe\UserForms\Model\Submission\SubmittedFormField
|
|
||||||
DisambiguationSegmentFieldModifier: SilverStripe\UserForms\Modifier\DisambiguationSegmentFieldModifier
|
|
||||||
UnderscoreSegmentFieldModifier: SilverStripe\UserForms\Modifier\UnderscoreSegmentFieldModifier
|
|
||||||
UserFormsColumnCleanTask: SilverStripe\UserForms\Task\UserFormsColumnCleanTask
|
|
||||||
UserFormTest: SilverStripe\UserForms\Tests\Form\UserFormTest
|
|
||||||
UserFormsCheckboxSetFieldTest: SilverStripe\UserForms\Tests\FormField\UserFormsCheckboxSetFieldTest
|
|
||||||
EditableCustomRuleTest: SilverStripe\UserForms\Tests\Model\EditableCustomRuleTest
|
|
||||||
UserDefinedFormControllerTest: SilverStripe\UserForms\Tests\Control\UserDefinedFormControllerTest
|
|
||||||
UserDefinedFormTest: SilverStripe\UserForms\Tests\Model\UserDefinedFormTest
|
|
||||||
EditableDropdownTest: SilverStripe\UserForms\Tests\Model\EditableFormField\EditableDropdownTest
|
|
||||||
EditableFileFieldTest: SilverStripe\UserForms\Tests\Model\EditableFormField\EditableFileFieldTest
|
|
||||||
EditableFormFieldTest: SilverStripe\UserForms\Tests\Model\EditableFormFieldTest
|
|
||||||
EditableLiteralFieldTest: SilverStripe\UserForms\Tests\Model\EditableFormField\EditableLiteralFieldTest
|
|
||||||
SecureEditableFileFieldTest: SilverStripe\UserForms\Tests\Model\EditableFormField\SecureEditableFileFieldTest
|
|
||||||
UserDefinedForm_EmailRecipientConditionTest: SilverStripe\UserForms\Tests\Model\Recipient\EmailRecipientConditionTest
|
|
||||||
|
|
||||||
warnings:
|
|
||||||
methods:
|
|
||||||
'SilverStripe\UserForms\Model\EditableFormField->EffectiveDisplayRules()':
|
|
||||||
message: 'EffectiveDisplayRules deprecated because of new support for conditional required field'
|
|
||||||
url: 'https://github.com/silverstripe/silverstripe-userforms/pull/770/'
|
|
@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
Name: userformslegacy
|
|
||||||
---
|
|
||||||
SilverStripe\ORM\DatabaseAdmin:
|
|
||||||
classname_value_remapping:
|
|
||||||
EditableCheckbox: SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox
|
|
||||||
EditableCheckboxGroupField: SilverStripe\UserForms\Model\EditableFormField\EditableCheckboxGroupField
|
|
||||||
EditableCountryDropdownField: SilverStripe\UserForms\Model\EditableFormField\EditableCountryDropdownField
|
|
||||||
EditableDateField: SilverStripe\UserForms\Model\EditableFormField\EditableDateField
|
|
||||||
EditableDropdown: SilverStripe\UserForms\Model\EditableFormField\EditableDropdown
|
|
||||||
EditableEmailField: SilverStripe\UserForms\Model\EditableFormField\EditableEmailField
|
|
||||||
EditableFieldGroup: SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroup
|
|
||||||
EditableFieldGroupEnd: SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroupEnd
|
|
||||||
EditableFileField: SilverStripe\UserForms\Model\EditableFormField\EditableFileField
|
|
||||||
EditableFormHeading: SilverStripe\UserForms\Model\EditableFormField\EditableFormHeading
|
|
||||||
EditableFormStep: SilverStripe\UserForms\Model\EditableFormField\EditableFormStep
|
|
||||||
EditableLiteralField: SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField
|
|
||||||
EditableMemberListField: SilverStripe\UserForms\Model\EditableFormField\EditableMemberListField
|
|
||||||
EditableMultipleOptionField: SilverStripe\UserForms\Model\EditableFormField\EditableMultipleOptionField
|
|
||||||
EditableNumericField: SilverStripe\UserForms\Model\EditableFormField\EditableNumericField
|
|
||||||
EditableOption: SilverStripe\UserForms\Model\EditableFormField\EditableOption
|
|
||||||
EditableRadioField: SilverStripe\UserForms\Model\EditableFormField\EditableRadioField
|
|
||||||
EditableTextField: SilverStripe\UserForms\Model\EditableFormField\EditableTextField
|
|
||||||
UserDefinedForm_EmailRecipient: SilverStripe\UserForms\Model\Recipient\EmailRecipient
|
|
||||||
UserDefinedForm_EmailRecipientCondition: SilverStripe\UserForms\Model\Recipient\EmailRecipientCondition
|
|
||||||
SubmittedFileField: SilverStripe\UserForms\Model\Submission\SubmittedFileField
|
|
||||||
SubmittedForm: SilverStripe\UserForms\Model\Submission\SubmittedForm
|
|
||||||
SubmittedFormField: SilverStripe\UserForms\Model\Submission\SubmittedFormField
|
|
||||||
EditableCustomRule: SilverStripe\UserForms\Model\EditableCustomRule
|
|
||||||
EditableFormField: SilverStripe\UserForms\Model\EditableFormField
|
|
||||||
UserDefinedForm: SilverStripe\UserForms\Model\UserDefinedForm
|
|
@ -178,7 +178,6 @@ class UserDefinedFormController extends PageController
|
|||||||
public function Form()
|
public function Form()
|
||||||
{
|
{
|
||||||
$form = UserForm::create($this, 'Form_' . $this->ID);
|
$form = UserForm::create($this, 'Form_' . $this->ID);
|
||||||
/** @skipUpgrade */
|
|
||||||
$form->setFormAction(Controller::join_links($this->Link(), 'Form'));
|
$form->setFormAction(Controller::join_links($this->Link(), 'Form'));
|
||||||
$this->generateConditionalJavascript();
|
$this->generateConditionalJavascript();
|
||||||
return $form;
|
return $form;
|
||||||
|
@ -36,7 +36,6 @@ class EditableMemberListField extends EditableFormField
|
|||||||
$fields->removeByName('Default');
|
$fields->removeByName('Default');
|
||||||
$fields->removeByName('Validation');
|
$fields->removeByName('Validation');
|
||||||
|
|
||||||
/** @skipUpgrade */
|
|
||||||
$fields->addFieldToTab(
|
$fields->addFieldToTab(
|
||||||
'Root.Main',
|
'Root.Main',
|
||||||
DropdownField::create(
|
DropdownField::create(
|
||||||
|
@ -32,7 +32,6 @@ class EditableTextField extends EditableFormField
|
|||||||
|
|
||||||
private static $has_placeholder = true;
|
private static $has_placeholder = true;
|
||||||
|
|
||||||
/** @skipUpgrade */
|
|
||||||
private static $autocomplete_options = [
|
private static $autocomplete_options = [
|
||||||
'off' => 'Off',
|
'off' => 'Off',
|
||||||
'on' => 'On',
|
'on' => 'On',
|
||||||
|
@ -152,7 +152,6 @@ class EmailRecipient extends DataObject
|
|||||||
{
|
{
|
||||||
$fields = parent::summaryFields();
|
$fields = parent::summaryFields();
|
||||||
if (isset($fields['EmailAddress'])) {
|
if (isset($fields['EmailAddress'])) {
|
||||||
/** @skipUpgrade */
|
|
||||||
$fields['EmailAddress'] = _t('SilverStripe\\UserForms\\Model\\UserDefinedForm.EMAILADDRESS', 'Email');
|
$fields['EmailAddress'] = _t('SilverStripe\\UserForms\\Model\\UserDefinedForm.EMAILADDRESS', 'Email');
|
||||||
}
|
}
|
||||||
if (isset($fields['EmailSubject'])) {
|
if (isset($fields['EmailSubject'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user