Giter VIP home page Giter VIP logo

avatar-privacy's Introduction

Avatar Privacy

Latest Stable Version Maintainability Rating Reliability Rating Security Rating Code Coverage Lines of Code License

Avatars from Gravatar.com are great, but they come with certain privacy implications. You as site admin may already know this, but your visitors and users probably don't. Avatar Privacy can help to improve the privacy situation by making some subtle changes to the way avatars are displayed on your site.

The plugin works without changing your theme files if you use a modern theme, and it does support multisite installations. For the plugin to do anything for you, you need to visit the discussion settings page in the WordPress admin area and enable Show Avatars. Please note that the plugin does not provide an options page of its own, it rather adds to the existing discussion settings page.

Features

The plugin's features summed up:

  • Self-uploaded avatars for users (and custom default images), hosted on your server.
  • Users and commenters explicitly opt-in before using gravatars.
  • Gravatar caching to ensure the privacy of your website visitors.
  • Don't publish weakly encrypted e-mail addresses of comment authors.

A more detailed examination of the reasons for using Avatar Privacy can be found on the plugin homepage.

Frequently Asked Questions

The Avatar Privacy FAQ can be found on the plugin homepage.

avatar-privacy's People

Contributors

ammaletu avatar arjenm avatar blaugueux avatar grummfy avatar johannesschobel avatar lucasmichot avatar mundschenk-at avatar szepeviktor avatar thehiddenhaku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

avatar-privacy's Issues

Logo/Icon for WP.org

Avatar Privacy still needs a logo/icon for the WP.org plugin repository. Since I'm not much of a designer, help would be very welcome :-)

Add unit tests

Unit tests are desperately needed:

  • Runtime infrastructure
  • Main plugin components
  • Upload handlers
  • Network tools
  • Plugin integrations
  • Avatar handlers
  • Default icons
  • Image tools

Refactor components and icon providers

  • Component: Do away with the Core parameter of run.
  • Icon_Provider:
    • Use dependency injection for generators.
    • Try to use lazy initialization to reduce the memory footprint.

Add option to display gravatars by default

Several people have requested to re-add an option to display gravatars by default (essentially changing Avatar Privacy behavior to "opt-out"). Currently, the same result can be achieved by using the filter hook avatar_privacy_gravatar_use_default :

add_filter( 'avatar_privacy_gravatar_use_default', '__return_true' );

Theme compatibility

Use comment_form_fields hook instead comment_form_default_fields for better theme compatibility.

Pretty Permalinks for User Avatars

Optionally, allow for a redirect to retireve a user avatar when then avatar is publicly shared that survives even when the image is changed.

For example /avatar/username.png

I wouldn't want this for my commenters, but for myself, I would want to share this.

This might be doable concurrently with #75

Fatal Error on Plugin Activation

Hi there. Activating this plugin displays the following error:

Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in /wp-content/plugins/avatar-privacy/includes/avatar-privacy/components/class-images.php on line 330

This is PHP 5.6.36

Disable Gravatar.com check on spam comment pages

When the default is changed by the administrator, the plugin checks for the existence of gravatars even in the spam folder of the comments pages in the backend. For faster rendering, the checks should be disabled (with a filter to re-enable them).

Check for MIME type before caching gravatars

Sometimes, gravatar.com is overloaded and returns a Varnish error message, but still signals success via HTTP status code 200. We should check the actual MIME type before caching the result.

Prepare release 2.3.0

  • Decide whether the version should be 2.3.0 or 3.0.0.
  • Decide whether WordPress 5.2 will be required.
  • Clean up README.
  • Clean up CHANGELOG.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.