mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch 'master' into 0.9.x
This commit is contained in:
+63
-57
@@ -47,7 +47,7 @@ const APP_USERAGENT = APP_NAME.'-Server v%s. Please report abuse at %s';
|
||||
const APP_MODE_DEFAULT = 'default';
|
||||
const APP_MODE_ADMIN = 'admin';
|
||||
const APP_PAGING_LIMIT = 12;
|
||||
const APP_CACHE_BUSTER = 150;
|
||||
const APP_CACHE_BUSTER = 151;
|
||||
const APP_VERSION_STABLE = '0.9.4';
|
||||
const APP_STORAGE_UPLOADS = '/storage/uploads';
|
||||
const APP_STORAGE_FUNCTIONS = '/storage/functions';
|
||||
@@ -70,6 +70,10 @@ const DELETE_TYPE_EXECUTIONS = 'executions';
|
||||
const DELETE_TYPE_AUDIT = 'audit';
|
||||
const DELETE_TYPE_ABUSE = 'abuse';
|
||||
const DELETE_TYPE_CERTIFICATES = 'certificates';
|
||||
// Mail Types
|
||||
const MAIL_TYPE_VERIFICATION = 'verification';
|
||||
const MAIL_TYPE_RECOVERY = 'recovery';
|
||||
const MAIL_TYPE_INVITATION = 'invitation';
|
||||
// Auth Types
|
||||
const APP_AUTH_TYPE_SESSION = 'Session';
|
||||
const APP_AUTH_TYPE_JWT = 'JWT';
|
||||
@@ -101,6 +105,8 @@ Config::load('locale-currencies', __DIR__.'/config/locale/currencies.php');
|
||||
Config::load('locale-eu', __DIR__.'/config/locale/eu.php');
|
||||
Config::load('locale-languages', __DIR__.'/config/locale/languages.php');
|
||||
Config::load('locale-phones', __DIR__.'/config/locale/phones.php');
|
||||
Config::load('locale-countries', __DIR__.'/config/locale/countries.php');
|
||||
Config::load('locale-continents', __DIR__.'/config/locale/continents.php');
|
||||
Config::load('storage-logos', __DIR__.'/config/storage/logos.php');
|
||||
Config::load('storage-mimes', __DIR__.'/config/storage/mimes.php');
|
||||
Config::load('storage-inputs', __DIR__.'/config/storage/inputs.php');
|
||||
@@ -250,62 +256,62 @@ $register->set('geodb', function () {
|
||||
* Localization
|
||||
*/
|
||||
Locale::$exceptions = false;
|
||||
Locale::setLanguage('af', include __DIR__.'/config/locale/translations/af.php');
|
||||
Locale::setLanguage('ar', include __DIR__.'/config/locale/translations/ar.php');
|
||||
Locale::setLanguage('ba', include __DIR__.'/config/locale/translations/ba.php');
|
||||
Locale::setLanguage('be', include __DIR__.'/config/locale/translations/be.php');
|
||||
Locale::setLanguage('bg', include __DIR__.'/config/locale/translations/bg.php');
|
||||
Locale::setLanguage('bn', include __DIR__.'/config/locale/translations/bn.php');
|
||||
Locale::setLanguage('cat', include __DIR__.'/config/locale/translations/cat.php');
|
||||
Locale::setLanguage('cz', include __DIR__.'/config/locale/translations/cz.php');
|
||||
Locale::setLanguage('de', include __DIR__.'/config/locale/translations/de.php');
|
||||
Locale::setLanguage('en', include __DIR__.'/config/locale/translations/en.php');
|
||||
Locale::setLanguage('es', include __DIR__.'/config/locale/translations/es.php');
|
||||
Locale::setLanguage('fa', include __DIR__.'/config/locale/translations/fa.php');
|
||||
Locale::setLanguage('fi', include __DIR__.'/config/locale/translations/fi.php');
|
||||
Locale::setLanguage('fo', include __DIR__.'/config/locale/translations/fo.php');
|
||||
Locale::setLanguage('fr', include __DIR__.'/config/locale/translations/fr.php');
|
||||
Locale::setLanguage('gr', include __DIR__.'/config/locale/translations/gr.php');
|
||||
Locale::setLanguage('gu', include __DIR__.'/config/locale/translations/gu.php');
|
||||
Locale::setLanguage('he', include __DIR__.'/config/locale/translations/he.php');
|
||||
Locale::setLanguage('hi', include __DIR__.'/config/locale/translations/hi.php');
|
||||
Locale::setLanguage('hu', include __DIR__.'/config/locale/translations/hu.php');
|
||||
Locale::setLanguage('hy', include __DIR__.'/config/locale/translations/hy.php');
|
||||
Locale::setLanguage('id', include __DIR__.'/config/locale/translations/id.php');
|
||||
Locale::setLanguage('is', include __DIR__.'/config/locale/translations/is.php');
|
||||
Locale::setLanguage('it', include __DIR__.'/config/locale/translations/it.php');
|
||||
Locale::setLanguage('ja', include __DIR__.'/config/locale/translations/ja.php');
|
||||
Locale::setLanguage('jv', include __DIR__.'/config/locale/translations/jv.php');
|
||||
Locale::setLanguage('ka', include __DIR__.'/config/locale/translations/ka.php');
|
||||
Locale::setLanguage('km', include __DIR__.'/config/locale/translations/km.php');
|
||||
Locale::setLanguage('ko', include __DIR__.'/config/locale/translations/ko.php');
|
||||
Locale::setLanguage('lt', include __DIR__.'/config/locale/translations/lt.php');
|
||||
Locale::setLanguage('ml', include __DIR__.'/config/locale/translations/ml.php');
|
||||
Locale::setLanguage('mr', include __DIR__.'/config/locale/translations/mr.php');
|
||||
Locale::setLanguage('ms', include __DIR__.'/config/locale/translations/ms.php');
|
||||
Locale::setLanguage('nl', include __DIR__.'/config/locale/translations/nl.php');
|
||||
Locale::setLanguage('no', include __DIR__.'/config/locale/translations/no.php');
|
||||
Locale::setLanguage('np', include __DIR__.'/config/locale/translations/np.php');
|
||||
Locale::setLanguage('od', include __DIR__.'/config/locale/translations/od.php');
|
||||
Locale::setLanguage('ph', include __DIR__.'/config/locale/translations/ph.php');
|
||||
Locale::setLanguage('pl', include __DIR__.'/config/locale/translations/pl.php');
|
||||
Locale::setLanguage('pt-br', include __DIR__.'/config/locale/translations/pt-br.php');
|
||||
Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pt-pt.php');
|
||||
Locale::setLanguage('pa', include __DIR__.'/config/locale/translations/pa.php');
|
||||
Locale::setLanguage('ro', include __DIR__.'/config/locale/translations/ro.php');
|
||||
Locale::setLanguage('ru', include __DIR__ . '/config/locale/translations/ru.php');
|
||||
Locale::setLanguage('si', include __DIR__ . '/config/locale/translations/si.php');
|
||||
Locale::setLanguage('sl', include __DIR__ . '/config/locale/translations/sl.php');
|
||||
Locale::setLanguage('sq', include __DIR__ . '/config/locale/translations/sq.php');
|
||||
Locale::setLanguage('sv', include __DIR__ . '/config/locale/translations/sv.php');
|
||||
Locale::setLanguage('ta', include __DIR__ . '/config/locale/translations/ta.php');
|
||||
Locale::setLanguage('th', include __DIR__.'/config/locale/translations/th.php');
|
||||
Locale::setLanguage('tr', include __DIR__.'/config/locale/translations/tr.php');
|
||||
Locale::setLanguage('ua', include __DIR__.'/config/locale/translations/ua.php');
|
||||
Locale::setLanguage('ur', include __DIR__.'/config/locale/translations/ur.php');
|
||||
Locale::setLanguage('vi', include __DIR__.'/config/locale/translations/vi.php');
|
||||
Locale::setLanguage('zh-cn', include __DIR__.'/config/locale/translations/zh-cn.php');
|
||||
Locale::setLanguage('zh-tw', include __DIR__.'/config/locale/translations/zh-tw.php');
|
||||
Locale::setLanguageFromJSON('af', __DIR__.'/config/locale/translations/af.json');
|
||||
Locale::setLanguageFromJSON('ar', __DIR__.'/config/locale/translations/ar.json');
|
||||
Locale::setLanguageFromJSON('be', __DIR__.'/config/locale/translations/be.json');
|
||||
Locale::setLanguageFromJSON('bg', __DIR__.'/config/locale/translations/bg.json');
|
||||
Locale::setLanguageFromJSON('bn', __DIR__.'/config/locale/translations/bn.json');
|
||||
Locale::setLanguageFromJSON('bs', __DIR__.'/config/locale/translations/bs.json');
|
||||
Locale::setLanguageFromJSON('ca', __DIR__.'/config/locale/translations/ca.json');
|
||||
Locale::setLanguageFromJSON('cs', __DIR__.'/config/locale/translations/cs.json');
|
||||
Locale::setLanguageFromJSON('de', __DIR__.'/config/locale/translations/de.json');
|
||||
Locale::setLanguageFromJSON('el', __DIR__.'/config/locale/translations/el.json');
|
||||
Locale::setLanguageFromJSON('en', __DIR__.'/config/locale/translations/en.json');
|
||||
Locale::setLanguageFromJSON('es', __DIR__.'/config/locale/translations/es.json');
|
||||
Locale::setLanguageFromJSON('fa', __DIR__.'/config/locale/translations/fa.json');
|
||||
Locale::setLanguageFromJSON('fi', __DIR__.'/config/locale/translations/fi.json');
|
||||
Locale::setLanguageFromJSON('fo', __DIR__.'/config/locale/translations/fo.json');
|
||||
Locale::setLanguageFromJSON('fr', __DIR__.'/config/locale/translations/fr.json');
|
||||
Locale::setLanguageFromJSON('gu', __DIR__.'/config/locale/translations/gu.json');
|
||||
Locale::setLanguageFromJSON('he', __DIR__.'/config/locale/translations/he.json');
|
||||
Locale::setLanguageFromJSON('hi', __DIR__.'/config/locale/translations/hi.json');
|
||||
Locale::setLanguageFromJSON('hu', __DIR__.'/config/locale/translations/hu.json');
|
||||
Locale::setLanguageFromJSON('hy', __DIR__.'/config/locale/translations/hy.json');
|
||||
Locale::setLanguageFromJSON('id', __DIR__.'/config/locale/translations/id.json');
|
||||
Locale::setLanguageFromJSON('is', __DIR__.'/config/locale/translations/is.json');
|
||||
Locale::setLanguageFromJSON('it', __DIR__.'/config/locale/translations/it.json');
|
||||
Locale::setLanguageFromJSON('ja', __DIR__.'/config/locale/translations/ja.json');
|
||||
Locale::setLanguageFromJSON('jv', __DIR__.'/config/locale/translations/jv.json');
|
||||
Locale::setLanguageFromJSON('kn', __DIR__.'/config/locale/translations/kn.json');
|
||||
Locale::setLanguageFromJSON('km', __DIR__.'/config/locale/translations/km.json');
|
||||
Locale::setLanguageFromJSON('ko', __DIR__.'/config/locale/translations/ko.json');
|
||||
Locale::setLanguageFromJSON('lt', __DIR__.'/config/locale/translations/lt.json');
|
||||
Locale::setLanguageFromJSON('ml', __DIR__.'/config/locale/translations/ml.json');
|
||||
Locale::setLanguageFromJSON('mr', __DIR__.'/config/locale/translations/mr.json');
|
||||
Locale::setLanguageFromJSON('ms', __DIR__.'/config/locale/translations/ms.json');
|
||||
Locale::setLanguageFromJSON('ne', __DIR__.'/config/locale/translations/ne.json');
|
||||
Locale::setLanguageFromJSON('nl', __DIR__.'/config/locale/translations/nl.json');
|
||||
Locale::setLanguageFromJSON('no', __DIR__.'/config/locale/translations/no.json');
|
||||
Locale::setLanguageFromJSON('or', __DIR__.'/config/locale/translations/or.json');
|
||||
Locale::setLanguageFromJSON('pa', __DIR__.'/config/locale/translations/pa.json');
|
||||
Locale::setLanguageFromJSON('pl', __DIR__.'/config/locale/translations/pl.json');
|
||||
Locale::setLanguageFromJSON('pt-br', __DIR__.'/config/locale/translations/pt-br.json');
|
||||
Locale::setLanguageFromJSON('pt-pt', __DIR__.'/config/locale/translations/pt-pt.json');
|
||||
Locale::setLanguageFromJSON('ro', __DIR__.'/config/locale/translations/ro.json');
|
||||
Locale::setLanguageFromJSON('ru', __DIR__ . '/config/locale/translations/ru.json');
|
||||
Locale::setLanguageFromJSON('si', __DIR__ . '/config/locale/translations/si.json');
|
||||
Locale::setLanguageFromJSON('sl', __DIR__ . '/config/locale/translations/sl.json');
|
||||
Locale::setLanguageFromJSON('sq', __DIR__ . '/config/locale/translations/sq.json');
|
||||
Locale::setLanguageFromJSON('sv', __DIR__ . '/config/locale/translations/sv.json');
|
||||
Locale::setLanguageFromJSON('ta', __DIR__ . '/config/locale/translations/ta.json');
|
||||
Locale::setLanguageFromJSON('th', __DIR__.'/config/locale/translations/th.json');
|
||||
Locale::setLanguageFromJSON('tl', __DIR__.'/config/locale/translations/tl.json');
|
||||
Locale::setLanguageFromJSON('tr', __DIR__.'/config/locale/translations/tr.json');
|
||||
Locale::setLanguageFromJSON('uk', __DIR__.'/config/locale/translations/uk.json');
|
||||
Locale::setLanguageFromJSON('ur', __DIR__.'/config/locale/translations/ur.json');
|
||||
Locale::setLanguageFromJSON('vi', __DIR__.'/config/locale/translations/vi.json');
|
||||
Locale::setLanguageFromJSON('zh-cn', __DIR__.'/config/locale/translations/zh-cn.json');
|
||||
Locale::setLanguageFromJSON('zh-tw', __DIR__.'/config/locale/translations/zh-tw.json');
|
||||
|
||||
\stream_context_set_default([ // Set global user agent and http settings
|
||||
'http' => [
|
||||
|
||||
Reference in New Issue
Block a user