Skip to content

Forwardport 2.0.1 >2.1.0 #340

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

Merged
merged 40 commits into from
Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
dc4c34c
Adjusted UI form XML to be valid and accessible via the admin
Oct 19, 2020
6ef2428
Static fix
Oct 19, 2020
17f475c
Updated changelog
Oct 19, 2020
1f88ba4
Fixed gradle
Oct 19, 2020
aea74d8
Fixed gradle 2
Oct 19, 2020
59cbb44
Merge branch '2.0.0-develop' into pre-release
Oct 20, 2020
db9dcfe
Merge branch '2.0.0-develop' into form-adjustments
Oct 20, 2020
21dbf18
2.0.1-develop initial
Oct 20, 2020
5a6aa09
Fixing the dialog size. Fixing adding new fieldset
eduard13 Oct 21, 2020
82b4af3
Merge pull request #316 from magento/2.0.1-initial
Oct 21, 2020
e8e0302
Merge pull request #314 from magento/pre-release
coderimus Oct 21, 2020
84dbaf5
Merge branch '2.0.0-develop' into form-adjustments
Oct 21, 2020
b91149d
Merge branch '2.0.0-develop' into ui-form-fixes
Oct 21, 2020
2cfe5f4
Merge pull request #313 from magento/form-adjustments
coderimus Oct 21, 2020
8111673
Merging 2.0.0-develop
eduard13 Oct 22, 2020
33cd5c3
Fixing static tests
eduard13 Oct 22, 2020
d4cbc20
Merge branch 'ui-form-fixes' of https://github.com/eduard13/magento2-…
eduard13 Oct 22, 2020
0256104
Merge pull request #323 from eduard13/ui-form-fixes
Oct 22, 2020
838c274
Fixing name column
eduard13 Oct 22, 2020
5af67b8
Merge pull request #329 from eduard13/ui-form-fixes
Oct 22, 2020
38aa245
Fixed CHANGELOG.md
Oct 22, 2020
2154cc7
Merge branch '2.0.1-develop' of github.com:magento/magento2-phpstorm-…
Oct 22, 2020
05b5929
Fixed CHANGELOG.md
Oct 22, 2020
248dc0b
Merge pull request #334 from magento/forwardport-2.0.0->2.0.1
coderimus Oct 22, 2020
e546338
Fixed create new module action
Oct 22, 2020
dd7595b
Merge remote-tracking branch 'origin/fixed-module-generation-for-any-…
Oct 22, 2020
52f2f43
Merge pull request #335 from magento/fixed-module-generation-for-any-…
coderimus Oct 22, 2020
d8b22c4
Merge branch '2.1.0-develop' of github.com:magento/magento2-phpstorm-…
Oct 23, 2020
fa2c240
Merge branch '2.1.0-develop' into forwardport-2.0.1->2.1.0
Oct 23, 2020
afc7ba6
Merge branch '2.1.0-develop' into forwardport-2.0.1->2.1.0
Oct 23, 2020
5d46f5c
Fixed disabling plugin on a startup when Magento not in the root
Oct 23, 2020
238cb93
Fixed directory structure for the override in theme action
Oct 23, 2020
d77ecaf
Static fix
Oct 23, 2020
aa473de
Merge pull request #344 from magento/342-fixed-magento-path-suggestion
coderimus Oct 23, 2020
cd74ecc
Merge branch '2.0.1-develop' into coreected-file-structure-for-overri…
Oct 23, 2020
e0923e0
Merge branch '2.1.0-develop' into forwardport-2.0.1->2.1.0
Oct 23, 2020
0d39586
Merge branch '2.0.1-develop' of github.com:magento/magento2-phpstorm-…
Oct 23, 2020
06be179
Merge remote-tracking branch 'origin/forwardport-2.0.1->2.1.0' into f…
Oct 23, 2020
184a422
Merge pull request #348 from magento/coreected-file-structure-for-ove…
coderimus Oct 23, 2020
f904f74
Merge branch '2.0.1-develop' of github.com:magento/magento2-phpstorm-…
Oct 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Run automated tests

on:
pull_request:
branches: [ master, 2.0.0-develop, 2.1.0-develop ]
branches: [ master, 2.0.1-develop, 2.1.0-develop ]

jobs:
build-linux:
Expand Down
297 changes: 177 additions & 120 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,128 +1,185 @@
1.0.1
=============
* Features:
* Create a CLI command action
* Create a CRON group action
* Create a CRON job action
* Create a Controller action
* Code Inspection: Module declaration inspections in the scope of `module.xml` and `registration.php`
* Code Inspection: GraphQL resolver in the scope of a schema file
* Improvements:
* Fixed the positioning of all dialog popups
* Adjusted Magento root validation for consider `magento/framework` as a requirement
* Adjusted Magento version validation RegExp to support patch versions
* Fixed bugs:
* The `create a plugin action` is accessible from the wrong context
* Null pointer exception on the new module group

1.0.0
=============
* Features:
* RequireJS mapping support (reference navigation, completion)
* MFTF support MVP (reference navigation, completion)
* Line markers for navigation from a plugin class to a target class
* Line markers for navigation from a GraphQl resolver to schema and vice versa
* Create a plugin for a class public method
* Create a New Magento 2 Module action
* Create a Block action
* Create a View Model action
* Create a new Magento 2 module as a separate project
* Create an observer for an event action
* Create a GraphQL resolver action
* Override class by reference action
* Plugin class methods generation
* Code Inspection: Duplicated plugin Usage in di.xml
* Code Inspection: Plugin declaration in the scope of a Plugin Class
* Code Inspection: Warning regarding Cacheable false attribute in default XML
* Code Inspection: GraphQL resolver in the scope of a PHP Class
* Code Inspection: Duplicated Observer Usage in events XML
* Moved plugin configuration from `Settings > Preferences > Languages & Frameworks > PHP > Magento` to
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).

## 2.0.1

### Fixed

- Directories structure for the override in theme action
- Constant disabling plugin on startup if Magento not in the root
- New module generation for the default Magento version

## 2.0.0

### Added

- Inject a view model to a block and a reference block from the context menu action
- Override in Theme action
- Generate Listing UI component (including all required files)
- Generate Form UI component (including all required files)
- Code Inspection: ACL resource title
- Reference navigation and completion for `crontab.xml`
- Reference navigation and completion for `menu.xml`

### Changed

- Adjusted module version to module.xml (considering the Magento version)
- Adjusted support of variadic arguments to plugin declaration inspection

### Fixed
- Fixed missing first letter name in `composer.json`
- Fixed the CLI command namespace
- Fixed endless loop of notifications on launch
- Fix `composer.json` generation with module dependency that doesn't have `composer.json`

## 1.0.1

### Added

- Create a CLI command action
- Create a CRON group action
- Create a CRON job action
- Create a Controller action
- Code Inspection: Module declaration inspections in the scope of `module.xml` and `registration.php`
- Code Inspection: GraphQL resolver in the scope of a schema file

### Changed

- Fixed the positioning of all dialog popups
- Adjusted Magento root validation for consider `magento/framework` as a requirement
- Adjusted Magento version validation RegExp to support patch versions

### Fixed

- The `create a plugin action` is accessible from the wrong context
- Null pointer exception on the new module group

## 1.0.0

### Added

- RequireJS mapping support (reference navigation, completion)
- MFTF support MVP (reference navigation, completion)
- Line markers for navigation from a plugin class to a target class
- Line markers for navigation from a GraphQl resolver to schema and vice versa
- Create a plugin for a class public method
- Create a New Magento 2 Module action
- Create a Block action
- Create a View Model action
- Create a new Magento 2 module as a separate project
- Create an observer for an event action
- Create a GraphQL resolver action
- Override class by reference action
- Plugin class methods generation
- Code Inspection: Duplicated plugin Usage in di.xml
- Code Inspection: Plugin declaration in the scope of a Plugin Class
- Code Inspection: Warning regarding Cacheable false attribute in default XML
- Code Inspection: GraphQL resolver in the scope of a PHP Class
- Code Inspection: Duplicated Observer Usage in events XML
- Moved plugin configuration from `Settings > Preferences > Languages & Frameworks > PHP > Magento` to
`Settings > Preferences > Languages & Frameworks > PHP > Frameworks > Magento`
* Fixed support of 2020.* versions of IDE's

0.3.0
=============
* Features:
* Extended navigation from PHP class to its XML declaration to support any configs
* Documented local environment set up for plugin development
* Fixed bugs:
* Fixed NullPointerException

0.2.3
=============
* Features:
* Added JavaScript reference contributor
* Support references for each part of FQN of PHP class, methods, constants
* Support reference from XML/JavaScript for module name
* Support reference from XML/JavaScript for module element path (e.g. Magento_Catalog::product/list/addto/compare.phtml)
* Added project detector
* Move configuration section to "Languages & Frameworks > Php > Magento"
* Remove deprecated elements
- Fixed support of 202## 0.* versions of IDE's

## 0.3.0

### Added

- Extended navigation from PHP class to its XML declaration to support any configs
- Documented local environment set up for plugin development

### Fixed

- Fixed NullPointerException

## 0.2.3

### Added

- Added JavaScript reference contributor
- Support references for each part of FQN of PHP class, methods, constants
- Support reference from XML/JavaScript for module name
- Support reference from XML/JavaScript for module element path (e.g. Magento_Catalog::product/list/addto/compare.phtml)
- Added project detector
- Move configuration section to "Languages & Frameworks > Php > Magento"
- Remove deprecated elements

0.2.2
=============
* Features:
* Added Module name to configuration tooltip
* Fixed bugs:
* Fixed "Project disposed" exception
## 0.2.2

### Added

- Added Module name to configuration tooltip

### Fixed

- Fixed "Project disposed" exception

## 0.2.1

0.2.1
=============
* Features:
* added module name for "Goto configuration" labels
### Added

- added module name for "Goto configuration" labels

0.2.0
=============
* Features:
* WebApi routes
* nicer "Goto configuration" labels
* plugin settings (manual reindex, URN generation, plugin on/off)
## 0.2.0

### Added

- WebApi routes
- nicer "Goto configuration" labels
- plugin settings (manual reindex, URN generation, plugin on/off)

## 0.1

0.1
=============
* Features:
* Context type completion for:
* Observers completion only for ObserverInterface impl in events.xml
* Blocks completion only for BlockInterface name in layouts.xml
* Preference configuration in di.xml
* Type hinting for object arguments in di.xml
* @api usage inspection in Module context
* ObjectManager usage inspection in Module context
* virtualType arguments resolution
* webapi.xml interface/method completion/references
* Support for old people using PhpStorm 8 or JDK1.7
### Added

- Context type completion for:
- Observers completion only for ObserverInterface impl in events.xml
- Blocks completion only for BlockInterface name in layouts.xml
- Preference configuration in di.xml
- Type hinting for object arguments in di.xml
- @api usage inspection in Module context
- ObjectManager usage inspection in Module context
- virtualType arguments resolution
- webapi.xml interface/method completion/references
- Support for old people using PhpStorm 8 or JDK## 1.7

0.0.9
=============
* Features:
* Added Reference and completion support for layouts
* block: class, before, after
* referenceBlock: name
* move: element, destination, before, after
* remove: name
* update: handle
* referenceContainer: name
* Line marker reference for php class to Layout configuration

0.0.8
=============
* Features:
* Added Line marker reference for php class/interface to DI configuration
* Added Line marker reference to plugins

0.0.7
=============
* Features:
* Added reference to configuration and observers (classes or virtualType)
* Added reference to observers from configuration
* Added reference to event dispatch from configuration
## 0.0.9

### Added

- Added Reference and completion support for layouts
- block: class, before, after
- referenceBlock: name
- move: element, destination, before, after
- remove: name
- update: handle
- referenceContainer: name
- Line marker reference for php class to Layout configuration

## 0.0.8

### Added
- Added Line marker reference for php class/interface to DI configuration
- Added Line marker reference to plugins

## 0.0.7

### Added

- Added reference to configuration and observers (classes or virtualType)
- Added reference to observers from configuration
- Added reference to event dispatch from configuration

0.0.6
=============
* Features:
* Added reference and completion support for virtual types/classes/arguments in DI configuration
## 0.0.6

### Added

- Added reference and completion support for virtual types/classes/arguments in DI configuration

0.0.5
=============
* Features:
* Added reference support for classes/interfaces in DI configuration
## 0.0.5

### Added

- Added reference support for classes/interfaces in DI configuration
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
id 'org.jetbrains.intellij' version '0.4.22'
id 'checkstyle'
id 'pmd'
id 'org.jetbrains.changelog' version '0.6.2'
}

repositories {
Expand All @@ -19,6 +20,7 @@ version '2.1.0'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'org.jetbrains.changelog'

def phpPluginVersion = System.getProperty("phpPluginVersion", "201.7223.91")
def ideaVersion = System.getProperty("ideaVersion", "2020.1.1")
Expand Down Expand Up @@ -46,6 +48,10 @@ intellij {
sameSinceUntilBuild false
downloadSources !Boolean.valueOf(System.getenv('CI'))
sandboxDirectory "${project.rootDir}/.idea-sandbox"

patchPluginXml {
changeNotes({ changelog.getLatest().toHTML() })
}
}

sourceSets {
Expand Down Expand Up @@ -74,3 +80,14 @@ static def getDate() {
}

apply from: "${project.rootDir}/gradle-tasks/staticChecks.gradle"

changelog {
version = "${project.version}"
path = "${project.projectDir}/CHANGELOG.md"
header = { "[${project.version}] - ${getDate()}" }
headerParserRegex = ~/(\d+\.)?(\d+\.)?(\*|\d+)/
itemPrefix = "-"
keepUnreleasedSection = true
unreleasedTerm = "[Unreleased]"
groups = ["Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<item name="provider" xsi:type="string">${NAME}.${NAME}_data_source</item>
</item>
<item name="label" xsi:type="string" translate="true">${LABEL}</item>
<item name="template" xsi:type="string">templates/form/collapsible</item>
</argument>
<settings>
<namespace>${NAME}</namespace>
Expand All @@ -20,6 +21,11 @@
<settings>
<submitUrl path="${ROUTE}/${SUBMIT_CONTROLLER}/${SUBMIT_ACTION}"/>
</settings>
<dataProvider class="${DATA_PROVIDER}" name="${NAME}_data_source"/>
<dataProvider class="${DATA_PROVIDER}" name="${NAME}_data_source">
<settings>
<requestFieldName>${PRIMARY_FIELD}</requestFieldName>
<primaryFieldName>${PRIMARY_FIELD}</primaryFieldName>
</settings>
</dataProvider>
</dataSource>
</form>
Loading