]>
git.sur5r.net Git - bacula/bacula/log
Marcin Haba [Mon, 27 Nov 2017 21:21:14 +0000 (22:21 +0100)]
baculum: Tweak fix config panel style
Marcin Haba [Mon, 27 Nov 2017 20:49:26 +0000 (21:49 +0100)]
baculum: Fix auth setting radio buttons alignement
Marcin Haba [Mon, 27 Nov 2017 20:10:09 +0000 (21:10 +0100)]
baculum: Enlarge interface height to 100%
Marcin Haba [Mon, 27 Nov 2017 20:09:17 +0000 (21:09 +0100)]
baculum: Add more information to cURL error
Marcin Haba [Mon, 27 Nov 2017 20:08:47 +0000 (21:08 +0100)]
baculum: New reworked restore wizard
Marcin Haba [Mon, 27 Nov 2017 20:06:50 +0000 (21:06 +0100)]
baculum: Wizards view improvements
Marcin Haba [Mon, 27 Nov 2017 20:03:11 +0000 (21:03 +0100)]
baculum: Add restore hardlinks support in api
Marcin Haba [Mon, 27 Nov 2017 20:02:03 +0000 (21:02 +0100)]
baculum: Add strip_prefix, add_prefix, add_suffix and regex_where restore options to api restore
Marcin Haba [Mon, 27 Nov 2017 20:00:50 +0000 (21:00 +0100)]
baculum: Add new volumes required api endpoint
Radosław Korzeniewski [Wed, 22 Nov 2017 13:44:47 +0000 (14:44 +0100)]
Port missing RestoreObject Plugin Config code from BEE.
Marcin Haba [Tue, 21 Nov 2017 20:45:07 +0000 (21:45 +0100)]
baculum: Tweak enable updating repeater with user list
Marcin Haba [Tue, 21 Nov 2017 20:28:20 +0000 (21:28 +0100)]
baculum: Stop using hidden fields to store item identifiers
Marcin Haba [Tue, 21 Nov 2017 19:32:09 +0000 (20:32 +0100)]
baculum: Fix redundant loading users portlet
Marcin Haba [Tue, 21 Nov 2017 19:29:23 +0000 (20:29 +0100)]
baculum: Add required config fields asterisk mark
Kern Sibbald [Tue, 21 Nov 2017 17:37:05 +0000 (18:37 +0100)]
Tweak recompile configure.in
Kern Sibbald [Tue, 21 Nov 2017 17:36:49 +0000 (18:36 +0100)]
configure: look for Qt5 in addition to Qt4
Kern Sibbald [Mon, 20 Nov 2017 08:53:01 +0000 (09:53 +0100)]
Tweak update version date
Kern Sibbald [Mon, 20 Nov 2017 07:27:33 +0000 (08:27 +0100)]
Tweak ChangeLog and ReleaseNotes for last backport from Enterprise
Eric Bollengier [Fri, 17 Nov 2017 08:55:49 +0000 (09:55 +0100)]
Add support for items with comma in ini_store_alist_str()
Eric Bollengier [Wed, 15 Nov 2017 11:16:08 +0000 (12:16 +0100)]
Fix segfault after the reload of an incorrect configuration
Eric Bollengier [Wed, 15 Nov 2017 10:16:25 +0000 (11:16 +0100)]
Add temporary fix to avoid a deadlock after a reload command on an incorrect configuration
Alain Spineux [Mon, 6 Nov 2017 13:19:05 +0000 (14:19 +0100)]
fix #3269 obey the user choice of "Are you sure you want to delete X JobIds
- "no" was ignored and all selected jobs where deleted
- has been tested
Eric Bollengier [Tue, 14 Nov 2017 15:32:38 +0000 (16:32 +0100)]
regress: Add reload-client-address-test to CDASH and all-dev-tests
Eric Bollengier [Tue, 14 Nov 2017 14:54:00 +0000 (15:54 +0100)]
Fix race condition between setip and the access to CLIENT::address()
Fix concurrency issue between setAddress() and address()
we need to copy the address in an argument, the variable can be
freed at any time.
Eric Bollengier [Tue, 14 Nov 2017 14:45:29 +0000 (15:45 +0100)]
regress: Add checks for Enabled flag
Eric Bollengier [Tue, 14 Nov 2017 14:06:57 +0000 (15:06 +0100)]
Fix #3284 about Client address not reloaded properly
The SetIpAddress and the Enabled flag was set systematically when
we create the global Client/Job/Schedule structure.
In fact, these variables must be set only with the enable/disable or
setip commands. Else, after a reload, new configuration values are not
used.
Eric Bollengier [Tue, 14 Nov 2017 13:20:18 +0000 (14:20 +0100)]
regress: Add test to reproduce #3284 with reload command
Kern Sibbald [Sun, 19 Nov 2017 17:56:54 +0000 (18:56 +0100)]
Tweak update ReleaseNotes and ChangeLog
Marcin Haba [Sun, 19 Nov 2017 17:24:56 +0000 (18:24 +0100)]
baculum: Support sending config as serialized array for older version
Marcin Haba [Sun, 19 Nov 2017 17:22:40 +0000 (18:22 +0100)]
baculum: Use api client version and introduce api server version
Kern Sibbald [Sun, 19 Nov 2017 17:19:16 +0000 (18:19 +0100)]
Cleanup ./configure Qt4/5 bat
Kern Sibbald [Sun, 19 Nov 2017 16:11:33 +0000 (17:11 +0100)]
Update AUTHORS for recent commits
Sebastian Andrzej Siewior [Thu, 9 Nov 2017 20:55:20 +0000 (21:55 +0100)]
crypto: remove most of OpenSSL initcallbacks for 1.1
In OpenSSL 1.1 the thread model atomically initialized the library so
there is no need to invoke the init calls, like it was needed for 1.0.2
and earlier. The may be needed for non-standard inits like no-error
strings or so (not the case here). So the ifdef avoids them.
Also, in 1.1 there is no need to teach OpenSSL how to do locking and so
on. Infect, those functions are null-macros as for 1.0.2 compat. So
another ifdef avoids them, too.
I made four function static and removed them the header file since they
don't seem to be used outside of that openssl.c file.
This leaves us the 1.1 init part down to openssl_seed_prng(). I would
actually suggest to get rid of it. OpenSSL is able to gather some
entropy if needed. I don't think reading 2x 1024KiB from system's
entropy on each invocation of the program is wise. But I leave it to
the maintainer to make a decision, I just point it out.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Kern Sibbald [Sun, 19 Nov 2017 16:00:53 +0000 (17:00 +0100)]
Remove incorrecly placed openssl-compat.h
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 20:08:10 +0000 (21:08 +0100)]
crypto: convert EVP_PKEY access and remainings bits for OpenSSL 1.1
EVP_PKEY became opaque and can not be dereferences in OpenSSL 1.1 and
accessor functions need to be used. This is also true for X509_EXTENSION
relevant access.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 20:01:45 +0000 (21:01 +0100)]
crypto: convert EVP_MD_CTX + EVP_CIPHER_CTX to OpenSSL 1.1
Those digest structs became opaque and now they need to be allocated
and for access we need to use accessor functions.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Kern Sibbald [Sun, 19 Nov 2017 15:58:35 +0000 (16:58 +0100)]
Add openssl-compat.h which went in wrong directory
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:42:22 +0000 (14:42 +0100)]
crypto: Use DEFINE_STACK_OF()
OpenSSL 1.1 makes it possible to use DEFINE_STACK_OF() instead of
IMPLEMENT_STACK_OF() + mkstack.pl's output.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:40:12 +0000 (14:40 +0100)]
crypto: Add a tiny OpenSSL compat level
This header file provides a few OpenSSL 1.1 functions which are not
available in OpenSSL 1.0.2 and earlier. The body of the function
implements the pre-1.1 version of the function provided in 1.1.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:37:31 +0000 (14:37 +0100)]
crypto: remove support for ancient openssl
OpenSSL 1.0.2 is still supported. Everything earlier is not so the old
code for compat can be thrown away, especially the 0.9.8 support.
TLSv1_method() should not be used and SSLv23_method() should be
preferred because the latter supports TLS1.0…1.2 while the former _only_
tries TLS1.0.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Marcin Haba [Sun, 19 Nov 2017 14:04:46 +0000 (15:04 +0100)]
baculum: Add removing single resource
Marcin Haba [Sun, 19 Nov 2017 14:00:33 +0000 (15:00 +0100)]
baculum: Add module to check resource dependencies
Marcin Haba [Sun, 19 Nov 2017 13:54:17 +0000 (14:54 +0100)]
baculum: Fix saving names with spaces inside schedule Run directive
Marcin Haba [Sun, 19 Nov 2017 13:51:59 +0000 (14:51 +0100)]
baculum: Fix saving entire config by api request
Kern Sibbald [Sun, 19 Nov 2017 13:43:12 +0000 (14:43 +0100)]
Backout vol size tests in previous attempt to fix bug #2349
Kern Sibbald [Sun, 19 Nov 2017 13:41:05 +0000 (14:41 +0100)]
Fix compiler warning in previous patch
V. Novy [Sun, 19 Nov 2017 11:57:03 +0000 (12:57 +0100)]
Apply patches from bugs #2325 and #2326 to fix FIFO bugs
Kern Sibbald [Sun, 19 Nov 2017 11:26:52 +0000 (12:26 +0100)]
Fix bug #2315 INTEGER misspelled in update_sqlite3_tables.in
Kern Sibbald [Sun, 19 Nov 2017 10:46:33 +0000 (11:46 +0100)]
Tweak update version + date
Kern Sibbald [Sun, 19 Nov 2017 10:45:14 +0000 (11:45 +0100)]
Try to fix bug #2349 multiple recycle messages
Marcin Haba [Wed, 15 Nov 2017 20:54:21 +0000 (21:54 +0100)]
baculum: Throw 404 error if service not known
Marcin Haba [Tue, 14 Nov 2017 17:31:32 +0000 (18:31 +0100)]
baculum: Use home page url when an error is shown
Kern Sibbald [Sun, 12 Nov 2017 17:26:02 +0000 (18:26 +0100)]
Fix bug #2346 Dir blocks when max reloads reached
Kern Sibbald [Sun, 12 Nov 2017 17:17:01 +0000 (18:17 +0100)]
regress: add new many-reload-test to standard scripts
Kern Sibbald [Sun, 12 Nov 2017 17:10:44 +0000 (18:10 +0100)]
regress: Add test to do more than max reloads
Marcin Haba [Sun, 12 Nov 2017 15:58:55 +0000 (16:58 +0100)]
baculum: Send config to api server as json
Kern Sibbald [Sun, 12 Nov 2017 16:03:23 +0000 (17:03 +0100)]
Remove enterprise code that breaks Mac install -- fixes bug #2351
Eric Bollengier [Fri, 3 Nov 2017 14:13:40 +0000 (15:13 +0100)]
regress: Move aligned-test to the aligned block in the cdash DartTestfile
Eric Bollengier [Fri, 3 Nov 2017 08:20:35 +0000 (09:20 +0100)]
regress: Tweak scripts/cleanup with FORCE_CLOUD to not report an error
Sometime, the test finishes with the follwing:
===== bsr-opt-test Bacula source OK 21:31:22 =====
Missing access_key
Missing access_key
=> exit status != 0
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)
Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)
Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString
Norbert Bizet [Thu, 2 Nov 2017 14:26:40 +0000 (15:26 +0100)]
Add restore wizard to the tray monitor.
Norbert Bizet [Thu, 2 Nov 2017 14:25:47 +0000 (15:25 +0100)]
Preparation fixes: remove some warning
Eric Bollengier [Thu, 2 Nov 2017 15:35:41 +0000 (16:35 +0100)]
regress: Fix truncate-test with FORCE_CLOUD=yes
Eric Bollengier [Thu, 2 Nov 2017 09:10:59 +0000 (10:10 +0100)]
Add ASSERTD() to track NULL Volume name error
Eric Bollengier [Thu, 2 Nov 2017 08:51:52 +0000 (09:51 +0100)]
regress: Reduce the output of 2drive-concurrent-test and bsr-opt-test
Eric Bollengier [Tue, 24 Oct 2017 12:10:43 +0000 (14:10 +0200)]
Add "noautoparent" restore command option to disable the automatic parent directory selection
At this time, when we select a directory, we mark parent directories for
the restore automatically.
In the NDMP restore process, at this time, when we select a directory
entry, the entire content is restored recursively.
This option can be used to not select automatically parent directories
during a restore session.
Kern Sibbald [Sun, 12 Nov 2017 09:15:59 +0000 (10:15 +0100)]
Correct FS size calculation for FreeBSD, Solaris, and Windows
Marcin Haba [Sat, 11 Nov 2017 15:26:00 +0000 (16:26 +0100)]
baculum: Enable Portuguese language support in makefile
Marcin Haba [Fri, 10 Nov 2017 18:27:49 +0000 (19:27 +0100)]
baculum: Fix required directives in schedule resource configuration
Marcin Haba [Fri, 10 Nov 2017 18:10:11 +0000 (19:10 +0100)]
baculum: Fix saving messages resource
Kern Sibbald [Sat, 11 Nov 2017 14:56:57 +0000 (15:56 +0100)]
Tweak update version + date
Radosław Korzeniewski [Thu, 9 Nov 2017 11:26:11 +0000 (12:26 +0100)]
Update ACL/XATTR code and define new ACL/XATTR API for Plugins.
The patch redesign ACL/XATTR code separating acl functionality from xattr.
It allows for full conditional compilation on any supported OS. It closes issue: #2295.
The patch adds a new ACl/XATTR API for Plugins.
A new Plugin callback: bRC (*handleXACLdata)(bpContext *ctx, struct xacl_pkt *xacl);
and support data:
- BACL_BACKUP - Plugin ACL data backup,
- BACL_RESTORE - Plugin ACL data restore,
- BXATTR_BACKUP - Plugin XATTR data backup,
- BXATTR_RESTORE - Plugin XATTR data restore
struct xacl_pkt {
int32_t pkt_size; /* Size of this packet */
int32_t func; /* Function code */
int32_t count; /* read/write count */
char *content; /* read/write buffer */
int32_t pkt_end; /* end packet sentinel */
};
Bacula will call handleXACLdata with xacl.func set to one of the defined enum's
and for backup requires xacl.count and xacl.content to be set by a plugin and
if xacl.content is allocated by plugin he is responsible for free and for restore
will setup xacl.count and xacl.content to the data restored.
The Bacula Plugin API will call handleXACLdata during backup with specific xacl.func
multiple times for every file, until a plugin return xacl.count == 0
(similar to pluginIO where no more data to backup is signalled by io->status = 0).
And as usual handleXACLdata has to return bRC_OK when operation was successful
(acl/xattr to backup/restore is a success) or other (bRC_Error) when operation was
unsuccessful. In this case no acl/xattr data will be saved.
Marcin Haba [Fri, 10 Nov 2017 17:53:01 +0000 (18:53 +0100)]
baculum: Improve slow reloading config resource list
Marcin Haba [Fri, 10 Nov 2017 17:48:11 +0000 (18:48 +0100)]
baculum: Tweak add missing properties to integer control type validator
Marcin Haba [Fri, 10 Nov 2017 17:47:09 +0000 (18:47 +0100)]
baculum: Tweak fix missing closing html tag
Marcin Haba [Thu, 9 Nov 2017 20:14:23 +0000 (21:14 +0100)]
baculum: Fix numeric password setting bug reported by Heitor Faria
Add integer type control.
Kern Sibbald [Thu, 2 Nov 2017 06:58:17 +0000 (07:58 +0100)]
Update ChangeLog, ReleaseNotes, and version date
Marcin Haba [Wed, 1 Nov 2017 19:28:03 +0000 (20:28 +0100)]
baculum: Enable Portuguese language setting in the api config wizard
Wanderlei Huttel [Wed, 1 Nov 2017 19:26:23 +0000 (20:26 +0100)]
baculum: Add Portuguese language support to the api part
Wanderlei Huttel [Wed, 1 Nov 2017 19:25:34 +0000 (20:25 +0100)]
baculum: Update Portuguese translation in the web part
Wanderlei Huttel [Wed, 1 Nov 2017 18:24:16 +0000 (19:24 +0100)]
baculum: Add default paths to json tools and configs in api config wizard
Kern Sibbald [Wed, 1 Nov 2017 17:30:55 +0000 (18:30 +0100)]
Use if exists on dropping MAC table in postgres. Fixes bug #2314
Kern Sibbald [Wed, 1 Nov 2017 17:25:03 +0000 (18:25 +0100)]
Fix bdirjson display of Minutes. Fixes bug #2318
Marcin Haba [Wed, 1 Nov 2017 17:10:03 +0000 (18:10 +0100)]
baculum: Set default language if no language set
Marcin Haba [Wed, 1 Nov 2017 16:49:22 +0000 (17:49 +0100)]
baculum: Tweak add static text to translation files
Marcin Haba [Wed, 1 Nov 2017 16:38:10 +0000 (17:38 +0100)]
baculum: Fix language setting in api
Marcin Haba [Wed, 1 Nov 2017 15:44:26 +0000 (16:44 +0100)]
baculum: Update generated .mo files for api
Marcin Haba [Wed, 1 Nov 2017 15:38:33 +0000 (16:38 +0100)]
baculum: Add missing texts to translations
Marcin Haba [Wed, 1 Nov 2017 15:35:25 +0000 (16:35 +0100)]
baculum: Fix add to translation static texts on the api default page
Marcin Haba [Wed, 1 Nov 2017 15:31:48 +0000 (16:31 +0100)]
baculum: Fix missing session start
Kern Sibbald [Wed, 1 Nov 2017 17:05:22 +0000 (18:05 +0100)]
Make verify job log same as other logs -- fixes bug #2328
Kern Sibbald [Wed, 1 Nov 2017 08:40:34 +0000 (09:40 +0100)]
Take a more conservative approach for setting killable true
Kern Sibbald [Wed, 1 Nov 2017 07:55:12 +0000 (08:55 +0100)]
Add extra safety for readdir buffer
Kern Sibbald [Tue, 31 Oct 2017 12:54:43 +0000 (13:54 +0100)]
Retab systemd/Makefile.in
Sven Hartge [Tue, 31 Oct 2017 12:17:54 +0000 (13:17 +0100)]
Don't require mount for @piddir@
The systemd units don't use PID files and the daemons don't write them.
Remove the RequiresMount option for them to unclutter the units.
Signed-off-by: Sven Hartge <sven@svenhartge.de>
Kern Sibbald [Tue, 31 Oct 2017 10:04:46 +0000 (11:04 +0100)]
Use Debian systemd start/stop scripts supplied by Sven Hartge
Eric Bollengier [Mon, 16 Oct 2017 16:08:55 +0000 (18:08 +0200)]
regress: Fix error with new perl systems
Kern Sibbald [Sun, 29 Oct 2017 16:25:14 +0000 (17:25 +0100)]
Fix bug #2316 add CacheRetention to Pool
Kern Sibbald [Sun, 29 Oct 2017 16:12:33 +0000 (17:12 +0100)]
Skip tape ioctls on FreeBSD when using a FIFO fixes bug #2324