Commit graph

59 commits

Author SHA1 Message Date
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
Simone Mainardi
19833430b8 Cleanup of password_dialog.lua to remove unnecessary host_pools_utils include 2020-07-16 16:33:22 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
gabryon99
a5f6ae3b8d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-02-13 17:44:21 +01:00
emanuele-f
962421be56 Add support for Japanese languange in nEdge 2020-02-13 16:10:18 +01:00
gabryon99
bec4c8184d add switches instead checkboxes 2020-02-12 22:38:27 +01:00
Simone Mainardi
5d21d85338 Fixes admin user language setting
Fixes #3319
2020-01-24 16:50:26 +01:00
Simone Mainardi
4779f80fa8 Enforces admin user to always have admin privileges 2020-01-17 17:35:18 +01:00
Alfredo Cardigliano
9178ee7817 Fix user settings toggle 2020-01-16 17:58:26 +01:00
Alfredo Cardigliano
da6b521d53 Computing restricted filter for users allowed to capture live traffic based allowed subnets 2020-01-13 13:02:57 +01:00
Alfredo Cardigliano
a86aaa61e6 Add configuration of user permission for downloading pcap (hidden for the time being) 2020-01-10 18:16:01 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
emanuele-f
a08393afcb Fix dialog titles right aligned 2019-12-05 10:31:07 +01:00
Simone Mainardi
6f9aefd1f9 Bootstrap migration edit user dialog 2019-12-05 09:27:48 +01:00
Simone Mainardi
6d2478f4cd Bootstrap migration change user password 2019-12-05 09:27:48 +01:00
Simone Mainardi
db272831e9 Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
Simone Mainardi
2c50c66532 Fixes locales ordering 2019-03-18 16:37:55 +01:00
emanuele-f
e4c6e6e807 Fix js errors 2018-12-31 12:12:19 +01:00
emanuele-f
75f4ee0fe0 Fix SNMP errors in network discovery with nEdge
Also hide language selector since nEdge is not localized yet
2018-12-20 15:41:31 +01:00
emanuele-f
e08798c2d4 Fix user password change after f65c618b3f 2018-12-17 19:57:04 +01:00
emanuele-f
f65c618b3f Move user group information into the session
This fixes issues and inconsistencies when the same user logins from different authenticators at the same time
Fixes #2212
2018-12-11 18:44:34 +01:00
Simone Mainardi
52de8430d0 Code cleanup of captive portal users now in nEdge 2018-10-19 15:50:58 +02:00
Simone Mainardi
74a3ec1677 Fixes encoding for local/LDAP UTF-8 passwords 2018-07-25 23:20:59 +02:00
emanuele-f
37af49152b Fix captive portal add user issues
Fixes #1799
2018-05-29 09:54:35 +02:00
Simone Mainardi
730b881b1a Fixes issues with long interface names
Fixes #1717
2018-04-04 16:01:30 +02:00
emanuele-f
392bd7040a Extends ntopng localization 2018-02-09 19:34:02 +01:00
emanuele-f
ff41ea73ee Add language selection in change_password form 2017-11-17 19:06:20 +01:00
emanuele-f
f73871cd25 Expose HostPools information 2017-10-16 11:55:34 +02:00
Simone Mainardi
7ed1e49888 Implements language selection 2017-07-19 11:58:46 +02:00
Luca Deri
2f6800b7aa Added fix for displaying symbolic interface maes (and aliases) in user preferences 2017-06-06 19:36:53 +02:00
emanuele-f
7980f76756 Add button to reset allowed networks to default 2017-06-06 18:42:45 +02:00
Simone Mainardi
6f7c2b9616 Reworks default password change 2017-05-02 15:12:52 +02:00
emanuele-f
a10d6c4f7d Fix login issue with special characters.
The special characters were URL encoded during HTTP request and saved in URL encoded form.
The login used the unencoded password instead, and this resulted in a password hash mismatch which prevented user login.

Now the password hash is calculated on the unencoded password.
2017-04-14 18:20:36 +02:00
Jakub Wilk
d2e25d8b53 Fix typo 2017-04-13 11:33:41 +02:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
Simone Mainardi
bf8286878f Implements CP volatile host lifetime changes 2017-01-31 18:31:08 +01:00
emanuele-f
6837f42ce2 Add lifetime change in manage user 2017-01-31 18:00:41 +01:00
Simone Mainardi
53724ce33a Adds host pool column to CP users table 2017-01-30 23:02:31 +01:00
Simone Mainardi
f304f9229f Implements captive portal users auto expiration 2017-01-20 20:20:09 +01:00
Simone Mainardi
b9c063ac8a Reworks edit users page layout 2017-01-20 13:45:42 +01:00
emanuele-f
0db8abd83e Host Pools UI changes
- Do now show the "Not Assigned" group in user pool dropdown
- Show an alert message when creating a Captive Portal user and no pools are defined
- Improve unique member validator to account missing network prefixes
- Prevent deleting an Host Group when a captive portal user is defined on it
2017-01-20 13:28:24 +01:00
Luca Deri
c6e21b7f6e Improvements on AddressTree
Initial support of captive portal on HTTP server
2017-01-19 19:14:20 +01:00
Simone Mainardi
f6b4c1f775 Adds is_captive_portal flag to prefs 2017-01-19 15:57:37 +01:00
Simone Mainardi
4e2c7b8e8b Implements captive portal users 2017-01-17 19:57:48 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Simone Mainardi
55d8658046 Fixes a regexp pattern error on the newest Chrome
Fixes #700
2016-08-25 11:01:43 +02:00
Simone Mainardi
fe28c46079 Makes the edit user preferences tabbable 2016-07-27 11:38:36 +02:00
Simone Mainardi
9834f1bfdb Rearranges user add/edit panes 2016-07-25 11:49:37 +02:00
Simone Mainardi
62e8ee0be7 Handles allowed interfaces with ids to prevent issues with special chars 2016-07-14 16:41:42 +02:00