Merge branch 'master' into feat-1297-add-expire-date-to-urls
This commit is contained in:
commit
9472867c66
21 changed files with 2405 additions and 3487 deletions
|
@ -13,7 +13,7 @@
|
||||||
- _APP_INFLUXDB_HOST
|
- _APP_INFLUXDB_HOST
|
||||||
- _APP_INFLUXDB_PORT
|
- _APP_INFLUXDB_PORT
|
||||||
- Added `expires` parameter to Account Recovery and Email Validation URL's
|
- Added `expires` parameter to Account Recovery and Email Validation URL's
|
||||||
|
- Upgraded phpmailer version to 6.5.0 (#1317)
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
||||||
- Fixed bug when removing a project member on the Appwrite console (#1214)
|
- Fixed bug when removing a project member on the Appwrite console (#1214)
|
||||||
|
|
|
@ -16,7 +16,7 @@ FROM php:8.0-cli-alpine as step1
|
||||||
|
|
||||||
ENV PHP_REDIS_VERSION=5.3.4 \
|
ENV PHP_REDIS_VERSION=5.3.4 \
|
||||||
PHP_SWOOLE_VERSION=v4.6.6 \
|
PHP_SWOOLE_VERSION=v4.6.6 \
|
||||||
PHP_IMAGICK_VERSION=master \
|
PHP_IMAGICK_VERSION=3.5.0 \
|
||||||
PHP_YAML_VERSION=2.2.1 \
|
PHP_YAML_VERSION=2.2.1 \
|
||||||
PHP_MAXMINDDB_VERSION=v1.10.1
|
PHP_MAXMINDDB_VERSION=v1.10.1
|
||||||
|
|
||||||
|
@ -53,10 +53,8 @@ RUN \
|
||||||
make && make install && \
|
make && make install && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
## Imagick Extension
|
## Imagick Extension
|
||||||
## Last working commit https://github.com/Imagick/imagick/commit/35741750aa1cda2b7ac354bfa6128fa037e9cf32
|
git clone --depth 1 --branch $PHP_IMAGICK_VERSION https://github.com/imagick/imagick && \
|
||||||
git clone --branch $PHP_IMAGICK_VERSION https://github.com/Imagick/imagick && \
|
|
||||||
cd imagick && \
|
cd imagick && \
|
||||||
git checkout 35741750aa1cda2b7ac354bfa6128fa037e9cf32 && \
|
|
||||||
phpize && \
|
phpize && \
|
||||||
./configure && \
|
./configure && \
|
||||||
make && make install && \
|
make && make install && \
|
||||||
|
@ -152,10 +150,12 @@ RUN \
|
||||||
brotli-dev \
|
brotli-dev \
|
||||||
yaml-dev \
|
yaml-dev \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
|
imagemagick-dev \
|
||||||
libmaxminddb-dev \
|
libmaxminddb-dev \
|
||||||
certbot \
|
certbot \
|
||||||
docker-cli \
|
docker-cli \
|
||||||
docker-compose \
|
docker-compose \
|
||||||
|
libgomp \
|
||||||
&& docker-php-ext-install sockets opcache pdo_mysql \
|
&& docker-php-ext-install sockets opcache pdo_mysql \
|
||||||
&& apk del .deps \
|
&& apk del .deps \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
|
@ -67,7 +67,7 @@ return [
|
||||||
'introduction' => '',
|
'introduction' => '',
|
||||||
'default' => 'localhost',
|
'default' => 'localhost',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'question' => 'Enter a DNS A record hostname to serve as a CNAME for your custom domains.\nYou can use the same value as used for the Appwrite hostname.',
|
'question' => 'Enter a DNS A record hostname to serve as a CNAME for your custom domains.' . PHP_EOL . 'You can use the same value as used for the Appwrite hostname.',
|
||||||
'filter' => ''
|
'filter' => ''
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -22,7 +22,6 @@ use Utopia\Image\Image;
|
||||||
use Appwrite\OpenSSL\OpenSSL;
|
use Appwrite\OpenSSL\OpenSSL;
|
||||||
use Appwrite\Utopia\Response;
|
use Appwrite\Utopia\Response;
|
||||||
use Utopia\Config\Config;
|
use Utopia\Config\Config;
|
||||||
use Utopia\Validator\Numeric;
|
|
||||||
|
|
||||||
App::post('/v1/storage/files')
|
App::post('/v1/storage/files')
|
||||||
->desc('Create File')
|
->desc('Create File')
|
||||||
|
@ -242,7 +241,7 @@ App::get('/v1/storage/files/:fileId/preview')
|
||||||
->param('fileId', '', new UID(), 'File unique ID')
|
->param('fileId', '', new UID(), 'File unique ID')
|
||||||
->param('width', 0, new Range(0, 4000), 'Resize preview image width, Pass an integer between 0 to 4000.', true)
|
->param('width', 0, new Range(0, 4000), 'Resize preview image width, Pass an integer between 0 to 4000.', true)
|
||||||
->param('height', 0, new Range(0, 4000), 'Resize preview image height, Pass an integer between 0 to 4000.', true)
|
->param('height', 0, new Range(0, 4000), 'Resize preview image height, Pass an integer between 0 to 4000.', true)
|
||||||
->param('gravity', Image::GRAVITY_CENTER, new WhiteList([Image::GRAVITY_CENTER, Image::GRAVITY_NORTH, Image::GRAVITY_NORTHWEST, Image::GRAVITY_NORTHEAST, Image::GRAVITY_WEST, Image::GRAVITY_EAST, Image::GRAVITY_SOUTHWEST, Image::GRAVITY_SOUTH, Image::GRAVITY_SOUTHEAST]), 'Image crop gravity', true)
|
->param('gravity', Image::GRAVITY_CENTER, new WhiteList(Image::getGravityTypes()), 'Image crop gravity. Can be one of ' . implode(",", Image::getGravityTypes()), true)
|
||||||
->param('quality', 100, new Range(0, 100), 'Preview image quality. Pass an integer between 0 to 100. Defaults to 100.', true)
|
->param('quality', 100, new Range(0, 100), 'Preview image quality. Pass an integer between 0 to 100. Defaults to 100.', true)
|
||||||
->param('borderWidth', 0, new Range(0, 100), 'Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.', true)
|
->param('borderWidth', 0, new Range(0, 100), 'Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.', true)
|
||||||
->param('borderColor', '', new HexColor(), 'Preview image border color. Use a valid HEX color, no # is needed for prefix.', true)
|
->param('borderColor', '', new HexColor(), 'Preview image border color. Use a valid HEX color, no # is needed for prefix.', true)
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Appwrite\Network\Validator\Host;
|
||||||
use Appwrite\Utopia\Response;
|
use Appwrite\Utopia\Response;
|
||||||
use Utopia\App;
|
use Utopia\App;
|
||||||
use Utopia\Validator\ArrayList;
|
use Utopia\Validator\ArrayList;
|
||||||
use Utopia\Validator\Integer;
|
use Utopia\Validator\Numeric;
|
||||||
use Utopia\Validator\Text;
|
use Utopia\Validator\Text;
|
||||||
use Utopia\Storage\Validator\File;
|
use Utopia\Storage\Validator\File;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ App::get('/v1/mock/tests/foo')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -42,7 +42,7 @@ App::post('/v1/mock/tests/foo')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -60,7 +60,7 @@ App::patch('/v1/mock/tests/foo')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -78,7 +78,7 @@ App::put('/v1/mock/tests/foo')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -96,7 +96,7 @@ App::delete('/v1/mock/tests/foo')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -114,7 +114,7 @@ App::get('/v1/mock/tests/bar')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -132,7 +132,7 @@ App::post('/v1/mock/tests/bar')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -150,7 +150,7 @@ App::patch('/v1/mock/tests/bar')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -168,7 +168,7 @@ App::put('/v1/mock/tests/bar')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -186,7 +186,7 @@ App::delete('/v1/mock/tests/bar')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->action(function ($x, $y, $z) {
|
->action(function ($x, $y, $z) {
|
||||||
});
|
});
|
||||||
|
@ -230,7 +230,7 @@ App::post('/v1/mock/tests/general/upload')
|
||||||
->label('sdk.response.model', Response::MODEL_MOCK)
|
->label('sdk.response.model', Response::MODEL_MOCK)
|
||||||
->label('sdk.mock', true)
|
->label('sdk.mock', true)
|
||||||
->param('x', '', new Text(100), 'Sample string param')
|
->param('x', '', new Text(100), 'Sample string param')
|
||||||
->param('y', '', new Integer(), 'Sample numeric param')
|
->param('y', '', new Numeric(), 'Sample numeric param')
|
||||||
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
->param('z', null, new ArrayList(new Text(256)), 'Sample array param')
|
||||||
->param('file', [], new File(), 'Sample file param', false)
|
->param('file', [], new File(), 'Sample file param', false)
|
||||||
->inject('request')
|
->inject('request')
|
||||||
|
|
|
@ -536,7 +536,7 @@ class FunctionsV1 extends Worker
|
||||||
if(\count($list) > $max) {
|
if(\count($list) > $max) {
|
||||||
Console::info('Starting containers cleanup');
|
Console::info('Starting containers cleanup');
|
||||||
|
|
||||||
\usort($list, function ($item1, $item2) {
|
\uasort($list, function ($item1, $item2) {
|
||||||
return (int)($item1['appwrite-created'] ?? 0) <=> (int)($item2['appwrite-created'] ?? 0);
|
return (int)($item1['appwrite-created'] ?? 0) <=> (int)($item2['appwrite-created'] ?? 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
REDIS_BACKEND=$REDIS_BACKEND RESQUE_PHP='/usr/src/code/vendor/autoload.php' php /usr/src/code/vendor/bin/resque-scheduler
|
INTERVAL=1 REDIS_BACKEND=$REDIS_BACKEND RESQUE_PHP='/usr/src/code/vendor/autoload.php' php /usr/src/code/vendor/bin/resque-scheduler
|
||||||
|
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-audits' APP_INCLUDE='/usr/src/code/app/workers/audits.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=1 QUEUE='v1-audits' APP_INCLUDE='/usr/src/code/app/workers/audits.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-certificates' APP_INCLUDE='/usr/src/code/app/workers/certificates.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=1 QUEUE='v1-certificates' APP_INCLUDE='/usr/src/code/app/workers/certificates.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-deletes' APP_INCLUDE='/usr/src/code/app/workers/deletes.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=1 QUEUE='v1-deletes' APP_INCLUDE='/usr/src/code/app/workers/deletes.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-functions' APP_INCLUDE='/usr/src/code/app/workers/functions.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=0.1 QUEUE='v1-functions' APP_INCLUDE='/usr/src/code/app/workers/functions.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-mails' APP_INCLUDE='/usr/src/code/app/workers/mails.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=1 QUEUE='v1-mails' APP_INCLUDE='/usr/src/code/app/workers/mails.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-tasks' APP_INCLUDE='/usr/src/code/app/workers/tasks.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=0.1 QUEUE='v1-tasks' APP_INCLUDE='/usr/src/code/app/workers/tasks.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-usage' APP_INCLUDE='/usr/src/code/app/workers/usage.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=1 QUEUE='v1-usage' APP_INCLUDE='/usr/src/code/app/workers/usage.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -7,4 +7,4 @@ else
|
||||||
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QUEUE='v1-webhooks' APP_INCLUDE='/usr/src/code/app/workers/webhooks.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
INTERVAL=0.1 QUEUE='v1-webhooks' APP_INCLUDE='/usr/src/code/app/workers/webhooks.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
|
|
@ -51,12 +51,12 @@
|
||||||
"utopia-php/domains": "1.1.*",
|
"utopia-php/domains": "1.1.*",
|
||||||
"utopia-php/swoole": "0.2.*",
|
"utopia-php/swoole": "0.2.*",
|
||||||
"utopia-php/storage": "0.5.*",
|
"utopia-php/storage": "0.5.*",
|
||||||
"utopia-php/image": "0.3.*",
|
"utopia-php/image": "0.5.*",
|
||||||
"resque/php-resque": "1.3.6",
|
"resque/php-resque": "1.3.6",
|
||||||
"matomo/device-detector": "4.2.2",
|
"matomo/device-detector": "4.2.2",
|
||||||
"dragonmantank/cron-expression": "3.1.0",
|
"dragonmantank/cron-expression": "3.1.0",
|
||||||
"influxdb/influxdb-php": "1.15.2",
|
"influxdb/influxdb-php": "1.15.2",
|
||||||
"phpmailer/phpmailer": "6.4.1",
|
"phpmailer/phpmailer": "6.5.0",
|
||||||
"chillerlan/php-qrcode": "4.3.0",
|
"chillerlan/php-qrcode": "4.3.0",
|
||||||
"adhocore/jwt": "1.1.2",
|
"adhocore/jwt": "1.1.2",
|
||||||
"slickdeals/statsd": "3.0.2"
|
"slickdeals/statsd": "3.0.2"
|
||||||
|
|
130
composer.lock
generated
130
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "399d2426ca92e04b6d6fb84a91c316c3",
|
"content-hash": "a03cb89925d6bda5ad4248699f732a6a",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -834,16 +834,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpmailer/phpmailer",
|
"name": "phpmailer/phpmailer",
|
||||||
"version": "v6.4.1",
|
"version": "v6.5.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHPMailer/PHPMailer.git",
|
"url": "https://github.com/PHPMailer/PHPMailer.git",
|
||||||
"reference": "9256f12d8fb0cd0500f93b19e18c356906cbed3d"
|
"reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/9256f12d8fb0cd0500f93b19e18c356906cbed3d",
|
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a5b5c43e50b7fba655f793ad27303cd74c57363c",
|
||||||
"reference": "9256f12d8fb0cd0500f93b19e18c356906cbed3d",
|
"reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -898,7 +898,7 @@
|
||||||
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
|
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
|
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
|
||||||
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.4.1"
|
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -906,7 +906,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-04-29T12:25:04+00:00"
|
"time": "2021-06-16T14:33:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/http-client",
|
"name": "psr/http-client",
|
||||||
|
@ -1324,16 +1324,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/abuse",
|
"name": "utopia-php/abuse",
|
||||||
"version": "0.4.1",
|
"version": "0.4.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/abuse.git",
|
"url": "https://github.com/utopia-php/abuse.git",
|
||||||
"reference": "8b7973aae4b02489bd22ffea45b985608f13b6d9"
|
"reference": "286b52209818e5033573e6441d65adbc48a6f715"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/8b7973aae4b02489bd22ffea45b985608f13b6d9",
|
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/286b52209818e5033573e6441d65adbc48a6f715",
|
||||||
"reference": "8b7973aae4b02489bd22ffea45b985608f13b6d9",
|
"reference": "286b52209818e5033573e6441d65adbc48a6f715",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1370,9 +1370,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/abuse/issues",
|
"issues": "https://github.com/utopia-php/abuse/issues",
|
||||||
"source": "https://github.com/utopia-php/abuse/tree/0.4.1"
|
"source": "https://github.com/utopia-php/abuse/tree/0.4.2"
|
||||||
},
|
},
|
||||||
"time": "2021-06-05T14:31:33+00:00"
|
"time": "2021-06-23T15:04:44+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/analytics",
|
"name": "utopia-php/analytics",
|
||||||
|
@ -1431,21 +1431,21 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/audit",
|
"name": "utopia-php/audit",
|
||||||
"version": "0.5.1",
|
"version": "0.5.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/audit.git",
|
"url": "https://github.com/utopia-php/audit.git",
|
||||||
"reference": "154a850170a58667a15e4b65fbabb6cd0b709dd9"
|
"reference": "57e4f8f932164bdfd48ec32bf8d7d3f1bf7518e4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/audit/zipball/154a850170a58667a15e4b65fbabb6cd0b709dd9",
|
"url": "https://api.github.com/repos/utopia-php/audit/zipball/57e4f8f932164bdfd48ec32bf8d7d3f1bf7518e4",
|
||||||
"reference": "154a850170a58667a15e4b65fbabb6cd0b709dd9",
|
"reference": "57e4f8f932164bdfd48ec32bf8d7d3f1bf7518e4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
"php": ">=7.1"
|
"php": ">=7.4"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.3",
|
"phpunit/phpunit": "^9.3",
|
||||||
|
@ -1477,9 +1477,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/audit/issues",
|
"issues": "https://github.com/utopia-php/audit/issues",
|
||||||
"source": "https://github.com/utopia-php/audit/tree/0.5.1"
|
"source": "https://github.com/utopia-php/audit/tree/0.5.2"
|
||||||
},
|
},
|
||||||
"time": "2020-12-21T17:28:53+00:00"
|
"time": "2021-06-23T16:02:40+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/cache",
|
"name": "utopia-php/cache",
|
||||||
|
@ -1742,16 +1742,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/image",
|
"name": "utopia-php/image",
|
||||||
"version": "0.3.2",
|
"version": "0.5.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/image.git",
|
"url": "https://github.com/utopia-php/image.git",
|
||||||
"reference": "2044fdd44d87c4253cfe929cca975fd037461b00"
|
"reference": "5b4ac25e70a95fa10b39c129b742ac66748d40b8"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/image/zipball/2044fdd44d87c4253cfe929cca975fd037461b00",
|
"url": "https://api.github.com/repos/utopia-php/image/zipball/5b4ac25e70a95fa10b39c129b742ac66748d40b8",
|
||||||
"reference": "2044fdd44d87c4253cfe929cca975fd037461b00",
|
"reference": "5b4ac25e70a95fa10b39c129b742ac66748d40b8",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1789,9 +1789,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/image/issues",
|
"issues": "https://github.com/utopia-php/image/issues",
|
||||||
"source": "https://github.com/utopia-php/image/tree/0.3.2"
|
"source": "https://github.com/utopia-php/image/tree/0.5.0"
|
||||||
},
|
},
|
||||||
"time": "2021-06-10T09:16:11+00:00"
|
"time": "2021-06-25T03:40:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/locale",
|
"name": "utopia-php/locale",
|
||||||
|
@ -2003,16 +2003,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/swoole",
|
"name": "utopia-php/swoole",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/swoole.git",
|
"url": "https://github.com/utopia-php/swoole.git",
|
||||||
"reference": "45c42aae7e7d3f9f82bf194c2cfa5499b674aefe"
|
"reference": "37d8c64b536d6bc7da4f0f5a934a0ec44885abf4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/swoole/zipball/45c42aae7e7d3f9f82bf194c2cfa5499b674aefe",
|
"url": "https://api.github.com/repos/utopia-php/swoole/zipball/37d8c64b536d6bc7da4f0f5a934a0ec44885abf4",
|
||||||
"reference": "45c42aae7e7d3f9f82bf194c2cfa5499b674aefe",
|
"reference": "37d8c64b536d6bc7da4f0f5a934a0ec44885abf4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2053,9 +2053,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/swoole/issues",
|
"issues": "https://github.com/utopia-php/swoole/issues",
|
||||||
"source": "https://github.com/utopia-php/swoole/tree/0.2.3"
|
"source": "https://github.com/utopia-php/swoole/tree/0.2.4"
|
||||||
},
|
},
|
||||||
"time": "2021-03-22T22:39:24+00:00"
|
"time": "2021-06-22T10:49:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/system",
|
"name": "utopia-php/system",
|
||||||
|
@ -2713,20 +2713,20 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "felixfbecker/advanced-json-rpc",
|
"name": "felixfbecker/advanced-json-rpc",
|
||||||
"version": "v3.2.0",
|
"version": "v3.2.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
|
"url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
|
||||||
"reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e"
|
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/06f0b06043c7438959dbdeed8bb3f699a19be22e",
|
"url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447",
|
||||||
"reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e",
|
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"netresearch/jsonmapper": "^1.0 || ^2.0",
|
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
|
||||||
"php": "^7.1 || ^8.0",
|
"php": "^7.1 || ^8.0",
|
||||||
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
|
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
|
||||||
},
|
},
|
||||||
|
@ -2752,9 +2752,9 @@
|
||||||
"description": "A more advanced JSONRPC implementation",
|
"description": "A more advanced JSONRPC implementation",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",
|
"issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",
|
||||||
"source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.0"
|
"source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1"
|
||||||
},
|
},
|
||||||
"time": "2021-01-10T17:48:47+00:00"
|
"time": "2021-06-11T22:34:44+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "felixfbecker/language-server-protocol",
|
"name": "felixfbecker/language-server-protocol",
|
||||||
|
@ -3003,16 +3003,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "netresearch/jsonmapper",
|
"name": "netresearch/jsonmapper",
|
||||||
"version": "v2.1.0",
|
"version": "v4.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cweiske/jsonmapper.git",
|
"url": "https://github.com/cweiske/jsonmapper.git",
|
||||||
"reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e"
|
"reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e",
|
"url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
|
||||||
"reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e",
|
"reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3020,10 +3020,10 @@
|
||||||
"ext-pcre": "*",
|
"ext-pcre": "*",
|
||||||
"ext-reflection": "*",
|
"ext-reflection": "*",
|
||||||
"ext-spl": "*",
|
"ext-spl": "*",
|
||||||
"php": ">=5.6"
|
"php": ">=7.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0",
|
"phpunit/phpunit": "~7.5 || ~8.0 || ~9.0",
|
||||||
"squizlabs/php_codesniffer": "~3.5"
|
"squizlabs/php_codesniffer": "~3.5"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
@ -3048,9 +3048,9 @@
|
||||||
"support": {
|
"support": {
|
||||||
"email": "cweiske@cweiske.de",
|
"email": "cweiske@cweiske.de",
|
||||||
"issues": "https://github.com/cweiske/jsonmapper/issues",
|
"issues": "https://github.com/cweiske/jsonmapper/issues",
|
||||||
"source": "https://github.com/cweiske/jsonmapper/tree/master"
|
"source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0"
|
||||||
},
|
},
|
||||||
"time": "2020-04-16T18:48:43+00:00"
|
"time": "2020-12-01T19:48:11+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
|
@ -4823,16 +4823,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/type",
|
"name": "sebastian/type",
|
||||||
"version": "2.3.2",
|
"version": "2.3.4",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/type.git",
|
"url": "https://github.com/sebastianbergmann/type.git",
|
||||||
"reference": "0d1c587401514d17e8f9258a27e23527cb1b06c1"
|
"reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0d1c587401514d17e8f9258a27e23527cb1b06c1",
|
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914",
|
||||||
"reference": "0d1c587401514d17e8f9258a27e23527cb1b06c1",
|
"reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4867,7 +4867,7 @@
|
||||||
"homepage": "https://github.com/sebastianbergmann/type",
|
"homepage": "https://github.com/sebastianbergmann/type",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/type/issues",
|
"issues": "https://github.com/sebastianbergmann/type/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/type/tree/2.3.2"
|
"source": "https://github.com/sebastianbergmann/type/tree/2.3.4"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -4875,7 +4875,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-06-04T13:02:07+00:00"
|
"time": "2021-06-15T12:49:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/version",
|
"name": "sebastian/version",
|
||||||
|
@ -4984,16 +4984,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v5.3.0",
|
"version": "v5.3.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/console.git",
|
"url": "https://github.com/symfony/console.git",
|
||||||
"reference": "058553870f7809087fa80fa734704a21b9bcaeb2"
|
"reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/console/zipball/058553870f7809087fa80fa734704a21b9bcaeb2",
|
"url": "https://api.github.com/repos/symfony/console/zipball/649730483885ff2ca99ca0560ef0e5f6b03f2ac1",
|
||||||
"reference": "058553870f7809087fa80fa734704a21b9bcaeb2",
|
"reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -5062,7 +5062,7 @@
|
||||||
"terminal"
|
"terminal"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/console/tree/v5.3.0"
|
"source": "https://github.com/symfony/console/tree/v5.3.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -5078,7 +5078,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-05-26T17:43:10+00:00"
|
"time": "2021-06-12T09:42:48+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/deprecation-contracts",
|
"name": "symfony/deprecation-contracts",
|
||||||
|
@ -5635,16 +5635,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/string",
|
"name": "symfony/string",
|
||||||
"version": "v5.3.0",
|
"version": "v5.3.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/string.git",
|
"url": "https://github.com/symfony/string.git",
|
||||||
"reference": "a9a0f8b6aafc5d2d1c116dcccd1573a95153515b"
|
"reference": "0732e97e41c0a590f77e231afc16a327375d50b0"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/string/zipball/a9a0f8b6aafc5d2d1c116dcccd1573a95153515b",
|
"url": "https://api.github.com/repos/symfony/string/zipball/0732e97e41c0a590f77e231afc16a327375d50b0",
|
||||||
"reference": "a9a0f8b6aafc5d2d1c116dcccd1573a95153515b",
|
"reference": "0732e97e41c0a590f77e231afc16a327375d50b0",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -5698,7 +5698,7 @@
|
||||||
"utf8"
|
"utf8"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/string/tree/v5.3.0"
|
"source": "https://github.com/symfony/string/tree/v5.3.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -5714,7 +5714,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-05-26T17:43:10+00:00"
|
"time": "2021-06-06T09:51:56+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "theseer/tokenizer",
|
"name": "theseer/tokenizer",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account account, you need to update its [email and password](/docs/client/account#accountUpdateEmail).
|
Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](/docs/client/account#accountUpdateEmail) or create an [OAuth2 session](/docs/client/account#accountCreateOAuth2Session).
|
|
@ -1 +1,3 @@
|
||||||
Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.
|
Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.
|
||||||
|
|
||||||
|
If there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user..
|
||||||
|
|
5639
package-lock.json
generated
5639
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -14,8 +14,6 @@
|
||||||
"gulp-clean-css": "^4.3.0",
|
"gulp-clean-css": "^4.3.0",
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-jsmin": "^0.1.5",
|
"gulp-jsmin": "^0.1.5",
|
||||||
"gulp-less": "^4.0.1",
|
"gulp-less": "^5.0.0"
|
||||||
"ls-service-form2json": "^1.0.0",
|
|
||||||
"yargs-parser": "^20.2.7"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue