Commit Graph

309 Commits

Author SHA1 Message Date
Alexander Moisseev
85719f70c7 [WebUI] Fix graph dataset selector initialization 2017-02-21 11:51:48 +03:00
Alexander Moisseev
eaf1a97728 [WebUI] Fix mouse events on throughput summary table area 2017-02-18 13:47:22 +03:00
Alexander Moisseev
71d95e627a [WebUI] Fix compatibility with non-ES6 compliant browsers 2017-02-14 17:54:31 +03:00
Alexander Moisseev
4b7282fef3 [WebUI] Fix All SERVERS graph fot just one available server 2017-02-13 13:33:45 +03:00
Alexander Moisseev
d0a206eb6e [WebUI] Add neighbours RRD data consolidation 2017-02-12 14:33:27 +03:00
Alexander Moisseev
0c1deefc15 [WebUI] Add basic cluster support to Throughput tab 2017-02-10 12:39:33 +03:00
Alexander Moisseev
4cc0b0de9a [WebUI] Simplify neighbours table populating 2017-02-05 21:30:52 +03:00
Alexander Moisseev
b285d8ff2e [WebUI] Add server selector to navbar 2017-02-05 17:34:31 +03:00
Vsevolod Stakhov
8bbf2795c8 [WebUI] Fix configuration page partially 2017-02-02 11:19:09 +00:00
Vsevolod Stakhov
93452ca72c [WebUI] Unify send data functions 2017-02-02 11:19:08 +00:00
Vsevolod Stakhov
f0615c9cb4 [WebUI] Finish interface rework 2017-02-01 12:45:08 +00:00
Vsevolod Stakhov
712d1dc173 [WebUI] Move history tab 2017-01-31 17:45:00 +00:00
Vsevolod Stakhov
c296719bb2 [WebUI] Move symbols config as well 2017-01-31 17:35:44 +00:00
Vsevolod Stakhov
3ea3361a8c [WebUI] Fix symbols config 2017-01-31 17:33:33 +00:00
Vsevolod Stakhov
5f64ec44e6 [WebUI] Move configuration tab to a separate module 2017-01-31 17:16:49 +00:00
Vsevolod Stakhov
b250998290 [WebUI] Fix retarded datatables 2017-01-31 16:57:53 +00:00
Vsevolod Stakhov
44a97d4993 [WebUI] Update datatables to work with the requirejs 2017-01-31 16:16:26 +00:00
Vsevolod Stakhov
977c7309f8 [WebUI] Add graph tab 2017-01-31 15:48:57 +00:00
Vsevolod Stakhov
c7bfdbfcd1 [WebUI] Further fixes 2017-01-31 15:28:02 +00:00
Vsevolod Stakhov
5a07373d9a [WebUI] Start rework of modules 2017-01-31 15:01:16 +00:00
Vsevolod Stakhov
2b0320fc8f [WebUI] Rework interface to use requirejs 2017-01-31 12:52:16 +00:00
Vsevolod Stakhov
9434037858 [WebUI] Add preliminary save symbols clustering 2017-01-30 23:37:38 +00:00
Vsevolod Stakhov
e0a3eadad4 [WebUI] Allow to save maps on the cluster 2017-01-30 18:07:07 +00:00
Vsevolod Stakhov
9c16e0be9a [WebUI] Fix multiple JS issues 2017-01-30 17:20:26 +00:00
Vsevolod Stakhov
39be19d658 [WebUI] Fix various errors with login form 2017-01-30 14:16:43 +00:00
dehnli
86d3524175 [WebUI] Make legend entry colours more contrast
Minor changes to make `Probable Spam` and `Temporary rejected` legend entries and chart sectors more visible on `Throughput` summary. It affects `Status` tab chart as well.
2017-01-27 12:35:45 +04:00
Andrew Lewis
db95b158d9 [WebUI] Be more generous with AJAX timeout 2017-01-26 16:18:01 +02:00
Alexander Moisseev
15e184ecf6 [WebUI] Separate attributes by space 2017-01-21 18:39:41 +03:00
Alexander Moisseev
7b792b14b1 [WebUI] Enclose table header cells with trs 2017-01-21 18:35:12 +03:00
Alexander Moisseev
22d8a48029 [WebUI] Reset refresh timer on server switching 2017-01-18 09:37:52 +03:00
Vsevolod Stakhov
c29a129205 [WebUI] Avoid extra graph redraw and alerts glitching 2017-01-14 12:26:40 +00:00
Vsevolod Stakhov
716102f68f [WebUI] Fix soft reject in pie chart 2017-01-14 12:11:37 +00:00
Vsevolod Stakhov
bd17c787ed [WebUI] Fix pie chart displaying 2017-01-13 14:47:58 +00:00
Vsevolod Stakhov
ff0e2b7fb8 [WebUI] Fix case when no cluster is defined
Issue: #1334
Reported by: @dehnli
2017-01-13 14:22:38 +00:00
Vsevolod Stakhov
53ab3de17a [Minor] Treat special HTTP methods specially 2017-01-11 13:40:33 +00:00
Vsevolod Stakhov
aaa6f90b5d [WebUI] Fix disabled state 2017-01-10 17:40:49 +00:00
Vsevolod Stakhov
4441b20c27 [WebUI] Rework neighbours query function 2017-01-10 17:33:11 +00:00
Vsevolod Stakhov
f6028db876 Merge pull request #1333 from AnnaStakhova/master
[WebUI] clusters for the chart
2017-01-10 16:35:59 +00:00
Anna Stakhova
4879197f24 [WebUI] clusters for the chart 2017-01-10 16:35:11 +00:00
Alexander Moisseev
4e78cf1066 [WebUI] Reduce font size of graph's legend
Fixes labels overlapping on page zoom out.
2017-01-09 19:33:01 +03:00
Alexander Moisseev
4755206cf2 [WebUI] Fix graph selectors state resetting
on reconnect / reload

Reported by: @denhli
2017-01-09 19:10:38 +03:00
Anna Stakhova
3708605e53 [WebUI] Fix config ID 2017-01-09 11:00:15 +00:00
Vsevolod Stakhov
95f9bd8b32 Merge pull request #1318 from moisseev/rrd-summary
[WebUI] Add summary to the Throughput tab
2017-01-08 12:06:10 +00:00
Anna Stakhova
82342ac14e [WebUI] Initial clusters support 2017-01-07 23:57:08 +00:00
Alexander Moisseev
7ea6a8c878 [WebUI] RRD summary: Hide inner labels of tiny pie sectors 2017-01-07 21:37:13 +03:00
Alexander Moisseev
5fd14880eb [WebUI] RRD summary: Respect undefined values 2017-01-07 21:07:55 +03:00
Alexander Moisseev
fb8e798811 [WebUI] Fix RRD summary pie chart position 2017-01-07 19:37:07 +03:00
Alexander Moisseev
46271b9403 [WebUI] Add summary to the Throughput tab 2017-01-07 12:23:53 +03:00
Alexander Moisseev
0d3607291d [WebUI] Add graph legend entries for new DSes
Resolves #1300
2017-01-04 16:02:01 +03:00
Alexander Moisseev
09a4655023 [WebUI] Turn d3pie's stuff into a reusable function,
do not destroy pie on data update
2017-01-03 18:52:46 +03:00
Alexander Moisseev
0d65bb8602 [WebUI] Add Throughput graph autorefreshing (#820) 2017-01-01 18:13:22 +03:00
Alexander Moisseev
d05704b864 [WebUI] Remove orphaned font duplicates 2017-01-01 12:14:21 +03:00
Alexander Moisseev
bcbc086688 [WebUI] Use unified tab click event handler,
stop refreshing widgets on hidden tabs,
make `refresh` button functional for some more tabs
2016-12-31 21:14:36 +03:00
Alexander Moisseev
2b0a2b8286 [WebUI] Stop stats refreshing if the page is hidden 2016-12-30 18:35:13 +03:00
Alexander Moisseev
6376057981 [WebUI] Add Visibility.js library 2016-12-30 16:14:00 +03:00
Alexander Moisseev
db0c081520 [WebUI] Update D3Evolution to 0.0.1 2016-12-29 12:12:32 +03:00
Vsevolod Stakhov
9a7415db59 [WebUI] Update d3.js 2016-12-28 18:13:25 +00:00
Vsevolod Stakhov
5a40ebad08 [Minor] Add copyright comments for js libs 2016-12-28 17:34:44 +00:00
Alexander Moisseev
c5d4c5395d [WebUI] Replace spinner with animated glyphicon 2016-12-24 15:35:25 +03:00
Alexander Moisseev
c326da2c45 [WebUI] Prevent multiple clicks on Refresh 2016-12-23 13:07:17 +03:00
Alexander Moisseev
1b4ebd17ed [WebUI] Fix stat widgets timers multiplication on Refresh click 2016-12-23 13:01:17 +03:00
Vsevolod Stakhov
c5c33ded60 Merge pull request #1258 from moisseev/patch-1
[WebUI] Hide learning tab in read-only mode
2016-12-13 17:49:12 +00:00
Alexander Moisseev
32207f6947 [WebUI] Remove unused code
I believe this code in not necessary. It doesn't work anyway: `e` != `event`
2016-12-13 19:09:43 +03:00
Alexander Moisseev
bce2acd2c5 [WebUI] Hide learning tab in read-only mode 2016-12-13 18:40:47 +03:00
Vsevolod Stakhov
634a8b69dd Merge pull request #1257 from moisseev/patch-1
[WebUI] Disable error ring loading in `read only` mode
2016-12-13 14:36:23 +00:00
Alexander Moisseev
79b0b2d114 [WebUI] Disable error ring loading in read only mode 2016-12-13 17:33:59 +03:00
Anna Stakhova
f25d9b27f8 [WebUI] Fix read only2 2016-12-13 13:59:03 +00:00
Anna Stakhova
6f9a377aac [WebUI] Fix read only 2016-12-12 23:07:22 +00:00
Anna Stakhova
e72365b0f4 [WebUI] fix uptime
Add ajax to timer
2016-12-11 12:26:49 +00:00
Anna Stakhova
c36509bb0e [WebUI] New sec to time function 2016-12-09 10:03:50 +00:00
Andrew Lewis
e3ef060c1b [WebUI] Set focus to password field (#1230)
Reported-by: @madorin
2016-12-06 12:52:28 +02:00
Alexander Moisseev
1a9f55ce12 [WebUI] Load graph data on reconnect if the tab is active 2016-11-30 18:56:48 +03:00
Vsevolod Stakhov
c76e16b227 Merge pull request #1209 from AnnaStakhova/master
Make status responsive
2016-11-30 13:58:43 +00:00
Anna Stakhova
7abace5041 [WebUI] Improve uptime responsive 2016-11-30 13:52:00 +00:00
Alexander Moisseev
96b1c202f1 [WebUI] Fix graph percentage mode resetting
on reconnect / reload

Fixes: #1193
2016-11-30 16:35:18 +03:00
Anna Stakhova
a9ce4a751f [WebUI] diagram centered
The diagram is centered for smal screen
2016-11-29 17:23:45 +00:00
Vsevolod Stakhov
78b0d7d6d4 Merge pull request #1199 from neutechfi/master
[WebUI] fix savesymbols absolute url to relative
2016-11-29 15:29:41 +00:00
Vsevolod Stakhov
566867a2b7 Merge pull request #1198 from AnnaStakhova/master
Make Status responsive
2016-11-29 09:14:58 +00:00
Toni Mattila
487a6c8311 [WebUI] fix savesymbols absolute url to relative 2016-11-29 08:50:37 +02:00
Anna Stakhova
1bff80c25e [WebUI] Make status responsive plus 2016-11-28 22:07:51 +00:00
Anna Stakhova
41b272be22 [WebUI] Make Status responsive 2016-11-28 22:01:52 +00:00
Alexander Moisseev
06d93b943d [WebUI] Update password prompt
Resolves: #1191
Submitted by: @andryyy
2016-11-28 09:56:11 +03:00
Anna Stakhova
5ac8aecac7 Fix stat-box width 2016-11-26 19:28:56 +00:00
Anna Stakhova
a3f1ef5835 Fix scan clear btn
Fix scan clear btn
Add upload btn (for future using)
Improve navbar right buttons
2016-11-26 18:43:02 +00:00
Anna Stakhova
a96a08e35a Fix maps display 2016-11-25 22:49:11 +00:00
Vsevolod Stakhov
811808c28d [WebUI] Slightly fix margin 2016-11-15 09:55:11 +00:00
Vsevolod Stakhov
889688015f [WebUI] Add Rspamd logo 2016-11-15 09:54:23 +00:00
Vsevolod Stakhov
d69f2e3e9d [WebUI] Add support for errors ring in WebUI 2016-11-14 16:53:33 +00:00
Vsevolod Stakhov
c721be3313 [WebUI] Distinguish read-only interface, multiple bugs fixed 2016-11-14 12:51:19 +00:00
Alexander Moisseev
c105a644f6 [WebUI] Update d3evolution
Update to moisseev/D3Evolution@d5d42052df
- Invert on-mouseover fading-out of paths
- Enable mouse events for paths as well
2016-11-12 13:39:41 +03:00
Alexander Moisseev
ad6a53b8dc [WebUI] Add missing fonts 2016-11-03 10:23:50 +03:00
Vsevolod Stakhov
02a2e48fb6 [WebUI] Improve visual representation of symbols table 2016-11-02 17:09:50 +00:00
Vsevolod Stakhov
a9546b87be [WebUI] Add missing elements 2016-11-02 16:59:16 +00:00
Vsevolod Stakhov
b0ddd926a6 [WebUI] Use local versions of css and js 2016-11-02 16:56:53 +00:00
Vsevolod Stakhov
ad5b597761 [WebUI] Use safer fonts 2016-11-01 15:42:01 +00:00
Vsevolod Stakhov
7c95fa79e6 [WebUI] More fixes to symbols config 2016-11-01 11:59:13 +00:00
Vsevolod Stakhov
3eb97904d4 [WebUI] Further rework of symbols scores 2016-11-01 11:25:12 +00:00
Vsevolod Stakhov
d6edc7ab34 [WebUI] Rework symbols scores 2016-11-01 09:14:44 +00:00
Alexander Moisseev
9ac6dae1e7 [WebUI] Update d3evolution
Update to moisseev/D3Evolution@6538632cfc
    - Change `null` area transition effect to fade-out/fade-in
2016-10-16 16:48:48 +03:00
Alexander Moisseev
85fafc57b2 [WebUI] Ask for history reset confirmation
Issue: #1027
Reported by: @fenice2
2016-10-15 18:18:28 +03:00
Alexander Moisseev
48e922586c [WebUI] Improve history table length drop-down menu
- set sane table lengths
- save table display information (using a cookie)
 
Issue: #1027
Reported by: @fenice2
2016-10-15 16:58:18 +03:00
Andrew Lewis
fdbeda51a7 [Minor] Always use SSL for hotlinked webui assets 2016-10-05 15:09:20 +02:00
Vsevolod Stakhov
dd8ec631d0 [Minor] Fix bloody jsonp 2016-10-04 17:27:31 +01:00
Vsevolod Stakhov
759ed46733 [Minor] Update jquery 2016-10-04 17:27:22 +01:00
Andrew Lewis
a308288392 [WebUI] Implement passwordless login 2016-10-04 11:27:31 +02:00
Pavel Rochnyack
b514cd569f WebUI: Add missing parameter to error handlers 2016-10-02 22:00:23 +06:00
Andrew Lewis
6d78b53299 Revert "[WebUI] Fix saving actions from web interface (#769)"
This reverts commit 692a0de56d.
2016-09-05 09:03:17 +02:00
Alexander Moisseev
1e11243b77 [WebUI] Update d3evolution
Update to moisseev/D3Evolution@3e5867b994
    - Fix stacked area yScale for negative values
2016-08-22 11:13:02 +03:00
Andrew Lewis
aa68c4952d [WebUI] Retain history length on update (#829) 2016-08-09 16:49:14 +02:00
Andrew Lewis
5b6bc2edf6 [WebUI] Try harder to clear password on disconnect 2016-08-01 19:36:45 +02:00
Andrew Lewis
5bb5d15843 [WebUI] Clear connect password (#783) 2016-08-01 17:21:24 +02:00
Andrew Lewis
692a0de56d [WebUI] Fix saving actions from web interface (#769) 2016-08-01 11:53:39 +02:00
Andrew Lewis
5570afeb03 [WebUI] Friendly error messages for failed learns 2016-07-26 14:56:08 +02:00
Vsevolod Stakhov
66947c4aab [Fix] Fix displaying of rewrite subject in WebUI 2016-07-19 18:48:25 +01:00
Vsevolod Stakhov
96301622dd [Minor] Remove symbols disappearing on focus
Issue: #696
Reported by: @moisseev
2016-07-16 23:58:49 +01:00
Vsevolod Stakhov
4844423a36 [Fix] Fix fuzzy adding in webui 2016-07-16 23:53:07 +01:00
Alexander Moisseev
0e39ad6729 [WebUI] Update d3evolution
- Update to moisseev/D3Evolution@c73017a039 :
	- Fix X-axis scale
	- [Fix] Do not draw paths through undefined regions
	- [Feature] Display `null` values as colored areas
- Add `step` interpolation
2016-07-10 20:25:26 +03:00
Alexander Moisseev
abf56bcc1b [WebUI] Update d3evolution
Update to e3ce22ebe3 :
    - Add `convert` method (percentage)
    - Add Y-axis label
2016-07-07 22:23:06 +03:00
Vsevolod Stakhov
dd547832d1 [WebUI] Use local copy of d3evolution 2016-07-02 21:24:28 +01:00
Vsevolod Stakhov
34991810fb [WebUI] Rework webui
- Remove uploaders as they are utterly broken
- Simplify actions loading
- Rework interface loading
2016-07-02 21:16:37 +01:00
Vsevolod Stakhov
190fd86fd9 [Fix] Another d3evolution update 2016-07-02 13:24:53 +01:00
Vsevolod Stakhov
1e9599d405 [Fix] Update d3evolution version 2016-07-02 13:08:27 +01:00
Vsevolod Stakhov
68b4e302b0 [WebUI] Enable throughput graph show 2016-07-01 17:37:13 +01:00
Vsevolod Stakhov
4317665c28 [Feature] Show symbols description in scan output 2016-06-30 17:46:44 +01:00
Vsevolod Stakhov
a224081631 [Feature] Humanize numbers in stats widgets 2016-06-30 15:26:43 +01:00
Alexander Moisseev
f3d589f50d [Feature] Add throughput graph for RRD backend to WebUI 2016-05-26 10:33:35 +03:00
Andrew Lewis
5c71b574ab [Fix] Make web interface not send password in query strings (#585) 2016-04-15 19:14:19 +02:00
Vsevolod Stakhov
da53479006 [Feature] Sort symbols in webui 2016-03-23 10:16:55 +00:00
Vsevolod Stakhov
d1e49accf9 [Feature] Show map URLs in webui 2016-03-23 10:13:01 +00:00
Dirkjan Ochtman
597a17af77 Improve web UI by adding some more whitespace 2016-01-31 14:05:56 +01:00
Vsevolod Stakhov
2375dba898 Remove bloody submodules. 2015-12-31 17:38:02 +00:00
Vsevolod Stakhov
f3bae99880 Update interface. 2015-11-06 11:37:58 +00:00
Vsevolod Stakhov
536d43ff29 Update webui. 2015-10-26 15:17:14 +00:00
Vsevolod Stakhov
865416f622 Catch up interface changes. 2015-10-05 14:17:21 +01:00
Vsevolod Stakhov
96229b2523 Update webui. 2015-10-04 20:55:34 +01:00
Vsevolod Stakhov
79db8b276d Update interface. 2015-10-03 14:21:49 +01:00
Vsevolod Stakhov
77dc36eaf6 Update webui. 2015-10-02 16:54:02 +01:00
Vsevolod Stakhov
dd7d395552 Update webui. 2015-09-23 14:16:32 +01:00
Vsevolod Stakhov
5104557c61 Update webui. 2015-09-22 16:37:02 +01:00
Vsevolod Stakhov
86169d23d4 Update interface. 2015-09-15 00:10:48 +01:00
Vsevolod Stakhov
04aadf47fe Sync with the interface. 2015-06-28 23:20:18 +01:00
Vsevolod Stakhov
eaa332c782 Remove unused variable. 2015-06-26 19:01:41 +01:00
Vsevolod Stakhov
2345e3aa48 Update interface. 2015-06-23 13:17:58 +01:00
Vsevolod Stakhov
2ac9685158 Sync from interface. 2015-05-15 15:21:04 +01:00
Vsevolod Stakhov
0b1e08c225 Another sync. 2015-05-15 15:04:03 +01:00
Vsevolod Stakhov
8413557956 Sync with interface. 2015-05-15 15:00:15 +01:00
Vsevolod Stakhov
2d31590f04 Fix symbols output in the webui. 2015-05-15 14:56:31 +01:00
Vsevolod Stakhov
774b013786 Update interface. 2014-09-09 17:43:36 +01:00
Vsevolod Stakhov
df617d7fee Update interface. 2014-09-09 17:34:08 +01:00
Vsevolod Stakhov
864e7d29a7 Update interface. 2014-09-09 17:01:02 +01:00
Vsevolod Stakhov
6bb4f58571 Update interface submodule. 2014-09-02 15:25:37 +01:00
Vsevolod Stakhov
4bd05c4657 Sync interface. 2014-09-01 14:21:28 +01:00
Vsevolod Stakhov
b864da214b Remove unused global. 2014-05-05 11:57:27 +01:00
Vsevolod Stakhov
c307e314da Use any valid SPF record. 2014-05-04 15:29:17 -07:00
Vsevolod Stakhov
f3d5011236 Fix enable_password checking. 2014-05-03 21:53:56 +01:00
Vsevolod Stakhov
14a450ad99 Make socket errors non fatal.
If it is impossible to create all sockets from a list of addrinfo treat
it as success if any of sockets have been created.
2014-05-02 14:53:07 +01:00
Vsevolod Stakhov
c1ec0c6ffe Sync interface. 2014-04-24 18:16:32 +01:00
Vsevolod Stakhov
83e2ab5d0b Use '/auth' instead of '/login' 2014-04-23 12:47:34 +01:00
Vsevolod Stakhov
10e8c3b28c Add rspamd interface as a submodule. 2014-02-28 17:38:00 +00:00