jongfoster [Tue, 13 Nov 2001 00:28:51 +0000 (00:28 +0000)]
Adding new CGIs for use by non-JavaScript browsers:
edit-actions-url-form
edit-actions-add-url-form
edit-actions-remove-url-form
jongfoster [Tue, 13 Nov 2001 00:28:24 +0000 (00:28 +0000)]
- Renaming parameters from edit-actions-for-url so that they only
contain legal JavaScript characters. If we wanted to write
JavaScript that worked with Netscape 4, this is nessacery.
(Note that at the moment the JavaScript doesn't actually work
with Netscape 4, but now this is purely a template issue, not
one affecting code).
- Adding new CGIs for use by non-JavaScript browsers:
edit-actions-url-form
edit-actions-add-url-form
edit-actions-remove-url-form
- Fixing || bug.
jongfoster [Tue, 13 Nov 2001 00:16:40 +0000 (00:16 +0000)]
Replacing references to malloc.h with the standard stdlib.h
(See ANSI or K&R 2nd Ed)
jongfoster [Tue, 13 Nov 2001 00:14:07 +0000 (00:14 +0000)]
Fixing stupid bug now I've figured out what || means.
(It always returns 0 or 1, not one of it's paramaters.)
steudten [Wed, 7 Nov 2001 00:06:06 +0000 (00:06 +0000)]
Add line number in error output for lineparsing for
actionsfile.
steudten [Wed, 7 Nov 2001 00:03:14 +0000 (00:03 +0000)]
Give reliable return value if an error
occurs not just 0 with new daemon mode.
steudten [Wed, 7 Nov 2001 00:02:13 +0000 (00:02 +0000)]
Add line number in error output for lineparsing for
actionsfile and configfile.
Special handling for CLF added.
steudten [Tue, 6 Nov 2001 12:09:03 +0000 (12:09 +0000)]
Compress doc files. Install README and AUTHORS at last as document.
steudten [Tue, 6 Nov 2001 12:07:30 +0000 (12:07 +0000)]
Add --clean for building rpm in target redhat-dist.
hal9 [Mon, 5 Nov 2001 23:59:17 +0000 (23:59 +0000)]
Startup syntax change.
hal9 [Mon, 5 Nov 2001 23:57:51 +0000 (23:57 +0000)]
Minor update for startup now daemon mode.
steudten [Mon, 5 Nov 2001 23:43:05 +0000 (23:43 +0000)]
Add time+date to log files.
steudten [Mon, 5 Nov 2001 21:54:48 +0000 (21:54 +0000)]
Some changes..
steudten [Mon, 5 Nov 2001 21:43:48 +0000 (21:43 +0000)]
Add global var 'basedir' for unix os.
steudten [Mon, 5 Nov 2001 21:42:41 +0000 (21:42 +0000)]
Include DBG() macro.
steudten [Mon, 5 Nov 2001 21:41:43 +0000 (21:41 +0000)]
Add changes to be a real daemon just for unix os.
(change cwd to /, detach from controlling tty, set
process group and session leader to the own process.
Add DBG() Macro.
Add some fatal-error log message for failed malloc().
Add '-d' if compiled with 'configure --with-debug' to
enable debug output.
steudten [Mon, 5 Nov 2001 21:37:34 +0000 (21:37 +0000)]
Fix to include the actual version for name.
Let the 'real' packager be included - sorry stefan.
steudten [Mon, 5 Nov 2001 21:35:23 +0000 (21:35 +0000)]
Complete rewrite for the 'redhat-dist' target.
Checks for writeable RPM build directories for calling user.
So you must not be root, just set the modes to 1777 to
build a RH package.
Fix the upload-target to be arch independant.
Add target for 'solaris-dist' - coming soon.
steudten [Mon, 5 Nov 2001 21:31:51 +0000 (21:31 +0000)]
Change switch mode from weekly to size 1M
steudten [Mon, 5 Nov 2001 21:31:09 +0000 (21:31 +0000)]
Enable jarfile by default.
steudten [Mon, 5 Nov 2001 21:30:23 +0000 (21:30 +0000)]
Make JB startup without & due to be a 'real' daemon right now.
Make the script easy to change.
David Schmidt [Thu, 1 Nov 2001 14:28:47 +0000 (14:28 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status. So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.
David Schmidt [Thu, 1 Nov 2001 14:18:57 +0000 (14:18 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status. So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.
hal9 [Thu, 1 Nov 2001 00:52:04 +0000 (00:52 +0000)]
Redhat-upload stuff per Stefan.
hal9 [Wed, 31 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Correct 2 minor errors
swa [Wed, 31 Oct 2001 19:27:27 +0000 (19:27 +0000)]
consistent description. new name for suse since
we had troubles with rpms of identical names
on the webserver.
swa [Wed, 31 Oct 2001 19:26:13 +0000 (19:26 +0000)]
automate process of uploading new releases
to sf.
swa [Wed, 31 Oct 2001 18:16:52 +0000 (18:16 +0000)]
documentation added: howto generate docs in text and html
format, howto move stuff to the webserver.
David Schmidt [Mon, 29 Oct 2001 03:48:10 +0000 (03:48 +0000)]
OS/2 native needed a snprintf() routine. Added one to miscutil, brackedted
by and __OS2__ ifdef.
jongfoster [Sun, 28 Oct 2001 19:12:06 +0000 (19:12 +0000)]
Adding ijb_toupper()
jongfoster [Fri, 26 Oct 2001 20:13:09 +0000 (20:13 +0000)]
ctype.h is needed in Windows, too.
jongfoster [Fri, 26 Oct 2001 20:11:20 +0000 (20:11 +0000)]
Fixing type mismatch
swa [Fri, 26 Oct 2001 18:38:49 +0000 (18:38 +0000)]
updated files from SGML code.
swa [Fri, 26 Oct 2001 18:37:14 +0000 (18:37 +0000)]
give consistent intro. look pretty (ier) ;-).
swa [Fri, 26 Oct 2001 18:36:52 +0000 (18:36 +0000)]
give consistent intro.
swa [Fri, 26 Oct 2001 18:17:23 +0000 (18:17 +0000)]
new version string
oes [Fri, 26 Oct 2001 17:40:47 +0000 (17:40 +0000)]
Moved ijb_isspace and ijb_tolower to project.h
Removed http->user_agent, csp->referrer and csp->accept_types
oes [Fri, 26 Oct 2001 17:40:23 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed client_accept()
oes [Fri, 26 Oct 2001 17:40:04 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed http->user_agent, csp->referrer and csp->accept_types
Removed client_accept()
oes [Fri, 26 Oct 2001 17:39:38 +0000 (17:39 +0000)]
Moved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:39:01 +0000 (17:39 +0000)]
Removed csp->referrer
Moved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:38:28 +0000 (17:38 +0000)]
Cosmetics
oes [Fri, 26 Oct 2001 17:37:55 +0000 (17:37 +0000)]
- Re-enabled Netscape 200/404 bug workaround in block_url():
- Removed OS/2 special case
- Made block_url() independant from sed() having been run
- Made trust_url independant from sed() having been run
- Made is_imageurl independant from sed() having been run.
It now checks User-Agent: and Accept: by itself.
oes [Fri, 26 Oct 2001 17:33:27 +0000 (17:33 +0000)]
marginal bugfix
oes [Fri, 26 Oct 2001 11:12:15 +0000 (11:12 +0000)]
Re-enabling the default strings for admin-adress and proxy-info-url
jongfoster [Thu, 25 Oct 2001 21:35:45 +0000 (21:35 +0000)]
- Now works with Netscape 6
- Still doesn't work properly in Opera 5.12 or Netscape 4.75
(It's usable but you don't get the pretty effects)
- Contains ugly browser-detection code that needs tidying if possible
David Schmidt [Thu, 25 Oct 2001 03:45:02 +0000 (03:45 +0000)]
Adding a (void*) cast to freez() because Visual Age C++ won't expand the
macro when called with a cast; so moving the cast to the macro def'n
seems to both eliminate compiler warnings (on darwin and OS/2, anyway) and
doesn't make macro expansion complain. Hope this works for everyone else
too...
David Schmidt [Thu, 25 Oct 2001 03:40:48 +0000 (03:40 +0000)]
Change in porting tactics: OS/2's EMX porting layer doesn't allow multiple
threads to call select() simultaneously. So, it's time to do a real, live,
native OS/2 port. See defines for __EMX__ (the porting layer) vs. __OS2__
(native). Both versions will work, but using __OS2__ offers multi-threading.
hal9 [Wed, 24 Oct 2001 23:58:48 +0000 (23:58 +0000)]
*** empty log message ***
hal9 [Wed, 24 Oct 2001 19:27:36 +0000 (19:27 +0000)]
*** empty log message ***
hal9 [Wed, 24 Oct 2001 18:47:54 +0000 (18:47 +0000)]
*** empty log message ***
hal9 [Wed, 24 Oct 2001 18:40:12 +0000 (18:40 +0000)]
nit.
hal9 [Wed, 24 Oct 2001 17:43:51 +0000 (17:43 +0000)]
nada
hal9 [Wed, 24 Oct 2001 17:13:08 +0000 (17:13 +0000)]
Fix date only.
hal9 [Wed, 24 Oct 2001 17:10:55 +0000 (17:10 +0000)]
Catching up with Jon's recent work, and a few other things.
hal9 [Wed, 24 Oct 2001 17:10:08 +0000 (17:10 +0000)]
Incorporate recent changes from Jon's new stuff.
hal9 [Wed, 24 Oct 2001 16:46:50 +0000 (16:46 +0000)]
Minor update.
hal9 [Wed, 24 Oct 2001 15:45:49 +0000 (15:45 +0000)]
To keep Thomas happy (aka correcting my mistakes)
jongfoster [Tue, 23 Oct 2001 21:48:19 +0000 (21:48 +0000)]
Cleaning up error handling in CGI functions - they now send back
a HTML error page and should never cause a FATAL error. (Fixes one
potential source of "denial of service" attacks).
CGI actions file editor that works and is actually useful.
Ability to toggle JunkBuster remotely using a CGI call.
You can turn off both the above features in the main configuration
file, e.g. if you are running a multi-user proxy.
jongfoster [Tue, 23 Oct 2001 21:42:41 +0000 (21:42 +0000)]
Added enable-edit-actions and enable-remote-toggle
jongfoster [Tue, 23 Oct 2001 21:41:35 +0000 (21:41 +0000)]
Added call to initialize the (statically-allocated of course)
"out of memory" CGI response.
jongfoster [Tue, 23 Oct 2001 21:40:30 +0000 (21:40 +0000)]
Added support for enable-edit-actions and enable-remote-toggle config
file options.
jongfoster [Tue, 23 Oct 2001 21:38:53 +0000 (21:38 +0000)]
Adding error-checking to create_url_spec()
jongfoster [Tue, 23 Oct 2001 21:36:02 +0000 (21:36 +0000)]
Documenting sed()'s error behaviou (doc change only)
jongfoster [Tue, 23 Oct 2001 21:32:33 +0000 (21:32 +0000)]
Adding error-checking to selected functions
jongfoster [Tue, 23 Oct 2001 21:30:30 +0000 (21:30 +0000)]
Adding error-checking to selected functions.
jongfoster [Tue, 23 Oct 2001 21:27:50 +0000 (21:27 +0000)]
Standardising error codes in string_append
make_path() no longer adds '\\' if the dir already ends in '\\' (this
is just copying a UNIX-specific fix to the Windows-specific part)
jongfoster [Tue, 23 Oct 2001 21:24:10 +0000 (21:24 +0000)]
Support for FEATURE_CGI_EDIT_ACTIONS
jongfoster [Tue, 23 Oct 2001 21:21:03 +0000 (21:21 +0000)]
New error handling - error codes are now jb_errs, not ints.
Changed the way map() handles out-of-memory, to dramatically
reduce the amount of error-checking clutter needed.
jongfoster [Tue, 23 Oct 2001 21:19:04 +0000 (21:19 +0000)]
New error-handling support: jb_err type and JB_ERR_xxx constants
CGI functions now return a jb_err, and their parameters map is const.
Support for RUNTIME_FEATUREs to enable/disable config editor
Adding a few comments
David Schmidt [Mon, 22 Oct 2001 15:33:56 +0000 (15:33 +0000)]
Special-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
filters.c. Added a FIXME in front of the offending code. I'll gladly
put in a better/more robust fix for all parties if one is presented...
It seems that just returning 200 instead of 404 would pretty much fix
it for everyone, but I don't know all the history of the problem.
steudten [Sun, 21 Oct 2001 20:25:20 +0000 (20:25 +0000)]
Disable single-threaded back.
filtering by reexp is default on in actionsfile.
steudten [Sun, 21 Oct 2001 19:48:31 +0000 (19:48 +0000)]
Update from configure.in
swa [Sun, 21 Oct 2001 17:19:22 +0000 (17:19 +0000)]
wrong url in documentation
swa [Sun, 21 Oct 2001 17:08:17 +0000 (17:08 +0000)]
new version.
swa [Sun, 21 Oct 2001 17:07:21 +0000 (17:07 +0000)]
also provide developer and faq docs.
David Schmidt [Fri, 19 Oct 2001 00:20:03 +0000 (00:20 +0000)]
Comment out the bogus local doc URL by default, now that we're only
showing it if it's filled in
David Schmidt [Fri, 19 Oct 2001 00:01:33 +0000 (00:01 +0000)]
Conditional administrator e-mail address... some templates need colspan=2
David Schmidt [Thu, 18 Oct 2001 22:22:09 +0000 (22:22 +0000)]
Only show "Local support" on templates conditionally:
- if either 'admin-address' or 'proxy-info-url' are uncommented in config
- if not, no Local support section appears are removed automatically
David Schmidt [Thu, 18 Oct 2001 22:17:43 +0000 (22:17 +0000)]
Only show "Local support" on templates conditionally:
- if either 'admin-address' or 'proxy-info-url' are uncommented in config
- if not, no Local support section appears
hal9 [Tue, 16 Oct 2001 01:31:53 +0000 (01:31 +0000)]
mini nit
jongfoster [Mon, 15 Oct 2001 23:01:36 +0000 (23:01 +0000)]
Adding testers. They're important too!
Currently, the list of tester's names has been taken from the
mailing list as far back as the end of June, around when we
moved over from Yahoo! Groups to a SourceForge mailing list.
I've also added those people who've submitted bugs to SourceForge
and who logged in to their SourceForge accounts first.
joergs [Mon, 15 Oct 2001 22:14:59 +0000 (22:14 +0000)]
Removed -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
the general CFLAGS already.
joergs [Mon, 15 Oct 2001 22:06:16 +0000 (22:06 +0000)]
Added some entries from my local actionsfile.
hal9 [Mon, 15 Oct 2001 18:52:19 +0000 (18:52 +0000)]
Reformatted
steudten [Mon, 15 Oct 2001 18:28:06 +0000 (18:28 +0000)]
remove config.cache for target clobber.
Cleanup make dist for RH and S.u.S.E.
hal9 [Mon, 15 Oct 2001 15:03:05 +0000 (15:03 +0000)]
Nit
hal9 [Mon, 15 Oct 2001 14:44:08 +0000 (14:44 +0000)]
Nit.
hal9 [Mon, 15 Oct 2001 14:42:12 +0000 (14:42 +0000)]
Adding finished docs to CVS
hal9 [Mon, 15 Oct 2001 14:25:56 +0000 (14:25 +0000)]
Minor updates.
hal9 [Mon, 15 Oct 2001 05:37:32 +0000 (05:37 +0000)]
Minor additions, esp. BSD/gmake.
hal9 [Mon, 15 Oct 2001 03:23:59 +0000 (03:23 +0000)]
Nits.
hal9 [Sun, 14 Oct 2001 23:46:24 +0000 (23:46 +0000)]
Various minor changes. Fleshed out SEE ALSO section.
hal9 [Sun, 14 Oct 2001 23:43:42 +0000 (23:43 +0000)]
Rewrite
hal9 [Sun, 14 Oct 2001 23:42:18 +0000 (23:42 +0000)]
Added back in man page
hal9 [Sun, 14 Oct 2001 23:39:06 +0000 (23:39 +0000)]
New file per Andreas's request...
jongfoster [Sun, 14 Oct 2001 23:18:19 +0000 (23:18 +0000)]
Adding nytimes.com with -no-cookies -fast-redirect
Rearranging slightly - should not change results.
jongfoster [Sun, 14 Oct 2001 22:28:41 +0000 (22:28 +0000)]
Fixing stupid typo.
jongfoster [Sun, 14 Oct 2001 22:20:18 +0000 (22:20 +0000)]
- Changes to CGI dispatching method to match CGI names exactly,
rather than doing a prefix match.
- No longer need to count the length of the CGI handler names by hand.
- Adding new handler for 404 error when disptching a CGI, if none of
the handlers match.
- Adding new handlers for CGI actionsfile editor.
jongfoster [Sun, 14 Oct 2001 22:14:01 +0000 (22:14 +0000)]
Removing name_length field from struct cgi_dispatcher, as this is
now calculated at runtime from the "name" field.