1603 Commits

Author SHA1 Message Date
Raja Khoury
d977ba54b5 Fixes S3 media items in bucket root folders (#3461)
FIxes #3445. Credit to @rajakhoury
2018-03-20 10:57:13 -06:00
Miro Rauhala
610452078d Update Finnish translations (#3460)
Credit to @mirorauhala
2018-03-19 15:36:53 -06:00
Alexander Shapoval
13596c8629 Add Cache-Control header to combined assets (#3430)
Related: #2474
2018-03-06 08:31:37 -06:00
Luke Towers
2f55850ae9
Merge pull request #3379 from octobercms/ux-pluginmanagement
Fixes #2714, #2774.

Plugin Management UX Improvements
The plugin management screen has been improved to allow managing the status of plugins (updates disabled/enabled, plugin enabled/disabled) on the overview page and allow bulk management of plugins as well. Additionally, the Reset Plugin Data action has been added to the bulk action menu; this is essentially the same as calling `php artisan plugin:refresh Author.Plugin`, which reverses all the migrations for that plugin then reapplies them; effectively reseting the plugin's database data. Due to the destructive nature of this action it has been limited to only be available to Super Users and only when the site is in debug mode.

Thanks to @Teranode for his assistance on this.
2018-03-04 22:42:18 -06:00
Luke Towers
89f9c51f55 Make the Reset Plugin Data action available to only SuperUsers only when the site is in debug mode 2018-03-04 22:34:49 -06:00
Alexander Shapoval
7552464779 Updated Russian Translations (#3414)
Credit to @PopcornPHP
2018-02-25 21:25:12 -06:00
Luke Towers
bd9f88587f
Fix issues with MySQL utf8mb4 support
Fixes: https://github.com/octobercms/october/issues/1927. Related: https://github.com/laravel/framework/issues/17508. Issue occurs when database configuration related to full support for the utf8mb4 charset is incorrect; MySQL > 5.7 & MariaDB > 10.2 doesn't have this issue because they default to the correct configuration values; this fix solves the issue for older versions of MySQL and MariaDB without requiring database server configuration changes.

The root cause of the issue with the utf8mb4 encoding is that both InnoDB and MyISAM have too low of an index key prefix limit (767 bytes and 1000 bytes respectively) to properly store 255 4-byte characters; which would take 1024 bytes. See the docs on InnoDB limitations: https://dev.mysql.com/doc/refman/5.7/en/innodb-restrictions.html

In MySQL >= 5.7 & MariaDB >= 10.2 this limit has been bumped to 3076 bytes by the changing of the default value of the `innodb_large_prefix` configuration property (introduced in MySQL 5.5) to true; which is what bumps up the limit. In order to manually set that property to true on earlier versions, `innodb_file_format` must be set to `BARRACUDA` and `row_format` must be `DYNAMIC` or `COMPRESSED`. See http://mechanics.flite.com/blog/2014/07/29/using-innodb-large-prefix-to-avoid-error-1071/ for more information. 

This change fixes the issue by changing the default string length to 191 (total of 764 bytes, within the older size limit) when the MySQL database config is detected to be using the utf8mb4 charset.
2018-02-17 17:00:32 -06:00
Sajjad Servatjoo
708b1e3a75 Update Persian Language (#3396)
Credit to @sajjad-ser
2018-02-13 10:55:06 -06:00
Alex360hd
687f97f792 Remove loader background color (#3394)
Fixes #3393. Credit to @Alex360hd
2018-02-13 10:51:39 -06:00
Luke Towers
2f7cc96b6d
Improve status check
Only check for a writable themes directory if the Cms module is loaded.
2018-02-02 13:23:53 -06:00
Luke Towers
fd47e455c0 Revised plugin mangement bulk action iconography 2018-02-02 00:25:57 -06:00
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
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
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
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
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
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
Miro Rauhala
1d3828c36e Bring Finnish language up to date (#3316)
Credit to @mirorauhala
2017-12-21 11:16:01 -06:00
Samuel Georges
33d492fda7
Merge pull request #3280 from aspendigital/settings-queue-restart
Trigger queue worker restart on settings model save
2017-12-19 09:12:12 +11: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
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 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
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
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
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
Miro Rauhala
da295a83df Add Finnish language (#3237)
Credit to @mirorauhala
2017-11-11 18:36:55 -06:00
Christophe Vuagniaux
cbcdd76ff2 Add filter of type text in backend list (#3094)
Fixes #3048, credit to @ChVuagniaux
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
Nikolay
2239f988d2 Fixes #3211 with improvements to reverse migration (#3212)
Fixes #3211
2017-10-31 12:34:48 -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
Luke Towers
d292eeb85e Remove ambiguity around what classes are being used
Fixes https://github.com/octobercms/october/issues/3184.
2017-10-20 21:39:54 -06:00
Luke Towers
aee81081df Hide Settings menu when no sub pages to display (#3172)
Remove the Settings main menu item if there are no submenus to display. Fixes https://github.com/octobercms/october/issues/2175
2017-10-18 11:22:33 -06:00
Christophe Vuagniaux
c7dcd386d1 Fix exception Class 'System\Twig\MediaLibrary' not found in build 426 (#3181)
see 08f9cd8
2017-10-18 07:56:52 -06:00
Samuel Georges
669a4cee6e Merge branch 'maintenance-mediamanager' into develop 2017-10-16 17:56:34 +11:00
Samuel Georges
2a1234d21c Update MM lang refs 2017-10-16 17:52:50 +11:00
Samuel Georges
9309d826d0 Update zh-tw MM lang 2017-10-15 01:31:04 +11:00
Samuel Georges
4790f8b7a7 Update zh-cn MM lang 2017-10-15 01:29:13 +11:00
Samuel Georges
75d16dab26 Update uk MM lang 2017-10-15 01:27:28 +11:00
Samuel Georges
79b5094aed Update tr MM lang 2017-10-15 01:25:09 +11:00
Samuel Georges
974bbf1303 Update sv MM lang 2017-10-15 01:21:15 +11:00
Samuel Georges
a7b6250e74 Update ro MM lang 2017-10-15 01:03:26 +11:00
Samuel Georges
c9851ca158 Update pt-pt MM lang 2017-10-15 01:01:00 +11:00