Commit Graph
6627 Commits
Author SHA1 Message Date
cigamit f13a546cb4 Updates to modern and slight adjustments to dark
Required for div based forms and responsive UI
2017-04-30 13:54:33 -05:00
cigamit c209690e8f CSS Changes for the Dark Theme for div based forms. 2017-04-30 13:17:38 -05:00
cigamit ff125d01cb Update all pages to include div based forms
This requires a CSS change which is going to be committed next and
separately to call out the changes required there.
2017-04-30 13:15:58 -05:00
cigamit d9c99bdf69 Rework the html_start_box() and html_end_box() to optionally be 100% div based
This is a requirement for a responsive UI.
2017-04-30 13:12:07 -05:00
cigamit a0419133c9 Removed unused funciton 2017-04-30 13:08:00 -05:00
Jimmy Conner 184ad4cf6a Merge pull request #638 from paulgevers/update_translations
Thanks for all the efforts Paul.  I have not forgotten the jQuery issue.  It'll get done.
2017-04-30 07:01:20 -05:00
Jimmy Conner b74fd979da Merge pull request #639 from reboot1983/DutchTranslations
Thanks Patrick.  Keep it up!
2017-04-30 07:00:29 -05:00
patrick 5791c65b35 Changelog
- Noted there where 2 rows put at 1.1.5 instead of 1.1.6
2017-04-30 10:45:00 +02:00
patrick a0a13d6921 Updated dutch translations 2017-04-30 10:41:02 +02:00
patrick b7fff7876d Merge remote-tracking branch 'upstream/develop' into DutchTranslations 2017-04-30 10:13:43 +02:00
Paul Gevers 03841c2b11 Update translations with the latest cacti.pot
cd locales/po ; for file in *.po ; do msgmerge -U $file cacti.pot ; done

Leave russian out as that is already "modern" and apparently the translator
wanted it this way.
2017-04-30 09:05:11 +02:00
Paul Gevers 6869fa1d8e Create *.po files for existing translations
cd locales/LC_MESSAGES ; for file in *.mo ; do msgunfmt $file -o ../po/${file%.mo}.po ; done

Add language header to all translations
2017-04-30 08:53:06 +02:00
cigamit 494eb5bf60 More responsive work
1) Make forms responsive.  Work on mobile
2) Add a new header option to not hide specific columns
3) Resize textareas and text during resize to match window size
4) Change the responsive viewport media size for going responve
5) Make classic more responvie
6) Hide tabs fully in responive mode: todo: Generalized Elipsis
2017-04-29 16:06:10 -05:00
cigamit 6742c52b37 Modifying html.php function in preparation for responsive forms 2017-04-29 12:17:02 -05:00
Tony Roman 33d2e4f6f3 Fix up upgrade code
- moved exec called script into function for calling
2017-04-29 09:10:45 -04:00
Tony Roman ce8564d16c Remove unneeded varible from rrdcleaner code 2017-04-29 08:39:04 -04:00
cigamit 235f080dbf Resolving Issue #637
When displaying tree graphs, use the same layout as preview mode
2017-04-28 20:53:44 -05:00
cigamit c7e128d8ee Resolving Issue #636
Erro when saving change to data template
2017-04-28 20:27:26 -05:00
Jimmy Conner 99b63acbc7 Merge pull request #633 from reboot1983/AuthOptimisations
Good work.
2017-04-28 20:16:53 -05:00
Jimmy Conner a64d480ff6 Merge pull request #632 from reboot1983/Optimisations
Should be a few speedups and less turns with this one.  Thanks for getting to know this code.
2017-04-28 20:07:50 -05:00
patrick f98e6541b5 Reverting changes because $user is required. 2017-04-29 00:31:28 +02:00
patrick 1ca2ec43bf Removed unnecessary lines en applied some small optimisation and layout changes 2017-04-28 22:43:02 +02:00
Patrick b154c3e89e Optimisations for tree view
lib/auth.php:
- is_device_allowed()
  - removed unused parameter $user
- get_allowed_tree_level()
  - removed unused parameter $user
- get_allowed_tree_content()
  - removed unused paramters $sql_where, $order_by, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters
- get_allowed_tree_header_graphs()
  - removed unused parameters $order_by, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters
- get_allowed_trees()
  - removed unused parameters $edit, $sql_where, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters

lib/functions.php:
- removed get_graph_tree_array() because it's unused after refactor

lib/html_tree.php
- draw_dhtml_tree_level():
  - removed unused parameter $graphing
  - removed unused global $config
- create_dhtml_tree()
  - removed unused global $config
  - refactored get_graph_tree_array() to alias: get_allowed_trees()

auth_profile.php:
  - refactored get_graph_tree_array(true) to alias: get_allowed_trees(true)
2017-04-28 18:16:46 +02:00
Patrick bda405dc35 Optimisations for lib/utility.php 2017-04-28 17:00:56 +02:00
Patrick 336888ebf2 Optimisations for lib/data_query.php 2017-04-28 16:47:04 +02:00
patrick 3ad253dfdf Merge remote-tracking branch 'upstream/develop' into Optimisations 2017-04-28 15:22:26 +02:00
cigamit ab746b0e38 Add new field for graph templates to form actions
Increase the minimum import level for new templates, insure that new
templates imported with this column are saved properly, include
duplicate graph functionality, change field to a char(2)
2017-04-28 04:45:13 -05:00
cigamit 7c7704cdd1 Make upgrade repeatable 2017-04-28 04:35:36 -05:00
Jimmy Conner 21d22a02ad Merge pull request #626 from reboot1983/develop
Fixed the create "graph type" list by removing graph templates already active at the host
2017-04-28 03:49:34 -05:00
patrick 80833d257f - Added new column multiple to graph_templates
- Changed the query for list for creating a Graph type
- Prepped the 1.1.6 upgrade
2017-04-27 11:16:31 +02:00
patrick 0c35e3efee Dutch translations updates from cacti.pot 2017-04-27 10:06:56 +02:00
patrick 72abd88987 Merge remote-tracking branch 'upstream/develop' into DutchTranslations 2017-04-27 10:03:40 +02:00
patrick ebd45d2065 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-27 10:03:14 +02:00
Jimmy Conner f01a569c85 Merge pull request #627 from reboot1983/Optimisations
Looks real good.  We need to remove all the complexity when it comes to the tree though.  We should simply pass the branch id into the callback and then do the rest.  I wrote this a while ago, before I really understood exactly how jstree worked.  Now it seems overly complicated.  Permission system makes good sense, but the "tbranch_xxx" is just insane.
2017-04-26 19:52:01 -05:00
cigamit eed584a424 Missed update for 1.1.5 2017-04-26 19:31:19 -05:00
cigamit aedfbf4dba Update the update-pot.sh to not include plugins. 2017-04-26 19:04:54 -05:00
patrick ff520ea4f4 Merge remote-tracking branch 'origin/Optimisations' into Optimisations 2017-04-26 23:24:55 +02:00
Patrick 048436387b Small optimisations for threeview
html_tree.php
- get_formatted_data_query_indexes() only needs to be called if $data_query['id'] > 0
2017-04-26 21:37:43 +02:00
Patrick 48f41a5e6c Small optimisations for threeview
auth.php:
- defined tablenames for fields
2017-04-26 21:23:01 +02:00
Patrick e27a1b65da Small optimisations for threeview
- fixed several alignment issues

api_tree.php
- api_tree_rename_node() Removed 3 unused methodcalls
- api_tree_item_save() removed unused query
- api_tree_get_branch_ordering() defined fields in query

auth.php:
- defined tablenames for fields

html_tree.php
- draw_dhtml_tree_level_graphing()
  - removed unused parameter
  - moved get_allowed_graphs() call out of the foreach()

graph_view.php
- simplified the $matched queries
- typo in "update_timepsan" => "update_timespan"
2017-04-26 21:19:26 +02:00
Patrick e9aba07f3e -issue: List for creating a Graph type shows already added Graph Templates 2017-04-26 19:53:19 +02:00
patrick e006189e07 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-26 19:22:12 +02:00
cigamit e1f010f241 Resolving Issue #622
Can not connec to MySQL over a socket
2017-04-26 06:03:07 -05:00
cigamit a2a2c92273 Resolving Issue #620
The table poller_data_template_field_mappings can get out of syn when
manipulating data templates.
2017-04-26 05:54:14 -05:00
Tony Roman 221ce0e0a4 Preping for 1.1.5 release 2017-04-25 20:24:22 -04:00
patrick 05741794dc -issue: List for creating a Graph type shows already added Graph Templates 2017-04-25 21:29:01 +02:00
patrick 60c756739c Updated Dutch translations 2017-04-25 18:20:13 +02:00
patrick 4a34b4758c Updated Dutch translations 2017-04-25 17:58:19 +02:00
patrick c4cd1a7585 Updated Dutch translations 2017-04-25 16:57:56 +02:00
patrick 96e7a546d7 Merge remote-tracking branch 'upstream/develop' into DutchTranslations 2017-04-25 15:21:21 +02:00