Changesets: bareos

master ee0b908a

2020-02-07 17:58

arogge

Ported: N/A

Details Diff
stored: use correct algorithm on FreeBSD

Fixes 0001180: CRC checksum algorihm changed between 18.2.7 and 19.2.5

Previously crc32.cc did not detect when it couldn't
find out what endianess the machine was. This is now
fixed so that
1. FreeBSD detects endianess correctly
2. the compile fails when there is no __BYTE_ORDER
Affected Issues
0001180
mod - core/src/stored/crc32/crc32.cc Diff File

bareos-19.2 ace6c834

2020-02-07 17:58

arogge

Ported: N/A

Details Diff
stored: use correct algorithm on FreeBSD

Fixes 0001180: CRC checksum algorihm changed between 18.2.7 and 19.2.5

Previously crc32.cc did not detect when it couldn't
find out what endianess the machine was. This is now
fixed so that
1. FreeBSD detects endianess correctly
2. the compile fails when there is no __BYTE_ORDER

(cherry picked from commit ee0b908a19cd740379e483da01d3054c9ccfd0a9)
Affected Issues
0001180
mod - core/src/stored/crc32/crc32.cc Diff File

master c0e80d43

2020-02-07 17:18

franku

Ported: N/A

Details Diff
tests: cleanup messages unittest

- renamed variables
- use only one map for the filepointers
- reordered the initialization
mod - core/src/tests/messages.cc Diff File

bareos-19.2 bbc1a9da

2020-02-07 17:18

franku

Ported: N/A

Details Diff
tests: cleanup messages unittest

- renamed variables
- use only one map for the filepointers
- reordered the initialization
mod - core/src/tests/messages.cc Diff File

master a2441f31

2020-02-07 16:26

franku

Ported: N/A

Details Diff
tests: do not build messages unittest for client-only
mod - core/src/tests/CMakeLists.txt Diff File

bareos-19.2 69d5fe41

2020-02-07 16:26

franku

Ported: N/A

Details Diff
tests: do not build messages unittest for client-only
mod - core/src/tests/CMakeLists.txt Diff File

master 7c344947

2020-02-07 15:30

franku

Ported: N/A

Details Diff
systemtests: add the operator and mail destination to messages test

- add the destinations to the messages resource
- reword the test string
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

bareos-19.2 feb314c5

2020-02-07 15:30

franku

Ported: N/A

Details Diff
systemtests: add the operator and mail destination to messages test

- add the destinations to the messages resource
- reword the test string
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

master 43e48cbe

2020-02-07 11:38

franku

Ported: N/A

Details Diff
systemtests: rename filenames used for messages output files

- rename filenames
- add a environment variable for the logfile path
mod - core/src/tests/messages.cc Diff File
mod - systemtests/environment.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

bareos-19.2 bba159dc

2020-02-07 11:38

franku

Ported: N/A

Details Diff
systemtests: rename filenames used for messages output files

- rename filenames
- add a environment variable for the logfile path
mod - core/src/tests/messages.cc Diff File
mod - systemtests/environment.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

master 4e482a27

2020-02-07 11:30

arogge

Ported: N/A

Details Diff
tests: test crc32 with a real label block

Bug 0001180: CRC checksum algorithm changed between 18.2.7 and 19.2.5

Previously the crc32 tests did only rudimentary changes, but did not
check with a real bareos block. This patch now adds a dumped label block
from a test-installation and calculates the checksum for that.
This patch also changes the pattern for another test, so it triggers on
an endianess problem too.
Affected Issues
0001180
mod - core/src/tests/test_crc32.cc Diff File

bareos-19.2 bf4250b8

2020-02-07 11:30

arogge

Ported: N/A

Details Diff
tests: test crc32 with a real label block

Bug 0001180: CRC checksum algorithm changed between 18.2.7 and 19.2.5

Previously the crc32 tests did only rudimentary changes, but did not
check with a real bareos block. This patch now adds a dumped label block
from a test-installation and calculates the checksum for that.
This patch also changes the pattern for another test, so it triggers on
an endianess problem too.

(cherry picked from commit 4e482a27661ae6221e077811b714e6cb985fdb5e)
Affected Issues
0001180
mod - core/src/tests/test_crc32.cc Diff File

master ffbf368e

2020-02-07 11:05

franku

Ported: N/A

Details Diff
tests: evaluate REGRESS_DEBUG in messages test
mod - core/src/tests/messages.cc Diff File

bareos-19.2 82ea5b0b

2020-02-07 11:05

franku

Ported: N/A

Details Diff
tests: evaluate REGRESS_DEBUG in messages test
mod - core/src/tests/messages.cc Diff File

master 3800ebc0

2020-02-06 23:10

franku

Ported: N/A

Details Diff
systemtests: add stdout and stderr as destination to messages
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

bareos-19.2 795666ef

2020-02-06 23:10

franku

Ported: N/A

Details Diff
systemtests: add stdout and stderr as destination to messages
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

master 249ca157

2020-02-06 18:00

franku

Ported: N/A

Details Diff
systemtest: add more test pattern to message test
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

bareos-19.2 a7cc9e28

2020-02-06 18:00

franku

Ported: N/A

Details Diff
systemtest: add more test pattern to message test
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/messages.cc Diff File
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
mod - systemtests/tests/messages-test/testrunner Diff File

master 93cef661

2020-02-06 17:59

franku

Ported: N/A

Details Diff
lib: prepare callbacks for mockup callbacks in unittests
mod - core/src/lib/message.cc Diff File
mod - core/src/lib/message.h Diff File

bareos-19.2 d56539bd

2020-02-06 17:59

franku

Ported: N/A

Details Diff
lib: prepare callbacks for mockup callbacks in unittests
mod - core/src/lib/message.cc Diff File
mod - core/src/lib/message.h Diff File

master 8af04707

2020-02-06 16:25

frank

Ported: N/A

Details Diff
webui: Fix sorting of job selection in restore module

A recent bconsole command change in the getClientBackups method
of the client model lead to a wrong population of the backup job
selection to choose from in the restore module.

To fix this issue the population of the backup job selection list is
still done by the getClientBackups method but with the proper bconsole
command as it has been before.

The client details action now calls the getClientJobs method of the
client model to get a job list with all status instead a list of
successful backup jobs only.

Fixes 0001174: reversed sort order on the restore client selection
Affected Issues
0001174
mod - webui/module/Client/src/Client/Controller/ClientController.php Diff File
mod - webui/module/Client/src/Client/Model/ClientModel.php Diff File
mod - webui/module/Client/view/client/client/details.phtml Diff File

bareos-19.2 6ec9b548

2020-02-06 16:25

frank

Ported: N/A

Details Diff
webui: Fix sorting of job selection in restore module

A recent bconsole command change in the getClientBackups method
of the client model lead to a wrong population of the backup job
selection to choose from in the restore module.

To fix this issue the population of the backup job selection list is
still done by the getClientBackups method but with the proper bconsole
command as it has been before.

The client details action now calls the getClientJobs method of the
client model to get a job list with all status instead a list of
successful backup jobs only.

Fixes 0001174: reversed sort order on the restore client selection
Affected Issues
0001174
mod - webui/module/Client/src/Client/Controller/ClientController.php Diff File
mod - webui/module/Client/src/Client/Model/ClientModel.php Diff File
mod - webui/module/Client/view/client/client/details.phtml Diff File

master d3983ba1

2020-02-06 16:03

arogge

Ported: N/A

Details Diff
lib: make IsAclEntryValid() more robust

Fixes 0001175: bareos crashes with invalid character in ACL

Previously IsAclEntryValid() took a char* as a parameter that was
expected to be a POOLMEM (and would have been resized when an error
occured).
This char* has been replaced by a std::vector<char>& and the new
overload for Mmsg() is now used to format a message.
Affected Issues
0001175
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/edit.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/tests/test_acl_entry_syntax.cc Diff File

bareos-19.2 208119f1

2020-02-06 16:03

arogge

Ported: N/A

Details Diff
lib: make IsAclEntryValid() more robust

Fixes 0001175: bareos crashes with invalid character in ACL

Previously IsAclEntryValid() took a char* as a parameter that was
expected to be a POOLMEM (and would have been resized when an error
occured).
This char* has been replaced by a std::vector<char>& and the new
overload for Mmsg() is now used to format a message.

(cherry picked from commit d3983ba1d08d9bda69ed58c36ec4253353106344)
Affected Issues
0001175
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/edit.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/tests/test_acl_entry_syntax.cc Diff File

master ffc074b0

2020-02-06 15:59

arogge

Ported: N/A

Details Diff
lib: add overload Mmsg() for std::vector<char>

Previously Mmsg() would only write into a POOLMEM or PoolMem. This patch
adds another overload that allows Mmsg() to write to a std::vector<char>
and to automatically resize that vector as needed.
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/message.cc Diff File
mod - core/src/lib/message.h Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 307 308 309 310 311 312 313 ... 350 ... 420 ... 490 ... 560 ... 630 ... 677 678 679  Next  Last