Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ node_modules/
!/apps/updatenotification
!/apps/theming
!/apps/twofactor_backupcodes
!/apps/user_picker
!/apps/user_status
!/apps/weather_status
!/apps/webhook_listeners
Expand Down
6 changes: 6 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ source_file = translationfiles/templates/user_ldap.pot
source_lang = en
type = PO

[o:nextcloud:p:nextcloud:r:user_picker]
file_filter = translationfiles/<lang>/user_picker.po
source_file = translationfiles/templates/user_picker.pot
source_lang = en
type = PO

[o:nextcloud:p:nextcloud:r:user_status]
file_filter = translationfiles/<lang>/user_status.po
source_file = translationfiles/templates/user_status.pot
Expand Down
2 changes: 1 addition & 1 deletion REUSE.toml

Large diffs are not rendered by default.

Empty file added apps/user_picker/.noopenapi
Empty file.
19 changes: 19 additions & 0 deletions apps/user_picker/appinfo/info.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!--
- SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<info>
<id>user_picker</id>
<name>Profile picker</name>
<summary>Profile smart picker and link preview</summary>
<description><![CDATA[This app adds the ability to search for user profiles via the smart picker and display link previews for them.]]></description>
<version>1.0.0</version>
<licence>agpl</licence>
<author mail="julien-nc@posteo.net" homepage="https://github.com/julien-nc">Julien Veyssier</author>
<namespace>UserPicker</namespace>
<category>integration</category>
<dependencies>
<nextcloud min-version="33" max-version="33"/>
</dependencies>
</info>
22 changes: 22 additions & 0 deletions apps/user_picker/composer/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
throw new RuntimeException($err);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitUserPicker::getLoader();
13 changes: 13 additions & 0 deletions apps/user_picker/composer/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"config" : {
"vendor-dir": ".",
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "UserPicker"
},
"autoload" : {
"psr-4": {
"OCA\\UserPicker\\": "../lib/"
}
}
}
18 changes: 18 additions & 0 deletions apps/user_picker/composer/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading