Commit Graph

  • 208f3b7f9f Update of polish translation Marcin 2015-06-26 10:58:25 +02:00
  • 5307cfe48a functions.inc.php check_domain(): Measure time needed for the nameserver queries, and error_log a warning if the queries need more than 2 seconds in total. Christian Boltz 2015-06-13 19:56:26 +00:00
  • 3526819b90 Merge pull request #2 from smeinecke/patch-1 Pale Purple Ltd 2015-06-08 19:07:43 +01:00
  • 0da2bcd463 Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-06-08 19:07:09 +01:00
  • 1cca7bf54a https://github.com/smeinecke/postfixadmin/commit/a2b8705ad4229d3f6d0459984308c0a952617b7c (git pull request from smeinecke - typo fix David Goodwin 2015-06-08 17:25:37 +00:00
  • a2b8705ad4 Fixed typo in INSTALL.TXT Stefan Meinecke 2015-06-08 18:47:05 +02:00
  • dee024bfeb Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-05-20 13:27:55 +01:00
  • 7a873cc22a setup.php: - after creating a superadmin, display a note that the setup is done and it's possible to login now (idea by t-ask on IRC) Christian Boltz 2015-05-18 20:18:09 +00:00
  • ee7514c1ca Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-05-15 19:58:57 +01:00
  • 7bd492ef1e include only once David Goodwin 2015-05-15 19:58:52 +01:00
  • a89bd5f573 config.inc.php: - remove unused $CONF['users_domain_controle'] Christian Boltz 2015-05-06 21:47:28 +00:00
  • 7f87d130d7 upgrade.php: - split upgrade_1763() into mysql and pgsql versions because pgsql doesn't support SUBSTRING_INDEX (reported by darix on IRC) Christian Boltz 2015-05-06 21:34:14 +00:00
  • b3750272e4 postfixadmin2.xcf: - add white background for the mailbox (as separate layer) Christian Boltz 2015-04-26 19:25:43 +00:00
  • 3640a1b804 postfixadmin-cli.php: - add fetchmail to module list Christian Boltz 2015-04-26 18:01:54 +00:00
  • c837eac20a DomainHandler: - initStruct(): in 'aliases_quot' and '_aliases_quot_percent', use coalesce(__mailbox_count,0) - without, we always get _0_ aliases if a domain doesn't have mailboxes Christian Boltz 2015-04-06 23:30:44 +00:00
  • e14bb9038e editactive.php: - drop unused $values - some whitespace fixes Christian Boltz 2015-04-06 23:09:58 +00:00
  • 23bdd02dcb broadcast-message.php, sendmail.php, MailboxHandler, *.lang: - include mailbox name in pSendmail_result_error and pSendmail_result_success Christian Boltz 2015-04-06 22:44:51 +00:00
  • 7cf10f81a7 list*.tpl - display the "Go" button only if javascript is disabled (the dropdowns have an onchange event defined, which makes the "Go" button superfluous) Christian Boltz 2015-04-06 22:27:00 +00:00
  • 993c0ec2b6 list.tpl: - improve headline: - in search mode, display the search term instead of the last selected domain (which isn't useful at all when displaying search results) - display number of aliases and mailboxes only in domain mode (they are useless/wrong in search mode) Christian Boltz 2015-04-06 22:21:41 +00:00
  • d2a80adedc list-virtual.tpl: - update/fix search part of subnav links (all/mailboxes/aliases/alias domains) for $search[_] Christian Boltz 2015-04-06 22:16:52 +00:00
  • 37bba15625 Use list.tpl to display the alias list Christian Boltz 2015-04-06 22:09:18 +00:00
  • adc038e218 list.tpl: - add support for list_header (like ":: Alias" in list-virtual) Christian Boltz 2015-04-06 21:58:58 +00:00
  • 35fad174f7 smarty.inc.php: - assign(): additionally provide the unsanitized values as RAW_$key Christian Boltz 2015-04-06 21:09:54 +00:00
  • 3a72203de4 AliasHandler: - initStruct(): replace (wrong) 'editable' with '_can_edit' and '_can_delete' - read_from_db_postprocess(): disable _can_edit and _can_delete for default aliases if special_alias_control is off and not superadmin Christian Boltz 2015-04-06 20:35:19 +00:00
  • 8043515fdf migrate search input field to use search[_], and use list.tpl for alias domains Christian Boltz 2015-04-06 14:17:25 +00:00
  • cc598d0f3f PFAHandler: - build_select_query(): add support for $search['_'] (searching if one of the $this->searchfields contains the search text) - getList(): make sure '_' is kept in the search parameters Christian Boltz 2015-04-06 13:39:21 +00:00
  • 31006928b4 AliasdomainHandler: - initStruct(): Adjust columns to match list-virtual.php layout: - make 'alias_domain' a link - move 'active' after 'modified' - don't display 'created' Christian Boltz 2015-04-06 13:29:28 +00:00
  • 4ce0a57e83 PFAHandler: - add protected $searchfields = array(); - list of fields to search by default, if just a search term is given. This will be done with $search['_'], but that code is not implemented yet. - add $this->msg['show_simple_search'] (true if $searchfields is non-empty) Christian Boltz 2015-04-05 20:23:38 +00:00
  • 6e5c8f8054 add 'can_create' flag Christian Boltz 2015-04-05 19:21:15 +00:00
  • 3f451371e3 PFAHandler: - set(): if errormsg is set for a field, assume it's invalid (even if the validator functions did not (or forgot to) return False) Christian Boltz 2015-04-04 14:37:46 +00:00
  • 25356ede71 upgrade_1767: fetchmail.active field was just added. Make sure all existing fetchmail jobs are active. Christian Boltz 2015-04-04 14:32:58 +00:00
  • 8bad929a44 fetchmail.pl: - add active=1/t to SQL query Christian Boltz 2015-04-04 14:26:21 +00:00
  • 4322486b21 delete fetchmail.php and templates/fetchmail.tpl (replaced by FetchmailHandler) Christian Boltz 2015-04-04 14:23:46 +00:00
  • a12f7affba menu.conf: - change fetchmail links to list.php and edit.php Christian Boltz 2015-04-04 14:22:28 +00:00
  • 9ca7ae050e Two upgrades for FetchmailHandler: - upgrade_1762: add 'domain', 'active', 'created' and 'modified' fields to fetchmail table (used by FetchmailHandler) - upgrade_1763: fill fetchmail.domain based on mailbox Christian Boltz 2015-04-04 14:20:57 +00:00
  • 27bdba3ba2 Add FetchmailHandler.php - uses list.php and edit.php instead of the fetchmail-specific template - replaces fetchmail.php and its template Christian Boltz 2015-04-04 13:58:42 +00:00
  • 22e2bc7c89 *.lang: add 'must_be_numeric_bigger_than_null', 'fetchmail_already_exists' and 'fetchmail_does_not_exist' (as preparation for FetchmailHandler) Christian Boltz 2015-04-04 13:55:54 +00:00
  • 0bba68e1bc edit.php: - for not-set bool values, set $values instead of the (wrong) $inp_values Christian Boltz 2015-04-04 13:28:16 +00:00
  • 56b3f11d35 edit.php: Christian Boltz 2015-03-20 00:31:03 +00:00
  • 9f2ae72f08 DomainHandler: - initStruct(): re-enable total_quota - MailboxHandler needs it Christian Boltz 2015-03-19 23:07:19 +00:00
  • 313270c00a PFAHandler.php: - add getPagebrowser() (returns an array of pagebrowser keys) Christian Boltz 2015-03-19 22:57:23 +00:00
  • 28fe7042e8 PFAHandler.php: - split off build_select_query() from read_from_db() as preparation for using build_select_query() to generate the pagebrowser query Christian Boltz 2015-03-19 22:05:49 +00:00
  • 46d807c83d DomainHandler.php: - initStruct(): - don't display domain_quota if $CONF[quota] == NO or $CONF[domain_quota] is NO - drop 'total_quota' column which seems to be unused (and had a non-existing label) Christian Boltz 2015-03-19 00:01:35 +00:00
  • dd43f12e9b delete list-admin.php and its template, use list.php instead Christian Boltz 2015-03-17 22:37:34 +00:00
  • add12b9fb4 AdminHandler.php: - initStruct(): - link username to domain list - hide superadmin, domain list and created columns in list view - add label to domain_count to make it visible in list view - read_from_db_postprocess(): if user is a superadmin, replace domain count with "superadmin" Christian Boltz 2015-03-17 22:30:47 +00:00
  • 63d9b45dc7 list.php: - the 'simulate admin' dropdown doesn't make sense for superadmin-only modules, therefore don't fill/display it in this case (usecase: AdminHandler) Christian Boltz 2015-03-17 22:22:28 +00:00
  • 64c6e9f0a0 list.tpl: - fix displaying list and txtl fields Christian Boltz 2015-03-17 22:06:48 +00:00
  • eb7e40cf94 PFAHandler, editform.tpl: - add support for 'b64p' fields (passwords stored base64-encoded) as preparation to migrate fetchmail.php to FetchmailHandler Christian Boltz 2015-03-17 21:19:36 +00:00
  • cc2b157d59 *Handler: - add $msg['confirm'] (confirmation message when attemping to delete an item, displayed by list.php) Christian Boltz 2015-03-17 21:07:59 +00:00
  • 86dc74fd86 menu.tpl: - display "view log" menu entry only if logging is enabled https://sourceforge.net/p/postfixadmin/patches/127/ Christian Boltz 2015-03-15 00:38:23 +00:00
  • 59686db0fe Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-03-11 10:25:26 +00:00
  • 6e82a41121 delete list-domain.php and its templates Christian Boltz 2015-02-28 22:45:58 +00:00
  • a154c65c47 list-virtual.php: - replace redirects to list-domain.php with list.php Christian Boltz 2015-02-28 22:44:51 +00:00
  • 1d35ba80ab model/DomainHandler.php: - initStruct(): - add optical quota indicators for aliases, mailboxes, domain quota - some adjustments to get nice output with list.php (mostly following list-domain.php) - webformConfig(): switch listview to list.php Christian Boltz 2015-02-28 22:42:11 +00:00
  • 5605561ca8 functions.inc.php: - better formatting in db_quota_text() and db_quota_percent() results (for example, infinity sign instead of / 0 for unlimited) Christian Boltz 2015-02-28 22:30:21 +00:00
  • 4bc2d5f691 list.tpl, default.css: - format unlimited/disabled quota similar to x/y, but no border Christian Boltz 2015-02-28 22:26:14 +00:00
  • aea450625f de.lang: - fix typo Christian Boltz 2015-02-28 21:58:43 +00:00
  • 6051729458 list.tpl: - make "active" a link only if the record is editable Christian Boltz 2015-02-28 21:55:54 +00:00
  • ac59da1cd9 Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-02-17 11:03:38 +00:00
  • feb2424188 stop relying on subversion keyword for database upgrades; just iterate over all user defined functions and find the largest numeric one David Goodwin 2015-02-17 11:03:16 +00:00
  • 39f9d3ac98 cs.lang: - translation updates by Jan Laufik (jlaufik @ sf) http://sourceforge.net/p/postfixadmin/patches/126/ Christian Boltz 2015-02-16 14:43:58 +00:00
  • aae00bc0d4 Merge remote-tracking branch 'svnexport/master' David Goodwin 2015-01-28 17:35:11 +00:00
  • 75861f40eb debian/control - change to depend on php5-mysql | php5-mysqlnd | php5-pgsql David Goodwin 2015-01-28 17:34:08 +00:00
  • 5706f146d6 MailboxHandler: - storemore(): store maildir in the correct variable to fix running mailbox_postedit script Fix by bit-jockey @SF, https://sourceforge.net/p/postfixadmin/bugs/342/ Christian Boltz 2015-01-24 14:00:35 +00:00
  • 087dc34b01 MailboxHandler: - check_quota(): deny creating an unlimited mailbox if domain quota is set (reported by idaho7 in IRC) Christian Boltz 2015-01-12 17:12:07 +00:00
  • 7bf5b74a47 MailboxHandler, AliasHandler: - initStruct: set "display in list" to 1 to allow searching for domain with list.php (nevertheless, the domain won't be displayed because it doesn't have a column label set) Christian Boltz 2015-01-07 21:25:20 +00:00
  • c3c12de58e Merge remote-tracking branch 'svnexport/master' David Goodwin 2014-12-16 11:05:18 +00:00
  • 3916ae4104 *.lang: - add 'edit_not_allowed' (needed by PFAHandler) - add 'searchparams' (needed by list.tpl) Christian Boltz 2014-11-02 23:13:35 +00:00
  • eee25272a6 delete.php: - allow users (non-admins) to use delete.php Christian Boltz 2014-11-02 23:06:13 +00:00
  • 03b0c869dd list.php: - add search support: - new parameters: - search[$field] - value to search for - searchmode[$field] - search mode (=, <, > etc.) - reset_search - if given, empty $search and $searchmode - remember $search and $searchmode via session - display errormsg and infomsg from $handler, if any Christian Boltz 2014-11-02 23:04:15 +00:00
  • 13f1a28b6e PFAHandler: - read_from_db(), getList(): - add $searchmode parameter (_before_ $limit and $offset!) to be able to use query different query modes, not only "=" - add a warning that $condition will be changed to array only in the future - getList(): filter $condition for fields that are available to the user to avoid information leaks by using search parameters (filter is only applied if $condition is an array!) Christian Boltz 2014-11-02 22:45:22 +00:00
  • b76511628d PFAHandler: - add $this->order_by to allow ordering by any field(s) (defaults to $this->id_field) Christian Boltz 2014-11-02 22:07:20 +00:00
  • 6bfe6706ba PFAHandler: - add $this->label_field and $this->label (defaults to $this->id_field and $this->id) to allow nicer messages - use $this->label in various messages Christian Boltz 2014-11-02 22:03:58 +00:00
  • ca76b0fb6e PFAHandler: - add getMsg() function (needed by list.php) Christian Boltz 2014-11-02 21:55:56 +00:00
  • d2490f6153 list.tpl: - add support for $struct[linkto] Christian Boltz 2014-11-02 21:47:31 +00:00
  • 7a23b3cda8 list.tpl: - add handling for quota fields (visual quota indicator) Christian Boltz 2014-11-02 21:39:13 +00:00
  • a826564962 list.php: - add CSV export Christian Boltz 2014-11-02 21:32:25 +00:00
  • 50357d276a list.php: - allow usage for users, not only admins Christian Boltz 2014-11-02 21:19:54 +00:00
  • 1e35c579b6 list.php, list.tpl: - use smarty-style dropdown for admin dropdown instead of select_options() - only display admin dropdown if more than one admin is available (which basically means hiding it for domain admins) Christian Boltz 2014-11-02 21:14:16 +00:00
  • b5a6417a6e add list.php and list.tpl - generic files to display lists (will replace list-admin, list-domain etc.) Christian Boltz 2014-11-02 21:05:22 +00:00
  • 1ad0d6832b editform.tpl: - display cleartext value instead of key for readonly enma fields Christian Boltz 2014-11-01 21:26:27 +00:00
  • 3d58d1f092 editform.tpl: - add handling for 'enma' fields (see PFAHandler r1711) Christian Boltz 2014-11-01 21:22:30 +00:00
  • 786a7d665e functions.inc.php: - pacol(): - add $linkto parameter (if list mode should link to something) - replace $not_in_db with $multiopt - the remaining parameters can now be specified as associated array (backwards-compatible) Christian Boltz 2014-11-01 21:11:33 +00:00
  • a4085d287f DomainHandler: - initStruct: - set column write permissions depending on superadmin status - add _can_edit and _can_delete (also depending on superadmin status) - webformConfig(): reduce required permissions to 'admin' - add beforestore() - aborts writing for non-superadmins - delete: allow deletion only for superadmins Christian Boltz 2014-11-01 20:58:01 +00:00
  • 1edc38a798 edit.php: - add user (non-admin) mode Christian Boltz 2014-11-01 20:10:25 +00:00
  • e39d13aa52 PFAHandler: Christian Boltz 2014-11-01 19:51:25 +00:00
  • 3fe75c117d PFAHandler: - add handling of users (non-admins), including permission checks Christian Boltz 2014-11-01 19:38:28 +00:00
  • 72d9d42601 PFAHandler: - add protected $is_superadmin = 1; will be set to 0 if $admin_username is set and is not a superadmin Christian Boltz 2014-11-01 19:30:54 +00:00
  • f07281cdc1 PFAHandler: - automatically skip quot, vnum and vtxt fields in store() (as if dont_write_to_db == 1) - document new field types vtxt and quot and mark field types that will never be stored in db Christian Boltz 2014-11-01 19:25:11 +00:00
  • 9093a946b4 functions.inc.php: - add functions db_quota_text() and db_quota_percent() to generate queries for used quota ("x/y" and percentage) Christian Boltz 2014-11-01 19:19:00 +00:00
  • 647aa39218 PFAHandler: - add validation for "enma" field type - list of options, must be given in column "options" as associative array (value => displayed value) Christian Boltz 2014-11-01 18:54:27 +00:00
  • d9e30fb41b Add CliScheme.php: - displays the database scheme (for usage in upgrade.php) Christian Boltz 2014-11-01 18:08:11 +00:00
  • 22839d3695 Cli*.php: - add SVN $Id header Christian Boltz 2014-11-01 18:05:39 +00:00
  • e8b0198512 2.92 (aka 3.0 beta2) release Christian Boltz 2014-10-28 20:05:46 +00:00
  • e4230a808a Merge remote-tracking branch 'svnexport/master' David Goodwin 2014-10-28 20:01:11 +00:00
  • 49be08c9fe update Smarty to 3.1.21 Christian Boltz 2014-10-23 22:23:53 +00:00
  • 62b575d645 Merge remote-tracking branch 'svnexport/master' David Goodwin 2014-10-23 22:20:09 +01:00
  • 6ec360b0b7 AliasHandler: - finally fix alias deletion when using MariaDB. The workaround is to add another field from the subquery to the outer SELECT so that MariaDB can't optimize the subquery to "always 1" http://sourceforge.net/p/postfixadmin/bugs/325/ (I'll open a MariaDB bugreport and add the link to the bugtracker) Christian Boltz 2014-10-23 18:26:54 +00:00
  • 46a632ec02 AliasHandler: - initStruct(): revert the MariaDB workaround because PostfixAdmin now "thinks" none of the aliases belong to a mailbox (and displays all of them in the alias list, even the mailbox aliases) - reverts r1699 + the CHANGELOG entry (part of r1700) - reopened https://sourceforge.net/p/postfixadmin/bugs/325/ Christian Boltz 2014-10-22 16:30:25 +00:00
  • 0ca4c62d6d CHANGELOG.TXT: - update for r1690..1700 Christian Boltz 2014-10-22 15:33:33 +00:00