[geeklog-hg] [Geeklog-Core/geeklog] 58382b: Now Checks if User has read permissions on item be...

Tom noreply at github.com
Thu Jan 30 17:54:17 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: 58382b763ac6696769d87fcf809470156a39947e
      https://github.com/Geeklog-Core/geeklog/commit/58382b763ac6696769d87fcf809470156a39947e
  Author: eSilverStrike <eSilverStrike at users.noreply.github.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M language/english.php
    M language/english_utf-8.php
    M public_html/admin/install/config-install.php
    M public_html/docs/english/config.html
    M public_html/docs/japanese/config.html
    M public_html/likes.php
    M sql/updates/mysql_2.2.0_to_2.2.1.php
    M sql/updates/pgsql_2.2.0_to_2.2.1.php
    M system/lib-article.php
    M system/lib-comment.php
    M system/lib-likes.php
    M system/lib-plugins.php

  Log Message:
  -----------
  Now Checks if User has read permissions on item before it can be liked

- Added PLG_getItemLikeURL to return URL for item of Like. If item is comment then will return item url for what comment is for (like an article).
- Make sure permissions of item is now checked in plugin_canuserlike_article and plugin_canuserlike_comment. If User cannot view item then cannot like
- First thing likes.php does now is make sure likes is enabled
- Non ajax version of Likes doesn't use referrer anymore since can be manipulated or may not be available. Now uses built in URL building for item that is being liked.
- Bumped likes speed limit default up to 45




More information about the geeklog-cvs mailing list