Jim Cottrell
0d0be9d0e5
Trigger fileupload form field change on file removal ( #3319 )
...
Credit to @jimcottrell
2017-12-22 15:33:21 -06:00
Miro Rauhala
d54c3b18e9
Initialize missing variable ( #3318 )
...
Fixes #3317 . Credit to @mirorauhala
2017-12-21 16:06:56 -06:00
Miro Rauhala
1d3828c36e
Bring Finnish language up to date ( #3316 )
...
Credit to @mirorauhala
2017-12-21 11:16:01 -06:00
Panagiotis Koursaris
90635dd3b9
Add default ports on database config ( #3308 )
...
Credit to @panakour
2017-12-20 14:13:03 -06:00
Samuel Georges
33d492fda7
Merge pull request #3280 from aspendigital/settings-queue-restart
...
Trigger queue worker restart on settings model save
v1.0.431
2017-12-19 09:12:12 +11:00
Luke Towers
587d0d1993
Typo fix
2017-12-12 10:41:12 -06:00
Luke Towers
d0546599d1
Allow overriding form config in arbitrary contexts
...
This enables arbitrary form contexts to be defined to override the default values when using a form with custom contexts. I.e. `$this->update($id, 'mycustomcontext');` will load the form definition from `mycustomcontext[form]` instead of `update[form]`
2017-12-12 10:39:03 -06:00
HekmatFavid
a2789e6f60
Update client.php ( #3292 )
...
Changes to hijri calendar month and date names correction in fa language
2017-12-11 08:54:43 -06:00
Osman Zeki
fbf482a3f4
Change default environment to development ( #3288 )
...
Fixes #3287
2017-12-08 10:37:15 -06:00
Samuel Georges
b9581332aa
Save relations first in model saver
...
This aligns better with the relation principal "parent saves child" / "child cannot save parent" and is more conducive to the natural workflow of a coder, ie
// Relation first
$gallery = new Gallery;
$gallery->save();
// Primary model last
$post = new Post;
$post->gallery = $gallery;
$post->save();
Refs https://github.com/octobercms/library/pull/277
2017-12-06 21:21:19 +11:00
Samuel Georges
2036823eee
Removes non functional buttons in pivot mode
...
Refs https://github.com/daftspunk/oc-test-plugin/issues/28
2017-12-06 17:19:37 +11:00
Pásztor Gábor
da9369bb14
Fix deprecated calls. ( #3283 )
...
Credit to @gpasztor87
2017-12-04 06:13:27 -06:00
Luke Towers
b1d0108227
Improved inline docs
2017-12-02 15:43:57 -06:00
ametad
d26f2aca6d
Updating validation messages translations ( #3261 )
...
Updating validation messages to the latest Laravel 5.5 version. Credit to @ametad.
2017-12-02 15:37:23 -06:00
Samuel Georges
736188e26f
Recompile assets
v1.0.430
2017-12-02 17:43:14 +11:00
Jim Cottrell
1515261335
Trigger queue worker restart on settings model save
2017-11-30 14:51:54 -07:00
Steve Mortimer
7c20e32c47
Allow non-superusers with manage_users to set permissions back to inherit
...
Fixes #3274
v1.0.429
2017-11-30 15:01:43 -06:00
TimFoerster
b59c86cc48
Change incorrect default CSS classes for table styles ( #3270 )
...
Credit to @TimFoerster for spotting this
2017-11-28 20:46:30 -06:00
Szabó Gergő
e9a42602df
Add missing translation ( #3269 )
...
Fixes #3267
2017-11-28 08:27:15 -06:00
Samuel Georges
d2b2534699
Fixes poorly named event
...
Event names should be based on the class name, not the command name (so shouldn't ever need to contain the : character)
Refs #1644
2017-11-27 15:50:37 +11:00
Samuel Georges
9f1fe611e4
File cleaned up as part of review
2017-11-25 21:17:07 +11:00
SeriousKen
965d91e51c
Trailing & in requestData if data is empty ( #3262 )
...
This fixes a small issue where the form is submitted an extra unnamed null field is present in the request due to a trailing & symbol in `requestData` when `data` is empty.
2017-11-23 09:54:17 -06:00
Samuel Georges
a099e4e086
Change default mail driver to smtp
...
The "mail" driver has been removed completely from the underlying libraries due to serious security concerns.
Refs #3256
2017-11-23 11:51:56 +11:00
Luke Towers
2b6f4a0084
Properly support iconSvg in backend side nav menus
2017-11-22 17:23:01 -06:00
Samuel Georges
0b68668d14
Adds a constraint of 500 records at a time
...
Example given with 5000 records cripples the filter, this cap will keep it usable until we develop a better solution.
Refs #3202
2017-11-23 10:00:50 +11:00
Luke Towers
15314bbe94
Updating base widget inline documentation
2017-11-22 14:10:04 -06:00
Luke Towers
dfd629ee75
Added system.console.october:mirror.extendPaths
...
Fixes #1644
2017-11-22 13:59:23 -06:00
Samuel Georges
2092454343
Clean up from #3255
...
This logic could have been placed in the ValidationException class or the framework.js file. It seems more fitting for it to be in the framework.js file.
2017-11-22 13:47:34 +11:00
Jan
c165fc02d7
Fix ajax validation for array syntax ( #3255 )
2017-11-21 17:05:04 -06:00
Samuel Georges
fb0121b426
Fixes unit test
2017-11-19 15:43:57 +11:00
Samuel Georges
0a428423af
Twig partial() function should not throw exception
...
This allows checking if a partial exists
2017-11-19 14:58:47 +11:00
Luke Towers
f850b5d7ca
Removes unnecessary blocking head placeholders. Refs: https://github.com/rainlab/pages-plugin/issues/239
2017-11-15 20:26:48 -06:00
Samuel Georges
a3b93f1a0b
Merge pull request #3209 from aspendigital/singleton-testing
...
Reload October singletons in PluginTestCase for #3208
v1.0.428
2017-11-14 08:59:17 +11:00
Miro Rauhala
da295a83df
Add Finnish language ( #3237 )
...
Credit to @mirorauhala
2017-11-11 18:36:55 -06:00
tim0991
579803d7a6
Update mediamanager JS file path in october.js ( #3224 )
...
Updates the mediamanager.js file path in october.js to fix compiling assets. Credit to @tim0991
2017-11-08 09:30:09 -06:00
Christophe Vuagniaux
cbcdd76ff2
Add filter of type text in backend list ( #3094 )
...
Fixes #3048 , credit to @ChVuagniaux
v1.0.427
2017-11-06 12:07:53 -06:00
Samuel Georges
712dcf9412
Use alias instead of leading slash
...
Refs d292eeb85ecb57f2aa84ab573ea6467584f268e2
2017-11-03 07:57:33 +11:00
Luke Towers
014bac1232
Simplify 51b6f6441813a1b9e884ab44b08989cb162dc0cd
...
Simplifies 51b6f64418
by using the pre-existing HTML array name parsing functionality.
2017-11-02 13:13:08 -06:00
Luke Towers
51b6f64418
Convert field name to dot syntax before checking validation rules
...
Converts a field name in the form of `model_json_attribute[subproperty]` to the dot syntax version used by validation rules `model_json_attribute.subproperty` for more accurate checking of the validation rules in the form widget.
2017-11-02 12:35:50 -06:00
Samuel Georges
e6de2a5521
Fixes exception on empty token
2017-11-02 19:53:20 +11:00
Luke Towers
d164145229
Fixes #2613
...
This fixes #2613 by reloading the form widgets with the modified data after `model.filterFields`. **NOTE**: `$this->processExistingItems()` isn't simply just moved to `prepareVars()` because that messes up the adding new repeater item functionality by repeating the content from the fields for the last item in that group that already exists on the repeater.
2017-11-01 14:18:41 -06:00
Nikolay
2239f988d2
Fixes #3211 with improvements to reverse migration ( #3212 )
...
Fixes #3211
2017-10-31 12:34:48 -06:00
Luke Towers
c7a3354dfd
Move backend.page.beforeDisplay after auth check
...
Fixes #3215 . Related: 47cd204686 (diff-6cdbb280344f40eebe758cf8e8e5f7d9)
2017-10-31 08:45:11 -06:00
Samuel Georges
4a6e0e1e0e
Implement CSRF token by default
...
Implement CSRF protection on CMS for postback handling
2017-10-30 09:00:17 +11:00
Jim Cottrell
c419c38efd
Reload October singletons in PluginTestCase for #3208
2017-10-27 18:22:31 -06:00
Pierre-André Vullioud
08989ff40a
Add licence file ( #3207 )
...
Adds the MIT license directly to the repo.
2017-10-27 16:06:56 -06:00
arifnyet
eb0e5c74c1
Support default config option for list filters ( #3201 )
...
Fixes #2329
2017-10-26 11:12:02 -06:00
Fl0Cri
ec8dd56121
Fix richeditor popup z-index inside modal ( #3194 )
...
Fixes #3098 . Related: #3111 , #3113 , #3114
2017-10-24 12:35:31 -06:00
Vojta Svoboda
04cb4ddd2c
Check if given partial name is also file or only folder ( #3190 )
...
Fixes #2383 . Credit to @vojtasvoboda, reviewed by @CptMeatball
2017-10-23 08:48:34 -06:00
Christophe Vuagniaux
dc16902fca
Don't block backend connection when a plugin migration triggers exception ( #3188 )
2017-10-21 10:11:11 -06:00