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

132 Commits

Author SHA1 Message Date
David Goodwin
78f2f8edbe languages/en.lang: pPasswordTooShort added
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@132 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 14:58:38 +00:00
David Goodwin
e94a7c4e33 try and stop ff from autocompleting the field; put the encrypted password in the field...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@131 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 14:58:11 +00:00
David Goodwin
736a1a0b1f common.php: ensure $CONF["configured"] is not false
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@130 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 14:57:39 +00:00
David Goodwin
2267a22301 edit-admin.php: i think this fixes the outstanding problems, but I get horrible problems if firefox is allowed to remember passwords etc - is there a good way of disabling this behaviour beyond autocomplete="off" ?
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@129 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 14:57:04 +00:00
David Goodwin
e6025ff959 config.inc.php: renamed from config.inc.php.sample; added variable that needs disabling for site to work
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@128 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 13:53:45 +00:00
David Goodwin
c8ed2ffddf vacation.pl: patch from kope (via forum post at http://sourceforge.net/forum/forum.php?thread_id=1837942&forum_id=676076) - Thankyou
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@127 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 07:34:10 +00:00
Christian Boltz
809c1ec42c - merge admin/search.php into search.php
- merge GET and POST code
- admin/search.php still has the old code commented out

@pgsql users: please test the search - I can't promise that everything works. 
There are several TODOs / open questions regarding pgsql in search.php currently...


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@126 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-04 00:01:07 +00:00
Christian Boltz
57df6f53ea - added 'create admin' link
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@125 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-03 22:55:01 +00:00
Christian Boltz
b0cd475b04 - fix: unlimited is 0, not -1
- remove debugging code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@124 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-03 22:49:19 +00:00
Christian Boltz
4cdd5569cc fix password handling:
- always check if password == password2 (even if password2 is empty)
- skip changing password if new password is empty. Reasons:
  - empty passwords are insecure
  - editing an admin does not always mean to edit the password. One might 
    edit the allowed domains without even knowing the password of the 
	edited admin.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@123 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-03 22:41:01 +00:00
Christian Boltz
76af386cb7 - workaround for undefined variables (needed after template merge)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@122 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-03 00:55:55 +00:00
Christian Boltz
5712070060 - merge admin_list-virtual.tpl into overview.tpl
- deleted admin_list-virtual.tpl
- admin/list-virtual.php now uses overview.tpl template


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@121 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-03 00:51:47 +00:00
Christian Boltz
644997d8b0 - fix colspan in table headlines
- fix: display create mailbox link even if no mailbox exists yet


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@120 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 23:31:47 +00:00
Christian Boltz
f91a6641c3 - Fix HTML (<span> is opened inside the error message, close it again)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@119 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 23:17:07 +00:00
David Goodwin
72991a4aa6 reformatting; should be ignorable
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@118 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 13:41:23 +00:00
David Goodwin
e4f2e45039 edit-mailbox.php; try and make it work properly
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@117 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 13:37:42 +00:00
David Goodwin
4b84ff82bf templates/edit-vacation.tpl: explicit action url
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@116 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 12:49:56 +00:00
David Goodwin
c1c97bc77d edit-vacation.php: fix handling of empty goto field; fix handling of vacation editing if done by "someone else"
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@115 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 12:49:00 +00:00
David Goodwin
2ffb2ef3e6 functions.inc.php: reduce global usage
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@114 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 12:48:21 +00:00
David Goodwin
04ea2698f7 fix broken MySQL Schema (thanks to cytdevel - http://sourceforge.net/forum/forum.php?thread_id=1836415&forum_id=676076)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@113 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 12:22:38 +00:00
David Goodwin
f854128947 functions.inc.php: mysqli is a valid database_type as well!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@112 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 12:06:10 +00:00
David Goodwin
c1f25dce38 make links for adding mailbox and adding alias dependant on controller logic
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@111 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 11:58:46 +00:00
David Goodwin
3b38d12315 ensure domain name is in a list of valid domain names; set for use within the template so the right one is selected if ?domain=XXX was in the url
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@110 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 11:58:11 +00:00
David Goodwin
4e4af1a099 admin/list-virtual.php: correctly display add mailbox or add alias links for a domain as appropriate (not if it is a backup mx or inactive or alias/mailbox limit has been reached
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@109 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 11:57:28 +00:00
David Goodwin
568f49a1f7 create-alias.php: syntax error fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@108 a1433add-5e2c-0410-b055-b7f2511e0802
2007-10-02 11:55:46 +00:00
David Goodwin
dc51d62e15 update license headers
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@107 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-30 15:53:54 +00:00
David Goodwin
4e58481b8b fix template for edit-admin
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@106 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 20:35:43 +00:00
David Goodwin
01d61d011b edit-admin.php: it should work now - if you are a super admin, the domain list is unhighlighted; note domains that are inactive or backupmx records will appear unhighlighted all the time
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@105 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 20:35:19 +00:00
David Goodwin
f2bf3cdf97 functions.inc.php: remove optional parameter for get_domains_for_admin()
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@104 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 20:28:18 +00:00
David Goodwin
cb66e25ba4 templates/header.tpl: basic flash messaging, basic capability for info and error messages; needs css styling
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@103 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 19:29:10 +00:00
David Goodwin
53df296722 common.php: magic quotes stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@102 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 19:28:24 +00:00
David Goodwin
b15d558c81 functions.inc.php: fix escape_string to handle arrays, move magic_quotes stuff to common.php; add flash message stuff (See also header.php)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@101 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-28 19:27:51 +00:00
Christian Boltz
9c0a7f4ad3 - fix: edit links contained <span ...>...</span> from search highlighting.
(see forum post: https://sourceforge.net/forum/message.php?msg_id=4540915)
  Now using separate variables for highlighting in strings that end up in links.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@100 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-27 23:46:59 +00:00
Christian Boltz
1b603782d0 - fix: added edit_mailbox as allowed log action
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@99 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-27 23:24:48 +00:00
David Goodwin
65fafc8275 admin/edit-domain.php: sql refactoring
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@98 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-25 20:07:00 +00:00
David Goodwin
d56ada24e2 users/login.php: sql refactoring
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@97 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-25 20:06:28 +00:00
David Goodwin
fd67e6b120 screenshots: adding
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@96 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-25 19:54:03 +00:00
Christian Boltz
14bd1d6cd9 - removed forgotten TODO
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@95 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 23:24:18 +00:00
Christian Boltz
8e88a41691 - added missing "global $CONF" in authentication_require_role
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@94 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 22:01:09 +00:00
David Goodwin
97767d4800 en.lang: added missing key for "create mailbox"
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@93 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 20:24:56 +00:00
David Goodwin
eb6bca9047 vacation.pl: debug patch from amsys - see http://sourceforge.net/tracker/download.php?group_id=191583&atid=937966&file_id=247066&aid=1801542 - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@92 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 20:02:15 +00:00
David Goodwin
54650c8b1f config.inc.php.sample: add missing array key
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@91 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 12:25:24 +00:00
David Goodwin
075d15b4b1 db_log patch from amsys - make db logging translatable
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@90 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 09:24:11 +00:00
David Goodwin
8b769b41b5 password.php: s/succes/success/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@89 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:13:15 +00:00
David Goodwin
0229f99511 s/succes/success/; use db_get_boolean
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@88 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:12:50 +00:00
David Goodwin
cc0e532ecc sendmail.php: s/succes/success/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@87 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:12:06 +00:00
David Goodwin
e015b7d980 fix variable naming issue
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@86 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:11:39 +00:00
David Goodwin
f04389e793 create-alias.php: s/succes/success/g; use db_get_boolean()
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@85 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:10:14 +00:00
David Goodwin
11902aef57 spelling tpyo fix (s/succes/success/)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@84 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:09:31 +00:00
David Goodwin
377daa201d spelling tpyo fix (s/succes/success/)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@83 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-24 07:08:56 +00:00