6593 Commits

Author SHA1 Message Date
Ad Schellevis
6d2fa2b145 add missing file, https://github.com/opnsense/core/issues/1662 2017-05-28 11:46:39 +02:00
Ad Schellevis
6401d20ec8 step one, cleaning up get_interface_info(), move pfctl calls to configd. for https://github.com/opnsense/core/issues/1662 2017-05-27 18:13:47 +02:00
Ad Schellevis
b6e4e56e0c more performance issues, for https://github.com/opnsense/core/issues/1662 2017-05-27 17:14:40 +02:00
Ad Schellevis
761ccab29c is_interface_mismatch() add tinc interfaces to skip list 2017-05-27 16:31:46 +02:00
Ad Schellevis
24c62ed5b3 call overhead in interfaces_assign.php for https://github.com/opnsense/core/issues/1662 2017-05-27 16:28:11 +02:00
Ad Schellevis
c14db1a39c lower call overhead in get_interface_list(), for https://github.com/opnsense/core/issues/1662 2017-05-27 16:26:52 +02:00
Ad Schellevis
9bba2092ee Replace get_configured_ip_addresses() and get_configured_ipv6_addresses() with a more pragmatic approach, both are used to detect if an address is already configured, which gets quite sloppy when having a large number of interface
s configured.

This change probes all configured interfaces at once, and returns the full list, stripping quite some magic in the process.

Because the indexing is changed, we need to change the consumers as well here.
2017-05-26 19:49:05 +02:00
Franco Fichtner
bb80ad0296 dyndns: add URL with good info, small typo 2017-05-26 08:08:41 +02:00
Franco Fichtner
12810d9440 dynamic dns: add oray and 3322, cluster response parsing from same service backend 2017-05-26 08:02:22 +02:00
Franco Fichtner
93d68f77d7 rc: not as bad as first thought, rc.recover runs without backend 2017-05-25 12:23:36 +02:00
Franco Fichtner
c998907e40 mvc: feedback from @adschellevis, and fully skip elements without groupKey 2017-05-24 20:45:42 +02:00
Franco Fichtner
ed66e8728d rc: properly create php template on first boot
rc.recover doesn't work like that then, need to move to /bin/sh.

PR: https://forum.opnsense.org/index.php?topic=5213.0
2017-05-24 20:28:46 +02:00
Franco Fichtner
fe571ac442 mvc: group relation to something other than uuid if needed 2017-05-24 18:42:47 +02:00
Ad Schellevis
091b075476 mvc, model. Validation issue when storing a value for the first time.
If a field isn't required and the user sets it with a faulty value, it would pass because it didn't know it wasn't set before user input.
There where two issues, first one, not knowing it was in init state (solved with internalFieldLoaded), next all field types should have used actionPostLoadingEvent to customize loading behaviour.
2017-05-23 18:17:40 +02:00
Michael
f039e9211d Added help for setting up a backup machine 2017-05-22 12:05:04 +02:00
Franco Fichtner
e79d58d033 rc: yeah, that is true, but not helpful :) 2017-05-22 10:34:09 +02:00
Franco Fichtner
edefc9511f rc: softcode console restore option on -devel for now 2017-05-22 10:31:15 +02:00
Franco Fichtner
fb489a3388 rc: delete this script, rather rewrite it from scratch
There are UX issues with this anyway and the missing license
worries me too.
2017-05-22 10:27:14 +02:00
Franco Fichtner
d640192e30 rc: root console tidy-up
Adjust tabs to spaces, copyright headers and add missing one from
restore script as per:

https://github.com/pfsense/pfsense/commit/7d7ce752
2017-05-21 11:21:46 +02:00
Franco Fichtner
d63d59af90 inc: reformat the headers 2017-05-21 11:02:59 +02:00
Franco Fichtner
a039ad4db4 ipsec: fix widget count after 5.5.2 update 2017-05-19 16:19:24 +02:00
Franco Fichtner
0e9b8f1668 system: improve ssh key newline write; closes #1648 2017-05-18 20:35:59 +02:00
Franco Fichtner
59249e5c0e firmware: add new mirror courtesy of Dept. of CSE, Yuan Ze University Taiwan 2017-05-17 20:32:21 +02:00
Ad Schellevis
2e096b3e72 configd, template sorting, missing type. closes https://github.com/opnsense/core/issues/1641 2017-05-17 18:46:03 +02:00
Franco Fichtner
f499c3dd6e rc: cosmetics 2017-05-17 06:04:19 +02:00
Ad Schellevis
254775d48e filter/port alias, allow ranges in the form of 80-100, replace with 80:100. closes https://github.com/opnsense/core/issues/1529 2017-05-16 20:42:13 +02:00
Ad Schellevis
0b89f1d02b IDS, add advanced feature default-packet-size, closes https://github.com/opnsense/core/issues/1622 2017-05-15 20:23:45 +02:00
Franco Fichtner
fae2e48f94 rc: tweak previous 2017-05-15 08:18:55 +02:00
Franco Fichtner
82032a7316 rc: no interfaces, no list to show 2017-05-15 08:17:29 +02:00
Franco Fichtner
4c47261017 system: tweak referer error 2017-05-15 07:59:04 +02:00
Franco Fichtner
f3ed9ca3bc rc: also clear the IP cache files 2017-05-15 06:57:33 +02:00
Franco Fichtner
355939b228 rc: improve print of syshook invokes 2017-05-15 06:37:11 +02:00
Franco Fichtner
24403a5122 rc: correct prompt for #1606 2017-05-14 08:47:46 +02:00
Franco Fichtner
67fc3c2709 rc: need $fp for manual DNS server 2017-05-14 08:42:05 +02:00
Franco Fichtner
c1f018b137 rc: clear the name cache files, no reason not to 2017-05-14 08:37:05 +02:00
Franco Fichtner
601bca94b0 rc: reconfigure dns #1606 2017-05-14 08:23:02 +02:00
Franco Fichtner
ec3bcbe26b system: also for #1291 2017-05-14 08:05:00 +02:00
Franco Fichtner
4fa4d21140 system: address oddities in general setup 2017-05-14 07:50:33 +02:00
Franco Fichtner
124a869d4a rc: allow to set dns if default gateway is choosen 2017-05-14 07:50:33 +02:00
Franco Fichtner
b47c65bc01 system: allow up to 8 nameservers 2017-05-14 07:50:30 +02:00
Franco Fichtner
5eb2c986ca wizard: force change of root password 2017-05-14 06:41:37 +02:00
Franco Fichtner
89d73f6916 gateways: only force apinger status if running 2017-05-14 06:40:50 +02:00
Franco Fichtner
c39ea487c8 rc: remove a few unimportant prints #1606 2017-05-12 18:48:23 +02:00
Franco Fichtner
21bffecd67 rc: address missing newline after default gw question #1606 2017-05-12 18:24:17 +02:00
Franco Fichtner
27490d7ad2 rc: if we replace, replace all #1606 2017-05-12 18:18:03 +02:00
Franco Fichtner
0a339af995 rc: should delete that #1606 2017-05-12 18:10:38 +02:00
Franco Fichtner
43467751b4 rc: small fixes and improvements #1606 2017-05-12 18:05:22 +02:00
Franco Fichtner
f6a38f36ce rc: allow to override the default gateway #1606 2017-05-12 17:52:39 +02:00
Franco Fichtner
c60c29bf57 rc: allow to select far gateway for #1606 2017-05-12 17:22:26 +02:00
Ad Schellevis
e408259944 configd, templates, add sortDictList to helpers. closes https://github.com/opnsense/core/issues/1641
example usage:
{%  for item in helpers.sortDictList(OPNsense.ConfigObject, 'description') %}
    {{item.description}}
{%  endfor %}
2017-05-12 15:29:34 +02:00