Commit graph

496 commits

Author SHA1 Message Date
Alfredo Cardigliano
3ce84b07cf Add button to export user script conf. New endpoint to set user scripts configuration. 2020-01-15 17:48:00 +01:00
Gabriele Pappalardo
db3562d12e Fix for issue #3239, #3243 (#3245)
* add label for each hooks into scripts table

* fix for issue #3212, refactored scripts-list-utils code

* add render function itemslist

* add items_list template to script_list-utils.js

* label for new template

* fix for issue #3231 and fix reset button for the new ItemsList template

* add message for blacklisted country and add gui for #3226

* fixes for "button" badges and fix for toggle on/off in edit_configset.lua

* removed console.info from last commit

* fix for issue #3243
2020-01-15 15:32:52 +01:00
Alfredo Cardigliano
3783f0c7a5 Fix clone button for the default user script config 2020-01-15 14:41:52 +01:00
emanuele-f
d7528e1628 Score improvements
The score is now calculated differently on the client and on the server of the flow.
The hosts flow is updated every minute and charted.
It's now possible to trigger an alert when the score threshold is exceeded
2020-01-15 12:34:16 +01:00
Alfredo Cardigliano
c74a83abfa Replace button group with badges for consistency 2020-01-15 11:08:36 +01:00
Gabriele Pappalardo
a9a880ee04 graphic user interface for #3226 and add messages to locale (#3236)
* add label for each hooks into scripts table

* fix for issue #3212, refactored scripts-list-utils code

* add render function itemslist

* add items_list template to script_list-utils.js

* label for new template

* fix for issue #3231 and fix reset button for the new ItemsList template

* add message for blacklisted country and add gui for #3226
2020-01-14 15:29:26 +00:00
Gabriele Pappalardo
e957d846e3 add label for each hooks into scripts table (#3215)
* add label for each hooks into scripts table

* fix for issue #3212, refactored scripts-list-utils code

* add render function itemslist

* add items_list template to script_list-utils.js

* label for new template
2020-01-14 14:27:10 +00:00
Alfredo Cardigliano
707025181a Fix extraction dialog template param 2020-01-14 10:21:51 +01:00
emanuele-f
7679da4d21 Implement blacklisted country alert 2020-01-13 18:15:27 +01:00
Alfredo Cardigliano
f4a4c07d80 Add ability to extract traffic to users with permission (direct extraction only) 2020-01-13 17:39:12 +01:00
Alfredo Cardigliano
41c26bb5c9 Run the cron scripts when the service is enabled only 2020-01-13 09:47:39 +01:00
Simone Mainardi
0c0e38c23e Hides viewed interfaces from flow script config 2020-01-09 11:26:13 +01:00
gabryon99
63c63ecc41 add popovers for script desc and escape binding for script modal 2020-01-08 14:13:15 +01:00
gabryon99
ad49daf7d3 add first, last buttons on dt and gui fixes 2020-01-08 11:46:01 +01:00
emanuele-f
03161707ad Fix empty item in preferences saerch bar 2020-01-07 16:45:46 +01:00
Alfredo Cardigliano
bd2c2f3ced Raw Flows dropdown fix 2020-01-07 10:55:07 +01:00
Gabriele Pappalardo
157a11ca61 Fix for issue #3189 (#3190)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration

* localization for text inside scripts, issue #3164

* fix for issue #3189
2020-01-05 10:36:49 +00:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
Gabriele Pappalardo
961a06f36e Add localization for text inside scripts_list and config_list (#3184)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration

* localization for text inside scripts, issue #3164
2020-01-03 09:14:04 +01:00
Gabriele Pappalardo
4dea6ddfa0 Disable buttons on row after a request (#3181)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration
2020-01-02 13:49:12 +00:00
Gabriele Pappalardo
a4280e2f70 hide previous errors in apply modal (#3179) 2020-01-02 11:28:09 +00:00
emanuele-f
1b438d3619 Fix bad source URL in pro flow user scripts 2020-01-02 12:01:27 +01:00
emanuele-f
32996a294e Fix double POST in flows user scripts config 2020-01-02 11:40:16 +01:00
emanuele-f
9f0fca8c12 Hide non-applicable operators in user scripts config
Fixes #3178
2020-01-02 10:58:48 +01:00
gabryon99
2824162cd5 fix for issue #3154 2019-12-30 21:42:46 +01:00
gabryon99
8f8cdcc8eb fix misaligned div inside templates 2019-12-30 17:31:58 +01:00
gabryon99
5107fbb051 fixed issue #3174 and #3173 2019-12-30 17:22:37 +01:00
gabryon99
0c48f7f060 add locale for error messages 2019-12-30 15:00:15 +01:00
gabryon99
c3f96c0519 separated js code from template files 2019-12-30 14:21:49 +01:00
gabryon99
daf231391d fixed issue #3165 and #3166 2019-12-30 12:59:09 +01:00
Gabriele Pappalardo
90c4865789 Config and Scripts templates pages as requested from issue #3159 (#3160)
* config and scripts templates #3159

* fixed bug for config rename, clone operations

* add reload for config and script list

* fixed timeout
2019-12-29 13:42:26 +01:00
gabryon99
4a65627780 add js files for datatable plugin 2019-12-28 16:00:53 +01:00
gabryon99
068e5034bc removed olf js files and minimized code 2019-12-28 14:54:12 +01:00
gabryon99
6615ffef75 removed credits from css and minimized datatable 2019-12-28 13:39:24 +01:00
gabryon99
4442677677 removed other unecessary datatable files 2019-12-28 00:43:52 +01:00
gabryon99
d777276013 add config, script list pages 2019-12-28 00:30:41 +01:00
Luca Deri
7698e73d45 Removed un-necessary files from monaco-editor 2019-12-26 21:03:47 +01:00
Alfredo Cardigliano
405facaf40 Suppressing unnecessary SET/GET logs from redis-cli 2019-12-23 14:25:01 +01:00
Alfredo Cardigliano
e2fb1789b0 Suppressing stderr from redis-cli 2019-12-23 13:55:42 +01:00
Simone Mainardi
29095ac4af Fixes bytes expressed with decimals 2019-12-20 12:25:19 +01:00
Alfredo Cardigliano
a134ddfbc0 WImprove updates failures detection. Warns he user about updates/upgrade failures 2019-12-20 11:49:22 +01:00
Alfredo Cardigliano
523d63565c Fix broken packages during updates check. Report installation failues. 2019-12-20 10:54:03 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Alfredo Cardigliano
b16479603f Automatic updates preference 2019-12-13 13:05:58 +01:00
Alfredo Cardigliano
89a28b1a04 Cleanin up check_for_updates key after check is complete 2019-12-12 11:08:23 +01:00
Alfredo Cardigliano
ff7b139ddd Updates improvements for centos 2019-12-12 09:47:18 +01:00
Alfredo Cardigliano
4000fc8a1d yum parse fix 2019-12-11 18:21:30 +01:00
Alfredo Cardigliano
a35d5426f7 Fix updates on Ubuntu 18 2019-12-11 17:43:21 +01:00
Alfredo Cardigliano
5a1a63b709 Moved updates menu 2019-12-11 17:35:04 +01:00