Commit Graph

11479 Commits

Author SHA1 Message Date
Phil Davis
38cb3c392d Make a good copy of PHP_errors.log for crash reporter
Forum report https://forum.pfsense.org/index.php/topic,72877.0.html
2014-02-19 23:56:03 -08:00
Ermal Luçi
d3515e02d5 Merge pull request #938 from nagyrobi/patch-12
Create ntp_status.widget.php
2014-02-19 17:00:49 +01:00
Ermal Luçi
dcbf41b090 Merge pull request #937 from nagyrobi/patch-11
Create ntp_status.inc
2014-02-19 17:00:06 +01:00
Ermal Luçi
cfce004f70 Merge pull request #936 from nagyrobi/patch-10
Update status_rrd_graph_settings.php
2014-02-19 16:59:56 +01:00
Ermal Luçi
0a3adf06d0 Merge pull request #935 from nagyrobi/patch-9
Update status_rrd_graph_img.php
2014-02-19 16:59:43 +01:00
Ermal Luçi
a386971b2d Merge pull request #934 from nagyrobi/patch-8
Update status_rrd_graph.php
2014-02-19 16:59:28 +01:00
Ermal Luçi
cc7343231c Merge pull request #933 from nagyrobi/patch-7
Update status_ntpd.php
2014-02-19 16:58:57 +01:00
Ermal
b3974c79e5 Make this usable 2014-02-19 15:58:05 +00:00
Ermal Luçi
8988ab9581 Merge pull request #932 from nagyrobi/patch-6
Create services_ntpd_pps.php
2014-02-19 16:44:19 +01:00
Ermal
a3498099f2 Correct some issues on status 2014-02-19 15:36:02 +00:00
Ermal Luçi
6216c1b583 Merge pull request #931 from nagyrobi/patch-5
Create services_ntpd_gps.php
2014-02-19 16:29:17 +01:00
Ermal
482c93e5a2 Another fix even for XHTML compliance and proper selection 2014-02-19 15:28:39 +00:00
Ermal
08005d0aa3 Fix some obvious problems in the code 2014-02-19 15:27:40 +00:00
Ermal Luçi
aa1183ef50 Merge pull request #930 from nagyrobi/patch-4
Update services_ntpd.php
2014-02-19 16:21:27 +01:00
Ermal Luçi
6b2df902cd Merge pull request #947 from stilez/patch-2
Filter log - ensure IPv6 AJAX resolve works too
2014-02-19 15:27:09 +01:00
stilez
30a840368f Filter log - ensure IPv6 AJAX resolve works too
Using str_replace(array('.', ':') as asked
2014-02-19 14:09:50 +00:00
stilez
8fc2a648df Filter log - ensure IPv6 works too 2014-02-19 13:07:23 +00:00
Phil Davis
0c8cc91517 Remove old webguiport code
webguiport is managed in system_advanced_admin.php these days, not here in system.php. This validation is never executed, so might a well clean up old unused code.
2014-02-19 04:53:48 -08:00
Renato Botelho
96fc5388ac Merge pull request #945 from phildd/master
Enhance interface gateway data entry descriptions
2014-02-19 08:23:47 -03:00
Phillip Davis
e2a6a6fb2b Enhance interface gateway data entry descriptions 2014-02-19 02:41:49 -08:00
Ermal Luçi
db8450cbc1 Merge pull request #939 from phil-davis/master
Dodgy-looking stuff in graph calculations
2014-02-19 09:50:26 +01:00
Ermal Luçi
b145557112 Merge pull request #659 from mss/extended-query-example-work
Improve LDAP DN examples
2014-02-19 08:57:45 +01:00
Ermal Luçi
45c9de4efb Merge pull request #943 from stilez/patch-1
AJAX-ify DNS lookups in standard firewall/filter
2014-02-19 08:53:44 +01:00
Ermal
3e38084b4a The msgbox is no longer needed since there will be a validation process per se 2014-02-19 07:50:43 +00:00
stilez
f15c1f3d4c AJAX-ify DNS lookups in standard firewall/filter
The standard firewall log has lookup ability but these open in a new tab/window, they don't show in the log, other places the same IP appears in the log aren't visibly resolved, - basically its begging for AJAX-ing.

This commit is simple, elegant, simplifies the interface, and does the following:

1) Handles AJAX efficiently, and should be pretty robust against untrustworthy data/bad return data
2) Retains a single "Click to resolve" icon (and its "hover" tip) next to each IP
3) On clicking: 
 - *all* visible log occurrences of that IP, whether as source or dest, are suffixed in small with the resolved name (or "Cannot resolve") in <small> font
 - the icons next to all occurrences of that IP are replaced by equivalent "faded" icons, and the onclick action removed, for visual guidance
4) The replacement uses standard jQuery, so even on a log of several thousand, the click response is almost immediate.
5) The log looks pretty elegant done this way - it doesn't "fill up with junk" in order to show the resolved lookup, and it's simpler and easier than the current version. 

No obvious drawbacks.

(I haven't done this for the dynamic or summary logs - I think the dynamic one could scroll too quickly for individual "item by item" to be useful)
2014-02-19 02:53:07 +00:00
Renato Botelho
d291634ad9 Take single and double quotes into consideration 2014-02-18 16:38:35 -03:00
jim-p
738fab3dd6 Fix issue with CSR generation. Ticket #2820 2014-02-18 14:16:48 -05:00
nagyrobi
540c012b00 Update status_ntpd.php
fixed tail path
2014-02-18 18:23:11 +01:00
nagyrobi
fe5ad8afe0 Update ntp_status.widget.php
fixed tail path
2014-02-18 18:22:25 +01:00
Ermal
133f8b3347 Fixes #3460. Ask for validation when real operation will be done and ask for the operation with POST to get protection from CRSF. 2014-02-18 16:39:59 +00:00
Ermal
0635519b6e Remove code that is commented 2014-02-18 16:39:59 +00:00
Phil Davis
f9983a874d Dodgy-looking stuff in graph calculations
I noticed that the graphs in this post - https://forum.pfsense.org/index.php/topic,72794.0.html - had numbers for in-block and out-block that had similar numbers to in-pass and out-pass. That seemed hard to believe. Found these calculations that look wrong.
2014-02-18 08:12:55 -08:00
nagyrobi
de3ba99585 Update ntp_status.widget.php
Updated errorneous paths. Sorry.
2014-02-18 16:01:47 +01:00
nagyrobi
d950f9292c Create ntp_status.widget.php
Dedicated widget which has a javascript clock showing the server time accurately, and based on NTP's running state displays information about sync source, GPS state etc. It refreshes contents every minute, without reloading the entire page.
2014-02-18 15:32:11 +01:00
nagyrobi
b2c559daf8 Create ntp_status.inc
NTP widget helper
2014-02-18 15:30:13 +01:00
nagyrobi
c53834f931 Update status_rrd_graph_settings.php
Add NTP graph to settings
2014-02-18 15:29:08 +01:00
nagyrobi
a592ec6a73 Update status_rrd_graph_img.php
Add NTP graph drawing
2014-02-18 15:26:45 +01:00
nagyrobi
2cdb75f84c Update status_rrd_graph.php
Add NTP graphing
2014-02-18 15:24:03 +01:00
nagyrobi
c56d07dc72 Update status_ntpd.php
A bit more informative NTP status page...
2014-02-18 15:19:08 +01:00
nagyrobi
2ebeabac7e Create services_ntpd_pps.php
Separate page for other PPS sources config
2014-02-18 15:16:45 +01:00
nagyrobi
aa2aebfd62 Create services_ntpd_gps.php
Separate page to set GPS receiver pps sync
2014-02-18 15:15:44 +01:00
nagyrobi
c1e682445d Update services_ntpd.php
Extended options for NTPd
2014-02-18 15:14:18 +01:00
Ermal
6766e4771e Fixes #3461. Remove any special char that can lead to shell/XSS compromises from submitted input. 2014-02-18 13:18:33 +00:00
Renato Botelho
aecb7a7928 Merge pull request #890 from N0YB/Gateway_Monitor
Gateway Monitor Advanced Settings
2014-02-18 07:31:26 -03:00
Ermal
7f9216907f Do not call rc.newwanip when pppoe gets a v6 ip. 2014-02-18 09:23:19 +00:00
Ermal
ee9783e93e Move this global declaration to the proper file rather than backend code 2014-02-17 20:00:25 +00:00
Renato Botelho
c00e6bd4c3 Help ticket #3449:
Improve data validation to avoid save a host/subnet or a IPv4 with
invalid mask. The reported error is on javascript and only happen on
IE8,but this fix will prevent the same issue happening in the future on
a different browser.
2014-02-17 15:43:28 -03:00
Renato Botelho
bd94286059 Use correct parameter (bootfile-url) to configure netboot on DHCPdv6, it fixes #3421 2014-02-17 12:20:18 -03:00
Renato Botelho
f458b2cbf8 Use htmlspecialchars(), a better solution for #2952 2014-02-17 11:11:23 -03:00
Ermal
89c7a9c870 Some tweaking to handle when switching off dhcpv6. 2014-02-17 10:22:05 +00:00