Skip to content

Commit

Permalink
Version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
magenizr committed May 8, 2023
1 parent 44fda9f commit dfcab84
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 152 deletions.
2 changes: 1 addition & 1 deletion Block/Adminhtml/System/Config/Environments/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand Down
2 changes: 1 addition & 1 deletion Block/Adminhtml/System/Config/Form/Field/Style.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand Down
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand Down
2 changes: 1 addition & 1 deletion Observer/Adminhtml/AddCss.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand Down
32 changes: 10 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,15 @@ anyone from accidentally changing content on the wrong environment.
- Magento 2.3.x, 2.4.x
- PHP 5.6.x, 7.x

## Installation (Composer)

1. Update your composer.json `composer require "magenizr/magento2-envbar":"1.0.2" --no-update`
2. Install dependencies and update your composer.lock `composer update --lock`

```
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing magenizr/magento2-envbar (1.0.2): Downloading (100%)
Writing lock file
Generating autoload files
```

## Installation (Composer 2)

1. Update your composer.json `composer require "magenizr/magento2-envbar":"1.0.2" --no-update`
1. Update your composer.json `composer require "magenizr/magento2-envbar":"^1.0" --no-update`
2. Use `composer update magenizr/magento2-envbar --no-install` to update your composer.lock file.

```
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
- Locking magenizr/magento2-envbar (1.0.2)
- Locking magenizr/magento2-envbar (1.0.3)
```

3. And then `composer install` to install the package.
Expand All @@ -43,7 +28,7 @@ Lock file operations: 1 install, 1 update, 0 removals
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
- Installing magenizr/magento2-envbar (1.0.2): Extracting archive
- Installing magenizr/magento2-envbar (1.0.3): Extracting archive
```

4. Enable the module and clear static content.
Expand All @@ -56,7 +41,7 @@ php bin/magento setup:upgrade
## Installation (Manually)

1. Download the code.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_Envbar_1.0.2.tar.gz`.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_Envbar_1.0.3.tar.gz`.
3. Copy the code into `./app/code/Magenizr/Envbar/`.
4. Enable the module and clear static content.

Expand All @@ -77,9 +62,7 @@ Simply go to `Stores > Configuration > Magenizr > Envbar` and enable the module

## Support

If you experience any issues, don't hesitate to open an issue
on [Github](https://github.com/magenizr/Magenizr_Envbar/issues). For a custom build, don't hesitate to contact us
on [Magento Marketplace](https://marketplace.magento.com/partner/magenizr).
If you experience any issues, don't hesitate to open an issue on [Github](https://github.com/magenizr/Magenizr_Envbar/issues).

## Purchase

Expand All @@ -91,6 +74,11 @@ Follow us on [GitHub](https://github.com/magenizr), [Twitter](https://twitter.co
and [Facebook](https://www.facebook.com/magenizr).

## History
===== 1.0.3 =====
* 2.4.6 compatibility tested
* Cleanup various files to meet coding standards (EQP, ECG)
* Remove InstallData.php, styles.css, default.xml

===== 1.0.2 =====
* Cleanup various files to meet coding standards (EQP, ECG)
* Replace InstallData with Data Patch
Expand Down
75 changes: 0 additions & 75 deletions Setup/InstallData.php

This file was deleted.

4 changes: 2 additions & 2 deletions Setup/Patch/Data/Defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand All @@ -20,7 +20,7 @@

class Defaults implements DataPatchInterface
{
protected const XML_PATH_ENV = 'magenizr_envbar/general/environments';
const XML_PATH_ENV = 'magenizr_envbar/general/environments';

/**
* @var ModuleDataSetupInterface
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "magenizr/magento2-envbar",
"type": "magento2-module",
"version": "1.0.2",
"version": "1.0.3",
"license": "OSL-3.0",
"description": "Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation. This should help backend users to identify the environment ( e.g local, develop, staging, production ) and prevent anyone from accidentally changing content on the wrong environment.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/events.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/
-->
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/
-->
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/
-->
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/
-->
Expand Down
8 changes: 0 additions & 8 deletions gulpfile.js

This file was deleted.

2 changes: 1 addition & 1 deletion registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Magenizr Envbar
*
* @copyright Copyright (c) 2021 Magenizr (https://www.magenizr.com)
* @copyright Copyright (c) 2021 - 2023 Magenizr (https://www.magenizr.com)
* @license https://www.magenizr.com/license Magenizr EULA
*/

Expand Down
16 changes: 0 additions & 16 deletions view/adminhtml/layout/default.xml

This file was deleted.

File renamed without changes.
19 changes: 0 additions & 19 deletions view/adminhtml/web/css/source/styles.css

This file was deleted.

0 comments on commit dfcab84

Please sign in to comment.