summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_import.php
Commit message (Collapse)AuthorAgeFilesLines
* Move main pfSense content to src/Renato Botelho2015-08-251-246/+0
|
* Merge pull request #1742 from phil-davis/patch-3Renato Botelho2015-07-151-1/+1
|\
| * Firewall Aliases Import display error message for invalid alias namePhil Davis2015-07-121-1/+1
| | | | | | | | 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. This fixes it.
* | 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 spacingPhil Davis2015-06-151-3/+3
| | | | | | | 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.
* Code style firewall_aliasesPhil Davis2015-05-111-15/+21
|
* 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
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Warn if attempting to import IPv6 rangePhil Davis2014-10-241-1/+4
| | | There is currently no code to convert an IPv6 range to a set of corresponding IPv6 subnets, so warn the user if they attempt that from the alias bulk import GUI.
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+3
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* Fix indent whitespacesRenato Botelho2014-08-261-39/+54
|
* Allow hostnames in bulk import since they are valid entries in a network ↵jim-p2014-07-141-1/+1
| | | | type alias.
* Check for vertical bar at start or end of descriptionPhil Davis2014-01-071-2/+2
|
* Update reserved_keywords checks to match firewall_aliases_editPhil Davis2014-01-061-2/+8
| | | | | firewall_aliases_import should have the same checks for reserved names as firewall_aliases_edit This code should really be in a function in a common include file, but which one is the appropriate one? For now I made the checks the same.
* Bulk Import: fix copy-paste var name errorPhil Davis2014-01-051-1/+1
|
* Allow individual line descriptions on alias bulk importPhil Davis2014-01-051-15/+50
| | | | | This enhancement allows the user to make a text file of IP addresses, IP subnets and/or IP ranges, like they have always been able to do, but with this they can put a description after each IP number and that description text will be saved in the alias. All existing functionality without specifying a description is unchanged, so it is backward-compatible. This is handy when having aliases that are on all my pfSense boxes, I can make 1 text file, bulk import it on every system and now include descriptions of each chunk of IP address space. Note: The artificial limit of 200 character descriptions is to catch the case where a user pastes a long list or IP addresses, but they are all on 1 line. An error message is given, rather than importing the 1st IP and considered the remaining ones as the description.
* Validate IP address ranges correctly on Alias Bulk Importphildd2013-12-291-2/+2
| | | | | | The code was there to attempt to validate and implement IP address range lines in Alias Bulk Import e.g. 10.20.0.0-10.21.22.0 should produce a bunch of smaller ranges with appropriate CIDRs. This fixes the code so IP address ranges actually make it through into the resulting Alias.
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* s/require/require_once/g for filter.inc to avoid redeclaration errors in ↵jim-p2013-08-281-1/+1
| | | | some rare cases.
* Tidy up "firewall_aliases*.php" XHTMLColin Fleming2013-04-091-4/+5
| | | | | | | | Add CDATA sections to SCRIPT tags Close INPUT and BR tags Update HTML boolean operators Move NOWRAP to class statement Add missing closing TD tag
* Fix syntax errorjim-p2012-10-161-1/+0
|
* Refine saving/applying on more pages - don't show apply or take an action ↵jim-p2012-10-091-2/+3
| | | | unless the user is allowed to do that.
* Merge remote branch 'mainline/master' into 2_firewallRenato Botelho2010-08-031-1/+1
|\ | | | | | | | | | | | | Conflicts: usr/local/www/diag_nanobsd.php usr/local/www/diag_packet_capture.php usr/local/www/firewall_shaper.php
| * Change these to lower-case to match the lower-case names from the previous ↵Erik Fonnesbeck2010-08-021-1/+1
| | | | | | | | revert.
| * Update the VPN names in the reserved keywords list for aliases.Erik Fonnesbeck2010-08-011-1/+1
| |
* | Checked gettext() implementation on firewall_aliases_import.phpCarlos Eduardo Ramos2010-07-151-1/+2
| |
* | Corrections gettext implementation on firewall_aliases_import.phpCarlos Eduardo Ramos2010-07-081-1/+1
| |
* | Review firewall_aliases_import.phpRenato Botelho2010-06-301-3/+3
| |
* | Implement gettext() callsCarlos Eduardo Ramos2010-06-241-18/+18
|/
* Rename import to bulk import. Suggested-by: Chris HornScott Ullrich2010-03-201-1/+1
|
* Unbreak ranges.Ermal2010-03-181-1/+1
|
* Support ranges during alias imports.Ermal2010-03-181-1/+5
|
* fix textChris Buechler2010-03-131-1/+1
|
* Fix alias importing. Resolves #422jim-p2010-03-121-5/+10
|
* Ticket #338. Remove aliases_sort function and keep the list always sorted in ↵Ermal Luçi2010-02-091-2/+4
| | | | config.xml. This reverts to previous behaviour.
* Ticket #348. Fix checking for existing alias name. Allow subnets to be ↵Ermal Luçi2010-02-091-10/+5
| | | | defined in the import list.
* fix typosChris Buechler2010-01-011-2/+2
|
* Add listtopic and note that only ip addresses may be imported.Ermal Luçi2009-12-091-2/+13
|
* Add the same checks to the aliases import functionality as the ones that are ↵Ermal Luçi2009-12-091-0/+36
| | | | done during creation/editing of aliases. Ticket #146
* Include filter.inc and shaper.incScott Ullrich2009-11-211-0/+2
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to ↵Scott Ullrich2009-09-141-1/+3
| | | | include 2009 on files that I have asserted (C) on
* Rewrite the pfsense privilege system with the following goals in mind ...Matthew Grooms2008-08-011-0/+8
| | | | | | | | 1) Redefine page privileges to not use static urls 2) Accurate generation of privilege definitions from source 3) Merging the user and group privileges into a single set 4) Allow any privilege to be added to users or groups w/ inheritance 5) Cleaning up the related WebUI pages
* Switch over to array style page titles. Obtained-from: m0n0wallScott Ullrich2007-11-161-2/+1
|
* Backport alias import option to RELENG_1 from HEAD.Scott Ullrich2007-09-191-0/+107
OpenPOWER on IntegriCloud