Commit Graph

1519 Commits

Author SHA1 Message Date
QuangTrọngOnline 3ef571da3c Added Vietnamese translation (#3514)
Credit to @quangtrongonline.
2018-04-24 11:41:01 -06:00
Wellyson Freitas 2ffae8ccbc Add alignment and size options to loader indicator (#3522)
Add option to horizontally align the loader indicator in the center and option to change the size (only small size available for now) through the JavaScript API. These abilities were already available through CSS, this commit makes them available through JS as well.
2018-04-21 09:28:18 -06:00
Luke Towers ed760d892b Compiled client side language files 2018-04-19 10:23:38 -06:00
Luke Towers 4d304645d7 Added readonly support to the mediamanager widget and the ability to set the MediaLibary cache key through code 2018-04-19 10:23:15 -06:00
Sevdin Filiz 5b335b385e Update system/lang.php (typo fix) (#3513)
Credit to @angelside
2018-04-19 01:58:22 -06:00
Tobias Kündig 2b22b26676 Added align property to list columns definition (#3509)
Documented in https://github.com/octobercms/docs/pull/289; credit to @tobias-kuendig
2018-04-17 23:34:08 -06:00
Luke Towers 5acbdb12fe Compiled assets and whitespace cleanup 2018-04-17 13:43:51 -06:00
Szabó Gergő 955af8cbc4 Update the Hungarian locale (#3510)
Credit to @gergo85
2018-04-17 10:35:35 -06:00
Luke Towers 4f7a08954d Updating links in composer files 2018-04-16 02:33:08 -06:00
Gonzalo Henríquez 1d33c69c8c Allow for custom client-side localization strings (#3505)
Fixes #3504. Allows for localization strings to be considered before client-side lang compilation. Credit to @bombozama
2018-04-15 01:39:30 -06:00
Alexandre Villeneuve 812b96bdac Add humans.txt to mirror files (#3494) 2018-04-10 17:50:01 -06:00
Luke Towers 0ac7f340be Remove sensitive data from the tracked config files after running october:env 2018-04-06 01:18:07 -06:00
Arthur Kushman c78b3ef786 Code formatting changes (#3363)
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Sergey Karavay 4a2e959fb8 Fixed Russian map for "щ" and added Belarusian map (#3463)
Credit to @GinoPane
2018-03-21 11:22:59 -06:00
Luke Towers 23a504d9d5
Allow settings models and controllers to be defined in one definition
This change allows both settings models and custom settings controllers to be registered in one definition by preventing overwriting of the provided `url` when present. This enables the use case of extending the base \System\Controllers\Settings controller to implement custom functionality on your settings controller while retaining the majority of the default functionality enabled through the use of a SettingsModel.
2018-03-20 13:40:14 -06:00
Mohamed Ali Behiry e3635b80e7 Added partial Arabic translation (#3296)
Credit to @mabehiry
2018-03-20 13:20:09 -06:00
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