Commit Graph

  • 7bf10e6b91 *.lang: - rename $PALANG['pEdit_alias_address'] to $PALANG['alias'] - remove duplicate $PALANG['pOverview_alias_edit'] Christian Boltz 2013-07-28 20:22:05 +00:00
  • c70465f0e3 *.lang: - rename $PALANG['pCreate_alias_address_text_error2'] to $PALANG['email-address-already-exists'] - delete $PALANG['pCreate_mailbox_username_text_error2'] Christian Boltz 2013-07-28 20:14:57 +00:00
  • 9e2e914c17 *.lang: - remove unused -$PALANG['pCreate_mailbox_password_text_error'] -$PALANG['pAdminCreate_admin_password_text_error'] -$PALANG['pAdminEdit_admin_password_text_error'] Christian Boltz 2013-07-28 20:03:13 +00:00
  • 80591f97bc *.lang: - add $PALANG['password'] to replace duplicate texts -$PALANG['pLogin_password'] -$PALANG['pCreate_mailbox_password'] -$PALANG['pAdminEdit_admin_password'] - set $PALANG['pFetchmail_field_src_password']= $PALANG['password']; (needed until fetchmail is migrated into FetchmailHandler) Christian Boltz 2013-07-28 19:46:50 +00:00
  • a1646f84b6 *.lang: - add $PALANG['active'] = 'Active' to replace various duplicates: -$PALANG['pOverview_alias_active'] -$PALANG['pOverview_alias_domain_active'] -$PALANG['pOverview_mailbox_active'] -$PALANG['pCreate_alias_active'] -$PALANG['pEdit_alias_active'] -$PALANG['pCreate_mailbox_active'] -$PALANG['pAdminList_admin_active'] -$PALANG['pAdminList_domain_active'] -$PALANG['pAdminList_virtual_mailbox_active'] -$PALANG['pAdminEdit_domain_active'] -$PALANG['pAdminEdit_admin_active'] Christian Boltz 2013-07-28 19:24:00 +00:00
  • bf0a5c02f4 *.lang: - add $PALANG['domain'] = 'Domain'; which replaces duplicate texts: -$PALANG['pOverview_get_domain'] -$PALANG['pViewlog_domain'] -$PALANG['pAdminList_admin_domain'] -$PALANG['pAdminList_domain_domain'] -$PALANG['pAdminEdit_domain_domain'] -$PALANG['pAdminCreate_admin_address'] Christian Boltz 2013-07-28 18:25:43 +00:00
  • 3fedee3074 *.lang and various templates: - use PALANG['last_modified'] everywhere - get rid of various duplicate texts for "Last modified": -$PALANG['pOverview_alias_modified'] -$PALANG['pOverview_alias_domain_modified'] -$PALANG['pOverview_mailbox_modified'] -$PALANG['pOverview_get_modified'] -$PALANG['pAdminList_admin_modified'] -$PALANG['pAdminList_virtual_alias_modified'] -$PALANG['pAdminList_virtual_mailbox_modified'] - add a translator note to some *.lang if the texts were not exact duplicates Christian Boltz 2013-07-28 18:13:37 +00:00
  • fcee414740 *.lang and various other files: - rename $PALANG['pAdminList_domain_modified'] to $PALANG['last_modified'] Christian Boltz 2013-07-27 21:52:52 +00:00
  • c5b8814130 setup.php: - add TODO note to check for PHP >= 5.2.3 because smarty uses htmlentities with 4 parameters (4th param added in PHP 5.2.3) Christian Boltz 2013-07-24 11:56:53 +00:00
  • d08d29caff - explicitely specify (empty) values for description and transport when creating the "ALL" domain to fix problems with strict SQL mode in MariaDB https://sourceforge.net/p/postfixadmin/bugs/288/ Christian Boltz 2013-07-10 11:59:30 +00:00
  • 880e6f50ae setup.php: - explicitely specify (empty) values for description and transport when creating the "ALL" domain to fix problems with strict SQL mode in MariaDB https://sourceforge.net/p/postfixadmin/bugs/288/ Christian Boltz 2013-07-10 11:55:23 +00:00
  • 1d94a89424 templates/vacation.tpl: - replace $PALANG.pUsersLogin_username with $PALANG.pLogin_username Christian Boltz 2013-06-24 20:56:34 +00:00
  • f487017bb0 *.lang: - $PALANG['pInvalidMailRegex']: add mail address as %s: "Invalid email address %s, fails regexp check"; Christian Boltz 2013-06-24 20:29:55 +00:00
  • d3d7249ea0 MailboxHandler.php: - remove a TODO in store_more() (tested, works already) Christian Boltz 2013-06-23 20:23:02 +00:00
  • 414c05e678 functions.inc.php: - db_where_clause(): wrap condition in "(...)" Christian Boltz 2013-06-23 20:02:05 +00:00
  • 3b7606b654 users/password.php: - update to use non-static MailboxHandler->login() Christian Boltz 2013-06-23 17:56:16 +00:00
  • 00bc5c6553 AdminpasswordHandler.php: - new file, used for "change password" for admins Christian Boltz 2013-06-23 17:49:54 +00:00
  • ce233789b9 PFAHandler.php: - add $skip_empty_pass (default: true) - set to false to disable skipping empty password fields in edit mode (needed for "change password" form) Christian Boltz 2013-06-23 17:34:14 +00:00
  • a2e2a832e3 edit.php: - handle hardcoded values for 'edit' parameter (needed for handling "change password") Christian Boltz 2013-06-23 17:31:18 +00:00
  • e7ea1f167e users/login.php: - use imported variables instead of $_POST Christian Boltz 2013-06-23 15:31:38 +00:00
  • c711467174 users/login.php: - don't escape_string() username and password Christian Boltz 2013-06-23 15:27:44 +00:00
  • 91423b5baf login.php: - use AdminHandler->login() - don't escape_string() username and password Christian Boltz 2013-06-23 15:25:34 +00:00
  • 7557ed5fae PFAHandler.php, MailboxHandler.php: - move login() to PFAHandler.php Christian Boltz 2013-06-23 15:13:33 +00:00
  • 8ff856df12 MailboxHandler.php: - make login() a non-static function - login: use $this->db_table and $this->id_field instead of hardcoded names Christian Boltz 2013-06-23 15:07:17 +00:00
  • 9af5a5cc03 *Handler.php: - set $db_table and $id_field in the class, not inside initStruct() Christian Boltz 2013-06-23 15:04:05 +00:00
  • a07b822906 functions.inc.php: - remove unused functions: - authentication_is_admin() - authentication_is_user() - check_string() - admin_exist() - domain_exist() - add various TODO notes Christian Boltz 2013-06-23 14:59:55 +00:00
  • 79403ad709 functions.inc.php: - delete unused function get_mailbox_properties() Christian Boltz 2013-06-23 14:38:22 +00:00
  • a264e34d15 da.lang - Translation update by Titanus <titanus AT aptget.dk>, via mailinglist Christian Boltz 2013-06-16 17:31:38 +00:00
  • 0bcde914a1 edit-mailbox.php: - when enabling/disabling a mailbox, also update the corresponding alias Patch by Paolo Stancato, https://sourceforge.net/p/postfixadmin/bugs/289/ Christian Boltz 2013-06-16 16:39:36 +00:00
  • 703f7a31cf language-update.sh: - update transtation guidelines Christian Boltz 2013-06-15 23:47:53 +00:00
  • 62d4374de1 da.lang: - translation update by Titanus <titanus AT aptget DOT dk>, via mailinglist Christian Boltz 2013-06-15 23:38:16 +00:00
  • b5aeb5a0a6 MailboxHandler: - fix 'goto' handling https://sourceforge.net/p/postfixadmin/bugs/292/ Christian Boltz 2013-06-10 22:18:53 +00:00
  • 96b1c3c7f4 list-virtual.php, smarty.inc.php: - replace boolconf() calls with Config::bool() Christian Boltz 2013-06-06 21:05:10 +00:00
  • 2cbbac134f functions.inc.php: - replace boolconf() calls with Config::bool() Christian Boltz 2013-06-06 20:53:37 +00:00
  • 21494f2a14 Config.php: - add intbool() - similar to bool(), but returns 1/0 instead of true/false Christian Boltz 2013-06-06 20:47:28 +00:00
  • 68ae542817 AliasHandler: - use Config::bool() instead of boolconf() Christian Boltz 2013-06-06 20:40:54 +00:00
  • dc8ea753fc Config.php: - add read_f() - similar to read(), but accepts a second parameter which is then included in the text using sprintf - bool(): change parameter name Christian Boltz 2013-06-05 23:09:10 +00:00
  • 71200c1049 functions.inc.php: - check_email: mention the invalid mail address in errormessage (needs text change) Christian Boltz 2013-06-05 23:03:03 +00:00
  • 29236ffaa4 MailboxHandler.php: some bugfixes: - init(): let $domain always base on $this->id (also on $new) - make mergeId dumber (by removing an error check). This can of course result in an invalid mail address, but this is handled more gracefully than an empty $this->id - updateMaxquota(): use Lang::read_f instead of sprintf Christian Boltz 2013-06-05 22:48:29 +00:00
  • b197e148b3 edit.php: - refresh $form_fields after ->set(). This fixes a wrong "allowed quota" if creating a mailbox ends up with an error message because of invalid values. Christian Boltz 2013-06-05 22:36:44 +00:00
  • b15319c21a functions.inc.php, model/Config.php: - move boolconf() to Config::bool() boolconf() will stay for backwards compability, but new code should use Config::bool() Christian Boltz 2013-06-05 20:35:30 +00:00
  • 3d092324b6 edit-mailbox.tpl: - delete no longer needed template (handled by edit.php/editform.tpl since some time) Christian Boltz 2013-05-01 19:39:25 +00:00
  • 9b2daac756 languages/dropspan - delete no longer used helper script (job done long time ago ;-) Christian Boltz 2013-05-01 19:38:10 +00:00
  • 6e13314f52 *.lang: - remove 38 unused texts Christian Boltz 2013-05-01 19:35:11 +00:00
  • 51434a05a6 setup.php - replace some strings marked as obsolete Christian Boltz 2013-05-01 19:29:39 +00:00
  • 0b4f71aab4 *.lang: - change $PALANG['pCreate_alias_result_success'] to 'The alias %s has been created!' (%s added, less technical wording) Christian Boltz 2013-05-01 19:18:51 +00:00
  • c53400ec5f MailboxHandler.php: - validate_new_id(): store error message in $this->errormsg[$this->id_field] instead of $this->errormsg[] - beforestore(): use first array key instead of [0] to match the change in validate_new_id() Christian Boltz 2013-05-01 19:05:32 +00:00
  • ea7036ae62 AliasdomainHandler: - delete(): return error message if db_delete fails Christian Boltz 2013-05-01 19:01:18 +00:00
  • 2d127bdec8 AliasHandler: - validate_new_id(): store errormessages in $this->errormsg[$this->id_field] instead of $this->errormsg[] Christian Boltz 2013-05-01 18:59:32 +00:00
  • 85fb572db7 scripts/shells/alias.php, mailbox.php, domain.php: - various fixes to make deleting aliases / mailboxes / domains work Christian Boltz 2013-05-01 18:57:33 +00:00
  • 7862cca6a2 scripts/inflector.php - marked camelize(), underscore() and variable() as public static function to avoid PHP warnings with latest PHP (5.4.x) - removed unused methods humanize(), tableize(), classify() and slug() - removed unused function __enclose() Christian Boltz 2013-04-27 20:55:42 +00:00
  • 61dfcb9192 AdminHandler.php: - implement delete() (untested!) Christian Boltz 2013-04-27 20:31:07 +00:00
  • 66ab8fb290 functions.inc.php: - db_log(): allow delete_admin action Christian Boltz 2013-04-27 19:53:09 +00:00
  • 631c6e754f common.php: - move postfixadmin_autoload() and spl_autoload_register upwards (it's needed earlier after using the Config class in more functions) - call Config::write earlier (as soon as $CONF is complete) Christian Boltz 2013-04-01 22:12:10 +00:00
  • 9c92eef2ff functions.inc.php: - remove some unused "global $CONF" - replace some $CONF usage with Config::read() or boolconf() Christian Boltz 2013-04-01 21:59:56 +00:00
  • 70978e09a4 functions.inc.php: - check_domain(), check_email(): use Lang::read and Config::read instead of global variables (global variables, at least $PALANG, don't seem to work with CLI) - boolconf(): - use Config::read instead of global $CONF - drop isset() check - doesn't make sense when using Config::read Christian Boltz 2013-04-01 21:51:29 +00:00
  • 871bcbbe2f functions.inc.php: - check_domain(), check_email(): instead of calling flash_error(), return string with error message - or empty string if everything is ok Christian Boltz 2013-04-01 21:22:30 +00:00
  • c64768727d list-virtual_mailbox.tpl: - replace edit-active.php with edit.php?...&active= Christian Boltz 2013-04-01 20:25:33 +00:00
  • f92a32eae1 PFAHandler.php: - initStruct(): add some comments - add calledBy() and protected $called_by - calledBy() should be called if one *Handler class calls another one (to avoid loops etc.) Christian Boltz 2013-04-01 19:57:25 +00:00
  • e3731dc89d scripts/shells/* (alias.php, domain.php, mailbox.php): - delete AddTask and UpdateTask classes - obsoleted by model/CliEdit.php Christian Boltz 2013-04-01 17:03:25 +00:00
  • 7276276ba2 scripts/shells/shell.php: - implement "update" for all *Handler classes by using CliEdit class (yes, it's really that easy ;-) Christian Boltz 2013-04-01 16:50:18 +00:00
  • dd2dc60ebf lt.lang: - translation update by Nerijus Baliunas <nerijus @SF> https://sourceforge.net/p/postfixadmin/patches/118/ Christian Boltz 2013-03-23 23:50:28 +00:00
  • 68390b0201 functions.inc.php - allowed_quota: if $CONF[quota] == NO, just return 0 (unlimited) Christian Boltz 2013-03-23 19:32:48 +00:00
  • 2091c50662 vacation.pl: - fix typo in variable name Christian Boltz 2013-03-14 23:17:57 +00:00
  • acdbd4b5a6 added custom noreply detection Valkum 2013-03-12 19:33:54 +00:00
  • 1e0225e2c2 model/CliEdit.php: - help(): generate help output based on $handler->struct It shows all available options/fields, but might need some finetuning to look better Christian Boltz 2013-03-03 01:23:50 +00:00
  • f240e20831 model/CliEdit.php: - add __handle_params() to implement non-interactive mode. It reads, checks and handles the various --* commandline parameters - __handle(): - replace $this->error() calls with $this->err() - add missing return on failure Christian Boltz 2013-03-03 00:57:07 +00:00
  • 74deef8221 functions.inc.php: - validate_password(): use Config::read and Lang::read instead of $CONF and $PALANG Christian Boltz 2013-03-03 00:34:53 +00:00
  • be84a8b8fc MailboxHandler: - _field_password(): return true if checks are successful (without this, an empty password might have ended up in the database!) Christian Boltz 2013-02-26 00:07:34 +00:00
  • eafc2b6222 model/CliEdit.php: - new class for CLI add and edit - based on AddTask, but big parts of __interactive()) are rewritten to: - use $struct for the user interface (which means it will automatically adopt to changes in the *Handler classes) - check all entered data instantly. If an invalid value was entered, ask again to give the user a chance to enter valid data. - CliEdit already replaces all AddTask classes (interactive mode works, commandline parameter mode not implementated yet) - will also replace all EditTask classes in the future Christian Boltz 2013-02-25 23:43:08 +00:00
  • b878f18dcc MailboxHandler: - _missing_local_part(), _missing_domain(): remove broken if condition Christian Boltz 2013-02-25 20:23:00 +00:00
  • 108e4546f0 lt.lang: - translation update by Nerijus Baliunas <nerijus @SF> https://sourceforge.net/p/postfixadmin/patches/118/ Christian Boltz 2013-02-22 23:00:55 +00:00
  • 8c3dcf32d7 lt.lang: - translation update from Nerijus Baliunas (nerijus @SF) https://sourceforge.net/p/postfixadmin/patches/118/ Christian Boltz 2013-02-22 22:51:43 +00:00
  • b4823b9e04 Finally replace create-mailbox.php with edit.php?table=mailbox :-) Christian Boltz 2013-02-19 23:08:01 +00:00
  • 13f89e339b MailboxHandler.php: - add _field_password(): - compare password / password2 field (error message will be displayed at password2 field) - autogenerate password if enabled in config and $new - display password on $new if enabled in config or autogenerated Christian Boltz 2013-02-19 22:48:02 +00:00
  • 47b0ebdec5 config.inc.php: - fix typo in comment Christian Boltz 2013-02-19 22:36:10 +00:00
  • 8d2e570c03 functions.inc.php: - _flash_string(): move return outside the foreach so that multiple messages can be displayed Christian Boltz 2013-02-19 22:22:59 +00:00
  • 182485e9d9 POSTFIX_CONF.txt: - add note about virtual_mailbox_base Christian Boltz 2013-02-19 12:47:52 +00:00
  • 227eca6faf PFAHandler.php: - introduce public array $infomsg[] (for success messages) - store(): write successmessage to $this->infomsg[] Christian Boltz 2013-02-16 20:42:17 +00:00
  • 268dd5372d edit.php: - add comment about prefill GET parameters Christian Boltz 2013-02-12 20:02:34 +00:00
  • 5a8ee27af3 displaying the available quota on $new is harder than it looks... Christian Boltz 2013-02-09 23:52:03 +00:00
  • fad18fc953 MailboxHandler.php: add (nearly) everything for creating a mailbox (TODO: generating random passwords - when this is done, MailboxHandler can replace create-mailbox.php) Christian Boltz 2013-02-04 23:18:01 +00:00
  • 5388bcf4cd AliasHandler.php: - add MailboxAliasConfig() and $called_by_MailboxHandler for special handling if called by MailboxHandler - create_allowed(): always allow creating an alias for a mailbox - remove _missing_on_vacation() and _missing_active() which returned the default from $this->struct. This is now done by default, see previous change in PFAHandler Christian Boltz 2013-02-04 22:33:45 +00:00
  • 28f59d8305 PFAHandler.php: - set(): if a field is not set and there's no _missing_$field() method for it, take default value from $this->struct (side effect: this automagically fixes CLI create domain) - store(): add a beforestore() hook that is called at the beginning of store() - add empty beforestore() (will be overwritten by MailboxHandler) - some comment updates Christian Boltz 2013-02-04 21:38:59 +00:00
  • a46bcc955c edit.php: - prefill all $formconf['prefill'] fields from URL parameters (typically used for the domain) Christian Boltz 2013-01-27 19:52:19 +00:00
  • efb98c24c5 header.tpl: - link header logo to main.php https://sourceforge.net/tracker/?func=detail&atid=937967&aid=3601801&group_id=191583 Christian Boltz 2013-01-27 18:24:03 +00:00
  • a937c95d4f vacation.pl: - fix confusing "my" vs. "our" Christian Boltz 2013-01-04 12:58:21 +00:00
  • 8804cf1c6c create tags/postfixadmin-2.3.6 postfixadmin-2.3.6 Christian Boltz 2013-01-02 21:21:02 +00:00
  • cff1cc753d 2.3.6 release - update version at various places Christian Boltz 2013-01-02 21:19:52 +00:00
  • 8c408cfc49 list-virtual_mailbox.tpl: - use edit.php to edit mailboxes Christian Boltz 2012-12-29 00:13:57 +00:00
  • fd7b02c870 MailboxHandler.php: add everything for editing a mailbox Christian Boltz 2012-12-28 23:48:33 +00:00
  • 50252ecf6a *.lang: - add $PALANG['mb_max'] = 'MB (max: %s)'; - $PALANG['pVacation_reply_type'] $PALANG['pVacation_reply_delay_time'] $PALANG['pVacation_reply_delay_time_text'] was only in en.lang - add it to the translations Christian Boltz 2012-12-28 23:05:44 +00:00
  • 7a7403aa76 functions.inc.php: - check_quota(): first check if enforcing quotas is disabled via $CONF[quota] Christian Boltz 2012-12-28 22:34:13 +00:00
  • c38a9ef0b6 create-alias-domain.tpl: - deleted - unused since exactly one year (r1275 | 2011-11-13) Christian Boltz 2012-11-13 16:59:32 +00:00
  • dc86351af6 fetchmail.php: - fix bool and date handling for pgsql (patch from Christian Eberl) Christian Boltz 2012-10-31 00:04:31 +00:00
  • 8457bcaa80 fetchmail.php: - fix bool and date handling for pgsql (patch from Christian Eberl) Christian Boltz 2012-10-31 00:01:51 +00:00
  • b2026a4bb1 README.Debian: - add "Integration with Postfix, Dovecot etc." section (mostly copied from INSTALL.TXT) Christian Boltz 2012-10-03 16:48:32 +00:00
  • d136b5d466 shells/mailbox.php / AddTask: - move counting params into if (!empty($this->args[0])) block (the previous commit broke interactive mode) Christian Boltz 2012-07-02 19:20:23 +00:00
  • c3cc667caf scripts/shells/mailbox.php: - update add, delete and password tasks to use new MailboxHandler syntax - (roughly) check number of cmdline arguments for add Christian Boltz 2012-07-02 19:11:30 +00:00
  • 299cde311d config.inc.php: - changed some defaults as discussed on the mailinglist: - $CONF['database_type'] = 'mysqli'; - $CONF['dovecotpw'] = "/usr/sbin/doveadm pw"; $CONF['new_quota_table'] = 'YES'; (for dovecot 2) - $CONF['domain_path'] = 'YES'; $CONF['domain_in_mailbox'] = 'NO'; (results in domain.tld/username/ maildirs) - $CONF['alias_control'] = 'YES'; $CONF['alias_control_admin'] = 'YES'; - $CONF['backup'] = 'NO'; - $CONF['show_status']='YES'; $CONF['show_status_key']='YES'; $CONF['show_undeliverable']='YES'; $CONF['show_popimap']='YES'; $CONF['show_undeliverable_exceptions']- "gmail.com" removed Christian Boltz 2012-07-01 21:27:43 +00:00