Skip to content

Commit

Permalink
v0.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
coax committed Feb 3, 2017
1 parent 64f3977 commit 644da35
Show file tree
Hide file tree
Showing 16 changed files with 332 additions and 356 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ Features
- confirmation dialogs in modal
- form validation
- table sorting
- simple log parser
- log parser
- based on original PHPWebAdmin
- works with latest hMailServer (stable) version
- continous development
- continuous development

Roadmap for 2017
-----
- better log parser
- buy community license for [Imperavi Grafs](https://imperavi.com/grafs/) (hence the donation link below)

Donate
Expand Down Expand Up @@ -50,12 +49,18 @@ If you DON'T HAVE PHPWebAdmin installed:

5\. Access web admin interface from browser (eg. http://www.yourdomain.com/hmailadmin/) and sign in with hMailServer credentials

Common issue: https://www.hmailserver.com/documentation/latest/?page=ts_setup_phpwebadmin
Common issues: https://www.hmailserver.com/documentation/latest/?page=ts_setup_phpwebadmin

Changelog
-----
Version 0.9.8 beta (2017-02-03)
- [new] powerful log parser (using server-side logs)
- [new] datepicker for date fields
- [tweak] IP Ranges expiry date more friendly
- [fix] greylisting checkbox in hm_domain.php

Version 0.9.7 beta (2017-02-01)
- tweak] convert all dates to ISO (YYYY-MM-DD HH:MM:SS) due consistency
- [tweak] convert all dates to ISO (YYYY-MM-DD HH:MM:SS) due consistency
- [tweak] dashboard optimizations in JSON
- [fix] typo in background_account_save.php
- [fix] minor fixes in validation fields
Expand Down
17 changes: 10 additions & 7 deletions hMailAdmin/hm_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@
PrintPropertyAreaRow("vacationmessage", "Text", $vacationmessage, 6, 55);

PrintCheckboxRow("vacationmessageexpires", "Automatically expires", $vacationmessageexpires);
PrintPropertyEditRow("vacationmessageexpiresdate", "Use ISO date format (YYYY-MM-DD)", $vacationmessageexpiresdate);
?>
<p><?php EchoTranslation("Expiration date (YYYY-MM-DD)")?></p>
<input type="text" name="vacationmessageexpiresdate" value="<?php echo $vacationmessageexpiresdate ?>" maxlength="10" data-toggle="datepicker" class="small">
</div>
<h3><a href="#"><?php EchoTranslation("Forwarding")?></a></h3>
<div class="hidden">
Expand Down Expand Up @@ -231,9 +232,9 @@

$move = '';
if ($i > 0)
$move = $move . '<a href="?page=background_rule_save&action=move&savetype=ruleup&domainid=' . $domainid . '&accountid=' . $accountid . '&ruleid=' . $ruleid . '" class="arrow up">Up</a>';
$move = $move . '<a href="?page=background_rule_save&csrftoken=' . $csrftoken . '&action=move&savetype=ruleup&domainid=' . $domainid . '&accountid=' . $accountid . '&ruleid=' . $ruleid . '" class="arrow up">Up</a>';
if ($i < $Count-1)
$move = $move . '<a href="?page=background_rule_save&action=move&savetype=ruledown&domainid=' . $domainid . '&accountid=' . $accountid . '&ruleid=' . $ruleid . '" class="arrow down">Down</a>';
$move = $move . '<a href="?page=background_rule_save&csrftoken=' . $csrftoken . '&action=move&savetype=ruledown&domainid=' . $domainid . '&accountid=' . $accountid . '&ruleid=' . $ruleid . '" class="arrow down">Down</a>';

echo ' <tr>
<td><a href="?page=rule&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&ruleid=' . $ruleid . '">' . $rulename . '</a></td>
Expand Down Expand Up @@ -261,6 +262,7 @@
PrintPropertyEditRow("PersonLastName", "Last name", $PersonLastName);
?>
</div>
<?php if ($accountid > 0) { ?>
<h3><a href="#"><?php EchoTranslation("External accounts") ?></a></h3>
<div class="hidden">
<table>
Expand Down Expand Up @@ -288,10 +290,10 @@
$ServerAddress = $obFetchAccount->ServerAddress;

echo ' <tr>
<td><a href="?page=account_externalaccount&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $Name . '</a></td>
<td><a href="?page=account_externalaccount&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $ServerAddress . '</a></td>
<td><a href="?page=background_account_externalaccount_save&action=downloadnow&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '" class="download">' . $str_downloadnow . '</a></td>
<td><a href="#" onclick="return Confirm(\'Confirm delete <b>' . $Name . '</b>:\',\'Yes\',\'?page=background_account_externalaccount_save&action=delete&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '\');" class="delete">' . $str_delete . '</a></td>
<td><a href="?page=account_externalaccount&csrftoken=' . $csrftoken . '&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $Name . '</a></td>
<td><a href="?page=account_externalaccount&csrftoken=' . $csrftoken . '&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $ServerAddress . '</a></td>
<td><a href="?page=background_account_externalaccount_save&csrftoken=' . $csrftoken . '&action=downloadnow&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '" class="download">' . $str_downloadnow . '</a></td>
<td><a href="#" onclick="return Confirm(\'Confirm delete <b>' . $Name . '</b>:\',\'Yes\',\'?page=background_account_externalaccount_save&csrftoken=' . $csrftoken . '&action=delete&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '\');" class="delete">' . $str_delete . '</a></td>
</tr>' . PHP_EOL;
}
?>
Expand All @@ -300,6 +302,7 @@
<div class="buttons center"><a href="?page=account_externalaccount&action=add&domainid=<?php echo $domainid ?>&accountid=<?php echo $accountid ?>" class="button"><?php EchoTranslation("Add new external account") ?></a></div>
</div>
<?php
};
PrintSaveButton();
?>
</form>
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
<h3><a href="#"><?php EchoTranslation("Greylisting")?></a></h3>
<div class="hidden">
<?php
PrintCheckboxRow("domainantispamenablegreylisting", $obLanguage->String("Enabled"), $domainantispamenablegreylistingchecked);
PrintCheckboxRow("domainantispamenablegreylisting", $obLanguage->String("Enabled"), $domainantispamenablegreylisting);
?>
</div>
<?php
Expand Down
Loading

0 comments on commit 644da35

Please sign in to comment.