Changesets: bareos
master 620475af 2015-07-13 12:45 Committer: mvwieringen Ported: N/A Details Diff |
Make failing load of backend less confusing. Change exit from M_ABORT to M_ERROR_TERM on problems with configuration file, preventing a Segmentation Fault when running bareos-dbcheck on an uninitialized config file. M_ABORT forces a traceback but for some failures those only confuse end-users. |
||
mod - src/cats/cats_backends.c | Diff File | ||
mod - src/stored/sd_backends.c | Diff File | ||
master d4dac4e4 2015-07-10 15:28 Ported: N/A Details Diff |
Fix copyright. - Major refactoring and new features contributed by Planets Communications B.V. |
||
mod - src/filed/accurate.c | Diff File | ||
mod - src/filed/accurate.h | Diff File | ||
mod - src/filed/accurate_htable.c | Diff File | ||
mod - src/filed/accurate_lmdb.c | Diff File | ||
mod - src/lib/scsi_tapealert.c | Diff File | ||
mod - src/lib/scsi_tapealert.h | Diff File | ||
mod - src/plugins/dird/python-dir.c | Diff File | ||
mod - src/plugins/dird/python-dir.h | Diff File | ||
mod - src/plugins/filed/cephfs-fd.c | Diff File | ||
mod - src/plugins/filed/gfapi-fd.c | Diff File | ||
mod - src/plugins/filed/python-fd.c | Diff File | ||
mod - src/plugins/filed/python-fd.h | Diff File | ||
mod - src/plugins/filed/rados-fd.c | Diff File | ||
mod - src/plugins/stored/autoxflate-sd.c | Diff File | ||
mod - src/plugins/stored/python-sd.c | Diff File | ||
mod - src/plugins/stored/python-sd.h | Diff File | ||
mod - src/plugins/stored/scsitapealert-sd.c | Diff File | ||
mod - src/stored/backends/cephfs_device.c | Diff File | ||
mod - src/stored/backends/cephfs_device.h | Diff File | ||
mod - src/stored/backends/elasto_device.c | Diff File | ||
mod - src/stored/backends/elasto_device.h | Diff File | ||
mod - src/stored/backends/generic_tape_device.c | Diff File | ||
mod - src/stored/backends/generic_tape_device.h | Diff File | ||
mod - src/stored/backends/gfapi_device.c | Diff File | ||
mod - src/stored/backends/gfapi_device.h | Diff File | ||
mod - src/stored/backends/object_store_device.c | Diff File | ||
mod - src/stored/backends/object_store_device.h | Diff File | ||
mod - src/stored/backends/rados_device.c | Diff File | ||
mod - src/stored/backends/rados_device.h | Diff File | ||
mod - src/stored/backends/unix_fifo_device.c | Diff File | ||
mod - src/stored/backends/unix_fifo_device.h | Diff File | ||
mod - src/stored/backends/unix_file_device.c | Diff File | ||
mod - src/stored/backends/unix_file_device.h | Diff File | ||
mod - src/stored/backends/unix_tape_device.c | Diff File | ||
mod - src/stored/backends/unix_tape_device.h | Diff File | ||
mod - src/stored/sd_backends.c | Diff File | ||
mod - src/stored/sd_backends.h | Diff File | ||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
mod - src/win32/stored/backends/win32_fifo_device.c | Diff File | ||
mod - src/win32/stored/backends/win32_fifo_device.h | Diff File | ||
mod - src/win32/stored/backends/win32_file_device.c | Diff File | ||
mod - src/win32/stored/backends/win32_file_device.h | Diff File | ||
mod - src/win32/stored/backends/win32_tape_device.c | Diff File | ||
mod - src/win32/stored/backends/win32_tape_device.h | Diff File | ||
master 8b033a3d 2015-07-08 18:18 Committer: mvwieringen Ported: N/A Details Diff |
JSON: write all keys in lower case Postgresql and MySQL use different cases for database tables (lower case vs. CamelCase). To prevent problems, the JSON output converts all keys to lowercase. Fixes 0000493: bareos-webui with MySQL |
Affected Issues 0000493 |
|
mod - src/lib/mem_pool.c | Diff File | ||
mod - src/lib/mem_pool.h | Diff File | ||
mod - src/lib/output_formatter.c | Diff File | ||
master 71f51db9 2015-06-30 19:00 Committer: mvwieringen Ported: N/A Details Diff |
Allow to specify arrays in JSON output structure Before, the JSON output handled arrays implicitly. The result was partly unexpected behavior, like some data was overwritten when adding several nameless objects. The new version destinguishes between * named objects (object_start(NAME)) * can be added to objects (named and nameless objects) * nameless objects (object_start(NULL)) * can be added to arrays * arrays (array_start(NAME)) * can be added by name to an object * contain nameless objects (object_start(NULL)) The JSON result root element is now an object. It has been an array before, but external tools (bareos-webui) normally only evaluate the first array element. |
||
mod - src/cats/sql.c | Diff File | ||
mod - src/cats/sql_list.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
mod - src/lib/output_formatter.c | Diff File | ||
mod - src/lib/output_formatter.h | Diff File | ||
master 7d739f07 2015-06-30 13:29 Committer: mvwieringen Ported: N/A Details Diff |
Command .defaults: enable JSON output This command was only indented for api mode 1, separating the different entries only by sending them in separate packets. This patch makes the command also usable in other api modes, while leaving api mode 1 unchanged. |
||
mod - src/dird/ua_dotcmds.c | Diff File | ||
master 1011da19 2015-06-30 10:51 Committer: mvwieringen Ported: N/A Details Diff |
Command .sql: enable JSON output before, the .sql command was only intended for api mode 1 and printed the fields separated by tabs. Each row was sent as seperate packet, but had no more line separations, making the output unusable in interactive mode (api=0). The new implementation reuses the normal sql table output for all api modes except 1 (the output there is used by bat). It formats the table nicely and usable in the different api modes. |
||
mod - src/dird/ua_dotcmds.c | Diff File | ||
master 8dc1c57f 2015-06-29 19:46 Committer: mvwieringen Ported: N/A Details Diff |
Cleanup dotcommands added some comments, sorted commands |
||
mod - src/cats/sql_list.c | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
master a3f26c57 2015-06-29 15:17 Committer: mvwieringen Ported: N/A Details Diff |
Show loglevel in debug output | ||
mod - src/lib/message.c | Diff File | ||
master 4851d0dd 2015-06-28 22:43 Committer: mvwieringen Ported: N/A Details Diff |
Integrate messages to OUTPUT_FORMATTER This patch integrates message handling into the OUTPUT_FORMATTER so that messages (info, warnings or errors messages) can not degrade JSON output anymore. In JSON API mode, messages are now kept separate from the actual output. Normally messages will not be send, except if one of the messages is an error message. In this case, the whole JSON result will be marked as error and the current result plus the messages will be delivered as an error message. Also this patch sets batch mode in api mode JSON. In batch mode, commands do not show additional prompts. If not all parameter are given, a command fails to execute. This is the wanted behaviour for the API mode JSON. |
||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
mod - src/dird/ua_output.c | Diff File | ||
mod - src/lib/output_formatter.c | Diff File | ||
mod - src/lib/output_formatter.h | Diff File | ||
master e52b57d6 2015-06-28 16:34 Ported: N/A Details Diff |
Refactor list and llist. Over time the list and llist code really developed into some serious spaghetti code. To make thing somewhat more like what you expect from the command its now refactored to do the following: - Add offset parameter - Select what to do based on the first keyword after the list or llist - Only do one action at a time. - Remove the somewhat strange features like: - list jobs jobid=1 - Which lists first all jobs and then the specifics for jobid 1 - list fileset jobid=1 - Which lists the fileset used by jobid 1 - The jobs specifics of JobId 1 - list pools jobid=1 - Which lists all pools - The jobs specifics of JobId 1 |
||
mod - src/cats/protos.h | Diff File | ||
mod - src/cats/sql.c | Diff File | ||
mod - src/cats/sql_list.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_output.c | Diff File | ||
mod - src/dird/ua_select.c | Diff File | ||
master c47ad826 2015-06-28 12:17 Ported: N/A Details Diff |
Cleanup Media Record Enbled handling. - Use enum with the values it can have that mean something when reading the code. - Removed whole argument parsing in update_volume() as update_volenabled() is called which calls get_enabled() which already does the whole parsing. |
||
mod - src/dird/autoprune.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird.h | Diff File | ||
mod - src/dird/newvol.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_prune.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
bareos-14.2 ca3f777d 2015-06-28 12:17 Ported: N/A Details Diff |
Cleanup Media Record Enbled handling. - Use enum with the values it can have that mean something when reading the code. - Removed whole argument parsing in update_volume() as update_volenabled() is called which calls get_enabled() which already does the whole parsing. |
||
mod - src/dird/autoprune.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird.h | Diff File | ||
mod - src/dird/newvol.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_prune.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
bareos-13.2 342ecaa5 2015-06-28 12:17 Ported: N/A Details Diff |
Cleanup Media Record Enbled handling. - Use enum with the values it can have that mean something when reading the code. - Removed whole argument parsing in update_volume() as update_volenabled() is called which calls get_enabled() which already does the whole parsing. |
||
mod - src/dird/autoprune.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird.h | Diff File | ||
mod - src/dird/newvol.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_prune.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
bareos-12.4 1fac9272 2015-06-28 12:17 Ported: N/A Details Diff |
Cleanup Media Record Enbled handling. - Use enum with the values it can have that mean something when reading the code. - Removed whole argument parsing in update_volume() as update_volenabled() is called which calls get_enabled() which already does the whole parsing. |
||
mod - src/dird/autoprune.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird.h | Diff File | ||
mod - src/dird/newvol.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_prune.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
master c519f119 2015-06-28 00:39 Committer: mvwieringen Ported: N/A Details Diff |
Package also sqlite stuff | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master c4709ed7 2015-06-26 13:07 Ported: N/A Details Diff |
Fix comment. Move comment to right place so it makes sense to the table it talks about. |
||
mod - src/cats/ddl/creates/mysql.sql | Diff File | ||
master ecb539bc 2015-06-25 23:48 Ported: N/A Details Diff |
Need to call init_crypto() before check_resources() As check_resources() does a setup of the TLS contexts we need to have called init_crypto() by then. This makes sure that all daemons start again after the patch for calling the init_crypto() after started the daemon and closing all filedescriptors. |
||
mod - src/dird/dird.c | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
master 4b73c7f8 2015-06-25 20:53 Ported: N/A Details Diff |
fix shell parsing of Bareos configuration files without this patch, the database password for mysql have not been set automatically during package install on Debian. |
||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
master 635f86ea 2015-06-25 19:02 Ported: N/A Details Diff |
Added Holger Weiss to AUTHORS | ||
mod - AUTHORS | Diff File | ||
master 78bb459c 2015-06-25 18:59 Ported: N/A Details Diff |
Merge pull request 0000026 from weiss/accept-slash bconsole: Add '/' to the list of acceptable volume name characters |
||
mod - src/lib/edit.c | Diff File | ||
master aef22531 2015-06-25 18:59 Ported: N/A Details Diff |
Merge pull request 0000025 from weiss/master Don't initialize TLS library before daemonizing |
||
mod - src/dird/dird.c | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
master a0310dbe 2015-06-25 18:39 Ported: N/A Details Diff |
Cleanup director and use bool instead of int We have a lot of functions that return an int 0 or 1 which can just as well return a proper boolean as return value. This patch tries to cleanup this in more places as already done before so we mostly use bool where possible and int only when things cannot be solved by a bool e.g. when false and true are not enough. |
||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/migrate.c | Diff File | ||
mod - src/dird/protos.h | Diff File | ||
mod - src/dird/ua.h | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_configure.c | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
mod - src/dird/ua_impexp.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_output.c | Diff File | ||
mod - src/dird/ua_prune.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_query.c | Diff File | ||
mod - src/dird/ua_restore.c | Diff File | ||
mod - src/dird/ua_run.c | Diff File | ||
mod - src/dird/ua_select.c | Diff File | ||
mod - src/dird/ua_server.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
master b9d1d47d 2015-06-25 17:49 Ported: N/A Details Diff |
Suppress output of auto select info in API mode. | ||
mod - src/dird/ua_select.c | Diff File | ||
bareos-14.2 1c77dd5e 2015-06-25 17:49 Ported: N/A Details Diff |
Suppress output of auto select info in API mode. | ||
mod - src/dird/ua_select.c | Diff File | ||
bareos-13.2 ebf470ee 2015-06-25 17:49 Ported: N/A Details Diff |
Suppress output of auto select info in API mode. | ||
mod - src/dird/ua_select.c | Diff File |