Commit Graph

1942 Commits

Author SHA1 Message Date
Szabó Gergő 749e4c031c Translate the remove widget dialog (#2323)
* Translate the remove widget dialog
2016-08-27 09:14:31 +10:00
Samuel Georges c8d8d4e931 Introduce new Cms helper
This is modeled after the Backend helper. Primarily used to generate URLs for the frontend, these are piped through the CmsController action. It would also be a good place to add a hook, if necessary later.
2016-08-20 14:43:49 +10:00
Samuel Georges 7373cf2bfb Merge pull request #2324 from alxy/patch-13
ImportModel didnt respect encoding
2016-08-19 07:30:16 +10:00
Alexander Guth 61823329c8 ImportModel didnt respect encoding
In contrast to the preview CSV reader, the actual ``ImportModel`` did not respect any encoding values provided. This leads to bugs with any non utf8-compliant characters. This PR fixes the problem by adding the appropriate encoding filter (copied from the preview reader).
2016-08-18 21:11:21 +02:00
Samuel Georges f670526015 Merge pull request #2320 from gabsource/fix-reorder-key-name
Reorder partial should use the model key name attribute to display the ID
2016-08-17 19:57:50 +10:00
Jérémy Gaulin 198230e281 Reorder must use the model `getKey()` method (configurable key name) instead of harcoded `id` property. 2016-08-16 19:36:55 +04:00
Samuel Georges de4e0e7b14 Merge pull request #2317 from gergo85/patch-1
Translated Froala missing keys for Hungarian
2016-08-16 20:13:37 +10:00
Szabó Gergő 813fdef1d1 Translated Froala missing keys for Hungarian 2016-08-16 08:49:20 +02:00
Samuel Georges 5253073f67 Merge pull request #2314 from digital-ronin/develop
Fixed Typo
2016-08-16 07:47:17 +10:00
Jérémy Gaulin 66965e7a43 Translated missing keys 2016-08-15 22:25:55 +04:00
Daniel-Bruni Ziermann 64e1095dc2 Fixed Typo 2016-08-15 15:06:55 +02:00
Samuel Georges b29cb9340a Merge pull request #2277 from jimcottrell/treeview-scrolling
Add scrolling to JS TreeView when dragging sortable elements
2016-08-13 15:32:57 +10:00
Samuel Georges 5c53b10c20 Merge pull request #2295 from gabsource/fix-relation-manage-readonly
Propagate the RelationController readOnly option to the viewClickList AJAX action
2016-08-13 15:30:58 +10:00
Samuel Georges 3d69b1d7a5 Add IE edge headers for policies stuck in compat mode
Fixes #1859
2016-08-13 15:29:58 +10:00
Samuel Georges 618a035616 Apply defined constraints to view mode
In the same way it is currently applied to manage mode
Fixes #2292
2016-08-13 15:21:17 +10:00
Samuel Georges c2d2250a1c RelationController "Remove" now works with deferred bindings
This brings the logic in line with the "Add" logic, using session keys where applicable
Fixes #1150
2016-08-13 12:41:03 +10:00
Samuel Georges 1c3631bede Datepicker can use an expressed date for default value
@Carbon::parse was still failing, wrapped in do nothing try/catch instead
We don't seem to need to prefix time values anymore, since DateTimeHelper::makeCarbon should handle it
Fixes #2299
2016-08-13 11:29:01 +10:00
Samuel Georges d7b9b4f65e Fixes vague error when attribute is not fillable
Previously an error was being thrown with just the attribute name, not helpful at all.
Fixes #2302
2016-08-13 10:48:52 +10:00
Samuel Georges 6070d2f6bd Fixes unstyled tab area (Pages plugin > Edit page) 2016-08-13 10:17:49 +10:00
Samuel Georges 6353ded91f Brand settings can now be seeded from config 2016-08-13 07:56:11 +10:00
Samuel Georges 42a702f70a Fix the background for flex-layout panel like in RainLab.Builder
Working fix for #2260
2016-08-13 07:54:47 +10:00
Jérémy Gaulin 7f22ba62dc Propagate the readOnly option to the viewClickList AJAX action 2016-08-08 08:35:57 +02:00
Samuel Georges c4007dd570 Recompile assets 2016-08-08 08:28:14 +10:00
Samuel Georges becc4ca5d1 Revert "Fix the background for flex-layout panel like in RainLab.Builder" 2016-08-08 08:26:17 +10:00
Samuel Georges 61ac68fd5e Allows relationRender to specify readOnly mode
Fixes #2245
2016-08-06 13:15:08 +10:00
coderwen 35e8b8f9fb Add missing Chinese translation (#2291)
Various chinese translations
2016-08-06 11:53:23 +10:00
Szabó Gergő 7f3527759c Update the Hungarian translate (#2271)
* Update the Hungarian translate
2016-08-06 11:46:29 +10:00
Samuel Georges c69b8077f4 Merge pull request #2284 from MarvinDurot/develop
Fix list refresh with multiple definitions after the index_onDelete method is ca…
2016-08-06 11:39:47 +10:00
Samuel Georges c5bc6612d0 Merge pull request #2288 from soulshockers/patch-1
Fixed calling dynamic methods for dynamically extended widgets.
2016-08-06 09:52:48 +10:00
Samuel Georges 0b0e158009 Recompile assets
Refs #2267
2016-08-06 09:47:26 +10:00
soulshockers e10c162667 Fixed calling dynamic methods for dynamically extended widgets. 2016-08-05 18:51:27 +03:00
MarvinDurot ce1e7949d7 Fix multiple definition list refresh when index_onDelete method is called 2016-08-04 12:46:11 +02:00
Jim Cottrell 1d91c221b0 Add scrolling to JS TreeView when dragging sortable elements 2016-08-02 16:08:17 -06:00
Samuel Georges 59c1d57b3f Revert "fix hardcoded sort order name" 2016-08-02 19:53:20 +10:00
Samuel Georges 5c2ef275ad Merge pull request #2264 from gabsource/gender-neutral-relation-fr-translation
Improved french translation for model relations
2016-08-01 19:39:49 +10:00
Samuel Georges 48ae2631cd Merge pull request #2261 from cesarzagonel/fix-hardcoded-sort-order-name
fix hardcoded sort order name
2016-08-01 17:40:43 +10:00
Jérémy Gaulin 564fb5d330 Changed french relation translation to something more gender neutral. 2016-07-31 14:38:15 +02:00
Cesar e0f5b560bc fix hardcoded sort order name 2016-07-30 18:50:32 -04:00
Jérémy Gaulin c169684489 Fix the background for flex-layout panel like in RainLab.Builder 2016-07-30 10:42:13 +02:00
Samuel Georges 96eba6febc Roll back uncommon features
Refs #2249
2016-07-30 12:04:21 +10:00
Samuel Georges ec47cba33f Merge pull request #2249 from gergo85/develop
Improve the Administrators list
2016-07-30 11:56:35 +10:00
Samuel Georges 0573e0593a Search should persist across pagination
The search term is now reset only when the record finder is first opened
Fixes #2161
2016-07-30 11:46:36 +10:00
Samuel Georges fdcfe801a7 Write tests for #2258
Prevent nulling when model fails validation
2016-07-30 10:59:25 +10:00
Samuel Georges b6ecc65275 Merge pull request #2252 from gergo85/patch-1
Translate the Loading message
2016-07-28 19:28:44 +10:00
Szabó Gergő fa146aaea7 Translate the Loading message 2016-07-28 09:15:12 +02:00
Luke Towers b26eeed03c Enable refresh on form controller requests (correct branch)
This adds support for a redirect to the current page (a refresh) to be returned by the form controller. An example use case is adding `data-request-data="refresh:1"` to the save button on an update form. I'm using it for an update form that disables certain fields (including a relationRender partial) based on values submitted on that page. Refreshing the view after saving allows my disabling rules to take effect.
2016-07-27 09:05:12 -06:00
Szabó Gergő e956b24cce Add new columns for Administrators list 2016-07-27 15:09:00 +02:00
Szabó Gergő c37f078e29 Improve the Administrators list 2016-07-27 11:50:44 +02:00
Samuel Georges 78a4067564 Make logic more explicit
This tightens up the rules of 7baea87068
2016-07-23 15:50:48 +10:00
Samuel Georges c70db75d38 Pass the data set along with getOptions methods
This is useful when the model is unreliable, because it is not always populated with the relevant data set. This argument is only needed in edge cases, like when using a repeater or other split class<->data scenarios
Refs #2235
2016-07-23 15:16:57 +10:00