]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
17 years agoAdd context menu to media tree item
Kern Sibbald [Fri, 30 Mar 2007 16:59:23 +0000 (16:59 +0000)]
Add context menu to media tree item

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4462 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Fri, 30 Mar 2007 14:51:07 +0000 (14:51 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4461 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add a disconnect function
Eric Bollengier [Fri, 30 Mar 2007 14:50:18 +0000 (14:50 +0000)]
ebl  add a disconnect function

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4460 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMore tweaks to names
Kern Sibbald [Fri, 30 Mar 2007 11:36:19 +0000 (11:36 +0000)]
More tweaks to names

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4459 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMore tweaks for medialist
Kern Sibbald [Fri, 30 Mar 2007 11:29:28 +0000 (11:29 +0000)]
More tweaks for medialist

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4458 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Implement dir_sql() which issues an SQL query.
Kern Sibbald [Fri, 30 Mar 2007 10:07:33 +0000 (10:07 +0000)]
kes  Implement dir_sql() which issues an SQL query.
kes  Modify bat medialist to use dir_sql() and do some minor C++
     formatting as well as eliminating a number of pointers, simplifing
     the code.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4457 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Simplify MainWin::undockWindowButton. Make the columns in medialist
Dirk H Bartley [Fri, 30 Mar 2007 01:00:22 +0000 (01:00 +0000)]
dhb  Simplify MainWin::undockWindowButton.  Make the columns in medialist
     resemble the columns in list media at a console command.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4456 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:21:41 +0000 (16:21 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4455 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:20:27 +0000 (16:20 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4454 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:19:17 +0000 (16:19 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4453 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:17:43 +0000 (16:17 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4452 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix bug which display a directory 2 times
Eric Bollengier [Thu, 29 Mar 2007 16:14:53 +0000 (16:14 +0000)]
ebl  fix bug which display a directory 2 times
     fix revision bug

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4451 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Fix some of the mtx-changer grep commands for tape label readers.
Kern Sibbald [Thu, 29 Mar 2007 09:27:54 +0000 (09:27 +0000)]
kes  Fix some of the mtx-changer grep commands for tape label readers.
kes  Convert a number of bsendmsg into the appropriate send/warning/error
     message class calls.
kes  Suppress the using database message in the .sql command.
kes  Correct an incorrect bnet_tls_client prototype -- patch from Martin.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4450 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement dir_cmd with QString argument
Kern Sibbald [Thu, 29 Mar 2007 09:01:32 +0000 (09:01 +0000)]
Implement dir_cmd with QString argument

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4449 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Use of QHash instead of QList, solves all the issues of Items being
Dirk H Bartley [Thu, 29 Mar 2007 02:46:14 +0000 (02:46 +0000)]
dhb  Use of QHash instead of QList, solves all the issues of Items being
     removed from QList and the key pointing to the wrong object.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4448 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb left console.cpp uncompileable. Modified a comment in mainwin.cpp
Dirk H Bartley [Thu, 29 Mar 2007 01:33:45 +0000 (01:33 +0000)]
dhb  left console.cpp uncompileable.  Modified a comment in mainwin.cpp

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4447 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Implement dir_cmd in medialist remove dosql from console
Dirk H Bartley [Thu, 29 Mar 2007 00:59:27 +0000 (00:59 +0000)]
dhb  Implement dir_cmd in medialist  remove dosql from console

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4446 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoRename bstack class and functions
Kern Sibbald [Wed, 28 Mar 2007 17:32:55 +0000 (17:32 +0000)]
Rename bstack class and functions

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4445 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix accent
Eric Bollengier [Wed, 28 Mar 2007 13:53:27 +0000 (13:53 +0000)]
ebl  fix accent

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4444 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Added lots of comments to batstack.cpp and .h
Dirk H Bartley [Wed, 28 Mar 2007 02:42:58 +0000 (02:42 +0000)]
dhb  Added lots of comments to batstack.cpp and .h
     Re-added virtual functions.  Removing them broke the ability
     for medialist, and any future class that populates on click
     to populate.  Could find another way if needed.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4443 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Add context menu for floating a window.
Kern Sibbald [Tue, 27 Mar 2007 20:32:38 +0000 (20:32 +0000)]
kes  Add context menu for floating a window.
kes  Some minor cleanup and name changes in qt-console
kes  Add doing mt setblk 0 in Win32 mtx-changer.
kes  Apply Martin's bug fix to move definition of ENODATA for
     FreeBSD to bsock.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4442 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoEliminate unused variable
Kern Sibbald [Tue, 27 Mar 2007 20:08:56 +0000 (20:08 +0000)]
Eliminate unused variable

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4441 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoTweak names
Kern Sibbald [Tue, 27 Mar 2007 20:07:07 +0000 (20:07 +0000)]
Tweak names

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4440 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 27 Mar 2007 20:07:06 +0000 (20:07 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4439 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd context menu to page selection
Kern Sibbald [Tue, 27 Mar 2007 19:57:32 +0000 (19:57 +0000)]
Add context menu to page selection

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4438 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 27 Mar 2007 19:50:03 +0000 (19:50 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4437 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 27 Mar 2007 19:44:00 +0000 (19:44 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4436 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 27 Mar 2007 19:22:37 +0000 (19:22 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4435 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl Add a busy handler to use multi db connection with sqlite
Eric Bollengier [Tue, 27 Mar 2007 19:21:12 +0000 (19:21 +0000)]
ebl  Add a busy handler to use multi db connection with sqlite

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4434 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoSmall cleanup in qt-console
Kern Sibbald [Tue, 27 Mar 2007 16:44:18 +0000 (16:44 +0000)]
Small cleanup in qt-console

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4433 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Having a frustrating time. This compliles and runs fine. Have the
Dirk H Bartley [Tue, 27 Mar 2007 15:12:23 +0000 (15:12 +0000)]
dhb Having a frustrating time.  This compliles and runs fine.  Have the
    iterating when the index can be pulled from the tree widget item sort
    of accomplished.  Need to think more about how to consistently get to
    a window in the list

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4432 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMore pruning cleanup
Kern Sibbald [Mon, 26 Mar 2007 20:14:40 +0000 (20:14 +0000)]
More pruning cleanup

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4431 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement new dir_cmd()
Kern Sibbald [Mon, 26 Mar 2007 16:59:48 +0000 (16:59 +0000)]
Implement new dir_cmd()

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4430 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate notes
Kern Sibbald [Mon, 26 Mar 2007 16:33:46 +0000 (16:33 +0000)]
Update notes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4429 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Turn on Batch insert code by default as it now passes regression.
Kern Sibbald [Mon, 26 Mar 2007 16:32:56 +0000 (16:32 +0000)]
kes  Turn on Batch insert code by default as it now passes regression.
kes  Add ./configure --enable-bat to enable building of Bat.
     No install yet though.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4428 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMake prepare 2 tape script wait for drive to ready
Kern Sibbald [Mon, 26 Mar 2007 14:19:09 +0000 (14:19 +0000)]
Make prepare 2 tape script wait for drive to ready

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4427 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix
Eric Bollengier [Mon, 26 Mar 2007 10:53:44 +0000 (10:53 +0000)]
ebl  fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4426 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix unit
Eric Bollengier [Mon, 26 Mar 2007 10:52:41 +0000 (10:52 +0000)]
ebl  fix unit

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4425 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoA bit of cleanup
Kern Sibbald [Mon, 26 Mar 2007 10:34:10 +0000 (10:34 +0000)]
A bit of cleanup

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4424 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAttempt to nice things
Kern Sibbald [Mon, 26 Mar 2007 10:28:28 +0000 (10:28 +0000)]
Attempt to nice things

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4423 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Add button on toolbar to pull window out.
Dirk H Bartley [Mon, 26 Mar 2007 01:56:41 +0000 (01:56 +0000)]
dhb  Add button on toolbar to pull window out.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4422 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Cleaned up populatetree in medialist with foreaches.
Dirk H Bartley [Mon, 26 Mar 2007 01:19:57 +0000 (01:19 +0000)]
dhb  Cleaned up populatetree in medialist with foreaches.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4421 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Don't modify the incoming string. This can cause issues.
Dirk H Bartley [Sun, 25 Mar 2007 22:28:16 +0000 (22:28 +0000)]
dhb   Don't modify the incoming string.  This can cause issues.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4420 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb Fix of a logic error. Tree shows up correctly now.
Dirk H Bartley [Sun, 25 Mar 2007 22:15:23 +0000 (22:15 +0000)]
dhb   Fix of a logic error.  Tree shows up correctly now.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4419 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb this is a rewrite of the populate tree function. It uses the brand
Dirk H Bartley [Sun, 25 Mar 2007 22:01:54 +0000 (22:01 +0000)]
dhb  this is a rewrite of the populate tree function.  It uses the brand
     spanky new .sql "select ... from ..." console capabilities in the director
     It also uses a new dosql function in the console to return the results
     of the command as a QListString.  This simplifies the data access.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4418 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Sun, 25 Mar 2007 21:05:39 +0000 (21:05 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4417 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix new .sql command for bat
Kern Sibbald [Sun, 25 Mar 2007 16:18:21 +0000 (16:18 +0000)]
Fix new .sql command for bat

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4416 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb forgot to remove a couple of debugging printf's
Dirk H Bartley [Sun, 25 Mar 2007 15:08:32 +0000 (15:08 +0000)]
dhb  forgot to remove a couple of debugging printf's

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4415 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb I have the issue of m_medialist and m_brestore resolved. The only one
Dirk H Bartley [Sun, 25 Mar 2007 15:05:08 +0000 (15:05 +0000)]
dhb  I have the issue of m_medialist and m_brestore resolved.  The only one
     used was the m_medialist to populate after the console connected.  So now
     I created a virtual function for clicked and double clicked in BatStack.
     All classes that want to do something based on a click in it's widget
     in the page selector can just use the virtual function.
     So in medialist, a single click will populate if not populated, and a double
     will repopulate from a clear.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4414 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement a new .sql command for bat
Kern Sibbald [Sun, 25 Mar 2007 14:57:59 +0000 (14:57 +0000)]
Implement a new .sql command for bat

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4413 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMinor spelling correction.
Scott Barninger [Sun, 25 Mar 2007 14:03:04 +0000 (14:03 +0000)]
Minor spelling correction.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4412 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement code to turn off pruning in obtaining the next volume.
Kern Sibbald [Sun, 25 Mar 2007 13:11:55 +0000 (13:11 +0000)]
Implement code to turn off pruning in obtaining the next volume.
     Pruning is turned off for the status dir command, but turned on
     for SD requests and for the list nextvolume command.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4411 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb I've got most of the user interface issues working as I was hoping to see
Dirk H Bartley [Sun, 25 Mar 2007 01:38:40 +0000 (01:38 +0000)]
dhb  I've got most of the user interface issues working as I was hoping to see
     them working.  Now it is time to get another window into the stack and the
     tree.  And also work on actual functionality.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4410 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoCorrect Qmsg() that was not updated correctly when committing a
Kern Sibbald [Sat, 24 Mar 2007 22:04:21 +0000 (22:04 +0000)]
Correct Qmsg() that was not updated correctly when committing a
     previous change (probably the recent TLS patch).

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4409 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Write new subroutine is_volume_purged() that explicitly checks
Kern Sibbald [Sat, 24 Mar 2007 21:55:54 +0000 (21:55 +0000)]
kes  Write new subroutine is_volume_purged() that explicitly checks
     if the Volume is purged, and if so marks it as such. This should
     resolve problems reported about needing to mount twice to recycle
     volumes.
kes  Rewrite pruning algorithm to do more work in the SQL engine, and
     to pass a list of JobIds to be deleted to SQL.  Also, minimize the
     amount of duplicated code.
kes  Do volume pruning only for the Media Type desired (reduces pruning time
     if multiple Media Types are in the same pool).
kes  Implement more detailed info in the Job report for the Bacula version
     and architecture.
kes  Switch from POOLMEM to POOL_MEM (a real class) in ua_prune.c and
     ua_purge.c.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4408 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb This solves the really not elegant at all way to determine what tree item
Dirk H Bartley [Sat, 24 Mar 2007 20:05:09 +0000 (20:05 +0000)]
dhb  This solves the really not elegant at all way to determine what tree item
     goes with what stacked widget item.  ( When a tree item is clicked )
     This begins the framework for being able to add and destroy tree widget
     items and associated stacked widget items on the fly.
     I still need to fix a few items such as the ability to close a window and
     never get it back, ... ever.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4407 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb This may be a way to fix the issues of windows that can
Dirk H Bartley [Sat, 24 Mar 2007 15:14:18 +0000 (15:14 +0000)]
dhb  This may be a way to fix the issues of windows that can
     be removed from the main window.  Not finished yet, but
     a double click can bring a window out.  I think the trigger
     of double click should change in the near future.  The
     elegance of the changes needs to be improved for future
     add ons of many stacked windows.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4406 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add a mutex in repport generation
Eric Bollengier [Sat, 24 Mar 2007 07:42:48 +0000 (07:42 +0000)]
ebl  add a mutex in repport generation

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4405 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Fri, 23 Mar 2007 22:41:17 +0000 (22:41 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4404 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix comments
Eric Bollengier [Fri, 23 Mar 2007 22:40:04 +0000 (22:40 +0000)]
ebl  fix comments

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4403 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix batch evry x files
Eric Bollengier [Fri, 23 Mar 2007 22:34:50 +0000 (22:34 +0000)]
ebl  fix batch evry x files

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4402 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update info
Eric Bollengier [Fri, 23 Mar 2007 22:26:45 +0000 (22:26 +0000)]
ebl  update info

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4401 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix batch insert for mysql and sqlite
Eric Bollengier [Fri, 23 Mar 2007 22:01:14 +0000 (22:01 +0000)]
ebl  fix batch insert for mysql and sqlite

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4400 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl make mysql working with batch mode
Eric Bollengier [Fri, 23 Mar 2007 21:56:09 +0000 (21:56 +0000)]
ebl  make mysql working with batch mode

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4399 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Fri, 23 Mar 2007 21:23:33 +0000 (21:23 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4398 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd support for arbitrary client-to-server certificate CN matching (TLS Allowed CN...
Landon Fuller [Fri, 23 Mar 2007 17:20:40 +0000 (17:20 +0000)]
Add support for arbitrary client-to-server certificate CN matching (TLS Allowed CN). This allows the TLS client to either use certificate hostname matching, or an arbitrary administer-supplied CN, and is necessary to support roaming clients with non-static hostnames.

Contributed by: Jorj Bauer <jorj@seas.upenn.edu>

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4397 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update doc
Eric Bollengier [Fri, 23 Mar 2007 12:38:20 +0000 (12:38 +0000)]
ebl  update doc

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4395 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb svn st friendly the ignore property.
Dirk H Bartley [Fri, 23 Mar 2007 12:34:44 +0000 (12:34 +0000)]
dhb   svn st friendly the ignore property.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4394 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Fri, 23 Mar 2007 12:34:42 +0000 (12:34 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4393 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl remove IGNORE keyword from batch mode
Eric Bollengier [Fri, 23 Mar 2007 12:33:53 +0000 (12:33 +0000)]
ebl  remove IGNORE keyword from batch mode

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4392 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMove putz test program to a test program directory under qt-console.
Dirk H Bartley [Fri, 23 Mar 2007 12:30:12 +0000 (12:30 +0000)]
Move putz test program to a test program directory under qt-console.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4391 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl compilation fix
Eric Bollengier [Fri, 23 Mar 2007 12:29:06 +0000 (12:29 +0000)]
ebl  compilation fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4390 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb add a test program directory and an example from the qt
Dirk H Bartley [Fri, 23 Mar 2007 12:27:38 +0000 (12:27 +0000)]
dhb  add a test program directory and an example from the qt
     documentation.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4389 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add a new bbatch tool
Eric Bollengier [Fri, 23 Mar 2007 12:03:06 +0000 (12:03 +0000)]
ebl  add a new bbatch tool

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4388 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix unit
Eric Bollengier [Fri, 23 Mar 2007 08:08:34 +0000 (08:08 +0000)]
ebl  fix unit

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4387 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agodhb A modified main.ui for review of look and feel
Dirk H Bartley [Fri, 23 Mar 2007 04:06:59 +0000 (04:06 +0000)]
dhb  A modified main.ui for review of look and feel
     make Makefile and bat.conf ignored
     copied bat.conf to bat.conf.example

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4386 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate doc
Kern Sibbald [Thu, 22 Mar 2007 21:12:58 +0000 (21:12 +0000)]
Update doc

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4385 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Implement new prunning code that prunes up to 1000 jobs at
Kern Sibbald [Thu, 22 Mar 2007 21:11:49 +0000 (21:11 +0000)]
kes  Implement new prunning code that prunes up to 1000 jobs at
     the same time.  The same technique can be applied to a number
     of other prune/purge subroutines.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4384 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Implement new prunning code that prunes up to 1000 jobs at
Kern Sibbald [Thu, 22 Mar 2007 13:10:04 +0000 (13:10 +0000)]
kes  Implement new prunning code that prunes up to 1000 jobs at
     the same time.  The same technique can be applied to a number
     of other prune/purge subroutines.
kes  Add an insanity check when starting a new tape job to ensure
     that the tape position has not been changed. If so fail the
     job.
kes  Fix Win32 build for dlls to add the folllowing:
     src/lib/bsock.c -- new file with new entry points
     src/lib/dlist.c  -- new entry points
     src/cats/sql_create.c -- new entry point
     src/cats/sql_cmds.c -- new DATA item exported

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4383 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoTemporarily turn off batch insert by default
Kern Sibbald [Thu, 22 Mar 2007 09:13:52 +0000 (09:13 +0000)]
Temporarily turn off batch insert by default

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4382 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Wed, 21 Mar 2007 22:47:15 +0000 (22:47 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4380 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl make batch mode usable
Eric Bollengier [Wed, 21 Mar 2007 22:46:20 +0000 (22:46 +0000)]
ebl  make batch mode usable
     cleanup in postgresql.c
     rename internal db_batch_... to sql_batch_..

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4379 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl make bscan works with batch mode
Eric Bollengier [Wed, 21 Mar 2007 19:46:44 +0000 (19:46 +0000)]
ebl  make bscan works with batch mode

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4378 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement SD code to check length of disk volume before appending
Kern Sibbald [Wed, 21 Mar 2007 17:15:50 +0000 (17:15 +0000)]
Implement SD code to check length of disk volume before appending

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4377 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 20 Mar 2007 22:41:08 +0000 (22:41 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4374 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl works with bregex.h and regex.h
Eric Bollengier [Tue, 20 Mar 2007 22:36:28 +0000 (22:36 +0000)]
ebl  works with bregex.h and regex.h

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4373 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMerge Dirk's additions
Kern Sibbald [Tue, 20 Mar 2007 21:27:04 +0000 (21:27 +0000)]
Merge Dirk's additions

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4372 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Mon, 19 Mar 2007 22:59:24 +0000 (22:59 +0000)]
ebl update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4371 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Mon, 19 Mar 2007 22:57:24 +0000 (22:57 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4370 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl cosmetic fix
Eric Bollengier [Mon, 19 Mar 2007 13:07:20 +0000 (13:07 +0000)]
ebl  cosmetic fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4369 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl french fix
Eric Bollengier [Mon, 19 Mar 2007 13:05:53 +0000 (13:05 +0000)]
ebl  french fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4368 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Mon, 19 Mar 2007 11:04:34 +0000 (11:04 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4367 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add a re-run option in display_job_zoom
Eric Bollengier [Mon, 19 Mar 2007 11:03:10 +0000 (11:03 +0000)]
ebl  add a re-run option in display_job_zoom

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4366 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix batch file #ifdefing
Kern Sibbald [Sun, 18 Mar 2007 22:24:49 +0000 (22:24 +0000)]
Fix batch file #ifdefing

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4363 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoToo many troubles turn off batch insert code
Kern Sibbald [Sun, 18 Mar 2007 22:18:48 +0000 (22:18 +0000)]
Too many troubles turn off batch insert code

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4362 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Correct return status on db_batch... routines.
Kern Sibbald [Sun, 18 Mar 2007 21:36:28 +0000 (21:36 +0000)]
kes  Correct return status on db_batch... routines.
kes  Add call to db_write_batch_file_records() to migration code.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4361 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl display messages after run_script
Eric Bollengier [Sun, 18 Mar 2007 20:55:12 +0000 (20:55 +0000)]
ebl  display messages after run_script

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4360 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Sun, 18 Mar 2007 20:51:48 +0000 (20:51 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4359 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Move the checking of the database in initializion of the Director
Kern Sibbald [Sun, 18 Mar 2007 20:10:58 +0000 (20:10 +0000)]
kes  Move the checking of the database in initializion of the Director
     to after we drop privileges.  This avoids the need for both root
     and bacula access to the DB.
kes  Correct a misplaced variable definition in src/filed/backup.c
kes  Correct how the new batch insert db_create_attributes_record()
     uses the arguments.  Caused a seg fault in bscan.
kes  Implement lock() and unlock() methods in DEVICE class.
     Implement block() and set_block(xx) methods in DEVICE class.
kes  Modify bnet_connect() so that it uses time() to check for the
     wait time expiring (on some OSes, some system calls may not
     return immediately).
kes  Modify Verify to obtain the previous JobId when it is actually
     running rather than at schedule time (as it was in 1.38.x).
kes  Fix src/job.c to handle MaxWaitTime correctly.  This should
     fix bug #802.
kes  When checking pid in pid file, continue running if the pid is
     the same as ours. This occurs on IRIX after a system crash.
     Fixes bug #797.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4358 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Sun, 18 Mar 2007 16:29:29 +0000 (16:29 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4357 91ce42f0-d328-0410-95d8-f526ca767f89