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: add Whatsapp and Bluesky #87

Merged
merged 5 commits into from
Feb 3, 2025
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/appstore-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter']
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter', 'socialsharing_whatsapp', 'socialsharing_bluesky']

# Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-info-xml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter' ]
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter', 'socialsharing_whatsapp', 'socialsharing_bluesky' ]


name: info.xml lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter' ]
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter', 'socialsharing_whatsapp', 'socialsharing_bluesky' ]


name: php-cs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
php-versions: ${{fromJson(needs.matrix.outputs.php-versions)}}
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter' ]
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter', 'socialsharing_whatsapp', 'socialsharing_bluesky' ]


name: php-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter' ]
APP_NAME: [ 'socialsharing_diaspora', 'socialsharing_email', 'socialsharing_facebook', 'socialsharing_telegram', 'socialsharing_twitter', 'socialsharing_whatsapp', 'socialsharing_bluesky' ]


name: static-psalm-analysis
Expand Down
6 changes: 6 additions & 0 deletions LICENSES/LicenseRef-BlueskyTrademarks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Terms of Service
February 2025

Trademarks

Bluesky®, the Bluesky design logo, Bluesky®, and the Bluesky design logo are all trademarks or service marks of Bluesky Corporation or its subsidiaries. All other trademarks and service marks appearing on the Bluesky Web Services are the properties of their respective owners.
28 changes: 28 additions & 0 deletions LICENSES/LicenseRef-WhatsappTrademarks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
WhatsApp brand assets and guidelines
February 2025

Introduction

As a condition to using the WhatsApp brand assets ("WhatsApp Brand Resources"), you agree to all the guidelines and instructions below ("Guidelines").

These Guidelines clarify the ways you can and cannot use the WhatsApp Brand Resources for marketing and other purposes. These Guidelines also contain legal disclosures and a general set of questions and answers that address common inquiries and concerns.


General guidelines

Use the WhatsApp name and logos found on our WhatsApp Brand Guidelines website only, and not those found anywhere else. Make sure you check the WhatsApp Brand Resources in these Guidelines often to ensure you're using the most current version.

Do not use other trademarks, names, domain names, logos, or other content that could be confused with WhatsApp.

When you're talking about WhatsApp, always capitalize the letters "W" and "A," and never modify or abbreviate the word "WhatsApp."

Remember to display the word WhatsApp in the same font size and style as the content surrounding it, and never use any of the WhatsApp logos to replace the word WhatsApp in a sentence.


Legal

Meta dedicates substantial resources to the development and protection of its intellectual property. In addition to seeking registration of its trademarks and logos around the world, Meta enforces its rights against people who misuse its trademarks.

Meta’s trademarks are owned by Meta and may only be used as provided in these guidelines or with Meta’s permission. A list of some of Meta’s trademarks can be found under https://about.meta.com/micro_site/url/?click_creative_path[0]=click_internal-link&ums_creative_detail=%2Fbrand%2Fresources%2Ffacebookcompany%2Four-trademarks&click_from_context_menu=true&country=DE&destination=https%3A%2F%2Fabout.meta.com%2Fbrand%2Fresources%2Ffacebookcompany%2Four-trademarks%2F&event_type=click&last_nav_impression_id=1gmlA6dLzIuKGqCTO&max_percent_page_viewed=99&max_viewport_height_px=1563&max_viewport_width_px=3072&orig_http_referrer=https%3A%2F%2Fwww.google.com%2F&orig_request_uri=https%3A%2F%2Fabout.meta.com%2Fbrand%2Fresources%2Fwhatsapp%2Fwhatsapp-brand%2F&region=emea&scrolled=true&session_id=0oOOstsAUL2HmVxDY&site=brand_launchpad&extra_data[create_type]=%2Fbrand%2Fresources%2Ffacebookcompany%2Four-trademarks&extra_data[create_type_detail]=click_internal-link&extra_data[creative_detail]=%2Fbrand%2Fresources%2Ffacebookcompany%2Four-trademarks. You may not use or register, or otherwise claim rights in any Meta trademark, including as or as part of any trademark, service mark, company name, trade name, username or domain registration. You should not use or claim rights in any trademark in a way that is confusingly similar to or dilutive of Meta’s trademarks, including as, or as any part of, a trademark. Do not use Meta’s trademarks for anything that would be inconsistent with Meta’s Terms of Service or Community Standards.

We may revoke permission to use Meta’s trademarks at any time. Meta reserves the right to withhold approval of content that it considers inconsistent with the Meta brand.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ appstore:
(cd socialsharing_facebook && make appstore)
(cd socialsharing_telegram && make appstore)
(cd socialsharing_twitter && make appstore)
(cd socialsharing_whatsapp && make appstore)
(cd socialsharing_bluesky && make appstore)
12 changes: 12 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,15 @@ path = ["socialsharing_twitter/img/app.svg", "socialsharing_twitter/img/x.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 X Corp."
SPDX-License-Identifier = "LicenseRef-XTrademarks"

[[annotations]]
path = ["socialsharing_whatsapp/img/app.svg", "socialsharing_whatsapp/img/whatsapp.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 Meta"
SPDX-License-Identifier = "LicenseRef-WhatsappTrademarks"

[[annotations]]
path = ["socialsharing_bluesky/img/app.svg", "socialsharing_bluesky/img/bluesky.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 Bluesky, PBC"
SPDX-License-Identifier = "LicenseRef-BlueskyTrademarks"
18 changes: 18 additions & 0 deletions socialsharing_bluesky/.php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

require_once './vendor/autoload.php';

use Nextcloud\CodingStandard\Config;

$config = new Config();
$config
->getFinder()
->in(__DIR__ . '/lib');
return $config;
10 changes: 10 additions & 0 deletions socialsharing_bluesky/.tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com
lang_map = cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg

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

Loading