Commit Graph

40 Commits (9f7d4f14e96105d0e297534dd3685d50963660c2)

Author SHA1 Message Date
Christian Boltz 1132b958e5 Finally got rid of admin/ :-)
- moved admin-only scripts from admin/ to /
- removed all merged files ("require('../$file')") from admin/
- changed include paths - no more admin/superadmin switching needed
- admin_menu.tpl is also gone
- removed all menu.tpl / admin_menu.tpl switches - no more needed
- admin/index.php still exists and redirects to /



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@168 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 39ed97329f - merged admin/delete.php into /delete.php
- the WHERE fieldname is now hardcoded instead of being a $_GET parameter
  This fixes a possible security hole in admin/delete.php (only vulnerabe
  when logged in as global-admin)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@166 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 456fd9a372 - replaced admin creation code with a call to create_admin(),
see commit message of r135 for details


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@146 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 94b033b97e create-domain.php: fix bug reported by ricflomag - see http://sourceforge.net/tracker/index.php?func=detail&aid=1752057&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@144 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 31c73f9256 fix edit-admin to not use the db password to pre-populate the field - as per emails with Christian Boltz
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@143 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
David Goodwin dc51d62e15 update license headers
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@107 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
David Goodwin bf5b01a624 spelling tpyo fix (s/succes/success/)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@82 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 2d3058ed9c patch from amsys - see http://sourceforge.net/tracker/index.php?func=detail&aid=1800367&group_id=191583&atid=937966 - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@72 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin cf5b117aa5 admin/*, users/* - code refactoring
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@67 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Greg 97aeb7a567 Added optional feature to indicate broken aliases and where mailboxes deliver to. Includes
new language variables:
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE ';
$PALANG['pStatus_custom'] = 'Delivers to ';
$PALANG['pStatus_popimap'] = 'POP/IMAP ';

Some bug fixes. Maybe some new bugs added.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@46 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e7d80192e9 - merge viewlog.php and admin/viewlog.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@45 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz ae9e1d4cbe - fix SQL syntax (';' was missing)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@43 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 0281911724 - merge admin/edit-mailbox.php and edit-mailbox.php
- merge identical parts of GET and POST code
- fix uninitalized variable (was only visible in case of validation errors)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@42 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz a4410bfcaa - merged edit-alias.php and admin/edit-alias.php
- merged identical parts of GET and POST code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@41 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 04ce4827e4 - merge edit-active.php and admin/edit-active.php
- merge identical parts of GET and POST code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@40 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 9c5c053fab - merge create-alias.php and admin/create-alias.php
- merge identical parts of GET and POST code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@39 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz ae315a3312 - merge create-mailbox.php and admin/create-mailbox.php
- TODO: handling of mailbox_postcreation failure is not merged yet. 
  The code from admin/ is inserted commented out
- merge identical parts of GET and POST code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@38 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 77997f7b33 - merged admin/edit-vacation.php into edit-vacation.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@36 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 984afca938 - fix file header information
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@35 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
David Goodwin b934b083fc broadcast-message.php: add ability for admins to email everyone, patch from Georgi Naplatanov - goshoo (via sf.net)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@25 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
David Goodwin 051876ac18 fix uninitialiseed variable for v_active
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@23 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
David Goodwin da8dd4f273 admin/create-admin.php: ensure array is initialised
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@22 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 9438128aa6 whitespace fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@18 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Christian Boltz 0ac0429df0 - fix [ 1723809 ] alias_control ignored when coming from admin list
- code cleanup: merge GET and POST handling (except different parts),
  reduces file size to about the half


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@17 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg 3a240d9693 More functional search results
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@14 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg 69254c67f1 'alias' instead of '$table_alias' being used by some .php files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@9 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg fc7bc9529a Search enhancements
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@4 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg d7cca670cb patches by Christian Boltz applied
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@3 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg a5ce5620cf Made it possible for admins and superadmins to set a vacation message,
edit vacation messages, and remove them.

main.php added to admin directory so admin and / can share more
templates.

the new edit-vacation.php in admin and / are identical except
for template references

languages/en.lang and languages/default.lang are in sync now

I attempted to add some of the new .lang variables I created to
the spanish file (I don't know it that well, hope its OK)

fixed a bug in users/vacation.php

Added a "Main" menu item to the admin menu that gets you back to where
you started when you log in.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@2 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Mischa Peters 85dc57beee Initial Import in SourceForge
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago