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
Samuel Georges
4c84adb77e
Merge pull request #2251 from LukeTowers/develop
...
Enable refresh on form controller requests (correct branch)
2016-07-28 19:25:55 +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
Samuel Georges
83a541f819
Minor code consistency
2016-07-27 17:21:38 +10:00
Samuel Georges
3ab90da6b5
Take data from form widget first, then request
...
URL -> Url
2016-07-27 17:17:22 +10:00
Samuel Georges
78a4067564
Make logic more explicit
...
This tightens up the rules of 7baea87068e496d83d6afd46fccee699779cb2ad
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
Samuel Georges
675a6a4224
Code improvements
...
Refs #2235
2016-07-23 14:22:36 +10:00
Samuel Georges
422098c9c7
Fixes inconsistency in popup.js API
...
Fixes #1685
2016-07-23 13:54:56 +10:00
Samuel Georges
07b0c7d0ce
Merge pull request #2235 from acasar/nested-depends-on
...
DependsOn in repeater
2016-07-23 13:36:24 +10:00
Samuel Georges
80fb1f42cc
Further code improvements
...
Refs #2233
2016-07-23 13:06:38 +10:00
Samuel Georges
b934e8bd98
Merge pull request #2233 from acasar/fix-nested-repeater
...
Fix nested repeater sorting
2016-07-23 13:00:31 +10:00
Evgeny Razumov
37a5ae611b
Bug fix in taglist widget with nameFrom option
...
Fixes #2231
2016-07-23 12:57:08 +10:00
Antony Tsioukas
b64b480918
Greek Language Update
2016-07-23 12:40:32 +10:00
CSNWEB
34bd318427
Fix searching in non text fields under Postgres
...
Fixes #2092
2016-07-23 12:24:41 +10:00
Samuel Georges
7baea87068
Allow AJAX handlers to pipe objects to Laravel
...
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
Samuel Georges
584f2871b0
Update pikaday to allow disabling specific dates
...
Fixes #2237
2016-07-23 11:30:11 +10:00
Samuel Georges
c7724f7c90
Minor rollback
...
Not all widget base classes will allow arg 1 from being omitted, specifically Report Widgets that define drop down options
Fixes #2229
2016-07-23 11:17:58 +10:00
Samuel Georges
8b21ed7d6f
Exception handling
...
Where a theme is set that does not exist
Fixes #2223
2016-07-23 11:02:26 +10:00
Samuel Georges
ad67c9ab09
Buttons container has an inner toolbar
...
Consider this when adding new buttons without insertBefore/insertAfter definition
Fixes #2194
2016-07-23 09:53:23 +10:00
Samuel Georges
5af9fcbfdc
Sidebar needs to sit above dropdown overlay
...
This prevents the mouseout event firing and ending the entire show
Recompile assets
Fixes #2190
2016-07-23 09:42:18 +10:00
Anže Časar
79bb4c2035
Nested DependsOn
2016-07-22 00:38:32 +02:00
Anže Časar
453096bb27
Fix nested repeater
2016-07-21 18:55:03 +02:00
Samuel Georges
676196d304
Use starts_with instead of regex
2016-07-16 15:34:20 +10:00
Samuel Georges
dbdf8f780a
Merge pull request #2128 from slipgrom/develop
...
morphMany Relation support
2016-07-16 14:08:35 +10:00
Samuel Georges
9c12160f5d
october:mirror no longer experimental
2016-07-16 13:14:59 +10:00
Samuel Georges
0a3dddf569
Merge pull request #2206 from JoelESvensson/patch-2
...
Escapes exception output
2016-07-16 13:13:03 +10:00
Samuel Georges
c3f76ce61c
Merge pull request #2207 from JoelESvensson/fix-october-mirror
...
Only public folder should be mirrored
2016-07-16 13:11:59 +10:00
Samuel Georges
e970d80443
Align AJAX logic: merge custom response last
...
This is to allow overriding the standard values
Refs #2209
2016-07-16 13:11:10 +10:00
Samuel Georges
09adbbe069
Merge pull request #2209 from LukeTowers/develop
...
Moves AJAX handler response handling
2016-07-16 13:07:54 +10:00
Samuel Georges
346dc91d72
Merge pull request #2216 from acasar/patch-1
...
Pass the router reference on beforeRoute event
2016-07-16 12:53:14 +10:00
Anže Časar
68deb59265
Pass the router reference on beforeRoute event
2016-07-15 17:05:25 +02:00
Luke Towers
b73811fefc
Moves AJAX handler response handling
...
Fixes octobercms/october#2208
2016-07-13 09:51:18 -06:00
Joel E. Svensson
dcfc0897fe
Only public folder should be mirrored
2016-07-13 02:02:02 +02:00
Samuel Georges
c8f8c5cc27
Merge pull request #2200 from mplodowski/polish-lang
...
Polish language update (pl)
2016-07-13 08:01:53 +10:00
Michał Płodowski
bbf503f212
German datepicker translation
2016-07-11 19:55:35 +02:00
Michał Płodowski
75dbd74bca
Polish language update (pl)
2016-07-11 19:34:53 +02:00
Joel Ekström Svensson
5f7b7d8c6d
Escapes exception output
...
Fixes #2198
2016-07-11 17:32:30 +02:00
Sebastian Hilger
87cd7d8bf6
Added missing backend translations (German) ( #1825 )
...
* Added auth.title which was missing in the German language file
* Added missing backend translations to two language files
* added more German translations
2016-07-09 20:43:01 +10:00
Samuel Georges
8e4142558b
Merge pull request #1741 from ARH-Digital/develop
...
Add morphic relations to backend
2016-07-09 20:38:21 +10:00
Samuel Georges
cc28b35b07
$this is not accessible in static context
...
Fixes #2193
2016-07-09 05:50:01 +10:00
Michał Płodowski
7b1437d026
Fix database config parsing
2016-07-08 17:23:03 +10:00
Michał Płodowski
fb7e7ff164
Command for changing configuration to env syntax
2016-07-08 17:23:03 +10:00
Aleksey Bobkov
53b8df0721
Force rich editor to synchronize when a form is saved.
2016-07-06 18:27:27 -07:00
Samuel Georges
305f20e4f9
Merge pull request #2164 from Herlevsen/danish_backend
...
Expose danish language in backend locale dropdown
2016-07-07 08:00:26 +10:00
Samuel Georges
3aa7afcbf2
Merge pull request #2159 from side-by-side/patch-1
...
Added missed russian translation
2016-07-07 07:59:59 +10:00
Samuel Georges
fe3b61f802
Merge pull request #2157 from prasanth-darsan/develop
...
error on saving attachment config when in pivot form of a relation
2016-07-07 07:59:42 +10:00
Samuel Georges
9be8a8c0a3
Minor code tidy
2016-07-07 07:56:10 +10:00