-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.txt
446 lines (433 loc) · 22.9 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
web site is up again
Could not create directory '/var/www/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 0 installs, 0 updates, 30 removals
- Removing webmozart/assert (1.4.0)
- Removing theseer/tokenizer (1.1.0)
- Removing sebastian/version (2.0.1)
- Removing sebastian/resource-operations (2.0.1)
- Removing sebastian/recursion-context (3.0.0)
- Removing sebastian/object-reflector (1.1.1)
- Removing sebastian/object-enumerator (3.0.3)
- Removing sebastian/global-state (2.0.0)
- Removing sebastian/exporter (3.1.0)
- Removing sebastian/environment (4.1.0)
- Removing sebastian/diff (3.0.2)
- Removing sebastian/comparator (3.0.2)
- Removing sebastian/code-unit-reverse-lookup (1.0.1)
- Removing phpunit/phpunit (7.5.6)
- Removing phpunit/php-token-stream (3.0.1)
- Removing phpunit/php-timer (2.1.1)
- Removing phpunit/php-text-template (1.2.1)
- Removing phpunit/php-file-iterator (2.0.2)
- Removing phpunit/php-code-coverage (6.1.4)
- Removing phpspec/prophecy (1.8.0)
- Removing phpdocumentor/type-resolver (0.4.0)
- Removing phpdocumentor/reflection-docblock (4.3.0)
- Removing phpdocumentor/reflection-common (1.0.1)
- Removing phar-io/version (2.0.1)
- Removing phar-io/manifest (1.0.3)
- Removing myclabs/deep-copy (1.8.1)
- Removing mockery/mockery (1.2.2)
- Removing hamcrest/hamcrest-php (v2.0.0)
- Removing fzaninotto/faker (v1.8.0)
- Removing doctrine/instantiator (1.1.0)
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
539d0b3..19eab7d master -> origin/master
error: Your local changes to the following files would be overwritten by merge:
storage/tnt/chaarpaaye-posts.index
Please commit your changes or stash them before you merge.
Aborting
Updating d9c4bba..19eab7d
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
19eab7d..7d55a0a master -> origin/master
error: Your local changes to the following files would be overwritten by merge:
storage/tnt/chaarpaaye-posts.index
Please commit your changes or stash them before you merge.
Aborting
Updating d9c4bba..7d55a0a
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
7d55a0a..0102f18 master -> origin/master
Updating 7d55a0a..0102f18
Fast-forward
app/Models/Character.php | 10 +++++++++-
app/Models/PlaceType.php | 3 +++
config/queue.php | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
0102f18..c80b49a master -> origin/master
Updating 0102f18..c80b49a
Fast-forward
config/queue.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
c80b49a..9359e27 master -> origin/master
Updating c80b49a..9359e27
Fast-forward
app/Http/Controllers/v3/FileController.php | 10 +++++++---
app/Jobs/SendSMS.php | 3 +++
config/queue.php | 2 +-
3 files changed, 11 insertions(+), 4 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
9359e27..04598c5 master -> origin/master
553d513..04598c5 develop -> origin/develop
Updating 9359e27..04598c5
Fast-forward
config/sentry.php | 2 +-
readme.md | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
04598c5..618e308 master -> origin/master
04598c5..618e308 develop -> origin/develop
Updating 04598c5..618e308
Fast-forward
app/Http/Controllers/v3/FileController.php | 2 +-
app/Jobs/SendSMS.php | 2 +-
routes/v1.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
618e308..98a0b1e master -> origin/master
Updating 618e308..98a0b1e
Fast-forward
app/Models/CommentDetail.php | 2 +-
routes/v1.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
98a0b1e..3112d51 master -> origin/master
Updating 98a0b1e..3112d51
Fast-forward
app/Models/CommentDetail.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
3112d51..a679c1f master -> origin/master
618e308..a679c1f develop -> origin/develop
Updating 3112d51..a679c1f
Fast-forward
routes/v3.php | 331 +++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 198 insertions(+), 133 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
a679c1f..f9a6bf0 master -> origin/master
Updating a679c1f..f9a6bf0
Fast-forward
routes/v3.php | 331 +++++++++++++++++++++++-----------------------------------
1 file changed, 133 insertions(+), 198 deletions(-)
Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
f9a6bf0..f6cacf0 master -> origin/master
a679c1f..f6cacf0 develop -> origin/develop
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/ignore': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
Updating f9a6bf0..f6cacf0
Fast-forward
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
app/Console/Commands/FixPostsLanguageId.php | 53 ++++
app/Console/Kernel.php | 4 +-
app/Http/Controllers/v3/CategoryController.php | 91 +++++--
app/Http/Controllers/v3/EventController.php | 27 ++-
app/Http/Controllers/v3/FileController.php | 41 ++++
app/Http/Controllers/v3/LanguageController.php | 24 ++
app/Http/Controllers/v3/PlaceController.php | 37 ++-
app/Http/Controllers/v3/PostController.php | 25 +-
app/Http/Controllers/v3/UserController.php | 55 ++++-
app/Http/Middleware/Authenticate.php | 6 +-
.../Middleware/CheckLanguageHeaderMiddleware.php | 37 +++
app/Http/Middleware/CorsMiddleware.php | 2 +-
app/Http/Resources/CategoryResource.php | 4 +-
app/Http/Resources/EventResource.php | 3 +-
app/Http/Resources/LanguageResource.php | 23 ++
app/Http/Resources/PlaceResource.php | 3 +-
app/Http/Resources/UserResource.php | 8 +-
app/Models/Category.php | 268 ++++++++++++---------
app/Models/Event.php | 19 +-
app/Models/Language.php | 31 +++
app/Models/Place.php | 13 +-
app/Models/Post.php | 5 +
app/Models/User.php | 4 +
bootstrap/app.php | 3 +-
...6_140234_add_profile_picture_to_users_table.php | 32 +++
...16_172841_add_parnet_id_to_categories_table.php | 35 +++
.../2019_05_17_190415_create_languages_table.php | 35 +++
..._id_to_posts_events_places_categories_table.php | 48 ++++
..._is_profile_picture_accepted_to_users_table.php | 32 +++
database/seeds/LanguagesSeeder.php | 31 +++
routes/v3.php | 13 +-
31 files changed, 831 insertions(+), 181 deletions(-)
create mode 100644 app/Console/Commands/FixPostsLanguageId.php
create mode 100644 app/Http/Controllers/v3/LanguageController.php
create mode 100644 app/Http/Middleware/CheckLanguageHeaderMiddleware.php
create mode 100644 app/Http/Resources/LanguageResource.php
create mode 100644 app/Models/Language.php
create mode 100644 database/migrations/2019_05_16_140234_add_profile_picture_to_users_table.php
create mode 100644 database/migrations/2019_05_16_172841_add_parnet_id_to_categories_table.php
create mode 100644 database/migrations/2019_05_17_190415_create_languages_table.php
create mode 100644 database/migrations/2019_05_17_192637_add_language_id_to_posts_events_places_categories_table.php
create mode 100644 database/migrations/2019_05_17_205848_add_is_profile_picture_accepted_to_users_table.php
create mode 100644 database/seeds/LanguagesSeeder.php
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
The "class" argument does not exist.
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
f6cacf0..1062561 master -> origin/master
warning: unable to access '/root/.config/git/ignore': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
Updating f6cacf0..1062561
Fast-forward
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
database/migrations/2019_05_17_190415_create_languages_table.php | 2 +-
database/seeds/LanguagesSeeder.php | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
In Builder.php line 414:
No query results for model [App\Models\Language].
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
1062561..efd7397 master -> origin/master
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/ignore': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
Updating 1062561..efd7397
Fast-forward
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
database/migrations/2019_05_17_190415_create_languages_table.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
In Builder.php line 414:
No query results for model [App\Models\Language].
Broadcasting queue restart signal.
From gitlab.com:Mayatech/Chaarpaye/Dionysus-API
efd7397..dc1868a master -> origin/master
* [new branch] captain-iran -> origin/captain-iran
f6cacf0..b68b3c1 develop -> origin/develop
* [new branch] garazhdara -> origin/garazhdara
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/ignore': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
Updating efd7397..dc1868a
Fast-forward
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/attributes': Permission denied
app/Http/Controllers/v1/EventController.php | 2 +-
app/Http/Controllers/v1/FileController.php | 4 +-
app/Http/Controllers/v1/PlaceController.php | 2 +-
app/Http/Middleware/CreateBookmarkSetFirstTime.php | 8 +--
app/Models/Bookmark.php | 8 +--
app/Models/Category.php | 14 ++--
app/Models/Event.php | 18 ++---
app/Models/Place.php | 14 ++--
config/cache.php | 79 ++++++++++++++++++++++
.../2019_05_17_190415_create_languages_table.php | 2 +-
10 files changed, 115 insertions(+), 36 deletions(-)
create mode 100644 config/cache.php
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Cannot create cache directory /root/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Nothing to migrate.
Broadcasting queue restart signal.