4267 Commits

Author SHA1 Message Date
Luke Towers
9b66eb5c57 Improvements to frontend assets for plugin management 2018-02-01 20:52:47 -06:00
Luke Towers
e64a280cee Simplified plugin management logic, switched default manage plugins switch state to positive; finalized for merging into develop 2018-02-01 20:40:04 -06:00
Luke Towers
61914666f8 Iconography and language improvements for bulk plugin management 2018-02-01 20:07:33 -06:00
Christian
cc81ab25fa Preparing for Plugin Management UX (#3374)
Initial work on Plugin Management UX improvements by @Teranode for #2714
2018-02-01 18:16:31 -06:00
Matteo
678916854e Add config to enable Twig strict_variables (#3370)
Adds the cms.enableTwigStrictVariables config option to enable strict_variables in Twig for debugging purposes. See https://twig.symfony.com/doc/2.x/api.html#environment-options. Credit to @matteotrubini
v1.0.433
2018-01-26 10:59:45 -06:00
Luke Towers
cf01254b2b
Use utf8mb4 as the default character set
Will properly support emojis and other multibyte characters being stored. Laravel implemented as default in 5.4: 9d01389ce3
2018-01-26 09:44:27 -06:00
Luke Towers
8cb57cf353
Add useRelationCount column property
Adds the `useRelationCount` property to tell the list controller to use the number of related records for the specified `relation` as the value for that column.
2018-01-25 16:54:06 -06:00
Samuel Georges
4eab0670c4 Proxy ConsoleSupportServiceProvider properly
Refs https://github.com/octobercms/october/pull/3353
Refs https://github.com/octobercms/october/issues/3321
Refs https://github.com/octobercms/october/pull/3328
Refs https://github.com/octobercms/october/issues/3359
2018-01-24 18:09:41 +11:00
Ramin Firooz
3c50849eb7 Update Persian Translation (#3367)
Credit to @EleRam
2018-01-21 09:35:02 -06:00
Samuel Georges
45f1714a03 Added key mode to taglist form widget
Alternative implementation #2958
Fixes #2958
2018-01-13 20:49:31 +11:00
Samuel Georges
6ff6ab2996 Convert strings to ::class 2018-01-13 14:40:44 +11:00
buuug7
df96c65b3c Generate .env file before generating application key (#3353)
Fixes #3321. Credit to @buuug7
v1.0.432
2018-01-12 16:59:21 -06:00
Arthur Kushman
bbc33710c1 >= PHP7.0 refactoring (#3343)
* Fix loosly comparison to strict + argument types and return types for >=7.0
* Change hard-coded strings to ::class, 
* Fix unit-tests failures - some relative to 7.0 phpunit env deployment
* Fix exception string + format return types
* Change string representation of new classes in traceLog to ::class
Credit to @arthurkushman
2018-01-12 00:23:20 -06:00
Derrick Austin
74b3780ab5 Build Number Bugfix: Console Upgrade (#3357)
Credit to @austinderrick
2018-01-11 11:59:30 -06:00
Szabó Gergő
0256ebc966 Add role filter to administrators (#3350)
Credit to @gergo85
2018-01-10 10:18:19 -06:00
Benjamin
6fd89d367f Added optional htaccess rule to force https (#3345)
Credit to @BenjaVR
2018-01-09 17:53:17 -06:00
Jan Vince
ce864cc8fb Catch Artisan::call exception (#3342)
This change will allow settings to be saved even when Exception is thrown in Artisan::call (eg. when putenv() function is disabled).
Fixes #3339. Related: #3280.
2018-01-08 08:29:43 -06:00
Gabriel Caruso
aa14d77516 Refactoring tests (#3291) 2018-01-07 19:55:53 -06:00
Flakerim Ismani
55ff460895 Added colorpicker column type (#3338)
Renders 30px by 30px square of the selected colour. `type: colorpicker` in the columns config. Credit to @flakerimi
2018-01-04 12:54:30 -06:00
tim0991
0783126249 Better check for default deletion redirect (#3324)
Adds a better check for the default redirect option.
2018-01-01 19:39:25 -06:00
pikanji
54ab6f080a Use cms.storage.uploads.disk instead of filesystem.default
Fixes #3332.
FileUpload widget uploads file to the disk specified by default in config/filesystem.php instead of storage.uploads.disk in config/cms.php, if we use System\Models\File following the instruction in here.
Although we can still create another class extending System\Models\File or October\Rain\Database\Attach\File and use it as the model for attachOne/Many relation, System\Models\File seems to be the one that responsible to look at storage.uploads.disk in config/cms.php, because the existing methods are using storage.uploads.*.
Credit to @pikanji
2018-01-01 17:04:47 -06:00
Alexander Guth
1389f77390 Fix 'illegal string offset' warning (#3331)
Credit to @alxy 
In case a new administrator is created by a non-superuser and no permission is set directly on creation, `permissions` is not initialized correctly. Thus, when the non-superuser tries to acceess `$this->model->permissions` it is not populated with an empty array as expected.

I have actually no clue why it does work for superusers however, as they should certainly experience the same issue, but this is not the case.
2017-12-31 11:03:07 -06:00
Luke Towers
69e56b0b5b
Fixes #3315
Fixes #3315 by moving the manipulation of the filter widget scopes to the controller event method instead of before any part of the controller constructor method is run.
2017-12-28 13:21:00 -06:00
viamage
7ffb79a5fd Fix typo (#3326)
Fixed typo, added CmsCompoundObject::getComponentProperties method test. Credit to @viamage
2017-12-27 13:31:34 -06:00
tim0991
06780f5123 Support toggling the removal of stop words in input preset handling (#3320)
Add `data-input-preset-remove-stop-words="false"` to an element being handled with the input preset JS to disable the removal of stop words from slug generation. Credit to @tim0991.
2017-12-25 17:56:58 -06:00
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