3208 Commits

Author SHA1 Message Date
Tschallacka
1c1082fdcd Also missing closing bracket fix 2016-12-27 23:09:08 +01:00
Tschallacka
c97b68e531 Unescaped quote fix 2016-12-27 23:00:31 +01:00
Sergey Karavay
fe4d593519 Add Belarusian language into preferences, fix translations of languages for all locales.
Notes:
Translations for all languages in preferences' drop-down should be written in native language not depending from current locale. As for example, you can take Youtube language settings at the bottom of the screen. And user can choose a language he can actually read.
As all localisation strings go to "en" as a fallback, we can just remove locale translations from all localization files except "en"".
2016-12-23 10:12:56 +00:00
Pásztor Gábor
4172889c33 Fix image sizes in plugin details page. 2016-12-21 20:53:48 +01:00
Pásztor Gábor
039a49979a Style improvements on reportcontainer's manage widget dropdown. 2016-12-21 20:15:07 +01:00
Trias Nur Rahman
897c875fa9 Enhance usability of list pagination. 2016-12-21 21:50:44 +07:00
Konstantin L
15cea23308 Support yearRange property for datepicker field. 2016-12-20 20:21:02 +01:00
Samuel Georges
38b6c51381 Merge pull request #2566 from sw-double/feature/fix-ru-lang
Fix ru lang for backend users
2016-12-17 10:16:38 +11:00
Samuel Georges
6af6ebe733 Added config backendForceSecure used to force HTTPS
Refs https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html
2016-12-17 10:16:02 +11:00
Konstantin L
d077801ab8 Fix ru lang for backend users. 2016-12-16 18:45:47 +01:00
Konstantin L
f10de2fc10 Respect database tables config. 2016-12-15 20:57:17 +01:00
Samuel Georges
c644f8b66d Fixes issue where nested columns forcibly hide
Eg: "myrelation[attribute]" as a column name would cause the list setup to hide these fields with no ability to bring them back
2016-12-14 19:14:41 +11:00
Meysam
9ab9c87e6a Fix typo 2016-12-10 06:33:21 +03:30
Vojta Svoboda
a7f2e48a44 Translate ‘plugin not found’ phrase (#2538) 2016-12-10 13:24:26 +11:00
Samuel Georges
b85c4f9b7b Improve list tree styling and minor fix
Fixes bug with non standard primary key on model when using tree mode
Fixes #2532
Recompile assets
2016-12-10 13:19:32 +11:00
Samuel Georges
e8ba7fef5b Plugin dependency definitions no longer case sensitive
Dependency checking is disabled for the front end to increase performance
2016-12-10 10:59:45 +11:00
Samuel Georges
0a2b343047 Simplify system events
This pipes all event calls through a new EventEmitter trait, which substitutes the October Rain event emitter trait. The view event has been moved to this trait also.
Pass some variables by reference to allow multi-extension.
Fixes #2420
2016-12-10 09:02:06 +11:00
Samuel Georges
1bdedb5584 Add renderPartial event to match renderContent
Fixes #2519
Fixes #2533
2016-12-09 08:15:32 +11:00
Samuel Georges
4b79531499 Merge pull request #2531 from jBOKA/patch-1
Updated validation message for string.min and string.max
2016-12-08 07:59:13 +11:00
Pásztor Gábor
94ab13cd8b Fix exception message, remove some unneded imports. 2016-12-07 21:33:05 +01:00
Samuel Georges
78c64cf4a8 Minor revision to style fix
Refs #2542
2016-12-08 01:59:19 +11:00
Pásztor Gábor
8de7891bcc Style fix on secondary tabs. 2016-12-07 15:41:59 +01:00
Samuel Georges
8724566849 Implement support for twig macro/import
Fixes #2526
2016-12-07 20:58:25 +11:00
Samuel Georges
04d54089f8 Merge pull request #2527 from gergo85/patch-2
Change the codeeditor language to html on the Mail template page
2016-12-06 07:55:07 +11:00
Samuel Georges
afa2c83c3c Fixes bug introduced by #2507
The many-to-many relationship types choke pretty hard on this enhancement, so only use it for the simple one-to-many/one-to-one style relations instead.
Fixes #2524
2016-12-04 10:48:22 +11:00
Samuel Georges
fad4d52e79 Merge pull request #2515 from LukeTowers/patch-9
Respect whitespace on disabled codeeditors
2016-12-03 08:13:17 +11:00
Samuel Georges
7f38d9b6b3 Merge pull request #2537 from gpasztor87/patch-2
Style fix in popover.
2016-12-03 08:12:24 +11:00
Pásztor Gábor
98dc55f5ab Style fix in popover. 2016-12-02 21:56:59 +01:00
Samuel Georges
4fa40d342e Allow export to disable first row as header 2016-12-03 07:36:39 +11:00
jBOKA
b046c5ca2e Updated validation message for string.min and string.max
The Validation message results in "Filename of :attribute must not be longer than :max characters" for type string.
2016-12-01 17:05:54 +01:00
Szabó Gergő
1ef2e6cfb7 Change the codeeditor language to html 2016-11-30 15:50:44 +01:00
Samuel Georges
c31d3a9a96 Merge pull request #2513 from gpasztor87/patch-1
Using flexbox on login and reset page.
2016-11-30 07:17:18 +11:00
Samuel Georges
f771887ee5 When refreshing fields, forceFill is a bit too flaky
- Using a proxy field would populate a relation with an array of attributes, this is not good or consistent. Instead the FormModelSaver trait is used to bring the behavior in line with FormController and others. This should improve consistency in the behavior and developer expectations.

- The noticeable difference will be that relations and their values are now set by the postback data where possible. In cases where this is undesirable -- eg: updating a relation triggers proxy fields to update with existing values, when they should seed from the relation instead (desire to lose prior changes) -- the formExtendRefreshData controller override can be used to prune the existing values from the dataset, where they will then be seeded from the model as normal.

- Also the $data property is only rebuilt if it differs from the model. Previously it would corrupt the model-based dataset by converting to an array then back to an object. If the two objects are the same, they will be passed by reference and values will replicate this way.
2016-11-30 07:08:12 +11:00
Samuel Georges
85ca7715f2 Add Backend::date shorthand helper 2016-11-30 06:59:50 +11:00
Luke Towers
33c2d1c3bb Respect whitespace on disabled codeeditors
This wraps the contents of a disabled codeeditor field in an `pre` element so that the browser renders it respecting the formatting / whitespace of the contents (code in this widgets case) instead of squishing it all down.
2016-11-28 15:35:00 -06:00
Samuel Georges
b39ebec812 Pass columns to search scope
This allows the default search to be applied and combined with any custom constraints
2016-11-29 06:46:52 +11:00
Samuel Georges
6679aa6557 Increase default flash message interval
The data-validate-error container does not necessarily need to reside inside a form, but give it priority if it does.
2016-11-28 20:48:05 +11:00
Samuel Georges
f1d746abab Merge pull request #2507 from oliverpool/patch-1
Use the otherKey to update a relation
2016-11-28 08:45:40 +11:00
Samuel Georges
29040b416c Allow redirect: false on importExportController
Implement getFieldName() method
2016-11-28 07:50:06 +11:00
Pásztor Gábor
fc5af0de8f Fix on mobile view. 2016-11-27 20:48:24 +01:00
Pásztor Gábor
87a68f7bf7 Using flexbox on login and reset page. 2016-11-27 16:29:38 +01:00
oliverpool
01193511d5 Use the otherKey to update a relation
If the `otherKey` of the relationship was set, the widget was considering the wrong column name.
2016-11-24 13:33:20 +01:00
Samuel Georges
35296c5b26 Adds getFieldName helper to FormWidgetBase
Refs https://github.com/octobercms/docs/pull/207
2016-11-24 08:59:07 +11:00
Samuel Georges
329a275f10 Prevent code eval on cached assets
When the request tells the server that the asset is cached, there is no point firing up the combiner, computing the contents and affecting performance. This change should result in a nice boost in secondary page load times.

Thanks to @zerkms for pointing this out

Fixes #2474
2016-11-23 08:42:47 +11:00
Samuel Georges
6bbf496ab2 Simplify code
This makes xdebug happy
Refs #2502
2016-11-23 08:11:24 +11:00
Samuel Georges
07ef1bdf2b Last checkbox/radio in last form group
Makes it look good
2016-11-23 07:53:10 +11:00
kaserv
4025b4885b fix for array fields validation in client-side framework 2016-11-22 17:04:41 +04:00
Samuel Georges
b885ca0d24 Adds nowrap class & recompile less 2016-11-22 06:56:03 +11:00
Samuel Georges
97b0bc481f Merge pull request #2496 from LukeTowers/patch-7
Pass current model to RelationController view & manage scopes
2016-11-18 08:21:50 +11:00
Samuel Georges
0a8f169cc3 Improvements to framework extras
- Form validation
- Button loader
- Flash messages
2016-11-18 07:41:02 +11:00