Update of /cvsroot/qmailadmin/qmailadmin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14015 Modified Files: NEWS TODO alias.c auth.c autorespond.c command.c forward.c qmailadmin.h qmailadminx.h template.c user.c Log Message: Make it compile with vpopmail after defining MAX_BUFF globally so qmailadmin can see it. See notes at top of TODO. Index: qmailadmin.h =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/qmailadmin.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- qmailadmin.h 7 Feb 2004 09:22:36 -0000 1.4 +++ qmailadmin.h 29 Apr 2004 06:07:26 -0000 1.5 @@ -23,7 +23,6 @@ #define MAX_FILE_NAME 100 -#define MAX_BUFF 500 #define MAX_BIG_BUFF 5000 #define QMAILADMIN_UNLIMITED -1 Index: autorespond.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/autorespond.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- autorespond.c 7 Feb 2004 09:22:36 -0000 1.9 +++ autorespond.c 29 Apr 2004 06:07:25 -0000 1.10 @@ -25,8 +25,6 @@ #include <unistd.h> #include <pwd.h> #include <dirent.h> -#include <vpopmail.h> -#include <vauth.h> #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" Index: alias.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/alias.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- alias.c 7 Feb 2004 09:22:36 -0000 1.9 +++ alias.c 29 Apr 2004 06:07:25 -0000 1.10 @@ -24,8 +24,6 @@ #include <pwd.h> #include <errno.h> #include <dirent.h> -#include <vpopmail.h> -#include <vauth.h> #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" Index: command.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/command.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- command.c 7 Feb 2004 09:22:36 -0000 1.7 +++ command.c 29 Apr 2004 06:07:26 -0000 1.8 @@ -25,8 +25,6 @@ #include <unistd.h> #include <pwd.h> #include <dirent.h> -#include <vpopmail.h> -#include <vauth.h> #include "qmailadmin.h" #include "qmailadminx.h" #include <vpopmail_config.h> Index: user.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/user.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- user.c 7 Feb 2004 09:22:36 -0000 1.16 +++ user.c 29 Apr 2004 06:07:26 -0000 1.17 @@ -35,8 +35,6 @@ #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" -#include "vpopmail.h" -#include "vauth.h" #define HOOKS 1 Index: forward.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/forward.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- forward.c 7 Feb 2004 09:22:36 -0000 1.7 +++ forward.c 29 Apr 2004 06:07:26 -0000 1.8 @@ -25,8 +25,6 @@ #include <unistd.h> #include <pwd.h> #include <dirent.h> -#include <vpopmail.h> -#include <vauth.h> #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" Index: template.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/template.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- template.c 7 Feb 2004 09:22:36 -0000 1.11 +++ template.c 29 Apr 2004 06:07:26 -0000 1.12 @@ -28,14 +28,12 @@ #include <unistd.h> #include <pwd.h> #include <dirent.h> -#include <vpopmail.h> #include <vpopmail_config.h> /* undef some macros that get redefined in config.h below */ #undef PACKAGE_NAME #undef PACKAGE_STRING #undef PACKAGE_TARNAME #undef PACKAGE_VERSION -#include <vauth.h> #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" Index: qmailadminx.h =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/qmailadminx.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- qmailadminx.h 31 Jan 2004 11:08:00 -0000 1.5 +++ qmailadminx.h 29 Apr 2004 06:07:26 -0000 1.6 @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ + +#include <vpopmail.h> #include <vauth.h> #include <vlimits.h> Index: NEWS =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/NEWS,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- NEWS 7 Feb 2004 09:22:36 -0000 1.9 +++ NEWS 29 Apr 2004 06:07:25 -0000 1.10 @@ -7,6 +7,22 @@ ################################################################# +040428 + +Qmailadmin now requires vpopmail CVS from today or later. The key +change is moving MAX_BUFF to a global position where it is now visible +to qmailadmin. + +This update to qmailadmin makes it compile with the latest vpopmail. + +The latest vpopmail already includes all my patches, so currently there +is nothing you have to add. + +See TODO for a list of things I have found that need to be fixed before +release. I am moving to the extension now, and will add access to new +vpopmail features before fixing the things I've found here. + + 040207 get_html_text now takes an int instead of a string. Index: TODO =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/TODO,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- TODO 1 Feb 2004 02:13:56 -0000 1.3 +++ TODO 29 Apr 2004 06:07:25 -0000 1.4 @@ -3,6 +3,29 @@ Rick's todo list: +Jumping to the top of the list are these buglets found in recent +testing. + +1. When adding the first forward, the program jumps to the menu +instead of the forwards page. + +2. When adding a mail robot, rwidmer was not allowed as a forward +address, and I was presented with a blank screen, and an error +message. It did go to the right next page though. Email address +in the form user@domain.test was accepted. If only addresses are +allowed, say so. Better yet, allow users within the domain to +be specified by name only, and maybe use direct to mailbox deliveries +for that. + +3. Delete of user did not actually work. Confirm screen was given +and delete was confirmed, but delete did not actually happen. + +4. Catchall account has delete option. It should not be deleteable, and +the lack of a trash can should show it. + +5. Create email account is not showing its button to add the user. + + Add jump to first field javascript to templates. TMDA checkbox. Index: auth.c =================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/auth.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- auth.c 7 Feb 2004 09:22:36 -0000 1.8 +++ auth.c 29 Apr 2004 06:07:25 -0000 1.9 @@ -28,8 +28,6 @@ #include "config.h" #include "qmailadmin.h" #include "qmailadminx.h" -#include <vpopmail.h> -#include <vauth.h> set_admin_type() { |