Commit Graph

320 Commits

Author SHA1 Message Date
Alexander Moisseev
70914606ef [Minor] Use queryServer function for "neighbours" request 2018-08-01 12:58:41 +03:00
Alexander Moisseev
b932d9baf7 [Minor] Add "errorOnceId" parameter to query function 2018-07-30 12:15:21 +03:00
Alexander Moisseev
bc8a4c950f [Minor] Add "errorMessage" parameter to query function 2018-07-30 11:06:46 +03:00
Alexander Moisseev
5889a6f418 [Minor] Fix save map on cluster messages 2018-07-29 19:12:12 +03:00
Alexander Moisseev
519ae50058 [Minor] Refactor query function to use named parameters 2018-07-28 21:39:47 +03:00
Alexander Moisseev
228af8b224 [WebUI] Save symbols to the selected server
instead of local
2018-07-28 11:48:28 +03:00
Alexander Moisseev
0084098849 [Minor] Use query function to get and update symbols 2018-07-28 10:24:30 +03:00
Alexander Moisseev
6414e55b02 [Minor] Use query function to get actions,
get actions from "local" if "All SERVERS" option is selected,
sort conditional operators by action index
2018-07-27 13:18:21 +03:00
Alexander Moisseev
d2c793e716 [Minor] Remove obsolete HTTP request 2018-07-27 11:03:06 +03:00
Alexander Moisseev
b26dcfab8b [Minor] Allow to query specific host
For now we need just `local`
2018-07-26 13:22:03 +03:00
Alexander Moisseev
d8977873d6 [WebUI] Refactor query functions into one 2018-07-25 10:42:02 +03:00
Alexander Moisseev
6d95ea817c [WebUI] Fix query URL for selected server 2018-07-24 20:45:22 +03:00
Alexander Moisseev
0185cb2c82 [WebUI] Use common query functions to get graph data 2018-07-22 19:25:01 +03:00
Alexander Moisseev
1881cb7ba2 [WebUI] Unify arguments of query functions 2018-07-22 18:24:58 +03:00
Alexander Moisseev
1c458fb870 [WebUI] Do not execute on_success callback
if all requests to neighbours failed
2018-07-22 15:13:19 +03:00
Alexander Moisseev
6b9c02b233 [WebUI] Use common query functions to save symbols 2018-07-21 20:03:25 +03:00
Alexander Moisseev
5bb5da8dda [WebUI] Remove previously-attached event handlers
from save buttons on the "Symbols" tab
2018-07-21 18:54:23 +03:00
Alexander Moisseev
58912d8fca [WebUI] Fix history reset for "All SERVERS" (#2346) 2018-07-21 15:00:22 +03:00
Alexander Moisseev
02044b46d9 [WebUI] Hide symbols order selector for legacy history 2018-07-19 11:55:39 +03:00
Alexander Moisseev
e41ae765ef [WebUI] Fix symbols display in legacy history,
compact symbols display,
sort symbols by name

Issue: #2348
2018-07-19 09:47:28 +03:00
Alexander Moisseev
743dd8b6b1 [Minor] Simplify conditional expression 2018-07-15 17:38:27 +03:00
Alexander Moisseev
ab72e30124 [Minor] Use consistent brace style for blocks (1tbs) 2018-07-15 17:26:12 +03:00
Alexander Moisseev
8b32cbde5f [Minor] Avoid using empty blocks 2018-07-15 16:55:48 +03:00
Alexander Moisseev
df63719060 [Minor] Remove unused empty function 2018-07-15 14:03:29 +03:00
Alexander Moisseev
ae91f7edb4 [Minor] Do not use identifiers before their declarations 2018-07-15 13:26:53 +03:00
Alexander Moisseev
89bfbd940c [Minor] Do not reassign function parameters 2018-07-15 13:14:06 +03:00
Alexander Moisseev
b816237c36 [Minor] Do not shadow variables 2018-07-14 17:56:15 +03:00
Alexander Moisseev
4cb2f29f62 [WebUI] Avoid unused indexes 2018-07-13 12:56:06 +03:00
Alexander Moisseev
ebfc92f349 [WebUI] Enable strict mode,
rename `interface` oblect as it is a reserved keyword,
declare $span and $tbody variables
2018-07-12 12:49:21 +03:00
Alexander Moisseev
4d43874f65 [WebUI] Remove unused block 2018-07-11 11:49:55 +03:00
Alexander Moisseev
01ab7eaa51 [WebUI] Initialize variables at declaration 2018-07-11 11:47:31 +03:00
Alexander Moisseev
99cf8eafc4 [WebUI] Do not redeclare variables 2018-07-11 11:45:37 +03:00
Alexander Moisseev
f98d6e900f [WebUI] Use self-explanatory notation
for type conversion
2018-07-11 10:44:27 +03:00
Alexander Moisseev
04f05e07c0 [WebUI] Use type-safe equality operators 2018-07-11 10:36:59 +03:00
Alexander Moisseev
4d2b29abcb [Test] Specify JS Globals 2018-07-08 12:21:37 +03:00
Alexander Moisseev
28401018a8 [WebUI] Remove unused variable 2018-07-08 12:19:17 +03:00
Alexander Moisseev
9819f6a164 [WebUI] Add missed declarations 2018-07-08 12:01:18 +03:00
Alexander Moisseev
97f21fc116 [WebUI] Fix variable assignment
I think `var full = shrt = "";` is `var full = (shrt = "");` effectively, so `full = true`.
2018-07-08 11:58:27 +03:00
Alexander Moisseev
e514ce57b5 [WebUI] Avoid using "undefined" property
of the global object
2018-07-08 10:47:56 +03:00
Alexander Moisseev
6d9ad2208e [WebUI] Remove unused variables 2018-07-06 10:42:06 +03:00
Alexander Moisseev
d3c4028f4d [Minor] JS: Remove redundant quotes
around object literal property names
2018-07-06 09:57:07 +03:00
Alexander Moisseev
61308eaca2 [Minor] JS: Add space before parentheses
of anonymous functions
2018-07-05 11:16:49 +03:00
Alexander Moisseev
dc21f99bed [Minor] JS: Align elements 2018-07-05 11:02:39 +03:00
Alexander Moisseev
11282ac219 [WebUI] Remove duplicated path from RequireJS config 2018-07-05 10:51:13 +03:00
Alexander Moisseev
1bdf819be0 [Minor] JS: Remove useless escape 2018-07-05 10:44:04 +03:00
Alexander Moisseev
6ad2458e08 [Minor] JS: Remove useless concatenation 2018-07-05 10:33:15 +03:00
Alexander Moisseev
bef501cdf7 [Minor] JS: Simplify conditional 2018-07-05 10:30:07 +03:00
Alexander Moisseev
104eebf960 [Minor] JS: Disable "no-alert" rule for a line 2018-07-05 10:20:15 +03:00
Alexander Moisseev
dc72c1eebe [WebUI] Do not accept passwords containing control characters 2018-07-05 10:14:28 +03:00
Alexander Moisseev
d6314a4a2c [Minor] JS: Disable "no-bitwise" rule for specific lines 2018-07-05 09:52:23 +03:00
Alexander Moisseev
99a7c108e4 [Minor] JS: Add missed spaces 2018-07-05 09:39:23 +03:00
Alexander Moisseev
b6570edbce [Minor] JS: Move dots to the same lines as the properties 2018-07-05 09:27:40 +03:00
Alexander Moisseev
9acc2ba905 [Minor] JS: Remove extra spaces 2018-07-05 09:02:44 +03:00
Alexander Moisseev
8a63c6b787 [Minor] JS: Add spaces at comments start 2018-07-04 13:16:24 +03:00
Alexander Moisseev
0202711c20 [Minor] JS: Add spaces at blocks edges 2018-07-04 12:58:28 +03:00
Alexander Moisseev
91efdbe15f [Minor] JS: Add missing spaces before block brackets 2018-07-04 12:47:17 +03:00
Alexander Moisseev
66b7bdb028 [Minor] JS: Fix indentation 2018-07-04 12:39:58 +03:00
Alexander Moisseev
9465dd0eab [Minor] JS: Remove spaces inside object's curly braces 2018-07-04 12:35:22 +03:00
Alexander Moisseev
b7f6463e7c [Minor] JS: Remove spaces inside array brackets 2018-07-04 12:23:41 +03:00
Alexander Moisseev
7715b06977 [Minor] JS: Remove trailing spaces 2018-07-04 11:50:25 +03:00
Alexander Moisseev
349a86dc7e [Minor] JS: Replace tabs with spaces in indentation 2018-07-04 11:16:02 +03:00
Alexander Moisseev
20013a85ad [Minor] JS: Add spaces after commas 2018-07-04 11:05:21 +03:00
Alexander Moisseev
1a9489fdd5 [Minor] JS: Add missed semicolons 2018-07-03 13:34:38 +03:00
Alexander Moisseev
494f11642b [Minor] JS: Use consistent indentation 2018-07-03 12:20:51 +03:00
Alexander Moisseev
ba2a5ba57c [Minor] JS: Use double quotes wherever possible 2018-07-03 12:13:39 +03:00
Vsevolod Stakhov
3312e1ac6a
Merge pull request #2319 from moisseev/const
[WebUI] Stop using "const" declaration
2018-07-02 13:25:59 +01:00
Alexander Moisseev
d649c1329f [WebUI] Stop using "const" declaration
as it is not compatible with ES5
2018-07-02 13:26:52 +03:00
Alexander Moisseev
cd06897700 [WebUI] Update RequireJS to 2.3.5 2018-07-02 11:32:42 +03:00
André Peters
98626f92bb
Add a sort value to frequency; fixes #2298 2018-06-22 09:52:42 +02:00
Alexander Moisseev
3f5000f514 [WebUI] Limit recipients list in history column to 3
The full list can be displayed in the expanded row along with symbols
2018-06-13 18:31:45 +03:00
Alexander Moisseev
70cb28b869 [WebUI] Update column header 2018-05-29 12:20:46 +03:00
Alexander Moisseev
cb658a76c8 [WebUI] Fix elements disabling in "Symbols" tab 2018-05-29 12:17:03 +03:00
Marcel Menzel
d2b27609b7
Don't mark "neutral" symbol weights as negative 2018-05-25 15:41:47 +02:00
Alexander Moisseev
c07be78956 [WebUI] Match envelope and mime addresses following in arbitrary order 2018-05-22 21:17:22 +03:00
Alexander Moisseev
c12c469520 [WebUI] Wrap addresses in history 2018-05-22 20:57:45 +03:00
Alexander Moisseev
91780fdfbe [WebUI] Display smtp sender/recipient in history
if it doesn't match From/To..Cc..Bcc
2018-05-22 13:08:15 +03:00
bjoe2k4
c22d025e9c [WebUI] Config: Load list on demand 2018-04-08 15:15:37 +02:00
Alexander Moisseev
5a957e4547 [WebUI] Remove a previously-attached event handler
from symbols order selector
2018-04-06 11:22:49 +03:00
Alexander Moisseev
263eee0655 [WebUI] Add symbols order selector to history 2018-04-05 20:26:50 +03:00
Alexander Moisseev
72eb849b21 [WebUI] Add messages total to throughput summary 2018-04-03 17:54:27 +03:00
bjoe2k4
c7e2d434a2
[WebUI] Fix modalBody for maps that appear more than once 2018-03-30 13:52:10 +02:00
Klaus Umbach
0dfa5c7a78 [Fix] add 'rewrite subject' to History dropdown 2018-03-28 15:23:30 +02:00
EyePulp
ef6236d3b7
Provide more specific numbers on stats
Use a `title` attribute on the stats widgets to show full specific values in addition to the `Humanize.compactInteger()` values.
2018-03-26 07:49:16 -05:00
Vsevolod Stakhov
2fd75a5ace
Merge pull request #2115 from bjoe2k4/patch-2
[WebUI] History: Fix Tooltips on paging, filtering and sorting
2018-03-26 10:33:37 +01:00
bjoe2k4
2ff0b674eb
[WebUI] History: Fix Tooltips on paging, filtering and sorting
Also adds Tooltips to history of specific nodes.
2018-03-25 18:05:31 +02:00
Alexander Moisseev
091cacf8f7 [WebUI] Update D3 to v5.0.0 and jQuery to v3.3.1 2018-03-25 15:07:16 +03:00
Alexander Moisseev
dd963c8ba5 [WebUI] Display hostname:port/path in the page title 2018-03-20 19:03:03 +03:00
Alexander Moisseev
0c78ea6747 [Fix] Never hide actions from WebUI configuration tab
- Never hide actions (fixes #1910)
- Allow to disable actions from WebUI
- Add `rewrite subject` action to `configuration` tab
2018-03-19 19:48:04 +03:00
Andrew Lewis
5bc4c06dd6 [Fix] Fix some typos 2018-03-18 02:26:07 +02:00
firedranzer
ba09e88aec fixes variable condition 2018-03-07 14:26:14 +05:30
firedranzer
46334417c2 Refactores code and added order of actions 2018-03-07 02:13:09 +05:30
firedranzer
ba9d6870d7 alertmessage for each negative value 2018-03-06 10:34:41 +05:30
firedranzer
e6ea42a49d Add check for all thresholds 2018-03-05 23:13:50 +05:30
firedranzer
8fdc578225 Fixes greylist form vanish 2018-03-05 20:59:22 +05:30
Alexander Moisseev
9b1715cb1c
[Minor] Remove redundand condition (#2041) 2018-02-28 18:53:09 +00:00
Kumar Akshay
d5b1653974 Fix dropbox issue 2018-02-28 08:40:16 -08:00
Kumar Akshay
c81d77d9e4 Fix filter reject on history-page #2010 2018-02-28 06:55:45 -08:00
André Hänsel
7211d003d8 [WebUI] Show symbol descriptions as tooltips in history
On the Scan tab there was already an additional explanation shown as a tooltip for each symbol. This adds the same tooltip on the History tab.
2018-02-20 14:55:35 +01:00
Andrew Lewis
6e37e194a6 [WebUI] Restore passwordless login support (#2003) 2018-01-30 23:09:59 +02:00
Andrew Lewis
cb80955dc6 [Fix] WebUI: use relative path for savemap (#1943) 2017-12-11 11:46:50 +02:00