Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make systemtags public visible #48206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Sep 19, 2024

fix #40364

image

Of course if the tag is made invisible in the settings, it will also apply.
I'm also thinking if it would make sense to NOT show restricted tags on public
image

@skjnldsv skjnldsv added this to the Nextcloud 31 milestone Sep 19, 2024
@skjnldsv skjnldsv self-assigned this Sep 19, 2024
@skjnldsv skjnldsv requested review from susnux, artonge, a team, ArtificialOwl and sorbaugh and removed request for a team September 19, 2024 12:50
lib/private/Tags.php Outdated Show resolved Hide resolved
if (!$event instanceof LoadAdditionalScriptsEvent) {
return;
}
Util::addInitScript(Application::APP_ID, 'init');

Check failure

Code scanning / Psalm

InvalidClass Error

Class, interface or enum OCA\Systemtags\AppInfo\Application has wrong casing
@skjnldsv skjnldsv force-pushed the feat/systemtags-public branch 3 times, most recently from ba84f93 to 33403e1 Compare September 19, 2024 14:04
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
if (!$event instanceof BeforeSabrePubliclyLoadedEvent) {
return;
}
$event->getServer()->addPlugin(Server::get(SystemTagPlugin::class));

Check notice

Code scanning / Psalm

PossiblyNullReference Note

Cannot call method addPlugin on possibly null value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show tags in public shares
3 participants