Changesets: bareos

master a2fe95c3

2016-05-13 18:31

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/dird/scheduler.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/util.c Diff File
mod - src/lmdb/mdb.c Diff File

master dbddf5b0

2016-05-13 12:51

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Suppress already queued jobs for disabled schedules

When a job already was queued by a schedule for the next
hour, and then the schedule is disabled, the already queued
jobs is still executed.

Fixes 0000659: Suppress already queued jobs for disabled schedules
Affected Issues
0000659
mod - src/dird/scheduler.c Diff File

bareos-14.2 79feb550

2016-05-13 12:51

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Suppress already queued jobs for disabled schedules

When a job already was queued by a schedule for the next
hour, and then the schedule is disabled, the already queued
jobs is still executed.

Fixes 0000659: Suppress already queued jobs for disabled schedules
Affected Issues
0000659
mod - src/dird/scheduler.c Diff File

master 9555e7cd

2016-05-12 20:42

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Improved config file handling.

The old implementation could not distinguish between a config file given
as command line parameter and the compiled default.

Older versions of bareos (15.2.x) did handle command line parameter
as follows:

If the parameter is a path (contains a "/"), it will be as expected (absolute path
or path relative to the current directory).

If the parameter is a filename (does not contain a "/"), it will be treated as relative
to the compiled config directory (e.g. /etc/bareos/).

This is inconsistent.

A prior patch changed this behavior. However, this patch extends the
search for the config file.

No config file paramter given:
* use default config file, fall back to default config include
directories.
Config file parameter is given and it is an existing file:
* this file will be used. It can be specified either an absolute or a
relative path (relative to the current directory).
Config file parameter is given and it is a directory:
* tries to find the default config filename in the configured
directory. If that fails, it tries to find the config include
directories under the configured directory.
Parameter is given but does not exists:
* For backward compability (for programs not adapted to the new
mechanism like bat and tray-monitor):
* try to find the given path relative to the default config directory.
mod - src/console/console.c Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console_conf.h Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/bsys.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/stored/bcopy.c Diff File
mod - src/stored/bextract.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

master 3d43771b

2016-05-12 20:42

Frank Bergkemper

Ported: N/A

Details Diff
Adds missing hyperlink to fileset
mod - module/Client/view/client/client/details.phtml Diff File

master 6af83db6

2016-05-12 20:25

stephand

Ported: N/A

Details Diff
Denormalized Filename Table

- For increased DB performance, the File and Filename tables were
denormalized, that means the Name column of the Filename table is now
in the File table. Thus when inserting from the batch table, joins
with the Filename table are no longer necesary. Also no more exclusive
locking of the Filename table which allow parallization.
- The changes were made for PostgreSQL, MySQL and SQLite, but most
testing has been done with PostgreSQL. However, regressions should
work for all DBs.
- TODO:
- The DB version string is still 2004, it must be changed to
distinguish from current 16.2 with non-normalized DB structure.
- The DB update script must be adapted to do the denormalization.
mod - po/bareos.pot Diff File
mod - po/de.po Diff File
mod - po/es.po Diff File
mod - po/fr.po Diff File
mod - po/it.po Diff File
mod - po/nl.po Diff File
mod - po/pl.po Diff File
mod - po/sv.po Diff File
mod - po/uk.po Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/ddl/creates/ingres.sql Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File
mod - src/cats/ddl/creates/sqlite3.sql Diff File
mod - src/cats/ddl/drops/postgresql.sql Diff File
mod - src/cats/ddl/grants/postgresql.sql Diff File
mod - src/cats/sql_cmds.c Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_get.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/query.sql Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/verify.c Diff File
mod - src/tests/bvfs_test.c Diff File

master 5fea60fc

2016-05-12 18:10

Frank Bergkemper

Ported: N/A

Details Diff
Displays the last n dird messages
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File
mod - module/Director/src/Director/Controller/DirectorController.php Diff File
mod - module/Director/src/Director/Model/DirectorModel.php Diff File
mod - module/Director/view/director/director/messages.phtml Diff File

master 5634af7c

2016-05-12 00:41

Joerg Steffens

Ported: N/A

Details Diff
don't specify config file

as behavior to find the config file have changed, when config file is
relative and contains a "/".
Now, reletive config file are always treated relative to the build time
configured config directory.
mod - tests/bextract-test Diff File
mod - tests/bscan-test Diff File

master cc90c49a

2016-05-11 20:36

Frank Bergkemper

Ported: N/A

Details Diff
adds a dird msg ticker to dashboard
mod - module/Dashboard/src/Dashboard/Controller/DashboardController.php Diff File
mod - module/Dashboard/src/Dashboard/Model/DashboardModel.php Diff File
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File

master e8cf81e7

2016-05-11 14:59

pstorz

Ported: N/A

Details Diff
Fix typo Scedules -> Schedules
mod - src/dird/ua_output.c Diff File

bareos-14.2 0c758e69

2016-05-11 14:59

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix typo Scedules -> Schedules
mod - src/dird/ua_output.c Diff File

master 2742a826

2016-05-10 21:23

mvwieringen

Ported: N/A

Details Diff
lib: Fix compile problem.
mod - src/lib/bsys.c Diff File

master 023a8da2

2016-05-10 12:14

Joerg Steffens

Ported: N/A

Details Diff
cleanup
mod - manuals/en/main/director-resource-job-definitions.tex Diff File

master 14d068f3

2016-05-10 11:23

pstorz

Ported: N/A

Details Diff
Set VERSION to current sprint
mod - src/include/version.h Diff File

master 2f3b6764

2016-05-10 10:24

joergs

Ported: N/A

Details Diff
typo
mod - src/dird/dird_conf.c Diff File

master 85885b11

2016-05-09 19:25

Marco van Wieringen

Ported: N/A

Details Diff
Show also files for Copy Jobs.
mod - module/Job/view/job/job/index.phtml Diff File

master 5cbb2554

2016-05-09 17:28

mvwieringen

Ported: N/A

Details Diff
lib: Fix expansion of %B jobcode.

We need to add a B suffix to the Job Bytes in human readable format
printing routine.
mod - src/lib/util.c Diff File

bareos-14.2 ee3e0eb3

2016-05-09 17:28

mvwieringen


Committer: joergs

Ported: N/A

Details Diff
lib: Fix expansion of %B jobcode.

We need to add a B suffix to the Job Bytes in human readable format
printing routine.
mod - src/lib/util.c Diff File

master aea99330

2016-05-09 14:06

Frank Bergkemper

Ported: N/A

Details Diff
Display jobs last run status on dashboard
mod - module/Dashboard/src/Dashboard/Controller/DashboardController.php Diff File
mod - module/Dashboard/src/Dashboard/Model/DashboardModel.php Diff File
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File

master 37b2bd81

2016-05-08 18:43

mvwieringen

Ported: N/A

Details Diff
dird: Fix memory leak with configure usage string.

As the old buffer was defined as static inside the
get_configure_parameter() function it means its scope is still active at
the time the daemon ends and it will never be freed and as such
smartalloc whines in the following way:

bareos-dir: smartall.c:414-0 Orphaned buffer: bareos-dir 10016 bytes at
6e6b68 from mem_pool.c:242

The new approach is to use a static global variable and a dynamic
allocate of the POOL_MEM buffer and an extra cleanup function
destroy_configure_usage_string() which is called from terminate_dird().
I also renamed the original function from get_configure_parameter() to
get_configure_usage_string() which describes the function a bit better.
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_cmds.c Diff File

master 6544312a

2016-05-07 22:15

mvwieringen

Ported: N/A

Details Diff
lib: Use POOL_MEM in ini serialize function.

On master we changed the code from POOLMEM ** to POOLMEM *&
but the new Solaris Studio 12.5beta runs into thye following error.

"ini.c", line 426: Error: Overloading ambiguity between
"ConfigFile::serialize(const char*)" and
"ConfigFile::serialize(char*&)".

We now switched to using POOL_MEM which is a proper class and as such
doesn't give an overloading ambiguity. The POOLMEM type is a typedef of
a char pointer and does with this compiler. Strange thing is that it
does not with any earlier versions of the Solaris studio compiler.
mod - src/include/baconfig.h Diff File
mod - src/lib/ini.c Diff File
mod - src/lib/ini.h Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/mem_pool.h Diff File
mod - src/lib/message.c Diff File
mod - src/lib/unittests/ini_test.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File

master 050a7024

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
win32: First preparations for having better VSS hooks.

This adds some changes to the core to allow the plugins to
interact better with the VSS subsystem. It updates the protocol
version for the plugins and removes some events that are not
available anyway.
mod - src/filed/backup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/plugins/filed/bareos_fd_consts.py Diff File
mod - src/plugins/filed/example-plugin-fd.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File
mod - src/win32/filed/vss.c Diff File
mod - src/win32/filed/vss_generic.c Diff File
mod - src/win32/include/vss.h Diff File

master d09cf9cd

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
plugins: Python overhaul.

- Implement new and missing callback methods for FD python plugins:
- CheckChanges
- AcceptFile
- SetSeenBitmap
- ClearSeenBitmap
- For all plugins:
- UnregisterEvents
- GetInstanceCount
- Return bRC as part of most callbacks that used to
return None so the caller can check if things went ok.
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/dird/python-dir.h Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/filed/python-fd.h Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File

master c4f6b260

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
plugins: Enhance plugin interface.

Added new callback method for retrieving the number of
instances of a certain plugin. This mehod was added to all plugins.

This method can be used by the plugin to see if it is the first plugin
being loaded and as such initialize some subsystem that only
should be initialized once per program.

This method can also be used to see if a plugin is the last one being
used and as such needs to call some generic global cleanup hook
for some subsystem.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

master ea343444

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
plugins: Enhance plugin interface.

Added an callback method for unregistering a set of events.
This callback is analog to the existing function that registers
certain events and is added to all plugins.

This way a plugin can disable certain events if it doesn't want
to be called for them.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 457 458 459 460 461 462 463 ... 480 ... 540 ... 600 ... 609 610 611  Next  Last