Commit Graph

26 Commits

Author SHA1 Message Date
Domingo Dirutigliano
e491a14899
improved addr/int selection UI + change llhttp managment 2026-09-13 15:54:56 +02:00
Domingo Dirutigliano
090d117115
Keep a dragged firewall rule at its measured width
The Card carried Mantine's `w="100%"` prop, whose style props land in the
style attribute after anything passed via `style`, so it overrode the pixel
width dnd measures at lift time. On a `position: fixed` element `100%`
resolves against the viewport rather than the list, so grabbing a rule
snapped the card from 734px to 798px and pushed it past the right edge.

Moving the width into `style`, ahead of the dnd spread, leaves normal flow
untouched and lets the measured width win while dragging.
2026-09-03 18:42:16 +02:00
Domingo Dirutigliano
72b3386d3e
Fix drag-and-drop reordering of firewall rules
Three separate defects made the rule list impossible to reorder:

- The Card's own `style` was placed after `{...provided.draggableProps}`,
  clobbering the `position`/`transform` dnd sets while dragging. The drag
  did start, but nothing moved on screen. Styles are now merged with dnd's
  winning, and the dragged card is highlighted.
- `Draggable index` used the position in the full `state` array and the
  rules of the other table were filtered out afterwards, leaving gaps.
  dnd requires contiguous indexes from 0 inside a Droppable, so a single
  rule in the other table broke the visible tab entirely. Visible rules
  are now re-indexed and mapped back to their `state` position on drop.
- `destination?.index || 0` reordered to the top instead of doing nothing
  when a rule was dropped outside the list.
2026-09-03 10:22:19 +02:00
Domingo Dirutigliano
0dd538621d
integrated more tooltips 2026-07-24 13:47:31 +02:00
Domingo Dirutigliano
bd55a7bc9c
integrated and refactore docs + minor changes 2026-07-23 16:53:09 +02:00
Domingo Dirutigliano
c37d2b31e8
graphics and TLS feature total refactoring 2026-07-23 13:39:01 +02:00
Domingo Dirutigliano
24634ec60b
mantine update 2026-06-21 11:49:53 +02:00
Domingo Dirutigliano
3494d10032
docs completed 2025-03-05 14:05:31 +01:00
Domingo Dirutigliano
8ae533e8f7
push: code changes x2 2025-02-28 21:14:09 +01:00
Domingo Dirutigliano
8652f40235
nfproxy module writing: written part of the firegex lib, frontend refactored and improved, c++ improves 2025-02-20 19:51:28 +01:00
Domingo Dirutigliano
d64e0aa73c
add: filtering table of firewall + InterfaceSelector frontend fixes and improves 2024-10-19 18:39:42 +02:00
Domingo Dirutigliano
cbf2c5a43d
add: frontend update 2024-10-13 01:50:52 +02:00
Domingo Dirutigliano
0e34805b4c
gui: reposive? yeah responsive 2023-10-12 20:01:48 +02:00
Domingo Dirutigliano
c044383fd0
add: dhcp on firewall 2023-10-12 12:53:44 +02:00
Domingo Dirutigliano
e96c38b186
fix: settings update fixed + packet invalid drop 2023-10-01 02:01:47 +02:00
Domingo Dirutigliano
b11fa66909
refactoring: firewall model changed using ufw model (due to docker iussues) 2023-09-29 16:10:28 +02:00
Domingo Dirutigliano
71edfc29c4
Firewall refactor 2023-09-28 20:45:58 +02:00
Domingo Dirutigliano
0c972baa9c
add(todo): additional setting to implement 2023-09-26 01:17:09 +02:00
Domingo Dirutigliano
7c324a90c2
add: graphic improvements 2023-09-25 20:09:26 +02:00
Domingo Dirutigliano
c0ea0eb331
add/fix: frontend and backend improves 2023-09-25 18:10:12 +02:00
Domingo Dirutigliano
ab96b24cac
add (todo): Switch to allow ip4/ip6 filters 2023-09-24 22:54:59 +02:00
Domingo Dirutigliano
d195f2c7cd
add: created components for rules visualization 2023-09-24 22:50:42 +02:00
Domingo Dirutigliano
205a21a23a
fix: reset on refresh firewall 2023-09-24 17:13:32 +02:00
Domingo Dirutigliano
594e6b4e00
firewall Frontend Improvements 2023-09-24 17:05:55 +02:00
Domingo Dirutigliano
4247dc181d
react-query + enable/disable firewall 2023-09-24 05:48:54 +02:00
Domingo Dirutigliano
ae8dbd9423
fix: backend optional types + firewall frontend initial code 2023-09-23 02:02:02 +02:00