0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
Commit Graph

736 Commits

Author SHA1 Message Date
David Goodwin
2c9f5e0876 create-alias-domain.php: fix undefined variables
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@631 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-18 19:40:50 +00:00
David Goodwin
125130c1dd reindent; fix postgres date formatting issue with +01 times
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@630 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-18 19:38:20 +00:00
Christian Boltz
05e832ca8c setup.php:
- setup_password is now checked against a hashed value instead of plain text
- setup.php will display the hash value of the entered password if it 
  doesn't match - copy&paste ready to include in config.inc.php. 
  No need to compute the password hash yourself ;-)
- see generate_setup_password_salt(), encrypt_setup_password() and
  check_setup_password() for details how the password hashing works.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@629 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-15 23:32:45 +00:00
Christian Boltz
eb6e7e0709 model/*, tests/*:
- added a vim: comment for tab expansion etc.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@628 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-15 21:54:18 +00:00
Christian Boltz
166b93423f model/AliasHandler.php:
- really ;-) fix undefined variable $username


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@626 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-11 23:24:20 +00:00
Christian Boltz
be00d3542e xmlrpc.php:
- remove session_start() - the session is already started in common.php

model/UserHandler.php:
- db_log() used undefined variable $USERID_USERNAME - use $username instead


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@625 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-11 20:45:38 +00:00
David Goodwin
b0723045b4 AliasHandler: fix undefined varaible (domain - line 157)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@624 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-11 20:44:46 +00:00
Christian Boltz
ac26b96152 setup.php:
- remove "define('POSTFIXADMIN', 1)" and inclusion of en.lang - this is 
  already done by common.php (used since r616).
  This fixes a "already defined" warning.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@623 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-10 15:27:44 +00:00
Christian Boltz
6bd6c99835 templates/search.php:
- fix displaying of vacation status in search results - was broken for
  a) super admins (wrong nesting of if statements)
  b) mailboxes with vacation switched off (empty and therefore invisible link)

templates/admin_search.php:
- deleted unused file


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@622 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-10 14:20:46 +00:00
Christian Boltz
1bb29c849c templates/users_password.php:
- fix undefined variable $USERID_USERNAME by using $username instead


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@621 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-10 14:02:06 +00:00
Christian Boltz
493c8dcec4 POSTFIX_CONF.txt.
- honor alias_domain.active (see mail from Daniel Reichelt in postfixadmin-devel)
- fix query for maildir in virtual_mailbox_maps - the maildir field already 
  contains the domain (exact layout depends on the $CONF settings), so there's
  no need to prepend it again


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@620 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-09 20:46:44 +00:00
Christian Boltz
f3d52ab848 fetchmail.pl:
- added support for PgSQL - based on patch from johker,
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2747526&group_id=191583
- rename config variables to use names known from vacation.pl
- add support for external config file /etc/mail/postfixadmin/fetchmail.conf


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@619 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-09 20:05:45 +00:00
David Goodwin
140864dee1 common.php: remove requirement to delete setup.php; require $CONF["setup_password"] is changed etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@618 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-08 20:17:24 +00:00
David Goodwin
ad61253c33 login.php: do not require the deletion of setup.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@617 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-08 20:16:35 +00:00
David Goodwin
e4498461ba setup.php: reindent; require setup_password before it will add an admin user
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@616 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-08 20:16:05 +00:00
David Goodwin
b4dfc638f5 config.inc.php: add setup_password
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@615 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-08 20:15:03 +00:00
David Goodwin
96985c965f debian/changelog, function.inc.php, CHANGELOG.TXT : 2.3 rc3 is almost here
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@613 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-06 19:59:11 +00:00
David Goodwin
1079945e23 create-mailbox.php: Remove commented out & dead code
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@612 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-06 19:54:11 +00:00
David Goodwin
51d418f16c fix register globals check in common.php - see https://sourceforge.net/tracker/?func=detail&aid=2721614&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@611 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-02 20:49:32 +00:00
David Goodwin
4b167a60ec edit-alias.php: reindent and make the $CONF["alias_control_admin"] and $CONF["special_alias_control"] are respected (for domain admins) - global admins can do whatever they like...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@610 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-02 20:30:07 +00:00
David Goodwin
e068b7812a fix bug where user entered vacation details were not being returned when you go to set yourself away again
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@607 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-30 12:46:35 +00:00
Christian Boltz
adcc105163 fetchmail.php:
- only list fetchmail entries for domains/mailboxes someone owns
- better sort order for list mode (mailbox, src_server, src_user) - best
  would be to sort by domain first, but this isn't that easy without a
  domain column. Anyways, everything is better than "order by id" ;-)
- changes partly done to prepare "fetchmail for users", see patch at
  https://sourceforge.net/tracker/?func=detail&aid=2715675&group_id=191583&atid=937966
  (patch will be included after the 2.3 release)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@604 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-26 23:07:45 +00:00
David Goodwin
667b00d13f fix errors e.g. see https://sourceforge.net/tracker/?func=detail&aid=2711888&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@603 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-25 15:26:23 +00:00
David Goodwin
e0aa21917a users/password.php: no need to escape strings - should be in the model layer - fix broken auth check
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@602 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-25 14:51:12 +00:00
David Goodwin
25ad930215 password.php: fix use of UserHandler... - see http://pastebin.com/m159f0726
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@601 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-24 16:18:03 +00:00
David Goodwin
ec6acef54b POSTFIX_CONF.txt: see e.g. https://sourceforge.net/tracker/index.php?func=detail&aid=2693375&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@600 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-23 15:31:06 +00:00
David Goodwin
e61244ac9f setup.php: give the full path to setup.php to help people a little bit more
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@599 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-21 16:34:29 +00:00
David Goodwin
709365d936 debian/control: fix some debian-isms after review from mez@sourceguru.net
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@598 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-21 16:32:50 +00:00
David Goodwin
8f75a86a21 ru.lang: update from pusischev - see https://sourceforge.net/tracker/index.php?func=detail&aid=2697838&group_id=191583&atid=937966 - thank you
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@597 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-20 21:25:07 +00:00
David Goodwin
0ad9c1159d patch from Fabiobon - fix a few Italian translations - see https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2696920&group_id=191583
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@596 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-20 10:18:10 +00:00
David Goodwin
3024894a32 svn revision numbers keep changing!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@594 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 20:05:52 +00:00
David Goodwin
97166673bd updating
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@593 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 20:04:26 +00:00
David Goodwin
09fd369956 update debian configuration
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@592 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 20:02:19 +00:00
David Goodwin
7f4973c899 functions.inc.php: bump version number
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@591 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 19:53:05 +00:00
David Goodwin
784e0ea2dd CHANGELOG.TXT: update
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@590 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 19:52:15 +00:00
David Goodwin
c384984362 2.3rc1
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@588 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-18 19:54:34 +00:00
David Goodwin
0ab2de5d9e add testing for xmlrpc alias manipulations
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@587 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 20:16:50 +00:00
David Goodwin
485d52c4a2 xmlrpc.php: add User::login(...)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@586 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 19:49:57 +00:00
David Goodwin
139ebbb170 bug fixes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@585 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 19:49:36 +00:00
David Goodwin
8d44769372 add tests for User stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@584 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 19:49:19 +00:00
David Goodwin
302914abc0 fix bugs found in initial tesitng
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@583 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-15 21:26:51 +00:00
David Goodwin
3ed6989c23 fix bugs found in initial testing
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@582 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-15 21:26:20 +00:00
David Goodwin
9ee45c69c8 tests: add initial simpletest unit tests for the xmlrpc stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@581 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-15 21:24:56 +00:00
Christian Boltz
af702c05e1 functions.inc.php, function pacrypt:
- added dovecotpw encryption support (patch from cmuelle8 (trendypack) + some fixes 
  from me, see tracker for details)
  https://sourceforge.net/tracker2/?func=detail&aid=2607332&group_id=191583&atid=937966
- replaced most "if" with "elseif" to be able to check for invalid $CONF[encrypt] settings
- added error check/message for invalid $CONF[encrypt] settings

config.inc.php:
- $CONF[encrypt]: added description for dovecot:xy
- added new $CONF['dovecotpw'] setting (path to dovecotpw binary)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@580 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 23:32:20 +00:00
David Goodwin
87461233d9 add xmlrpc server support - TOTALLY NOT TESTED YET!!!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@579 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 21:48:38 +00:00
David Goodwin
f335850e8f remove logic from users template
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@578 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 20:49:54 +00:00
David Goodwin
f9341abb8b common.php: add autoloading for model classes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@577 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 20:49:32 +00:00
David Goodwin
f22ac38db3 require php5
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@576 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 20:49:05 +00:00
David Goodwin
53182c4922 refactoring of users (most app logic is now in /model)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@575 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-13 20:48:24 +00:00
David Goodwin
351585fbb0 INSTALL.TXT: we now require PHP5+
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@574 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-12 09:11:22 +00:00