3590 Commits

Author SHA1 Message Date
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
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
Christian Willing
2b71055677 change spaces 2016-07-27 11:49:16 +02: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
Json
3206f6657d Create client.php 2016-07-24 21:48:27 +08:00
Jens Herlevsen
fe24864d87 Add 'exact' field preset type to input.preset.js 2016-07-24 13:10:38 +02:00
Samuel Georges
c0f14b33a7 Update README.md v1.0.351 2016-07-23 18:12:50 +10:00
Samuel Georges
52e3e5b2d8 Update README.md 2016-07-23 18:12:23 +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
9a4f042e97 Merge pull request #2230 from octobercms/develop
Build 350
2016-07-21 21:24:59 +10:00
Samuel Georges
676196d304 Use starts_with instead of regex v1.0.350 2016-07-16 15:34:20 +10:00
Samuel Georges
b606e331a0 Write tests for MorphMany models
Refs https://github.com/octobercms/library/pull/217
2016-07-16 14:44:08 +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
8cf9050aed Merge pull request #2205 from JoelESvensson/develop
Commit folder structure to fix october:mirror
2016-07-16 13:12:47 +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
958d4b93b6 Commit folder structure to fix october:mirror 2016-07-13 02:03:50 +02: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
Samuel Georges
0970a755b8 Merge pull request #2201 from mplodowski/german-datepicker
German datepicker translation
2016-07-12 19:06:14 +10:00
Michał Płodowski
bbf503f212 German datepicker translation 2016-07-11 19:55:35 +02:00