Commit Graph

  • 6becdbba4a *.lang: - $PALANG['pCreate_mailbox_mail'] = 'Send welcome mail', but some translations mean "create mailbox". Added a note for translators to update it. Christian Boltz 2011-10-14 17:42:14 +00:00
  • 8b636bd1ee create-mailbox: - always display correct available quota (using allowed_quota()) Christian Boltz 2011-10-11 20:14:26 +00:00
  • ed7019ff5c MailboxHandler: - whitespace changes Christian Boltz 2011-10-10 22:15:16 +00:00
  • ef0c84283f list-virtual.php: - delivery to mailbox with a recipient delimiter (mailbox+foo@domain) was marked as "forward only" Christian Boltz 2011-10-07 22:58:38 +00:00
  • 8b3976272f list-virtual.php: - delivery to mailbox with a recipient delimiter (mailbox+foo@domain) was marked as "forward only" Christian Boltz 2011-10-07 22:57:43 +00:00
  • 88a840690b create-mailbox.php: - use smtp_get_admin_email() instead of the admin's username as sender for the welcome mail Christian Boltz 2011-09-29 22:39:44 +00:00
  • 3589514932 list-virtual.php: - better error message if no domains exist or a domain admin doesn't have permissions for any domain. That's less confusing than the "Invalid parameter" message Christian Boltz 2011-09-29 22:07:27 +00:00
  • 83ec3e0cab create-mailbox.php: - check password with validate_password - cleanup password validation - cleanup/merge duplicate assignment of $t* variables Christian Boltz 2011-09-25 19:13:39 +00:00
  • d6d4fb4748 functions.inc.php - create_admin() - check password with validate_password() - cleanup the handling of the success message Christian Boltz 2011-09-25 18:53:58 +00:00
  • 69b3df10e4 config.inc.php - new config option $CONF['password_validation'] - array with regular expressions to check if a password is valid/good enough. The default configuration enforces: - minimum length 5 characters/digits/whatever - at least 2 characters - at least 2 digits - removed $CONF['min_password_length'] - it's now handled in /.{5}/ in $CONF['password_validation'] Christian Boltz 2011-09-25 18:39:20 +00:00
  • e38ba1f7cf users/password.php, edit-admin.php, edit-mailbox.php, *.lang: - rename $PALANG['pPasswordTooShort'] to $PALANG['password_too_short'] Christian Boltz 2011-09-25 16:52:25 +00:00
  • 9f2a0db106 create_admin() cleanup Christian Boltz 2011-09-24 17:04:15 +00:00
  • dc54de1657 smarty.inc.php - select_options(): - escape $val with htmlentities() (function result will/must be used unescaped later) Christian Boltz 2011-09-24 16:35:42 +00:00
  • bd4889a7c2 functions.inc.php - check_email(): - replace $CONF[vacation_domain] only at the end of the mail address Christian Boltz 2011-09-24 11:49:14 +00:00
  • 22fb5c5cb2 de.lang: - fix typo Christian Boltz 2011-09-23 16:08:32 +00:00
  • 9d1f79c495 create-admin.php: - fix SQL injection (only exploitable by superadmins) Christian Boltz 2011-09-22 23:06:53 +00:00
  • dba89ba42e functions.inc.php / create_admin(): - fix SQL injection (only exploitable by superadmins) Christian Boltz 2011-09-22 22:29:24 +00:00
  • d196f38dde *.lang: - add missing pAdminDelete_admin_error text (already existed in trunk, but was missing in 2.3.x) Christian Boltz 2011-09-22 22:01:52 +00:00
  • 8f805af202 de.lang: - fix typo Christian Boltz 2011-09-16 20:26:34 +00:00
  • acb18684ae tag the PostfixAdmin 2.3.4 release postfixadmin-2.3.4 Christian Boltz 2011-09-16 18:43:57 +00:00
  • 8d16ebdab3 update version numbers etc. for the 2.3.4 release Christian Boltz 2011-09-16 18:41:00 +00:00
  • 591680764a update debian/changelog in preparation of new release David Goodwin 2011-09-16 18:35:00 +00:00
  • 1e766a2b39 CHANGELOG.TXT: - whitespace fix - tabs vs. spaces Christian Boltz 2011-09-16 18:12:37 +00:00
  • 536b7ac688 config.inc.php: - several comments for the language_hook function: - x_* naming policy for custom texts - note that custom texts must appear in all blocks - note that translation fixes should be reported in the bugtracker Christian Boltz 2011-08-23 22:38:36 +00:00
  • a5f3cb9b96 config.inc.php: - new config option $CONF['language_hook'] Hook function to override or add translations to $PALANG. Example hook function included (commented out). Christian Boltz 2011-08-23 21:23:16 +00:00
  • 1033c950fa vacation.php: - split off $fDomain from ?username= (admin mode) - basic sanity check for ?username= (admin mode) - urlencode $fDomain for $Return_url (admin mode) - don't split off domain from username in users mode (not needed) - added various TODO notes - some whitespace fixes near the end of the file (2*3 lines) Christian Boltz 2011-08-21 21:28:13 +00:00
  • 0403a0a55a functions.inc.php - check_owner(): - escape_string() $username and $domain to prevent SQL injections - add a TODO Christian Boltz 2011-08-21 20:58:20 +00:00
  • 15fe167948 *.lang: - marked several texts as obsolete: - pUsersVacation_button_away - pUsersVacation_button_back - pUsersVacation_result_error - pUsersVacation_result_success - pUsersVacation_activefrom - pUsersVacation_activeuntil Christian Boltz 2011-08-21 20:11:14 +00:00
  • 9bee8d89c1 Merge users/vacation.php and edit-vacation.php into vacation.php Christian Boltz 2011-08-14 23:12:20 +00:00
  • dbf7d1aa74 added quota level percentage display Valkum 2011-08-08 18:39:03 +00:00
  • ce747878a2 create-alias.php: - display correct error message if alias is invalid Christian Boltz 2011-08-06 23:37:20 +00:00
  • c471efcda1 Paperwork ;-) Christian Boltz 2011-08-05 23:05:25 +00:00
  • 1c76c35e6c import_users_from_csv.py: - update FSF address (the openSUSE build check complained ;-) Christian Boltz 2011-08-05 22:50:09 +00:00
  • cd260cbba7 css/default.css: - removed superfluous white background in some elements (body already has white background) Christian Boltz 2011-08-05 20:28:06 +00:00
  • 1695f1a7b2 Merged edit-vacation.tpl and users_vacation.tpl. Prepare merging of edit-vacation.php and users/vacation.php Christian Boltz 2011-08-05 20:01:35 +00:00
  • 3ff680d3a6 nl.lang: - translation update by J.Kruis (jan-kruis@SF) https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3383236&group_id=191583 Christian Boltz 2011-08-04 11:34:55 +00:00
  • 19c65d5441 ADDITIONS/delete-mailq-by-domain.pl, ADDITIONS/squirrelmail-plugin/**/postfixadmin.po: - whitespace fix: replace DOS line ends with Linux line ends (no other changes) Christian Boltz 2011-08-03 23:01:13 +00:00
  • 93dd4517f1 ADDITIONS/delete-mailq-by-domain.pl, ADDITIONS/squirrelmail-plugin/**/postfixadmin.po: - whitespace fix: replace DOS line ends with Linux line ends (no other changes) Christian Boltz 2011-08-03 22:58:09 +00:00
  • ac3eadc17c functions.inc.php - pacrypt(): - if dovecotpw does not give the expected output, read stderr and write it to error_log() - backported from SVN trunk r1071 Christian Boltz 2011-08-02 19:59:57 +00:00
  • b9798456f3 import_users_from_csv.py: - update FSF address (the openSUSE build check complained ;-) Christian Boltz 2011-08-01 23:31:03 +00:00
  • 3556e4bfda SUPERADMIN.txt: - replace SQL instructions to create a superadmin with a note about setup.php Christian Boltz 2011-07-31 23:15:41 +00:00
  • 0656852d4e functions.inc.php: - new function allowed_quota to get the allowed maximum quota for a mailbox. Based on a patch by wvolz (wvolz@SF), but with several enhancements/changes. https://sourceforge.net/tracker/index.php?func=detail&aid=2856577&group_id=191583&atid=937966 - added a TODO note Christian Boltz 2011-07-31 20:33:46 +00:00
  • 58815ccd7d create-mailbox: - switch to edit-mailbox template (I forgot this in r1154) - added some TODO notes Christian Boltz 2011-07-31 20:29:17 +00:00
  • 57d25d3d41 Merge edit-mailbox.tpl and edit-mailbox.tpl: Christian Boltz 2011-07-31 15:22:17 +00:00
  • e5c68e2450 Merge edit-alias.tpl and create-alias.tpl Christian Boltz 2011-07-31 15:05:33 +00:00
  • 6c35590eb7 Merge admin_edit-domain.tpl and admin_create-domain.tpl Christian Boltz 2011-07-31 14:32:51 +00:00
  • 0fe45bca8a Merge admin_edit-admin.tpl and admin_create-admin.tpl Christian Boltz 2011-07-31 14:09:16 +00:00
  • b26012ca18 users/edit-alias.php: - fix undefined smarty variables Christian Boltz 2011-07-30 21:24:24 +00:00
  • 8f2a3f00ad admin_create-domain.tpl: - replaced lots of PALANG[pAdminCreate_*] with PALANG[pAdminEdit_*] - this will make merging with the edit-domain template easier Christian Boltz 2011-07-30 00:19:32 +00:00
  • 6af24d6e80 language-update.sh: - better readable output for --comparetext Christian Boltz 2011-07-30 00:11:15 +00:00
  • a81f3d6506 edit-mailbox.php, edit-mailbox.tpl: - fixed undefined variables Christian Boltz 2011-07-29 23:37:56 +00:00
  • 94dbfa2bb4 Mostly merge edit-mailbox.tpl and create-mailbox.tpl Christian Boltz 2011-07-29 23:30:54 +00:00
  • d09ae9e360 model/DomainHandler.php: - integrate $defaults in $struct to have everything in one place - integrate field labels, descriptions etc. in $struct - $struct now has named keys and is filled with the new pacal() helper function - replaced TODO comments with new ones ;-) Christian Boltz 2011-07-29 22:06:52 +00:00
  • d01bf7d0c4 scripts/shells/alias.php: - fixed help() output Christian Boltz 2011-07-29 21:48:44 +00:00
  • 0a2f73e51a password.tpl: - removed a superfluous </td> Christian Boltz 2011-07-29 21:47:21 +00:00
  • 3dcd56c77a Replaced motd*.txt with $CONF[motd_*] options Christian Boltz 2011-07-29 20:34:36 +00:00
  • 99382f1318 configs/menu.conf: - remove discarded _txt_* entries Christian Boltz 2011-07-29 20:20:16 +00:00
  • ab636c92e5 Merge password.tpl and users_password.tpl Christian Boltz 2011-07-29 19:48:17 +00:00
  • 656b0b0897 index.tpl: - use $authentication_has_role instead of checking if $smarty_template contains "users_". This makes the code cleaner and avoids problems when merging templates to names without "users_". - check for login template without using needle - that's possible after merging the login and users_login template to login.tpl Christian Boltz 2011-07-29 19:42:46 +00:00
  • 80389ec0e3 language-update.sh: - new parameter --comparetext to compare two texts in $PALANG. Christian Boltz 2011-07-29 19:14:50 +00:00
  • b065366a91 Merge template for admin login and user login Christian Boltz 2011-07-29 18:04:09 +00:00
  • e5b09bb805 edit-vacation.php: - remove unused variables $vacation_domain and $vacation_goto Christian Boltz 2011-07-27 21:57:48 +00:00
  • 27caea6ca8 create-domain.php: - default aliases were always created, even when unchecking the checkbox (to be exact: after my last commit yesterday, they were never created) This bug was introduced in r867 (setting the default to "on") in combination with isset() falling back to the default value. For an unchecked checkbox, this means that it always used the default fallback which was "on" since r867. (Does _not_ affect the 2.3 branch.) - replaced two <br> with a TODO ;-) Christian Boltz 2011-07-26 19:46:08 +00:00
  • 93676dd7fc variables.inc.php: - moved some variables from variables.inc.php to the (only) file that uses them - removed unused $escaped_string Christian Boltz 2011-07-26 00:33:44 +00:00
  • e4c76696de edit-mailbox.php, edit-mailbox.tpl, variables.inc.php - removed always empty variable $pEdit_mailbox_password_text - replaced "static" variable $pEdit_mailbox_quota_text with its PALANG content in the template Christian Boltz 2011-07-25 23:49:58 +00:00
  • 1479fd9e65 create-mailbox.php, variables.inc.php, create-mailbox.tpl - removed always empty variable $pCreate_mailbox_username_text - replaced "static" variables $pCreate_mailbox_password_text and $pCreate_mailbox_quota_text with their PALANG content in the template Christian Boltz 2011-07-25 23:43:12 +00:00
  • a7664eb548 login.php: - remove outdated comment Christian Boltz 2011-07-25 23:30:27 +00:00
  • b2d953071c upgrade.php: - add hint about ?debug=1 Christian Boltz 2011-07-25 23:28:32 +00:00
  • 032a795795 templates/edit-vacation.tpl, templates/users_vacation.tpl: - replaced hardcoded background-color with class=readonly Christian Boltz 2011-07-25 23:18:52 +00:00
  • 814b89baf3 list-domain.php: - only put current username in dropdown for domain admins (instead of a list of domains, which didn't work at this place and was different to the superadmin behaviour) Christian Boltz 2011-07-25 22:59:39 +00:00
  • c4fd99baa7 MailboxHandler.php: - use smtp_get_admin_email() to get the sender for the welcome mail - add a check for empty (shouldn't happen in theory) or 'CLI' username and use the mailbox address as fallback Christian Boltz 2011-07-25 22:38:11 +00:00
  • 0e33c90fa1 message.tpl: - remove $tMessage - it is no longer used/filled anywhere - replaced with a TODO note that message.tpl usage and the file itsself has to be removed (not part of Dale's patch) Christian Boltz 2011-07-25 22:19:50 +00:00
  • 198bab0057 default.css: - move menu to left (instead of centered) - move edit forms to 50px from left instead of centered - various cleanup Christian Boltz 2011-07-25 22:15:12 +00:00
  • 7fee8f760a ja.lang: - translation update Christian Boltz 2011-07-25 21:14:47 +00:00
  • 744872191f de.lang: - small text change in pCreate_mailbox_password_text_error Christian Boltz 2011-07-23 22:40:43 +00:00
  • 32bb589bb6 default.css: - redesign login form - now has an image on the right - change width from 730px to 990px - change menu :hover background color from green to dark grey - change button :hover background color from green to light grey - change table row :hover color in list mode from green to light grey - add padding to input fields - remove background color and border in edit form header - remove border-left from list-virtual submenu (show all / mailboxes / ...) - change main.php :hover from green left + bottom border to dark grey and only left border - removed green background in overview row (the line containing the search box) - removed table borders (list and edit mode) - add text-align:right for edit form labels - some whitespace fixes Christian Boltz 2011-07-23 22:33:08 +00:00
  • ee5c1cc239 create-alias.tpl: - add "multiple targets" help text Christian Boltz 2011-07-23 20:40:59 +00:00
  • 5c39718251 *.lang: - removed <span> in comment / translation note for $PALANG['pSendmail_result_error'] Christian Boltz 2011-07-23 20:30:27 +00:00
  • ce7b0d5ff5 *.lang - removed remaining <br /> in - $PALANG['pPassword_password_text_error'] - $PALANG['pAdminCreate_admin_password_text_error'] - $PALANG['pAdminEdit_admin_password_text_error'] - $PALANG['pCreate_alias_catchall_text'] - $PALANG['pCreate_mailbox_password_text_error'] - (and some other texts not listed here, but only in one or two languages) - differences to Dale's patch: - use a space as replacement for <br /> (instead of nothing) - added a note that the translation needs to be be beautified to most languages (except en and de, which are already ok) - do not change "MB" -> "in MB" in $PALANG['pAdminCreate_domain_maxquota_text'] and PALANG['pAdminEdit_domain_maxquota_text'] Christian Boltz 2011-07-23 20:26:46 +00:00
  • a0aa16f6b7 *.lang: - some $PALANG texts contained field description and error message in one $PALANG text. Removed the field descriptions so that the text only contains the error message. - affected texts: - $PALANG['pCreate_alias_goto_text_error'] - $PALANG['pCreate_mailbox_password_text_error'] - $PALANG['pAdminCreate_admin_username_text_error1'] - $PALANG['pAdminCreate_admin_username_text_error2'] - difference to Dale's patch: - removed the field description in all *.lang files instead of only removing the <br />. I just did this manually. (changes in en.lang were part of Dale's patch) - added a "# check" in some languages where I'm not sure if I removed the correct part (if the first half of the text differed from the field description in another $PALANG text) Christian Boltz 2011-07-23 19:57:45 +00:00
  • 1476d3e420 *.lang: - added $PALANG['pUsersLogin_language'] - difference to Dale's patch: - NOT added $PALANG['pCreate_alias_help'] to avoid text duplication. We can use the existing $PALANG['pEdit_alias_help'] instead. Christian Boltz 2011-07-22 22:52:41 +00:00
  • 4671b7c081 *.lang: - removed all <span> tags - removed several <br> tags - marked the following stings as obsolete: - pDelete_postdelete_error - pDelete_domain_alias_error - pEdit_alias_address_error - pEdit_alias_domain_error - pEdit_mailbox_username_error - pPassword_admin_text_error Christian Boltz 2011-07-22 22:24:21 +00:00
  • cd894a7835 list-virtual.tpl: - change <h3> to <th> Christian Boltz 2011-07-22 21:37:40 +00:00
  • 043fd5520d list-virtual.tpl: - replace & with &amp; in links - replaced <h3> with <th> - style "create new" links as button Christian Boltz 2011-07-22 21:27:57 +00:00
  • 767faf95b2 menu.tpl, users_menu.tpl: - add class="logout" to logout menu item to allow special styling Christian Boltz 2011-07-22 21:24:56 +00:00
  • 3de3aaefff adminlistadmin.tpl, adminlistdomain.tpl: - style "create new" links as button Christian Boltz 2011-07-22 21:22:24 +00:00
  • 2991a1334f fetchmail.tpl: - change <h3> to <th> - style "new fetchmail entry" link as button - changes compared to Dale's patch: - do not change colspan +2 to +4 in <th> - use colspan=2 instead of 4 in empty cell of <th> (both changes were wrong and don't match the table body) Christian Boltz 2011-07-22 21:19:49 +00:00
  • 4d33437cd2 variables.inc.php, admin_edit-domain.tpl, create-alias-domain.tpl, edit-alias.tpl, edit-vacation.tpl, password.tpl: - remove now unused $tMessage (the change in variables.inc.php was not contained in Dale's patch) Christian Boltz 2011-07-22 21:08:33 +00:00
  • dc782512a3 overview-get.tpl, viewlog.tpl: - changed <h3> to <th> Christian Boltz 2011-07-22 20:59:41 +00:00
  • 4f24737f74 fetchmail.php: - changes to embedded HTML (for the new/edit form): - replaced <h3> with <th> - marked labels with <label> - aligned buttons to input fields - removed lots of hardcoded style= Christian Boltz 2011-07-22 20:33:56 +00:00
  • 7203639886 create-mailbox.php: - renamed $pCreate_mailbox_*_text to $pCreate_mailbox_*_text_error - replaced $tMessage with flash_error() / flash_info() Christian Boltz 2011-07-22 20:25:06 +00:00
  • d660270ef9 functions.inc.php - changed array item name in comment for create_admin() Christian Boltz 2011-07-22 20:17:17 +00:00
  • 99dce81fa3 create-alias.php: - fixed syntax error introduced in the last revision - removed $pCreate_alias_goto_text and $pCreate_alias_address_text (replaced by PALANG texts in the template) Christian Boltz 2011-07-22 19:56:04 +00:00
  • 1467a959ed create-alias.php: - renamed $pCreate_alias_address_text to $pCreate_alias_address_text_error - replaced $tMessage with flash_error() / flash_info() - changes compared to Dale's patch: - do not add $fAddress and $fGoto to $PALANG['pCreate_alias_goto_text_error'] error message Christian Boltz 2011-07-22 18:36:21 +00:00
  • 0bc0c29a77 functions.inc.php: - create_admin(): - renamed some internal variables - removed a variable setting that was always overwritten in the next line - disabled setting a var to $PALANG['pAdminCreate_admin_username_text'] Christian Boltz 2011-07-21 22:47:53 +00:00
  • 12694a420f create-domain.php: - renamed $pAdminCreate_domain_domain_text to $pAdminCreate_domain_domain_text_error - replaced $tMessage with flash_error(), flash_info() and $pAdminCreate_domain_domain_text_error - differences to Dale's patch: - removed now always empty smarty->assign for $pAdminCreate_domain_domain_text Christian Boltz 2011-07-21 22:20:25 +00:00
  • 5f4f20accf edit-mailbox.php: - replace $tMessaeg with flash_error() - use pEdit_mailbox_quota_text_error instead of pEdit_mailbox_quota_text for error message Christian Boltz 2011-07-20 23:38:42 +00:00
  • 54cec415ce variables.inc.php: - removed some unused variables: - $pAdminCreate_domain_defaultaliases_text - $pCreate_mailbox_name_text - $pEdit_mailbox_username_text Christian Boltz 2011-07-20 23:29:40 +00:00
  • 310d22bb6e create-admin.php - renamed $pAdminCreate_admin_username_text to $pAdminCreate_admin_username_text_error - renamed $pAdminCreate_admin_password_text to $pAdminCreate_admin_password_text_error - replaced $tMessage with $infoMessage (displayed via flash_info) - additional change compared to Dale's patch: removed unused variable $pAdminCreate_admin_username_text Christian Boltz 2011-07-20 23:19:17 +00:00
  • 1786099b17 edit-admin.php: - use additional column for error messages - renamed $pAdminEdit_admin_password_text to $pAdminEdit_admin_password_text_error - removed $tMessage Christian Boltz 2011-07-20 22:39:31 +00:00