1
0
Fork 0
mirror of synced 2024-06-27 10:41:00 +12:00

Merge branch 'master' of github.com:appwrite/appwrite into restify

This commit is contained in:
Eldad Fux 2020-01-25 23:35:25 +02:00
commit 93d4bc9e29
10 changed files with 250 additions and 202 deletions

View file

@ -15,15 +15,19 @@ return [
'language' => [
[
'name' => 'JS',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-js',
'enabled' => true,
'beta' => false,
'prism' => 'javascript',
'source' => realpath(__DIR__ . '/../sdks/js'),
],
[
'name' => 'TypeScript',
'repository' => '',
'enabled' => true,
'beta' => false,
'prism' => 'typescript',
'source' => '',
],
],
],
@ -38,12 +42,16 @@ return [
'repository' => '',
'enabled' => false,
'beta' => false,
'prism' => 'swift',
'source' => '',
],
[
'name' => 'Objective C',
'repository' => '',
'enabled' => false,
'beta' => false,
'prism' => '',
'source' => '',
],
],
],
@ -54,16 +62,20 @@ return [
'beta' => false,
'language' => [
[
'name' => 'Swift',
'name' => 'Kotlin',
'repository' => '',
'enabled' => false,
'beta' => false,
'prism' => 'kotlin',
'source' => false,
],
[
'name' => 'Objective C',
'name' => 'Java',
'repository' => '',
'enabled' => false,
'beta' => false,
'prism' => 'java',
'source' => false,
],
],
],
@ -75,33 +87,42 @@ return [
'language' => [
[
'name' => 'Node.js',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-node',
'enabled' => true,
'beta' => false,
'prism' => 'javascript',
'source' => realpath(__DIR__ . '/../sdks/node'),
],
[
'name' => 'PHP',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-php',
'enabled' => true,
'beta' => false,
'prism' => 'php',
'source' => realpath(__DIR__ . '/../sdks/php'),
],
[
'name' => 'Python',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-python',
'enabled' => true,
'beta' => true,
'prism' => 'python',
'source' => realpath(__DIR__ . '/../sdks/python'),
],
[
'name' => 'Go',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-go',
'enabled' => true,
'beta' => true,
'prism' => 'go',
'source' => realpath(__DIR__ . '/../sdks/go'),
],
[
'name' => 'Ruby',
'repository' => '',
'repository' => 'https://github.com/appwrite/sdk-for-ruby',
'enabled' => true,
'beta' => true,
'prism' => 'ruby',
'source' => realpath(__DIR__ . '/../sdks/ruby'),
],
],
],

View file

@ -38,6 +38,7 @@ $env = $request->getServer('_APP_ENV', App::ENV_TYPE_PRODUCTION);
$domain = $request->getServer('HTTP_HOST', '');
$version = $request->getServer('_APP_VERSION', 'UNKNOWN');
$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
$collections = include __DIR__.'/../app/config/collections.php'; // Collections list
$redisHost = $request->getServer('_APP_REDIS_HOST', '');

View file

@ -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))

View file

@ -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 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)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -31,6 +31,30 @@
.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: 30px!important;
}