Skip to content

Commit

Permalink
v1.5.0
Browse files Browse the repository at this point in the history
• Add API key
  • Loading branch information
ericjamesbye7 committed May 10, 2023
1 parent ac41147 commit 6f68710
Show file tree
Hide file tree
Showing 103 changed files with 15,900 additions and 15,833 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Ω nextcloud_openotp_auth.code-workspace
Ω nextcloud_openotp_auth.code-workspace
/.gitignore
/*.url
Ω*.*
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
1.5.0
- Add API Key
1.4.7
- Issue with signature
- Compatibility with v24 and v25 only
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rcdevs Openotp

RCDevs OpenOTP Plugin for Nextcloud version 1.4.7
RCDevs OpenOTP Plugin for Nextcloud version 1.5.0
Copyright (c) 2010-2022 RCDevs SA, All rights reserved.

This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -51,8 +51,8 @@ Authenticator - Mobile-OTP (mOTP) Software Tokens - SMS One-Time Passwords

### ********** INSTALLATION **********

Compatible Nextcloud 24.x to 25.X (Tested on 25.0.3)
Version 1.4.7
Compatible Nextcloud 24.x to 26.X (Tested on 26.0.0)
Version 1.5.0

1. If your PHP installation does not have the soap extension, install the php-soap
.. package for your Linux distribution. With RedHat, do it with 'yum install php-soap'.
Expand Down Expand Up @@ -88,6 +88,8 @@ Version 1.4.7

### ********** CHANGELOG **********

1.5.0
- Add API Key
1.4.7
- Issue with signature
- Compatibility with v24 and v25 only
Expand Down
132 changes: 66 additions & 66 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>openotp_auth</id>
<name>OpenOTP Two Factor Authentication</name>
<description>
**RCDevs OpenOTP Application enables two-factor authentication for your users using your personal Cloud.**

It is versatile, device-independent and based on opened security standards.

OpenOTP provides fine-grained user identity and access management (IAM), one-time passwords authentication technologies (OTP) and Universal Second Factor Authentification (U2F) including among others extensive authentication policies for your AD / LDAP users.

It is enterprise-ready with strong support for:

* high-availability
* load-balancing
* multi-tenancy
* geolocalization
* delegated administration
* contextual authentication with IP address and device fingerprint
* push Login technology with Mobile Phone
* voice biometrics technology
* easy installation, update and configuration in RCDevs WebADM
* ... and much more.
</description>
<summary>RCDevs OpenOTP Application enables Multi-Factor authentication for your users.</summary>
<licence>AGPL</licence>
<author>RCDevs</author>
<version>1.4.7</version>
<namespace>TwoFactor_RCDevsOpenOTP</namespace>
<category>security</category>
<types>
<prelogin/>
<authentication/>
</types>
<documentation>
<user>https://github.com/rcdevs/nextcloud_openotp_auth/blob/master/README.md</user>
<admin>https://docs.rcdevs.com/howtos/webadm_install/webadm_install/</admin>
</documentation>
<website>https://rcdevs.com</website>
<bugs>https://github.com/rcdevs/nextcloud_openotp_auth/issues</bugs>
<repository type="git">https://github.com/rcdevs/nextcloud_openotp_auth/tree/master</repository>
<two-factor-providers>
<provider>OCA\TwoFactor_RCDevsOpenOTP\Provider\TwoFactorRCDevsOpenOTPProvider</provider>
</two-factor-providers>
<settings>
<admin>OCA\TwoFactor_RCDevsOpenOTP\Settings\AdminSettings</admin>
<admin-section>\OCA\TwoFactor_RCDevsOpenOTP\Settings\AdminSection</admin-section>
<personal>OCA\TwoFactor_RCDevsOpenOTP\Settings\Personal</personal>
</settings>
<screenshot>https://raw.githubusercontent.com/rcdevs/nextcloud_openotp_auth/master/screenshots/administration-settings.png</screenshot>
<screenshot>https://raw.githubusercontent.com/rcdevs/nextcloud_openotp_auth/master/screenshots/loginscreen-by-otp.png</screenshot>
<dependencies>
<php min-version="5.5"/>
<lib>ldap</lib>
<nextcloud min-version="24" max-version="25" />
</dependencies>
<activity>
<settings>
<setting>OCA\TwoFactor_RCDevsOpenOTP\Activity\Setting</setting>
</settings>
<providers>
<provider>OCA\TwoFactor_RCDevsOpenOTP\Activity\Provider</provider>
</providers>
</activity>
</info>
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>openotp_auth</id>
<name>OpenOTP Two Factor Authentication</name>
<description>
**RCDevs OpenOTP Application enables two-factor authentication for your users using your personal Cloud.**

It is versatile, device-independent and based on opened security standards.

OpenOTP provides fine-grained user identity and access management (IAM), one-time passwords authentication technologies (OTP) and Universal Second Factor Authentification (U2F) including among others extensive authentication policies for your AD / LDAP users.

It is enterprise-ready with strong support for:

* high-availability
* load-balancing
* multi-tenancy
* geolocalization
* delegated administration
* contextual authentication with IP address and device fingerprint
* push Login technology with Mobile Phone
* voice biometrics technology
* easy installation, update and configuration in RCDevs WebADM
* ... and much more.
</description>
<summary>RCDevs OpenOTP Application enables Multi-Factor authentication for your users.</summary>
<licence>AGPL</licence>
<author>RCDevs</author>
<version>1.5.0</version>
<namespace>TwoFactor_RCDevsOpenOTP</namespace>
<category>security</category>
<types>
<prelogin/>
<authentication/>
</types>
<documentation>
<user>https://github.com/rcdevs/nextcloud_openotp_auth/blob/master/README.md</user>
<admin>https://docs.rcdevs.com/howtos/webadm_install/webadm_install/</admin>
</documentation>
<website>https://rcdevs.com</website>
<bugs>https://github.com/rcdevs/nextcloud_openotp_auth/issues</bugs>
<repository type="git">https://github.com/rcdevs/nextcloud_openotp_auth/tree/master</repository>
<two-factor-providers>
<provider>OCA\TwoFactor_RCDevsOpenOTP\Provider\TwoFactorRCDevsOpenOTPProvider</provider>
</two-factor-providers>
<settings>
<admin>OCA\TwoFactor_RCDevsOpenOTP\Settings\AdminSettings</admin>
<admin-section>\OCA\TwoFactor_RCDevsOpenOTP\Settings\AdminSection</admin-section>
<personal>OCA\TwoFactor_RCDevsOpenOTP\Settings\Personal</personal>
</settings>
<screenshot>https://raw.githubusercontent.com/rcdevs/nextcloud_openotp_auth/master/screenshots/administration-settings.png</screenshot>
<screenshot>https://raw.githubusercontent.com/rcdevs/nextcloud_openotp_auth/master/screenshots/loginscreen-by-otp.png</screenshot>
<dependencies>
<php min-version="5.5"/>
<lib>ldap</lib>
<nextcloud min-version="24" max-version="26" />
</dependencies>
<activity>
<settings>
<setting>OCA\TwoFactor_RCDevsOpenOTP\Activity\Setting</setting>
</settings>
<providers>
<provider>OCA\TwoFactor_RCDevsOpenOTP\Activity\Provider</provider>
</providers>
</activity>
</info>
64 changes: 32 additions & 32 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?php
/**
* Nexcloud - RCDevs OpenOTP Two-factor Authentication
*
* @package openotp_auth
* @author RCDevs
* @copyright 2018 RCDEVS [email protected]
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Displays <a href="http://opensource.org/licenses/AGPL-3.0">GNU AFFERO GENERAL PUBLIC LICENSE</a>
* @license http://opensource.org/licenses/AGPL-3.0 GNU AFFERO GENERAL PUBLIC LICENSE
*
*/
return [
'routes' => [
['name' => 'settings#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'settings#saveconfig', 'url' => '/saveconfig', 'verb' => 'POST'],
['name' => 'settings#checkServerUrl', 'url' => '/check_server_url', 'verb' => 'POST'],
]
];

<?php
/**
* Nexcloud - RCDevs OpenOTP Two-factor Authentication
*
* @package openotp_auth
* @author RCDevs
* @copyright 2018 RCDEVS [email protected]
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Displays <a href="http://opensource.org/licenses/AGPL-3.0">GNU AFFERO GENERAL PUBLIC LICENSE</a>
* @license http://opensource.org/licenses/AGPL-3.0 GNU AFFERO GENERAL PUBLIC LICENSE
*
*/
return [
'routes' => [
['name' => 'settings#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'settings#saveconfig', 'url' => '/saveconfig', 'verb' => 'POST'],
['name' => 'settings#checkServerUrl', 'url' => '/check_server_url', 'verb' => 'POST'],
]
];
106 changes: 53 additions & 53 deletions css/settings.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
#openotp_settings{ width:886px; display:block; }
#openotp_general_settings p.p_checkbox { padding-top:3px; }
#openotp_general_settings p label {
display: inline-block;
vertical-align: top;
padding-top: 9px;
}

#openotp_general_settings input[type="text"], #openotp_settings textarea {
width: 70%;
max-width: 200px;
display: inline-block;
}
#openotp_general_settings p label.for_text, #openotp_general_settings p label.for_checkbox, #openotp_general_settings p label.for_text {
width:600px;
}
#openotp_general_settings p label.for_text{
width: 20%;
max-width: 200px;
}
#openotp_general_settings p label.for_checkbox{
padding-top:0;
vertical-align: middle;
}
#openotp_general_settings p label.radio_group_label{
padding-bottom:5px;
font-weight:bold;
}
#openotp_general_settings #message, #openotp_personnal_settings #message{ display:none; }
#openotp_general_settings #message.success, #openotp_personnal_settings #message.success{ color:green; }
#openotp_general_settings #message.error, #openotp_personnal_settings #message.error, span.error{ color:red; }

span.success{ background: #37ce02; border-radius: 3px; }
span.error{ background: #ce3702; border-radius: 3px; }


#openotp_general_settings .message_check_server_url{ border:1px solid #37ce02; display: inline-block }
#openotp_general_settings #message_status{ position:relative; top:-1px; }
#openotp_general_settings #check_server_loading{ position:absolute; left:142px; top:12px; display:none; }
#openotp_general_settings span.error{ border-radius: 3px; }

.nav-icon-openotp-two-factor-authentication {
background-image: url('../img/app-dark.svg');
}

.openotp_ui_button_red.primary {
background-color: red;
}

#u2f_button {
display: none;
margin: 0 auto;
margin-bottom: 20px;
#openotp_settings{ width:886px; display:block; }
#openotp_general_settings p.p_checkbox { padding-top:3px; }
#openotp_general_settings p label {
display: inline-block;
vertical-align: top;
padding-top: 9px;
}

#openotp_general_settings input[type="text"], #openotp_settings textarea {
width: 70%;
max-width: 200px;
display: inline-block;
}
#openotp_general_settings p label.for_text, #openotp_general_settings p label.for_checkbox, #openotp_general_settings p label.for_text {
width:600px;
}
#openotp_general_settings p label.for_text{
width: 20%;
max-width: 200px;
}
#openotp_general_settings p label.for_checkbox{
padding-top:0;
vertical-align: middle;
}
#openotp_general_settings p label.radio_group_label{
padding-bottom:5px;
font-weight:bold;
}
#openotp_general_settings #message, #openotp_personnal_settings #message{ display:none; }
#openotp_general_settings #message.success, #openotp_personnal_settings #message.success{ color:green; }
#openotp_general_settings #message.error, #openotp_personnal_settings #message.error, span.error{ color:red; }

span.success{ background: #37ce02; border-radius: 3px; }
span.error{ background: #ce3702; border-radius: 3px; }


#openotp_general_settings .message_check_server_url{ border:1px solid #37ce02; display: inline-block }
#openotp_general_settings #message_status{ position:relative; top:-1px; }
#openotp_general_settings #check_server_loading{ position:absolute; left:142px; top:12px; display:none; }
#openotp_general_settings span.error{ border-radius: 3px; }

.nav-icon-openotp-two-factor-authentication {
background-image: url('../img/app-dark.svg');
}

.openotp_ui_button_red.primary {
background-color: red;
}

#u2f_button {
display: none;
margin: 0 auto;
margin-bottom: 20px;
}
Loading

0 comments on commit 6f68710

Please sign in to comment.