]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
17 years agokes Make database name and user configurable
Kern Sibbald [Fri, 30 Mar 2007 21:46:04 +0000 (21:46 +0000)]
kes  Make database name and user configurable
     --with-db-name=xxx --with-db-user=xxx
kes  Add back database type to message.c for debugging.

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

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

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

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

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

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.

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.

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

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

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

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

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

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.

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

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.

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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.

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.

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.

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.

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.

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

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

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

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.

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

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

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.

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.

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).

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.

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.

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.

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

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

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

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

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

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

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

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

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>

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

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.

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

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

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.

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

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.

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

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

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

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

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.

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

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

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

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_..

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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.