5765 Commits

Author SHA1 Message Date
Franco Fichtner
7985db12e0 README: bring it up to speed, discourage mount/umount usage 2016-08-13 14:02:37 +02:00
Franco Fichtner
1b21ad916c www: fix previous
Spotted by: @fabianfrz
2016-08-13 13:35:25 +02:00
Franco Fichtner
c1141f4dd6 www: fix two translation issues
Reported by: @Antonio-Prado
2016-08-13 12:57:09 +02:00
Franco Fichtner
4425c28ea0 src: extend whitespace sweep to root dir files 2016-08-13 12:50:58 +02:00
Ad Schellevis
d137b214ad output style for unversioned upgrade in run_migrations.php 2016-08-12 19:08:45 +02:00
Ad Schellevis
f3aed56978 execute run_migrations.php after pkg install 2016-08-12 15:36:24 +02:00
Ad Schellevis
e527d539f6 (model, migrations) extend output 2016-08-12 15:35:53 +02:00
Ad Schellevis
e05b89b44c osx doesn't mind case.... typo 2016-08-12 15:28:21 +02:00
Ad Schellevis
a015dd4a7d change mode for run_migrations.php 2016-08-12 15:23:22 +02:00
Ad Schellevis
c16fac21c9 (proxy) set version 2016-08-12 15:22:05 +02:00
Ad Schellevis
73af4392f5 add run_migrations.php 2016-08-12 15:20:41 +02:00
Ad Schellevis
137cac91d5 (model, migrations) add default migration strategy 2016-08-12 15:17:29 +02:00
Ad Schellevis
6a7262c509 style fix 2016-08-12 15:16:34 +02:00
Ad Schellevis
1492ddfd39 (mvc) more work on migrations, fix autoloader, serialize to config when all steps for this model are finished 2016-08-12 14:35:17 +02:00
Franco Fichtner
f55a12b466 vpn: correct capitalisation for Common Name 2016-08-12 14:01:35 +02:00
Ad Schellevis
a38eb7aa90 (mvc) change case for Migrations directory 2016-08-12 12:02:14 +02:00
Ad Schellevis
89fa64dbcb (mvc) BaseModel add getVersion() to retrieve the running config version, commit changes to in memory config after every migration step.
Errors will be send to syslog, current policy is to always upgrade and ignore migration errors.
(there's not really a way back, other then undo pkg install and revert the full config)
2016-08-12 11:27:49 +02:00
Ad Schellevis
aaa0ddafe1 (ids) style fix 2016-08-12 09:33:37 +02:00
Ad Schellevis
2a9b312b2e Merge pull request #1127 from pv2b/uimodelgrid-itemsperpage-default
(Base) Default to inf rows not 9999
2016-08-12 09:22:25 +02:00
Franco Fichtner
74a8a4f0a7 mvc: style sweep 2016-08-12 05:34:50 +02:00
Franco Fichtner
2e31042e43 rc: transition code for new-style extensions ordering 2016-08-12 07:51:16 +02:00
Franco Fichtner
bd182fd5ef crash reports: don't have to hide this, will be fixed in 16.7.2 2016-08-12 07:45:27 +02:00
Franco Fichtner
b236262878 interfaces: annotate dhcp modes; closes #1052 2016-08-12 07:44:07 +02:00
Franco Fichtner
57bb583c1d interfaces: add missing validation for previous #1052 2016-08-12 07:25:47 +02:00
Franco Fichtner
e86885cb04 interfaces: fix clearing the dhcp config file when override file is gone #1052 2016-08-12 06:44:17 +02:00
Ad Schellevis
3e0be39524 Merge pull request #1133 from pv2b/patch-1
(base) Do not encourage overriding getModel()
2016-08-11 21:43:48 +02:00
pv2b
bf79d5a625 (base) Do not encourage overriding getModel()
Overriding getModel() is not to be done lightly. The code relies on the same object being there through multiple calls to getModel(). Any overriding methods should preserve this same behavior. For this reason, we should not encourage tinkering with this in a comment, better be silent on the matter.
2016-08-11 21:41:28 +02:00
Ad Schellevis
a90e2ddc31 (mvc) missed a spot 2016-08-11 21:20:39 +02:00
Ad Schellevis
618036bc55 (mvc) refactor ApiMutableModelControllerBase for https://github.com/opnsense/core/pull/1126 2016-08-11 21:02:11 +02:00
Ad Schellevis
5c68c8f264 Merge pull request #1126 from pv2b/ApiMutableTableModelControllerBase
ApiMutableTableModelControllerBase
2016-08-11 20:00:05 +02:00
Ad Schellevis
6a5948df31 (unittests) add versioning and migrations to unittests 2016-08-11 18:48:16 +02:00
Ad Schellevis
653968818f (mvc) add version to model spec and add initial migration support 2016-08-11 18:46:44 +02:00
Ad Schellevis
d46f43b083 (model) fix typo 2016-08-11 16:45:06 +02:00
Ad Schellevis
14d53f5b8d (legacy) ditch compare_interface_friendly_names 2016-08-11 10:58:44 +02:00
Ad Schellevis
26a6680224 (filter.inc) integrate filter_rules_compare into filter_rules_sort 2016-08-11 10:48:00 +02:00
Ad Schellevis
48769e27ae sort interfaces in legacy_config_get_interfaces, https://forum.opnsense.org/index.php?topic=3514 2016-08-10 20:48:54 +02:00
Franco Fichtner
738f733d1d rc: no use starting sshd before user sync 2016-08-10 19:14:02 +02:00
Per von Zweigbergk
053f7f89cd (base) Added hooks that can be used by controllers to take actions at the appropriate time during an action 2016-08-10 14:39:32 +02:00
Franco Fichtner
2f08855258 mvc: style sweep 2016-08-10 13:14:28 +02:00
Fabian Franz
6411baeaa1 translation; closes #1069
Omit the console changes, we are not prepared for improving
the translation there.
2016-08-10 08:34:05 +02:00
Franco Fichtner
63e1ff587d services: explain unbound forward mode
PR: https://forum.opnsense.org/index.php?topic=3502
2016-08-10 08:10:20 +02:00
Ad Schellevis
58010a4ccd (ipsec) change default Negotiation Mode, closes https://github.com/opnsense/core/issues/1128 2016-08-09 19:50:26 +02:00
Per von Zweigbergk
44eb7531f9 (base) Added missing $this-> 2016-08-09 19:43:24 +02:00
Per von Zweigbergk
7600727f6b (base) Fixed a mistyped Paamayim Nekudotayim 2016-08-09 19:35:44 +02:00
Per von Zweigbergk
95c39134d9 (Base) Properly update argument list for save after implementing 2016-08-09 19:27:37 +02:00
Per von Zweigbergk
d48d419106 (Base) Refactor to split out saving/validation logic 2016-08-09 19:27:15 +02:00
Per von Zweigbergk
051947869f (base) Fixups of ApiMutableTableModelControllerBase
Changed base class from ApiControllerBase to ApiMutableModelControllerBase
Fixed incorrect string concatenation (+ instead of .) in getNodes()
Removed stray parentheses
Extracted static fields for gridFields and gridDefaultSort
2016-08-09 16:34:44 +02:00
Per von Zweigbergk
ea9be4a9ee (base) Get rid of spurious origin code 2016-08-09 16:34:44 +02:00
Per von Zweigbergk
a45758ff84 (base) Properly check for null in getNodeByUUID 2016-08-09 16:34:44 +02:00
pv2b
58bfcf6e4a style fix 2016-08-09 16:34:44 +02:00