Commit Graph

2053 Commits

Author SHA1 Message Date
Samuel Georges 6b56476f66 Merge pull request #2469 from joseph-d/patch-1
Update Filter.php
2017-01-13 06:29:54 +11:00
Samuel Georges 54160d069d Merge pull request #2597 from LukeTowers/patch-10
[bugFix] RelationController manage[title] not respected in Create contexts
2017-01-10 06:08:51 +11:00
Samuel Georges f9c659343b Further styling improvements
Refs #2575
2017-01-09 08:37:36 +11:00
Samuel Georges 62d7ff9532 Merge pull request #2575 from triasrahman/develop
Enhance usability of list pagination.
2017-01-09 07:51:01 +11:00
Samuel Georges 5caf40c4ad Merge pull request #2593 from gpasztor87/patch-1
Fix backendPreferences live update script.
2017-01-09 06:28:30 +11:00
Samuel Georges 5f4945af7c Merge pull request #2586 from octoberfa/master
Update Persian Language
2017-01-08 11:37:57 +11:00
Samuel Georges f9a8d02172 Merge pull request #2577 from gpasztor87/develop
Style fixes on report container and plugin details page.
2017-01-08 11:20:38 +11:00
Samuel Georges 7e7e9720d2 Merge pull request #2582 from tschallacka/ukraine-fix
Unescaped quote fix
2017-01-08 10:31:57 +11:00
Marvin 6bdd1c2d9c Improve French translation (#2581)
* Fix french translation for login

* Translated new keys for french locales

* Changed french form translation to something more gender neutral
2017-01-08 10:30:43 +11:00
Samuel Georges c9bb4d396e Merge pull request #2573 from sw-double/feature/datepicker-year-range
Support yearRange property for datepicker form field
2017-01-07 12:10:49 +11:00
Luke Towers 83474c96eb Make the changes to the _manage_form.htm partial to support custom titles on manage forms in Create contexts 2017-01-06 18:01:33 -06:00
Luke Towers 102831ecc2 Improve RelationController evalManageTitle()
Improves the evalManageTitle() method of the RelationController by making it possible to detect being the create manage form, which will enable us to utilize the results of the evalManageTitle in the manage_form partial.
2017-01-06 17:45:58 -06:00
Pásztor Gábor bb5b20ed94 Fix backendPreferences live update script. 2017-01-05 18:42:03 +01:00
Sajjad 3d3a788076 Update Persian Language 2016-12-30 18:14:53 +03:30
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
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
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
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 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
Pásztor Gábor 94ab13cd8b Fix exception message, remove some unneded imports. 2016-12-07 21:33:05 +01: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 4fa40d342e Allow export to disable first row as header 2016-12-03 07:36:39 +11: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 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 6bbf496ab2 Simplify code
This makes xdebug happy
Refs #2502
2016-11-23 08:11:24 +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
Luke Towers 05ab8bdb01 Pass current model to RelationController view & manage scopes
This improves the extensibility of the relation controller by passing the parent relation model to the query scope that will be applied to both the view and manage options. It allows the use of attributes of the parent relation model in the query scope applied to the relation.

This is a mirror of october/octobercms#2419, except for the relation controller instead of the record finder widget. If necessary, I can create a case in the test plugin, but if this is simple enough with the added reference to the prior PR to not require a case in the test plugin, that would be simpler for me :) 

@daftspunk, let me know what you think.
2016-11-16 12:05:44 -06:00
Samuel Georges 1a41f632bc Merge pull request #2477 from zerkms/USER_FILTER_SUPERUSER_BOOLEAN
[!!!] Fix for postgresql: you cannot compare a boolean column with integers
2016-11-16 07:14:56 +11:00
Ivan Kurnosov c9ba4c49e6 Fix for postgresql: you cannot compare a boolean column with integers 2016-11-15 16:55:23 +13:00
Samuel Georges a2a0b207c6 Expose isCodeViewActive API function
Recompile JS
2016-11-12 14:12:48 +11:00
Szabó Gergő d1268c9905 Translate the Page link popup (#2467)
* Translate the Page link popup

* Remove the unnecessary dot

* Update the import/export Hungarian translation

* Update the Froala Hungarian translation
2016-11-10 07:39:29 +11:00
Samuel Georges be3bf61a3b Merge pull request #2470 from acrontum/develop
Update DE Lang File
2016-11-10 07:36:05 +11:00
Samuel Georges a313d4eb5b Minor fixes 2016-11-10 06:49:45 +11:00