Merge pull request #1120 from openclassify/vedat

move env
This commit is contained in:
Dia Shalabi 2021-07-28 10:05:58 +03:00 committed by GitHub
commit 0096dbbc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 24 additions and 127 deletions

View File

@ -64,4 +64,7 @@ ADV_WATERMARK_TYPE="text"
ADV_WATERMARK_TEXT="openclassify.com"
ADV_WATERMARK_POSITION="top-right"
ADV_WATERMARK_OPACITY=80
ADV_ENABLED_CURRENCIES='a:1:{i:0;s:3:"USD";}'
ADV_ENABLED_CURRENCIES='a:1:{i:0;s:3:"USD";}'
ENABLE_SENTRY_LARAVEL=true

View File

@ -17,7 +17,6 @@ return [
'hide_price_categories',
'tcmb_exchange_url',
'enabled_currencies',
'disable_sentry',
'hide_ad_cat',
],
],

View File

@ -430,7 +430,6 @@ return [
'default_value' => false,
]
],
'disable_sentry' => 'anomaly.field_type.boolean',
'detailed_product_options' => [
'type' => 'anomaly.field_type.boolean',
'config' => [

View File

@ -254,9 +254,6 @@ return [
'name' => 'KRY Kategorieë',
'instructions' => 'Dit verteenwoordig die kategorieë waarin die GET-eiendom geldig sal wees.'
],
'disable_sentry' => [
'name' => 'Skakel wagwag uit'
],
'watermark' => [
'name' => 'Watermerk',
'instructions' => 'Is watermerk aktief?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'فئات GET',
'instructions' => 'إنه يمثل الفئات التي ستكون فيها خاصية GET صالحة.'
],
'disable_sentry' => [
'name' => 'تعطيل الحارس'
],
'watermark' => [
'name' => 'علامة مائية',
'instructions' => 'هل العلامة المائية نشطة؟'

View File

@ -254,9 +254,6 @@ return [
'name' => 'Kateqoriyalar alın',
'instructions' => 'GET mülkiyyətinin etibarlı olacağı kateqoriyanı təmsil edir.'
],
'disable_sentry' => [
'name' => 'Nöqtəni deaktiv edin'
],
'watermark' => [
'name' => 'Filigran',
'instructions' => 'Filigran aktivdir?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'ВЗЕМЕТЕ Категории',
'instructions' => 'Той представлява категориите, в които свойството GET ще бъде валидно.'
],
'disable_sentry' => [
'name' => 'Деактивирайте Sentry'
],
'watermark' => [
'name' => 'Воден знак',
'instructions' => 'Активен ли е водният знак?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET বিভাগসমূহ',
'instructions' => 'এটি এমন বিভাগগুলিতে প্রতিনিধিত্ব করে যেখানে জিইটি সম্পত্তি বৈধ হবে।'
],
'disable_sentry' => [
'name' => 'সেন্ট্রি অক্ষম করুন'
],
'watermark' => [
'name' => 'ওয়াটারমার্ক',
'instructions' => 'জলছবি সক্রিয়?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Categories',
'instructions' => 'Representa les categories en què la propietat GET serà vàlida.'
],
'disable_sentry' => [
'name' => 'Desactiva Sentry'
],
'watermark' => [
'name' => 'Filigrana',
'instructions' => 'La filigrana està activa?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'ZÍSKEJTE kategorie',
'instructions' => 'Představuje kategorie, ve kterých bude vlastnost GET platná.'
],
'disable_sentry' => [
'name' => 'Zakázat Sentry'
],
'watermark' => [
'name' => 'Vodoznak',
'instructions' => 'Je vodoznak aktivní?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'FÅ kategorier',
'instructions' => 'Det repræsenterer de kategorier, hvor GET-ejendommen er gyldig.'
],
'disable_sentry' => [
'name' => 'Deaktiver vagtpost'
],
'watermark' => [
'name' => 'Vandmærke',
'instructions' => 'Er vandmærke aktivt?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'Kategorien abrufen',
'instructions' => 'Es stellt die Kategorien dar, in denen die GET-Eigenschaft gültig ist.'
],
'disable_sentry' => [
'name' => 'Sentry deaktivieren'
],
'watermark' => [
'name' => 'Wasserzeichen',
'instructions' => 'Ist das Wasserzeichen aktiv?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Κατηγορίες',
'instructions' => 'Αντιπροσωπεύει τις κατηγορίες στις οποίες η ιδιότητα GET θα είναι έγκυρη.'
],
'disable_sentry' => [
'name' => 'Απενεργοποιήστε το Sentry'
],
'watermark' => [
'name' => 'Στάθμη ύδατος',
'instructions' => 'Είναι ενεργό το υδατογράφημα;'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Categories',
'instructions' => 'It represents the categories in which the GET property will be valid.'
],
'disable_sentry' => [
'name' => 'Disable Sentry'
],
'watermark' => [
'name' => 'Watermark',
'instructions' => 'Is watermark active?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'OBTENER Categorías',
'instructions' => 'Representa las categorías en las que será válida la propiedad GET.'
],
'disable_sentry' => [
'name' => 'Desactivar centinela'
],
'watermark' => [
'name' => 'Filigrana',
'instructions' => '¿Está activa la marca de agua?'

View File

@ -255,9 +255,6 @@ return [
'name' => 'دسته ها را دریافت کنید',
'instructions' => 'این نشان دهنده دسته هایی است که ویژگی GET در آنها معتبر خواهد بود.'
],
'disable_sentry' => [
'name' => 'Sentry را غیرفعال کنید'
],
'watermark' => [
'name' => 'علامت',
'instructions' => 'آیا علامت علامت فعال است؟'

View File

@ -254,9 +254,6 @@ return [
'name' => 'HANKI luokkia',
'instructions' => 'Se edustaa luokkia, joissa GET-ominaisuus on voimassa.'
],
'disable_sentry' => [
'name' => 'Poista Sentry käytöstä'
],
'watermark' => [
'name' => 'Vesileima',
'instructions' => 'Onko vesileima aktiivinen?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'OBTENIR Catégories',
'instructions' => 'Il représente les catégories dans lesquelles la propriété GET sera valide.'
],
'disable_sentry' => [
'name' => 'Désactiver Sentry'
],
'watermark' => [
'name' => 'Filigrane',
'instructions' => 'Le filigrane est-il actif?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'קבל קטגוריות',
'instructions' => 'הוא מייצג את הקטגוריות בהן נכס ה- GET יהיה תקף.'
],
'disable_sentry' => [
'name' => 'השבת זקיף'
],
'watermark' => [
'name' => 'סימן מים',
'instructions' => 'האם סימן מים פעיל?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'श्रेणियाँ प्राप्त करें',
'instructions' => 'यह उन श्रेणियों का प्रतिनिधित्व करता है जिनमें GET संपत्ति मान्य होगी।'
],
'disable_sentry' => [
'name' => 'संतरी अक्षम करें'
],
'watermark' => [
'name' => 'वाटर-मार्क',
'instructions' => 'क्या वॉटरमार्क सक्रिय है?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Kategóriák',
'instructions' => 'Azokat a kategóriákat képviseli, amelyekben a GET tulajdonság érvényes lesz.'
],
'disable_sentry' => [
'name' => 'Letiltja a Sentry szolgáltatást'
],
'watermark' => [
'name' => 'Vízjel',
'instructions' => 'A vízjel aktív?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'DAPATKAN Kategori',
'instructions' => 'Ini mewakili kategori di mana properti GET akan berlaku.'
],
'disable_sentry' => [
'name' => 'Nonaktifkan Sentry'
],
'watermark' => [
'name' => 'Tanda air',
'instructions' => 'Apakah watermark aktif?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'OTTIENI Categorie',
'instructions' => 'Rappresenta le categorie in cui sarà valida la proprietà GET.'
],
'disable_sentry' => [
'name' => 'Disabilita Sentry'
],
'watermark' => [
'name' => 'Filigrana',
'instructions' => 'La filigrana è attiva?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'カテゴリを取得',
'instructions' => 'これは、GETプロパティが有効になるカテゴリを表します。'
],
'disable_sentry' => [
'name' => 'セントリーを無効にする'
],
'watermark' => [
'name' => '透かし',
'instructions' => '透かしはアクティブですか?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET 카테고리',
'instructions' => 'GET 속성이 유효한 범주를 나타냅니다.'
],
'disable_sentry' => [
'name' => '센트리 비활성화'
],
'watermark' => [
'name' => '양수표',
'instructions' => '워터 마크가 활성화되어 있습니까?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'Kategoriyan bistînin',
'instructions' => 'Ew kategoriyên ku tê de taybetmendiya GET dê derbasdar be temsîl dike.'
],
'disable_sentry' => [
'name' => 'Sentry Disable'
],
'watermark' => [
'name' => 'Watermark',
'instructions' => 'Watermark çalak e?'

View File

@ -254,9 +254,6 @@ zullen niet zichtbaar zijn en ontzegt u van het bedrijfslidmaatschap.'
'name' => 'GET Categorieën',
'instructions' => 'Het vertegenwoordigt de categorieën waarin de eigenschap GET geldig zal zijn.'
],
'disable_sentry' => [
'name' => 'Schakel Sentry uit'
],
'watermark' => [
'name' => 'Watermerk',
'instructions' => 'Is watermerk actief?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'FÅ kategorier',
'instructions' => 'Den representerer kategoriene der GET-egenskapen vil være gyldig.'
],
'disable_sentry' => [
'name' => 'Deaktiver vaktpost'
],
'watermark' => [
'name' => 'Vannmerke',
'instructions' => 'Er vannmerke aktivt?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'POBIERZ kategorie',
'instructions' => 'Reprezentuje kategorie, w których właściwość GET będzie ważna.'
],
'disable_sentry' => [
'name' => 'Wyłącz Sentry'
],
'watermark' => [
'name' => 'znak wodny',
'instructions' => 'Czy znak wodny jest aktywny?'

View File

@ -192,16 +192,16 @@ return [
'name' => 'Altura da tela da imagem',
],
'watermark_type' => [
'name' => 'Tipo de marca d\\'água',
'name' => 'Tipo de marca d\'água',
],
'watermark_text' => [
'name' => 'Texto de marca d\\'água',
'name' => 'Texto de marca d\'água',
],
'watermark_image' => [
'name' => 'Imagem de marca d\\'água',
'name' => 'Imagem de marca d\'água',
],
'watermark_position' => [
'name' => 'Posição da marca d\\'água',
'name' => 'Posição da marca d\'água',
],
'user_filter_limit' => [
'name' => 'Limite de filtro de usuário',
@ -254,9 +254,6 @@ return [
'name' => 'GET Categorias',
'instructions' => 'Representa as categorias nas quais a propriedade GET será válida.'
],
'disable_sentry' => [
'name' => 'Desativar Sentinela'
],
'watermark' => [
'name' => 'Marca d\'água',
'instructions' => 'A marca d\'água está ativa?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Categorii',
'instructions' => 'Reprezintă categoriile în care proprietatea GET va fi validă.'
],
'disable_sentry' => [
'name' => 'Dezactivați Sentinela'
],
'watermark' => [
'name' => 'Filigran',
'instructions' => 'Filigranul este activ?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'Получить Категории',
'instructions' => 'Он представляет категории, в которых будет действовать свойство GET.'
],
'disable_sentry' => [
'name' => 'Отключить Sentry'
],
'watermark' => [
'name' => 'Водяной знак',
'instructions' => 'Водяной знак активен?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Kategoritë',
'instructions' => 'Ai përfaqëson kategoritë në të cilat prona GET do të jetë e vlefshme.'
],
'disable_sentry' => [
'name' => 'Çaktivizo rojet'
],
'watermark' => [
'name' => 'Filigranë',
'instructions' => 'A është ujëra aktive?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Kategorije',
'instructions' => 'Predstavlja kategorije u kojima će GET svojstvo biti važeće.'
],
'disable_sentry' => [
'name' => 'Isključite Sentry'
],
'watermark' => [
'name' => 'Vodeni žig',
'instructions' => 'Da li je aktivan vodeni žig?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'Hämta kategorier',
'instructions' => 'Det representerar de kategorier i vilka GET-egenskapen är giltig.'
],
'disable_sentry' => [
'name' => 'Inaktivera vaktpost'
],
'watermark' => [
'name' => 'Vattenstämpel',
'instructions' => 'Är vattenstämpel aktivt?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'GET Kategorileri',
'instructions' => 'GET özelliğinin geçerli olacağı kategorileri temsil eder.'
],
'disable_sentry' => [
'name' => 'Sentry\'yi devre dışı bırak'
],
'watermark' => [
'name' => 'Filigran',
'instructions' => 'Filigran etkin mi?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'ОТРИМАТИ Категорії',
'instructions' => 'Він представляє категорії, в яких буде дійсним властивість GET.'
],
'disable_sentry' => [
'name' => 'Вимкнути Sentry'
],
'watermark' => [
'name' => 'Водяний знак',
'instructions' => 'Активний водяний знак?'

View File

@ -254,9 +254,6 @@ return [
'name' => 'زمرہ جات حاصل کریں',
'instructions' => 'یہ ان زمروں کی نمائندگی کرتا ہے جن میں جی ای ٹی پراپرٹی درست ہوگی۔'
],
'disable_sentry' => [
'name' => 'سینٹری کو غیر فعال کریں'
],
'watermark' => [
'name' => 'واٹر مارک',
'instructions' => 'کیا واٹر مارک سرگرم ہے؟'

View File

@ -254,9 +254,6 @@ return [
'name' => 'NHẬN danh mục',
'instructions' => 'Nó đại diện cho các danh mục mà thuộc tính GET sẽ hợp lệ.'
],
'disable_sentry' => [
'name' => 'Tắt Sentry'
],
'watermark' => [
'name' => 'Chữ ký ảnh',
'instructions' => 'Hình mờ có hoạt động không?'

View File

@ -254,9 +254,6 @@ return [
'name' => '获取类别',
'instructions' => '它代表GET属性将在其中有效的类别。'
],
'disable_sentry' => [
'name' => '禁用哨兵'
],
'watermark' => [
'name' => '水印',
'instructions' => '水印活跃吗?'

View File

@ -75,7 +75,7 @@ class ExceptionHandler extends Handler
if (app()->bound('sentry')
&& $this->shouldReport($e)
&& env('SENTRY_LARAVEL_DSN')) {
if (!setting_value('visiosoft.module.advs::disable_sentry')) {
if (config('sentry.enable_sentry_laravel')) {
app('sentry')->captureException($e);
}
}

View File

@ -84,7 +84,8 @@
"pusher/pusher-php-server": "^5.0",
"simplepie/simplepie": "^1.5.0",
"guzzlehttp/guzzle": "^7.3",
"visiosoft/connect-module": "^1.0"
"visiosoft/connect-module": "^1.0",
"fruitcake/laravel-cors": "^2.0"
},
"replace": {
"anomaly/streams-platform": "*"

View File

@ -213,6 +213,7 @@ return [
*/
Anomaly\Streams\Platform\StreamsServiceProvider::class,
Sentry\Laravel\ServiceProvider::class,
\Fruitcake\Cors\CorsServiceProvider::class
],

View File

@ -12,11 +12,13 @@ return [
|
*/
'supportsCredentials' => false,
'allowedOrigins' => ['*'],// ex: ['abc.com', 'api.abc.com']
'allowedHeaders' => ['*'],
'allowedMethods' => ['*'],// ex: ['GET', 'POST', 'PUT', 'DELETE']
'exposedHeaders' => [],
'maxAge' => 0,
'paths' => ['*'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => false,
'max_age' => false,
'supports_credentials' => false,
];

View File

@ -33,4 +33,5 @@ return [
'controllers_base_namespace' => env('SENTRY_CONTROLLERS_BASE_NAMESPACE', 'App\\Http\\Controllers'),
'enable_sentry_laravel' => env('ENABLE_SENTRY_LARAVEL',true),
];

View File

@ -90,7 +90,9 @@ return [
|
*/
'middleware' => [],
'middleware' => [
\Fruitcake\Cors\HandleCors::class, # this line
],
/*
|--------------------------------------------------------------------------