Skip to content

Commit

Permalink
Merge pull request #5660 from octobercms/develop
Browse files Browse the repository at this point in the history
Version 3.1 Release
  • Loading branch information
daftspunk authored Oct 5, 2022
2 parents 94aed8f + 9b29917 commit c0df7c6
Show file tree
Hide file tree
Showing 163 changed files with 5,180 additions and 4,976 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package-lock.json
_ide_helper.php
.phpunit.result.cache
nbproject
.phpstorm.meta.php

# Project
/bootstrap/compiled.php
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ The best place to learn October CMS is by [reading the documentation](https://oc

You may also watch this [introductory video](https://www.youtube.com/watch?v=yLZTOeOS7wI). Make sure to check out our [official YouTube channel](https://www.youtube.com/c/OctoberCMSOfficial). There is also the excellent video series by [Watch & Learn](https://watch-learn.com/series/making-websites-with-october-cms).

For code examples of building with October CMS, visit the [RainLab Plugin Suite](https://github.com/rainlab) or the [October Demos Repo](https://github.com/octoberdemos).

## Coding Standards

Please follow the following guides and code standards:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "proprietary",
"require": {
"php": "^8.0.2",
"october/rain": "^3.0",
"october/rain": "dev-develop",
"laravel/framework": "^9.0"
},
"require-dev": {
Expand Down
6 changes: 3 additions & 3 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@
|
| Before you change this value, consider carefully if that is actually
| what you want to do. It is highly recommended that this is always set
| to UTC (as your server & DB timezone should be as well) and instead you
| use backend.timezone to set the default timezone used in the backend
| to display dates & times.
| to UTC (as your server & DB timezone should be as well) and instead
| you can use backend.timezone or cms.timezone to set the default
| timezone used to display dates & times.
|
*/

Expand Down
12 changes: 12 additions & 0 deletions config/cms.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@

'strict_components' => env('CMS_STRICT_COMPONENTS', false),

/*
|--------------------------------------------------------------------------
| Frontend Timezone
|--------------------------------------------------------------------------
|
| This acts as the default setting for a frontend user's timezone used when
| converting dates from the system setting, typically set to UTC.
|
*/

'timezone' => 'UTC',

/*
|--------------------------------------------------------------------------
| Template Caching
Expand Down
25 changes: 24 additions & 1 deletion config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,29 @@
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'url' => '/storage/app',
'throw' => false,
],

'uploads' => [
'driver' => 'local',
'root' => storage_path('app/uploads'),
'url' => '/storage/app/uploads',
'throw' => false,
],

'media' => [
'driver' => 'local',
'root' => storage_path('app/media'),
'url' => '/storage/app/media',
'visibility' => 'public',
'throw' => false,
],

'resources' => [
'driver' => 'local',
'root' => storage_path('app/resources'),
'url' => '/storage/app/resources',
'throw' => false,
],

's3' => [
Expand All @@ -45,6 +66,8 @@
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],

],
Expand Down
46 changes: 0 additions & 46 deletions config/system.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,54 +91,8 @@
*/

'default_mask' => [

'file' => env('DEFAULT_FILE_MASK'),

'folder' => env('DEFAULT_FOLDER_MASK'),

],

/*
|--------------------------------------------------------------------------
| Resource storage
|--------------------------------------------------------------------------
|
| Specifies the configuration for resource storage, such as media and
| upload files. These resources are used:
|
| media - generated by the media manager.
| uploads - generated by attachment model relationships.
| resources - generated by combiner and resizer services.
|
| For each resource you can specify:
|
| disk - filesystem disk, as specified in filesystems.php config.
| folder - a folder prefix for storing all generated files inside.
| path - the public path relative to the application base URL,
| or you can specify a full URL path.
|
*/

'storage' => [

'uploads' => [
'disk' => 'local',
'folder' => 'uploads',
'path' => '/storage/app/uploads',
],

'media' => [
'disk' => 'local',
'folder' => 'media',
'path' => '/storage/app/media',
],

'resources' => [
'disk' => 'local',
'folder' => 'resources',
'path' => '/storage/app/resources',
],

],

/*
Expand Down
18 changes: 17 additions & 1 deletion modules/backend/lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,21 @@
"Settings": "إعدادات",
"Background Color": "لون الخلفية",
"Allow users to create new roles and edit or delete roles lower than their highest role.": "اسمح للمستخدمين بإنشاء أدوار جديدة وتعديل الأدوار الأقل من أعلى مستوى لهم أو حذفها.",
"Save Changes": "حفظ التغييرات"
"Save Changes": "حفظ التغييرات",
"This log displays a list of successful sign in attempts by administrators. Records are kept for a total of :days days.": "يعرض هذا السجل قائمة بمحاولات تسجيل الدخول الناجحة بواسطة المسؤولين. يتم الاحتفاظ بالسجلات لما مجموعه: أيام أيام.",
"Access Log": "سجل الوصول",
"View a list of successful back-end user sign ins.": "اعرض قائمة بعمليات تسجيل دخول المستخدم الخلفية الناجحة.",
"ID": "بطاقة تعريف",
"Date & Time": "التاريخ والوقت",
"Type": "يكتب",
"IP address": "عنوان IP",
"Login": "تسجيل الدخول",
"First name": "الاسم الاول",
"Last name": "اللقب",
"Email": "البريد الإلكتروني",
"Translated for locale: :value": "مترجمة للغة:: القيمة",
"Translated for site: :value": "مترجم للموقع:: القيمة",
"A custom schema is used for this file format.": "يتم استخدام مخطط مخصص لتنسيق الملف هذا.",
"Select": "يختار",
"Replace": "يحل محل"
}
Loading

0 comments on commit c0df7c6

Please sign in to comment.