Commit graph

502 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
844e9ebce6
updated appstream xml
Some checks failed
Build status / Builddeb (debian:bookworm) (push) Has been cancelled
Build status / Builddeb (debian:sid) (push) Has been cancelled
Build eBPF / Build eBPF object (push) Has been cancelled
Build status / Build Go code (push) Has been cancelled
2023-02-19 11:58:33 +01:00
Gustavo Iñiguez Goia
a3a1fdf2e0
ui: updated appstream Summary field 2023-02-19 10:48:07 +01:00
Gustavo Iñiguez Goia
114326e0e9
Merge pull request #855 from petterreinholdtsen/1.5.0-appstream-icon-name
Corrected appstream icon name.
2023-02-18 11:34:15 +01:00
Petter Reinholdtsen
28144f57d5 Corrected appstream icon name.
Made sure the base name used matches the svg and png icons provided.
2023-02-18 11:16:36 +01:00
Petter Reinholdtsen
db1ad0d829 Added appstream content rating, no restrictions. 2023-02-18 11:13:19 +01:00
Gustavo Iñiguez Goia
3a9504d30b
Bump versions to v1.5.8 2023-02-11 21:46:56 +01:00
Gustavo Iñiguez Goia
80586a9206
ui: added 64x64 icon 2023-02-11 21:43:37 +01:00
Gustavo Iñiguez Goia
e465d80fd8
Merge pull request #839 from petterreinholdtsen/desktop-nb-typo
Some checks failed
Build status / Builddeb (debian:bookworm) (push) Has been cancelled
Build status / Builddeb (debian:sid) (push) Has been cancelled
Build eBPF / Build eBPF object (push) Has been cancelled
Build status / Build Go code (push) Has been cancelled
Fixed typo in nb comment of desktop file.
2023-02-09 10:06:15 +01:00
Petter Reinholdtsen
36c26e60f6 Added appstream desktop category to metadata XML. 2023-02-09 07:59:21 +00:00
Petter Reinholdtsen
4baf218570 Fixed typo in nb comment of desktop file. 2023-02-09 07:51:49 +00:00
Petter Reinholdtsen
6f5cc8c99f Adjusted text of appdata and desktop file.
Include 'interactive' more places.  Added Norwegian Bokmål (nb) translation
of desktop name and comment.
2023-02-07 07:05:07 +01:00
Gustavo Iñiguez Goia
dfa3ed26b3
ui: updated translations 2023-02-07 01:02:28 +01:00
Gustavo Iñiguez Goia
8640080326
Bump application versions 2023-02-06 23:29:14 +01:00
Gustavo Iñiguez Goia
e9eef2e10c
ui: added appstream metainformation file
Added file to display GUI information on software centers.

https://www.freedesktop.org/software/appstream/docs/
2023-02-06 21:56:02 +01:00
Gustavo Iñiguez Goia
2667c6c9d4
ui: fixed listing connections when using translations 2023-02-06 17:04:37 +01:00
Gustavo Iñiguez Goia
9a90afb6aa
translations: fixed typo 2023-02-06 14:09:03 +01:00
Gustavo Iñiguez Goia
d055067baf
i18n: fixed creating locales on fedora
kudos to pizzadude for add a note to the wiki:
3164b857c43226cf068b11364e18065f910ce4d4
2023-02-05 19:17:36 +01:00
Gustavo Iñiguez Goia
833708692d
i18n: added new language nb_NO
by Petter Reinholdtsen
2023-02-05 19:15:57 +01:00
Gustavo Iñiguez Goia
e9ba2104a7
ui: fixed exception on PyQt 5.15.8
reported by @darkfishy and @uffejakobsen (#821), thank you!
2023-01-29 19:14:42 +01:00
Gustavo Iñiguez Goia
efb73959ec
Bump daemon and GUI versions
Some checks failed
Build status / Builddeb (debian:bookworm) (push) Has been cancelled
Build status / Builddeb (debian:sid) (push) Has been cancelled
Build eBPF / Build eBPF object (push) Has been cancelled
Build status / Build Go code (push) Has been cancelled
2023-01-22 21:24:47 +01:00
Gustavo Iñiguez Goia
d838a2122e
ui: added tr, ru, and lt languages 2023-01-22 21:10:00 +01:00
Gustavo Iñiguez Goia
232fde0fa1
fixed app icon, debian/postinst
- Fixed app icon. Was 48x35 instead of 48x48.
 - debian/ - check if symlink exists on postinstall before creating it.
2023-01-22 17:00:02 +01:00
petterreinholdtsen
45aa9b6458
Correct Debian build and add github CI check for it. (#809)
* Improve name of github CI Go build.

* Unify debian build rules to build both binary debs from same rule set

Added missing build dependency for qttools5-dev-tools.

Note, the install of bpf module is removed because its build rules are not
currently used.  This should be fixed.

The build fail because the build uses go build rules and not the
makefile, and thus the protocol files are not generated in the correct
location.

Added github CI build test for Debian package.  Note, this build include a
workaround for the lack of upstream tarball.  Might be better to create
a tarball from the current source directory first, but then debian/changelog
need to be updated with a version entry for this tarball too.

* Bring Debian package installation more in line with general practice

Bo need to use pip for installing packages, the packages needed are
in Debian Bookworm and Sid.  Drop debconf question regarding this and the
dependency on pip.

Stop writing in users home directory, activate autorun using
/etc/xdg/autorun/ instead.
2023-01-21 10:17:07 +01:00
Petter Reinholdtsen
03bc6b9465 Use '$(MAKE) -C dir' instead of 'cd dir && make' when building in subdirectory
This allow builders to control which make program to use and let make
take care of changing the working directory.
2023-01-20 14:50:30 +00:00
Gustavo Iñiguez Goia
cf9ecb80d3
removed ftrace monitor method
deprecated, was not in use.
2023-01-20 15:38:39 +01:00
Gustavo Iñiguez Goia
82691eb2b0 Bump versions to v1.5.2
Some checks failed
Build status / Build (push) Has been cancelled
2022-07-27 17:36:47 +02:00
Gustavo Iñiguez Goia
12267513fc ui,rules: improved regular expressions
Up until now we detected automatically if a rule was a regular
expression. But if the path or cmdline of a process had certain
characters (backslash), it was not easy to autodetect it, because the
backslash in particular is sent and received encoded (\\).

With this change the user will have to mark manually if the
path/cmdline of a process is a regular expression or no.

Closes #706
2022-07-26 15:46:38 +02:00
Gustavo Iñiguez Goia
89dd0a40ec ui: show message boxes on top of the other dialogs
Closes #682
2022-07-26 10:27:31 +02:00
Gustavo Iñiguez Goia
ce9e1953df ui: improved shutting down
We needed to close the Notifications channel of each node on close.
Closing only grpc's server was not enough.

Closes #677
2022-07-26 10:24:04 +02:00
Gustavo Iñiguez Goia
df5c0979cc ui,notifications: fixed initialization 2022-07-26 10:23:02 +02:00
Gustavo Iñiguez Goia
4ab4fbf41f ui, events: improved displaying the events window
When loading and setting the query limit configured, it was causing to
fire an unwanted combobox event, resulting in a DB query without limits,
which in turns with a lot of events was causing slowdowns when displaying
the events window.
2022-07-26 10:21:50 +02:00
Gustavo Iñiguez Goia
c20f1c1f03 ui: allow to use GUI themes
Some checks failed
Build status / Build (push) Has been cancelled
Now the user can personalize GUI's appearance (#424).

There're 15 default themes, dark and light, that will help integrating
on some environments (#303, #335).

More themes can be added, by creating a new xml under
~/.config/opensnitch/themes/ or
/usr/lib/python3/dist-packages/opensnitch/

The lib used is https://github.com/UN-GCPDS/qt-material.
https://github.com/UN-GCPDS/qt-material#custom-colors
2022-04-06 20:50:21 +02:00
Gustavo Iñiguez Goia
caa8facf7b Bump versions to v1.5.1 2022-03-17 22:54:22 +01:00
Gustavo Iñiguez Goia
79c48ed963 ui: icons updated for better visibility on light themes
On light themes, the systray icon was barely visible. With the new
icons:
 - on dark themes should be pretty similar to what we already had.
 - on light themes they are much more distinguishables now.

Closes: #643, #339
2022-03-12 10:41:24 +01:00
Gustavo Iñiguez Goia
a6734649a1 ui: better rules listing
- Reduce query complexity by querying only connections table.
- Fixed filtering fields.
2022-03-12 10:41:10 +01:00
Gustavo Iñiguez Goia
9cb5bc91bb ui: fixed launching the GUI on LxQt
Closes #618
2022-03-12 10:40:52 +01:00
Gustavo Iñiguez Goia
1161c57c8b ui, events: fixed crash when clicking on the Rules column 2022-02-23 13:57:05 +01:00
Gustavo Iñiguez Goia
9ff920fb60 ui, events: improved UX, fixed Users' query
- Improved user experience, by remembering rows selection when going
  back from a detail view. Fixes #620.
- Fixed Users' view query (it didn't list user's connections
  correctly and it wasn't efficient).
2022-02-23 13:57:01 +01:00
Gustavo Iñiguez Goia
a5de70986c ui, events: improved restoring rules' columns
Restore rules' columns properly after:
 - double clicking on the Rules column of the main tab -> and then
   clicking on the back button.
 - clicking on the Temporary/Permanent items of the Rules tab.
 - clicking on a Rule and going back again to the list of rules.

Misc:
 - Disallow double-clicks when entering into a detail view from the
Events tab.
 - Removed extra/repeated columns adjusting.

Closes #619
2022-02-18 00:13:49 +01:00
Gustavo Iñiguez Goia
9045e28473 ui, pop-ups: fixed exception when app args are empty
reported here: #617
2022-02-11 00:16:08 +01:00
Gustavo Iñiguez Goia
9c36bb3c7d ui, stats: fixed typo 2022-02-02 20:00:19 +01:00
Gustavo Iñiguez Goia
ccc18c88bf ui: fixed displaying clean events button
The button to delete events of a view is not displayed on the Nodes or
Rules view. It's only displayed in these views when entering into a
detail view.

Closes #605
2022-02-02 20:00:13 +01:00
tioguda
c716a9862a
Update Brazilian Portuguese translation 2022-01-29 13:19:14 -03:00
Gustavo Iñiguez Goia
c67e72075c ui, events window: allow to delete rules pressing DEL key
misc: initialize properly tables' header labels.

closes #601
2022-01-29 12:55:24 +01:00
Gustavo Iñiguez Goia
d9e8699702 Bump versions to v1.5.0 2022-01-28 23:29:31 +01:00
Gustavo Iñiguez Goia
c86125824c ui, notifications: fixed crash when dbus service fails
In some scenarios, showing a notificatio led to a crash with the error:

Dbus.Error.ServiceUnknown: The name ... was not provided by any .service
files.
2022-01-28 16:27:13 +01:00
Gustavo Iñiguez Goia
75cfd39ee1 ui, events: fixed delay displaying the main window
If the events were saved to a DB on disk,
there were long delays when opening the events window.

Now the events window loads faster, but the Events view is not as
performant as before. It means that while you're monitoring connections,
the GUI may consume 1-5% of the CPU and ~25% when you apply a filter
(only in that moment).

With the previous approach the CPU usage was close to 0-1% in both
cases, so we need to find a way of not causing long delays while being
performant.

More about this:
https://github.com/evilsocket/opensnitch/issues/566#issuecomment-1014930627
2022-01-20 00:04:56 +01:00
Gustavo Iñiguez Goia
bb253629e8 Bump versionis to v1.5.0rc2 2022-01-17 01:10:38 +01:00
Gustavo Iñiguez Goia
3ef33f6b31 ui: updated translations 2022-01-16 13:25:12 +01:00
Gustavo Iñiguez Goia
d8a36f8d41 ui, tests: fixed, added new ones. 2022-01-14 01:25:56 +01:00