14651 Commits

Author SHA1 Message Date
Franco Fichtner
ac6e109fcf interfaces: polish main log message in renew, variable rename 2022-11-09 09:50:52 +02:00
Franco Fichtner
a273028b14 system: style on copyright header 2022-11-09 09:44:54 +02:00
Ad Schellevis
919b645262 Interfaces: Diagnostics: Packet Capture - html encode raw data. closes https://github.com/opnsense/core/issues/6125 2022-11-07 17:23:24 +01:00
Franco Fichtner
b69696c5fb system: fix previous #6123 2022-11-07 16:21:49 +02:00
Franco Fichtner
4710ec0cdc system: wait for configd try no. 2; closes #6123 2022-11-07 16:16:53 +02:00
Franco Fichtner
7989daa6ac system: 'ssh' probably empty, issue with PHP 8
PR: https://forum.opnsense.org/index.php?topic=30946.0
2022-11-07 10:40:01 +02:00
Ad Schellevis
0ae0c2fc93 Interfaces - migrate existing ppp settings on save, closes https://github.com/opnsense/core/issues/6121 2022-11-06 10:19:09 +01:00
Franco Fichtner
c71af0d420 system: change system log default to "Notice" #6115 2022-11-06 10:13:53 +01:00
Franco Fichtner
5918837320 interfaces: last bits of log_error() vs. log_msg()
log_error() will likely remain for a while but should eventually be
removed, perhaps for 24.1.
2022-11-06 09:20:55 +01:00
Franco Fichtner
e892a560ff interfaces: delete the correct lock #6102
$port is /dev/foo0 but the lock is called LCK..foo0
2022-11-06 09:14:24 +01:00
Franco Fichtner
637e3c4124 interfaces: create legacy_interface_log() #6115
We could change these individually but let's make sure the command
output is always funneled through the same function to deduplicate
the strings used.
2022-11-06 09:05:28 +01:00
Franco Fichtner
835ee6e610 carp: replace log_error() with log_msg() #6115 2022-11-06 09:04:23 +01:00
Franco Fichtner
1472df66fb src: strip LOG_NOTICE from log_msg() #6115
It's the default and very likely not going to change.
2022-11-06 08:50:01 +01:00
Franco Fichtner
4c1f235fac firewall: port filter sync script to log_msg() #6115 2022-11-06 08:45:32 +01:00
Franco Fichtner
efe258241c dhcp: replace log_error() with log_msg() #6115 2022-11-06 08:39:46 +01:00
Franco Fichtner
1116a84c26 rrd: replace log_error() with log_msg() #6115 2022-11-06 08:29:00 +01:00
Franco Fichtner
1be6b59243 system: adjust semantics of log_msg() #6115 2022-11-04 20:45:49 +01:00
Franco Fichtner
372b2fb60d plugins: a few more conversions #6115 2022-11-04 12:58:14 +01:00
Franco Fichtner
47b9885e84 interfaces: style issue in log message 2022-11-04 12:48:17 +01:00
Franco Fichtner
ef11b7fc1f system: closelog() -> syslog() trashes our main openlog()
So do a "reopenlog()" in the most convenient way (which is not very
convenient).  Noticed while working on #6115
2022-11-04 12:22:02 +01:00
Franco Fichtner
add531ec82 src: style sweep 2022-11-04 12:00:43 +01:00
Franco Fichtner
92157332e0 inc: replace a bit of log_error #6115 2022-11-04 11:57:07 +01:00
Franco Fichtner
b1d45ab523 ui: replace log_error or remove it #6115 2022-11-04 11:53:17 +01:00
Franco Fichtner
16cce3bdef sytem: optional field, squelch error 2022-11-04 11:04:59 +01:00
Franco Fichtner
a7fd4381a2 system: log_msg for routing #6115 2022-11-04 10:42:36 +01:00
Franco Fichtner
8b078c0ffd plugins: just debug, nothing to see 2022-11-04 10:31:06 +01:00
Franco Fichtner
0af4b0bd1e system: make activity page less inconsistent between opening and refreshing
Hide elements that shouldn't be there on page open and let them disappear
when refresh is triggered.
2022-11-04 10:25:07 +01:00
Franco Fichtner
931a851e09 interfaces: add sensible log levels for newwanip and where log_msg() is used 2022-11-04 10:13:42 +01:00
Franco Fichtner
3472a7833d health: move one more file #5877 2022-11-04 10:00:22 +01:00
Franco Fichtner
7994adf792 health: rename backend actions #5877 2022-11-04 09:50:09 +01:00
Franco Fichtner
fe21864884 health: clean up scripts/systemheath location #5877
Unfortunately this requires relocating the logging plugins to its
proper location which also affects plugins using that location.
2022-11-04 09:45:10 +01:00
Franco Fichtner
9c5b266cb7 openvpn: ifctl requires interface to operate 2022-11-03 16:41:33 +01:00
Ad Schellevis
1d1155e3d1 Firewall: Aliases - add category selection, colors and tooltips to help organise larger firewall setups 2022-11-03 15:12:09 +01:00
Ad Schellevis
4b4572c159 fix plist 2022-11-02 14:50:39 +01:00
Ad Schellevis
274ee8e5bc System: Diagnostics - add Statistics treeview containing vmstat memory characteristics. 2022-11-02 14:48:27 +01:00
Ad Schellevis
e052f17067 MVC UIBootgrid - allow edit forms in other structures than modals (fire click event on selected edit dialog, change() when saved)) 2022-11-02 09:10:53 +01:00
Franco Fichtner
405ec6e9b6 mvc: style updates 2022-11-02 08:59:56 +01:00
Franco Fichtner
8c713c78f3 interfaces: whitespace 2022-11-02 08:49:15 +01:00
Stephan de Wit
6c30959ee3 unbound: strictly apply filtering queries to new events, not artifacts from other modules 2022-11-01 16:54:51 +01:00
Franco Fichtner
530d49b742 dashboard: fix booting probe 2022-11-01 10:31:32 +01:00
Franco Fichtner
4edf223b2f src: style sweep 2022-11-01 08:50:03 +01:00
Ad Schellevis
dbbf66fda6 Interfaces: Diagnostics: ARP/NDP Tables - convert bootgrid to server side searchable variant. closes https://github.com/opnsense/core/issues/6087
With searchRecordsetBase() we're now able to push dataset searches more easily to the server side, which also offers a more consistent search experience to users. (see also https://github.com/opnsense/core/issues/4185 )
2022-10-30 12:55:44 +01:00
Ad Schellevis
45b8bcd0c7 MVC - unintended side affect from switching to pure json in bootgrids in 926a4c8e68
Since we extract the values in json ourselves, the super global $_REQUEST doesn't know about these values. This change overlays the received post values in $_REQUEST so we can still use the super global get() in Phalcon.

Undo previous changes in UIModelGrid() requiring POST values as well.
2022-10-30 11:01:27 +01:00
Ad Schellevis
7ac79e357b Virtual IP MVC/API conversion (#6105)
o add missing status icon
2022-10-29 14:32:25 +02:00
Ad Schellevis
f573082418
Virtual IP MVC/API conversion (#6105) (#6109)
Refactor status page, replace menu registration and add ACL
2022-10-29 14:22:45 +02:00
Franco Fichtner
dad04cac72 system: show booting banner on dashboard; closes #6108 2022-10-27 16:34:06 +02:00
Franco Fichtner
11663d8ff1 License: sort better 2022-10-27 09:07:44 +02:00
Franco Fichtner
0964483780 src: style sweep 2022-10-26 20:32:20 +02:00
Ad Schellevis
c2d6bab68a filter - reuse hostid on filter reload events, which makes pfsync node output easier to read (less frequent changes). 2022-10-26 16:58:16 +02:00
Ad Schellevis
7d4597efe5
Virtual IP MVC/API conversion (#6105)
closes #5984 refactors legacy pages, includes the following:

o remove type field as this seems to be redundant and confusing
o input form additions (show hide related fields)
o add button for carp type to select first unused vhid
o implement configure action, caching removed addresses in /tmp/delete_vip_{$uuid}.todo files (by the controller)
o add mode filter to search action and complete with relevant fields for our grid
o fix warning in interfaces.inc (interface_proxyarp_configure()), array creation issue
o add validation for addresses used in port forwards and outbound nat rules. previous version tried to rename forwards, we choose to be consistent when it comes to edit/delete.
o change ACL to use the new endpoints, remove "show only" ACL. we can always consider putting it back later, but the experience of only able to reach the grid likely won't be practical.
o remove old firewall_virtual_ip*.php files
2022-10-26 16:42:46 +02:00