Commit Graph

84 Commits

Author SHA1 Message Date
fbsanchez 760522aeff Merge remote-tracking branch 'origin/develop' into ent-7074-Command-Center 2021-06-28 11:03:09 +02:00
fbsanchez eec373e896 Added link to MC place where user must manage the stuff when in centralised environment and ui_get_meta_url 2021-06-24 19:48:07 +02:00
fbsanchez 107c934371 Fixed not conditional in where_clause builder (mysql) 2021-06-22 19:31:04 +02:00
Daniel Barbero Martin 3a85c69043 Wip command center 2021-05-31 14:58:36 +02:00
Daniel Barbero Martin 03e857ffc8 Wip command center 2021-05-20 17:36:01 +02:00
fbsanchez 78e4d64658 avoid using cache while getting/releasing a lock from DB 2021-04-28 14:16:28 +02:00
Daniel Barbero Martin 846b601a3c WIP command center 2021-04-05 17:32:19 +02:00
Daniel Barbero Martin cc222faddc Merge remote-tracking branch 'origin/develop' into ent-7074-Command-Center
Conflicts:
	pandora_console/include/functions_api.php
2021-03-25 17:00:27 +01:00
fbsanchez 7b7ef3a757 minor improvement (err. messages) 2021-03-25 14:25:09 +01:00
Daniel Barbero Martin 23268a4559 WIP Command center 2021-03-05 13:17:12 +01:00
Daniel Barbero Martin da263b23d2 WIP Command center 2021-03-02 11:09:55 +01:00
Daniel Barbero Martin 2ea6c9dbda WIP Command center 2021-03-02 08:32:59 +01:00
Daniel Barbero Martin 85ec17f3e1 WIP Command center 2021-02-26 08:36:48 +01:00
Jose Gonzalez 649442f794 Updated copyrights 2020-11-27 13:52:35 +01:00
samucarc 9db9d1644c Eliminated the cache when update agents
Former-commit-id: 4e52c0f85ae68a5658c8cd40e72064b48c644934
2019-03-06 11:25:47 +01:00
samucarc 7e53461b94 Added new alert when failed database
Former-commit-id: ee0e8efaf3f32b4c5a86d421873555969274ca43
2019-02-28 17:40:11 +01:00
fbsanchez 37f6da9aa8 recovered. changes from 0b72571c7c [formerly f3a8cdd6923834443ed7223d1e6ad7776b861184]
Former-commit-id: 591e002043d2bae2382c8a91c437057fd2b809c7
2019-02-18 15:36:51 +01:00
artica b3da2803a4 Changed the format of the .php files
Former-commit-id: 4dc926a81de14e27df8be7982406b09d8e808399
2019-01-30 16:18:44 +01:00
daniel 2c208b5e29 fixed errors php7 mysqli and warning include
Former-commit-id: 68bdf4c26530de45efe2dd8fab360fb88c8976bc
2019-01-22 08:57:48 +01:00
fbsanchez a20d541fb4 removed default charset, set to auto 2018-11-14 12:31:35 +01:00
fbsanchez 7766881da6 Added option charset to db_connect
Removed unused function db_get_table_count
2018-10-04 17:07:34 +02:00
daniel 06c1c4f243 fixed errors in fullscale graph and normal graph 2017-12-05 13:44:42 +01:00
vgilc 68a10343fb Revert "Merge branch…"
This reverts merge request !1025
2017-11-10 12:24:33 +01:00
daniel c780cb5285 fixed errors in fullscale graph and normal graph 2017-11-07 09:46:37 +01:00
daniel 48e68b1264 fixed error in function check mr 2017-10-13 14:08:50 +02:00
fbsanchez 8a2bd0f087 Fixed mysqli availability checker 2017-02-16 10:18:08 +01:00
Arturo Gonzalez 584427de06 Added changes to finish rr feature. Ticket #169 2017-02-14 09:36:11 +01:00
Arturo Gonzalez 5b7f4a5139 Merge branch 'develop' into feature/rolling_release
Conflicts:
	pandora_console/general/header.php
	pandora_console/include/functions.php
	pandora_console/index.php
	pandora_console/pandoradb_data.sql
2017-02-13 14:19:25 +01:00
daniel 8c40b6a1d0 fixed error Function does not exist 2016-12-16 12:26:35 +01:00
Junichi Satoh 6edc5e1439 Fixed warnings. 2016-12-07 17:29:04 +09:00
Junichi Satoh e8a466aaf7 Added support for mysqli with php7.0. 2016-11-24 09:43:28 +09:00
Arturo Gonzalez 8c20874a88 Changed rolling release manager system. 2016-07-19 12:39:03 +02:00
Arturo Gonzalez 0618dbbab3 Rolling release in progress... (Added minor releases) 2016-06-01 14:43:31 +02:00
fermin831 bb4ec54fbc Improved sql cache to permit make cache of several databases TICKETS #3581 2016-05-03 16:16:37 +02:00
mdtrooper a004bf6dc2 Fixed the PHP warnings that burns the file systems. TICKET: #3054
(cherry picked from commit a5f8a9ca24)
2016-01-11 14:02:39 +01:00
Alejandro Gallardo Escobar b8f2daf6fa Improved the functions that return a value 2015-05-18 19:05:22 +02:00
Alejandro Gallardo Escobar c5d80cd104 Added history database support to the function '*_get_value_filter' 2015-05-18 18:05:09 +02:00
Alejandro Gallardo Escobar f0fe255f48 Added functions to process sql scripts to add data to the pandora database 2015-05-11 14:17:08 +02:00
mdtrooper cd0d2c68e5 Fixed the function mysql_db_get_all_rows_in_table for several fields to order as array
(cherry picked from commit 36c5349cf4)
2015-04-20 16:26:05 +02:00
mdtrooper 2a832e5758 Fixed the querys with the string '0'. 2015-03-23 19:18:08 +01:00
Ramon Novoa df651810d4 Added support for password encryption to the Pandora FMS Console. 2015-03-02 17:30:19 +01:00
mdtrooper a3bc8a4e0d Added function 'db_get_fields' and the code for mysql 2014-09-09 15:22:31 +02:00
mdtrooper 56bc6820bc 2014-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php,
	operation/events/events_list.php, operation/incidents/incident.php,
	extensions/files_repo.php,
	extensions/files_repo/sql/files_repo.postgreSQL.sql,
	extensions/files_repo/functions_files_repo.php,
	extensions/files_repo/files_repo_list.php,
	godmode/agentes/modificar_agente.php,
	godmode/snmpconsole/snmp_alert.php, godmode/db/db_info.php,
	include/functions_graph.php, include/functions_db.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/db/mysql.php, include/functions_update_manager.php,
	include/functions_events.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 16:02:06 +00:00
mdtrooper cd56ef2542 2014-04-16 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/d3.v3.4.5.js: added the last javascript
	D3 library.
	
	* include/javascript/pandora_modules.js,
	include/functions_visual_map.php, include/functions_networkmap.php,
	include/functions_os.php, include/db/mysql.php,
	include/functions_netflow.php, include/constants.php,
	include/functions_reporting.php: standarized the color, now the
	code uses the colors constant.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-16 14:42:28 +00:00
mdtrooper 267b28ed0a 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php, godmode/snmpconsole/snmp_alert.php: added
	filter in the alert snmp page and pagination.
	
	* operation/events/events.build_table.php,
	godmode/netflow/nf_edit.php, include/functions_ui.php,
	include/db/mysql.php, include/functions_incidents.php: improved the
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 14:23:27 +00:00
mdtrooper 0875fb0af9 2013-07-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
	include/javascript/jquery.pandora.controls.js: improved the
	functions to pass the php vars to js, now it supports json.
	
	* include/javascript/d3.v3.js: added this library for to make
	beautiful things.
	
	* include/functions_ui.php, include/graphs/fgraph.php,
	include/javascript/pandora_events.js, include/javascript/pandora.js,
	include/functions_treeview.php,
	include/include_graph_dependencies.php,
	include/functions_categories.php, include/db/postgresql.php,
	include/db/oracle.php, include/db/mysql.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-16 14:13:23 +00:00
zarzuelo ca9f82f4fd 2013-04-16 Sergio Martin <sergio.martin@artica.es>
* include/db/mysql.php: Fix a bug with the dbresource in the 
	function that count the result of a query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-16 15:40:52 +00:00
mdtrooper 3411f0d1d9 2013-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php: fixed the querys for the columns with
	empty string in the function
	"mysql_db_format_array_where_clause_sql".
	
	* include/functions_events.php: added lost parameter $similars in
	the function "events_change_owner".
	
	* operation/events/events.build_query.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 14:27:47 +00:00
mdtrooper d36e33d9a5 2013-03-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php, include/db/mysql.php: fixed warnings
	messages from PHP.
	
	Fixes: #3607014




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 17:28:55 +00:00
mdtrooper b3a8f7da1b 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* ajax.php: added the autologin hash for some ajax call of user
	without login (but with hash autologin).
	
	* godmode/reporting/reporting_builder.list_items.php,
	include/db/mysql.php: cleaned source code style.
	
	* include/functions_reporting.php, include/functions_events.php,
	operation/reporting/reporting_xml.php: optimized the get by steps
	the group events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 14:46:16 +00:00