0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

228 Commits

Author SHA1 Message Date
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer 2018-01-26 23:54:37 +09:00
Koichi MATSUMOTO
70c839cbc6 Remove '# XXX'
Removed '# XXX' comments
2018-01-10 07:27:51 +09:00
Koichi MATSUMOTO
9aeec2147e Update ja.lang
Update ja.lang with the latest
2018-01-10 00:00:09 +09:00
Koichi MATSUMOTO
9b7cfdf807
Update ja.lang
in progress...
2018-01-09 22:09:21 +09:00
Christian Boltz
1c0cd61fff
Add texts for password recovery to all languages 2017-12-30 11:55:58 +01:00
David Goodwin
768d29623e patch from https://github.com/bofh16/postfixadmin/blob/master/bg.lang.patch - thanks! 2017-11-26 20:00:26 +00:00
pbkwee
f217524524
Update en.lang
"Your email address or password are not correct".  Message indicates one thing is wrong.  So use is not are.
2017-11-12 12:40:01 +13:00
Sylvain Tissot
ffb84283c2
Harden password reset process
The improvements are:

- Die with an explicit message when a user is trying to reset his lost password and the option is disabled in config
- Redirect user to main page after password change using relative URL
- Don't leak info whether user exists or has recovery info defined
- Throttle password reset requests to prevent brute force attacks
- Show phone/alt email fields in mailbox/admin edit form only when the password reset option is enabled
- Make database upgrade code compatible with other databases types
- Use the existing password generator to generate OTP. It is now stored in database, unique to each user, valid only for 1 hour and can only by used once.
2017-10-09 11:45:51 +09:00
Sylvain Tissot
7a0b3b3750 Fix typo in french language file #18 2017-08-21 13:55:18 +02:00
Sylvain Tissot
9c9ba64a7f Allows a user or admin to reset his/her forgotten password with a code sent by email/SMS #18 2017-08-21 13:05:25 +02:00
Matyáš Koc
1ea38f9c43 Updated Czech language
Corrected typos and mistakes, translated new strings
2017-07-12 17:51:18 +02:00
Jan-Frederik Rieckers
5712a35f71
Fix some Language issues in broadcast 2017-04-17 14:00:44 +02:00
Christian Boltz
8aecf3eae3 Merge branch 'master' into broadcast_improvements 2017-04-17 13:22:16 +02:00
Carlos Ferreira
83836a2477 Update fr.lang 2017-03-15 22:46:01 +01:00
Carlos Ferreira
1b9fa66493 Small fix 2017-03-11 05:43:46 +01:00
Carlos Ferreira
061f950661 Update French language 2017-03-11 05:33:18 +01:00
Christian Boltz
67a6d0e27a
use $CONF[page_size] in viewlog.php
This replaces the hardcoded "LIMIT 10" with "LIMIT <page_size>".

Patch by Dan <dannyro @SF>, https://sourceforge.net/p/postfixadmin/patches/133/

Additional change on top of Dan's patch:
- wrap $CONF['page_size'] in intval() to avoid that a broken config
  setting can break or exploit the query
2017-03-04 00:34:45 +01:00
Jan-Frederik Rieckers
eb871de916
Add new broadcst message language keys 2017-02-11 23:49:23 +01:00
Jan-Frederik Rieckers
3c3d844130
Improve the broadcast message tool
* Make it possible by config option that non global admins can send
  broadcast messages to their domains.
* Allow the sender to select the domains the broadcast message should be
  delivered to
* Allow the sender to decide if the broadcast message should just be
  delivered to mailboxes
2017-02-11 23:16:43 +01:00
Jan-Frederik Rieckers
03f4bad49c
Add Language-Key for protected_alias_cant_be_deleted 2017-02-03 15:08:24 +01:00
Jan-Frederik Rieckers
7bb36d0bbc
Fix security hole in AliasHandler
Without this fix it is possible to delete a protected alias via editing
the request parameter of the alias to delete.
2017-02-03 14:53:10 +01:00
Christian Boltz
2a680d22c6 Add Romanian translation
Thanks to Dan <dannyro @SF> for providing this new translation!
https://sourceforge.net/p/postfixadmin/patches/132/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1859 a1433add-5e2c-0410-b055-b7f2511e0802
2016-09-09 20:08:57 +00:00
Christian Boltz
98659f4005 translate several german texts
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1844 a1433add-5e2c-0410-b055-b7f2511e0802
2016-05-22 15:49:17 +00:00
Christian Boltz
a9bb4b83ad cs.lang:
translation update by updated by Jan Laufik (jlaufik @ sf)
https://sourceforge.net/p/postfixadmin/patches/130/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1828 a1433add-5e2c-0410-b055-b7f2511e0802
2016-02-16 19:01:27 +00:00
Christian Boltz
80e99e1b54 tw.lang language update by Wally LEE <Wally @SF>
https://sourceforge.net/p/postfixadmin/bugs/362/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1825 a1433add-5e2c-0410-b055-b7f2511e0802
2016-02-04 22:41:56 +00:00
David Goodwin
96a89889a2 apparently a typo - thanks marcin-github - see d93c56e34a
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1821 a1433add-5e2c-0410-b055-b7f2511e0802
2015-10-20 16:08:17 +00:00
Christian Boltz
d401139d24 sv.lang translation update
by Thomas Karlsson, https://sourceforge.net/p/postfixadmin/patches/128/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1793 a1433add-5e2c-0410-b055-b7f2511e0802
2015-07-13 22:48:01 +00:00
David Goodwin
15648b7d1c merge in from github - thanks to marcin-github
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1791 a1433add-5e2c-0410-b055-b7f2511e0802
2015-06-26 13:34:04 +00:00
Christian Boltz
23bdd02dcb broadcast-message.php, sendmail.php, MailboxHandler, *.lang:
- include mailbox name in pSendmail_result_error and
  pSendmail_result_success



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1781 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:44:51 +00:00
Christian Boltz
22e2bc7c89 *.lang:
add 'must_be_numeric_bigger_than_null', 'fetchmail_already_exists' and
  'fetchmail_does_not_exist' (as preparation for FetchmailHandler)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1761 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-04 13:55:54 +00:00
Christian Boltz
cc2b157d59 *Handler:
- add $msg['confirm'] (confirmation message when attemping to delete an
  item, displayed by list.php)

*.lang:
- add various confirm_delete_* texts needed by *Handler
- rename confirm_domain to confirm_delete_domain


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1749 a1433add-5e2c-0410-b055-b7f2511e0802
2015-03-17 21:07:59 +00:00
Christian Boltz
aea450625f de.lang:
- fix typo


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1742 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-28 21:58:43 +00:00
Christian Boltz
39f9d3ac98 cs.lang:
- translation updates by Jan Laufik (jlaufik @ sf)
  http://sourceforge.net/p/postfixadmin/patches/126/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1739 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-16 14:43:58 +00:00
Christian Boltz
3916ae4104 *.lang:
- add 'edit_not_allowed' (needed by PFAHandler)
- add 'searchparams' (needed by list.tpl)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1734 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 23:13:35 +00:00
Christian Boltz
a826564962 list.php:
- add CSV export

list.tpl:
- add "export as CSV" link

*.lang:
- new text 'download_csv'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1725 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:32:25 +00:00
Christian Boltz
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

*.lang:
- new text 'no_delete_permissions'



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1718 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-01 20:58:01 +00:00
Christian Boltz
4d0ebd7e1b vacation.php:
- check that $tActiveUntil >= today and $tActiveUntil >= $tActiveFrom
- update header comments
- display "vacation is active" notice also to admins
(based on a patch by J.Kruis @SF,
https://sourceforge.net/p/postfixadmin/patches/122/ )

*.lang:
- add 
  - pVacation_until_before_today
  - pVacation_until_before_from
  - reply_once_per_day
- change pUsersVacation_welcome_text to 'Auto response for %s is active!'
- remove "obsolete" marker from pUsersVacation_activefrom and
  pUsersVacation_activeuntil, they are still used

nl.lang:
- translation update by J.Kruis @SF
  https://sourceforge.net/p/postfixadmin/patches/122/



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1697 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-13 20:50:22 +00:00
Christian Boltz
fb4af233af config.inc.php:
- add note that $CONF[vacation_domain] can't be used for "normal" mails

model/DomainHandler.php:
- validate_new_id(): 
  - error out when trying to add $CONF[vacation_domain]
  - some whitespace fixes
- remove superfluous comment on initStruct()

*.lang:
- add 'domain_conflict_vacation_domain' error message



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1694 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-07 16:11:49 +00:00
Christian Boltz
2e6f20a473 *.lang:
- add pViewlog_action_delete_admin (needed to avoid an error when 
  deleting an admin)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1691 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-05 15:33:02 +00:00
Christian Boltz
a26e25a03a language-update.sh:
- add a hint about --forcepatch to --patch help
- some whitespace fixes in help


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1686 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 09:52:21 +00:00
Christian Boltz
0f55fb4351 fr.lang:
- translation update by Francois Grange (rumbaya @SF)
  https://sourceforge.net/p/postfixadmin/patches/123/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1679 a1433add-5e2c-0410-b055-b7f2511e0802
2014-06-09 13:27:19 +00:00
Christian Boltz
8c139c95d6 vacation:
restrict reply type to a list of options ($CONF[vacation_choice_of_reply]),
remove input field for custom interval


config.inc.php:
- change $CONF['vacation_choice_of_reply'] to [seconds] => [$PALANG label]
  (note: reply to every mail is commented by default because it can be
  annoying. Admins will have to explicitely add/enable it in their config.)
- remove $CONF[vacation_replytype_default]
- update comment about dovecot:* for $CONF[encrypt]

*.lang:
- add texts for reply types

VacationHandler.php:
- remove reply_type at various places
- set_away(): remove reply_type from list of function parameters

templates/vacation.tpl:
- update reply type dropdown for the changed $CONF['vacation_choice_of_reply']
- remove the input fields for custom reply delay

vacation.php:
- restrict reply type to a list of options ($CONF[vacation_choice_of_reply])
- if vacation is disabled, but old values are stored in the database,
  change the activeFrom and activeUntil date to today to avoid users
  have to scroll through the calendar a lot

xmlrpc.php:
- update set_away() call to match the removed parameter

upgrade.php:
- comment out upgrade_1345_mysql() which created the reply_type and 
  interval_time fields in the vacation table in mysql
- add upgrade_1610() to add the vacation.interval_time field


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1610 a1433add-5e2c-0410-b055-b7f2511e0802
2013-12-22 16:50:55 +00:00
Christian Boltz
b947495b09 (follow-up for r1588)
languages/*.lang:
- add texts for DomainHandler
- delete empty pAdminCreate_domain_defaultaliases_text



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1589 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 20:35:40 +00:00
Christian Boltz
1688065fca DomainHandler.php:
- better error/info messages
- remove superfluous (and never displayed) success message in storemore()

languages/*.lang:
- add texts for DomainHandler
- delete empty pAdminCreate_domain_defaultaliases_text



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1588 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 20:32:37 +00:00
Christian Boltz
801acc6cf2 AliasHandler:
- only allow @domain as target if $this->id is a catchall
- delete commented out version of delete()
- better error messages

languages/*.lang
- add new texts needed for AliasHandler


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1587 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 20:20:50 +00:00
Christian Boltz
4e489df526 AliasdomainHandler:
- better error messages

languages/*.lang
- rename pCreate_alias_domain_error3 to alias_domain_create_failed
- add new texts needed for AliasdomainHandler


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1586 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 20:02:14 +00:00
Christian Boltz
c11932e58c MailboxHandler:
- use better/translateable messages at various places

languages/*.lang
- add texts needed by MailboxHandler


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1585 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 19:49:40 +00:00
Christian Boltz
b11ee57e0e de.lang:
- better translation for "edit" in various texts


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1581 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-14 23:44:01 +00:00
Christian Boltz
60297e483c *.lang:
- rename pAdminCreate_admin_username_text to email_address
- rename pAdminEdit_admin_super_admin to super_admin

AdminHandler.php - initStruct(): 
- adopt to the renamed $PALANG texts
- remove some TODOs
- whitespace changes

setup.php, adminlistadmin.tpl:
- adopt to the renamed $PALANG texts


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1580 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-14 22:33:56 +00:00
Christian Boltz
288ba0e143 DomainHandler.php
- delete(): check if the domain is an alias domain target - if yes, do 
  not allow to delete it
- better error message if domain_postdeletion() fails

*.lang:
- rename pAdminDelete_domain_error to domain_postdel_failed and change 
  the text
- add delete_domain_aliasdomain_target



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1567 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-10 23:05:43 +00:00