Changesets: bareos

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

master eca0d3f8

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
plugins: Enhance fd-plugin interface.

Added two new methods in the Bareos FD callback methods:

- SetSeenBitmap to Set a bit in the seen bitmap for a specific file or
for all files in a backup.
- ClearSeenBitmap to Clear a bit in the seen bitmap for a specific file
or for all files in a backup.
mod - src/filed/accurate.c Diff File
mod - src/filed/accurate.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/protos.h Diff File

master 58ed3ddb

2016-05-07 22:12

mvwieringen

Ported: N/A

Details Diff
plugins: Implement missing plugin code.

The original plugin design promised a lot more than it really
delivered. This tries adding some of the missing features e.g. respond
in a proper way to certain return values as promised in the header file
but never implemented in the core.
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/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

master 819c91ea

2016-05-07 12:03

mvwieringen

Ported: N/A

Details Diff
lmdb: Sync to upstream.
mod - src/lmdb/mdb.c Diff File

master 13c8e62b

2016-05-07 11:47

mvwieringen

Ported: N/A

Details Diff
Coverity: Fix newly raised defects.
mod - src/lib/bsys.c Diff File

master 0736fd0b

2016-05-07 01:43

mvwieringen

Ported: N/A

Details Diff
stored: Remove unused struct member ser_buf.
mod - src/stored/record.c Diff File
mod - src/stored/record.h Diff File

master ed936eab

2016-05-06 15:38

Frank Bergkemper

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - config/autoload/global.php Diff File
mod - module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php Diff File
mod - module/Restore/src/Restore/Controller/RestoreController.php Diff File

master 1bfee925

2016-05-06 15:18

Frank Bergkemper

Ported: N/A

Details Diff
navbar cleanup
mod - module/Application/view/layout/layout.phtml Diff File

master fe4cb8da

2016-05-06 14:56

Frank Bergkemper

Ported: N/A

Details Diff
Removes no longer needed view helpers
mod - module/Application/Module.php Diff File
mod - module/Application/autoload_classmap.php Diff File
mod - module/Application/config/module.config.php Diff File
rm - module/Application/src/Application/View/Helper/Bytes.php Diff File
rm - module/Application/src/Application/View/Helper/Date.php Diff File
rm - module/Application/src/Application/View/Helper/Expiration.php Diff File
rm - module/Application/src/Application/View/Helper/HumanReadableTimeperiod.php Diff File
rm - module/Application/src/Application/View/Helper/JobStatus.php Diff File
rm - module/Application/src/Application/View/Helper/JobType.php Diff File
rm - module/Application/src/Application/View/Helper/Retention.php Diff File
rm - module/Application/src/Application/View/Helper/StatusGlyphicons.php Diff File

master fcf0a463

2016-05-05 21:32

mvwieringen

Ported: N/A

Details Diff
plugins: Remove unused function parse_boolean()

Removed parse_boolean() function in plugins that don't use it.
Also free the basedir in some plugins where this was not done before.
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/cephfs-fd.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File
mod - src/plugins/filed/rados-fd.c Diff File

master c4bab8b5

2016-05-04 19:56

Frank Bergkemper

Ported: N/A

Details Diff
Fix: Wrong cookie lifetime

Sets the cookie lifetime to zero to reset session lifetime to it's maximum with every click,
this was set to a wrong value. Also session maximum life- and idle-time is now set to
one hour by default. These settings should be configurable via an ini file in future.
In addition, the session idle-timeout controller plugin is probably no longer needed,
which would require some code cleanup.

Fixes 0000648: Timeout way too short and other options that need to be configurable
mod - config/autoload/global.php Diff File
mod - module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php Diff File

master bddf6e24

2016-05-04 15:50

Frank Bergkemper

Ported: N/A

Details Diff
Remove control characters which lead to broken json and a non browseable filetree
mod - module/Restore/src/Restore/Controller/RestoreController.php Diff File

master ea4df972

2016-05-03 17:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix memleak in parse_conf.c:125
mod - src/lib/parse_conf.c Diff File

master cbffcf72

2016-05-03 15:43

Frank Bergkemper

Ported: N/A

Details Diff
Fix: Used empty() on a function instead of a variable
mod - module/Auth/src/Auth/Controller/AuthController.php Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 462 463 464 465 466 467 468 ... 480 ... 540 ... 600 ... 613 614 615  Next  Last