Skip to content

Commit 6fb39a4

Browse files
committed
Merge remote-tracking branch 'origin/stable15' into stable15
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 parents 538cac6 + 873db2d commit 6fb39a4

8 files changed

Lines changed: 75 additions & 4 deletions

File tree

l10n/gl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ OC.L10N.register(
227227
"Creation" : "Creación",
228228
"A personal circle is a list of users known only to the owner." : "Un círculo persoal é unha lista de usuarios que só é coñecida polo propietario.",
229229
"This is the right option if you want to do recurrent sharing with the same list of local users." : "Esta é a opción indicada se quere compartir frecuentemente coa mesma lista de usuarios locais.",
230-
"A secret circle is an hidden group that can only be seen by its members or by people knowing the exact name of the circle." : "Un círculo secreto é un grupo agachado que só pode ser visto polos seus membros ou persoas que coñecen o nome exacto do círculo.",
230+
"A secret circle is an hidden group that can only be seen by its members or by people knowing the exact name of the circle." : "Un círculo secreto é un grupo agochado que só pode ser visto polos seus membros ou persoas que coñecen o nome exacto do círculo.",
231231
"Non-members won't be able to find your secret circle using the search bar." : "Quen non sexa membro non poderá atopar o seu círculo secreto usando a barra de busca.",
232232
"Joining a closed circle requires an invitation or confirmation by a moderator." : "Unirse a un círculo pechado require un convite ou confirmación por parte dun moderador.",
233233
"Anyone can find and request an invitation to the circle; but only members will see who\\'s in it and get access to it\\'s shared items." : "Calquera pode atopar e solicitar un convite ao círculo; mais só os membros verán quen está nel e acceder aos seus elementos compartidos.",

l10n/gl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
"Creation" : "Creación",
226226
"A personal circle is a list of users known only to the owner." : "Un círculo persoal é unha lista de usuarios que só é coñecida polo propietario.",
227227
"This is the right option if you want to do recurrent sharing with the same list of local users." : "Esta é a opción indicada se quere compartir frecuentemente coa mesma lista de usuarios locais.",
228-
"A secret circle is an hidden group that can only be seen by its members or by people knowing the exact name of the circle." : "Un círculo secreto é un grupo agachado que só pode ser visto polos seus membros ou persoas que coñecen o nome exacto do círculo.",
228+
"A secret circle is an hidden group that can only be seen by its members or by people knowing the exact name of the circle." : "Un círculo secreto é un grupo agochado que só pode ser visto polos seus membros ou persoas que coñecen o nome exacto do círculo.",
229229
"Non-members won't be able to find your secret circle using the search bar." : "Quen non sexa membro non poderá atopar o seu círculo secreto usando a barra de busca.",
230230
"Joining a closed circle requires an invitation or confirmation by a moderator." : "Unirse a un círculo pechado require un convite ou confirmación por parte dun moderador.",
231231
"Anyone can find and request an invitation to the circle; but only members will see who\\'s in it and get access to it\\'s shared items." : "Calquera pode atopar e solicitar un convite ao círculo; mais só os membros verán quen está nel e acceder aos seus elementos compartidos.",

l10n/ko.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ OC.L10N.register(
211211
"Email format is not valid" : "이메일 주소가 올바르지 않음",
212212
"This contact is not available" : "이 연락처를 사용할 수 없음",
213213
"Could not find share" : "공유를 찾을 수 없음",
214+
"Bring cloud-users closer together." : "클라우드 사용자를 더 가깝게 연결합니다.",
215+
"Circles allows your users to create their own groups of users/colleagues/friends.\nThose groups of users (or 'circles') can then be used by any other app for sharing purpose (files, social feed, status update, messaging, ...).\n\nDifferent type of circles can be created:\n\n- A personal circle is a list of users known only to the owner.\nThis is the right option if you want to do recurrent sharing with the same group of people.\n\n- A public circle is an open group visible to anyone willing to join.\nYour circle will be visible to everyone and everyone will be able to join the circle.\n\n- A closed circle requires invitation or confirmation by an admin.\nThis is the right circle if you are looking for privacy when sharing your files or ideas.\n\n- An Secret circle is an open group that can be protected by a password.\nUsers won't be able to find this Circle using Nextcloud search engine." : "서클을 사용하여 각 사용자들이 그룹을 직접 만들 수 있습니다.\n해당 서클은 다른 앱에서 공유 대상으로 설정할 수 있습니다(파일, 소셜 피드, 상태 업데이트, 메시징 등).\n\n다음 서클 형식을 사용할 수 있습니다:\n\n- 개인 서클은 소유자만 회원 목록을 알 수 있습니다.\n같은 사람들에게 내용을 자주 공유할 때 적합합니다.\n\n- 공개 서클은 누구나 등록할 수 있는 공개 그룹입니다.\n모든 사람이 서클을 볼 수 있으며 모든 사람이 가입할 수 있습니다.\n\n- 닫힌 서클은 관리자의 확인이나 초대장이 필요한 서클입니다.\n파일이나 아이디어를 공유할 때 프라이버시가 필요할 때 적합합니다.\n\n- 비밀 서클은 암호로 보호된 공개 그룹입니다.\nNextcloud 검색 엔진으로 이 서클을 찾을 수 없습니다.",
214216
"No files in here" : "여기에 파일 없음",
215217
"No entries found in this folder" : "이 폴더에서 항목을 찾을 수 없음",
216218
"Name" : "이름",
@@ -241,6 +243,7 @@ OC.L10N.register(
241243
"Circles you belong to" : "내가 속한 서클",
242244
"Circles you own" : "내가 소유한 서클",
243245
"No circle selected" : "서클을 선택하지 않았음",
246+
"Settings" : "설정",
244247
"Pending invitation to join this circle" : "대기 중인 서클 가입 초대장",
245248
"You have a pending request to join this circle" : "이 서클 가입 요청이 대기 중입니다",
246249
"Add a member" : "회원 추가",
@@ -261,12 +264,17 @@ OC.L10N.register(
261264
"Group Name" : "그룹 이름",
262265
"Link" : "연결",
263266
"Linked" : "연결됨",
267+
"Members limit" : "회원 제한",
268+
"Change the limit to the number of members. (0: default, -1: unlimited)" : "서클 회원 수를 제한할 수 있습니다(0: 기본값, -1: 무제한).",
264269
"Allow Federated Links" : "연합 연결 허용",
265270
"Makes the circle federated, and enables sharing between federated circles" : "서클을 연합 상태로 만들고 연합 서클 간 공유 활성화",
266271
"Accept Link Request Automatically" : "연결 요청 자동으로 수락",
267272
"Warning: Enabling this will automatically accept new link requests from other circles." : "경고: 이 설정을 사용하면 다른 서클의 연결 요청을 자동으로 수락합니다.",
268273
"Save settings" : "설정 저장",
274+
"Maximum number of members per circle" : "서클당 최대 회원 수",
275+
"Allow linking of groups" : "그룹 링크 허용",
269276
"Groups can be linked to circles." : "그룹을 서클에 연결할 수 있습니다.",
277+
"Allow federated circles" : "연합 서클 허용",
270278
"Circles from different Nextclouds can be linked together." : "다른 Nextcloud의 서클을 연결할 수 있습니다."
271279
},
272280
"nplurals=1; plural=0;");

l10n/ko.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@
209209
"Email format is not valid" : "이메일 주소가 올바르지 않음",
210210
"This contact is not available" : "이 연락처를 사용할 수 없음",
211211
"Could not find share" : "공유를 찾을 수 없음",
212+
"Bring cloud-users closer together." : "클라우드 사용자를 더 가깝게 연결합니다.",
213+
"Circles allows your users to create their own groups of users/colleagues/friends.\nThose groups of users (or 'circles') can then be used by any other app for sharing purpose (files, social feed, status update, messaging, ...).\n\nDifferent type of circles can be created:\n\n- A personal circle is a list of users known only to the owner.\nThis is the right option if you want to do recurrent sharing with the same group of people.\n\n- A public circle is an open group visible to anyone willing to join.\nYour circle will be visible to everyone and everyone will be able to join the circle.\n\n- A closed circle requires invitation or confirmation by an admin.\nThis is the right circle if you are looking for privacy when sharing your files or ideas.\n\n- An Secret circle is an open group that can be protected by a password.\nUsers won't be able to find this Circle using Nextcloud search engine." : "서클을 사용하여 각 사용자들이 그룹을 직접 만들 수 있습니다.\n해당 서클은 다른 앱에서 공유 대상으로 설정할 수 있습니다(파일, 소셜 피드, 상태 업데이트, 메시징 등).\n\n다음 서클 형식을 사용할 수 있습니다:\n\n- 개인 서클은 소유자만 회원 목록을 알 수 있습니다.\n같은 사람들에게 내용을 자주 공유할 때 적합합니다.\n\n- 공개 서클은 누구나 등록할 수 있는 공개 그룹입니다.\n모든 사람이 서클을 볼 수 있으며 모든 사람이 가입할 수 있습니다.\n\n- 닫힌 서클은 관리자의 확인이나 초대장이 필요한 서클입니다.\n파일이나 아이디어를 공유할 때 프라이버시가 필요할 때 적합합니다.\n\n- 비밀 서클은 암호로 보호된 공개 그룹입니다.\nNextcloud 검색 엔진으로 이 서클을 찾을 수 없습니다.",
212214
"No files in here" : "여기에 파일 없음",
213215
"No entries found in this folder" : "이 폴더에서 항목을 찾을 수 없음",
214216
"Name" : "이름",
@@ -239,6 +241,7 @@
239241
"Circles you belong to" : "내가 속한 서클",
240242
"Circles you own" : "내가 소유한 서클",
241243
"No circle selected" : "서클을 선택하지 않았음",
244+
"Settings" : "설정",
242245
"Pending invitation to join this circle" : "대기 중인 서클 가입 초대장",
243246
"You have a pending request to join this circle" : "이 서클 가입 요청이 대기 중입니다",
244247
"Add a member" : "회원 추가",
@@ -259,12 +262,17 @@
259262
"Group Name" : "그룹 이름",
260263
"Link" : "연결",
261264
"Linked" : "연결됨",
265+
"Members limit" : "회원 제한",
266+
"Change the limit to the number of members. (0: default, -1: unlimited)" : "서클 회원 수를 제한할 수 있습니다(0: 기본값, -1: 무제한).",
262267
"Allow Federated Links" : "연합 연결 허용",
263268
"Makes the circle federated, and enables sharing between federated circles" : "서클을 연합 상태로 만들고 연합 서클 간 공유 활성화",
264269
"Accept Link Request Automatically" : "연결 요청 자동으로 수락",
265270
"Warning: Enabling this will automatically accept new link requests from other circles." : "경고: 이 설정을 사용하면 다른 서클의 연결 요청을 자동으로 수락합니다.",
266271
"Save settings" : "설정 저장",
272+
"Maximum number of members per circle" : "서클당 최대 회원 수",
273+
"Allow linking of groups" : "그룹 링크 허용",
267274
"Groups can be linked to circles." : "그룹을 서클에 연결할 수 있습니다.",
275+
"Allow federated circles" : "연합 서클 허용",
268276
"Circles from different Nextclouds can be linked together." : "다른 Nextcloud의 서클을 연결할 수 있습니다."
269277
},"pluralForm" :"nplurals=1; plural=0;"
270278
}

l10n/lt_LT.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ OC.L10N.register(
8181
"{member} accepted the invitation to join {circle}" : "{member} priėmė pakvietimą prisijungti prie {circle}",
8282
"You added {member} as member to {circle}" : "Jūs pridėjote {member} kaip narį į {circle}",
8383
"You have been added as member to {circle} by {author}" : "{author} pridėjo jus kaip narį į {circle}",
84+
"You added {external} to {circle}" : "Jūs pridėjote {external} į {circle}",
85+
"{external} has been added to {circle} by {author}" : "{author} pridėjo {external} į {circle}",
8486
"You left {circle}" : "Jūs išėjote iš {circle}",
8587
"{member} left {circle}" : "{member} išėjo iš {circle}",
8688
"You declined the invitation to join {circle}" : "Jūs atmetėte pakvietimą prisijungti prie {circle}",
@@ -93,6 +95,8 @@ OC.L10N.register(
9395
"You invited {member} to join {circle}" : "Jūs pakvietėte {member} prisijungti prie {circle}",
9496
"You have been invited to join {circle} by {author}" : "{author} pakvietė jus prisijungti prie {circle}",
9597
"{member} has been invited to join {circle} by {author}" : "{author} pakvietė {member} prisijungti prie {circle}",
98+
"You sent a request to join {circle}" : "Jūs išsiuntėte užklausą prisijungti prie {circle}",
99+
"{member} sent a request to join {circle}" : "{member} išsiuntė užklausą prisijungti prie {circle}",
96100
"You are the new owner of {circle}" : "Jūs esate rato {circle} savininkas",
97101
"{member} is the new owner of {circle}" : "{member} yra naujas rato {circle} savininkas",
98102
"%s shared »%s« with you." : "%s pradėjo bendrinti »%s« su jumis.",
@@ -117,6 +121,7 @@ OC.L10N.register(
117121
"You cannot create this type of circle" : "Jūs negalite sukurti šio tipo ratą",
118122
"You cannot display this type of circle" : "Jūs negalite rodyti šio tipo ratą",
119123
"This member is not the owner of the circle" : "Šis narys nėra rato savininkas",
124+
"This member is not an admin of the circle" : "Šis narys nėra rato administratorius",
120125
"Federated link does not have a valid format" : "Federacinė nuoroda nėra tinkamo formato",
121126
"Federated circles are not allowed on the remote Nextcloud" : "Federaciniai ratai nėra leidžiami nuotoliniame Nextcloud",
122127
"This link exists already" : "Ši nuoroda jau yra",
@@ -125,6 +130,7 @@ OC.L10N.register(
125130
"This group is already linked to the circle" : "Ši grupė jau yra susieta su ratu",
126131
"Group cannot be set as owner of a circle" : "Grupė negali būti nustatyta kaip rato savininkė",
127132
"This user does not exist" : "Šio naudotojo nėra",
133+
"Email format is not valid" : "Neteisingas el. pašto formatas",
128134
"This contact is not available" : "Šis adresatas yra neprieinamas",
129135
"Could not find share" : "Nepavyko rasti viešinio",
130136
"No files in here" : "Čia failų nėra",
@@ -155,6 +161,7 @@ OC.L10N.register(
155161
"Status" : "Būsena",
156162
"Group Name" : "Grupės pavadinimas",
157163
"Save settings" : "Įrašyti nustatymus",
164+
"Maximum number of members per circle" : "Didžiausias narių skaičius viename rate",
158165
"Allow linking of groups" : "Leisti grupių susiejimą",
159166
"Groups can be linked to circles." : "Grupės gali būti susietos su ratais.",
160167
"Allow federated circles" : "Leisti federacinius ratus",

l10n/lt_LT.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
"{member} accepted the invitation to join {circle}" : "{member} priėmė pakvietimą prisijungti prie {circle}",
8080
"You added {member} as member to {circle}" : "Jūs pridėjote {member} kaip narį į {circle}",
8181
"You have been added as member to {circle} by {author}" : "{author} pridėjo jus kaip narį į {circle}",
82+
"You added {external} to {circle}" : "Jūs pridėjote {external} į {circle}",
83+
"{external} has been added to {circle} by {author}" : "{author} pridėjo {external} į {circle}",
8284
"You left {circle}" : "Jūs išėjote iš {circle}",
8385
"{member} left {circle}" : "{member} išėjo iš {circle}",
8486
"You declined the invitation to join {circle}" : "Jūs atmetėte pakvietimą prisijungti prie {circle}",
@@ -91,6 +93,8 @@
9193
"You invited {member} to join {circle}" : "Jūs pakvietėte {member} prisijungti prie {circle}",
9294
"You have been invited to join {circle} by {author}" : "{author} pakvietė jus prisijungti prie {circle}",
9395
"{member} has been invited to join {circle} by {author}" : "{author} pakvietė {member} prisijungti prie {circle}",
96+
"You sent a request to join {circle}" : "Jūs išsiuntėte užklausą prisijungti prie {circle}",
97+
"{member} sent a request to join {circle}" : "{member} išsiuntė užklausą prisijungti prie {circle}",
9498
"You are the new owner of {circle}" : "Jūs esate rato {circle} savininkas",
9599
"{member} is the new owner of {circle}" : "{member} yra naujas rato {circle} savininkas",
96100
"%s shared »%s« with you." : "%s pradėjo bendrinti »%s« su jumis.",
@@ -115,6 +119,7 @@
115119
"You cannot create this type of circle" : "Jūs negalite sukurti šio tipo ratą",
116120
"You cannot display this type of circle" : "Jūs negalite rodyti šio tipo ratą",
117121
"This member is not the owner of the circle" : "Šis narys nėra rato savininkas",
122+
"This member is not an admin of the circle" : "Šis narys nėra rato administratorius",
118123
"Federated link does not have a valid format" : "Federacinė nuoroda nėra tinkamo formato",
119124
"Federated circles are not allowed on the remote Nextcloud" : "Federaciniai ratai nėra leidžiami nuotoliniame Nextcloud",
120125
"This link exists already" : "Ši nuoroda jau yra",
@@ -123,6 +128,7 @@
123128
"This group is already linked to the circle" : "Ši grupė jau yra susieta su ratu",
124129
"Group cannot be set as owner of a circle" : "Grupė negali būti nustatyta kaip rato savininkė",
125130
"This user does not exist" : "Šio naudotojo nėra",
131+
"Email format is not valid" : "Neteisingas el. pašto formatas",
126132
"This contact is not available" : "Šis adresatas yra neprieinamas",
127133
"Could not find share" : "Nepavyko rasti viešinio",
128134
"No files in here" : "Čia failų nėra",
@@ -153,6 +159,7 @@
153159
"Status" : "Būsena",
154160
"Group Name" : "Grupės pavadinimas",
155161
"Save settings" : "Įrašyti nustatymus",
162+
"Maximum number of members per circle" : "Didžiausias narių skaičius viename rate",
156163
"Allow linking of groups" : "Leisti grupių susiejimą",
157164
"Groups can be linked to circles." : "Grupės gali būti susietos su ratais.",
158165
"Allow federated circles" : "Leisti federacinius ratus",

lib/Controller/MembersController.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
namespace OCA\Circles\Controller;
2828

2929
use OCA\Circles\Model\Member;
30+
use OCA\Circles\Model\SearchResult;
3031
use OCA\Circles\Service\MiscService;
3132
use OCP\AppFramework\Http\DataResponse;
3233

@@ -173,6 +174,16 @@ public function searchGlobal($search) {
173174
);
174175
}
175176

177+
if ($this->configService->getAppValue('shareapi_allow_share_dialog_user_enumeration') !== 'yes') {
178+
$result = array_filter(
179+
$result,
180+
function($data, $k) use ($search) {
181+
/** @var SearchResult $data */
182+
return $data->getIdent() === $search;
183+
}, ARRAY_FILTER_USE_BOTH
184+
);
185+
}
186+
176187
return $this->success(['search' => $search, 'result' => $result]);
177188
}
178189

0 commit comments

Comments
 (0)