netsandbox / rt-extension-gravatar Goto Github PK
View Code? Open in Web Editor NEWhttps://metacpan.org/release/RT-Extension-Gravatar
https://metacpan.org/release/RT-Extension-Gravatar
NAME RT::Extension::Gravatar - Displays Gravatar images within RT DESCRIPTION This Plugin displays Gravatar image on the following pages: More about the requestors widget Modify user page About me (Preferences) User Summary INSTALLATION perl Makefile.PL make make install May need root permissions Edit your /opt/rt4/etc/RT_SiteConfig.pm If you are using RT 4.2 or greater, add this line: Plugin('RT::Extension::Gravatar'); For RT 4.0, add this line: Set(@Plugins, qw(RT::Extension::Gravatar)); or add RT::Extension::Gravatar to your existing @Plugins line. Clear your mason cache rm -rf /opt/rt4/var/mason_data/obj/* Restart your webserver METHODS ADDED TO OTHER CLASSES RT::User GravatarUrl Return the gravatar image url of the user. HasGravatar Return true if the user has an gravatar image. AUTHOR Christian Loos <[email protected]> LICENSE AND COPYRIGHT This software is Copyright (C) 2010-2021, Christian Loos. This is free software, licensed under: The GNU General Public License, Version 2, June 1991 SEE ALSO <http://bestpractical.com/rt/> <http://gravatar.com/>
I was testing this module on our new 4.4.1 RT server we are currently setting up and it works fine with modperl2 because it already has all of the CGI environment variables defined, including HTTPS=on, but when I tried it with Apache's mod_fcgid, that environment variable was missing. I had to add the following line to the RT apache mod_fcgid config:
FcgidInitialEnv HTTPS on
This is because Gravatar.pm:21 only uses the https URL when that variable is defined and set to on, so with fastcgi and when using https, I would get a security verification warning because some content was not verified.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.