Commit Graph

196 Commits

Author SHA1 Message Date
Ermal Luçi
c1dc065287 Make all autocompletes in there case insensitive. 2009-12-04 14:18:53 +00:00
sullrich
61c0250d9e Fixup Source OS box 2009-12-03 17:09:54 -05:00
sullrich
adb633a09f Minor formatting + hide Source OS behind Advanced box 2009-12-03 17:05:55 -05:00
sullrich
4c263f57c2 Hide layer7 and in/out behind advanced button 2009-12-03 16:50:21 -05:00
sullrich
0239d8ee4a Make xmlrpc sync, schedule, gateway, in/out, ackqueue and layer7 all advanced type buttons simplifying the firewall rule edit form for 99% of the cases 2009-12-03 15:17:10 -05:00
Ermal Luçi
b6867d814b Ticket #146. Fix the autocompletion of ports aliases only for the ports and host/network aliases for the src/dst. Checking if a valid alias is entered end if it is a correct one for this box seems like to much overhead and work for this. (For firewall_nat_edit.php) 2009-11-30 06:43:44 +00:00
Ermal Luçi
72cb5bafa3 Ticket #146. Fix the autocompletion of ports aliases only for the ports and host/network aliases for the src/dst. Checking if a valid alias is entered end if it is a correct one for this box seems like to much overhead and work for this. 2009-11-30 06:40:31 +00:00
sullrich
30c4ae8a6b Seperate diffserv box into a <select> dropdown. Hide item behind advanced button. Move down one section near other advanced items. Resolves #60 2009-11-28 14:56:43 -05:00
Scott Ullrich
b2d9323d9d Move back to using sortable as class name 2009-08-23 17:33:29 -04:00
Scott Ullrich
ff9d672809 Modify sortable.js to work on tabcont as opposed to sortable class. This has the effect of making any table that has a single header sortable instead of having to visit each page. Sponsored-by: BSD Perimeter Commercial Support 2009-08-20 15:33:03 -04:00
Ermal Luçi
7581a05043 Make matching on autosuggestion case insensitive. 2009-07-23 21:32:37 +00:00
Ermal Luçi
0cea9a2365 Add the id tag to the row helper javascript created input objects. Make the controls of aliases clearly show that they can be even alias names with autocomplete.(Loop checking is not yet implemented). 2009-07-23 21:05:29 +00:00
Renato Botelho
0e0e232b84 Avoid errors when a non-existent element is called by a function
Submitted-by: Manoel Carvalho
2009-06-02 15:21:20 -03:00
jim-p
af8ae7cec9 Filter log parsing update
* Share filter log parsing code instead of using copy/paste/code duplication.
* Reworked the JavaScript a little so it could also be shared
* Fix a large number of bugs, especially in the AJAX-based dynamic log viewer.
* Picks up some more detail from the logs, and more accurately determines the protocol of a given log entry.
* Adds a CLI log parser (filterparser.php)
* Removed some redundant/unused code
* Code cleanup/style fixes
* Added support for finding logged rdr rules from miniupnpd
NOTE: Due to the dynamic nature of upnp rules, the rule may not be present when checked.
2009-04-04 19:50:25 -04:00
Bill Marquette
b1e3b7f48e remove dead JS files 2009-03-14 18:45:21 -05:00
Bill Marquette
625dcc400c Massive javascript cleanup, all .js files now live in $g['www_path']/javascript
Purged unused JS
2009-03-14 14:41:04 -05:00
Bill Marquette
d3bc15eae5 Move datetimepicker javascript to JS directory 2009-03-14 14:22:20 -05:00
Scott Ullrich
2687a6fa51 Adding Ajax queue system.
Example usage:

AjaxQueue.setBatchSize(1);
AjaxQueue.push("http://www.testingqueue.com/process/",{onSucess: funcSuccess, onfailure: funcFailure});
AjaxQueue.push("http://www.testingqueue.com/process1/",{onSucess: funcSuccess1, onfailure: funcFailure1}, "myDiv");
AjaxQueue.push("http://www.testingqueue.com/process2/",{onSucess: funcSuccess2, onfailure: funcFailure2});
AjaxQueue.push("http://www.testingqueue.com/process3/",{onSucess: funcSuccess3, onfailure: funcFailure3});
AjaxQueue.push("http://www.testingqueue.com/process4/",{onSucess: funcSuccess4, onfailure: funcFailure4});
AjaxQueue.push("http://www.testingqueue.com/process5/",{onSucess: funcSuccess5, onfailure: funcFailure5});
2009-03-14 14:16:34 -04:00
Bill Marquette
bae568ccb5 a little cleaner JS 2009-03-14 02:20:09 -05:00
Bill Marquette
01da41cf8a Sajax is no more, long live Prototype
This eliminates one AJAX library, but not all "non-Prototype" AJAX code
2009-03-14 01:26:52 -05:00
Bill Marquette
f8b1477013 Make use of Prototype-ism's in sajax.js - first small step in attempting to remove sajax from pfSense 2009-03-13 22:13:48 -05:00
Bill Marquette
547fb9346d dunno where prototype 1.6.0.3 ran off to, but reign it back in and make it submit 2009-03-13 01:38:20 -05:00
Bill Marquette
aa3cb4f06d bump scriptaculous to 1.8.2 2009-03-13 01:29:15 -05:00
Scott Ullrich
d2c5fcc12d * Make function opening braces uniform.
* Minor documentation additions
2009-03-11 18:35:51 -04:00
Scott Ullrich
98509219b3 Ensure that the gateway widget exists before populating data during ajax calls. 2009-03-11 18:32:26 -04:00
Scott Ullrich
e0a16925b3 Change to 11 second refresh, a lot of underlying information refreshes
every 10 seconds.
2009-03-11 18:02:08 -04:00
Scott Ullrich
3dfa6a5214 Add ajax mojo to gateway status widget 2009-03-11 17:28:37 -04:00
Scott Ullrich
37fea5cc51 Graph value on the GraphLink graph, too 2009-03-08 23:08:06 -04:00
Scott Ullrich
5f00df88bd Test to make sure items exist before trying to get their properties 2009-03-08 18:10:04 -04:00
Scott Ullrich
23a54db3a5 Change update interval for sajax to 10000 2009-03-08 17:44:01 -04:00
Chris Buechler
ee01cb054f Revert "show/hide icmp6box"
This reverts commit 9ce5e10ac4.
2009-02-15 14:05:16 -05:00
Simon Cornelius P. Umacob
9ce5e10ac4 show/hide icmp6box 2009-01-20 16:30:42 +08:00
Simon Cornelius P. Umacob
ce996bd301 add IPv6.inc and NetUtils.js 2009-01-20 14:30:27 +08:00
Scott Ullrich
daad17fdd1 Update to v2 2008-12-05 19:56:24 +00:00
Matthew Grooms
df81417f55 Break out the advanced system options page into tabs group by categories.
Fold the sysctl tunables page into a tab under the advanced options page.
This reduces the top level menu options by one. There should be no
functional changes.
2008-09-04 15:40:54 +00:00
Bill Marquette
b5a7edb1ca update scriptaculous to version 1.8.1 2008-08-02 03:49:34 +00:00
Scott Ullrich
626544136e Adding firebug lite 2008-07-27 04:30:29 +00:00
Scott Ullrich
e6eeebed2b Fix closing </script> so we can be inlined. 2008-07-27 02:20:33 +00:00
Scott Dale
f9b7608e63 correct definitions 2008-03-17 21:49:58 +00:00
Scott Dale
34eac803ea Show loading icon while loading new widget through AJAX. Note: loading icon needs improvement. 2008-03-17 01:55:45 +00:00
Scott Dale
9c0fa9d56f new ajax functions for dashboard 2007-12-30 21:07:15 +00:00
Seth Mos
63353c9e4e Add back scriptaculous files which are being used by the RRD graphs
page. Replacements welcome if we want it removed. See
status_rrd_graph.php
2007-11-01 21:02:16 +00:00
Daniel Stefan Haischt
8f4423e5c4 * removed scriptaculous. It will be added while building the ISO
or embedded image.
2007-10-28 02:19:35 +00:00
Bill Marquette
66eff923a3 Ticket #1448: IP Address sorting was MFC'd from HEAD (this whole file
should probably be MFC'd)

MFC: to RELENG_1_2
2007-10-05 21:11:53 +00:00
Scott Dale
79379fa0a4 DomTT library for popups. 2007-02-12 20:03:03 +00:00
Daniel Stefan Haischt
a56d2bd385 * added missing images for numericupdown and datepicker controll 2007-01-29 22:59:11 +00:00
Scott Ullrich
fb3cb2c50f MFC #2 of #2 2007-01-29 22:07:52 +00:00
Scott Ullrich
6ec18a7a13 Allow item to be saved 2006-09-04 22:52:17 +00:00
Scott Ullrich
120daf8366 If the destination port is an alias, then force the local port as the same alias. We will need to circle back in filter.inc to detect this situation and omit the local port from the rule. 2006-09-04 22:38:12 +00:00
Scott Ullrich
3280df11c0 Turn off debugging alert() 2006-09-04 22:19:20 +00:00
Scott Ullrich
f5a684087c Re-enable items when needed 2006-09-04 22:07:43 +00:00
Scott Ullrich
e2705d6797 When a External port range item is an alias, disallow the entry of Local port.
In-discussion-with: BillM
Bug-reported-by: ChrisB
2006-09-04 22:03:35 +00:00
Scott Ullrich
f6970b2fdf Keep state really wants to be an advanced option, too. Let him join the party. 2006-07-05 03:11:25 +00:00
Scott Ullrich
be812936b9 Make other button consistent now with a - 2006-07-05 02:56:46 +00:00
Scott Ullrich
197b2a47a9 Turn advanced option are into a default to no show area as well. 2006-07-05 02:52:10 +00:00
Scott Ullrich
5896157c59 Remove debugging alert() 2006-07-05 01:34:54 +00:00
Scott Ullrich
60bc190ac5 Correct check to 2 2006-07-05 01:34:19 +00:00
Scott Ullrich
b62c654848 Repopulate advanced <div> after changes 2006-07-05 01:18:06 +00:00
Scott Ullrich
292d54c81f Sync sprtable 2006-07-05 01:11:42 +00:00
Scott Ullrich
9bd15edf36 Sync sprtable 2006-07-05 01:08:44 +00:00
Scott Ullrich
3de8af0e40 MFC
Hide source and destination port boxes when protocol is not tcp, udp or tcp/udp
2006-07-05 01:07:08 +00:00
Scott Ullrich
13c2a81220 Set style.display = '' to display hidden table row 2006-07-05 00:16:50 +00:00
Scott Ullrich
22abf2ef70 Hide Show advanced option button when user clicks on the option 2006-07-04 23:49:45 +00:00
Scott Ullrich
8c84fe438e MFC
Require the user to have a brain to see the Source port range for a firewall rule by adding a link in the source box that says Advanced - Show source port range.
2006-07-04 23:35:59 +00:00
Scott Ullrich
2ec7bef41b Update to script.aculo.us version 1.60 2006-04-05 21:00:08 +00:00
Scott Ullrich
7db1344bf9 Add sortable table javascript handler.
See http://www.kryogenix.org/code/browser/sorttable/ for more info.
2006-03-19 22:13:32 +00:00
Scott Ullrich
a3b4fc9b47 Files needed for auto complete 2006-03-04 20:30:19 +00:00
Scott Ullrich
270dc92cac Remove scheduler references 2006-02-23 22:15:02 +00:00
Scott Ullrich
989c7b5715 MFC 2006-01-30 01:58:26 +00:00
Scott Ullrich
670fe8496e Add ajaxStarted which will tell if Ajax has started. 2006-01-16 22:33:24 +00:00
Scott Ullrich
922b44204b Use a for() loop 2006-01-06 21:21:03 +00:00
Scott Ullrich
4cb423d5c1 Der, this is JS, not PHP. 2006-01-06 21:04:31 +00:00
Scott Ullrich
55bade0b33 Check all AJAX values. If any of them are undefined then return. 2006-01-06 20:40:21 +00:00
Scott Ullrich
8e3253048d Change refresh rate to 7000 2006-01-01 04:21:03 +00:00
Scott Ullrich
876bb30f50 Do not process undefined items 2006-01-01 03:11:04 +00:00
Scott Ullrich
f78b47e311 MFC 7117
Temperature is in Celsius not in percentages
2005-10-23 23:22:01 +00:00
Scott Ullrich
c117537a6b Correctly disable for GRE too..
Ticket #585
2005-10-11 17:24:44 +00:00
Scott Ullrich
b66f766771 * Grey out port items when proto is GRE or ESP
* Ignore ports in input validation fields when port is GRE or ESP

Ticket #585
2005-10-05 19:48:02 +00:00
Erik Kristensen
92ab056608 Fixed a Merge 2005-09-18 05:00:47 +00:00
Scott Ullrich
fb4d93acb3 increase to 4000 2005-09-18 03:31:39 +00:00
Scott Ullrich
d3f34faece increase to 3.5 seconds 2005-09-18 03:23:37 +00:00
Scott Ullrich
5872171a77 Change refresh to 2 seconds 2005-09-18 02:33:19 +00:00
Bill Marquette
cd0545aa09 Fix system_advanced.php javascript 2005-09-16 19:25:48 +00:00
Scott Ullrich
61381bd912 woops, wrong file 2005-09-15 05:58:51 +00:00
Scott Ullrich
a5c4926ea1 Move connection aborted check up further 2005-09-15 05:58:00 +00:00
Scott Ullrich
85c54575bc Correct cpu meters 2005-09-15 05:49:02 +00:00
Bill Marquette
7979a80933 Make temp monitor really work - make a little more modular too 2005-09-15 03:21:17 +00:00
Bill Marquette
1804023da9 Make 4801 temp monitor work (and make it work with sajax) 2005-09-15 02:55:19 +00:00
Scott Ullrich
c07d326eeb Change refresh to 5000 2005-09-13 05:10:11 +00:00
Erik Kristensen
c15a006124 Update time now 10 seconds. 2005-09-11 21:02:35 +00:00
Erik Kristensen
d772ac3258 Added SAJAX support.
System Meters are updated via AJAX now.
Started XHTML/CSS cleanup.
2005-09-11 06:17:32 +00:00
Erik Kristensen
7f387ab003 Disabling Enter Key on Auto-Complete pages ...
Enter Key now Selects Auto-Complete Options ...
Added Auto-Complete to firewall_shaper_edit.php ...
2005-09-07 23:42:03 +00:00
Erik Kristensen
9e2a4fcefa progress.php needed to only be called upon upload not download or reinstall of packages 2005-08-30 01:55:59 +00:00
Erik Kristensen
e8fc8fa0c4 just cleaning house ... took javascript out of carp_status.php 2005-08-30 00:55:03 +00:00
Erik Kristensen
4ce8ac00f5 Adding AutoComplete to firewall_nat_edit
head.inc searchs javascript directory for includes now
2005-08-23 23:57:06 +00:00
Erik Kristensen
8ab3e9ed14 First Step in Fixing AutoComplete and Cleaning Up Code 2005-08-23 01:18:28 +00:00