560 Commits

Author SHA1 Message Date
Isaac (.ike) Levy
bbf76eedf6 Big gettext dump for existing messages
executed via:
$ git grep gettext >> src/share/locale/en/LC_MESSAGES/OPNsense.pot

Now it's time to roll up the sleeves and get the english base done.
(Still need to hook up the relevant gettext machinery...)

Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-04-11 19:30:18 -04:00
Isaac (.ike) Levy
c110325b46 Stub out locations for .pot gettext files
I'm not certain if this is the eventual final location for the .pot files, but, they should certainly be bundled up neatly with the OPNsense "core" package, as they are for the OPNsense GUI itself- not the base OS.

Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-04-11 19:30:18 -04:00
Franco Fichtner
511eb60e55 src: zap code that handled "cdrom" idiosyncrasies
We can do without those on the install media.  Instead, route
necessary code parts through is_install_media().  A lot of
stale and forgotten code got ditched in the process--e.g. when
did we ever run without an /etc/fstab?
2015-03-14 17:33:48 +01:00
Franco Fichtner
c93d5dcb70 rc: employ the same write probe trick for early installer menu 2015-03-14 16:52:41 +01:00
Franco Fichtner
bd772534a2 rc: remove platform awareness from main rc script
Platforms are all the same, except when / is not writable.  That
only ever matters once, when we fake it writeable using unionfs.
2015-03-14 16:26:34 +01:00
Franco Fichtner
01d78e2a68 dyndns: fix minor Duck DNS issues 2015-03-14 07:39:09 +01:00
Ad Schellevis
2da4270dde force config file root to be named opnsense 2015-03-13 19:13:42 +01:00
Ad Schellevis
77d651cc0b bugfix config->toArray 2015-03-13 16:06:55 +01:00
Ad Schellevis
bab9a4c1d5 remove unused functions and switch to SimpleXML as default parser. 2015-03-13 15:41:58 +01:00
Ad Schellevis
6004b1de2f bugfix new config handler 2015-03-13 15:09:27 +01:00
Ad Schellevis
195378fd1a fix typo 2015-03-13 13:31:43 +01:00
Ad Schellevis
8dda3da09c add filesize to getBackups 2015-03-13 13:28:21 +01:00
Ad Schellevis
46d2849652 update fromArray to support forced lists on specific tags 2015-03-13 11:57:02 +01:00
Ad Schellevis
da2c3c1b6f add revisiondata to getBackups for config class 2015-03-13 08:39:47 +01:00
Ad Schellevis
6a2f32dcd2 change backup method for config to public 2015-03-12 17:17:39 +01:00
Ad Schellevis
261d487d8c add isValid public method on config class 2015-03-12 15:40:40 +01:00
Ad Schellevis
f1c11390dc config bug in updateRevision 2015-03-12 14:45:35 +01:00
Ad Schellevis
331f4665d9 change save -> backup default behavoir 2015-03-12 14:22:20 +01:00
Ad Schellevis
821f5331d1 add revision information on config save 2015-03-12 13:59:20 +01: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
Ad Schellevis
aa34ef3ef6 proxy templates (initial / test ) 2015-03-10 20:01:30 +00:00
Ad Schellevis
a511460659 cleanup template helpers 2015-03-10 20:42:26 +01:00
Ad Schellevis
e8ad98673a add helper functions for template engine 2015-03-10 20:06:31 +01:00
Ad Schellevis
aa7e5719ee work in progress proxy feature 2015-03-10 17:26:02 +01:00
Ad Schellevis
3e3548d14d add frontend support for multi select boxes 2015-03-10 17:24:59 +01:00
Ad Schellevis
0a92399b32 documentation fix 2015-03-10 17:24:24 +01:00
Ad Schellevis
de18def366 add support for custom return hooks in getNodes 2015-03-10 17:23:40 +01:00
Ad Schellevis
53166be0af add fieldtype for simple selections (iunterfaces etc.) 2015-03-10 17:22:21 +01:00
Franco Fichtner
d963cad001 pkg: shell magic, indent, whitespaces 2015-03-10 14:04:25 +01:00
Ad Schellevis
984522a7e4 update squid reconfigure action 2015-03-10 13:46:31 +01:00
Ad Schellevis
231f818c89 use configd's rc script after package upgrade 2015-03-10 10:50:32 +00:00
Ad Schellevis
1ea2e24c2f implement configd rc script in rc system 2015-03-10 10:27:24 +00:00
Ad Schellevis
9871722454 configd rc script fixes 2015-03-10 10:26:19 +00:00
Ad Schellevis
14359727fd add standard rc script for configd (/usr/local/etc/rc.d/configd) 2015-03-10 09:24:56 +00:00
Franco Fichtner
d1f97f7b26 rc: simplify halt/reboot a bit and use synchronous halt on the console 2015-03-10 09:51:38 +01:00
Franco Fichtner
f5b013a0dc make: exclude new .ttf files from `lint' target 2015-03-10 09:36:44 +01:00
Franco Fichtner
3e4e5872c4 inc/upgrade: tmp_path progression 2015-03-10 09:26:51 +01:00
Franco Fichtner
4fe76dde30 rc: on cdrom images, the config is bootstrapped afterwards, meh 2015-03-10 09:15:36 +01:00
Franco Fichtner
82cfdeb456 rc: shells are weird 2015-03-10 07:50:59 +01:00
Ad Schellevis
15dcb2ece8 use php session_status to check for active session ( >= php 5.4 ) 2015-03-09 20:56:16 +00:00