Completed
Push — master ( 95c0c1...518882 )
by Sherif
02:08
created
lang/ar/pagination.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Pagination Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'previous' => '« السابق',
17
-    'next'     => 'التالي »',
16
+	'previous' => '« السابق',
17
+	'next'     => 'التالي »',
18 18
 
19 19
 ];
Please login to merge, or discard this patch.
lang/ar/auth.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Authentication Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'failed'   => 'بيانات الاعتماد هذه غير متطابقة مع البيانات المسجلة لدينا.',
17
-    'throttle' => 'عدد كبير جدا من محاولات الدخول. يرجى المحاولة مرة أخرى بعد :seconds ثانية.',
16
+	'failed'   => 'بيانات الاعتماد هذه غير متطابقة مع البيانات المسجلة لدينا.',
17
+	'throttle' => 'عدد كبير جدا من محاولات الدخول. يرجى المحاولة مرة أخرى بعد :seconds ثانية.',
18 18
 
19 19
 ];
Please login to merge, or discard this patch.
lang/ar/passwords.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Password Reminder Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'password' => 'يجب أن لا يقل طول كلمة السر عن ستة أحرف، كما يجب أن تتطابق مع حقل التأكيد',
17
-    'reset'    => 'تمت إعادة تعيين كلمة السر',
18
-    'sent'     => 'تم إرسال تفاصيل استعادة كلمة السر الخاصة بك إلى بريدك الإلكتروني',
19
-    'token'    => '.رمز استعادة كلمة السر الذي أدخلته غير صحيح',
20
-    'user'     => 'لم يتم العثور على أيّ حسابٍ بهذا العنوان الإلكتروني',
16
+	'password' => 'يجب أن لا يقل طول كلمة السر عن ستة أحرف، كما يجب أن تتطابق مع حقل التأكيد',
17
+	'reset'    => 'تمت إعادة تعيين كلمة السر',
18
+	'sent'     => 'تم إرسال تفاصيل استعادة كلمة السر الخاصة بك إلى بريدك الإلكتروني',
19
+	'token'    => '.رمز استعادة كلمة السر الذي أدخلته غير صحيح',
20
+	'user'     => 'لم يتم العثور على أيّ حسابٍ بهذا العنوان الإلكتروني',
21 21
 
22 22
 ];
Please login to merge, or discard this patch.
config/skeleton.php 1 patch
Indentation   +134 added lines, -134 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Disable Confirm Email
8 8
     |--------------------------------------------------------------------------
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
     |
12 12
     */
13 13
 
14
-    'disable_confirm_email' => env('DISABLE_CONFIRM_EMAIL', false),
14
+	'disable_confirm_email' => env('DISABLE_CONFIRM_EMAIL', false),
15 15
 
16
-    /*
16
+	/*
17 17
     |--------------------------------------------------------------------------
18 18
     | Confirm Email URL
19 19
     |--------------------------------------------------------------------------
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
     |
23 23
     */
24 24
    
25
-    'confrim_email_url' => env('CONFIRM_EMAIL_URL'),
25
+	'confrim_email_url' => env('CONFIRM_EMAIL_URL'),
26 26
 
27
-    /*
27
+	/*
28 28
     |--------------------------------------------------------------------------
29 29
     | Reset Password URL
30 30
     |--------------------------------------------------------------------------
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
     |
34 34
     */
35 35
    
36
-    'reset_password_url' => env('RESET_PASSWORD_URL'),
36
+	'reset_password_url' => env('RESET_PASSWORD_URL'),
37 37
 
38
-    /*
38
+	/*
39 39
     |--------------------------------------------------------------------------
40 40
     | Passport Client Id
41 41
     |--------------------------------------------------------------------------
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
     |
45 45
     */
46 46
    
47
-    'passport_client_id' => env('PASSWORD_CLIENT_ID'),
47
+	'passport_client_id' => env('PASSWORD_CLIENT_ID'),
48 48
 
49
-    /*
49
+	/*
50 50
     |--------------------------------------------------------------------------
51 51
     | Passport Client Secret
52 52
     |--------------------------------------------------------------------------
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
     |
56 56
     */
57 57
    
58
-    'passport_client_secret' => env('PASSWORD_CLIENT_SECRET'),
58
+	'passport_client_secret' => env('PASSWORD_CLIENT_SECRET'),
59 59
 
60
-    /*
60
+	/*
61 61
     |--------------------------------------------------------------------------
62 62
     | Relations Between Models
63 63
     |--------------------------------------------------------------------------
@@ -66,88 +66,88 @@  discard block
 block discarded – undo
66 66
     |
67 67
     */
68 68
     
69
-    'relations' => [
70
-        'users' => [
71
-            'list'       => [],
72
-            'find'       => [],
73
-            'findby'     => [],
74
-            'paginate'   => [],
75
-            'paginateby' => [],
76
-            'first'      => [],
77
-            'search'     => [],
78
-            'account'    => [],
79
-            'group'      => [],
80
-            'deleted'    => [],
81
-        ],
82
-        'permissions' => [
83
-            'list'       => [],
84
-            'find'       => [],
85
-            'findby'     => [],
86
-            'paginate'   => [],
87
-            'paginateby' => [],
88
-            'first'      => [],
89
-            'search'     => [],
90
-            'deleted'    => [],
91
-        ],
92
-        'groups' => [
93
-            'list'       => [],
94
-            'find'       => [],
95
-            'findby'     => [],
96
-            'paginate'   => [],
97
-            'paginateby' => [],
98
-            'first'      => [],
99
-            'search'     => [],
100
-            'deleted'    => [],
101
-        ],
102
-        'oauthClients' => [
103
-            'list'       => [],
104
-            'find'       => [],
105
-            'findby'     => [],
106
-            'paginate'   => [],
107
-            'paginateby' => [],
108
-            'first'      => [],
109
-            'search'     => [],
110
-            'account'    => [],
111
-            'group'      => [],
112
-            'deleted'    => [],
113
-        ],
114
-        'notifications' => [
115
-            'list'   => [],
116
-            'unread' => [],
117
-        ],
118
-        'pushNotificationDevices' => [
119
-            'list'       => [],
120
-            'find'       => [],
121
-            'findby'     => [],
122
-            'paginate'   => [],
123
-            'paginateby' => [],
124
-            'first'      => [],
125
-            'search'     => [],
126
-            'deleted'    => [],
127
-        ],
128
-        'reports' => [
129
-            'list'       => [],
130
-            'find'       => [],
131
-            'findby'     => [],
132
-            'paginate'   => [],
133
-            'paginateby' => [],
134
-            'first'      => [],
135
-            'search'     => [],
136
-            'deleted'    => [],
137
-        ],
138
-        'settings' => [
139
-            'list'       => [],
140
-            'find'       => [],
141
-            'findby'     => [],
142
-            'paginate'   => [],
143
-            'paginateby' => [],
144
-            'first'      => [],
145
-            'search'     => [],
146
-            'deleted'    => [],
147
-        ]
148
-    ],
69
+	'relations' => [
70
+		'users' => [
71
+			'list'       => [],
72
+			'find'       => [],
73
+			'findby'     => [],
74
+			'paginate'   => [],
75
+			'paginateby' => [],
76
+			'first'      => [],
77
+			'search'     => [],
78
+			'account'    => [],
79
+			'group'      => [],
80
+			'deleted'    => [],
81
+		],
82
+		'permissions' => [
83
+			'list'       => [],
84
+			'find'       => [],
85
+			'findby'     => [],
86
+			'paginate'   => [],
87
+			'paginateby' => [],
88
+			'first'      => [],
89
+			'search'     => [],
90
+			'deleted'    => [],
91
+		],
92
+		'groups' => [
93
+			'list'       => [],
94
+			'find'       => [],
95
+			'findby'     => [],
96
+			'paginate'   => [],
97
+			'paginateby' => [],
98
+			'first'      => [],
99
+			'search'     => [],
100
+			'deleted'    => [],
101
+		],
102
+		'oauthClients' => [
103
+			'list'       => [],
104
+			'find'       => [],
105
+			'findby'     => [],
106
+			'paginate'   => [],
107
+			'paginateby' => [],
108
+			'first'      => [],
109
+			'search'     => [],
110
+			'account'    => [],
111
+			'group'      => [],
112
+			'deleted'    => [],
113
+		],
114
+		'notifications' => [
115
+			'list'   => [],
116
+			'unread' => [],
117
+		],
118
+		'pushNotificationDevices' => [
119
+			'list'       => [],
120
+			'find'       => [],
121
+			'findby'     => [],
122
+			'paginate'   => [],
123
+			'paginateby' => [],
124
+			'first'      => [],
125
+			'search'     => [],
126
+			'deleted'    => [],
127
+		],
128
+		'reports' => [
129
+			'list'       => [],
130
+			'find'       => [],
131
+			'findby'     => [],
132
+			'paginate'   => [],
133
+			'paginateby' => [],
134
+			'first'      => [],
135
+			'search'     => [],
136
+			'deleted'    => [],
137
+		],
138
+		'settings' => [
139
+			'list'       => [],
140
+			'find'       => [],
141
+			'findby'     => [],
142
+			'paginate'   => [],
143
+			'paginateby' => [],
144
+			'first'      => [],
145
+			'search'     => [],
146
+			'deleted'    => [],
147
+		]
148
+	],
149 149
 
150
-    /*
150
+	/*
151 151
     |--------------------------------------------------------------------------
152 152
     | Cache Configurations
153 153
     |--------------------------------------------------------------------------
@@ -156,46 +156,46 @@  discard block
 block discarded – undo
156 156
     |
157 157
     */
158 158
 
159
-    'cache_config' => [
160
-        'oauthClients' => [
161
-            'cache' => [
162
-                'all',
163
-                'find',
164
-                'findBy',
165
-                'paginate',
166
-                'paginateBy',
167
-                'first',
168
-                'search',
169
-                'deleted'
170
-            ],
171
-            'clear' => [
172
-                'update'           => ['oauthClients', 'users', 'groups'],
173
-                'save'             => ['oauthClients', 'users', 'groups'],
174
-                'delete'           => ['oauthClients', 'users', 'groups'],
175
-                'restore'          => ['oauthClients', 'users', 'groups'],
176
-                'revoke'           => ['oauthClients', 'users', 'groups'],
177
-                'ubRevoke'         => ['oauthClients', 'users', 'groups'],
178
-                'regenerateSecret' => ['oauthClients', 'users', 'groups'],
179
-            ],
180
-        ],
181
-        'settings' => [
182
-            'cache' => [
183
-                'all',
184
-                'find',
185
-                'findBy',
186
-                'paginate',
187
-                'paginateBy',
188
-                'first',
189
-                'search',
190
-                'deleted'
191
-            ],
192
-            'clear' => [
193
-                'update'   => ['settings'],
194
-                'save'     => ['settings'],
195
-                'delete'   => ['settings'],
196
-                'restore'  => ['settings'],
197
-                'saveMany' => ['settings'],
198
-            ]
199
-        ]
200
-    ]
159
+	'cache_config' => [
160
+		'oauthClients' => [
161
+			'cache' => [
162
+				'all',
163
+				'find',
164
+				'findBy',
165
+				'paginate',
166
+				'paginateBy',
167
+				'first',
168
+				'search',
169
+				'deleted'
170
+			],
171
+			'clear' => [
172
+				'update'           => ['oauthClients', 'users', 'groups'],
173
+				'save'             => ['oauthClients', 'users', 'groups'],
174
+				'delete'           => ['oauthClients', 'users', 'groups'],
175
+				'restore'          => ['oauthClients', 'users', 'groups'],
176
+				'revoke'           => ['oauthClients', 'users', 'groups'],
177
+				'ubRevoke'         => ['oauthClients', 'users', 'groups'],
178
+				'regenerateSecret' => ['oauthClients', 'users', 'groups'],
179
+			],
180
+		],
181
+		'settings' => [
182
+			'cache' => [
183
+				'all',
184
+				'find',
185
+				'findBy',
186
+				'paginate',
187
+				'paginateBy',
188
+				'first',
189
+				'search',
190
+				'deleted'
191
+			],
192
+			'clear' => [
193
+				'update'   => ['settings'],
194
+				'save'     => ['settings'],
195
+				'delete'   => ['settings'],
196
+				'restore'  => ['settings'],
197
+				'saveMany' => ['settings'],
198
+			]
199
+		]
200
+	]
201 201
 ];
Please login to merge, or discard this patch.
src/Modules/Core/Resources/Lang/en/errors.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -2,27 +2,27 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * List of error messages used in core module.
7
-     */
8
-    'unAuthorized'           => 'Please login before any action',
9
-    'invalidRefreshToken'    => 'Invalid refresh token',
10
-    'noPermissions'          => 'No permissions',
11
-    'loginFailed'            => 'Wrong mail or password',
12
-    'noSocialEmail'          => 'Couldn\'t retrieve email',
13
-    'userAlreadyRegistered'  => 'User already registered. Please login using email and password',
14
-    'connectionError'        => 'Connection error',
15
-    'redisNotRunning'        => 'Your redis notification server is\'t running',
16
-    'dbQueryError'           => 'Please check the given inputes',
17
-    'cannotCreateSetting'    => 'Can\'t create setting',
18
-    'cannotUpdateSettingKey' => 'Can\'t update setting key',
19
-    'userIsBlocked'          => 'You have been blocked',
20
-    'invalidResetToken'      => 'Reset password token is invalid',
21
-    'invalidResetPassword'   => 'Reset password is invalid',
22
-    'invalidOldPassword'     => 'Old password is invalid',
23
-    'notFound'               => 'The requested :replace not found',
24
-    'generalError'           => 'Something went wrong',
25
-    'emailNotConfirmed'      => 'Your email isn\'t confirmed',
26
-    'emailAlreadyConfirmed'  => 'Your email is already confirmed'
5
+	/**
6
+	 * List of error messages used in core module.
7
+	 */
8
+	'unAuthorized'           => 'Please login before any action',
9
+	'invalidRefreshToken'    => 'Invalid refresh token',
10
+	'noPermissions'          => 'No permissions',
11
+	'loginFailed'            => 'Wrong mail or password',
12
+	'noSocialEmail'          => 'Couldn\'t retrieve email',
13
+	'userAlreadyRegistered'  => 'User already registered. Please login using email and password',
14
+	'connectionError'        => 'Connection error',
15
+	'redisNotRunning'        => 'Your redis notification server is\'t running',
16
+	'dbQueryError'           => 'Please check the given inputes',
17
+	'cannotCreateSetting'    => 'Can\'t create setting',
18
+	'cannotUpdateSettingKey' => 'Can\'t update setting key',
19
+	'userIsBlocked'          => 'You have been blocked',
20
+	'invalidResetToken'      => 'Reset password token is invalid',
21
+	'invalidResetPassword'   => 'Reset password is invalid',
22
+	'invalidOldPassword'     => 'Old password is invalid',
23
+	'notFound'               => 'The requested :replace not found',
24
+	'generalError'           => 'Something went wrong',
25
+	'emailNotConfirmed'      => 'Your email isn\'t confirmed',
26
+	'emailAlreadyConfirmed'  => 'Your email is already confirmed'
27 27
 
28 28
 ];
29 29
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Core/Resources/Lang/ar/errors.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -2,27 +2,27 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * List of error messages used in core module.
7
-     */
8
-    'unAuthorized'           => 'من فضلك قم بتسجيل الدخول',
9
-    'invalidRefreshToken'    => 'رمز التحديث غير صالح',
10
-    'noPermissions'          => 'لا توجد صلاحية',
11
-    'loginFailed'            => 'خطأ في البريد لاكتروني او كلمة المرور',
12
-    'noSocialEmail'          => 'لا يمكن الحصول علي تابريد الاكتروني',
13
-    'userAlreadyRegistered'  => 'المستخد مسجل بالفعل.سجل الدخول بالبريد الاكتروني و كلمة السر',
14
-    'connectionError'        => 'خطأ في الاتصال',
15
-    'redisNotRunning'        => 'سيرفير الاشعارات لايعمل',
16
-    'dbQueryError'           => 'خطا في البيانات',
17
-    'cannotCreateSetting'    => 'لا يمكن اضافة اعدادات',
18
-    'cannotUpdateSettingKey' => 'لا يمكن تعديل اعدادات',
19
-    'userIsBlocked'          => 'لقد تم حظرك',
20
-    'invalidResetToken'      => 'رمز تعديل كلمة المرور خطا',
21
-    'invalidResetPassword'   => 'خطا في نعديل كلمة المرور',
22
-    'invalidOldPassword'     => 'كلمة السر القديمه خطا',
23
-    'notFound'               => 'ال :replace المطلوب غير موجود',
24
-    'generalError'           => 'حدث خطا ما',
25
-    'emailNotConfirmed'      => 'بريدك الاكتروني غير مفعل',
26
-    'emailAlreadyConfirmed'  => 'البريد الاكتروني مفع بالقعل'
5
+	/**
6
+	 * List of error messages used in core module.
7
+	 */
8
+	'unAuthorized'           => 'من فضلك قم بتسجيل الدخول',
9
+	'invalidRefreshToken'    => 'رمز التحديث غير صالح',
10
+	'noPermissions'          => 'لا توجد صلاحية',
11
+	'loginFailed'            => 'خطأ في البريد لاكتروني او كلمة المرور',
12
+	'noSocialEmail'          => 'لا يمكن الحصول علي تابريد الاكتروني',
13
+	'userAlreadyRegistered'  => 'المستخد مسجل بالفعل.سجل الدخول بالبريد الاكتروني و كلمة السر',
14
+	'connectionError'        => 'خطأ في الاتصال',
15
+	'redisNotRunning'        => 'سيرفير الاشعارات لايعمل',
16
+	'dbQueryError'           => 'خطا في البيانات',
17
+	'cannotCreateSetting'    => 'لا يمكن اضافة اعدادات',
18
+	'cannotUpdateSettingKey' => 'لا يمكن تعديل اعدادات',
19
+	'userIsBlocked'          => 'لقد تم حظرك',
20
+	'invalidResetToken'      => 'رمز تعديل كلمة المرور خطا',
21
+	'invalidResetPassword'   => 'خطا في نعديل كلمة المرور',
22
+	'invalidOldPassword'     => 'كلمة السر القديمه خطا',
23
+	'notFound'               => 'ال :replace المطلوب غير موجود',
24
+	'generalError'           => 'حدث خطا ما',
25
+	'emailNotConfirmed'      => 'بريدك الاكتروني غير مفعل',
26
+	'emailAlreadyConfirmed'  => 'البريد الاكتروني مفع بالقعل'
27 27
 
28 28
 ];
29 29
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Notifications/Resources/Lang/en/notifications.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your notification messages.
7
-     */
5
+	/**
6
+	 * Here goes your notification messages.
7
+	 */
8 8
 
9 9
 ];
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Notifications/Resources/Lang/ar/notifications.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your notification messages.
7
-     */
5
+	/**
6
+	 * Here goes your notification messages.
7
+	 */
8 8
 
9 9
 ];
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
files/AuthServiceProvider.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -8,31 +8,31 @@
 block discarded – undo
8 8
 
9 9
 class AuthServiceProvider extends ServiceProvider
10 10
 {
11
-    /**
12
-     * The policy mappings for the application.
13
-     *
14
-     * @var array
15
-     */
16
-    protected $policies = [
17
-        'App\Model' => 'App\Policies\ModelPolicy',
18
-    ];
11
+	/**
12
+	 * The policy mappings for the application.
13
+	 *
14
+	 * @var array
15
+	 */
16
+	protected $policies = [
17
+		'App\Model' => 'App\Policies\ModelPolicy',
18
+	];
19 19
 
20
-    /**
21
-     * Register any authentication / authorization services.
22
-     *
23
-     * @return void
24
-     */
25
-    public function boot()
26
-    {
27
-        $this->registerPolicies();
20
+	/**
21
+	 * Register any authentication / authorization services.
22
+	 *
23
+	 * @return void
24
+	 */
25
+	public function boot()
26
+	{
27
+		$this->registerPolicies();
28 28
 
29
-        Passport::routes(function ($router) {
30
-            $router->forAuthorization();
31
-            $router->forAccessTokens();
32
-            $router->forPersonalAccessTokens();
33
-            $router->forTransientTokens();
34
-        });
35
-        Passport::tokensExpireIn(\Carbon\Carbon::now()->addMinutes(10));
36
-        Passport::refreshTokensExpireIn(\Carbon\Carbon::now()->addDays(10));
37
-    }
29
+		Passport::routes(function ($router) {
30
+			$router->forAuthorization();
31
+			$router->forAccessTokens();
32
+			$router->forPersonalAccessTokens();
33
+			$router->forTransientTokens();
34
+		});
35
+		Passport::tokensExpireIn(\Carbon\Carbon::now()->addMinutes(10));
36
+		Passport::refreshTokensExpireIn(\Carbon\Carbon::now()->addDays(10));
37
+	}
38 38
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $this->registerPolicies();
28 28
 
29
-        Passport::routes(function ($router) {
29
+        Passport::routes(function($router) {
30 30
             $router->forAuthorization();
31 31
             $router->forAccessTokens();
32 32
             $router->forPersonalAccessTokens();
Please login to merge, or discard this patch.