summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1738 from phil-davis/Static-RoutesRenato Botelho2015-07-181-3/+7
|\
| * Static routes merge "else" and "if" into "else if"Phil Davis2015-07-121-7/+5
| | | | | | | | As suggested by Renato.
| * Fix #4813 validation of enable/disable of gateways and static routesPhil Davis2015-07-051-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 what is already checked before deleting a gateway). 3) A static route can always be disabled - no extra checks needed. 4) When enabling a static route, check that the selected gateway is enabled - you cannot have a static route enabled on a disabled gateway. 5) Do the address family cross-check between static route and gateway even when the static route is disabled - we do not want to save mismatched IP address families in any case. This covers all the cases I can see to ensure that the enable/disable status combinations of Gateways and Static Routes is always valid.
* | Cancel button after input errorPhil Davis2015-07-131-1/+6
|/ | | | | | | | | | | 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.
* Code style system h and rPhil Davis2015-05-301-46/+66
|
* Fix aliases popup width when fields are hidden when page is loaded. It ↵Renato Botelho2015-02-021-1/+1
| | | | should fix #4238
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Send the gateway name to this function. Fixes #4047Chris Buechler2014-11-251-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-2/+3
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-2/+2
|
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+4
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* Fix off-by-one in static route CIDR drop-down. /129 shouldn't be in the listjim-p2014-05-081-1/+1
|
* xhtml Complianceayvis2014-03-141-2/+2
| | | replaced <br>, <br/> and </br> with <br />
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-5/+5
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Stop sorting static routed and leave user decide the orderRenato Botelho2013-11-261-14/+0
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Remove remaining hardcoded theme namesRenato Botelho2013-07-171-1/+1
|
* Permit to use aliases containing hostnames on static routesRenato Botelho2013-05-271-8/+0
|
* Use global aliastable and proper fix #2941Renato Botelho2013-05-231-2/+4
|
* Add correct bitmask for ipv6Renato Botelho2013-04-151-1/+3
|
* Add a new parameter to return all aliases, including hosts. It fixes #2941Renato Botelho2013-04-141-1/+1
|
* Fix whitespaces and indentRenato Botelho2013-04-141-193/+201
|
* Prohibit adding aliases containing FQDNs in static routes. Fixes #2941Renato Botelho2013-04-101-0/+8
|
* Check if IP is v4 or v6Renato Botelho2013-04-101-2/+2
|
* Make sure to include some files with needed functions.jim-p2013-04-081-1/+4
|
* Tidy up "system_routes_edit.php" XHTMLColin Fleming2013-04-031-40/+35
| | | | | | | | Close INPUT, BR and IMG tags and add alt to IMG tags Update HTML boolean operators Remove name statements from DIV tags Add missing end TD, end TR and end FONT tags Add CDATA sections to SCRIPT tags
* When adding a new static route, check if network address conflicts with ↵Renato Botelho2013-03-041-0/+18
| | | | interfaces. It will complement ticket #2852
* Make gen_subnetv6 return a compressed form IPv6 address/net representation. ↵Ermal2013-02-071-1/+1
| | | | This removes some issues reported during Ticket #2746 and solve the issue on some cases
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-0/+1
|
* Allow for Null routessmos2012-06-041-1/+1
|
* Allow for /128 IPv6 route entries in static routes.smos2012-06-041-1/+1
| | | | Redmine ticket #2470
* Fix function call namejim-p2012-06-011-1/+1
|
* Unbreak adding IPv6 static routessmos2012-05-231-2/+6
|
* cleanup: code for building arrays for autocompleted fieldsDarren Embry2012-05-101-20/+1
|
* Add alias support to static routes (needs some testing) Ticket #2239jim-p2012-04-111-28/+77
| | | | | | | | Conflicts: etc/inc/filter.inc etc/inc/util.inc usr/local/www/system_routes_edit.php
* missed a spot for feature #2320 toggle subnet maskDarren Embry2012-04-051-8/+4
|
* Add the ability to disable static routes without deleting themWarren Baker2012-03-021-0/+13
|
* Fix static routes editing and removal for both IPv4 and IPv6. Changing a ↵Seth Mos2011-10-111-4/+7
| | | | | | route should clean up too. Fix ticket #1892
* convert javascript code to jQuery on system* filesVinicius Coque2011-09-271-20/+20
|
* Correct typo, fixes Ticket #1892smos2011-09-221-1/+1
|
* Commit a fix that prevents the drop down from showing over 31 length.smos2011-09-211-3/+3
| | | | Fixes Ticket #1892
* Automatically adjust the subnet size drop down when editing a entrySeth Mos2011-08-241-2/+8
| | | | Ticket #1661
* Add Address Family input validation on the system routes edit page. Do not ↵Seth Mos2011-08-241-1/+6
| | | | | | allow IPv4 subnet masks > 32 bits. Ticket #1661
* Fix static routes, typo in the variable nameSeth Mos2011-02-101-1/+1
|
* Enlarge subnet bits to 128Seth Mos2011-01-201-1/+1
|
* Merge remote branch 'upstream/master'Seth Mos2010-12-201-3/+5
|\ | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/vslb.inc usr/local/www/interfaces.php
| * Resolves #1040. Fix dynamic addition of gateways from routes edit screen.Ermal2010-11-251-3/+5
| |
* | Merge remote branch 'upstream/master'Seth Mos2010-11-151-1/+1
|\ \ | |/ | | | | | | | | | | | | Conflicts: etc/inc/filter.inc etc/inc/system.inc usr/local/www/interfaces.php usr/local/www/interfaces_gif_edit.php
| * Bring in XSS id fixes from m0n0wallScott Ullrich2010-11-121-1/+1
| |
OpenPOWER on IntegriCloud