571 Commits

Author SHA1 Message Date
cls%seawood.org
00f5c3e8fb 'require' forces the file to only be read once _ever_ so use 'do' instead.
Fixes tree state issues.
Bug #377229


git-svn-id: svn://10.0.0.236/trunk@224466 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 21:02:14 +00:00
reed%reedloden.com
c2a9baf3c0 Bug 369188 - "bonsai shell_escape problem" [p=reed r=bear]
git-svn-id: svn://10.0.0.236/trunk@224427 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 01:19:41 +00:00
cls%seawood.org
fcfde30581 Bug #359451 r=bear
This should be the last of the globals changes:
* Set ::default_hours & ::nowdate in tbglobals.pl
* Make ::rel_path local to showbuilds.pl .
* Move ::maxdate & ::mindate into $td hash populated by tb_load_data()
* Show an error if multiple modes (e.g. panel, quickparse) are given to
showbuilds.cgi
* Fix link in express mode of showbuilds.cgi
* Do not show 'previous hours' links for static index.html
* Pass down all form values to 'previous hours' links & the links in panel &
express modes (except in static builds).
* Remove global references & unused code from viewvc.pl
* Note which remaining globals are used by viewvc.pl & bonsai's cvsquery.pl


git-svn-id: svn://10.0.0.236/trunk@221799 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 22:44:03 +00:00
cls%seawood.org
cf950e51fe Add binaryurl to quickparse output.
Bug #369449 r=bear


git-svn-id: svn://10.0.0.236/trunk@219920 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-10 00:38:34 +00:00
cls%seawood.org
4399fe9c40 Grab global treedata to get $bonsai_tree for quickparse
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219237 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:35:46 +00:00
cls%seawood.org
b20b291447 Print a warning to the logfiles if batch-#.pl cannot be opened to determine tree state.
Fix the regex that checks for tree state.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219236 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:17:55 +00:00
cls%seawood.org
9e37c8a796 Use local hashes instead of global variables to store tree status data.
Store static tree configuration from treedata.pl into global hash.
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@219208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:34:14 +00:00
cls%seawood.org
ec12d39aa4 Allow builds to be configured for warning scraping via the main admin page.
Bug #367978 r=bear


git-svn-id: svn://10.0.0.236/trunk@218918 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 20:13:09 +00:00
cls%seawood.org
984b110589 Escape the argument being passed to a function via eval.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@218862 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:28:28 +00:00
cls%seawood.org
10f5b5621d Validate the |tree| cgi argument and limit new tree creation to (alphanumeric|.|-) .
Bug #367870 r=bear


git-svn-id: svn://10.0.0.236/trunk@218856 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:27:55 +00:00
cls%seawood.org
cccd4baa03 Add 'use strict;' to expose globals.
Remove uses of global $tree & $form.
Remove tabs from showbuilds.pl
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@218810 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 17:49:10 +00:00
cls%seawood.org
1298eda55a Make sure to use a unique filename for the logfile.
Bug #360727 r=bear


git-svn-id: svn://10.0.0.236/trunk@218218 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 20:49:23 +00:00
cls%seawood.org
6475f72697 Use consistent time source for builds by having client send the build end timestamp. Fallback to using mail processing time as end timestamp if client doesn't send one.
Bug #363102 r=bear


git-svn-id: svn://10.0.0.236/trunk@218142 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 19:36:19 +00:00
reed%reedloden.com
959c99db95 Bug 354563 - [p=reed r=bear r=timeless]
git-svn-id: svn://10.0.0.236/trunk@217707 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 02:42:30 +00:00
reed%reedloden.com
8eb5d2f530 Change /usr/bonsaitools/bin/perl to /usr/bin/perl [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216633 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 04:59:39 +00:00
cls%seawood.org
3edced3b0f Generate quickparse.txt along with the rest of the static pages.
Bug #359908 r=justdave


git-svn-id: svn://10.0.0.236/trunk@215038 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 17:46:10 +00:00
cls%seawood.org
0cf289d362 Remove lockfile if $::data_dir can't be read
git-svn-id: svn://10.0.0.236/trunk@214980 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 20:55:30 +00:00
cls%seawood.org
2011952b6a Reset who_check_list when building a new table body (presumably for a new tree).
Bug #359470 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214694 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 02:33:36 +00:00
cls%seawood.org
0ae58e6ba2 Fix previous link in static build pages
Bug #359464 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214689 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 01:11:14 +00:00
cls%seawood.org
f98cb8fc5a Reset global variables for each tree when building static pages in batches.
Bug #359323 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214676 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 23:56:33 +00:00
cls%seawood.org
de00af7251 Move non-spam mail with corrupt headers into data/bad/ so that it can be inspected later.
Bug #358454 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214663 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 20:53:14 +00:00
timeless%mozdev.org
5538f16a30 Bug 106386 Correct misspellings in source code
r=bc rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214626 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 20:21:50 +00:00
cls%seawood.org
d323787c84 Fix error message
git-svn-id: svn://10.0.0.236/trunk@213852 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 19:04:34 +00:00
cls%seawood.org
744089a167 Only print 'No data' message when debugging.
git-svn-id: svn://10.0.0.236/trunk@213851 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 18:56:38 +00:00
cls%seawood.org
1d82c0de59 Process build mail via cron.
Bug #354462 r=bear,justdave


git-svn-id: svn://10.0.0.236/trunk@213849 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 18:13:12 +00:00
cls%seawood.org
3e75a8ad44 A presumed bug in bzreadline causes the script to hang indefinitely on certain messages. Use bzread instead.
Bug #353674 r=justdave


git-svn-id: svn://10.0.0.236/trunk@212198 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-23 03:56:47 +00:00
cls%seawood.org
e3b4e225d8 Add checksetup.pl to make new changes usable on older setups.
Bug #348817 r=bear


git-svn-id: svn://10.0.0.236/trunk@207786 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 23:07:17 +00:00
cls%seawood.org
55d270cf6f More fixes for setuid tinderbox mail:
* Use Compress::Zlib instead of gunzip in warning & scrape scripts
* Exit with error if warning or scrape scripts fail.
* Do not make warning.pl or scrape.pl setuid
Bug #344695 r=bear


git-svn-id: svn://10.0.0.236/trunk@207657 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 22:07:17 +00:00
cls%seawood.org
314da7531e Add dummy <a> tag so that the page validates properly.
git-svn-id: svn://10.0.0.236/trunk@207565 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 07:18:35 +00:00
cls%seawood.org
1c416ccb86 Allow registry and bonsai urls to be configured via Makefile
Bug #345804 r=bear


git-svn-id: svn://10.0.0.236/trunk@207558 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 06:28:38 +00:00
cls%seawood.org
26a72c3a50 Remove unsupported specfile
git-svn-id: svn://10.0.0.236/trunk@203619 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 05:57:41 +00:00
cls%seawood.org
ace2403a75 Add year to blame column dates.
Bug #239017 r=bear


git-svn-id: svn://10.0.0.236/trunk@203615 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 05:20:07 +00:00
cls%seawood.org
8b91d493a9 Use the 3 param version of open().
Thanks to Josh Soref <timeless@bemail.org> for the original patch.
Bug #321336 r=bear


git-svn-id: svn://10.0.0.236/trunk@203546 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 20:12:09 +00:00
cls%seawood.org
01480b4f41 Round to 3 significant digits when displaying log size in Gb.
git-svn-id: svn://10.0.0.236/trunk@203541 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 19:47:00 +00:00
cls%seawood.org
9dd7927e8a Use Compress::Zlib instead of insecurely forking out to gzip and validate tree= input.
Bug #321489 r=rhelmer/preed


git-svn-id: svn://10.0.0.236/trunk@203530 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:48:14 +00:00
cls%seawood.org
fed2bdf906 Tidy up html output.
Bug #344665 r=timeless


git-svn-id: svn://10.0.0.236/trunk@203525 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:41:23 +00:00
cls%seawood.org
11e107c197 Fix popups when using bonsai
git-svn-id: svn://10.0.0.236/trunk@203522 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:19:24 +00:00
cls%seawood.org
528b9bdc63 Remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@203038 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 21:56:48 +00:00
cls%seawood.org
0eccc71e57 Switch to using md5_hex instead of crypt for admin password & update documentation.
Thanks to Josh Soref <timeless@bemail.org> for the original patch.
Bug #321478 r=bear


git-svn-id: svn://10.0.0.236/trunk@203009 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 19:29:53 +00:00
cls%seawood.org
5733055a60 Use Compress::Zlib & Compress::Bzip2 instead of forking off gzip & bzip2 processes which will not have permission to modify the files.
Bug #344695 r=bear


git-svn-id: svn://10.0.0.236/trunk@202951 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 18:17:33 +00:00
cls%seawood.org
b169e93edc Misc cleanup changes from live tinderbox.
Thanks to Chase Phillips <chase@mozilla.org> for the original patch.
Bug #334592 r=bear


git-svn-id: svn://10.0.0.236/trunk@202292 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 02:51:34 +00:00
cls%seawood.org
1705c12a44 Only allow multiple trees to be passed into the quickparse mode of showbuilds.cgi.
Thanks to Josh Soref <timeless@bemail.org> for the original patch.
Bug #334592 r=bear


git-svn-id: svn://10.0.0.236/trunk@202290 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 02:19:32 +00:00
cls%seawood.org
9c5ddd1297 Do not mix new tree forms with existing tree management forms.
Bug #344639 r=timeless


git-svn-id: svn://10.0.0.236/trunk@202284 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 01:12:38 +00:00
cls%seawood.org
dda784e0b1 Use setuid scripts to handle mail.
Bug #344695 r=bear


git-svn-id: svn://10.0.0.236/trunk@202233 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 17:14:35 +00:00
cls%seawood.org
45b64f061a Display real end times for builds.
Thanks to Chase Phillips <chase@mozilla.org> for the original patch.
Bug #334592 r=bear


git-svn-id: svn://10.0.0.236/trunk@201818 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-10 16:43:04 +00:00
cls%seawood.org
d029291be5 Implement wayback links.
Thanks to Chase Phillips <chase@mozilla.org> for the patch.
Bug #334592 r=cls


git-svn-id: svn://10.0.0.236/trunk@201747 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-07 14:32:19 +00:00
cls%seawood.org
aeed7bf0a0 Create default index for new trees.
git-svn-id: svn://10.0.0.236/trunk@200688 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:25:17 +00:00
cls%seawood.org
47725c3c38 Indicate the number of days of stored logs and their estimated diskspace cost.
git-svn-id: svn://10.0.0.236/trunk@200687 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:21:53 +00:00
cls%seawood.org
0f17c755e5 Cache logfiles for 1hr from viewing time.
Use HTTP headers insead of HTML meta flags to set expires & last-modified fields.


git-svn-id: svn://10.0.0.236/trunk@200686 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:17:57 +00:00
cls%seawood.org
76b829879e Make the commit info time period a per-tree config option & bump the default to 14 days.
git-svn-id: svn://10.0.0.236/trunk@200685 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:12:41 +00:00