Merge branch 'master' of github.com:appwrite/appwrite into restify
This commit is contained in:
commit
93d4bc9e29
10 changed files with 250 additions and 202 deletions
|
@ -15,15 +15,19 @@ return [
|
||||||
'language' => [
|
'language' => [
|
||||||
[
|
[
|
||||||
'name' => 'JS',
|
'name' => 'JS',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-js',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'javascript',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/js'),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'TypeScript',
|
'name' => 'TypeScript',
|
||||||
'repository' => '',
|
'repository' => '',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'typescript',
|
||||||
|
'source' => '',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
@ -38,12 +42,16 @@ return [
|
||||||
'repository' => '',
|
'repository' => '',
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'swift',
|
||||||
|
'source' => '',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Objective C',
|
'name' => 'Objective C',
|
||||||
'repository' => '',
|
'repository' => '',
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => '',
|
||||||
|
'source' => '',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
@ -54,16 +62,20 @@ return [
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
'language' => [
|
'language' => [
|
||||||
[
|
[
|
||||||
'name' => 'Swift',
|
'name' => 'Kotlin',
|
||||||
'repository' => '',
|
'repository' => '',
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'kotlin',
|
||||||
|
'source' => false,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Objective C',
|
'name' => 'Java',
|
||||||
'repository' => '',
|
'repository' => '',
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'java',
|
||||||
|
'source' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
@ -75,33 +87,42 @@ return [
|
||||||
'language' => [
|
'language' => [
|
||||||
[
|
[
|
||||||
'name' => 'Node.js',
|
'name' => 'Node.js',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-node',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => false,
|
'beta' => false,
|
||||||
|
'prism' => 'javascript',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/node'),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'PHP',
|
'name' => 'PHP',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-php',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => false,
|
'prism' => 'php',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/php'),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Python',
|
'name' => 'Python',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-python',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => true,
|
||||||
|
'prism' => 'python',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/python'),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Go',
|
'name' => 'Go',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-go',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => true,
|
||||||
|
'prism' => 'go',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/go'),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Ruby',
|
'name' => 'Ruby',
|
||||||
'repository' => '',
|
'repository' => 'https://github.com/appwrite/sdk-for-ruby',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => true,
|
||||||
|
'prism' => 'ruby',
|
||||||
|
'source' => realpath(__DIR__ . '/../sdks/ruby'),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
@ -38,6 +38,7 @@ $env = $request->getServer('_APP_ENV', App::ENV_TYPE_PRODUCTION);
|
||||||
$domain = $request->getServer('HTTP_HOST', '');
|
$domain = $request->getServer('HTTP_HOST', '');
|
||||||
$version = $request->getServer('_APP_VERSION', 'UNKNOWN');
|
$version = $request->getServer('_APP_VERSION', 'UNKNOWN');
|
||||||
$providers = include __DIR__.'/../app/config/providers.php'; // OAuth providers list
|
$providers = include __DIR__.'/../app/config/providers.php'; // OAuth providers list
|
||||||
|
$platforms = include __DIR__.'/../app/config/platforms.php';
|
||||||
$locales = include __DIR__.'/../app/config/locales.php'; // Locales list
|
$locales = include __DIR__.'/../app/config/locales.php'; // Locales list
|
||||||
$collections = include __DIR__.'/../app/config/collections.php'; // Collections list
|
$collections = include __DIR__.'/../app/config/collections.php'; // Collections list
|
||||||
$redisHost = $request->getServer('_APP_REDIS_HOST', '');
|
$redisHost = $request->getServer('_APP_REDIS_HOST', '');
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
|
Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
|
||||||
|
|
||||||
|
([IP Geolocation by DB-IP](https://db-ip.com))
|
|
@ -1,5 +1,3 @@
|
||||||
The locale service allows you to customize your app based on your users' location. Using this service, you can get your users' location, IP address, list of countries and continents names, phone codes, currencies, and more.
|
The locale service allows you to customize your app based on your users' location. Using this service, you can get your users' location, IP address, list of countries and continents names, phone codes, currencies, and more.
|
||||||
|
|
||||||
The user service supports multiple locales. This feature allows you to fetch countries and continents information in your app language. To switch locales, all you need to do is pass the 'X-Appwrite-Locale' header or set the 'setLocale' method using any of our available SDKs. [View here the list of available locales](https://github.com/appwrite/appwrite/blob/master/app/config/locales.php).
|
The user service supports multiple locales. This feature allows you to fetch countries and continents information in your app language. To switch locales, all you need to do is pass the 'X-Appwrite-Locale' header or set the 'setLocale' method using any of our available SDKs. [View here the list of available locales](https://github.com/appwrite/appwrite/blob/master/app/config/locales.php).
|
||||||
|
|
||||||
[IP Geolocation by DB-IP](https://db-ip.com)
|
|
173
public/dist/scripts/app-all.js
vendored
173
public/dist/scripts/app-all.js
vendored
File diff suppressed because one or more lines are too long
173
public/dist/scripts/app-dep.js
vendored
173
public/dist/scripts/app-dep.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/styles/default-ltr.css
vendored
2
public/dist/styles/default-ltr.css
vendored
File diff suppressed because one or more lines are too long
2
public/dist/styles/default-rtl.css
vendored
2
public/dist/styles/default-rtl.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -31,6 +31,30 @@
|
||||||
.func-margin-start(0)!important;
|
.func-margin-start(0)!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.margin-end-negative {
|
||||||
|
.func-margin-end(-30px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin-start-negative {
|
||||||
|
.func-margin-start(-30px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin-end-negative-small {
|
||||||
|
.func-margin-end(-15px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin-start-negative-small {
|
||||||
|
.func-margin-start(-15px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin-end-negative-tiny {
|
||||||
|
.func-margin-end(-5px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin-start-negative-tiny {
|
||||||
|
.func-margin-start(-5px)!important;
|
||||||
|
}
|
||||||
|
|
||||||
.margin-top {
|
.margin-top {
|
||||||
margin-top: 30px!important;
|
margin-top: 30px!important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue