Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
abad402c 07/21/2015 12:47 PM Jim Pingle

Allow pre-filling (but no automatic action) of the download filename on exec.php. Setup a link to download the status output.tgz in status.php

7b2811fb 07/18/2015 07:59 PM Doktor Notor

Fix caps

4dbd95d4 07/18/2015 07:44 PM Doktor Notor

Bug #4551 - consistent usage of Forwarder/Resolver across the WebGUI

Clarify that this applies to DNS Resolver as well. Update the translations template.

896607c3 07/18/2015 06:34 PM Doktor Notor

Bug #4551 - consistent usage of Forwarder/Resolver across the WebGUI

Clarify that this applies to DNS Resolver as well.

612da355 07/18/2015 06:32 PM Doktor Notor

Bug #4551 - consistent usage of Forwarder/Resolver across the WebGUI

Clarify that this applies to DNS Resolver as well.

117948fd 07/18/2015 05:36 PM Renato Botelho

Merge pull request #1738 from phil-davis/Static-Routes

205178aa 07/18/2015 05:17 PM Phil Davis

Switch logic of $disabled tests system_gateways

0f125160 07/17/2015 08:29 PM Doktor Notor

Fix Firewall - Aliases GUI inconsistencies for URL Table type aliases

The GUI should show descriptions according to what's selected from the dropdown, but currently does not for URL Table (IPs) and URL Table (Ports) type of aliases.

f84945f3 07/17/2015 12:29 PM Renato Botelho

Merge pull request #1758 from phil-davis/patch-2

a296286b 07/16/2015 10:24 PM Chris Buechler

Revert "myid_data and peerid_data fields are not relevant with asn1dn."

This reverts commit 0e19c4bba659a5f4d28f9c8b20c80717a90964b9.

0e19c4bb 07/16/2015 10:17 PM Chris Buechler

myid_data and peerid_data fields are not relevant with asn1dn.

Conflicts:
usr/local/www/vpn_ipsec_phase1.php

348c7c87 07/16/2015 04:45 PM Chris Buechler

Remove old, unused NetUtils.js

8235e730 07/16/2015 03:50 PM Phil Davis

Restrict serial ports glob to cua followed by alpha

Improve this a little more to match only alpha after /dev/cua (/dev/cuau for example)

72b28115 07/16/2015 05:07 AM Phil Davis

Make serial ports glob cope with many more possibilities

It originally coped with things like cuau1 cuau1.1
Then I made it cope with things like cuau1 cuau11 but it stopped working for cuau1.1
This one copes with:
cuau1
cuau1.1
cuau1.11
cuau11
cuau11.1
cuau11.11...

d8b221eb 07/15/2015 03:03 PM Renato Botelho

Merge pull request #1742 from phil-davis/patch-3

41ec196d 07/15/2015 03:00 PM Renato Botelho

Merge pull request #1743 from phil-davis/patch-4

124bf68c 07/15/2015 01:30 PM Renato Botelho

Merge pull request #1745 from phil-davis/patch-6

a9d6ae17 07/15/2015 01:20 PM Renato Botelho

Merge pull request #1746 from phil-davis/patch-7

fe05aacf 07/15/2015 01:18 PM Renato Botelho

Merge pull request #1747 from phil-davis/patch-8

5e399979 07/15/2015 01:16 PM Renato Botelho

Merge pull request #1749 from phil-davis/cancel-referer

ccf504fc 07/14/2015 11:25 PM Chris Buechler

Merge pull request #1752 from phil-davis/patch-9

e65ebe32 07/14/2015 10:55 PM Chris Buechler

Fix adding of VoIP rules from traffic shaper wizard where IP/alias is not
specified.

cc4d1368 07/14/2015 01:24 PM Phil Davis

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.

5eabad3d 07/13/2015 05:08 AM Phil Davis

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....

b45537f7 07/12/2015 07:40 PM Phil Davis

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....

ec4112dd 07/12/2015 07:00 PM Phil Davis

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.

2f0e31b1 07/12/2015 06:43 PM Phil Davis

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.

e2db25cc 07/12/2015 06:31 PM Phil Davis

Interfaces GIF Edit fix do_input_validation

Make the required fields be correct and match thier text names, which should each have their own gettext() cal so as to build a proper array at line 81. Basically it was all broken and the errors displayed when field/s were left empty were rubbish.

0c53abc2 07/12/2015 08:53 AM Phil Davis

Firewall Aliases Edit ensure input_addresses array exists

If you click "+" to add an alias, then press Save without entering anything, you get:
Warning: Invalid argument supplied for foreach() in /usr/local/www/firewall_aliases_edit.php on line 402
as well as the various messages related to $input_errors....

a3669259 07/12/2015 08:40 AM Phil Davis

Firewall Aliases Import display error message for invalid alias name

If you open firewall_aliases_import and enter just an invalid Alias Name (e.g. a$b) and press save or press save with all fields empty, then the screen redraws but the input error(s) is not displayed....

9a01d22d 07/12/2015 05:49 AM Phil Davis

Static routes merge "else" and "if" into "else if"

As suggested by Renato.

1a1d9a8c 07/07/2015 10:42 AM Aydin Yakar

Update index.php

c4b85119 07/07/2015 10:39 AM Aydin Yakar

Update index.php

f2265d88 07/06/2015 10:05 PM Chris Buechler

Fix dashboard hardware crypto display where AES-NI is enabled. Ticket

10c65c48 07/06/2015 08:41 PM Chris Buechler

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.).

028ff8f8 07/05/2015 05:33 PM Phil Davis

Fix #4813 validation of enable/disable of gateways and static routes

1) A disabled gateway can always be enabled - no extra validation
needed.
2) When disabling an enabled gateway, check to see that the gateway is
not used in any gateway group or enabled static route (similar tests to...

6135a11f 07/03/2015 06:35 PM Phil Davis

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....

45521d7c 07/01/2015 05:33 PM Renato Botelho

Remove $array_keys references and use $pkg_info. Spotted-by: phil-davis

b75cdd94 07/01/2015 03:36 PM Jim Pingle

Encode ca/cert descr in system_certmanager.php

b741d2ef 07/01/2015 03:32 PM Jim Pingle

Encode ca/cert descr in system_certmanager.php

234cde4b 07/01/2015 03:27 PM Jim Pingle

Encode ca/cert/crl descr in system_crlmanager.php

28bb8178 07/01/2015 03:19 PM Jim Pingle

Encode ca/cert descr in vpn_openvpn_server.php

8bcc385b 07/01/2015 03:17 PM Jim Pingle

Encode ca/cert descr in vpn_openvpn_client.php

d6a94eda 07/01/2015 03:15 PM Jim Pingle

Encode ca/cert descr in vpn_ipsec_phase1.php

a1457143 07/01/2015 03:14 PM Jim Pingle

Encode ca/cert descr in system_authservers.php

11df0320 07/01/2015 03:12 PM Jim Pingle

Encode ca/cert descr in system_usermanager.php

0d458903 07/01/2015 03:11 PM Jim Pingle

Encode cert/ca descr in system_advanced_admin.php

e67c70a3 07/01/2015 03:10 PM Jim Pingle

Encode cert/ca descr in services_captiveportal.php

636dfa95 07/01/2015 03:07 PM Jim Pingle

Encode ca/cert info in openvpn_wizard.inc

3d3e30b3 07/01/2015 02:29 PM Renato Botelho

Modify pkg_mgr.php to deal with pkg

29d84dd4 07/01/2015 01:58 PM Renato Botelho

Fix install_package calls and check for failures

6a3380dd 07/01/2015 01:22 PM Renato Botelho

Remove old and unnecessary code

f3ec49e1 06/26/2015 10:55 AM Phil Davis

Only process Traffic Graph object if it is open

The Traffic Graphs widget puts a graph object for every interface into
the HTML of the widget. Underneath the graph object for every interface
makes the call to graph.php to get data for the graph, and the refresh...

608f6828 06/25/2015 01:22 PM Renato Botelho

Merge pull request #1717 from phil-davis/traffic-graph-description

72e2a428 06/25/2015 12:39 PM Renato Botelho

Merge pull request #1725 from phil-davis/gateways-widget

03e4bd0c 06/25/2015 11:48 AM Renato Botelho

Merge pull request #1730 from phil-davis/patch-2

7d6b8b9b 06/25/2015 11:47 AM Renato Botelho

Merge pull request #1729 from phil-davis/widget-iform

aa676b75 06/25/2015 11:29 AM Renato Botelho

Merge pull request #1719 from N0YB/XHTML_Compliance_Diagnostics_Tables

90ad3a76 06/24/2015 05:00 PM Phil Davis

Display any advanced DHCP server settings

when the page is first displayed.
This has annoyed me a few times and it annoyed me again just now. I had some settings in one of the advanced boxes that were no longer wanted, but when the services_dhcp page is shown the contents of advanced settings are not shown to the user - the user has to click on each advanced button to see if there are any settings already there....

9a3ec939 06/23/2015 07:28 AM Phil Davis

Standardize widget iform and submit names

The log and picture widgets were both using "iforma" and "submita".
Actually it did not break anything because it was only the form name
repeated, not id. And nothing was using these names.
Traffic Graphs widget was using just "iform". That is a bit dangerous...

6538d33a 06/23/2015 05:53 AM Phil Davis

GW widget input form name-id needs to be unique

among all widget forms.
Traffic Graphs widget already uses the vanilla name "iform". Reusing that name causes Traffic Graphs widget graph display state (show/hide) not to be saved if GW widget was also displayed on the dashboard....

be253f60 06/22/2015 07:20 AM Phil Davis

Add DNS host override descriptions

since we can sometimes provide a useful description from that config
data also.
Fill the $iplookup array with host or FQDN data if description is blank
or host or FQDN was requested. Then we can use $iplookup in all cases...

3d0391f1 06/19/2015 06:15 PM Phil Davis

Display monitor IP on Gateways widget

This change adds a setting for the Gateways dashboard widget so the user
can choose to display the Gateway IP, Monitor IP or both.
If "both" is chosen and the Gateway IP is the Monitor IP, then only the
Gateway IP is shown - i.e. the same IP address is not repeated on the...

3378289a 06/19/2015 03:35 PM Ermal Luçi

Ticket #4746 Correctly set global variables to be used by hostnames cod epaths

55a1435e 06/18/2015 01:33 PM Jim Pingle

Add a GUI field to increase the pf frag entries limit. Fixes ticket #4775

a7c28e99 06/16/2015 05:42 PM Phil Davis

Say what is happening when reinstalling package GUI XML

At the confirmation dialog after pressing the "Reinstall XML" button, the text does not distinguish between having pressed "Reinstall the whole package" and "Reinstall the GUI/XML". It would be nice if the text of this confirmation allowed the user to be confident about which button they had just pushed, before confirming the action....

84a2e915 06/16/2015 04:55 PM Phil Davis

Why is break missing for reinstallxml

I thought that "reinstallxml" should do less than "reinstallpkg" but actually it was getting stuff here, then falling through "reinstalpkg" which did delete_package_xml and then install_pkg, which got the files a 2nd time and......

ab2fd59d 06/16/2015 04:11 PM Jim Pingle

Encoding in services_unbound_advanced.php

a5e950ae 06/16/2015 04:02 PM Jim Pingle

Encoding in system_advanced_sysctl.php

df6a9c6d 06/16/2015 03:54 PM Jim Pingle

Encoding in interfaces.php

e0829812 06/16/2015 03:45 PM Jim Pingle

Encoding in services_unbound.php

55f6b38b 06/16/2015 03:42 PM Jim Pingle

Encoding in pkg_mgr_settings.php

b29a65a4 06/16/2015 03:38 PM Jim Pingle

Encoding in system_advanced_admin.php

f727f257 06/16/2015 03:36 PM Jim Pingle

Encoding in interfaces_ppps_edit.php

05dea4b7 06/16/2015 03:31 PM Jim Pingle

Encoding in diag_packet_capture.php

f68e2f9f 06/16/2015 03:27 PM Jim Pingle

Encoding in interfaces_qinq_edit.php

dd5ec20f 06/16/2015 03:22 PM Jim Pingle

Encoding in services_dnsmasq.php

5b8c4101 06/16/2015 03:11 PM Jim Pingle

Encoding in vpn_ipsec_settings.php

b18d2108 06/16/2015 03:10 PM Jim Pingle

More encoding

2debaf5c 06/16/2015 02:57 PM Jim Pingle

Fix some low-hanging potential security issues.

3aef3ad0 06/16/2015 02:10 PM Jim Pingle

Be more careful with encoding on pages that use single quotes around HTML attributes

1cdfcaf4 06/16/2015 01:24 PM Jim Pingle

Additional encoding for system_advanced_misc.php

ee3de7b1 06/16/2015 01:12 PM Jim Pingle

Protect single quotes as well to prevent JS injection, due to the way this page uses single quotes for attributes.

034620d6 06/16/2015 12:57 PM Jim Pingle

Encode parameters in system_advanced_firewall.php before displaying back to the user.

7d8dd0b7 06/15/2015 07:25 PM N0YB

Add semicolon

Fix delete Java Script to match valid HTML ID

86bc5c1a 06/15/2015 04:13 PM Ermal Luçi

Merge pull request #1722 from chapmajs/fix_hughesnet_pd

b8ceb344 06/15/2015 02:46 PM Jonathan

Fixing PD size selection for HughesNet

ce817bdb 06/15/2015 02:46 PM Ermal Luçi

Remove the GUI for the pc-sysinstaller as well and add it to obsoletee files

d20f28db 06/15/2015 02:36 PM Renato Botelho

Merge pull request #1721 from phil-davis/style

6c07db48 06/15/2015 08:34 AM Phil Davis

Code spacing

and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.

bf2dba75 06/15/2015 05:39 AM N0YB

XHTML Compliance

html id's not permitted to begin with a number.
html id's not permitted to contain '/'
add prefix (entry_) and replace slash with hyphen.
table entry id format becomes: entry_<ip address>-<cidr>
replacing the format: <ip address>/<cidr>
does not change the displayed format.

6bb817b4 06/15/2015 05:22 AM Phil Davis

status_queues missing semi-colon

This really looks like it should have a semi-colon. Somehow the PHP interpreter is not being fussy about it in this context, I guess being followed by the "endif;" keyword the interpreter guesses the previous statement must be done.

d26955ff 06/15/2015 12:58 AM Ermal Luçi

Ticket #4655 well manually merge pull/1715. Thanks: Phil

26b8101b 06/14/2015 07:19 AM Chris Buechler

add input validation for proxy URL, port, user.

Conflicts:
usr/local/www/system_advanced_misc.php

67d96856 06/13/2015 12:35 PM Ermal Luçi

Ok another round of this which unbreaks input error validation messages

f7531032 06/12/2015 06:35 PM Ermal Luçi

Make this right finally :). Thanks-ti: Phil-davis

b5d102e7 06/12/2015 03:37 PM Ermal Luçi

Activate the redirection that for some reason got disabled

a7a064f4 06/12/2015 10:52 AM Phil Davis

Add description as a display option on Traffic Graph

This is handy at sites where lots of the LAN clients have static-mapped
DHCP IP addresses. Depending on the site host naming conventions, host
names can be a bit obtuse - may not tell you where the client device...

71f29f44 06/11/2015 09:57 PM Ermal Luçi

Ticket #4655 Do not behave against the logic of checkbox and description.

ed899400 06/11/2015 06:43 PM Bruno Ferri

fix checking for overlaps of NAT destination port