Skip to content

Commit 492e6eb

Browse files
Merge pull request #231 from jitendra-webkul/master
Issue #230 fixed
2 parents 72d380a + 7c66a7f commit 492e6eb

File tree

7 files changed

+32
-7
lines changed

7 files changed

+32
-7
lines changed

config/flare.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,29 @@
3434
'grouping_type' => null,
3535
'report_logs' => true,
3636
'maximum_number_of_collected_logs' => 200,
37+
'censor_request_body_fields' => ['password'],
3738
],
3839

3940
/*
4041
|--------------------------------------------------------------------------
4142
| Reporting Log statements
4243
|--------------------------------------------------------------------------
4344
|
44-
| If this setting is `false` log statements won't be send as events to Flare,
45+
| If this setting is `false` log statements won't be sent as events to Flare,
4546
| no matter which error level you specified in the Flare log channel.
4647
|
4748
*/
4849

4950
'send_logs_as_events' => true,
51+
52+
/*
53+
|--------------------------------------------------------------------------
54+
| Censor request body fields
55+
|--------------------------------------------------------------------------
56+
|
57+
| These fields will be censored from your request when sent to Flare.
58+
|
59+
*/
60+
61+
'censor_request_body_fields' => ['password'],
5062
];

config/ignition.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
|
1010
| Choose your preferred editor to use when clicking any edit button.
1111
|
12-
| Supported: "phpstorm", "vscode", "vscode-insiders",
13-
| "sublime", "atom", "nova"
12+
| Supported: "phpstorm", "vscode", "vscode-insiders", "textmate", "emacs",
13+
| "sublime", "atom", "nova", "macvim", "idea", "netbeans",
14+
| "xdebug"
1415
|
1516
*/
1617

docker/7.4/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ RUN apt-get update \
2929
php7.4-msgpack php7.4-igbinary php7.4-ldap \
3030
php7.4-redis \
3131
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
32-
&& curl -sL https://deb.nodesource.com/setup_15.x | bash - \
32+
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
3333
&& apt-get install -y nodejs \
3434
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
3535
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
3636
&& apt-get update \
3737
&& apt-get install -y yarn \
3838
&& apt-get install -y mysql-client \
39+
&& apt-get install -y postgresql-client \
3940
&& apt-get -y autoremove \
4041
&& apt-get clean \
4142
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

docker/8.0/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,23 @@ RUN apt-get update \
2929
php8.0-msgpack php8.0-igbinary php8.0-ldap \
3030
php8.0-redis \
3131
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
32-
&& curl -sL https://deb.nodesource.com/setup_15.x | bash - \
32+
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
3333
&& apt-get install -y nodejs \
3434
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
3535
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
3636
&& apt-get update \
3737
&& apt-get install -y yarn \
3838
&& apt-get install -y mysql-client \
39+
&& apt-get install -y postgresql-client \
3940
&& apt-get -y autoremove \
4041
&& apt-get clean \
4142
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
4243

44+
RUN pecl channel-update https://pecl.php.net/channel.xml \
45+
&& pecl install swoole \
46+
&& pecl clear-cache \
47+
&& rm -rf /tmp/* /var/tmp/*
48+
4349
RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.0
4450

4551
RUN groupadd --force -g $WWWGROUP sail

docker/8.0/php.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
post_max_size = 100M
33
upload_max_filesize = 100M
44
variables_order = EGPCS
5+
6+
# Extensions...
7+
extension=swoole.so

packages/Webkul/Core/src/Config/concord.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
\Webkul\Contact\Providers\ModuleServiceProvider::class,
99
\Webkul\Core\Providers\ModuleServiceProvider::class,
1010
\Webkul\Email\Providers\ModuleServiceProvider::class,
11+
\Webkul\EmailTemplate\Providers\ModuleServiceProvider::class,
1112
\Webkul\Lead\Providers\ModuleServiceProvider::class,
1213
\Webkul\Product\Providers\ModuleServiceProvider::class,
1314
\Webkul\Quote\Providers\ModuleServiceProvider::class,
1415
\Webkul\Tag\Providers\ModuleServiceProvider::class,
1516
\Webkul\UI\Providers\ModuleServiceProvider::class,
1617
\Webkul\User\Providers\ModuleServiceProvider::class,
18+
\Webkul\Workflow\Providers\ModuleServiceProvider::class,
1719
],
1820
'register_route_models' => true
1921
];

packages/Webkul/Core/src/Console/Commands/Install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handle()
5555

5656
// running `php artisan vendor:publish --all`
5757
$this->warn('Step: Publishing assets and configurations...');
58-
$result = $this->call('vendor:publish', ['--all']);
58+
$result = $this->call('vendor:publish', ['--all' => true, '--force' => true]);
5959
$this->info($result);
6060

6161
// running `php artisan storage:link`
@@ -118,7 +118,7 @@ protected function createEnvFile()
118118
$input_admin_path = $this->ask('Please Enter the Admin URL : ');
119119
$this->envUpdate('APP_ADMIN_PATH=', $input_admin_path ?: $default_admin_path);
120120

121-
$locale = $this->choice('Please select the default locale or press enter to continue', ['ar', 'en', 'fa', 'nl', 'pt_BR'], 1);
121+
$locale = $this->choice('Please select the default available locale or press enter to continue', ['en'], 0);
122122
$this->envUpdate('APP_LOCALE=', $locale);
123123

124124
$TimeZones = timezone_identifiers_list();

0 commit comments

Comments
 (0)