pimlie / authres_status

Roundcube plugin that checks the Authentication-Results headers (rfc5451) of your emails and displays the verification status.
Other
36 stars 20 forks source link

elastic skin #26

Open grape6 opened 6 years ago

grape6 commented 6 years ago

in elastic skin authres_status icon is shown only after pressing 'envelope' button. Maybe better to show it always.

pimlie commented 6 years ago

Unfortunately I am unable to get the elastic skin working, if you could do a PR that would be great. You could add a file skins/elastic/authres_status.css which should list all css required for it to work correctly in the elastic skin.

grape6 commented 6 years ago

sorry, i'm not so familiar with elastic :)

photoninger commented 4 years ago

Playhing around with roundcube-1.4.0-rc2 and elastic:

FlyveHest commented 4 years ago

1.4.0 is now out, and elastic is the default skin going forward. If you could somehow find the time to update this great plugin, I think a lot of people would be grateful, me included :)

SKBanan commented 4 years ago

This seems to be only about localization, in "authres_status.php"

public function message_summary($p){
return array('content' => preg_replace('/(<span>\s*)()(From)/', '$1' . $this->img_status . ' $3', $p['content']));

replaced with: return array('content' => preg_replace('/(<span>\s*)()('.$this->gettext('from').')/', '$1' . $this->img_status . ' $3', $p['content']));

Now the status icon appears correctly in main "From" field, without the need to click message details

photoninger commented 4 years ago

This seems to be only about localization, in "authres_status.php"

public function message_summary($p){
return array('content' => preg_replace('/(<span>\s*)()(From)/', '$1' . $this->img_status . ' $3', $p['content']));

replaced with: return array('content' => preg_replace('/(<span>\s*)()('.$this->gettext('from').')/', '$1' . $this->img_status . ' $3', $p['content']));

Now the status icon appears correctly in main "From" field, without the need to click message details

Yes, it is about localization, I opend a pull request to change the regex: https://github.com/pimlie/authres_status/pull/48