summaryrefslogtreecommitdiffstats
path: root/usr/local/www
Commit message (Collapse)AuthorAgeFilesLines
...
* Encode ca/cert descr in system_certmanager.phpjim-p2015-07-011-6/+14
|
* Encode ca/cert/crl descr in system_crlmanager.phpjim-p2015-07-011-11/+16
|
* Encode ca/cert descr in vpn_openvpn_server.phpjim-p2015-07-011-5/+5
|
* Encode ca/cert descr in vpn_openvpn_client.phpjim-p2015-07-011-3/+3
|
* Encode ca/cert descr in vpn_ipsec_phase1.phpjim-p2015-07-011-2/+2
|
* Encode ca/cert descr in system_authservers.phpjim-p2015-07-011-1/+1
|
* Encode ca/cert descr in system_usermanager.phpjim-p2015-07-011-1/+1
|
* Encode cert/ca descr in system_advanced_admin.phpjim-p2015-07-011-1/+1
|
* Encode cert/ca descr in services_captiveportal.phpjim-p2015-07-011-1/+1
|
* Encode ca/cert info in openvpn_wizard.incjim-p2015-07-011-0/+8
|
* Modify pkg_mgr.php to deal with pkgRenato Botelho2015-07-011-89/+19
|
* Fix install_package calls and check for failuresRenato Botelho2015-07-011-3/+3
|
* Remove old and unnecessary codeRenato Botelho2015-07-011-7/+0
|
* Only process Traffic Graph object if it is openPhil Davis2015-06-262-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 interval also keeps happening, which keeps gathering the data every refresh interval for every interface. This wastes a lot of CPU back on the pfSense box gathering data repeatedly if the system has a lot of interfaces and only has the Traffic Graph enabled for 1 or a few of them. e.g. on my poor little Alix at home I had setup 6 VLANs to test some stuff, so I had WAN, LAN, OPT1 and 6 tagged VLANS - 9 interfaces. When I enable the Traffic Graphs widget on the dashboard, the Alix CPU is driven 100% trying to keep up with gathering data for 9 interfaces every 10 seconds, even though I only have 1 graph actually opened! I couldn't see a way to enable/disable the graph.php object from executing. So this change puts the object in and out of the HTML: a) At first display the graph.php object HTML is only put in the relevant "div" if the graph is actually set to be shown in the config. b) When a graph is opened by the user, the Java Script puts the necessary graph.php object HTML into the div. The graph data then starts being requested... c) When a graph is minimised by the user, the Java Script removes the graph.php object HTML from the div. The actions of graph.php stop happening. I can see the difference by just watching "top" from the command line on a low-power system and open/minimizing the graphs on the dashboard. If there is a better way to enable/disable an object like this I am happy to learn about it.
* Merge pull request #1717 from phil-davis/traffic-graph-descriptionRenato Botelho2015-06-252-19/+46
|\
| * Add DNS host override descriptionsPhil Davis2015-06-221-14/+30
| | | | | | | | | | | | | | | | 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 where we have local data. It simplifies some logic a bit.
| * Add description as a display option on Traffic GraphPhil Davis2015-06-122-16/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 might actually be in the building. We put other useful stuff in the description - "Jane Doe - Reception". This enhancement allows the user of Traffic Graph to select "Description" in the "Display" dropdown. Then, for IP addresses that are static mapped, the description from the config is shown, rather than the host name. When a client device is noticed hogging bandwidth, it is easy to go straight to "Jane Doe - Reception" and ask why they are doing some huge download. Might be useful for for others?
* | Merge pull request #1725 from phil-davis/gateways-widgetRenato Botelho2015-06-252-12/+126
|\ \
| * | GW widget input form name-id needs to be uniquePhil Davis2015-06-231-1/+1
| | | | | | | | | | | | | | | 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. This fixes it.
| * | Display monitor IP on Gateways widgetPhil Davis2015-06-202-12/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 widget display. If "both" is chosen and the Monitor IP is different to the Gateway IP then the Monitor IP is shown in () brackets after the Gateway IP. If "Monitor IP" is chosen and there is no special Monitor IP defined, then the Gateway IP is displayed (which is also the Monitor IP). If "Gateway IP" is chosen then the widget behaves as it does now. "Gateway IP" is the default. I find this handy because the Gateways widget reports RTT (latency) and loss figures that are actually for pings to the Monitor IP. So it seems useful to be able to display the Monitor IP in the widget.
* | | Merge pull request #1730 from phil-davis/patch-2Renato Botelho2015-06-251-14/+14
|\ \ \
| * | | Display any advanced DHCP server settingsPhil Davis2015-06-241-14/+14
| |/ / | | | | | | | | | | | | 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. This change displays the settings automatically, if there is something already specified. It works the same way as the Firewall Rules advanced boxes.
* | | Merge pull request #1729 from phil-davis/widget-iformRenato Botelho2015-06-257-13/+13
|\ \ \
| * | | Standardize widget iform and submit namesPhil Davis2015-06-237-13/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 for the future. I got tricked when cut-pasting some code to make some settings options for the Gateways widget. I kept "iform" and then wondered for a while why my Traffic Graphs widget show-hide settings would not save. There was traffic graph JS that referred to just "iform" and that started modifying the "iform" in my new Gateways widget code. Rather than having names "iforma", "iformb"... "submita", "submitb"... it seems much less risk of accidental duplication if these are named like: name_of_widget_iform name_of_widget_submit I don't think there is any user-visible bug in 2.2.* - so this standardization could just go into 2.3
* | | Merge pull request #1719 from N0YB/XHTML_Compliance_Diagnostics_TablesRenato Botelho2015-06-251-2/+3
|\ \ \ | |/ / |/| |
| * | Add semicolonN0YB2015-06-151-2/+3
| | | | | | | | | | | | Fix delete Java Script to match valid HTML ID
| * | XHTML ComplianceN0YB2015-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Ticket #4746 Correctly set global variables to be used by hostnames cod epathsErmal LUÇI2015-06-191-2/+4
| | |
* | | Add a GUI field to increase the pf frag entries limit. Fixes ticket #4775jim-p2015-06-181-0/+17
| | |
* | | Say what is happening when reinstalling package GUI XMLPhil Davis2015-06-161-1/+3
| | | | | | | | | | | | | | | 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. Note: This stuff has no gettext() wrappers - but that can be fixed later, not get mixed up in this.
* | | Why is break missing for reinstallxmlPhil Davis2015-06-161-0/+1
| | | | | | | | | | | | | | | 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... Maybe that was supposed to happen? Anyway, I thought I would point this out and someone can either commit this pull request if the "break" should be there, or explain to me why "reinstallxml" is supposed to fall through executing all this code.
* | | Encoding in services_unbound_advanced.phpjim-p2015-06-161-2/+2
| | |
* | | Encoding in system_advanced_sysctl.phpjim-p2015-06-161-7/+7
| | |
* | | Encoding in interfaces.phpjim-p2015-06-161-4/+4
| | |
* | | Encoding in services_unbound.phpjim-p2015-06-161-1/+1
| | |
* | | Encoding in pkg_mgr_settings.phpjim-p2015-06-161-1/+1
| | |
* | | Encoding in system_advanced_admin.phpjim-p2015-06-161-1/+1
| | |
* | | Encoding in interfaces_ppps_edit.phpjim-p2015-06-161-2/+2
| | |
* | | Encoding in diag_packet_capture.phpjim-p2015-06-161-3/+3
| | |
* | | Encoding in interfaces_qinq_edit.phpjim-p2015-06-161-1/+1
| | |
* | | Encoding in services_dnsmasq.phpjim-p2015-06-161-1/+1
| | |
* | | Encoding in vpn_ipsec_settings.phpjim-p2015-06-161-1/+1
| | |
* | | More encodingjim-p2015-06-161-2/+2
| | |
* | | Fix some low-hanging potential security issues.jim-p2015-06-163-8/+8
| | |
* | | Be more careful with encoding on pages that use single quotes around HTML ↵jim-p2015-06-162-5/+5
| | | | | | | | | | | | attributes
* | | Additional encoding for system_advanced_misc.phpjim-p2015-06-161-7/+7
| | |
* | | Protect single quotes as well to prevent JS injection, due to the way this ↵jim-p2015-06-161-10/+10
| | | | | | | | | | | | page uses single quotes for attributes.
* | | Encode parameters in system_advanced_firewall.php before displaying back to ↵jim-p2015-06-161-5/+5
| | | | | | | | | | | | the user.
* | | Merge pull request #1722 from chapmajs/fix_hughesnet_pdErmal LUÇI2015-06-151-1/+1
|\ \ \
| * | | Fixing PD size selection for HughesNetJonathan2015-06-151-1/+1
| | | |
OpenPOWER on IntegriCloud