Changesets: bareos
master 1449105d 2020-02-10 14:34 Ported: N/A Details Diff |
lib: allow more chars in IsAclEntryValid() Bug 0001175: bareos crashes with invalid character in ACL The newly introduced IsAclEntryValid() allowed only "!*.:_-'/" as chars in an ACL. As regular expressions are possible in ACLs this list did not allow some previously valid ACLs to be configured. This patch extends the list to allow "!()[]|+?*.:_-'/" which will allow most syntaxes. We do not add "{}," intentionally, because this would re-allow the wrong ACL syntaxes that the original change tried to catch (i.e. adding a string with comma-separated resource names instead of a list of resource names). |
Affected Issues 0001175 |
|
mod - core/src/lib/edit.cc | Diff File | ||
bareos-19.2 07e70fee 2020-02-10 14:34 Ported: N/A Details Diff |
lib: allow more chars in IsAclEntryValid() Bug 0001175: bareos crashes with invalid character in ACL The newly introduced IsAclEntryValid() allowed only "!*.:_-'/" as chars in an ACL. As regular expressions are possible in ACLs this list did not allow some previously valid ACLs to be configured. This patch extends the list to allow "!()[]|+?*.:_-'/" which will allow most syntaxes. We do not add "{}," intentionally, because this would re-allow the wrong ACL syntaxes that the original change tried to catch (i.e. adding a string with comma-separated resource names instead of a list of resource names). (cherry picked from commit 1449105d157f8a713aa508240ee487ea1c4cf282) |
Affected Issues 0001175 |
|
mod - core/src/lib/edit.cc | Diff File | ||
master 19aa323d 2020-02-10 14:30 Ported: N/A Details Diff |
systemtests: cleanup and reword messages test | ||
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in | Diff File | ||
rm - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Daemon.conf.in | 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 6d3d87df 2020-02-10 14:30 Ported: N/A Details Diff |
systemtests: cleanup and reword messages test | ||
mod - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in | Diff File | ||
rm - systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Daemon.conf.in | 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 5dceb8b2 2020-02-10 14:02 Ported: N/A Details Diff |
dbcopy: print estimated time | ||
mod - core/src/dird/dbcopy/column_description.h | Diff File | ||
mod - core/src/dird/dbcopy/database_import_mysql.cc | Diff File | ||
mod - core/src/dird/dbcopy/database_import_mysql.h | Diff File | ||
mod - core/src/dird/dbcopy/dbcopy.cc | Diff File | ||
mod - core/src/dird/dbcopy/progress.cc | Diff File | ||
mod - core/src/dird/dbcopy/progress.h | Diff File | ||
master 013335c1 2020-02-10 12:33 Ported: N/A Details Diff |
build: skip systemtests and test_crc32 on client-only build | ||
mod - CMakeLists.txt | Diff File | ||
mod - core/src/dird/migrate.cc | Diff File | ||
mod - core/src/tests/CMakeLists.txt | Diff File | ||
bareos-19.2 a02e80fa 2020-02-10 12:33 Committer: arogge Ported: N/A Details Diff |
build: skip systemtests and test_crc32 on client-only build (cherry picked from commit 013335c11e1ff612d37f6ef165a0c9bf484954df) |
||
mod - CMakeLists.txt | Diff File | ||
mod - core/src/dird/migrate.cc | Diff File | ||
mod - core/src/tests/CMakeLists.txt | Diff File | ||
master bc70185f 2020-02-10 11:34 Committer: GitHub Ported: N/A Details Diff |
Merge pull request #412 from arogge/dev/arogge/master/fix-1180 Fix Bug 1180: CRC checksum algorithm changed between 18.2.7 and 19.2.5, all volumes fail |
||
mod - core/src/stored/crc32/crc32.cc | Diff File | ||
mod - core/src/tests/test_crc32.cc | Diff File | ||
master ba37eb57 2020-02-09 22:49 Ported: N/A Details Diff |
dbcopy: print the percentage of progress of each table | ||
mod - core/src/dird/dbcopy/database_import_mysql.cc | Diff File | ||
mod - core/src/dird/dbcopy/progress.cc | Diff File | ||
mod - core/src/dird/dbcopy/progress.h | Diff File | ||
master 45434d24 2020-02-09 17:26 Ported: N/A Details Diff |
dbcopy: add class progress | ||
mod - core/src/dird/dbcopy/CMakeLists.txt | Diff File | ||
mod - core/src/dird/dbcopy/database_import_mysql.cc | Diff File | ||
mod - core/src/dird/dbcopy/database_import_mysql.h | Diff File | ||
add - core/src/dird/dbcopy/progress.cc | Diff File | ||
add - core/src/dird/dbcopy/progress.h | Diff File | ||
master 25d4d2c4 2020-02-07 22:24 Ported: N/A Details Diff |
fixup - implement requested changes in test | ||
mod - core/src/tests/test_crc32.cc | Diff File | ||
bareos-19.2 77b75c06 2020-02-07 22:24 Ported: N/A Details Diff |
fixup - implement requested changes in test (cherry picked from commit 25d4d2c426e5621af5deaa2c13b57e6174ce55de) |
||
mod - core/src/tests/test_crc32.cc | Diff File | ||
master ee0b908a 2020-02-07 17:58 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 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 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 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 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 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 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 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 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 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 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 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 Ported: N/A Details Diff |
tests: evaluate REGRESS_DEBUG in messages test | ||
mod - core/src/tests/messages.cc | Diff File |