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.
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.
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.
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.
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.
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.
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.
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
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.
Kern Sibbald [Thu, 8 Mar 2007 18:50:23 +0000 (18:50 +0000)]
kes Apply fix from for building wx-console on the Mac from
bug #798.
kes Implement new select mechanism for GUI programs.
kes Reorganize initialization of stackedWidgets in bat.
Kern Sibbald [Mon, 5 Mar 2007 22:04:23 +0000 (22:04 +0000)]
kes More bat implementation.
kes File migrate bug with Pool Occupancy using mediaid instead
of jobids. Fixes bug #795.
kes Fix orphaned buffers in filed backup and verify due to
crypto buffers not freed during errors. Fixes bug #789.
kes Extend new GUI api code to tree commands.
kes Ensure that tree and dot commands check console ACLs.
kes Permit marking directory with trailing slash.
kes Allow 20 console connections (instead of only 10).
Kern Sibbald [Mon, 5 Mar 2007 09:50:15 +0000 (09:50 +0000)]
kes Extend new GUI api code to tree commands.
kes Ensure that tree and dot commands check console ACLs.
kes Permit marking directory with trailing slash.
kes Allow 20 console connections (instead of only 10).
Kern Sibbald [Fri, 2 Mar 2007 18:02:46 +0000 (18:02 +0000)]
02Mar07
kes Modify jobq.c to let simultaneous restore jobs run. This may
cause them to fail if they cannot get a drive.
kes Add Client Connect Wait to Storage daemon to permit users to
modify the time the SD waits for a FD connection.