Commit Graph

309 Commits

Author SHA1 Message Date
André Peters
b19560aa3f Escape HTML in cells by using underscores escaper 2017-07-08 22:56:21 +02:00
Alexander Moisseev
42a91d777a [WebUI] Round-up throughput summary values 2017-06-22 18:48:04 +03:00
Vsevolod Stakhov
e5fbc287dc [WebUI] Use modern protocol for checking messages 2017-06-08 11:14:13 +01:00
André Peters
2bbd85fb14 Fixes redirect to "/?" after submitting values
Default type is submit, which appends "?" to the URL and kicks us back to "Status".
2017-05-03 13:11:36 +02:00
André Peters
c22319afc6 Fixes saving action scores in WebUI
Variable elts was not updated and always returned the previously set values.
2017-05-03 13:05:50 +02:00
Andrew Lewis
9286495fc2 [WebUI] Fix add header filter in history
- Issue: #1604
 - Reported by: @dimejo
2017-04-21 17:01:01 +02:00
Vsevolod Stakhov
d49b91da3f Merge pull request #1584 from moisseev/webui
[WebUI] Display multiple alerts at once
2017-04-09 11:07:02 +01:00
Vsevolod Stakhov
3aa4586c6e [WebUI] Fix history v2 display 2017-04-09 10:40:30 +01:00
Alexander Moisseev
fa5125be25 [WebUI] Display multiple alerts at once
Now user have a chance to see all thrown alerts not just the latest one.
2017-04-08 19:03:53 +03:00
Alexander Moisseev
9e7ace03e8 [WebUI] Check if neighbours' history backend versions match 2017-04-08 10:58:14 +03:00
Alexander Moisseev
b7853e057a [WebUI] history: break To address lists on commas 2017-04-06 10:34:17 +03:00
Alexander Moisseev
c4da0db178 [WebUI] Save some history table space 2017-04-04 18:20:32 +03:00
Alexander Moisseev
a76a46dae6 [WebUI] Fix error message 2017-04-01 15:59:13 +03:00
Vsevolod Stakhov
5a19519ed2 [WebUI] Increase default timeout to 20 seconds 2017-04-01 10:19:44 +01:00
dehnli
c5a467d925 [WebUI] Disable phrase connectors replacement in symbols filtering 2017-03-31 12:02:13 +04:00
Alexander Moisseev
9f5f8cf8e0 [WebUI] Disable phrase connectors replacement in history filtering
Resolves #1561
2017-03-30 16:06:37 +03:00
Vsevolod Stakhov
6861798ac3 [WebUI] Fix legacy history
Issue: #1564
2017-03-30 11:23:13 +01:00
Vsevolod Stakhov
bf9139ff2a [Minor] Allow subject field to be wrapped 2017-03-28 16:39:15 +01:00
Alexander Moisseev
60e9726274 [WebUI] Replace .values method with .map
as `.values` is unsupported in many browsers
2017-03-27 19:51:09 +03:00
Vsevolod Stakhov
f07448bca8 [WebUI] Fix history display 2017-03-27 10:57:59 +01:00
Andrew Lewis
93fd1765f6 [Minor] Fix English 2017-03-27 09:46:56 +02:00
Vsevolod Stakhov
c06d8386eb [WebUI] Allow message-id break 2017-03-25 14:08:45 +00:00
Vsevolod Stakhov
8cb2eea8f6 [WebUI] Fix history clustering 2017-03-25 14:01:29 +00:00
andryyy
05caad5caa Fix saving after table updates 2017-03-23 10:55:32 +01:00
andryyy
fcf5395e8a Better update handling, especially when updating empty table to non-empty table 2017-03-23 10:13:57 +01:00
Alexander Moisseev
ce88ad8519 [WebUI] Unbreak WebUI 2017-03-23 10:29:28 +03:00
Vsevolod Stakhov
b094456905 [WebUI] Remove datatables 2017-03-22 15:43:32 +00:00
Alexander Moisseev
37452d1570 [WebUI] Use Footable to draw Throughput summary table 2017-03-21 19:25:51 +03:00
Vsevolod Stakhov
3f72bccd49 [WebUI] Try to normalize frequencies 2017-03-20 14:11:58 +00:00
Vsevolod Stakhov
92d4711385 [WebUI] Add sender, recipients and subject columns 2017-03-20 13:55:37 +00:00
Vsevolod Stakhov
c2f00fb418 [WebUI] Rework v2 symbols display 2017-03-20 13:43:29 +00:00
Vsevolod Stakhov
0a0615b1b7 [WebUI] Fix sorting 2017-03-20 13:23:26 +00:00
Vsevolod Stakhov
deb2a10153 [WebUI] Humanize sizes 2017-03-20 11:39:31 +00:00
Vsevolod Stakhov
6a28960a10 [WebUI] Add flexible columns 2017-03-20 11:36:00 +00:00
andre.peters
bbbd983902 Fix styles of symbols table 2017-03-19 22:31:06 +01:00
andre.peters
406ca54dc7 Fix date for all history items, draw error table with footable 2017-03-19 22:30:42 +01:00
andre.peters
0d9361bc72 Re-add table-hover class, remove table-log class to apply styles with footables 2017-03-19 22:29:43 +01:00
andre.peters
156e2aa6a0 Use FooTable to draw symbol table 2017-03-19 19:21:57 +01:00
andre.peters
4a6b328b35 Use data id to identify input field 2017-03-19 19:21:46 +01:00
andre.peters
f455d4ccc0 Prepare table for FooTable 2017-03-19 19:21:34 +01:00
andre.peters
9373d9acfa Removed unused values and renamed others 2017-03-19 19:21:26 +01:00
Vsevolod Stakhov
f20a176270 [WebUI] Initial move towards footable 2017-03-18 14:44:34 +00:00
Vsevolod Stakhov
1bd8b9fe4e [WebUI] Add footable 2017-03-18 14:44:25 +00:00
Vsevolod Stakhov
c50e8b3532 [WebUI] Display symbols 2017-03-16 19:01:44 +00:00
Vsevolod Stakhov
b7e71546d2 [WebUI] Rework history v2 function 2017-03-15 15:54:50 +00:00
Vsevolod Stakhov
26aab9459c [WebUI] Add preliminary v2 history parser 2017-03-15 12:57:04 +00:00
Vsevolod Stakhov
a70a29a33a [WebUI] Allow different history parsers 2017-03-15 12:45:29 +00:00
Vsevolod Stakhov
9375e93daa [Minor] Fix spelling 2017-03-06 15:28:53 +00:00
Alexander Moisseev
3be55da4f8 [WebUI] Auto-switch Throughput units to msg/min for very low rate
Suggested by: Elodie via IRC
2017-03-04 17:56:47 +03:00
Alexander Moisseev
faab4774af [WebUI] Update D3Evolution to 0.0.2 2017-03-04 15:15:07 +03:00
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