Plugin Directory

Changeset 2332701


Ignore:
Timestamp:
06/30/2020 05:08:16 AM (6 years ago)
Author:
hyvor
Message:

Single Sign-on fixing

Location:
hyvor-talk/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • hyvor-talk/trunk/html/admin.php

    r2251818 r2332701  
    9999
    100100                    <div class="dual-item-right">
    101                         <input 
    102                             placeholder="SSO Id"
    103                             type="text"
    104                             name="talk-sso-id"
    105                             id="talk-sso-id-input"
    106                             class="input-item"
    107                             value="<?= $ssoId ?? '' ?>">
    108101                        <input
    109102                            placeholder="SSO Private Key"
  • hyvor-talk/trunk/html/variables.php

    r2251818 r2332701  
    4646    <?php if ($ssoData) : ?>
    4747        HYVOR_TALK_CONFIG.sso = {
    48             id: <?= $ssoData['id'] ?>,
    4948            hash: "<?= $ssoHash ?>",
    5049            userData: "<?= $ssoEncodedUserData ?>",
  • hyvor-talk/trunk/inc/class-hyvor-talk-admin.php

    r2251818 r2332701  
    292292            HyvorTalk::setLoadingMode( $_POST['loadingMode'] );
    293293
    294         if ( isset($_POST['ssoId']) )
    295             HyvorTalk::setSSOId( $_POST['ssoId'] );
    296 
    297294        if ( isset($_POST['ssoPrivateKey']) )
    298295            HyvorTalk::setSSOPrivateKey( $_POST['ssoPrivateKey'] );
  • hyvor-talk/trunk/inc/class-hyvor-talk-webpage.php

    r2256704 r2332701  
    138138                'email' => $user -> user_email,
    139139                'picture' => get_avatar_url($user -> ID),
    140                 'url' => $user -> url
     140                'url' => get_author_posts_url( $user -> ID )
    141141            ];
    142142    }
  • hyvor-talk/trunk/inc/class-hyvor-talk.php

    r2256704 r2332701  
    176176        update_option( self::LOADING_MODE_OPTION_NAME, $mode );
    177177    }
    178     // updates the sso ID
    179     public static function setSSOId($ssoId) {
    180         update_option( self::SSO_ID_OPTION_NAME, $ssoId );
    181     }
    182178    // updates the SSO Private Key
    183179    public static function setSSOPrivateKey($key) {
  • hyvor-talk/trunk/readme.txt

    r2256704 r2332701  
    11=== Comments by Hyvor Talk ===
    22Contributors: hyvor, supunkavinda
    3 Tags: comments, comment, ajax comments, reactions, spam, notifications, disqus, embedded
    4 Donate Link: https://paypal.me/HyvorTalk
     3Tags: comments, commenting system, commenting platform, commenting plugin
    54Requires at least: 4.6
    6 Tested up to: 5.3.2
    7 Stable tag: 1.2.1
     5Tested up to: 5.4.2
     6Stable tag: 1.2.2
    87Requires PHP: 5.4
    98License: GPLv2
     
    130129Comments are saved on our databases and backed up frequently to an external server. So, your comments are safe!
    131130
    132 = Who owns the comments? =
    133 
    134 The commenter owns the comment. He can edit or delete his comment, and moderators has no access to a comment deleted by the commenter. If a moderator deletes a comment from the website, the commenter can still see it but can't restore it (Only moderator can).
    135 
    136131= Can I import my existing WordPress comments into Hyvor Talk? =
    137132
     
    174169== Change Log ==
    175170
     171= 1.2.2 =
     172* SSO ID removed
     173* SSO uses the user profile as the user's URL
     174
    176175= 1.2.1 =
    177176* Custom identifiers added (To support third-party importing)
Note: See TracChangeset for help on using the changeset viewer.