2177 Commits

Author SHA1 Message Date
ian%hixie.ch
175e51509e Added a bit more support for objects (as opposed to services): added a new objectCreate() constructor and an objectInit() method.
Added an optimisation to Controller.pm so that service names will be hashed once accessed. This should make multiple accesses of the same service a lot quicker. To go with this I added some diagnostics code (on exit) and moved the code around a little bit.
Fixed a minor transgression of the coding style guidelines in Magic*Array.pm. :-)
Neatened up the code in Output.pm.
Made it so Session objects assume they have an 'app' property, and so don't need to be passed $app all the time. (Sessions are objects now.)
Added an unimplemented getAddress() method to the Session class.


git-svn-id: svn://10.0.0.236/trunk@94817 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 18:04:52 +00:00
ian%hixie.ch
87e48ce3f8 fixing two rather serious (albeit simple) bugs in the strings data source; adding a comment to Input.pm in preparation for doing the user authentication stuff
git-svn-id: svn://10.0.0.236/trunk@94807 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 05:52:24 +00:00
justdave%syndicomm.com
eee9480678 Fix for bug 38859: escape invalid email addresses for HTML before displaying to the user.
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net, justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@94669 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 18:02:38 +00:00
justdave%syndicomm.com
88236c18dd Fix for bug 80045: 500 Server Error in IE (but not Netscape or Mozilla) on errors looking up email addresses.
Patch by <jake@acutex.net>
r= justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@94501 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 18:16:51 +00:00
justdave%syndicomm.com
692f198bc4 Fix for bug 38854: reports.cgi needs to escape (untrusted) url params
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@94448 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 03:02:52 +00:00
justdave%syndicomm.com
d0938a0ed7 Fix for bug 38855: showvotes.cgi needs to escape (untrusted) url params
Patch by Myke Melez <myk@mozilla.org>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@94446 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:53:22 +00:00
justdave%syndicomm.com
b798333d77 Fix for bug 79730: Minor minor typo in move.pl (recieve -> receive).
Patch by gavins@iplbath.com (Gavin Shelley).
r= justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@94392 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 18:32:35 +00:00
ian%hixie.ch
0fdc941055 adding some progress messages to the setup output; making COSES more resilient to invalid input
git-svn-id: svn://10.0.0.236/trunk@94168 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 00:05:42 +00:00
ian%hixie.ch
2c7f039451 Slight changes to make output code more flexible
git-svn-id: svn://10.0.0.236/trunk@94104 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-07 07:04:17 +00:00
ian%hixie.ch
d33e786523 * fixed the methodMissing() method so that it actually is possible to use it to do method dispatching;
* factored out some of the method dispatching code by adding a dispatchMethod() method to the controller;
* turned the Dispatcher class into simply a function on the base Service class and removed Dispatcher.pm;
* made it possible for services to be both services and objects and provide different services depending on which context they were called in (and used this to make the AdminCommands module actually do what it was intended to in the first place, namely, only work for CommandLine access);
* fixed it so if a service is first created by getServiceList the constructed version will actually be cached;
* made output more generic by allowing services to implement arbitrary parts of the output API, used that to make AdminCommands usable without requiring additional code to support it;
* added some documentation;
* added some dump(10) statements to help debugging;
* fixed the string datasource SQL;
* fixed the DBI database so it can handle errors;
* added tableExists API to the DBI database helper.
Thanks to myk, justdave and zach for some ideas.


git-svn-id: svn://10.0.0.236/trunk@94080 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 06:26:24 +00:00
ian%hixie.ch
2cb0e0a8bf Made the lack of a configuration file be non-fatal (and factored out the low level code while I was at it). We need that so that the configuration data source can actually go in and create the configuration file if it is missing; otherwise the program exits with "no configuration file! waah!" before you get to the configuration-file-creation code!
git-svn-id: svn://10.0.0.236/trunk@94067 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 19:00:06 +00:00
ian%hixie.ch
ad0bceba08 Implementing (and documenting!) PLIF::debug() as suggested by zach. a=hixie
git-svn-id: svn://10.0.0.236/trunk@94066 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 18:28:08 +00:00
ian%hixie.ch
72c3f78013 work in progress
git-svn-id: svn://10.0.0.236/trunk@94031 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 07:12:56 +00:00
ian%hixie.ch
8085f90f1b Blatantly copied http://scarab.tigris.org/scarab-design.html and changed it to suit Bugzilla
git-svn-id: svn://10.0.0.236/trunk@93794 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 10:57:46 +00:00
ian%hixie.ch
d92f3ce966 Creating new Bugzilla 3 directory. Nothing to see here yet!
git-svn-id: svn://10.0.0.236/trunk@93793 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 10:41:12 +00:00
ian%hixie.ch
d86456eac1 Fixing various typos and spelling mistakes spotted by timeless. There shouldn't be any code level changes here. moa=hixie
git-svn-id: svn://10.0.0.236/trunk@93417 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-29 08:35:29 +00:00
justdave%syndicomm.com
55a289928e rolling version number to 2.13 for development
git-svn-id: svn://10.0.0.236/trunk@93284 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 19:36:20 +00:00
justdave%syndicomm.com
917742da8c addition to 2.12 release notes
git-svn-id: svn://10.0.0.236/trunk@93282 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 19:32:27 +00:00
Chris.Yeh%nokia.com
6456059520 Fix for sendmail daemons that don't support EHLO. We never use the extended
functionality anyway, so replace it with a standard HELO. Thanks to Ken Key for
helping me track this down.


git-svn-id: svn://10.0.0.236/trunk@93187 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 22:53:20 +00:00
justdave%syndicomm.com
2c027ee6d4 Backing out .htaccess commit, these don't belong here yet. It broke checksetup.pl, too.
git-svn-id: svn://10.0.0.236/trunk@93109 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 04:16:03 +00:00
barnboy%trilobyte.net
397168f490 Added .htaccess files for shadow/, data/, and /.
I added related information to the Bugzilla Guide, and
tacked in a couple of last-minute additions.  Also fixed the
annoying "Tip: HINT:" thing.


git-svn-id: svn://10.0.0.236/trunk@93103 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 01:51:59 +00:00
tara%tequilarista.org
859009ece5 Tara is a bucket head. Floating version to 2.12 ship for tag and stripe
git-svn-id: svn://10.0.0.236/trunk@93068 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 15:45:27 +00:00
tara%tequilarista.org
b09c0de48a Removing forward planning text
git-svn-id: svn://10.0.0.236/trunk@93067 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 15:38:34 +00:00
barnboy%trilobyte.net
ca403efef5 Fix for confusing language regarding protection of data/ & shadow/ directories
and localconfig file.


git-svn-id: svn://10.0.0.236/trunk@93059 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 07:38:24 +00:00
barnboy%trilobyte.net
51a7de4d46 Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242.
The README is now gutted, pointers to Guide.  Also some new sections added,
old ones fixed, and notes appended to deprecated sections I've not yet had
the heart to remove.


git-svn-id: svn://10.0.0.236/trunk@93058 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 07:12:20 +00:00
tara%tequilarista.org
f1011adbda Checking in the last of the changes for 76837 for 2.12. Good enough for government work.
git-svn-id: svn://10.0.0.236/trunk@92954 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 22:16:12 +00:00
tara%tequilarista.org
b31fa05f51 README now points everybody to the release notes and the new user guide
git-svn-id: svn://10.0.0.236/trunk@92953 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 22:14:50 +00:00
ian%hixie.ch
f380df49a8 Changing release numbers to 2.0 to match mozbot version number.
git-svn-id: svn://10.0.0.236/trunk@92922 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 07:09:20 +00:00
ian%hixie.ch
b45b41311b Updating mozbot to version 2.0: changed to a more modular architecture, added support for multiple channels, added support for multiple nicks, generally cleaned up the code, etc. Uses some code and ideas from timeless and zach.
git-svn-id: svn://10.0.0.236/trunk@92921 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 07:07:17 +00:00
myk%mozilla.org
8dcea84e9b updated url to stats on mothra
git-svn-id: svn://10.0.0.236/trunk@92920 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 06:02:59 +00:00
justdave%syndicomm.com
42f8890023 Adding reference to data/comments needing to be an exception to the blocking of the 'data' folder.
git-svn-id: svn://10.0.0.236/trunk@92907 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 18:56:58 +00:00
justdave%syndicomm.com
d7161d53fa Checking in Matty's update to the release notes
git-svn-id: svn://10.0.0.236/trunk@92905 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 18:48:04 +00:00
gerv%gerv.net
abe6cbd6fc Added a couple of lines about mysqld-watcher.pl. Bug 76862.
git-svn-id: svn://10.0.0.236/trunk@92902 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 18:13:40 +00:00
justdave%syndicomm.com
80705e51c8 Per bug 76862, moving mysqld-watcher.pl into contrib
git-svn-id: svn://10.0.0.236/trunk@92901 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 17:48:12 +00:00
gerv%gerv.net
dba51d2e7b Lots of formatting fixups, removed tab characters. Also removed incorrect DB_File requirement.
git-svn-id: svn://10.0.0.236/trunk@92900 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 17:26:35 +00:00
gerv%gerv.net
44ffd3d316 Fix bug 76524 - mostfreqhtml param text has a few issues. Patch by matty@chariot.net.au .
git-svn-id: svn://10.0.0.236/trunk@92899 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-22 16:44:10 +00:00
Chris.Yeh%nokia.com
d0f18fb164 column change from when to ci_when a long time ago. make repophook.cgi
match database schema


git-svn-id: svn://10.0.0.236/trunk@92855 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 00:10:39 +00:00
tara%tequilarista.org
b9495ae895 Checking in massive changes to make this document more generic to all bugzilla installations
git-svn-id: svn://10.0.0.236/trunk@92850 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 22:08:09 +00:00
tara%tequilarista.org
06de4475cc Adding new Release Notes for MattyT
git-svn-id: svn://10.0.0.236/trunk@92841 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 16:46:59 +00:00
justdave%syndicomm.com
b04f7869bc another chmod with a leading 1 (Perl interprets this as a decimal instead of octal)
git-svn-id: svn://10.0.0.236/trunk@92834 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 14:41:44 +00:00
justdave%syndicomm.com
130396a6d3 Changing all chmod 1777 to chmod 01777. Without the leading 0 it's interpreted as decimal instead of octal (oops)
git-svn-id: svn://10.0.0.236/trunk@92754 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 20:46:53 +00:00
tara%tequilarista.org
c05fe93661 Bullshit checkin to add the fact that the previous changes also include the final fix for bug 72721. I am a buckethead
git-svn-id: svn://10.0.0.236/trunk@92737 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 17:35:23 +00:00
tara%tequilarista.org
71888475f0 landing final patch for bug 76261
git-svn-id: svn://10.0.0.236/trunk@92733 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 17:19:07 +00:00
endico%mozilla.org
7ff7c245a6 initial checkin
git-svn-id: svn://10.0.0.236/trunk@92679 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 18:01:28 +00:00
justdave%syndicomm.com
f539fe27ee Correcting my email address in the comments
git-svn-id: svn://10.0.0.236/trunk@92493 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 02:26:16 +00:00
myk%mozilla.org
d098cec94a bug 75991: removed bugzilla-specific stuff and added bugzilla-specific script since bugzilla is moving to mothra; genstats.cgi will do the bonsai stats and genstats-bz.cgi will do the bugzilla stats
git-svn-id: svn://10.0.0.236/trunk@92268 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 01:47:40 +00:00
mcafee%netscape.com
d097ddbf2f Adding Ts to legend
git-svn-id: svn://10.0.0.236/trunk@91874 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 09:49:33 +00:00
mcafee%netscape.com
7aceda4c67 Adding startup.dat
git-svn-id: svn://10.0.0.236/trunk@91846 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:13:08 +00:00
mcafee%netscape.com
f38af2ed47 Adding support for startup test.
git-svn-id: svn://10.0.0.236/trunk@91840 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 05:55:12 +00:00
mcafee%netscape.com
b58787ef68 process build log to create startup.dat file
git-svn-id: svn://10.0.0.236/trunk@91839 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 05:54:29 +00:00