File tree 40 files changed +42
-39
lines changed
design/adminhtml/base/default/template/twofactor
40 files changed +42
-39
lines changed Original file line number Diff line number Diff line change 86
86
- Fixed GH-11 , Admin Base URL Missing From Admin Email
87
87
- Fixed GH-12 , Email Is Sent To Inactive Admin Users On Ban
88
88
- Fixed GH-13 , Replace 'mt_rand' With 'random_int'
89
+
90
+ ## Version 1.1.5
91
+ - Merged PR-28, Replacing QR code provider, thanks @marcogruhl !
Original file line number Diff line number Diff line change 3
3
4
4
![ ] ( https://img.shields.io/badge/Magento-1-orange.svg?style=for-the-badge )
5
5
![ ] ( https://img.shields.io/badge/License-MIT-orange.svg?style=for-the-badge )
6
- ![ ] ( https://img.shields.io/badge/Version-1.1.4 -orange.svg?style=for-the-badge )
6
+ ![ ] ( https://img.shields.io/badge/Version-1.1.5 -orange.svg?style=for-the-badge )
7
7
![ ] ( https://img.shields.io/badge/Stability-Stable-orange.svg?style=for-the-badge )
8
8
9
9
<p align =" center " >
Original file line number Diff line number Diff line change 2
2
"name" : " jetrails/magento-twofactor" ,
3
3
"description" : " User based 2FA enablement for admin users in Magento 1.x" ,
4
4
"type" : " magento-module" ,
5
- "version" : " 1.1.4 " ,
5
+ "version" : " 1.1.5 " ,
6
6
"license" : " MIT" ,
7
7
"homepage" : " https://github.com/jetrails/magento-twofactor" ,
8
8
"authors" : [
Original file line number Diff line number Diff line change 10
10
<extends />
11
11
<summary >The JetRails 2FA plugin adds an extra layer of security to your Magento store. User-based 2FA enablement ensures that admin users are following best security practices.</summary >
12
12
<description >https://github.com/jetrails/magento-twofactor</description >
13
- <notes >Released Version 1.1.4 </notes >
13
+ <notes >Released Version 1.1.5 </notes >
14
14
<authors >
15
15
<author >
16
16
<name >Rafael Grigorian</name >
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 1.1.4 " ,
2
+ "version" : " 1.1.5 " ,
3
3
"name" : " magento-twofactor" ,
4
4
"description" : " User based 2FA enablement for admin users in Magento 1.x" ,
5
5
"author" : " Rafael Grigorian" ,
Original file line number Diff line number Diff line change 4
4
* Edit.php - This class exists to simply tell Magento's grid system where to look for the
5
5
* proper controller for the configure page. It also specifies the proper block group within
6
6
* the constructor.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Configure
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Form.php - This class initializes the form, field-set, and form fields that will exist on the
5
5
* configure page. All information is set in the _prepareForm method.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Edit
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Container.php - This class exists to simply tell Magento's grid system where to look for the
5
5
* proper controller for the configure page. It also specifies the proper block group within
6
6
* the constructor.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Manage
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Grid.php - This class defines what collection to use for the grid collection. It also
5
5
* defines all the columns for the grid widget. Additionally it defines all the mass-action
6
6
* options for the widget grid.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Container
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Address.php - This class is a renderer class that is used with the grid widget's columns.
5
5
* These classes are used to load information from the authentication model using the admin
6
6
* user's id.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Manage
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* State.php - This class is a renderer class that is used with the grid widget's columns.
5
5
* These classes are used to load information from the authentication model using the admin
6
6
* user's id.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Manage
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Status.php - This class is a renderer class that is used with the grid widget's columns.
5
5
* These classes are used to load information from the authentication model using the admin
6
6
* user's id.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Manage
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Timestamp.php - This class is a renderer class that is used with the grid widget's columns.
5
5
* These classes are used to load information from the authentication model using the admin
6
6
* user's id.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Manage
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Backup.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Banned.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Scan.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Verify.php - This function aids the Verify template. This block offers helpful function that
5
5
* are used within the template, such as suppling the form action and stylesheet URL.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Cookie.php - This helper class contains functions that deal with cookie creation, deletion,
5
5
* and authentication. This cookie class is used to aid in the "remember for x days"
6
6
* functionality.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Helper
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 7
7
* user. This class also contains methods to get the configuration data which are extracted
8
8
* using Magento's getConfig method and supplying the with the XPATH constants which are defined
9
9
* internally.
10
- * @version 1.1.4
10
+ * @version 1.1.5
11
11
* @package JetRails® TwoFactor
12
12
* @category Helper
13
13
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* pins. It is very flexible and can be initialized to different sized secrets and pins.
6
6
* Although the default values conform to the generally accepted configuration for 2FA. Apps
7
7
* such as Authy and Google Authenticator use the default configuration.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Helper
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 7
7
* passed TOTP pin, and registers failed authentication attempts. In addition the constants
8
8
* that are defined within this class are used throughout the module and are accessed
9
9
* statically.
10
- * @version 1.1.4
10
+ * @version 1.1.5
11
11
* @package JetRails® TwoFactor
12
12
* @category Model
13
13
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Notify.php - This class contains methods that help log and communicate messages. Messages
5
5
* can be logged into a custom log file, the logged in admin user can be notified, or all admin
6
6
* users in the 'Administrators' role can be notified.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Model
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* config.xml file. This observer fires before any adminhtml action gets executed. This way if
6
6
* a user is not authenticated, we can ban access to those actions and redirect to the
7
7
* verification page.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Model
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Page.php - This class contains the page route constants that are used throughout the module.
5
5
* It also contains methods that link the state to the associated route.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Model
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Auth.php - This class is the resource model for the authentication model. There is not much
5
5
* going on here other than the standard setup. The database table and primary column is
6
6
* defined in the constructor and auto incrementing primary key on data save is disabled.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Resource Model
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* here in order to ensure 2FA authentication before forcing admin password change. The Pci
6
6
* module is only available for EE versions of Magento and therefore this observer will only
7
7
* run on enterprise versions of Magento.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Model
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* This basically means that based on the state of authentication, we can redirect user's to the
6
6
* proper pages to ensure that their two-factor authentication accounts are setup. The values as
7
7
* they relate to the user can be found in the authentication model.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Model
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* This basically means if the status is set to enabled for a user, then two-factor
6
6
* authentication is enforced for the user. The values as they relate to the user can be found
7
7
* in the authentication model.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Model
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* be found in the "JetRails/Two-Factor Authentication" menu tab. It handles the rendering of
6
6
* that page as well as all the actions that are submitted with the grid container that the
7
7
* index action renders.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Controllers
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* their two-factor authentication account. Actions that render the verification page as well
6
6
* as the banned page that a user will see on failed login are all encapsulated within this
7
7
* controller.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Controllers
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 5
5
* found in the "JetRails/Two-Factor Authentication" menu tab. It handles the rendering of that
6
6
* page as well as all the actions that are submitted with the grid container that the index
7
7
* action renders.
8
- * @version 1.1.4
8
+ * @version 1.1.5
9
9
* @package JetRails® TwoFactor
10
10
* @category Controllers
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* SetupController.php - This controller contains all actions that relate to setting up the two
5
5
* factor authentication on an admin user's account. Actions that render both the scan and
6
6
* backup pages for setup, as well as an action that resets the whole process for an admin user.
7
- * @version 1.1.4
7
+ * @version 1.1.5
8
8
* @package JetRails® TwoFactor
9
9
* @category Controllers
10
10
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
<config >
4
4
<modules >
5
5
<JetRails_TwoFactor >
6
- <version >1.1.4 </version >
6
+ <version >1.1.5 </version >
7
7
</JetRails_TwoFactor >
8
8
</modules >
9
9
<admin >
Original file line number Diff line number Diff line change 3
3
/**
4
4
* backup.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* banned.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* logout.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* message.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* page.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* scan.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* verify.phtml - These page templates are rendered with the help of the block classes that are
5
5
* found under the Template folder for this module.
6
- * @version 1.1.4
6
+ * @version 1.1.5
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
You can’t perform that action at this time.
0 commit comments