summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-04-01 17:56:20 -0400
committerFrederic Guillot <fred@kanboard.net>2017-04-01 17:56:20 -0400
commitcd734e5ba79b98acc42a45a16caf06812cf8095e (patch)
treefe77f58b85c721195c1d5bbefb45df4c2a27545b
parent5cc488947305eea5b9762997222c84d6007761c8 (diff)
Move Gravatar to external plugin
-rw-r--r--ChangeLog1
-rw-r--r--app/Controller/ConfigController.php3
-rw-r--r--app/Locale/bs_BA/translations.php3
-rw-r--r--app/Locale/cs_CZ/translations.php3
-rw-r--r--app/Locale/da_DK/translations.php3
-rw-r--r--app/Locale/de_DE/translations.php3
-rw-r--r--app/Locale/el_GR/translations.php3
-rw-r--r--app/Locale/es_ES/translations.php3
-rw-r--r--app/Locale/fi_FI/translations.php3
-rw-r--r--app/Locale/fr_FR/translations.php3
-rw-r--r--app/Locale/hr_HR/translations.php3
-rw-r--r--app/Locale/hu_HU/translations.php3
-rw-r--r--app/Locale/id_ID/translations.php3
-rw-r--r--app/Locale/it_IT/translations.php3
-rw-r--r--app/Locale/ja_JP/translations.php3
-rw-r--r--app/Locale/ko_KR/translations.php3
-rw-r--r--app/Locale/my_MY/translations.php3
-rw-r--r--app/Locale/nb_NO/translations.php3
-rw-r--r--app/Locale/nl_NL/translations.php3
-rw-r--r--app/Locale/pl_PL/translations.php3
-rw-r--r--app/Locale/pt_BR/translations.php3
-rw-r--r--app/Locale/pt_PT/translations.php3
-rw-r--r--app/Locale/ru_RU/translations.php3
-rw-r--r--app/Locale/sr_Latn_RS/translations.php3
-rw-r--r--app/Locale/sv_SE/translations.php3
-rw-r--r--app/Locale/th_TH/translations.php3
-rw-r--r--app/Locale/tr_TR/translations.php3
-rw-r--r--app/Locale/zh_CN/translations.php3
-rw-r--r--app/ServiceProvider/AvatarProvider.php2
-rw-r--r--app/Template/config/integrations.php15
-rw-r--r--app/User/Avatar/GravatarProvider.php42
-rw-r--r--assets/img/gravatar-icon.pngbin299 -> 0 bytes
32 files changed, 33 insertions, 108 deletions
diff --git a/ChangeLog b/ChangeLog
index cecdc690..f90e4b7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Breaking Changes:
* Move calendar to external plugin: https://github.com/kanboard/plugin-calendar
* Move Gantt charts to external plugin: https://github.com/kanboard/plugin-gantt
+* Move Gravatar to external plugin: https://github.com/kanboard/plugin-gravatar
Version 1.0.41
--------------
diff --git a/app/Controller/ConfigController.php b/app/Controller/ConfigController.php
index 6c2bc44b..2ea04b35 100644
--- a/app/Controller/ConfigController.php
+++ b/app/Controller/ConfigController.php
@@ -46,9 +46,6 @@ class ConfigController extends BaseController
'disable_private_project' => 0,
);
break;
- case 'integrations':
- $values += array('integration_gravatar' => 0);
- break;
}
if ($this->configModel->save($values)) {
diff --git a/app/Locale/bs_BA/translations.php b/app/Locale/bs_BA/translations.php
index 761f2c8b..afedcee3 100644
--- a/app/Locale/bs_BA/translations.php
+++ b/app/Locale/bs_BA/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Nemoguće dodati stopu valute.',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s je uklonio izvršioca zadatka %s',
- 'Enable Gravatar images' => 'Omogući Gravatar slike',
'Information' => 'Informacije',
'Check two factor authentication code' => 'Provjera "Dva faktora" autentifikacionog koda',
'The two factor authentication code is not valid.' => '"Dva faktora" autentifikacionog koda nije validan.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Obavještenja',
'%s moved the task #%d to the first swimlane' => '%s je premjestio zadatak #%d u prvu swimlane traku',
'Swimlane' => 'Swimlane traka',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s je premjestio zadatak %s u prvi swimlane traku',
'%s moved the task %s to the swimlane "%s"' => '%s je premjestio zadatak %s u swimlane traku "%s"',
'This report contains all subtasks information for the given date range.' => 'Ovaj izvještaj sadržava sve informacije o pod-zadacima za dati period',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/cs_CZ/translations.php b/app/Locale/cs_CZ/translations.php
index acf10d3c..401fd3cd 100644
--- a/app/Locale/cs_CZ/translations.php
+++ b/app/Locale/cs_CZ/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Nelze přidat tento směnný kurz',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s odstranil přiřazení úkolu %s ',
- 'Enable Gravatar images' => 'Aktiviere Gravatar Bilder',
'Information' => 'Informace',
'Check two factor authentication code' => 'Zkontrolujte dvouúrovňový autentifikační klíč',
'The two factor authentication code is not valid.' => 'Dvouúrovňový autentifikační klíč není platný.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Upozornění',
'%s moved the task #%d to the first swimlane' => '%s přesunul úkol #%d do první dráhy',
// 'Swimlane' => '',
- // 'Gravatar' => '',
'%s moved the task %s to the first swimlane' => '%s přesunul úkol %s do první dráhy',
'%s moved the task %s to the swimlane "%s"' => '%s přesunul úkol %s do dráhy "%s"',
'This report contains all subtasks information for the given date range.' => 'Report obsahuje všechny informace o dílčích úkolech pro daný časový úsek',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php
index 6cba57b4..f19181bb 100644
--- a/app/Locale/da_DK/translations.php
+++ b/app/Locale/da_DK/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
// 'Webhook URL' => '',
// '%s removed the assignee of the task %s' => '',
- // 'Enable Gravatar images' => '',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notifikation',
// '%s moved the task #%d to the first swimlane' => '',
'Swimlane' => 'Spor',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php
index abf32bda..c3ebb8fb 100644
--- a/app/Locale/de_DE/translations.php
+++ b/app/Locale/de_DE/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Währungskurs konnte nicht hinzugefügt werden',
'Webhook URL' => 'Webhook-URL',
'%s removed the assignee of the task %s' => '%s Zuordnung für die Aufgabe %s entfernen',
- 'Enable Gravatar images' => 'Aktiviere Gravatar-Bilder',
'Information' => 'Information',
'Check two factor authentication code' => 'Prüfe Zwei-Faktor-Authentifizierungscode',
'The two factor authentication code is not valid.' => 'Der Zwei-Faktor-Authentifizierungscode ist ungültig.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Benachrichtigungen',
'%s moved the task #%d to the first swimlane' => '%s hat die Aufgabe #%d in die erste Swimlane verschoben',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s hat die Aufgabe %s in die erste Swimlane verschoben',
'%s moved the task %s to the swimlane "%s"' => '%s hat die Aufgaben %s in die Swimlane "%s" verschoben',
'This report contains all subtasks information for the given date range.' => 'Der Bericht beinhaltet alle Teilaufgaben im gewählten Zeitraum',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/el_GR/translations.php b/app/Locale/el_GR/translations.php
index 57f5f98e..ac8b8f0e 100644
--- a/app/Locale/el_GR/translations.php
+++ b/app/Locale/el_GR/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Αδύνατο να προστεθεί αυτή η ισοτιμία.',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s αφαίρεσε τον εκδοχέα της εργασίας %s',
- 'Enable Gravatar images' => 'Ενεργοποίηση εικόνων Gravatar',
'Information' => 'Πληροφορίες',
'Check two factor authentication code' => 'Ελέγξτε δύο παράγοντες ελέγχου ταυτότητας κωδικού',
'The two factor authentication code is not valid.' => 'Ο κωδικός ελέγχου ταυτότητας δύο παραγόντων δεν είναι σωστός.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Κοινοποίηση',
'%s moved the task #%d to the first swimlane' => '%s μετέφερε την εργασία n°%d στην 1η λωρίδα',
'Swimlane' => 'Λωρίδα',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s μετέφερε την εργασία %s στην 1η λωρίδα',
'%s moved the task %s to the swimlane "%s"' => '%s μετέφερε την εργασία %s στη λωρίδα « %s »',
'This report contains all subtasks information for the given date range.' => 'Η έκθεση αυτή περιέχει όλες τις υπο-εργασίες για το συγκεκριμένο εύρος ημερομηνιών.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php
index cc8f4d09..5eb46822 100644
--- a/app/Locale/es_ES/translations.php
+++ b/app/Locale/es_ES/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'No se puede añadir este tipo de cambio.',
'Webhook URL' => 'URL del Webhook',
// '%s removed the assignee of the task %s' => '',
- 'Enable Gravatar images' => 'Activar imágenes Gravatar',
'Information' => 'Información',
'Check two factor authentication code' => 'Verificar el código de autenticación de dos factores',
'The two factor authentication code is not valid.' => 'El código de autenticación de dos factores no es válido',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
// 'Swimlane' => '',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php
index 5a942a2c..6aedc71b 100644
--- a/app/Locale/fi_FI/translations.php
+++ b/app/Locale/fi_FI/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
// 'Webhook URL' => '',
// '%s removed the assignee of the task %s' => '',
- // 'Enable Gravatar images' => '',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
// 'Swimlane' => '',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php
index 0d3fb35d..d61186e2 100644
--- a/app/Locale/fr_FR/translations.php
+++ b/app/Locale/fr_FR/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Impossible d\'ajouter ce taux de change',
'Webhook URL' => 'URL du webhook',
'%s removed the assignee of the task %s' => '%s a enlevé la personne assignée à la tâche %s',
- 'Enable Gravatar images' => 'Activer les images Gravatar',
'Information' => 'Informations',
'Check two factor authentication code' => 'Vérification du code pour l\'authentification à deux-facteurs',
'The two factor authentication code is not valid.' => 'Le code pour l\'authentification à deux-facteurs n\'est pas valide.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notification',
'%s moved the task #%d to the first swimlane' => '%s a déplacé la tâche n°%d dans la première swimlane',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s a déplacé la tâche %s dans la première swimlane',
'%s moved the task %s to the swimlane "%s"' => '%s a déplacé la tâche %s dans la swimlane « %s »',
'This report contains all subtasks information for the given date range.' => 'Ce rapport contient les informations de toutes les sous-tâches pour la période sélectionnée.',
@@ -1320,4 +1318,5 @@ return array(
'User disabled' => 'Utilisateur désactivé',
'%d notifications' => '%d notifications',
'%d notification' => '%d notification',
+ 'There is no external integration installed.' => 'Il n\'y a aucune intégration externe installée.',
);
diff --git a/app/Locale/hr_HR/translations.php b/app/Locale/hr_HR/translations.php
index 9bb7a9e4..c86b6e66 100644
--- a/app/Locale/hr_HR/translations.php
+++ b/app/Locale/hr_HR/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
// 'Webhook URL' => '',
// '%s removed the assignee of the task %s' => '',
- 'Enable Gravatar images' => 'Omogući Gravatar slike',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
// 'Swimlane' => '',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php
index 7e153029..27807bac 100644
--- a/app/Locale/hu_HU/translations.php
+++ b/app/Locale/hu_HU/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Nem sikerült az átváltási árfolyam felvétele',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s eltávolította a %s feladathoz rendelt személyt',
- 'Enable Gravatar images' => 'Gravatár képek engedélyezése',
'Information' => 'Információ',
'Check two factor authentication code' => 'Két fázisú beléptető kód ellenőrzése',
'The two factor authentication code is not valid.' => 'A két fázisú beléptető kód érvénytelen',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Értesítés',
'%s moved the task #%d to the first swimlane' => '%s a #%d feladatot az első sávba mozgatta',
'Swimlane' => 'Sáv',
- 'Gravatar' => 'Gravatár',
'%s moved the task %s to the first swimlane' => '%s a %s feladatot az első sávba mozgatta',
'%s moved the task %s to the swimlane "%s"' => '%s a %s feladatot a "%s" sávba mozgatta',
'This report contains all subtasks information for the given date range.' => 'Ez a riport az adott dátumtartományra vonatkozón az összes részfeladatot tartalmazza',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/id_ID/translations.php b/app/Locale/id_ID/translations.php
index 358e77b6..325fc083 100644
--- a/app/Locale/id_ID/translations.php
+++ b/app/Locale/id_ID/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Tidak dapat menambahkan nilai tukar mata uang',
'Webhook URL' => 'URL Webhook',
'%s removed the assignee of the task %s' => '%s menghapus penugasan dari tugas %s',
- 'Enable Gravatar images' => 'Aktifkan gambar Gravatar',
'Information' => 'Informasi',
'Check two factor authentication code' => 'Cek dua faktor kode otentifikasi',
'The two factor authentication code is not valid.' => 'Kode dua faktor kode otentifikasi tidak sesuai.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Pemberitahuan',
'%s moved the task #%d to the first swimlane' => '%s memindahkan tugas #%d ke swimlane pertama',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s memindahkan tugas %s ke swimlane pertama',
'%s moved the task %s to the swimlane "%s"' => '%s memindahkan tugas %s ke swimlane "%s"',
'This report contains all subtasks information for the given date range.' => 'Laporan ini berisi semua informasi sub-tugas untuk rentang tanggal tertentu.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php
index cbed6a8b..f422f088 100644
--- a/app/Locale/it_IT/translations.php
+++ b/app/Locale/it_IT/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Impossibile aggiungere questo tasso di cambio.',
'Webhook URL' => 'URL Webhook',
'%s removed the assignee of the task %s' => '%s rimuove l\'assegnatario del task %s',
- 'Enable Gravatar images' => 'Abilita immagini Gravatar',
'Information' => 'Informazioni',
'Check two factor authentication code' => 'Controlla il codice di autenticazione "two-factor"',
'The two factor authentication code is not valid.' => 'Il codice di autenticazione "two-factor" non è valido',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notifica',
'%s moved the task #%d to the first swimlane' => '%s ha spostato il task #%d nella prima corsia',
'Swimlane' => 'Corsia',
- // 'Gravatar' => '',
'%s moved the task %s to the first swimlane' => '%s ha spostato il task %s nella prima corsia',
'%s moved the task %s to the swimlane "%s"' => '%s ha spostato il task %s nella corsia %s',
'This report contains all subtasks information for the given date range.' => 'Questo report contiente tutte le informazioni sui sotto-task nell\'arco temporale indicato.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php
index e5084b4f..6859d48c 100644
--- a/app/Locale/ja_JP/translations.php
+++ b/app/Locale/ja_JP/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'この通貨レートを追加できません。',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s がタスク「%s」の担当を解除しました。',
- 'Enable Gravatar images' => 'Gravatar イメージを有効化',
'Information' => '情報 ',
'Check two factor authentication code' => '2 段認証をチェックする',
'The two factor authentication code is not valid.' => '2 段認証コードは無効です。',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
// 'Swimlane' => '',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/ko_KR/translations.php b/app/Locale/ko_KR/translations.php
index ef343e18..33c2b692 100644
--- a/app/Locale/ko_KR/translations.php
+++ b/app/Locale/ko_KR/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => '이 통화 환율을 추가할 수 없습니다.',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s이 할일 %s의 담당을 삭제했습니다',
- 'Enable Gravatar images' => 'Gravatar이미지를 활성화',
'Information' => '정보',
'Check two factor authentication code' => '2단 인증을 체크한다',
'The two factor authentication code is not valid.' => '2단 인증 코드는 무효입니다.',
@@ -625,7 +624,6 @@ return array(
'Notification' => '알림',
'%s moved the task #%d to the first swimlane' => '%s가 할일 #%d를 첫번째 스웜레인으로 이동시켰습니다',
'Swimlane' => '스윔레인',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s가 할일 %s를 첫번째 스웜레인으로 이동시켰습니다',
'%s moved the task %s to the swimlane "%s"' => '%s가 할일 %s를 %s 스웜레인으로 이동시켰습니다',
'This report contains all subtasks information for the given date range.' => '해당 기간의 모든 서브 할일 정보가 보고서에 포함됩니다',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/my_MY/translations.php b/app/Locale/my_MY/translations.php
index 0b11a1b3..c212674b 100644
--- a/app/Locale/my_MY/translations.php
+++ b/app/Locale/my_MY/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Tidak dapat menambahkan nilai tukar mata uang',
'Webhook URL' => 'URL webhook',
'%s removed the assignee of the task %s' => '%s menghapus penugasan dari tugas %s',
- 'Enable Gravatar images' => 'Mengaktifkan gambar Gravatar',
'Information' => 'Informasi',
'Check two factor authentication code' => 'Cek dua faktor kode otentifikasi',
'The two factor authentication code is not valid.' => 'Kode dua faktor kode otentifikasi tidak valid.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Pemberitahuan',
'%s moved the task #%d to the first swimlane' => '%s memindahkan tugas n°%d ke swimlane pertama',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s memindahkan tugas %s ke swimlane pertama',
'%s moved the task %s to the swimlane "%s"' => '%s memindahkan tugas %s ke swimlane « %s »',
'This report contains all subtasks information for the given date range.' => 'Laporan ini berisi semua informasi subtugas untuk rentang tanggal tertentu.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/nb_NO/translations.php b/app/Locale/nb_NO/translations.php
index 0e07f0a3..bc8f4b79 100644
--- a/app/Locale/nb_NO/translations.php
+++ b/app/Locale/nb_NO/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
// 'Webhook URL' => '',
// '%s removed the assignee of the task %s' => '',
- // 'Enable Gravatar images' => '',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Varsel',
// '%s moved the task #%d to the first swimlane' => '',
'Swimlane' => 'Svømmebane',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php
index 4567cb33..8776819e 100644
--- a/app/Locale/nl_NL/translations.php
+++ b/app/Locale/nl_NL/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
'Webhook URL' => 'Webhook URL',
// '%s removed the assignee of the task %s' => '',
- // 'Enable Gravatar images' => '',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s heeft de taak %s naar de eerste swimlane verplaatst',
'%s moved the task %s to the swimlane "%s"' => '%s heeft taak %s naar swimlane "%s" verplaatst',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php
index 1741987c..96d030ae 100644
--- a/app/Locale/pl_PL/translations.php
+++ b/app/Locale/pl_PL/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Nie można dodać kursu waluty',
'Webhook URL' => 'Adres webhooka',
'%s removed the assignee of the task %s' => '%s usunął osobę przypisaną do zadania %s',
- 'Enable Gravatar images' => 'Włącz Gravatar',
'Information' => 'Informacje',
'Check two factor authentication code' => 'Sprawdź kod weryfikujący',
'The two factor authentication code is not valid.' => 'Kod weryfikujący niepoprawny',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Powiadomienie',
'%s moved the task #%d to the first swimlane' => '%s przeniosł zadanie #%d na pierwszy tor',
'Swimlane' => 'Tor',
- // 'Gravatar' => '',
'%s moved the task %s to the first swimlane' => '%s przeniosł zadanie %s na pierwszy tor',
'%s moved the task %s to the swimlane "%s"' => '%s przeniosł zadanie %s na tor "%s"',
'This report contains all subtasks information for the given date range.' => 'Niniejszy raport zawiera wszystkie informacje o pod-zadaniach dla podanego zakresu dat.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php
index d19ada1e..71e5da25 100644
--- a/app/Locale/pt_BR/translations.php
+++ b/app/Locale/pt_BR/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Impossível de adicionar essa taxa de câmbio.',
'Webhook URL' => 'URL do webhook',
'%s removed the assignee of the task %s' => '%s removeu a pessoa designada para a tarefa %s',
- 'Enable Gravatar images' => 'Ativar imagens do Gravatar',
'Information' => 'Informações',
'Check two factor authentication code' => 'Verifique o código de autenticação em duas etapas',
'The two factor authentication code is not valid.' => 'O código de autenticação em duas etapas não é válido.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notificação',
'%s moved the task #%d to the first swimlane' => '%s moveu a tarefa #%d para a primeira swimlane',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s moveu a tarefa %s para a primeira swimlane',
'%s moved the task %s to the swimlane "%s"' => '%s moveu a tarefa %s para a swimlane "%s"',
'This report contains all subtasks information for the given date range.' => 'Este relatório contém informações de todas as subtarefas para o período selecionado.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/pt_PT/translations.php b/app/Locale/pt_PT/translations.php
index 06b0791d..f9aedaaa 100644
--- a/app/Locale/pt_PT/translations.php
+++ b/app/Locale/pt_PT/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Impossível adicionar essa taxa de câmbio.',
'Webhook URL' => 'URL do webhook',
'%s removed the assignee of the task %s' => '%s removeu a pessoa assignada à tarefa %s',
- 'Enable Gravatar images' => 'Activar imagem Gravatar',
'Information' => 'Informações',
'Check two factor authentication code' => 'Verificação do código de autenticação com factor duplo',
'The two factor authentication code is not valid.' => 'O código de autenticação com factor duplo não é válido',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notificação',
'%s moved the task #%d to the first swimlane' => '%s moveu a tarefa n° %d no primeiro swimlane',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s moveu a tarefa %s no primeiro swimlane',
'%s moved the task %s to the swimlane "%s"' => '%s moveu a tarefa %s no swimlane "%s"',
'This report contains all subtasks information for the given date range.' => 'Este relatório contém informações de todas as sub-tarefas para o período selecionado.',
@@ -1320,4 +1318,5 @@ return array(
'User disabled' => 'Utilizador desactivado',
'%d notifications' => '%d notificações',
'%d notification' => '%d notificação',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php
index e7f44cfa..7b34e08a 100644
--- a/app/Locale/ru_RU/translations.php
+++ b/app/Locale/ru_RU/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Невозможно добавить этот курс валюты.',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s удалить назначенную задачу %s',
- 'Enable Gravatar images' => 'Включить Gravatar изображения',
'Information' => 'Информация',
'Check two factor authentication code' => 'Проверка кода двухфакторной авторизации',
'The two factor authentication code is not valid.' => 'Код двухфакторной авторизации не валиден',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Уведомления',
'%s moved the task #%d to the first swimlane' => '%s переместил задачу #%d на первую дорожку',
'Swimlane' => 'Дорожки',
- 'Gravatar' => 'Граватар',
'%s moved the task %s to the first swimlane' => '%s переместил задачу %s на первую дорожку',
'%s moved the task %s to the swimlane "%s"' => '%s переместил задачу %s на дорожку "%s"',
'This report contains all subtasks information for the given date range.' => 'Этот отчёт содержит всю информацию подзадач в заданном диапазоне дат.',
@@ -1320,4 +1318,5 @@ return array(
'User disabled' => 'Пользователь выключен',
'%d notifications' => '%d уведомлений',
'%d notification' => '%d уведомление',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php
index 9c3de8f2..2f52a1f4 100644
--- a/app/Locale/sr_Latn_RS/translations.php
+++ b/app/Locale/sr_Latn_RS/translations.php
@@ -552,7 +552,6 @@ return array(
// 'Unable to add this currency rate.' => '',
// 'Webhook URL' => '',
// '%s removed the assignee of the task %s' => '',
- // 'Enable Gravatar images' => '',
// 'Information' => '',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
// 'Notification' => '',
// '%s moved the task #%d to the first swimlane' => '',
// 'Swimlane' => '',
- // 'Gravatar' => '',
// '%s moved the task %s to the first swimlane' => '',
// '%s moved the task %s to the swimlane "%s"' => '',
// 'This report contains all subtasks information for the given date range.' => '',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php
index 2d366c74..5a99df3d 100644
--- a/app/Locale/sv_SE/translations.php
+++ b/app/Locale/sv_SE/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Kunde inte lägga till valutakursen.',
'Webhook URL' => 'Webhook URL',
'%s removed the assignee of the task %s' => '%s ta bort tilldelningen av uppgiften %s',
- 'Enable Gravatar images' => 'Aktivera Gravatar bilder',
'Information' => 'Information',
'Check two factor authentication code' => 'Kolla tvåfaktorsverifieringskod',
'The two factor authentication code is not valid.' => 'Tvåfaktorsverifieringskoden är inte giltig.',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Notis',
'%s moved the task #%d to the first swimlane' => '%s flyttade uppgiften #%d till första swimlane',
'Swimlane' => 'Swimlane',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s flyttade uppgiften %s till första swimlane',
'%s moved the task %s to the swimlane "%s"' => '%s flyttade uppgiften %s till swimlane "%s"',
'This report contains all subtasks information for the given date range.' => 'Denna rapport innehåller all deluppgiftsinformation för det givna datumintervallet.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php
index eda6344e..a123bb50 100644
--- a/app/Locale/th_TH/translations.php
+++ b/app/Locale/th_TH/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'ไม่สามารถเพิ่มค่าเงินนี้',
// 'Webhook URL' => '',
'%s removed the assignee of the task %s' => '%s เอาผู้รับผิดชอบออกจากงาน %s',
- 'Enable Gravatar images' => 'สามารถใช้งานภาพ Gravatar',
'Information' => 'ข้อมูลสารสนเทศ',
// 'Check two factor authentication code' => '',
// 'The two factor authentication code is not valid.' => '',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'แจ้งเตือน',
'%s moved the task #%d to the first swimlane' => '%s ย้ายงาน #%d ไปสวินเลนแรก',
'Swimlane' => 'สวิมเลน',
- 'Gravatar' => 'รูปแทนตัว',
'%s moved the task %s to the first swimlane' => '%s ย้ายงาน %s ไปสวินเลนแรก',
'%s moved the task %s to the swimlane "%s"' => '%s ย้ายงาน %s ไปสวินเลนไปสวินเลน "%s"',
'This report contains all subtasks information for the given date range.' => 'รายงานนี้มีข้อมูลงานย่อยทั้งหมดในช่วงวันที่กำหนด',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php
index a235d638..3a8712eb 100644
--- a/app/Locale/tr_TR/translations.php
+++ b/app/Locale/tr_TR/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => 'Bu kur eklenemedi',
// 'Webhook URL' => '',
'%s removed the assignee of the task %s' => '%s, %s görevinin atanan bilgisini kaldırdı',
- 'Enable Gravatar images' => 'Gravatar resimlerini kullanıma aç',
'Information' => 'Bilgi',
'Check two factor authentication code' => 'Çift-Kademeli doğrulama kodunu kontrol et',
'The two factor authentication code is not valid.' => 'Çift-Kademeli doğrulama kodu geçersiz',
@@ -625,7 +624,6 @@ return array(
'Notification' => 'Uyarılar',
'%s moved the task #%d to the first swimlane' => '%s, #%d görevini birinci kulvara taşıdı',
'Swimlane' => 'Kulvar',
- 'Gravatar' => 'Gravatar',
'%s moved the task %s to the first swimlane' => '%s, %s görevini ilk kulvara taşıdı',
'%s moved the task %s to the swimlane "%s"' => '%s, %s görevini "%s" kulvarına taşıdı',
'This report contains all subtasks information for the given date range.' => 'Bu rapor belirtilen tarih aralığında tüm alt görev bilgilerini içerir.',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index 5c5d19f0..6c469f7c 100644
--- a/app/Locale/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
@@ -552,7 +552,6 @@ return array(
'Unable to add this currency rate.' => '无法添加此汇率',
'Webhook URL' => '网络钩子 URL',
'%s removed the assignee of the task %s' => '%s删除了任务%s的负责人',
- 'Enable Gravatar images' => '启用 Gravatar 图像',
'Information' => '信息',
'Check two factor authentication code' => '检查双重认证码',
'The two factor authentication code is not valid.' => '双重认证码不正确。',
@@ -625,7 +624,6 @@ return array(
'Notification' => '通知',
'%s moved the task #%d to the first swimlane' => '%s将任务#%d移动到了首个里程碑',
'Swimlane' => '里程碑',
- 'Gravatar' => 'Gravatar头像',
'%s moved the task %s to the first swimlane' => '%s将任务%s移动到了首个里程碑',
'%s moved the task %s to the swimlane "%s"' => '%s将任务%s移动到了里程碑"%s"下',
'This report contains all subtasks information for the given date range.' => '该报告包含了指定日期范围内的所有子任务信息。',
@@ -1320,4 +1318,5 @@ return array(
// 'User disabled' => '',
// '%d notifications' => '',
// '%d notification' => '',
+ // 'There is no external integration installed.' => '',
);
diff --git a/app/ServiceProvider/AvatarProvider.php b/app/ServiceProvider/AvatarProvider.php
index d17985ed..e03a047a 100644
--- a/app/ServiceProvider/AvatarProvider.php
+++ b/app/ServiceProvider/AvatarProvider.php
@@ -5,7 +5,6 @@ namespace Kanboard\ServiceProvider;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Kanboard\Core\User\Avatar\AvatarManager;
-use Kanboard\User\Avatar\GravatarProvider;
use Kanboard\User\Avatar\AvatarFileProvider;
use Kanboard\User\Avatar\LetterAvatarProvider;
@@ -28,7 +27,6 @@ class AvatarProvider implements ServiceProviderInterface
{
$container['avatarManager'] = new AvatarManager;
$container['avatarManager']->register(new LetterAvatarProvider($container));
- $container['avatarManager']->register(new GravatarProvider($container));
$container['avatarManager']->register(new AvatarFileProvider($container));
return $container;
}
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index 07a90ce2..0a3f9953 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -4,14 +4,11 @@
<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'integrations')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
- <?= $this->hook->render('template:config:integrations', array('values' => $values)) ?>
-
- <h3><img src="<?= $this->url->dir() ?>assets/img/gravatar-icon.png"/>&nbsp;<?= t('Gravatar') ?></h3>
- <div class="panel">
- <?= $this->form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
- </div>
- </div>
+ <?php $contents = $this->hook->render('template:config:integrations', array('values' => $values)) ?>
+ <?php if (empty($contents)): ?>
+ <p class="alert"><?= t('There is no external integration installed.') ?></p>
+ <?php else: ?>
+ <?= $contents ?>
+ <?php endif ?>
</form>
diff --git a/app/User/Avatar/GravatarProvider.php b/app/User/Avatar/GravatarProvider.php
deleted file mode 100644
index e066d766..00000000
--- a/app/User/Avatar/GravatarProvider.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-namespace Kanboard\User\Avatar;
-
-use Kanboard\Core\Base;
-use Kanboard\Core\User\Avatar\AvatarProviderInterface;
-
-/**
- * Gravatar Avatar Provider
- *
- * @package avatar
- * @author Frederic Guillot
- */
-class GravatarProvider extends Base implements AvatarProviderInterface
-{
- /**
- * Render avatar html
- *
- * @access public
- * @param array $user
- * @param int $size
- * @return string
- */
- public function render(array $user, $size)
- {
- $url = sprintf('https://www.gravatar.com/avatar/%s?s=%d', md5(strtolower($user['email'])), $size);
- $title = $this->helper->text->e($user['name'] ?: $user['username']);
- return '<img src="'.$url.'" alt="'.$title.'" title="'.$title.'">';
- }
-
- /**
- * Determine if the provider is active
- *
- * @access public
- * @param array $user
- * @return boolean
- */
- public function isActive(array $user)
- {
- return !empty($user['email']) && $this->configModel->get('integration_gravatar') == 1;
- }
-}
diff --git a/assets/img/gravatar-icon.png b/assets/img/gravatar-icon.png
deleted file mode 100644
index 2d1f8396..00000000
--- a/assets/img/gravatar-icon.png
+++ /dev/null
Binary files differ