Skip to content

Commit

Permalink
Merge branch 'release/4.2.0'
Browse files Browse the repository at this point in the history
* release/4.2.0: (27 commits)
  updates the changelog
  compile assets
  fixed styles on the default template navbar
  wip
  wip
  wip
  updates the sponsor information
  updates the changelog
  Apply fixes from StyleCI (#486)
  optimized a posts query
  compiled assets
  Fixed an inconsistency with post objects prior to passing to the PostList component
  Fixed an incorrect count for total posts
  fix for the wrong translation line being pulled
  updates the changelog
  formatting
  updates the sponsor link
  updates the sponsors
  added multilingual support for German
  added multilingual support for Arabic
  ...
  • Loading branch information
austintoddj committed May 25, 2019
2 parents 4bffb45 + df25e38 commit f5c49c1
Show file tree
Hide file tree
Showing 46 changed files with 1,195 additions and 153 deletions.
27 changes: 21 additions & 6 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release Notes

## [4.2.0](https://github.com/cnvs/canvas/compare/v4.1.39...v4.2.0)

## Changed
- Query optimization ([2afc167](https://github.com/cnvs/canvas/commit/2afc1676cb053e2f13a450308a69f4ad367162c5))

## Added
- Added multilingual support for Spanish, German and Arabic ([231494f](https://github.com/cnvs/canvas/commit/231494fe3310137c69b9b7217d8ee15fd613dbb9), [3aa2296](https://github.com/cnvs/canvas/commit/3aa229643baec844608f7c4c23db77efb28c9ef3), [02f704c](https://github.com/cnvs/canvas/commit/02f704c5a4d9e3df80ba8e83964f189c60748353))

## Fixed
- Fixed an inconsistency with post objects prior to passing to the `PostList` component ([5aa89ff](https://github.com/cnvs/canvas/commit/5aa89ff007b4a7d45e40ffcaad534de813b50f58))
- Fixed an incorrect total posts count on the stats index ([616d4b8](https://github.com/cnvs/canvas/commit/616d4b8257be3c3c8f123fd1ae07644c35f864bd))
- Fixed the incorrect translation line being pulled on the stats index ([ba66fa8](https://github.com/cnvs/canvas/commit/ba66fa88106f5a6cc791ae0f59a46e1a039e2d69))
- Fixed missing validation lines from the language files ([b33389e](https://github.com/cnvs/canvas/commit/b33389ed0df09a51875913b34d26edd8b1097f73))
- Fixed the styling on the default template navbar ([e8a67f8](https://github.com/cnvs/canvas/commit/e8a67f8a8374c9e29776a3f0995b679ca0a14b89))

## [v4.1.39](https://github.com/cnvs/canvas/compare/v4.1.38...v4.1.39)

### Fixed
Expand Down Expand Up @@ -54,7 +69,7 @@
## [v4.1.31](https://github.com/cnvs/canvas/compare/v4.1.30...v4.1.31)

### Changed
- Refactored the MediaController into a single action for simplicity ([2201769](https://github.com/cnvs/canvas/commit/22017691233fabfcea16cb473ca64e1573dd751c))
- Refactored the `MediaController` into a single action for simplicity ([2201769](https://github.com/cnvs/canvas/commit/22017691233fabfcea16cb473ca64e1573dd751c))
- Refactored the `i18n` objects into single translation endpoints throughout the components for better maintainability ([0af8873](https://github.com/cnvs/canvas/commit/0af8873a90e26cf97ca9aec11c67f8851a11b36e))

## [v4.1.30](https://github.com/cnvs/canvas/compare/v4.1.29...v4.1.30)
Expand All @@ -80,7 +95,7 @@
## [v4.1.26](https://github.com/cnvs/canvas/compare/v4.1.25...v4.1.26)

### Added
- Added a PostTags model ([0942a5b](https://github.com/cnvs/canvas/commit/0942a5b0b03b96e9ab1981fed18038fe8e7a9686))
- Added a `PostTags` model ([0942a5b](https://github.com/cnvs/canvas/commit/0942a5b0b03b96e9ab1981fed18038fe8e7a9686))

### Fixed
- Skipped the `canvas:install` test ([#456](https://github.com/cnvs/canvas/issues/456), [53f21e6](https://github.com/cnvs/canvas/commit/53f21e67a8e1f004249b1bf21b2786b06ebeec99))
Expand Down Expand Up @@ -126,10 +141,10 @@
- Removed unnecessary eager loading from the post index route ([09d01c6](https://github.com/cnvs/canvas/commit/09d01c622f04997dc23ae64ac9719a067a28b734))

### Added
- Added unit tests for the ViewThrottle middleware ([087832e](https://github.com/cnvs/canvas/commit/087832eb6b7439dbe0f9214fea99020e9eaeed39))
- Added unit tests for the `ViewThrottle` middleware ([087832e](https://github.com/cnvs/canvas/commit/087832eb6b7439dbe0f9214fea99020e9eaeed39))

### Fixed
- Refactored the ViewThrottle middleware to prune posts from the session instead of simply filtering ([087832e](https://github.com/cnvs/canvas/commit/087832eb6b7439dbe0f9214fea99020e9eaeed39))
- Refactored the `ViewThrottle` middleware to prune posts from the session instead of simply filtering ([087832e](https://github.com/cnvs/canvas/commit/087832eb6b7439dbe0f9214fea99020e9eaeed39))

## [v4.1.18](https://github.com/cnvs/canvas/compare/v4.1.17...v4.1.18)

Expand All @@ -151,8 +166,8 @@
- Updated the dark mode contrast ratios for increased readability ([a718b1b](https://github.com/cnvs/canvas/commit/a718b1bfa13223a9e73d233d336340978ea84f68))

### Added
- Added unit tests for the StoreViewData listener ([2e3aeb5](https://github.com/cnvs/canvas/commit/2e3aeb518aee9141fdec6485ca2c3844a7f98d24))
- Added unit tests for the Publish command ([637dd3f](https://github.com/cnvs/canvas/commit/637dd3fb2b1a1efd6a2c67fbeb77038737e8d725))
- Added unit tests for the `StoreViewData` listener ([2e3aeb5](https://github.com/cnvs/canvas/commit/2e3aeb518aee9141fdec6485ca2c3844a7f98d24))
- Added unit tests for the `canvas:publish` Artisan command ([637dd3f](https://github.com/cnvs/canvas/commit/637dd3fb2b1a1efd6a2c67fbeb77038737e8d725))

### Fixed
- Fixed the missing validation messages on Topics/Tags ([4d4231b](https://github.com/cnvs/canvas/commit/4d4231bd7da898e7ee28c38864944ede281cbb8d))
Expand Down
36 changes: 18 additions & 18 deletions config/canvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
return [

/*
|--------------------------------------------------------------------------
| Canvas Path
|--------------------------------------------------------------------------
|
| This is the URI path where Canvas will be accessible from. You are free
| to change this path to anything you like. Note that updating the URI
| will affect the internal API paths that are not exposed to users.
|
*/
|--------------------------------------------------------------------------
| Canvas Path
|--------------------------------------------------------------------------
|
| This is the URI path where Canvas will be accessible from. You are free
| to change this path to anything you like. Note that updating the URI
| will affect the internal API paths that are not exposed to users.
|
*/

'path' => env('CANVAS_PATH_NAME', 'canvas'),

Expand Down Expand Up @@ -61,15 +61,15 @@
],

/*
|--------------------------------------------------------------------------
| Weekly Digest
|--------------------------------------------------------------------------
|
| This option enables Canvas to send notifications via e-mail. A weekly
| summary digest will be delivered via the default mail driver. This
| will provide helpful insights into your content and its impact.
|
*/
|--------------------------------------------------------------------------
| Weekly Digest
|--------------------------------------------------------------------------
|
| This option enables Canvas to send notifications via e-mail. A weekly
| summary digest will be delivered via the default mail driver. This
| will provide helpful insights into your content and its impact.
|
*/

'mail' => [
'enabled' => env('CANVAS_MAIL_ENABLED', false),
Expand Down
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"/js/app.js": "/js/app.js?id=efeb7b107e4a182d4484",
"/js/app.js": "/js/app.js?id=64c9df40ee5fc36bdfa6",
"/css/app.css": "/css/app.css?id=eb7fb7a5d8ba4b6dd0a4",
"/css/app-dark.css": "/css/app-dark.css?id=799369a3e5ded6772726",
"/js/app.js.map": "/js/app.js.map?id=d7e957942df91b335833",
"/js/app.js.map": "/js/app.js.map?id=0b69e0d2520f03c81ac3",
"/favicon.ico": "/favicon.ico?id=dbb0c05daa3432643753"
}
34 changes: 34 additions & 0 deletions resources/lang/ar/blog.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

return [

'title' => 'مدونة',
'buttons' => [
'learn' => 'أعرف أكثر',
'next' => 'اقرأ هذا التالي',
'enjoy' => 'قد تستمتع',
'edit' => 'تعديل المنشور',
'stats' => 'عرض احصائيات',
],
'empty' => [
'description' => 'لم يتم العثور على مشاركات ، ابدأ من قبل',
'action' => 'إضافة منشور جديد',
],
'nav' => [
'user' => [
'posts' => 'المشاركات',
'tags' => 'الكلمات',
'topics' => 'المواضيع',
'stats' => 'احصائيات',
'login' => 'تسجيل الدخول',
'logout' => 'خروج',
],
],
'posts' => [
'label' => 'المشاركات الاخيرة',
],
'tags' => [
'label' => 'الكلمات',
],

];
33 changes: 33 additions & 0 deletions resources/lang/ar/buttons.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

return [

'general' => [
'cancel' => 'إلغاء',
'delete' => 'حذف',
'done' => 'فعله',
'load' => 'أظهر المزيد',
'save' => 'حفظ',
'next' => 'الصفحة التالية',
],
'posts' => [
'create' => 'منشور جديد',
'edit' => 'تعديل المنشور',
'update' => 'تحديث آخر',
'save' => 'حفظ ونشر',
'schedule' => 'الجدول الزمني للنشر',
],
'stats' => [
'index' => 'رؤية جميع الإحصاءات',
'show' => 'تفاصيل',
],
'tags' => [
'create' => 'علامة جديدة',
'update' => 'حفظ التغييرات',
],
'topics' => [
'create' => 'موضوع جديد',
'update' => 'حفظ التغييرات',
],

];
23 changes: 23 additions & 0 deletions resources/lang/ar/mail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

return [

'general' => [
'sent_by' => 'أرسلت بواسطة',
],

'digest' => [
'summary' => 'ملخص الكاتب الأسبوعي لـ',
'details' => 'مشاركاتك على قماش',
'from' => 'من عند',
'to' => 'إلى',
'data' => 'تلقى مشاركاتك',
'views' => 'الآراء)',
'views_this_week' => 'عرض (ق) هذا الأسبوع',

'email' => [
'subject' => 'احصائيات لمشاركاتك',
],
],

];
26 changes: 26 additions & 0 deletions resources/lang/ar/nav.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

return [

'context' => [
'published' => 'نشرت',
'draft' => 'مشروع',
],
'notify' => [
'success' => 'تم الحفظ!',
],
'user' => [
'posts' => 'المشاركات',
'tags' => 'الكلمات',
'topics' => 'المواضيع',
'stats' => 'احصائيات',
'logout' => 'خروج',
],
'controls' => [
'stats' => 'عرض احصائيات',
'settings' => 'الاعدادات العامة',
'image' => 'صورة مميزة',
'seo' => 'كبار المسئولين الاقتصاديين والاجتماعية',
],

];
122 changes: 122 additions & 0 deletions resources/lang/ar/posts.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?php

return [

'header' => 'المشاركات',
'empty' => [
'description' => 'لم يتم العثور على مشاركات ، ابدأ من قبل',
'action' => 'إضافة منشور جديد',
],
'search' => [
'input' => 'بحث',
'empty' => 'لا توجد مشاركات مطابقة لمعايير البحث المحددة.',
],
'details' => [
'published' => 'نشرت',
'draft' => 'مشروع',
'updated' => 'محدث',
],
'forms' => [
'editor' => [
'title' => 'عنوان',
'body' => 'اروي قصتك...',
'link' => 'الصق أو اكتب الرابط ...',
'html' => [
'label' => 'تضمين HTML',
'placeholder' => 'لصق HTML الخاص بك هنا',
],
'images' => [
'featured' => [
'title' => 'صورة مميزة توضيحية',
'placeholder' => 'إضافة تعليق لصورتك',
],
'picker' => [
'greeting' => 'رجاء',
'action' => 'رفع',
'item' => 'صورة',
'operator' => 'أو',
'unsplash' => 'البحث Unsplash',
'key' => 'يرجى تكوين مفتاح API Unsplash.',
'placeholder' => 'ابحث عن صور عالية الدقة مجانًا',
'clear' => [
'action' => 'إزالة',
'description' => 'الصورة المحددة',
],
'caption' => [
'by' => 'الصورة من تصوير',
'on' => 'على',
],
'search' => [
'empty' => 'لم نتمكن من العثور على أي مباريات.',
],
'uploader' => [
'label' => 'إضافة صورة',
'caption' => [
'placeholder' => 'اكتب التسمية التوضيحية للصورة (اختياري)',
],
'layout' => [
'default' => 'التخطيط الافتراضي',
'wide' => 'صورة واسعة',
],
],
],
],
],
'image' => [
'header' => 'صورة مميزة',
],
'publish' => [
'header' => 'تاريخ النشر (م / د / س: م)',
'subtext' => [
'details' => 'آخر جدولة يستخدم تنسيق الوقت لمدة 24 ساعة ويستخدم',
'timezone' => 'وحدة زمنية',
],
],
'seo' => [
'header' => 'كبار المسئولين الاقتصاديين والاجتماعية',
'meta' => 'ميتا الوصف',
'facebook' => [
'title' => [
'label' => 'عنوان بطاقة فيسبوك',
'placeholder' => 'العنوان في بطاقة فيسبوك',
],
'description' => [
'label' => 'وصف بطاقة فيسبوك',
'placeholder' => 'الوصف في الفيسبوك بطاقة',
],
],
'twitter' => [
'title' => [
'label' => 'عنوان بطاقة تويتر',
'placeholder' => 'العنوان في بطاقة تويتر',
],
'description' => [
'label' => 'وصف بطاقة تويتر',
'placeholder' => 'الوصف في بطاقة تويتر',
],
],
],
'settings' => [
'header' => 'الاعدادات العامة',
'slug' => [
'label' => 'سبيكة',
'placeholder' => 'على بعد فريدة من نوعها سبيكة',
],
'summary' => [
'label' => 'ملخص',
'placeholder' => 'ملخص وصفي ..',
],
'topic' => [
'label' => 'موضوع',
],
'tags' => [
'label' => 'الكلمات',
],
],
],
'delete' => [
'header' => 'حذف',
'warning' => 'اختفت المشاركات المحذوفة إلى الأبد. هل أنت واثق؟',
],

];
Loading

0 comments on commit f5c49c1

Please sign in to comment.