Ad Schellevis
17aabc1e54
rewrite backup cleanup
2015-03-13 15:40:52 +00:00
Ad Schellevis
0c92c58278
sync master
2015-03-13 15:07:44 +00:00
Ad Schellevis
77d651cc0b
bugfix config->toArray
2015-03-13 16:06:55 +01:00
Ad Schellevis
516be37538
sync with master
2015-03-13 14:46:11 +00:00
Ad Schellevis
bab9a4c1d5
remove unused functions and switch to SimpleXML as default parser.
2015-03-13 15:41:58 +01:00
Ad Schellevis
32359545d3
sync with master
2015-03-13 14:11:37 +00:00
Ad Schellevis
b5e671d0df
replace get_backups + small fixes
2015-03-13 14:10:38 +00:00
Ad Schellevis
6004b1de2f
bugfix new config handler
2015-03-13 15:09:27 +01:00
Ad Schellevis
ddc461df8e
sync with master
2015-03-13 12:32:54 +00:00
Ad Schellevis
195378fd1a
fix typo
2015-03-13 13:31:43 +01:00
Ad Schellevis
d158f63260
sync with master
2015-03-13 12:30:27 +00:00
Ad Schellevis
77d63835f1
replace use of get_backups with new version
2015-03-13 12:28:44 +00:00
Ad Schellevis
8dda3da09c
add filesize to getBackups
2015-03-13 13:28:21 +01:00
Ad Schellevis
1940927eb2
implement old "listags" construction to mark certain elements as array (even if they're not recurring)
2015-03-13 12:11:52 +00:00
Ad Schellevis
c56e115e52
revert previous fix in src/etc/inc/auth.inc
2015-03-13 11:05:34 +00:00
Ad Schellevis
f42485928a
sync master
2015-03-13 11:00:15 +00:00
Ad Schellevis
46d2849652
update fromArray to support forced lists on specific tags
2015-03-13 11:57:02 +01:00
Ad Schellevis
2a693fc46a
remove unused parameter from parse_config
2015-03-13 07:55:49 +00:00
Ad Schellevis
74059733e2
replace config backup
2015-03-13 07:46:38 +00:00
Ad Schellevis
55bdb356e4
sync master
2015-03-13 07:43:46 +00:00
Ad Schellevis
da2c3c1b6f
add revisiondata to getBackups for config class
2015-03-13 08:39:47 +01:00
Ad Schellevis
3d65e9fa6f
fix config priv section, expecting array for single item.
2015-03-12 21:32:56 +00:00
Ad Schellevis
878773ef6f
sync with master
2015-03-12 16:18:19 +00:00
Ad Schellevis
6a2f32dcd2
change backup method for config to public
2015-03-12 17:17:39 +01:00
Ad Schellevis
9d6a8690d2
cleanup config
2015-03-12 16:16:15 +00:00
Ad Schellevis
70027a0f05
cleanup config
2015-03-12 16:15:09 +00:00
Ad Schellevis
f8193d6a2d
restore backup / defaults on config load
2015-03-12 14:57:09 +00:00
Ad Schellevis
67c7bd635a
sync with master
2015-03-12 14:41:25 +00:00
Ad Schellevis
261d487d8c
add isValid public method on config class
2015-03-12 15:40:40 +01:00
Ad Schellevis
6d04247dc2
cleanup write
2015-03-12 14:39:42 +00:00
Ad Schellevis
79da3b7d98
config write replace
2015-03-12 14:10:25 +00:00
Ad Schellevis
4bc2eef495
sync with master
2015-03-12 13:46:39 +00:00
Ad Schellevis
f1c11390dc
config bug in updateRevision
2015-03-12 14:45:35 +01:00
Ad Schellevis
d3a1cfb87e
sync with master
2015-03-12 13:23:47 +00:00
Ad Schellevis
331f4665d9
change save -> backup default behavoir
2015-03-12 14:22:20 +01:00
Ad Schellevis
eb7ac3fa40
sync with master
2015-03-12 13:01:28 +00:00
Ad Schellevis
821f5331d1
add revision information on config save
2015-03-12 13:59:20 +01:00
Ad Schellevis
0a44698f23
remove usage of conf_mount_ro and conf_mount_rw
2015-03-12 12:05:30 +00:00
Ad Schellevis
5eaf0e40dc
cleanup unnecessary config functions
2015-03-12 12:03:24 +00:00
Ad Schellevis
5114af5368
small fixes in config
2015-03-12 11:31:25 +01:00
Franco Fichtner
264c28d1e3
firmware: remove some obsolete parts of the firmware update system
...
Fear not as we will reintroduce the functionality in the GUI using
our new firmware update system which includes pkg(8)/opnsense-update(8).
2015-03-12 09:12:18 +01:00
Franco Fichtner
d178bd83e8
src: adapted more dormant debug code
2015-03-12 08:46:01 +01:00
Franco Fichtner
93d00ecd20
inc/globals: far-reaching prune of global variables
...
* Remove spurious debug output that was never enabled and make
actual error messages the default behaviour.
* Update links and remove a bit of softcoding that was going
on around the GUI through global variables (we don't want to
hide the help menu, nope).
2015-03-12 08:15:47 +01:00
Franco Fichtner
1f5d30b8e7
src: tmp_path gone with the wind
2015-03-12 07:39:52 +01:00
Franco Fichtner
ad334c80aa
src: tmp_path almost gone now
2015-03-12 07:24:35 +01:00
Ad Schellevis
4bacd184e1
add config backup/restore methods
2015-03-11 22:26:27 +01:00
Ad Schellevis
6f02215303
remove complexity in fromArray, write new file in stead of update xml object approach.
2015-03-11 20:21:20 +01:00
Ad Schellevis
23abb70c66
add to/from Array to Config class, for upcomming replacement of old config handling code
2015-03-11 18:30:38 +01:00
Franco Fichtner
75a08cb2c3
firmware: remove gzsig utility usage
...
We have moved on to other means of firmware upgrades. Gives us
the opportunity to do a little spring clean here. (Plus I don't
have to fix the gzsig port anymore.)
2015-03-11 13:48:12 +01:00
Franco Fichtner
4cf690e0a5
src: style and whitespace sweep
2015-03-11 07:46:19 +01:00