Dirk H Bartley [Mon, 4 Jun 2007 15:11:18 +0000 (15:11 +0000)]
New interface. The intent is to work towards a window which allows the user to
Browse the files in the catalog and see what versions exist for each file, then
be able to mark directories, files and versions for restore. To this point it
is just good at browsing.
Kern Sibbald [Sun, 3 Jun 2007 20:27:52 +0000 (20:27 +0000)]
kes Implement --with-batch-insert in configure and detection of thread
safe libraries. It is on by default, but turned off if no thread
safe library (e.g. SQLite 2) is available.
Kern Sibbald [Sat, 2 Jun 2007 07:57:46 +0000 (07:57 +0000)]
kes Do better checking for NULL results returned from PostgreSQL;
implement retry for failed queries; clear results buffer after
failed query. Hopefully this will correct the PostgreSQL failures.
Kern Sibbald [Fri, 1 Jun 2007 15:57:32 +0000 (15:57 +0000)]
kes Fix PostgreSQL seg fault.
kes Make volume lock recursive.
kes Implement an additional volume reservation algorithm that
starts by considering all reserved volumes then uses the
old brute force algorithm of searching the resources to
find a suitable device.
kes Add new reservations debug code and refine the old code.
kes Update the win32/dll/bacula.defs file.
Dirk H Bartley [Wed, 30 May 2007 20:39:12 +0000 (20:39 +0000)]
A little bit of playing around with icons. Added context sensitve menu to the
restore page in the file tree. Mark and unmark can now be done from right click.
Dirk H Bartley [Wed, 30 May 2007 17:06:58 +0000 (17:06 +0000)]
jobs: add actions and slots for performing commands.
mainwin: small cleanup of 2 line functions only used once.
mainwin clients medialist use const "" when creating jobList instances.
Dirk H Bartley [Wed, 30 May 2007 14:49:52 +0000 (14:49 +0000)]
Joblist: change page select widget name to "JobList"
MediaEdit added months spin. Not sure I like it because 365=yr but 30 days is
not always equal to a month.
JobLog: add Icon for page selector.
mainwin and others. Move dockPage() into the class' constructors so that the
createPage functions in main win are not of benefit.
Jobs: a new page for displaying jobs and job defaults.
Dirk H Bartley [Tue, 29 May 2007 21:09:07 +0000 (21:09 +0000)]
Add the remainder of the editible fields to mediaedit. Also add those
fields to medialist. Querying for recycle pool took another sql trick. I'll test
with mysql on return from vacation. Trick is alias of table.
Kern Sibbald [Tue, 29 May 2007 18:07:26 +0000 (18:07 +0000)]
kes Tweak reservations algorithm to permit a few more cases, i.e.
volume reserved, but on different drive, ...
kes Enhance SD status to include Pool and Media Type for drive in a
more readable format (a bit longer).
Dirk H Bartley [Tue, 29 May 2007 15:34:57 +0000 (15:34 +0000)]
Add icon to label class in page selector.
Turn media edit into a inheritor of the page class to put it on the stack.
Added status tips for buttons in main.ui via designer
Added truly fancy method of editing retention and use duration in media edit.
Dirk H Bartley [Mon, 28 May 2007 19:39:58 +0000 (19:39 +0000)]
Lots of icon work. Attempting using .svg files directory. It works in my
environment here. I hope it works in windows. I think I've found the fix to
the :images problem. Using the resource through designer, it works from designer
and sets up the : in front. xml looks like so:
<iconset resource="../main.qrc" >:/images/view-refresh.svg</iconset>
Dirk H Bartley [Mon, 28 May 2007 00:52:41 +0000 (00:52 +0000)]
Add preference for longlist or short list when context sensitive list command is
executed. Use this instead of doubling for list and long list. Used for now in
joblist.
Use consoleCommand when running command from user command input so that it
displays blue.
Add reload command from page selector console widget.
Add list job totals from page selector joblist widget.
Kern Sibbald [Sun, 27 May 2007 19:30:39 +0000 (19:30 +0000)]
kes Add < > around %r in from field on mail command of bacula-dir.conf.in
so that bsmtp will create a correct email address (mailbox only).
kes Modify 'memory' command so that the buffers are listed as 'In use'
to avoid confusion with Orphaned buffers.
Dirk H Bartley [Sun, 27 May 2007 19:23:35 +0000 (19:23 +0000)]
Add context sensitive from page selector's console widget for: status dir,
messages and help.
Add purge jobs client= from clients
Add buttons to set automount on or off in the label dialog.
Add estimate dialog.
Kern Sibbald [Sun, 27 May 2007 09:34:40 +0000 (09:34 +0000)]
kes I reworked the OpenSSL include/lib flags to be handled in
the standard Bacula way, which should fix bug #863 concerning
non-standard OpenSSL libraries.
Kern Sibbald [Fri, 25 May 2007 17:24:50 +0000 (17:24 +0000)]
kes Ensure that when labelling a tape with Slot=0 that InChanger
is not set.
kes Use DISTINCT to make MySQL and PostgreSQL uar_list_temp query
the same.
kes Add StartTime to final uar_sel_jobid_temp query so that we can
add DISTINCT (required by PostgreSQL).
kes Implement BSOCK authenticate_director() method. Eventually will
authenicate all daemons.
kes Move several more functions into the BSOCK class.
Dirk H Bartley [Thu, 24 May 2007 21:06:17 +0000 (21:06 +0000)]
Experimenting with adding icons to a tree widget in the restore class. This
shows a green check if checked and a verrry light grey check if unchecked. I
created these icons myself in inkscape. *.svg are also committed.
Kern Sibbald [Thu, 24 May 2007 19:58:07 +0000 (19:58 +0000)]
kes Add code to tell the OS that we no longer need a cached
file that we were reading. In findlib/bfile.c. Also,
only cache files that we are reading.
kes Tweak to bsmtp to eliminate compiler warnings on Win32.
kes Implement script to automatically generate cats and dll .def
files for Win32 dll.
kes Update README.mingw32 to include new .def file generation.
Kern Sibbald [Wed, 23 May 2007 10:38:53 +0000 (10:38 +0000)]
kes Reduce bat connect timeout from 30 to 15 seconds.
kes More restructuring and implementing BSOCK class in place of
old bnet.c code.
kes Remove a few unnecessary malloc() tests in crypto code.
kes Turn off crypto calls for > 128 bits in crypto.c if HAVE_SHA2
not defined. Bug reported by Allan Black <Allan.Black@btconnect.com>
kes Remove duplicate HAVE_CRYPTO definition in config.h.in