Commit Graph

25799 Commits

Author SHA1 Message Date
Renato Botelho
a9d6ae1734 Merge pull request #1746 from phil-davis/patch-7 2015-07-15 10:20:52 -03:00
Renato Botelho
fe05aacf24 Merge pull request #1747 from phil-davis/patch-8 2015-07-15 10:18:24 -03:00
Renato Botelho
5e3999791f Merge pull request #1749 from phil-davis/cancel-referer 2015-07-15 10:16:07 -03:00
Chris Buechler
ccf504fc30 Merge pull request #1752 from phil-davis/patch-9 2015-07-14 18:25:17 -05:00
Chris Buechler
e65ebe325e Fix adding of VoIP rules from traffic shaper wizard where IP/alias is not
specified.
2015-07-14 17:55:05 -05:00
Chris Buechler
8795064c3e Merge pull request #1753 from mortencombat/patch-1 2015-07-14 16:49:05 -05:00
mortencombat
3e31a7f825 Fix GratisDNS support
The current implementation is not working for me, maybe the interface was changed by GratisDNS? I tested the update URL manually with the IP added ("&i=<ip>") which fixed the issue for me. Code adjusted to include IP.
2015-07-14 23:43:07 +02:00
Phil Davis
cc4d13683e Fix glob for serial device names
Removing the "." that was in {,.[0-9]} allows it to match /dev/cuau10 and onward.
I added lots of comments on the glob expression, because the format of the glob expression is not the same as an ordinary regex.
2015-07-14 19:09:01 +05:45
Chris Buechler
82921c72fa Merge pull request #1748 from phil-davis/patch-9 2015-07-13 20:22:58 -05:00
Phil Davis
5eabad3db3 Cancel button after input error
If there is an input error then the edit page is redrawn showing the
input errors. The HTTP_REFERER becomes the current page, rather than the
true original referer. Then if you click Cancel the current page is just
redrawn.
This change makes the code remember the original referer, so if the user
enters some invalid data, presses Save, reads the input error messages
then presses Cancel they are taken back out to the original page - the
same as if Cancel was used before Save.
2015-07-13 10:53:03 +05:45
Phil Davis
b45537f75b Fix references to Load Balancer Virtual Server redirect_mode
When adding a Virtual Server, if you press Save with blank fields, the validation does not show. That was because the switch statement selecting the fields to validate had wrong case values. Actually the "mode" here is locked to "redirect_mode" (later code to allow the mode to be selected by the user is commented out - not implemented.
I fixed the reqdfieldsn array also for relay_mode case, even though it is never used. It looked dodgy the way it was.
2015-07-13 01:25:07 +05:45
Phil Davis
ec4112ddcf Interfaces PPPs edit avoid foreach() warning
If you go to Interfaces, assign, PPPs, press "+" to add an entry, then press Save without entering anything then you get a warning about the foreach() here.
The is_array() check fixes it.
2015-07-13 00:45:37 +05:45
Phil Davis
2f0e31b1aa Interfaces GRE Edit fix required fields text
The reqdfields had only 4 entries but reqdfieldsn has 5 entries and the field names to text descriptions did not match up.
Fixed it.
2015-07-13 00:28:04 +05:45
Chris Buechler
fd29caa1c8 fix fsync, thanks Phil Davis for noticing 2015-07-10 20:03:50 -05:00
Chris Buechler
88f2c3354b fix fsync 2015-07-10 18:21:56 -05:00
Chris Buechler
8a811010a4 fsync after fclose here, clean up some white space while here.
Conflicts:
	etc/inc/config.lib.inc
2015-07-10 18:13:49 -05:00
Chris Buechler
d7b97ca34c fsync conf_path here too 2015-07-10 17:48:19 -05:00
Chris Buechler
89a8d28e5c fix typo 2015-07-10 16:23:33 -05:00
Chris Buechler
863094c542 Merge pull request #1739 from yakar/patch-6 2015-07-08 21:50:29 -05:00
Aydın Yakar
1a1d9a8c59 Update index.php 2015-07-07 13:42:28 +03:00
Aydın Yakar
c4b85119f9 Update index.php 2015-07-07 13:39:00 +03:00
Chris Buechler
f2265d88c7 Fix dashboard hardware crypto display where AES-NI is enabled. Ticket 2015-07-06 17:05:19 -05:00
Chris Buechler
10c65c480c Don't check whether the QinQ interface exists when deleting. Unnecessarily
makes QinQ un-deletable where the parent interface no longer exists
(removed, config restored from diff hardware, etc.).
2015-07-06 15:41:49 -05:00
Renato Botelho
38b35612ea Make sure config.xml is safe on disk when restoring a backup, ticket #4803 2015-07-06 13:55:54 -03:00
Renato Botelho
a83602e84a Make sure temporary config file is safe on disk before rename, ticket #4803 2015-07-06 13:51:53 -03:00
Renato Botelho
bee2f2476c Remove reference to vfs.forcesync 2015-07-06 13:48:43 -03:00
Renato Botelho
d0577bd23e Use right function pfSense_fsync to make sure config file is safe on disk, ticket #4803 2015-07-06 12:43:01 -03:00
Chris Buechler
8cbb22c653 fix includes so shellsession restartipsec works. 2015-07-05 21:00:40 -05:00
Chris Buechler
5af646023e remove debug.pfftpproxy, it no longer exists. 2015-07-04 01:47:35 -05:00
Chris Buechler
2300307e5f de-activate sync on upgrade where it's enabled now that the root passwd/group problem is fixed. Ticket #4523 2015-07-03 23:11:11 -05:00
Chris Buechler
d44e7dc081 Fix keyid identifers, and go back to using %any in ipsec.secrets as in previous versions, fixing a variety of other ID issues. Latter will break some mobile IPsec circumstances, fix for that to come after more testing. Ticket #4811 2015-07-03 20:06:12 -05:00
Renato Botelho
96f980719c Merge pull request #1736 from phil-davis/patch-1 2015-07-03 15:47:05 -03:00
Phil Davis
6135a11fd9 Fix put static route destination in config change description
When enabling or disabling a route by using the enable/disable button on the Routes page, the destination network was not being put in the config change description, although the code intended it to be there.
This fixes it.
2015-07-04 00:20:29 +05:45
jim-p
9195a83780 Improve handling of port ranges in relayd, fixes #4810 2015-07-01 16:10:28 -04:00
Chris Buechler
9924ebd4af Remove the unnecessary deletion of rc.conf. Add an empty rc.conf with a
note so people don't think they should be using it.
2015-07-01 15:01:28 -05:00
Renato Botelho
45521d7c75 Remove $array_keys references and use $pkg_info. Spotted-by: phil-davis 2015-07-01 14:33:55 -03:00
jim-p
b75cdd94a7 Encode ca/cert descr in system_certmanager.php 2015-07-01 11:36:22 -04:00
jim-p
b741d2ef00 Encode ca/cert descr in system_certmanager.php 2015-07-01 11:32:25 -04:00
jim-p
234cde4b5d Encode ca/cert/crl descr in system_crlmanager.php 2015-07-01 11:27:43 -04:00
jim-p
28bb81784f Encode ca/cert descr in vpn_openvpn_server.php 2015-07-01 11:19:50 -04:00
jim-p
8bcc385b3a Encode ca/cert descr in vpn_openvpn_client.php 2015-07-01 11:17:45 -04:00
jim-p
d6a94eda00 Encode ca/cert descr in vpn_ipsec_phase1.php 2015-07-01 11:15:31 -04:00
jim-p
a14571438d Encode ca/cert descr in system_authservers.php 2015-07-01 11:14:37 -04:00
jim-p
11df032059 Encode ca/cert descr in system_usermanager.php 2015-07-01 11:12:13 -04:00
jim-p
0d45890317 Encode cert/ca descr in system_advanced_admin.php 2015-07-01 11:11:22 -04:00
jim-p
e67c70a3b3 Encode cert/ca descr in services_captiveportal.php 2015-07-01 11:10:06 -04:00
jim-p
636dfa9528 Encode ca/cert info in openvpn_wizard.inc 2015-07-01 11:07:02 -04:00
Renato Botelho
3d3e30b3a5 Modify pkg_mgr.php to deal with pkg 2015-07-01 11:29:13 -03:00
Renato Botelho
29d84dd47e Fix install_package calls and check for failures 2015-07-01 10:58:57 -03:00
Renato Botelho
5e51b5b9be Simplify logic and use correct calls for install_package 2015-07-01 10:58:27 -03:00