Scott Ullrich
45faf3daf8
Revert "Sync from HEAD to avoid complete meltdowns when downgrading from 2.0"
...
This reverts commit 1987293b2c .
2009-03-18 00:19:45 -04:00
Scott Ullrich
1987293b2c
Sync from HEAD to avoid complete meltdowns when downgrading from 2.0
...
back to 1.2.*. Tested by rebooting and visiting many pages.
2009-03-10 22:56:35 -04:00
Scott Dale
ebfdf0cc26
prepare for widget package
2007-05-15 01:24:57 +00:00
Seth Mos
37380063fa
Add NTP Server field to dhcp config.
...
From: Alexander Schaber
2007-05-08 14:48:46 +00:00
Scott Ullrich
1d5a6e182e
When we iterate through the backup cache we call out to parse the configuration file.
This can be fatal if the xml contents is corrupted and the process will die out. Instead of dieing, return -1 and let the process continue since we have further logic to detect these issues and restore a previous configuration, etc.
2007-04-21 19:53:08 +00:00
Scott Ullrich
f479b40710
Kill trailing space
2007-03-25 05:13:23 +00:00
Scott Ullrich
d244855af6
s/timepart/timerange
2007-03-25 05:12:14 +00:00
Scott Ullrich
5447374453
Since we already have a "time" field convert the time day "time" to "timepart"
2007-03-25 00:51:32 +00:00
Scott Ullrich
bce8a71930
Make <time> an array so it can appear multiple times
2007-03-23 20:25:55 +00:00
Scott Ullrich
d8c091f8bd
Back out last commit, we are going to use <schedule>
2007-03-23 20:21:08 +00:00
Scott Ullrich
8bf167b6cb
Allow multiple timeday entries (set as an array)
2007-03-23 20:17:56 +00:00
Scott Dale
615b27bc26
Firewall Schedule GUI! ... and there was much rejoicing.
2007-03-23 11:08:36 +00:00
Scott Ullrich
c5a2bfdbd3
Allow priv to appear multiple times so that a person can downgrade from the pile of SHIT we call -HEAD.
2006-11-10 18:27:10 +00:00
Scott Ullrich
72a1578549
MFC 13823
...
freenas package makes disk and mount arrays
2006-08-18 04:35:50 +00:00
Scott Ullrich
4928848f9c
This one adds support for custom array types for the functions dump_xml_config* .
...
Submitted-by: DanielS
2006-08-17 16:18:51 +00:00
Scott Ullrich
eb72cedac6
Allow packages to define array variables.
...
Submitted-by: DanielH
2006-08-17 03:37:19 +00:00
Scott Ullrich
3fdc661d86
Add group to the array field so that importing recent m0n0wall configurations do not go boom.
2006-06-19 13:31:27 +00:00
Scott Ullrich
3f8e57debf
Add pages to the array field so that importing recent m0n0wall configurations do not go boom.
2006-06-19 13:26:27 +00:00
Scott Ullrich
e1b5fccb68
MFC 9544
2006-01-22 00:05:34 +00:00
Scott Ullrich
4b49bf19c6
Add elements to the array types
...
Ticket #793
2006-01-21 01:10:18 +00:00
Scott Ullrich
ff074bf948
Remove trailing newline
2006-01-18 21:05:37 +00:00
Scott Ullrich
61982b8501
Back out yesterdays changes
2006-01-15 20:07:10 +00:00
Scott Ullrich
66c908e0a8
Add depends_on_package to arrays
2006-01-15 10:17:03 +00:00
Scott Ullrich
117b4eda84
Add depends_on_package to arrays list
2006-01-15 10:10:16 +00:00
Scott Ullrich
64e3b8a6d9
Add aliasurl to array list. This will prevent developers working on head from preventing their firewall from booting when testing RELENG_1
2005-12-18 02:58:19 +00:00
Scott Ullrich
0d57f5f37c
If a value is marked as "false" simply do not write its contents out.
...
This will fix 71 occurances of true : false in the code w/o having
to touch each case. And frankly, a item should not be in the xml
unless its set.
2005-10-18 19:50:10 +00:00
Scott Ullrich
b37aa8caa9
Add back pipe array item. We will need this when users upgrade from m0n0wall to avoid getting a PIPE is not a array error
2005-10-09 23:20:42 +00:00
Scott Ullrich
e20f1e2c3b
Treat earlyshellcmd as an xml array
2005-10-05 18:52:09 +00:00
Scott Ullrich
2e5ebf5d60
* Add interface_array to config.xml array list
...
* Clarify comment that this list is a array list
2005-08-27 01:44:37 +00:00
Bill Marquette
9f09f99a01
Ooops...need a space there
2005-08-08 18:08:49 +00:00
Colin Smith
48ca2dc941
Add <file> listtag.
2005-08-07 15:53:58 +00:00
Bill Marquette
5be479deff
Move pool -> lbpool
2005-08-06 22:13:38 +00:00
Bill Marquette
b6d1659dc8
Add virtual_server tag
2005-08-06 21:53:53 +00:00
Bill Marquette
6bddd0e4ca
Add load balancer tags
2005-08-06 18:44:50 +00:00
Bill Marquette
f60e625952
alphabetize listtags
2005-08-06 04:26:06 +00:00
Bill Marquette
1425e067d6
Merge in virtual IP code
...
This changeset does the following:
merges proxy arp and carp setup menus
removes proxy arp menu from left side
upgrades config file from 1.7 to 1.8
moves existing carp virtual IP and proxy arp config to new <virtualip> tag
removes server NAT (why duplicate work?)
2005-07-13 03:09:18 +00:00
Scott Ullrich
d09f529293
remove trailing space
2005-07-13 02:55:25 +00:00
Bill Marquette
2fe045e547
Add comments
2005-06-27 05:12:44 +00:00
Bill Marquette
eeb6c16ec4
Stop duplicating work - use listtags() and listtags_pkg() instead of creating the list
...
twice (once for xmlparse, once for xmldump).
2005-06-27 05:11:15 +00:00
Bill Marquette
39cecbebff
pipe no longer exists and hasn't for some time
2005-06-27 05:05:38 +00:00
Bill Marquette
c42c5e8159
Treat cacert as a list when we write XML files as well
2005-06-27 05:01:38 +00:00
Scott Ullrich
7766ebb949
add cacert to xml array
2005-06-27 04:06:04 +00:00
Colin Smith
ba6882bfec
Add dump_xml_config() and dump_xml_config_pkg() to handle both sets of listtags.
2005-06-23 04:22:31 +00:00
Colin Smith
7565fb3117
Whoops, don't forget to remove restore_listtags.
2005-06-23 04:11:59 +00:00
Colin Smith
cb980a2f1a
* Move the old parse_xml_config() function to parse_xml_config_raw(). This function no longer sets its own listtags.
...
* Add parse_xml_config() and parse_xml_config_pkg(), which both set the listtags to their proper values before parsing.
2005-06-23 03:11:28 +00:00
Colin Smith
9aa2b02849
Add function to restore global listtags.
2005-06-22 18:53:19 +00:00
Scott Ullrich
0c2b5df78f
Initial commit of dnsmasq domain overrides
...
Submitted-to-m0n0wall-dev-by: Joe Suhre
The patch adds the ability to make use of dnsmasq's --server=/domain/auth_server ARG in
order to force queries for domain to a specific dns server rather then
doing a full recursive query
2005-06-14 23:27:37 +00:00
Colin Smith
378bccb710
Add needed lisstag for menu items.
2005-06-05 22:10:28 +00:00
Colin Smith
eba0b1d853
$parsed -> $parsedcfg
...
reported-by: billm
2005-05-17 01:27:20 +00:00
Colin Smith
08c3872d7f
Make xmlrpc.inc cleaner. This needs to be followed up by a cleanup and integration of xmlparse_pkg.inc.
2005-05-17 01:05:44 +00:00