Compare commits
8
Commits
ISSUE-1
...
f753a8134e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f753a8134e | ||
|
|
e73e484718 | ||
|
|
3566ab30c7 | ||
|
|
83329c8ef7 | ||
|
|
315df79178 | ||
|
|
870d190bc3 | ||
|
|
9985bcd306 | ||
|
|
d28d0de142 |
No files matched your search
@@ -1 +1,2 @@
|
|||||||
|
.idea
|
||||||
config.inc.php
|
config.inc.php
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
Copyright 2024 Illya Marchenko
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# Roundcube alias manager extension
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Provides interface to create mailbox aliases. Meant to use dedicated subdomain for email aliases
|
||||||
|
|
||||||
|
Aliases are mailboxes used per-service for privacy and spam control
|
||||||
+4
-1
@@ -19,6 +19,10 @@ class aliasmanager extends rcube_plugin {
|
|||||||
throw new \Exception('cannot connect ot postfix db');
|
throw new \Exception('cannot connect ot postfix db');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->rcmail->task == "mail" || $this->rcmail->task == "settings") {
|
||||||
|
$this->include_stylesheet('assets/styles/app.css');
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->rcmail->task == "settings") {
|
if ($this->rcmail->task == "settings") {
|
||||||
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
|
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
|
||||||
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
|
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
|
||||||
@@ -61,7 +65,6 @@ class aliasmanager extends rcube_plugin {
|
|||||||
*/
|
*/
|
||||||
public function settingsPageHandler() {
|
public function settingsPageHandler() {
|
||||||
$this->include_script('assets/scripts/app.js');
|
$this->include_script('assets/scripts/app.js');
|
||||||
$this->include_stylesheet('assets/styles/app.css');
|
|
||||||
|
|
||||||
$this->rcmail->output->add_label("settings_menu_label");
|
$this->rcmail->output->add_label("settings_menu_label");
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
.scroller {
|
.scroller {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aliasmanager :before {
|
||||||
|
font-size: 1.1em !important;
|
||||||
|
content: "\f02c" !important;
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
@@ -35,7 +35,7 @@
|
|||||||
<template id="alias-list-row">
|
<template id="alias-list-row">
|
||||||
<tr class="form-group">
|
<tr class="form-group">
|
||||||
<td>
|
<td>
|
||||||
<span>{email}</span>
|
<input style="background: transparent;border: none;outline: none;width: 100%; cursor: pointer; font-family: monospace;" readonly type="text" value="{email}" onclick="this.select();">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
|
|||||||
Reference in new issue
Block a user