Changeset 2829541
- Timestamp:
- 12/06/2022 05:42:50 PM (3 years ago)
- Location:
- hello-login/trunk
- Files:
-
- 6 edited
-
CHANGELOG.md (modified) (1 diff)
-
hello-login.php (modified) (3 diffs)
-
includes/hello-login-client-wrapper.php (modified) (2 diffs)
-
includes/hello-login-settings-page.php (modified) (4 diffs)
-
languages/hello-login.pot (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hello-login/trunk/CHANGELOG.md
r2828854 r2829541 1 1 # Hellō Login Changelog 2 3 ## 1.0.9 4 5 * Fix: disable caching on REST API response 6 * Improvement: enable logging by default 7 * Improvement: content changes on plugin settings page 2 8 3 9 ## 1.0.8 -
hello-login/trunk/hello-login.php
r2828854 r2829541 17 17 * Plugin URI: https://github.com/hellocoop/wordpress 18 18 * Description: Free and simple to setup plugin provides registration and login with the Hellō Wallet. Users choose from popular social login, email, or crypto wallet. Setup in 7 clicks, not 7 hours. 19 * Version: 1.0. 819 * Version: 1.0.9 20 20 * Requires at least: 4.9 21 21 * Requires PHP: 7.2 … … 85 85 * @var string 86 86 */ 87 const VERSION = '1.0. 8';87 const VERSION = '1.0.9'; 88 88 89 89 /** … … 381 381 'redirect_user_back' => defined( 'OIDC_REDIRECT_USER_BACK' ) ? intval( OIDC_REDIRECT_USER_BACK ) : 1, 382 382 'redirect_on_logout' => defined( 'OIDC_REDIRECT_ON_LOGOUT' ) ? intval( OIDC_REDIRECT_ON_LOGOUT ) : 1, 383 'enable_logging' => 0,383 'enable_logging' => 1, 384 384 'log_limit' => 1000, 385 385 ) -
hello-login/trunk/includes/hello-login-client-wrapper.php
r2828550 r2829541 188 188 * 189 189 * @param WP_REST_Request $request The REST request object. 190 * @return array|WP_Error A Hello service authentication URL.190 * @return WP_REST_Response|WP_Error A Hello service authentication URL. 191 191 */ 192 192 public function rest_auth_url( WP_REST_Request $request ) { … … 210 210 } 211 211 212 returnarray(212 $body = array( 213 213 'url' => $this->get_authentication_url( $atts ), 214 214 ); 215 216 $response = new WP_REST_Response( $body ); 217 $response->set_headers( array( 'Cache-Control' => 'no-cache' ) ); 218 219 return $response; 215 220 } 216 221 -
hello-login/trunk/includes/hello-login-settings-page.php
r2828854 r2829541 489 489 490 490 <?php if ( empty( $this->settings->client_id ) ) { ?> 491 <p> The Hellō Login plug-in uses the Hellō Quickstart to get you up and running in seconds.</p>491 <p><h2>To use Hellō, you must configure your site. Hellō Quickstart will get you up and running in seconds. You will create a Hellō Wallet if you don't have one already</h2></p> 492 492 493 493 <form method="get" action="https://quickstart.hello.coop/"> … … 504 504 505 505 <?php if ( empty( get_user_meta( get_current_user_id(), 'hello-login-subject-identity', true ) ) ) { ?> 506 <p id="link-hello-wallet"> You are logged in with a username and a password. Link your Hellō Wallet to use Hellō in the future.</p>506 <p id="link-hello-wallet"><h2>You are logged in with a username and a password. Link your Hellō Wallet to use Hellō in the future.</h2></p> 507 507 <button class="hello-btn" data-label="ō Link Hellō" onclick="navigateToHelloAuthRequestUrl('<?php print esc_js( $api_url ); ?>', '')"></button> 508 508 <?php } ?> … … 517 517 ?> 518 518 </form> 519 520 <?php } ?>521 522 <?php if ( isset( $_GET['debug'] ) ) { ?>523 <h4>Debug</h4>524 <p>Hellō user id: <code><?php print esc_html( get_user_meta( get_current_user_id(), 'hello-login-subject-identity', true ) ) ?></code></p>525 <pre>526 <?php print esc_html( var_dump( $this->settings->get_values() ) ); ?>527 </pre>528 }529 <?php } ?>530 519 531 520 <h4><?php esc_html_e( 'Notes', 'hello-login' ); ?></h4> … … 544 533 </p> 545 534 535 <?php } ?> 536 537 <?php if ( isset( $_GET['debug'] ) ) { ?> 538 <h4>Debug</h4> 539 <p>Hellō user id: <code><?php print esc_html( get_user_meta( get_current_user_id(), 'hello-login-subject-identity', true ) ) ?></code></p> 540 <pre> 541 <?php print esc_html( var_dump( $this->settings->get_values() ) ); ?> 542 </pre> 543 } 544 <?php } ?> 545 546 546 <?php if ( $this->settings->enable_logging ) { ?> 547 547 <h2><?php esc_html_e( 'Logs', 'hello-login' ); ?></h2> -
hello-login/trunk/languages/hello-login.pot
r2828854 r2829541 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Hellō Login 1.0. 8\n"5 "Project-Id-Version: Hellō Login 1.0.9\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://github.com/hellocoop/wordpress/issues\n" -
hello-login/trunk/readme.txt
r2828854 r2829541 5 5 Requires at least: 4.9 6 6 Tested up to: 6.1 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 Requires PHP: 7.2 9 9 License: GPLv2 or later … … 81 81 == Changelog == 82 82 83 = 1.0.9 = 84 85 * Fix: disable caching on REST API response 86 * Improvement: enable logging by default 87 * Improvement: content changes on plugin settings page 88 83 89 = 1.0.8 = 84 90
Note: See TracChangeset
for help on using the changeset viewer.