Commit Graph
61 Commits
Author SHA1 Message Date
netniV 9c215117d9 New hook to notify plugins of user profile changes ('auth_profile_update_data')
Closes #2654
2019-04-29 09:35:11 +00:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
cigamit 44ab0db934 Make editing your profile less annoying 2019-01-19 13:22:37 -06:00
cigamit 5e78ab08fb - Issue: Unable to disable checkboxes on auth_profile.php 2019-01-18 18:04:49 -06:00
cigamit d1b50639ef -issue: You can not return from editing profile 2019-01-12 12:28:52 -06:00
cigamit 9f12530654 Auth profile Return button does not always function well 2018-11-18 17:33:14 -06:00
netniV 6431de2710 Resolving issue #2162 2018-11-13 10:14:56 +00:00
cigamit c67cf23235 Re issue #2158 don't show tabs when there is only one 2018-11-09 18:28:53 -06:00
netniV 54fb5a7e2f Resolving issue #2158 2018-11-09 09:07:24 +00:00
YongBoLiu 6b1cc1d0b5 To compatible with old plugins, better to support char '_' for tab names. (#2157)
As no check for tab name in old cacti, to compatible with old plugins, better to support '_' for tab names.
2018-11-09 09:03:53 +00:00
cigamit 605ecf7ef0 Missed some additional hooks and cases 2018-11-08 21:52:10 -06:00
cigamit 4eb961911e Fix Edit Profile Referer 2018-11-08 21:13:11 -06:00
cigamit 09a945d8b0 Resolving issues with plugins unable to create setting tabs 2018-11-08 20:34:14 -06:00
cigamit 9657852c50 Resolving Issue #2053
[1.2.0 Beta 1] After editing and changing your profile attempts to go
off page present warning
2018-10-11 17:17:00 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 15b90d52d8 Revert "Fixes issue 1717 and others (#1775)"
This reverts commit ca23733949.
2018-08-16 20:19:19 -05:00
Mark Brugnoli-Vinten ca23733949 Fixes issue 1717 and others (#1775)
* First round of changes for #1717

* Various QA fixes

* Further round of QA

* Add Content-Type to headers

* Another round of QA

* Allow full screen changepassword

* Redirect to permission denied page instead of displaying local message
2018-08-16 18:42:49 -05:00
cigamit de9fc0b72a Make all user settings dynamic and allow resetting to default.
This is a partial revert of feature #1400.  It removes the 'Save' button
and makes all settings default.  It will not allow setting anything that
is not defined in the user setting array as well.
2018-05-06 12:56:16 -05:00
Mark Brugnoli-Vinten c70642b93f feature #1400: User settings should have checkbox to enable overriding of default settings (#1577)
* feature #1400: User settings should have checkbox to enable overriding of global settings

* Fix for enable/disable styles

* QA fix for settings not being cleared

* QA fix to prevent double saving
2018-04-29 10:08:46 -05:00
cigamit 2c51a49fe4 Resolving Issue #1507
Allow a user to revert to default settings
2018-04-03 19:10:19 -05:00
cigamit 3ba47881c5 Additional Sanitization for Issue #1457 2018-03-17 08:29:13 -05:00
cigamit 1c2d4c8fbd Allow multiple errors on auth_profile page
Plus some mile format changes to SQL statements.
2018-02-19 17:40:02 -06:00
cigamit 7343c8e4c1 Resolve Issue #1366
Improve error/info message display
2018-02-18 14:20:50 -06:00
cigamit 12b47c102c -issue: Undefined index 'profile_referer' in auth_profile.php 2018-02-17 14:54:49 -06:00
cigamit 6a1641a328 issue: Due to new theme session variable, changing your theme does not take effect until next login 2018-01-19 15:20:14 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
cigamit d90b9455cb Adding additional checks for issue #867 2017-07-27 18:32:22 -05:00
cigamit 104090aeea Resolving Issue #867
Cross-site scripting (XSS) vulnerability in auth_profile.php
2017-07-20 19:02:07 -05:00
cigamit 0673e3c725 Resolving Issue #861
- The search filter does not support Cyrillic
- Also adding more __esc() to title and value attributes
- Also adding more missing i18n via audit
2017-07-19 20:16:27 -05:00
DavidLiedke c961425b67 Switch StorageAPI.js 2017-06-05 15:05:58 +02:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit d702c74242 issue: When changing your language, Cacti would not do a full page refresh
This would result in both the menu and top tabs being in the wrong
language.
2017-05-07 14:33:58 -05:00
cigamit d678a25f80 Add clog padding, and change auth_profile class for consistency 2017-05-06 05:48:55 -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
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 cc1cc7eab2 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed reset() calls used for each() loops
2017-04-15 18:00:13 +02:00
cigamit 8f6fa03d8d Resolving Issue #533
User settings not cleared after saving profile
2017-04-07 17:26:28 -05:00
cigamit aa97a7820e Resolving Issues #211 2017-01-16 07:45:48 -06:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 4d4e92a2d1 minor syntax issues 2016-07-04 16:51:47 -05:00
Browniebraun 42bba0dd0b i18n updates 2016-04-26 22:00:52 +02:00
Browniebraun a76991ce11 take care of user defined language (see: user profile) 2016-04-04 22:08:01 +02:00
cigamit 2153b6402b make the timespan selector mandatory 2016-03-19 14:07:44 -05:00
cigamit 9f79d702f3 rename settings_graphs to settings_user, rename settings_graphs_group to settings_user_group
If you are running in development, you have to issue these two commands
rename table settings_graphs to settings_user;
rename table settings_graphs_group to settings_user_group
2016-02-14 14:26:48 -06:00
cigamit f2edfcbe53 update theme to a user setting 2016-02-14 10:48:34 -06:00
cigamit 26053b7527 replace deprecated get_request_var_post() with get_nfilter_request_var()
replace the deprecated calls and also start developer mode injection
checking
2016-02-11 16:46:14 -06:00
cigamit 2387bd4a08 removing many $_GET, $_REQUEST, and $_POST variable usage
There are still three steps to go in this overall.  The first is to
replace all the page filtering session storing and validation functions
and the second is to propagate those changes into various areas of the
lib directory that include the use of the various variables, lastly,
developer mode will have to be enable to see if there are any variables
used in the code that have not been sanitized.  Note, at this point the
develop branch should be thought of as slightly unstable
2016-02-07 12:51:49 -06:00