16449 Commits

Author SHA1 Message Date
Ad Schellevis
e2e365df4b System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
* add download file dialog (key,cert or p12)
2024-03-04 16:08:36 +01:00
Ad Schellevis
f25adff8fa Services: ISC DHCPv4: Relay - do not add interfaces for virtual types.
missed a spot in previous
2024-03-04 15:20:01 +01:00
Ad Schellevis
a6a6aff456 Services: ISC DHCPv4: Relay - do not add interfaces for virtual types.
This is a temporary fix as our new mvc module should not have this same issue anymore where we automagically try to piggybag on top of unassigned interfaces.
2024-03-04 14:56:59 +01:00
Franco Fichtner
734d908e34 ui: move the layout modification over here 2024-03-04 09:32:06 +01:00
lin-xianming
b7136e75c3
firewall/rules: fix display of ICMP tooltip (#7289)
The tooltip was missing when the ICMP type is all.
2024-03-04 09:25:34 +01:00
Franco Fichtner
b588ded30e system: switch "destination" tab to "remote" for consistency #6830 2024-03-04 08:51:39 +01:00
Franco Fichtner
f87bc9a105 ui: make hr padding match __mX helpers
$line-height-computed only appears once in scaffolding template
so just switch it to the hardcoded defaults of the __mX class
stylers.  This is done to match MVC forms between use of consistent
margin and horizontal lines as dividers as seen on the MVC logging
settings page.
2024-03-04 08:44:10 +01:00
Franco Fichtner
c2260f6a47 mvc: style sweep 2024-03-04 08:26:04 +01:00
Ad Schellevis
4211e54d04 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
* handle externally managed certificates (manual action)
2024-03-03 19:56:23 +01:00
Ad Schellevis
35b866f922 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
* add download private key logic (using an ajaxComplete handler)
2024-03-03 19:42:25 +01:00
Ad Schellevis
875fb5d8b3 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
* add certificate purpose according to rfc3280
* add info button for raw (readable) certificate and csr output
2024-03-03 15:40:49 +01:00
Ad Schellevis
dbd80f33f5 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
Make sure legacy page can still handle the new model data (csr always exists, but is empty when not used)
2024-03-02 17:55:33 +01:00
Ad Schellevis
94952145b3 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
Implement certificate actions, further optimize certificate store to limit code duplication.
2024-03-02 17:54:16 +01:00
Ad Schellevis
b8bd667d64 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
expand PEM output section when importing data
2024-03-01 18:55:19 +01:00
Franco Fichtner
006be3a0c4 system: patch in reset option #6830 2024-03-01 13:12:22 +01:00
Franco Fichtner
6f9fc2d982 system: appropriate GUI styling and functional save #6830 2024-03-01 12:20:14 +01:00
Franco Fichtner
7d3fa10162 models: style pass 2024-03-01 10:21:27 +01:00
Ad Schellevis
73d1000af9 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
require country to satisfy lint :)
2024-03-01 09:06:40 +01:00
Franco Fichtner
ed1bd094bf system: add local settings tab (read only) to logging #6830 2024-03-01 09:01:46 +01:00
Franco Fichtner
0e63a68955 mvc: style sweep 2024-03-01 08:31:38 +01:00
Franco Fichtner
945bd66a3d system: remove the old syslog logging page #6830
New tab is still to be added to the MVC page.  Move it in place
for now and deal with nagivgation and wording later.
2024-03-01 08:26:36 +01:00
Franco Fichtner
cf4f97dd20 firewall: fix PHP warnings 2024-03-01 08:18:42 +01:00
Ad Schellevis
65b21d8de0 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 21:36:44 +01:00
Ad Schellevis
7f09889116 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 20:44:44 +01:00
Ad Schellevis
2baca326a5 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 18:41:32 +01:00
Franco Fichtner
4c78d5b50b system: fix templating for loglocal #6830 2024-02-29 14:45:10 +01:00
Franco Fichtner
8ea6e7be9b system: fix use after migration #6830 2024-02-29 14:14:49 +01:00
Ad Schellevis
2dcf83de18 model/Syslog - fix migration 2024-02-29 13:34:09 +01:00
Franco Fichtner
2900f707f1 system: WIP for moving settings over #6830 2024-02-29 13:22:48 +01:00
Franco Fichtner
aea33f9085 wireguard: remove unused 2024-02-29 12:57:12 +01:00
lin-xianming
7c3f2de92d
core/treeview - replace all > and < (#7288) 2024-02-29 08:34:40 +01:00
Franco Fichtner
f70f0f77c0 mvc: style sweep 2024-02-28 22:10:44 +01:00
Ad Schellevis
35b69da08e System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-28 18:34:57 +01:00
Ad Schellevis
dca47d1c7f System: Configuration: History - fix php deprecation messages. 2024-02-28 14:29:10 +01:00
Franco Fichtner
6bc7903fa4 system: fix PHP warnings related to #6830 2024-02-28 13:40:35 +01:00
Franco Fichtner
98aabba8a6 system: move firewall log settings to advanced firewall #6830 2024-02-28 13:33:24 +01:00
Franco Fichtner
d5b84cf46e system: move web GUI error log setting to appropriate page #6830
The storage location is wrong but deal with this later.
2024-02-28 12:57:27 +01:00
Franco Fichtner
5247ab3f3a system: move syslog reset function to system include #6830 2024-02-28 12:34:23 +01:00
Ad Schellevis
359954ddbb System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-27 18:41:27 +01:00
Franco Fichtner
e0cee10ad1 wireguard: manually set $reload in reconfigure case
Also add a log message to else branch when only flipping the
interface flag to trace this better.
2024-02-27 16:28:26 +01:00
Franco Fichtner
dbe52eeaa9 wireguard: may end up setting up in interface reconfigure when down was forced by carp 2024-02-27 16:15:18 +01:00
Franco Fichtner
d6a0534a6d unbound: make root.hints rewrite air-tight
To be added to stable version to make sure we're not causing
the crashing some people report on a reload.

One could avoid having it reload all the time but where is
the fun in that?
2024-02-27 13:44:52 +01:00
Ad Schellevis
0c39b0a698 mvc - add setBaseHook() to ApiMutableModelControllerBase controller implementation, similar to setActionHook().
Since setBase/addBase need a field to message errors on, its likely better to throw an exception when not able to complete the request in full (and data may not be saved).
Usage examples include writing data in other fields not being offered by the gui (for example encode data base64) or autogenerated content as default, volatile model fields can be used to make sure the hook is able to process the non-persistent data (which can still be validated separately).
2024-02-27 10:47:17 +01:00
Ad Schellevis
5db37c89ec System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
valid_from, valid_to should be volatile text fields
2024-02-27 10:16:04 +01:00
Franco Fichtner
691e782673 pkg: fix plist 2024-02-27 09:03:50 +01:00
lin-xianming
c9e9606b2d
firewall/rules: fix floating rule display (#7283)
1. For a floating rule with a single interface group, the interface
count and tooltip did not show when viewed from an interface rules page.

2. For a floating rule with an interface group and at least one other
interface or interface group, the entire rule did not show when viewed
from an interface rules page for which the interface is contained in one
of the interface groups.
2024-02-27 08:50:23 +01:00
Ad Schellevis
2969c723eb System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 (missed file in 010119b0fa) 2024-02-27 08:44:39 +01:00
Franco Fichtner
11e3ee2657 src: style sweep 2024-02-26 21:55:05 +01:00
lin-xianming
a646cc3461
Fix some help text (#7277) 2024-02-26 21:02:29 +01:00
Ad Schellevis
010119b0fa System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-26 21:00:36 +01:00