Arno Streuli
cedc671eaa
Feature/1.2.x ( #979 )
...
* Update cacti.sql
Added 2 entry for cn_full_name and cn_email
* Update cacti.sql
Change the size to 50
* Create 1_2_0.php
Added the change on table user_domains_ldap, to provide info for full_name and email
* Update global_settings.php
Added the 2 new entry as new section for LDAP settings:
ldap_cn_fullname
ldap_cn_email
* Update auth.php
Added the email address on user_copy function
* Update ldap.php
Added the ldap_search_cn to search 2 specific CN on LDAP server
* Update auth_login.php
Added the Get user CN part for new LDAP users
* Update ldap.php
little error on ldap_search inside Getcn function
* Update user_domains.php
Add option to manage Full name and email taken from LDAP server
* Update auth_login.php
Change for multidomain authentication
* Update global_settings.php
change the name ldap_cn_xxx to just cn_xxx
* Update ldap.php
Correction to the error number and message when the CN is not find
* Update settings.php
Added the visibility of CN fields only for LDAP authentication mode
* Update ldap.php
correct on line 729 missing $ before this->cn
* Update cacti.sql
column definitions consistent with the definitions under install/upgrades/1_2_0.php
* Update auth_login.php
correct tab, as space, and add {} in if else statment
* Update ldap.php
correction on cacti_log with $output['error_text'], correction on all error_num 99 as '99'
and made some correction int tab/space
* Update auth_login.php
add missing {} on else function
2017-09-16 15:51:56 -05:00
cigamit
2c4b143c97
Resolving Issue #122
...
- Support Site Branch Type
- Note that though the branches currently render, their form and what is
rendered is still not finalized.
2017-09-01 14:19:11 -05:00
cigamit
7c46ee8de9
Resolving Issue #931
...
Aggregate graphs missing from list view
2017-08-27 08:48:21 -05:00
cigamit
e08de31b34
Resolving Issue #904
...
Allow user to hide Graphs from disabled devices
2017-08-16 20:35:44 -05:00
cigamit
63fd0feb24
Resolving Iissue #880
...
Device drop down is limited to 20 devices and lacks a scroll bar
2017-07-29 13:30:11 -05:00
Tony Roman
e7174c4046
Fix issue#788
...
- Fixed up invalid function call
- Added default operator to cacti_version_compare function
2017-06-04 23:24:43 -04:00
Tony Roman
ca8c8cd123
Move cacti_version_compare into main functions lib to be used
...
in non-install code
2017-06-04 21:33:15 -04:00
cigamit
15ea20b7c7
Make default items dropdowns for autocomplete 20 instead of 30
2017-05-27 07:33:10 -05:00
cigamit
fbaf6bfa51
Add api to return authorized data sources
...
This is used for graph creation ajax callbacks
2017-05-21 11:49:18 -05:00
Patrick
9e3ab3bb67
Small Auth optimisations
...
- Alignment
2017-05-13 10:07:42 +02:00
Patrick
bf20822a41
Small Auth optimisations
2017-05-12 21:50:20 +02:00
Patrick
2826a9b547
Small Auth optimisations
...
- better alignments and fixed some alignments
- removed some unused variables
2017-05-12 21:42:59 +02:00
Patrick
12905971a7
Small Auth optimisations
...
- better alignments and fixed some alignments
- applied some early returns
- some small optimisations by moving some function calls around
2017-05-12 21:30:49 +02:00
Tony Roman
8a179d7d7f
Fix up to move if elseif else blocks to PSR
2017-05-07 19:57:36 -04:00
cigamit
753efac0f6
Correcting small SQL error in lib/auth.php
2017-05-04 19:02:45 -05:00
cigamit
a31cc9d8b5
Fix SQL errors in gexport due to auth API errors
2017-05-01 07:14:47 -05:00
patrick
f98e6541b5
Reverting changes because $user is required.
2017-04-29 00:31:28 +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
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
cigamit
8f6fa03d8d
Resolving Issue #533
...
User settings not cleared after saving profile
2017-04-07 17:26:28 -05:00
Patrick
9d1e8a4c6c
Merge remote-tracking branch 'origin/develop' into develop
2017-04-04 10:53:48 +02:00
patrick
d3012868fe
More optimisations:
...
auth.php:
- get_auth_realms() small refactor
- is_graph_allowed() unused variable $graph and unnecessary if-statement
- auth_check_perms() one count of $objects instead of multiple
- is_device_allowed()unused variable $host and unnecessary if-statement
- is_graph_template_allowed()unused variable $template and unnecessary if-statement
- is_view_allowed() unnecessary if-statement
html_tree.php:
- 2x query refactor for use of index reference instead use of function
- deleted unused select statement
html_utility.php:
- isset_request_var() unnecessary if-statement
2017-04-03 20:57:36 +02:00
cigamit
f442f4fea2
More precision in the SQL query
2017-04-01 15:46:15 -05:00
cigamit
a930a879d5
Minor changes to correct for duplicate display lines.
2017-04-01 15:17:13 -05:00
cigamit
be6f5b9543
Remediating SQL errors in Issue #389
2017-04-01 14:03:17 -05:00
Patrick
f611eb2449
Refactor of recursive is_tree_branch_empty()
...
Applied early return routine
2017-03-24 11:47:55 +01:00
cigamit
01da9b11d6
Resolving Issue #436
...
Restricted user does not see graphs in tree view. Also caught some
issues in the Tree Permissions section of both user and User Group's,
and additional Tree permissions when reproducing the users environment.
2017-03-19 13:18:48 -05:00
cigamit
8df49e1172
Resolving Issue #418 and #421
2017-03-14 19:12:40 -05:00
cigamit
2478b34219
Issue: Multiple domains not working as expected
2017-03-12 20:19:13 -05:00
cigamit
1730976b22
No need to check for existance of table
2017-02-05 13:27:32 -06:00
cigamit
72aeb5015d
reduce query load on MySQL
2017-02-01 20:59:25 -06:00
cigamit
c041171c6a
Resolving Ieeue #247
2017-02-01 19:35:30 -06:00
cigamit
1de9c78eba
Resolving Issue #241
2017-02-01 12:52:30 -06:00
cigamit
5eaab96735
Resolved Issue #235
...
Also resolving some missing i18n migrations and prepared statement
formatting.
2017-01-28 15:32:15 -06:00
cigamit
3658dcdf30
Wrong IP address in the user cache.
2017-01-16 13:57:33 -06:00
cigamit
bd70e4c685
Reduce database calls.
2017-01-16 11:06:22 -06:00
cigamit
8cba1c17f5
Missing i18n of lib/auth.php
2017-01-12 21:29:28 -06:00
cigamit
fcf18c5fda
Resolving issue related to commit below
...
https://github.com/Cacti/cacti/commit/8441464d31893592b1f406298d0b70247c9a353c
2017-01-12 20:07:06 -06:00
cigamit
a5b7ee348c
Use correct operator for merging
2017-01-11 23:22:53 -06:00
cigamit
8441464d31
Error on user_admin page when local users are present
...
We now should be merging the regular realms with the user domain realms
2017-01-11 23:18:54 -06:00
cigamit
01b29eb754
Issue with multiple graph templates being repeated
2017-01-11 23:07:24 -06:00
cigamit
9a23e71914
Fix SQL errors when upgrading with live session
2017-01-11 20:24:37 -06:00
cigamit
071f6e3caa
Syntax error
2017-01-11 19:17:36 -06:00
cigamit
7e12772899
Correct SQL erros from strait upgrade to Cacti 1.0
2017-01-11 19:14:57 -06:00
cigamit
4ad3fc0884
Fix SQL error when viewing graph list
2017-01-11 01:12:34 -06:00
cigamit
3583fe14cf
Resolving Issue #145
...
Here we were able to remove quite a bit of code since the
snmp_query_graph_id is included in the graph_local structure now.
2017-01-08 12:05:04 -06:00
Tony Roman
35a5988f41
Update source code files copyright to new year
2017-01-01 13:45:29 -05:00
cigamit
f4147f11dc
is_graph_template_allowed missing effective user.
2016-12-25 17:58:59 -06:00
cigamit
697edf4fb5
Correct SQL issues when using no authentication
2016-12-21 21:11:02 -06:00