Commit graph

1,165 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
a1353848ba
ui: fixed crash calling undefined variable 2026-07-27 01:33:38 +02:00
Gustavo Iñiguez Goia
999603e98a
ui: improved selecting the last row 2026-07-24 12:02:31 +02:00
Gustavo Iñiguez Goia
e7fdd23bfb
ui: added missing variable 2026-07-23 23:03:55 +02:00
Gustavo Iñiguez Goia
699678ec25
ui: improved rows selection/pagination
- fixed pagination when the last result set contains fewer rows than the
   view can display and the user navigates back to the previous page.
   and the user goes back to the previous batch of results.
 - selectItem: don't try to select rows with empty data.
2026-07-23 20:58:55 +02:00
Gustavo Iñiguez Goia
625f182284
ui: fixed fw rules contextual menu 2026-07-22 22:46:30 +02:00
Gustavo Iñiguez Goia
9e5348da2e
ui: improved rules/alerts deletion
- deselect selected rules/alerts after deleting them.
 - display a different question to delete alerts.
2026-07-22 22:31:08 +02:00
Gustavo Iñiguez Goia
5b3b2d71ac
ui: minor change to virustotal plugin
Display the sources that flagged an item (ip, domain, hash) taking into
account the number of suspicious results.
2026-07-22 14:59:59 +02:00
Gustavo Iñiguez Goia
a0825d919b
ui: improved setting currentIndex for keyboard navigation
When selecting rows with the mouse, update the current index to the
first or last row of the selection range, depending on the selection
direction (up/down).
This allows keyboard-based selection expansion and shrinking to work
correctly without losing the existing selection.
2026-07-21 01:56:26 +02:00
Gustavo Iñiguez Goia
f807555aa4
ui: improved row navigation+selection using keyboard.
- fixed navigating results with keys up/down and pageUp/Down.
 - improved selecting/handling rows with shift + ctrl.

in both cases taking pagination into account.
2026-07-20 01:37:39 +02:00
Gustavo Iñiguez Goia
5c79d4191c
ui: fixed setting scrollbar value when rows were selected
Partially fixed a bug setting views limit, when the user had selected
several rows.

The issue occured in this scenario:
 - the user selected several rows in a view.
 - switched to a different view.
 - returned to the previous view.
 - the query was properly configured with the limits but returned all
   results from the db.
 - as a result, the scrollbar didn't respect the configured limit, and
   instead, it was configured according to the total number of results
   of the db.

Now if the number of results exceed the view/query limit and the query
limit is not 0 (show all results), we'll use the query limit as the
maximum number of rows of the view.

We should verify that the query returns the expected number of results.
2026-07-09 00:16:23 +02:00
Gustavo Iñiguez Goia
b4dba6951e ui: improved selecting rows with key Up/Down 2026-07-08 20:18:21 +02:00
Gustavo Iñiguez Goia
4ec90cb64d
ui: improved tab navigation
improved tab navigation (#1625) by skipping hidden tabs.
2026-07-08 12:10:35 +02:00
Gustavo Iñiguez Goia
f3a6ceed9c
Merge pull request #1625 from kudashevs/feature/tab_navigation_shortcuts
ui: add navigation between tabs
2026-07-08 02:16:43 +02:00
Gustavo Iñiguez Goia
d487124e93
Merge pull request #1622 from kudashevs/feature/trailing
fix: remove trailing spaces
2026-07-08 02:08:20 +02:00
Gustavo Iñiguez Goia
d82da6db09 ui: removed debugging messages 2026-07-07 15:45:05 +02:00
Gustavo Iñiguez Goia
75c4f39350 ui: removed more undefined variables
Following #1613, removed some more undefined variables.
2026-07-06 15:28:00 +02:00
Gustavo Iñiguez Goia
6963dc4595
ui: fixed crash showing notifications
fixed by tuna4ll in #1627.

Closes: #1613
2026-07-05 13:03:39 +02:00
Gustavo Iñiguez Goia
bb0f3bc1c9
ui: fixed crash pressing space key 2026-07-03 22:14:59 +02:00
Gustavo Iñiguez Goia
f89c8d74af
ui: removed unused systray icon
to save some memory.
2026-06-23 10:49:25 +02:00
Gustavo Iñiguez Goia
0ed9a5da69
ui: fixed Highlight plugin crash when colorizing rows 2026-06-23 10:45:51 +02:00
Gustavo Iñiguez Goia
dd04c5bab2
ui: allow to close main window tabs
Now users can decide if show or hide main window tabs.
There's no much difference on mem usage (if any at all, at least for now).
2026-06-21 12:33:24 +02:00
Gustavo Iñiguez Goia
c4e6ede5a1
ui: reduce mem usage when using the ASN database
Previously we loaded the ASN database unconditionally if the package
pyasn was installed, in order to lookup the network name associated with
an IP address.

As a result, the database was loaded into memory, even if you never
opened the Address tab, which we assume is not that common.

Now the DB will only be loaded when clicking on the Address tab, and
will be unloaded when closing the main window (loading the DB for the
first time takes a few milliseconds, or less).

This change reduces the memory usage by approximately 150MB of RAM for
most users that have the pyasn package installed.

 Also:
 - removed unused imports.
 - imports reordered.
2026-06-19 00:21:30 +02:00
Gustavo Iñiguez Goia
bfd8726f1a
ui: add missing import (generictableview) 2026-06-18 01:29:26 +02:00
Gustavo Iñiguez Goia
954b5eef51
ui: added missing import 2026-06-18 01:25:51 +02:00
Gustavo Iñiguez Goia
4644f699af
ui: show current view limit and offset when paginating 2026-06-18 00:45:46 +02:00
Gustavo Iñiguez Goia
5a03c6a20f
ui,highlight: fixed applying styles 2026-06-18 00:20:31 +02:00
Gustavo Iñiguez Goia
cb1cf96205
ui: added documentation for the Highlight and Virustotal plugins 2026-06-17 23:12:27 +02:00
Gustavo Iñiguez Goia
45b6e8a1c2
ui: fixed highlighting rows with the Highlight plugin 2026-06-17 23:04:33 +02:00
Kudashev Sergey
f47bce0893 ui: add navigation between tabs
Closes #1624
2026-06-17 12:11:43 +02:00
Kudashev Sergey
1672bde4ed fix: remove trailing spaces 2026-06-15 23:42:54 +02:00
Gustavo Iñiguez Goia
1aabad3bbc
ui: improved virustotal plugin
- fixed error that sent multicast addresses to analyze.
 - new configuration options:
   - allow to configure the plugin log level.
   - allow to change icon if the outbound connection is malicious.
   - allow to change the popup default action.
   - use community score, reputation or suspicious option to
     compute total malicious score.
   - allow to define ips and domains exclusions.
2026-06-15 18:00:36 +02:00
Gustavo Iñiguez Goia
7d9ca1f951
ui: improved rows selection
Now row selection while pressing shift is not limited by the view
(query) limit. Users now can select rows across paginated results.

 - fixed crash in some systems when paginating results (fillVisibleRows).
 - now key up/down while pressing shift select rows.
 - ensure that row numbers are refreshed when paginating results.
2026-06-12 23:10:09 +02:00
Gustavo Iñiguez Goia
2def136c62
ui,popups: improved checksum management
When a binary checksum mismatch occurs and you click on the checksums
warning:

 - fixed error when updating a rule's checksum. Regardless of the
   rule selected in the combobox, always the last one was updated.
 - the last updated rule is now displayed first in the rules combobox.
2026-06-09 17:25:23 +02:00
Gustavo Iñiguez Goia
3dab8013bd
ui: disable temporary expired rules on start
In some cases, temporary rules were not being marked as disabled on the
database, making it difficult to see which temporary rules were active
or not (for example when the GUI was closed, a temporary rule expired in
the daemon, and the GUI was launched again).

Now when launching the GUI, we'll mark expired rules as not enabled,
including 'until-restart' rules.

When the daemon connects to the GUI, it'll send the list of active rules,
and the database will be updated accordingly.

This change will also reduce the number of rules displayed when
a binary checksum mismatch occurs (pop-ups, checksums). Sometimes when
the invalid checksum warning was displayed, we listed rules that
were no longer active.
2026-06-09 09:54:10 +02:00
Gustavo Iñiguez Goia
0328a25459
Merge pull request #1572 from marcpinolpique/fix/rule-name-action-mismatch
Fix rule filename not updating when action changes
2026-04-13 01:06:40 +02:00
Gustavo Iñiguez Goia
af1fa29121
Merge pull request #1565 from nvandamme/fix-preference-dialog-crash-due-to-missing-ACTION_DROP_IDX
fix: preference dialog crash, missing ref to ACTION_DROP_IDX
2026-04-12 23:40:19 +02:00
Marc Pinol Piqué
91d9abe3a6
Fix rule filename not updating when action changes
When editing a rule and changing its action (e.g. deny → allow),
the JSON content updates correctly but the rule name (used as
filename) retains the old action prefix, causing a mismatch
between the filename and the actual rule action.

Update save_rule() to detect auto-generated rule names and
replace the action prefix when the action has changed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 13:39:53 +01:00
Nicolas Vandamme
8a3be740b2 QObject Thread safeguards for DB rules enumeration and matching against existing attached list subs 2026-03-13 22:24:10 +01:00
Nicolas Vandamme
b30e186f92 complete refactoring of runtime + ui (MVC, qt signals, qt threads, rules management) 2026-03-13 07:26:07 +01:00
Nicolas Vandamme
1c3e65ee24 fix: preference dialog crash, missing ref to ACTION_DROP_IDX 2026-03-12 00:10:41 +01:00
Nicolas Vandamme
e15221df29 fixes for url test blocking ui thread + url test message ui bug + default rule creation options + hide node to foce local node 2026-03-11 23:56:19 +01:00
Nicolas Vandamme
89708b64ab UI overhaul 2026-03-11 20:20:19 +01:00
Nicolas Vandamme
9077fbb484 restore orginal proto bindings and remove annotation stub 2026-03-11 09:50:13 +01:00
Nicolas Vandamme
fca8c07bac decoupling UI and runtime with signaling + rule signaling upon refresh 2026-03-10 22:17:08 +01:00
nvdx
fe4a397f3e
Merge branch 'evilsocket:master' into list_subscriptions 2026-03-10 09:55:03 +01:00
Nicolas Vandamme
73a4ace427 defaults to PyQt6 2026-03-10 09:54:03 +01:00
Gustavo Iñiguez Goia
5cbc2c64aa
ui: replace Deny word by Drop
This change only replaces the word in the GUI. The daemon still uses
internally "deny".

Discussion: #1519
2026-03-10 00:28:02 +01:00
Gustavo Iñiguez Goia
79fa16f740
ui,preferences: move checkbox to UI tab
It could be moved to the Server or UI tab, but this option is not part
of the Database.

Introduced in this PR: #1560.
2026-03-10 00:15:06 +01:00
Gustavo Iñiguez Goia
129ced06ac
ui,events: fixed modifying sys fw rules 2026-03-09 23:58:00 +01:00
Nicolas Vandamme
76aafd4f6a migrate live mutable config object in ui to mutable dataclasses 2026-03-09 17:46:11 +01:00