Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

<background-jobs>
<job>OCA\Contacts\Cron\SocialUpdateRegistration</job>
<job>OCA\Contacts\Cron\UpdateOcmProviders</job>
</background-jobs>

<settings>
Expand All @@ -67,4 +68,10 @@
<contactsmenu>
<provider>OCA\Contacts\ContactsMenu\Providers\DetailsProvider</provider>
</contactsmenu>

<commands>
<command>OCA\Contacts\Command\EnableOcmInvites</command>
<command>OCA\Contacts\Command\DisableOcmInvites</command>
<command>OCA\Contacts\Command\SetMeshProvidersService</command>
</commands>
</info>
13 changes: 13 additions & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,23 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

use OCA\Contacts\WayfProvider;
use OCA\Contacts\Service\FederatedInvitesService;

return [
'routes' => [
['name' => 'contacts#direct', 'url' => '/direct/contact/{contact}', 'verb' => 'GET'],
['name' => 'contacts#directcircle', 'url' => '/direct/circle/{singleId}', 'verb' => 'GET'],

['name' => 'federated_invites#get_invites', 'url' => '/ocm/invitations', 'verb' => 'GET'],
['name' => 'federated_invites#delete_invite', 'url' => '/ocm/invitations/{token}', 'verb' => 'DELETE'],
['name' => 'federated_invites#create_invite', 'url' => '/ocm/invitations', 'verb' => 'POST'],
['name' => 'federated_invites#invite_accepted', 'url' => '/ocm/invitations/{token}/accept', 'verb' => 'PATCH'],
['name' => 'federated_invites#resend_invite', 'url' => '/ocm/invitations/{token}/resend', 'verb' => 'PATCH'],
['name' => 'federated_invites#invite_accept_dialog', 'url' => FederatedInvitesService::OCM_INVITE_ACCEPT_DIALOG_ROUTE, 'verb' => 'GET'],
['name' => 'federated_invites#wayf', 'url' => WayfProvider::WAYF_ROUTE, 'verb' => 'GET'],
['name' => 'federated_invites#discover', 'url' => WayfProvider::DISCOVERY_ROUTE, 'verb' => 'GET'],

['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/{group}', 'verb' => 'GET', 'postfix' => 'group'],
['name' => 'page#index', 'url' => '/{group}/{contact}', 'verb' => 'GET', 'postfix' => 'group.contact'],
Expand Down
16 changes: 11 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,27 @@
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
"test:unit:dev": "phpunit -c phpunit.xml --fail-on-warning --stop-on-error --stop-on-failure",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning",
"psalm": "psalm"
"psalm": "psalm",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"require": {
"php": ">=8.1 <=8.4"
"php": ">=8.1 <=8.4",
"bamarni/composer-bin-plugin": "^1.8"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^1.0.1",
"phpunit/phpunit": "^9",
"nextcloud/coding-standard": "^1.4",
"bamarni/composer-bin-plugin": "^1.8.2"
"nextcloud/coding-standard": "^1.4"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
"forward-command": false
}
}
}
8 changes: 2 additions & 6 deletions l10n/af.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ OC.L10N.register(
"All contacts" : "Alle kontakte",
"Contacts" : "Kontakte",
"A contacts app for Nextcloud" : "’n Kontakte-toep vir Nextcloud",
"General" : "Algemeen",
"Rename" : "Hernoem",
"Delete" : "Skrap",
"Copied" : "Gekopieer",
Expand All @@ -14,18 +13,14 @@ OC.L10N.register(
"Share with users or groups" : "Deel met gebruikers of groepe",
"No users or groups" : "Geen gebruikers of groepe",
"can edit" : "kan wysig",
"Cancel" : "Kanselleer",
"Add" : "Voeg by",
"First name" : "Naam",
"Last name" : "Van",
"Display name" : "Vertoonnaam",
"Last modified" : "Laas gewysig",
"Sort by" : "Sorteer volgens",
"Save" : "Bewaar",
"Close" : "Sluit",
"Folder name" : "Vouernaam",
"Edit" : "Wysig",
"Create" : "Skep",
"Cancel" : "Kanselleer",
"Invalid image" : "Ongeldige beeld",
"Name" : "Naam",
"Title" : "Titel",
Expand All @@ -36,6 +31,7 @@ OC.L10N.register(
"None" : "Geen",
"Select option" : "Kies opsie",
"New contact" : "Nuwe kontak",
"Close" : "Sluit",
"Import" : "Voer In",
"Not grouped" : "Nie gegroepeer",
"User" : "Gebruiker",
Expand Down
8 changes: 2 additions & 6 deletions l10n/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"All contacts" : "Alle kontakte",
"Contacts" : "Kontakte",
"A contacts app for Nextcloud" : "’n Kontakte-toep vir Nextcloud",
"General" : "Algemeen",
"Rename" : "Hernoem",
"Delete" : "Skrap",
"Copied" : "Gekopieer",
Expand All @@ -12,18 +11,14 @@
"Share with users or groups" : "Deel met gebruikers of groepe",
"No users or groups" : "Geen gebruikers of groepe",
"can edit" : "kan wysig",
"Cancel" : "Kanselleer",
"Add" : "Voeg by",
"First name" : "Naam",
"Last name" : "Van",
"Display name" : "Vertoonnaam",
"Last modified" : "Laas gewysig",
"Sort by" : "Sorteer volgens",
"Save" : "Bewaar",
"Close" : "Sluit",
"Folder name" : "Vouernaam",
"Edit" : "Wysig",
"Create" : "Skep",
"Cancel" : "Kanselleer",
"Invalid image" : "Ongeldige beeld",
"Name" : "Naam",
"Title" : "Titel",
Expand All @@ -34,6 +29,7 @@
"None" : "Geen",
"Select option" : "Kies opsie",
"New contact" : "Nuwe kontak",
"Close" : "Sluit",
"Import" : "Voer In",
"Not grouped" : "Nie gegroepeer",
"User" : "Gebruiker",
Expand Down
14 changes: 5 additions & 9 deletions l10n/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ OC.L10N.register(
"Leave team" : "مغادرة الفريق",
"Delete team" : "حذف الفريق",
"Contacts settings" : "إعدادات جهات الاتصال",
"General settings" : "الإعدادات العامة",
"Update avatars from social media" : "تحديث الصورة الرمزية من وسائط التواصل الاجتماعي",
"(refreshed once per week)" : "(يتم تحديثه مرةً في الأسبوع)",
"Address books" : "دفاتر العناوين",
"Rename" : "تعديل الإسم",
"Export" : "تصدير",
Expand Down Expand Up @@ -74,15 +76,14 @@ OC.L10N.register(
"Importing is disabled because there are no address books available" : "تمّ إيقاف الاستيراد لعدم وجود دفتر عناوين متاح",
"An error occurred, unable to create the address book" : "حدث خطأ؛ تعذّر إنشاء دفتر العناوين",
"Add new address book" : "أضف دفتر عناوين جديد",
"Cancel" : "إلغاء",
"Add" : "أضف",
"First name" : "الإسم",
"Last name" : "اللقب",
"Phonetic first name" : "الاسم الأول نُطقاً",
"Phonetic last name" : "الاسم الأخير نُطقاً",
"Display name" : "اسم العرض",
"Last modified" : "آخر تعديل",
"Sort by" : "الترتيب بحسب",
"Sort by {sorting}" : "الترتيب بحسب {sorting}",
"Manages" : "يُدير",
"Oversees" : "يُشرف على",
"An error happened during the config change" : "حدث خطأ أثناء تعديل التهيئة",
Expand All @@ -91,15 +92,12 @@ OC.L10N.register(
"Save" : "حفظ",
"Change unique password" : "تغيير كلمة المرور الفريدة",
"Failed to save password. Please try again later." : "تعذّر حفظ كلمة المرور. رجاءً، حاول مرة أخرى لاحقاً.",
"Close" : "إغلاق",
"There is no description for this team" : "لا يوجد وصف لهذا الفريق",
"Enter a description for the team" : "أدخِل وصف الفريق",
"Conversation name" : "اسم المحادثة",
"Calendar" : "التقويم",
"Team name" : "اسم الفريق",
"Edit" : "تعديل",
"Cancel" : "إلغاء",
"Request to join" : "طلب انضمام",
"Create" : "إنشاء",
"Your request to join this team is pending approval" : "طلبك الانضمام إلى هذا الفريق في انتظار الموافقة",
"You are not a member of {circle}" : "أنت لست عضواً في {circle}",
"Members" : "الأعضاء",
Expand Down Expand Up @@ -197,6 +195,7 @@ OC.L10N.register(
"_{success} contact added to {name}_::_{success} contacts added to {name}_" : ["{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهة الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}"],
"_Adding {success} contact to {name}_::_Adding {success} contacts to {name}_" : ["جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهة اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}"],
"_{count} error_::_{count} errors_" : ["{count} أخطاء","{count} خطأ","{count} أخطاء","{count} أخطاء","{count} أخطاء","{count} أخطاء"],
"Close" : "إغلاق",
"_Importing %n contact into {addressbook}_::_Importing %n contacts into {addressbook}_" : ["جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهة اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}"],
"_Done importing %n contact into {addressbook}_::_Done importing %n contacts into {addressbook}_" : ["تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %n جهة اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %n جهات اتصال إلى {addressbook}"],
"No data for this contact" : "لا توجد أي بيانات حول جهة الاتصال هذه",
Expand Down Expand Up @@ -306,10 +305,7 @@ OC.L10N.register(
"Unable to delete contact" : "تعذّر حذف جهة الاتصال",
"Loading contacts …" : "تحميل جهات الاتصال ...",
"Loading …" : "يتم التحميل…",
"General settings" : "الإعدادات العامة",
"(refreshed once per week)" : "(يتم تحديثه مرةً في الأسبوع)",
"{addressbookname} (Disabled)" : "{addressbookname} (معطل)",
"Sort by {sorting}" : "الترتيب بحسب {sorting}",
"Unique password …" : "كلمة سر مُتفرّدة ...",
"Search contacts …" : "البحث عن جهات الاتصال",
"Loading members list …" : "تحميل قائمة الأعضاء ...",
Expand Down
14 changes: 5 additions & 9 deletions l10n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"Leave team" : "مغادرة الفريق",
"Delete team" : "حذف الفريق",
"Contacts settings" : "إعدادات جهات الاتصال",
"General settings" : "الإعدادات العامة",
"Update avatars from social media" : "تحديث الصورة الرمزية من وسائط التواصل الاجتماعي",
"(refreshed once per week)" : "(يتم تحديثه مرةً في الأسبوع)",
"Address books" : "دفاتر العناوين",
"Rename" : "تعديل الإسم",
"Export" : "تصدير",
Expand Down Expand Up @@ -72,15 +74,14 @@
"Importing is disabled because there are no address books available" : "تمّ إيقاف الاستيراد لعدم وجود دفتر عناوين متاح",
"An error occurred, unable to create the address book" : "حدث خطأ؛ تعذّر إنشاء دفتر العناوين",
"Add new address book" : "أضف دفتر عناوين جديد",
"Cancel" : "إلغاء",
"Add" : "أضف",
"First name" : "الإسم",
"Last name" : "اللقب",
"Phonetic first name" : "الاسم الأول نُطقاً",
"Phonetic last name" : "الاسم الأخير نُطقاً",
"Display name" : "اسم العرض",
"Last modified" : "آخر تعديل",
"Sort by" : "الترتيب بحسب",
"Sort by {sorting}" : "الترتيب بحسب {sorting}",
"Manages" : "يُدير",
"Oversees" : "يُشرف على",
"An error happened during the config change" : "حدث خطأ أثناء تعديل التهيئة",
Expand All @@ -89,15 +90,12 @@
"Save" : "حفظ",
"Change unique password" : "تغيير كلمة المرور الفريدة",
"Failed to save password. Please try again later." : "تعذّر حفظ كلمة المرور. رجاءً، حاول مرة أخرى لاحقاً.",
"Close" : "إغلاق",
"There is no description for this team" : "لا يوجد وصف لهذا الفريق",
"Enter a description for the team" : "أدخِل وصف الفريق",
"Conversation name" : "اسم المحادثة",
"Calendar" : "التقويم",
"Team name" : "اسم الفريق",
"Edit" : "تعديل",
"Cancel" : "إلغاء",
"Request to join" : "طلب انضمام",
"Create" : "إنشاء",
"Your request to join this team is pending approval" : "طلبك الانضمام إلى هذا الفريق في انتظار الموافقة",
"You are not a member of {circle}" : "أنت لست عضواً في {circle}",
"Members" : "الأعضاء",
Expand Down Expand Up @@ -195,6 +193,7 @@
"_{success} contact added to {name}_::_{success} contacts added to {name}_" : ["{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهة الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}","{success} أضيفت جهات الاتصال إلى {name}"],
"_Adding {success} contact to {name}_::_Adding {success} contacts to {name}_" : ["جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهة اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}","جار {success} إضافة جهات اتصال إلى {name}"],
"_{count} error_::_{count} errors_" : ["{count} أخطاء","{count} خطأ","{count} أخطاء","{count} أخطاء","{count} أخطاء","{count} أخطاء"],
"Close" : "إغلاق",
"_Importing %n contact into {addressbook}_::_Importing %n contacts into {addressbook}_" : ["جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهة اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}","جار استيراد %n جهات اتصال إلى {addressbook}"],
"_Done importing %n contact into {addressbook}_::_Done importing %n contacts into {addressbook}_" : ["تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %n جهة اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %nجهات اتصال إلى {addressbook}","تم استيراد %n جهات اتصال إلى {addressbook}"],
"No data for this contact" : "لا توجد أي بيانات حول جهة الاتصال هذه",
Expand Down Expand Up @@ -304,10 +303,7 @@
"Unable to delete contact" : "تعذّر حذف جهة الاتصال",
"Loading contacts …" : "تحميل جهات الاتصال ...",
"Loading …" : "يتم التحميل…",
"General settings" : "الإعدادات العامة",
"(refreshed once per week)" : "(يتم تحديثه مرةً في الأسبوع)",
"{addressbookname} (Disabled)" : "{addressbookname} (معطل)",
"Sort by {sorting}" : "الترتيب بحسب {sorting}",
"Unique password …" : "كلمة سر مُتفرّدة ...",
"Search contacts …" : "البحث عن جهات الاتصال",
"Loading members list …" : "تحميل قائمة الأعضاء ...",
Expand Down
7 changes: 3 additions & 4 deletions l10n/ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Leave team" : "Colar del equipu",
"Delete team" : "Desaniciar l'equipu",
"Contacts settings" : "Configuración de Contautos",
"General settings" : "Configuración xeneral",
"Address books" : "Llibretes de direiciones",
"Rename" : "Renomar",
"Export" : "Esportar",
Expand Down Expand Up @@ -44,7 +45,6 @@ OC.L10N.register(
"Unable to delete the share" : "Nun ye posible desaniciar l'elementu compartíu",
"Unable to change permissions" : "Nun ye posible camudar los permisos",
"An error occurred, unable to create the address book" : "Prodúxose un error, nun ye posible crear la llibreta de direiciones",
"Cancel" : "Encaboxar",
"Add" : "Add",
"First name" : "Nome",
"Last name" : "Apellíos",
Expand All @@ -54,12 +54,11 @@ OC.L10N.register(
"An error happened during the config change" : "Prodúxose un error demientres el cambéu de la configuración",
"Save" : "Guardar",
"Failed to save password. Please try again later." : "Nun se pue guardar la contraseña. Volvi tentalo dempués.",
"Close" : "Zarrar",
"There is no description for this team" : "Nun hai nenguna descripción pa esti equipu",
"Enter a description for the team" : "Introduz una descripción pal equipu",
"Conversation name" : "Nome de la conversación",
"Team name" : "Nome del equipu",
"Edit" : "Editar",
"Cancel" : "Encaboxar",
"Members" : "Miiembros",
"Confirm" : "Confirmar",
"Add more info" : "Amestar más información",
Expand Down Expand Up @@ -97,6 +96,7 @@ OC.L10N.register(
"Add member" : "Amestar un miembru",
"New contact" : "Contautu nuevu",
"_{count} error_::_{count} errors_" : ["{count} error","{count} errores"],
"Close" : "Zarrar",
"Unable to join the team" : "Nun ye posible xunise al equipu",
"Unable to delete the team" : "Nun ye posible desaniciar l'equipu",
"Link copied to the clipboard" : "L'enllaz copióse nel cartafueyu",
Expand Down Expand Up @@ -147,7 +147,6 @@ OC.L10N.register(
"Unable to delete contact" : "Nun ye posible desaniciar el contautu",
"Loading contacts …" : "Cargando los contautos…",
"Loading …" : "Cargando…",
"General settings" : "Configuración xeneral",
"Unique password …" : "Contraseña única…",
"Loading members list …" : "Cargando la llista de miembros…"
},
Expand Down
Loading