A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
chore(license): relicense artwork and move non-free media out (#3173)
Hampuse7347b582c28
diff --git a/.github/GOVERNANCE.md b/.github/GOVERNANCE.mdindex c28a2744a..f16128de0 100644--- a/.github/GOVERNANCE.md+++ b/.github/GOVERNANCE.md@@ -16,4 +16,10 @@ Every commit made by a contributor must include the [Developer Certificate of Or## Name and marks-The AGPL does not grant permission to use the Fluxer name, logo or other branding. Forks must use a distinct name and branding unless Fluxer Platform AB grants permission otherwise.+Fluxer and the Fluxer logo are trademarks of Fluxer Platform AB. Neither the AGPL nor the CC BY-SA 4.0 licence on Fluxer artwork grants trademark rights. Fluxer Platform AB grants everyone the following permissions.++- You may distribute unmodified builds of Fluxer, or builds with light patches, under the Fluxer name and logo. Light patches are changes for packaging, portability, security and bug fixes, configuration defaults and translations. Linux distributions, nixpkgs, Flathub and container images are all covered.+- A self-hosted instance running such a build may show the Fluxer name and logo under the instance's own name and domain, as long as it does not imply affiliation with or endorsement by Fluxer Platform AB.+- You may refer to Fluxer by name to describe compatibility, for example "works with Fluxer".++Forks with substantive functional changes must use their own name and logo. Any other use needs permission from Fluxer Platform AB. Contact [email protected].diff --git a/README.md b/README.mdindex 0a6743ee9..8dae3c930 100644--- a/README.md+++ b/README.md@@ -26,7 +26,7 @@Fluxer is a free and open source instant messaging and VoIP chat app built for friends, groups, and communities.<p align="center">- <img src="./fluxer_static/marketing/screenshots/desktop-readme-1920w.png" alt="Fluxer running side by side on a desktop monitor and a phone" width="640">+ <img src="https://fluxer.app/static/img/screenshots-desktop-readme-1920w.70cb6ce340007e0a.png" alt="Fluxer running side by side on a desktop monitor and a phone" width="640"></p>## Download@@ -143,14 +143,13 @@ Full setup notes, including canary, are in the [Linux repositories documentationThe source is licensed under the [AGPL-3.0-or-later](./LICENSE) license.-Fluxer branding, icons, default avatars, badge artwork, screenshots and marketing-imagery are copyright Fluxer, all rights reserved, as set out in-[fluxer_static/LICENSE](./fluxer_static/LICENSE). Third-party material keeps its own-terms, listed in+Fluxer artwork, such as the logo, icons, badges and default avatars, is+licensed under [CC BY-SA 4.0](./fluxer_static/LICENSE). Third-party material+keeps its own terms, listed in[fluxer_static/THIRD_PARTY_LICENSES.md](./fluxer_static/THIRD_PARTY_LICENSES.md).-Public availability of this repository does not grant trademark, brand, or-endorsement rights.+Use of the Fluxer name and logo is covered by the+[name and marks policy](./.github/GOVERNANCE.md#name-and-marks).[win-setup-x64]: https://pkgs.fluxer.com/desktop/stable/win32/x64/latest/setup[win-setup-arm64]: https://pkgs.fluxer.com/desktop/stable/win32/arm64/latest/setupdiff --git a/deploy/self-hosting/.env.example b/deploy/self-hosting/.env.exampleindex 9c4eabe11..b657fd7a2 100644--- a/deploy/self-hosting/.env.example+++ b/deploy/self-hosting/.env.example@@ -357,9 +357,8 @@ FLUXER_DISCOVERY_ENABLED=true#FLUXER_GIFT_ENDPOINT=#FLUXER_MEDIA_PROXY_UPLOAD_RELAY_ENDPOINT=#PUBLIC_BOOTSTRAP_API_PUBLIC_ENDPOINT=-# These follow FLUXER_STATIC_CDN_ENDPOINT first, then the public origin.+# This follows FLUXER_STATIC_CDN_ENDPOINT first, then the public origin.#FLUXER_GATEWAY_STATIC_CDN_ENDPOINT=-#FLUXER_UNFURL_STATIC_CDN_ENDPOINT=# These follow FLUXER_MEDIA_ENDPOINT first, then the public origin.#FLUXER_MEDIA_PROXY_PUBLIC_ENDPOINT=#FLUXER_GATEWAY_MEDIA_PROXY_ENDPOINT=diff --git a/deploy/self-hosting/Caddyfile b/deploy/self-hosting/Caddyfileindex b0dcbf2a6..28657aab5 100644--- a/deploy/self-hosting/Caddyfile+++ b/deploy/self-hosting/Caddyfile@@ -42,7 +42,7 @@reverse_proxy admin:8080}- @staticAssets path /web/* /emoji/* /libs/* /avatars/* /badges/* /desktop/* /embeds/*+ @staticAssets path /web/* /emoji/* /libs/* /avatars/* /badges/* /desktop/*handle @staticAssets {reverse_proxy static-proxy:8080}diff --git a/deploy/self-hosting/docker-compose.yml b/deploy/self-hosting/docker-compose.ymlindex c573bc1d7..a83021fa1 100644--- a/deploy/self-hosting/docker-compose.yml+++ b/deploy/self-hosting/docker-compose.yml@@ -845,8 +845,6 @@ services:FLUXER_SVC_MODE: shardFLUXER_SVC_SHARD_ID: "0"FLUXER_MEDIA_PROXY_ENDPOINT: http://media-proxy:8080- FLUXER_UNFURL_STATIC_CDN_ENDPOINT: ${FLUXER_UNFURL_STATIC_CDN_ENDPOINT:-}- FLUXER_STATIC_CDN_ENDPOINT: ${FLUXER_STATIC_CDN_ENDPOINT:-${FLUXER_PUBLIC_ORIGIN:-${FLUXER_PUBLIC_SCHEME:-https}://${FLUXER_DOMAIN}}}healthcheck: *fluxer-svc-healthcheckdepends_on:nats: {condition: service_healthy}diff --git a/fluxer_api/src/api/assets/github.webp b/fluxer_api/src/api/assets/github.webpdeleted file mode 100644index fbf3c79b9..000000000Binary files a/fluxer_api/src/api/assets/github.webp and /dev/null differdiff --git a/fluxer_api/src/api/assets/instatus.webp b/fluxer_api/src/api/assets/instatus.webpdeleted file mode 100644index a9704c116..000000000Binary files a/fluxer_api/src/api/assets/instatus.webp and /dev/null differdiff --git a/fluxer_api/src/api/channel/tests/AttachmentDecay.test.ts b/fluxer_api/src/api/channel/tests/AttachmentDecay.test.tsindex c11d3005c..58617bc19 100644--- a/fluxer_api/src/api/channel/tests/AttachmentDecay.test.ts+++ b/fluxer_api/src/api/channel/tests/AttachmentDecay.test.ts@@ -76,7 +76,7 @@ describe('Attachment Decay', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const {response, json} = await sendMessageWithAttachments(harness,account.token,@@ -258,7 +258,7 @@ describe('Attachment Decay', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const smallFile = loadFixture('yeah.png');- const largeFile = loadFixture('thisisfine.gif');+ const largeFile = loadFixture('animated.gif');const smallResult = await sendMessageWithAttachments(harness,account.token,diff --git a/fluxer_api/src/api/channel/tests/AttachmentUploadValidation.test.ts b/fluxer_api/src/api/channel/tests/AttachmentUploadValidation.test.tsindex 0346638f2..296dd3149 100644--- a/fluxer_api/src/api/channel/tests/AttachmentUploadValidation.test.ts+++ b/fluxer_api/src/api/channel/tests/AttachmentUploadValidation.test.ts@@ -327,17 +327,17 @@ describe('Attachment Upload Validation', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const payload = {content: 'Ordered files test',attachments: [{id: 0, filename: 'yeah.png', description: 'First file', title: 'First'},- {id: 1, filename: 'thisisfine.gif', description: 'Second file', title: 'Second'},+ {id: 1, filename: 'animated.gif', description: 'Second file', title: 'Second'},],};const {response, json} = await sendMessageWithAttachments(harness, account.token, channelId, payload, [{index: 0, filename: 'yeah.png', data: file1Data},- {index: 1, filename: 'thisisfine.gif', data: file2Data},+ {index: 1, filename: 'animated.gif', data: file2Data},]);expect(response.status).toBe(200);expect(json.attachments).toBeDefined();@@ -346,7 +346,7 @@ describe('Attachment Upload Validation', () => {expect(json.attachments![0].filename).toBe('yeah.png');expect(json.attachments![0].description).toBe('First file');expect(json.attachments![0].title).toBe('First');- expect(json.attachments![1].filename).toBe('thisisfine.gif');+ expect(json.attachments![1].filename).toBe('animated.gif');expect(json.attachments![1].description).toBe('Second file');expect(json.attachments![1].title).toBe('Second');});@@ -356,17 +356,17 @@ describe('Attachment Upload Validation', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const payload = {content: 'Sparse IDs test',attachments: [{id: 2, filename: 'yeah.png', description: 'ID is 2', title: 'Two'},- {id: 5, filename: 'thisisfine.gif', description: 'ID is 5', title: 'Five'},+ {id: 5, filename: 'animated.gif', description: 'ID is 5', title: 'Five'},],};const {response, json} = await sendMessageWithAttachments(harness, account.token, channelId, payload, [{index: 2, filename: 'yeah.png', data: file1Data},- {index: 5, filename: 'thisisfine.gif', data: file2Data},+ {index: 5, filename: 'animated.gif', data: file2Data},]);expect(response.status).toBe(200);expect(json.attachments).toBeDefined();@@ -472,7 +472,7 @@ describe('Attachment Upload Validation', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const payload = {content: 'Mixed metadata test',attachments: [@@ -485,13 +485,13 @@ describe('Attachment Upload Validation', () => {},{id: 1,- filename: 'thisisfine.gif',+ filename: 'animated.gif',},],};const {response, json} = await sendMessageWithAttachments(harness, account.token, channelId, payload, [{index: 0, filename: 'yeah.png', data: file1Data},- {index: 1, filename: 'thisisfine.gif', data: file2Data},+ {index: 1, filename: 'animated.gif', data: file2Data},]);expect(response.status).toBe(200);expect(json.attachments).toBeDefined();diff --git a/fluxer_api/src/api/channel/tests/CrosspostWorkerTestUtils.ts b/fluxer_api/src/api/channel/tests/CrosspostWorkerTestUtils.tsindex 0bb5a77b3..7d580613b 100644--- a/fluxer_api/src/api/channel/tests/CrosspostWorkerTestUtils.ts+++ b/fluxer_api/src/api/channel/tests/CrosspostWorkerTestUtils.ts@@ -76,7 +76,7 @@ export async function sendWithImage(filenames.map((filename, index) => ({index,filename,- data: loadFixture(filename.endsWith('.gif') ? 'thisisfine.gif' : 'yeah.png'),+ data: loadFixture(filename.endsWith('.gif') ? 'animated.gif' : 'yeah.png'),})),);if (response.status !== 200) {diff --git a/fluxer_api/src/api/channel/tests/EmbedAttachmentUrlResolution.test.ts b/fluxer_api/src/api/channel/tests/EmbedAttachmentUrlResolution.test.tsindex 680ac046d..62c9e5418 100644--- a/fluxer_api/src/api/channel/tests/EmbedAttachmentUrlResolution.test.ts+++ b/fluxer_api/src/api/channel/tests/EmbedAttachmentUrlResolution.test.ts@@ -86,25 +86,25 @@ describe('Embed Attachment URL Resolution', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const payload = {content: 'Both image and thumbnail',attachments: [{id: 0, filename: 'yeah.png'},- {id: 1, filename: 'thisisfine.gif'},+ {id: 1, filename: 'animated.gif'},],embeds: [{title: 'Complete Embed',description: 'This embed uses both image and thumbnail',- image: {url: 'attachment://thisisfine.gif'},+ image: {url: 'attachment://animated.gif'},thumbnail: {url: 'attachment://yeah.png'},},],};const {response, json} = await sendMessageWithAttachments(harness, account.token, channelId, payload, [{index: 0, filename: 'yeah.png', data: file1Data},- {index: 1, filename: 'thisisfine.gif', data: file2Data},+ {index: 1, filename: 'animated.gif', data: file2Data},]);expect(response.status).toBe(200);expect(json.embeds).toBeDefined();@@ -576,12 +576,12 @@ describe('Embed Attachment URL Resolution', () => {const channel = await createChannel(harness, account.token, guild.id, 'test-channel');const channelId = guild.system_channel_id ?? channel.id;const file1Data = loadFixture('yeah.png');- const file2Data = loadFixture('thisisfine.gif');+ const file2Data = loadFixture('animated.gif');const payload = {content: 'Multiple embeds with different attachments',attachments: [{id: 0, filename: 'yeah.png'},- {id: 1, filename: 'thisisfine.gif'},+ {id: 1, filename: 'animated.gif'},],embeds: [{@@ -592,19 +592,19 @@ describe('Embed Attachment URL Resolution', () => {{title: 'Second Embed',description: 'Uses GIF',- image: {url: 'attachment://thisisfine.gif'},+ image: {url: 'attachment://animated.gif'},},],};const {response, json} = await sendMessageWithAttachments(harness, account.token, channelId, payload, [{index: 0, filename: 'yeah.png', data: file1Data},- {index: 1, filename: 'thisisfine.gif', data: file2Data},+ {index: 1, filename: 'animated.gif', data: file2Data},]);expect(response.status).toBe(200);expect(json.embeds).toBeDefined();expect(json.embeds).toHaveLength(2);expect(json.embeds![0].image?.url).toContain('yeah.png');- expect(json.embeds![1].image?.url).toContain('thisisfine.gif');+ expect(json.embeds![1].image?.url).toContain('animated.gif');});it('should resolve multiple files referenced by embeds', async () => {const account = await createTestAccount(harness);diff --git a/fluxer_api/src/api/test/fixtures/animated.gif b/fluxer_api/src/api/test/fixtures/animated.gifnew file mode 100644index 000000000..048f43348Binary files /dev/null and b/fluxer_api/src/api/test/fixtures/animated.gif differdiff --git a/fluxer_api/src/api/test/fixtures/ncmec/xsd/report.xsd b/fluxer_api/src/api/test/fixtures/ncmec/xsd/report.xsddeleted file mode 100644index 0496ea312..000000000--- a/fluxer_api/src/api/test/fixtures/ncmec/xsd/report.xsd+++ /dev/null@@ -1,3154 +0,0 @@-<?xml version="1.0" encoding="UTF-8"?>-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">- <xs:annotation>- <xs:documentation>This document describes the ESP incident reporting format.</xs:documentation>- </xs:annotation>- <xs:element name="report">- <xs:annotation>- <xs:documentation>This is the main top level tag to define an incident report.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="batchedReport" minOccurs="0" type="batchedReport">- <xs:annotation>- <xs:documentation>Report represents a batch of otherwise individual reports that have been grouped for the specified reason.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="incidentSummary">- <xs:annotation>- <xs:documentation>This contains general incident information.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="internetDetails" minOccurs="0" maxOccurs="unbounded">- <xs:annotation>- <xs:documentation>This record summarizes the details of the incident being reported. There can be more than one for different incident details, but there must be at least of these for each report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="lawEnforcement" minOccurs="0">- <xs:annotation>- <xs:documentation>The law enforcement contact information related to the event. This is used if the incident information has already been reported to law enforcement or if the request originated from law enforcement.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="reporter">- <xs:annotation>- <xs:documentation>This is information related to the person or organization reporting the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="personOrUserReported" minOccurs="0" maxOccurs="unbounded">- <xs:annotation>- <xs:documentation>There can be 0 or 1 reported user or person involved in the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="intendedRecipient" minOccurs="0" maxOccurs="unbounded">- <xs:annotation>- <xs:documentation>There can be 0 or more intended recipients involved in the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="victim" minOccurs="0" maxOccurs="unbounded">- <xs:annotation>- <xs:documentation>There can be 0 or more victim records for each incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes on this incident not covered by any other section.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="incidentSummary">- <xs:complexType>- <xs:sequence>- <xs:element name="incidentType" type="incidentType">- <xs:annotation>- <xs:documentation>This field describes the type of incident being reported.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="platform" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The full application name where the reported content occurred.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="escalateToHighPriority" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Company indicated a higher level of urgency (immediate risk to child) and the reason for this escalation. Only enter text if you want to escalate the report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="reportAnnotations" minOccurs="0" type="reportAnnotations">- <xs:annotation>- <xs:documentation>Tags indicated by ESP to describe the reported incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="incidentDateTime" type="xs:dateTime">- <xs:annotation>- <xs:documentation>The date/time of the reported incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="incidentDateTimeDescription" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>This is a text field that allows you to enter any additional information related to the incidentDateTime.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:complexType name="reportAnnotations">- <xs:all>- <xs:element name="sextortion" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the report associated with sextortion?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="csamSolicitation" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the report associated with solicitation for child sexual assault material?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="minorToMinorInteraction" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the report associated with an interaction between minors?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="spam" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the report associated with spam?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="sadisticOnlineExploitation" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the report associated with sadistic online exploitation?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="informational" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>The report is associated with an incident that is informational in nature. Supplying a value will de-escalate the report.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:all>- </xs:complexType>-- <xs:element name="internetDetails">- <xs:annotation>- <xs:documentation>This record summarizes the details of the incident being reported. There can be one or more for different incident details. Each record must have one of the following subtypes.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:choice>- <xs:element ref="webPageIncident">- <xs:annotation>- <xs:documentation>The incident occurred on a web page.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="emailIncident">- <xs:annotation>- <xs:documentation>The incident occurred over Email.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="newsgroupIncident">- <xs:annotation>- <xs:documentation>The incident occurred in a newsgroup.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="chatImIncident">- <xs:annotation>- <xs:documentation>The incident occurred over IM or during a chat session.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="onlineGamingIncident">- <xs:annotation>- <xs:documentation>The incident occurred during an online game.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="cellPhoneIncident">- <xs:annotation>- <xs:documentation>This category is used when the primary method of communication between the child and/or reported person or user is through a cell phone. This can include phone conversations, text messages, or images sent through the phone.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="nonInternetIncident">- <xs:annotation>- <xs:documentation>This category of the incident does not involve an online or computer component or a cell phone (e.g., face-to-face contact or potentially illegal hard copy or printed materials).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="peer2peerIncident">- <xs:annotation>- <xs:documentation>The incident occurred via a Peer to Peer (also known as P2P) decentralized network that allows users to share files through a direct connection.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:choice>- </xs:complexType>- </xs:element>-- <xs:element name="webPageIncident">- <xs:annotation>- <xs:documentation>The incident occurred on a web page.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="url" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>This is the actual URL where the reported incident occurred. There can be as many of these as needed.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>This is a text field that allows you to enter any additional information related to the web page event.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- <xs:attribute name="thirdPartyHostedContent" type="xs:boolean">- <xs:annotation>- <xs:documentation>True if the reported URL is hosted on another company's server. The reporting company has no further information on this incident and is providing it to NCMEC for informational purposes.</xs:documentation>- </xs:annotation>- </xs:attribute>- </xs:complexType>- </xs:element>-- <xs:element name="emailIncident">- <xs:annotation>- <xs:documentation>The incident occurred over email.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="emailAddress" minOccurs="0" maxOccurs="unbounded" type="email">- <xs:annotation>- <xs:documentation>An email address associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="content" minOccurs="0" type="content">- <xs:annotation>- <xs:documentation>The headers, subject, and content of the communication.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes to add to the email event.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="newsgroupIncident">- <xs:complexType>- <xs:annotation>- <xs:documentation>The incident occurred in a newsgroup.</xs:documentation>- </xs:annotation>- <xs:sequence>- <xs:element name="name" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The newsgroup name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="emailAddress" minOccurs="0" maxOccurs="unbounded" type="email">- <xs:annotation>- <xs:documentation>An email address associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="content" minOccurs="0" type="content">- <xs:annotation>- <xs:documentation>The content of the newsgroup posting including any headers, subject.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes to add to the newsgroup event.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="chatImIncident">- <xs:annotation>- <xs:documentation>The incident occurred over IM or during a chat session.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="chatClient" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The chat or instant messenger program used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="chatRoomName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the chat room.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="content" minOccurs="0" type="content">- <xs:annotation>- <xs:documentation>The content of the chat, any chat logs.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional information related to the chat/instant messaging incident.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="onlineGamingIncident">- <xs:annotation>- <xs:documentation>The incident occurred during an online game.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="gameName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the game the incident occurred in.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="console" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the gaming console if one was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="content" minOccurs="0" type="content">- <xs:annotation>- <xs:documentation>The content of the message/chat that occurred during the game.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional information about the online gaming incident.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="cellPhoneIncident">- <xs:annotation>- <xs:documentation>This category is used when the primary method of communication between the child and/or reported person or user is through a cell phone. This can include phone conversations, text messages, or images sent through the phone.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="phoneNumber" minOccurs="0" type="phone">- <xs:annotation>- <xs:documentation>The cell phone number associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="latitude" minOccurs="0" type="latlong">- <xs:annotation>- <xs:documentation>The latitude associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="longitude" minOccurs="0" type="latlong">- <xs:annotation>- <xs:documentation>The longitude associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional information about the cell phone incident.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="nonInternetIncident">- <xs:annotation>- <xs:documentation>This category of the incident does not involve an online or computer component or a cell phone (e.g., face-to-face contact or potentially illegal hard copy or printed materials).</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="locationName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The location associated with the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="incidentAddress" minOccurs="0" maxOccurs="unbounded" type="address">- <xs:annotation>- <xs:documentation>Incident's address.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Please describe in detail the incident being reported.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="peer2peerIncident">- <xs:annotation>- <xs:documentation>The incident occurred via a Peer to Peer (also known as P2P) decentralized network that allows users to share files through a direct connection.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="client" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The Peer to Peer Client used (e.g., Phex, Emule).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" maxOccurs="unbounded" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>An IP address used by the person or user reported.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileNames" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of file(s).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional information about the cell phone incident.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="lawEnforcement">- <xs:annotation>- <xs:documentation>The law enforcement contact information related to the event. This is used if the incident information has already been reported to law enforcement or if the request originated from law enforcement.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="agencyName" type="xs:string">- <xs:annotation>- <xs:documentation>The law enforcement agency name involved.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="caseNumber" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The case number if known.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="officerContact" minOccurs="0" type="contactPerson">- <xs:annotation>- <xs:documentation>The contact information for the investigator or officer on the case.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="reportedToLe" minOccurs="0" type="reportedToLawEnforcement">- <xs:annotation>- <xs:documentation>Set this to true if the incident was reported to law enforcement by the company.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="servedLegalProcessDomestic" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Set this to true if domestic law enforcement has served legal process about this person/user or reported incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="servedLegalProcessInternational" minOccurs="0">- <xs:annotation>- <xs:documentation>Set this to true if international law enforcement has served legal process about this person/user or reported incident.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:simpleContent>- <xs:extension base="xs:boolean">- <xs:attribute name="fleaCountry" type="country">- <xs:annotation>- <xs:documentation>The name of the country associated with this report from which legal process was received.</xs:documentation>- </xs:annotation>- </xs:attribute>- </xs:extension>- </xs:simpleContent>- </xs:complexType>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="reporter">- <xs:annotation>- <xs:documentation>This is information related to the person or company reporting the incident.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="reportingPerson" type="person">- <xs:annotation>- <xs:documentation>Details of the person reporting the information and the company's address.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="contactPerson" minOccurs="0" type="contactPerson">- <xs:annotation>- <xs:documentation>Use this field if a person other than the person submitting the report should be contacted by law enforcement regarding the report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="companyTemplate" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>This open-text field allows a company to include language (not specific to the reported incident) that they want included in every CyberTipline report. For instance, basic company information, how legal process should be served, length of data retention, 24-hour emergency phone numbers, etc..</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="termsOfService" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Include Terms of Service (TOS) relevant to the incident being reported.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="legalURL" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Company can include a URL if they wish to direct attention to a web page for further information.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="personOrUserReported">- <xs:complexType>- <xs:sequence>- <xs:element name="personOrUserReportedPerson" minOccurs="0" type="person">- <xs:annotation>- <xs:documentation>The person information about the reported person or user in the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="vehicleDescription" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The description for the vehicle of the reported person.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The unique ID of the reported person or user in the ESP's system (e.g., friend ID).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espService" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the reporter's product or service that was used by the reported person or user during the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="compromisedAccount" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>This account has been compromised, hacked, or hijacked.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="screenName" minOccurs="0" type="screenName">- <xs:annotation>- <xs:documentation>The screen name of the reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="displayName" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>A display name, other than a screen name or a username, for the reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileUrl" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>The different identifying URLs for this reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileBio" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>A copy of the user's bio as per their account according to the reporting company's platform.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" maxOccurs="unbounded" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>An originating IP address used by the reported person or user and when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="deviceId" minOccurs="0" maxOccurs="unbounded" type="deviceId">- <xs:annotation>- <xs:documentation>An ID for a device used by the reported person or user and, optionally, when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="thirdPartyUserReported" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Reported person or user is using another company's service. The reporting company has no further information about this person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="priorCTReports" minOccurs="0" maxOccurs="unbounded" type="xs:long">- <xs:annotation>- <xs:documentation>List report ID numbers for any prior CyberTipline reports on this reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="groupIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The ESP believes the reported person or user is engaged in an organized online group related to child sexual exploitation. This open text field is used to provide unique group identifiers (e.g., group name, group ID, etc.).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountTemporarilyDisabled" minOccurs="0" type="accountTemporarilyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was temporarily disabled at any point.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountPermanentlyDisabled" minOccurs="0" type="accountPermanentlyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was permanently disabled.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="estimatedLocation" minOccurs="0" type="estimatedLocation">- <xs:annotation>- <xs:documentation>The reporter's estimated location for the reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="allEmailsReported" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>There are no additional emails to report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="associatedAccount" minOccurs="0" maxOccurs="unbounded" type="associatedAccount">- <xs:annotation>- <xs:documentation>Any additional account associated with this reported person or user.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes on this reported person or user not covered by any other section</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="intendedRecipient">- <xs:complexType>- <xs:sequence>- <xs:element name="intendedRecipientPerson" minOccurs="0" type="person">- <xs:annotation>- <xs:documentation>The person information about the intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The unique ID of the intended recipient in the ESP's system (e.g., friend ID).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espService" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the reporter's product or service that was used by the intended recipient during the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="compromisedAccount" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>This account has been compromised, hacked, or hijacked.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="screenName" minOccurs="0" type="screenName">- <xs:annotation>- <xs:documentation>The screen name of the intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="displayName" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>A display name, other than a screen name or a username, for the intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileUrl" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>An identifying URL for this intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileBio" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>A copy of the user's bio as per their account according to the reporting company's platform.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" maxOccurs="unbounded" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>An IP address used by the intended recipient and when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="deviceId" minOccurs="0" maxOccurs="unbounded" type="deviceId">- <xs:annotation>- <xs:documentation>An ID for a device used by the intended recipient and when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="priorCTReports" minOccurs="0" maxOccurs="unbounded" type="xs:long">- <xs:annotation>- <xs:documentation>A CyberTipline report ID for any prior CyberTipline report on this intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="groupIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The ESP believes the intended recipient is engaged in an organized online group related to child sexual exploitation. This open text field is used to provide unique group identifiers (e.g., group name, group ID, etc.).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountTemporarilyDisabled" minOccurs="0" type="accountTemporarilyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was temporarily disabled at any point.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountPermanentlyDisabled" minOccurs="0" type="accountPermanentlyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was permanently disabled.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="estimatedLocation" minOccurs="0" type="estimatedLocation">- <xs:annotation>- <xs:documentation>The reporter's estimated location for the intended recipient.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="allEmailsReported" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>There are no additional emails to report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" maxOccurs="unbounded" type="text">- <xs:annotation>- <xs:documentation>Additional information about this intended recipient not covered by any other section.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="victim">- <xs:annotation>- <xs:documentation>There can be 0 or more victim records for each incident.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="victimPerson" type="person">- <xs:annotation>- <xs:documentation>The victim's personal details such as name, address, phone numbers.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The unique ID of the victim in the ESP's system (e.g., friend ID).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espService" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the reporter's product or service that was used by the victim during the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="compromisedAccount" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>This account has been compromised, hacked, or hijacked.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="screenName" minOccurs="0" type="screenName">- <xs:annotation>- <xs:documentation>The screen name of the victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="displayName" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>A display name, other than a screen name or a username, for the victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileUrl" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>The identifying URL(s) for the victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileBio" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>A copy of the user's bio as per their account according to the reporting company's platform.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" maxOccurs="unbounded" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>An originating IP address used by the victim and when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="deviceId" minOccurs="0" maxOccurs="unbounded" type="deviceId">- <xs:annotation>- <xs:documentation>An ID for a device used by the victim and, optionally, when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="schoolName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Victim's school name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="priorCTReports" minOccurs="0" maxOccurs="unbounded" type="xs:long">- <xs:annotation>- <xs:documentation>List of report ID numbers for any prior CyberTipline reports on this victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountTemporarilyDisabled" minOccurs="0" type="accountTemporarilyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was temporarily disabled at any point.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountPermanentlyDisabled" minOccurs="0" type="accountPermanentlyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was permanently disabled.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="estimatedLocation" minOccurs="0" type="estimatedLocation">- <xs:annotation>- <xs:documentation>The reporter's estimated location for the victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="allEmailsReported" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>There are no additional emails to report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="associatedAccount" minOccurs="0" maxOccurs="unbounded" type="associatedAccount">- <xs:annotation>- <xs:documentation>Any additional account associated with this victim.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes on this victim.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="fileDetails">- <xs:annotation>- <xs:documentation>The root element of the file details.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="reportId" type="xs:long">- <xs:annotation>- <xs:documentation>The report this file is related to.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileId" type="xs:token">- <xs:annotation>- <xs:documentation>The file this report is related to.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the file being reported to NCMEC by the company.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="originalFileName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Original filename associated with the file when it was uploaded to the company's servers by the reported user or person.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="uploadedToEspTimestamp" minOccurs="0" type="xs:dateTime">- <xs:annotation>- <xs:documentation>The date and time the file was uploaded to the reporting ESP.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="locationOfFile" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The URL where reported file was originally located.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileViewedByEsp" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Has your company viewed the file being reported to NCMEC?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="exifViewedByEsp" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Has your company viewed the EXIF for the file being reported to NCMEC?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="publiclyAvailable" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Was the reported file publicly accessible to online users?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileRelevance" minOccurs="0" type="fileRelevance">- <xs:annotation>- <xs:documentation>The relevance or relation of the uploaded file to the report. Unless specified otherwise, a file is "Reported" by default.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:choice>- <xs:element name="potentialMeme" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>Is the file being shared/posted out of mimicry or other seemingly non-malicious intent?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileAnnotations" minOccurs="0" type="fileAnnotations">- <xs:annotation>- <xs:documentation>Tags indicated by ESP to describe the reported file.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:choice>- <xs:element name="industryClassification" minOccurs="0" type="fileClassification">- <xs:annotation>- <xs:documentation>This field should be used only if your company has executed the MOU to participate in the Industry Hash Sharing Platform. Only populate with Industry-created classification scale (A1, A2, B1, or B2).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="originalFileHash" minOccurs="0" maxOccurs="unbounded" type="hash">- <xs:annotation>- <xs:documentation>The original binary hash value of the file at the time it was uploaded by the reported user or person (prior to any potential modification by your company). Include required attribute hashType, specifying the type of hash submitted, e.g., MD5, SHA1, etc.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>This represents the upload IP address of the file and when it occurred.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="deviceId" minOccurs="0" maxOccurs="unbounded" type="deviceId">- <xs:annotation>- <xs:documentation>An ID for a device used to upload the file and, optionally, when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element ref="details" minOccurs="0" maxOccurs="unbounded" />- <xs:element name="additionalInfo" minOccurs="0" maxOccurs="unbounded" type="text">- <xs:annotation>- <xs:documentation>Additional information regarding the uploaded file your company wishes to report (e.g., "viral video").</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="details">- <xs:annotation>- <xs:documentation>All the file meta data name value pairs.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="nameValuePair" maxOccurs="unbounded" type="nameValue">- <xs:annotation>- <xs:documentation>The list of meta data.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- <xs:attribute name="type" type="metadataTypes">- <xs:annotation>- <xs:documentation>The type of meta data being sent.</xs:documentation>- </xs:annotation>- </xs:attribute>- </xs:complexType>- </xs:element>-- <xs:complexType name="text">- <xs:simpleContent>- <xs:extension base="xs:string">- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="content">- <xs:simpleContent>- <xs:extension base="xs:string">- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="person">- <xs:annotation>- <xs:documentation>A person record. Can be used to represent a reported person or user, victim, or reporting person.</xs:documentation>- </xs:annotation>- <xs:sequence>- <xs:element name="firstName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Person's first name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="lastName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Person's last name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="phone" minOccurs="0" maxOccurs="unbounded" type="phone">- <xs:annotation>- <xs:documentation>Phone number and type.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="email" minOccurs="0" maxOccurs="unbounded" type="email">- <xs:annotation>- <xs:documentation>Contact email address (type and if verified).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="address" minOccurs="0" maxOccurs="unbounded" type="address">- <xs:annotation>- <xs:documentation>Person's address.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="age" minOccurs="0" type="xs:int">- <xs:annotation>- <xs:documentation>Person's age.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ageAssertionDiscrepancy" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>The asserted age for the Person conflicts with the reporter's determination of the Person's age.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="dateOfBirth" minOccurs="0" type="xs:date">- <xs:annotation>- <xs:documentation>Person's date of birth.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>-- <xs:complexType name="contactPerson">- <xs:annotation>- <xs:documentation>A person record with information pertinent for contact.</xs:documentation>- </xs:annotation>- <xs:sequence>- <xs:element name="firstName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Person's first name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="lastName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Person's last name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="phone" minOccurs="0" maxOccurs="unbounded" type="phone">- <xs:annotation>- <xs:documentation>Phone number and type.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="email" minOccurs="0" maxOccurs="unbounded" type="email">- <xs:annotation>- <xs:documentation>Contact email address (type and if verified).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="address" minOccurs="0" maxOccurs="unbounded" type="address">- <xs:annotation>- <xs:documentation>Person's address.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>-- <xs:complexType name="address">- <xs:sequence>- <xs:element name="address" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Street Address.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="city" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>City.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="zipCode" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Zip or postal code.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="state" minOccurs="0" type="state">- <xs:annotation>- <xs:documentation>US State or territory.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="nonUsaState" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>If not in the United States, the state or province.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="country" minOccurs="0" type="country">- <xs:annotation>- <xs:documentation>Country name or two letter country code.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- <xs:attribute name="type" type="addressType">- <xs:annotation>- <xs:documentation>The type of address.</xs:documentation>- </xs:annotation>- </xs:attribute>- </xs:complexType>-- <xs:simpleType name="addressType">- <xs:restriction base="xs:string">- <xs:enumeration value="Home" />- <xs:enumeration value="Business" />- <xs:enumeration value="Billing" />- <xs:enumeration value="Shipping" />- <xs:enumeration value="Technical" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="email">- <xs:simpleContent>- <xs:extension base="xs:string">- <xs:attribute name="type" type="emailType" />- <xs:attribute name="verified" type="xs:boolean" />- <xs:attribute name="verificationDate" type="xs:dateTime" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:simpleType name="emailType">- <xs:restriction base="xs:string">- <xs:enumeration value="Home" />- <xs:enumeration value="Work" />- <xs:enumeration value="Business" />- <xs:enumeration value="Recovery" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="phone">- <xs:annotation>- <xs:documentation>The complex type phone contains the phone number and if available, the phone type.</xs:documentation>- </xs:annotation>- <xs:simpleContent>- <xs:extension base="xs:string">- <xs:attribute name="type" type="phoneType" />- <xs:attribute name="verified" type="xs:boolean" />- <xs:attribute name="verificationDate" type="xs:dateTime" />- <xs:attribute name="countryCallingCode" type="phoneCountryCallingCode" />- <xs:attribute name="extension" type="phoneExtension" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:simpleType name="phoneType">- <xs:restriction base="xs:string">- <xs:enumeration value="Mobile" />- <xs:enumeration value="Home" />- <xs:enumeration value="Business" />- <xs:enumeration value="Work" />- <xs:enumeration value="Fax" />- <xs:enumeration value="Internet" />- <xs:enumeration value="Recovery" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="phoneCountryCallingCode">- <xs:restriction base="xs:string">- <xs:pattern value="\+[0-9]{1,3}" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="phoneExtension">- <xs:restriction base="xs:string">- <xs:pattern value="[0-9]+" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="screenName">- <xs:simpleContent>- <xs:extension base="xs:string">- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="estimatedLocation">- <xs:sequence>- <xs:element name="city" minOccurs="0" type="xs:string" />- <xs:element name="region" minOccurs="0" type="xs:string" />- <xs:element name="countryCode" minOccurs="0" type="country" />- </xs:sequence>- <xs:attribute name="verified" type="xs:boolean" />- <xs:attribute name="timestamp" type="xs:dateTime" />- </xs:complexType>-- <xs:complexType name="batchedReport">- <xs:attribute name="reason" use="required" type="batchedReportReason" />- </xs:complexType>-- <xs:simpleType name="batchedReportReason">- <xs:restriction base="xs:string">- <xs:enumeration value="VIRAL_POTENTIAL_MEME" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="incidentType">- <xs:annotation>- <xs:documentation>This is an enumeration of all supported incident types. Originally, we only supported child pornography, but we have expanded to support child sex trafficking, child sex tourism, sexual molestation, misleading domain names, misleading worlds or images, online enticement, or unsolicited obscene material to a child.</xs:documentation>- </xs:annotation>- <xs:restriction base="xs:string">- <xs:enumeration value="Child Pornography (possession, manufacture, and distribution)" />- <xs:enumeration value="Child Sex Trafficking" />- <xs:enumeration value="Child Sex Tourism" />- <xs:enumeration value="Child Sexual Molestation"/>- <xs:enumeration value="Misleading Domain Name" />- <xs:enumeration value="Misleading Words or Digital Images on the Internet" />- <xs:enumeration value="Online Enticement of Children for Sexual Acts" />- <xs:enumeration value="Unsolicited Obscene Material Sent to a Child" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="ipCaptureEvent">- <xs:annotation>- <xs:documentation>This represents the origination IP address of an action and when it occurred.</xs:documentation>- </xs:annotation>- <xs:sequence>- <xs:element name="ipAddress" type="xs:string">- <xs:annotation>- <xs:documentation>The IP address from which the incident occurred.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="eventName" minOccurs="0" type="ipCaptureType">- <xs:annotation>- <xs:documentation>Type of IP Address reported, e.g., Login, Registration, Upload, etc.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="dateTime" minOccurs="0" type="xs:dateTime">- <xs:annotation>- <xs:documentation>The time the incident occurred and the IP address was recorded.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="possibleProxy" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>If the ESP has reason to believe this IP address is a proxy, please indicate this here.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="port" minOccurs="0" type="xs:int">- <xs:annotation>- <xs:documentation>The port number of the IP address.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>-- <xs:complexType name="deviceId">- <xs:annotation>- <xs:documentation>This represents the capture of a device ID.</xs:documentation>- </xs:annotation>- <xs:sequence>- <xs:element name="idType" type="xs:string">- <xs:annotation>- <xs:documentation>The type of device ID captured, e.g., IMEI, ICCID, SSID, etc..</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="idValue" type="xs:string">- <xs:annotation>- <xs:documentation>The value of the ID captured.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="eventName" minOccurs="0" type="ipCaptureType">- <xs:annotation>- <xs:documentation>Event during which the company recorded the device ID capture reported, e.g., Login, Registration, Upload, etc..</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="dateTime" minOccurs="0" type="xs:dateTime">- <xs:annotation>- <xs:documentation>The time the incident occurred and the device ID was recorded.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>-- <xs:simpleType name="ipCaptureType">- <xs:annotation>- <xs:documentation>This defines the type of URL. Types include login, registration, etc. The available options are enumerated in the schema.</xs:documentation>- </xs:annotation>- <xs:restriction base="xs:string">- <xs:enumeration value="Login" />- <xs:enumeration value="Registration" />- <xs:enumeration value="Purchase" />- <xs:enumeration value="Upload" />- <xs:enumeration value="Other" />- <xs:enumeration value="Unknown" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="latlong">- <xs:annotation>- <xs:documentation>The latitude or longitude is specified as a decimal number. Plus values represent north and east, negative values represents south and west.</xs:documentation>- </xs:annotation>- <xs:restriction base="xs:double" />- </xs:simpleType>-- <xs:complexType name="reportedToLawEnforcement">- <xs:simpleContent>- <xs:extension base="xs:boolean">- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="accountTemporarilyDisabled">- <xs:simpleContent>- <xs:extension base="xs:boolean">- <xs:attribute name="disabledDate" type="xs:dateTime" />- <xs:attribute name="userNotified" type="xs:boolean" />- <xs:attribute name="userNotifiedDate" type="xs:dateTime" />- <xs:attribute name="reenabledDate" type="xs:dateTime" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="accountPermanentlyDisabled">- <xs:simpleContent>- <xs:extension base="xs:boolean">- <xs:attribute name="disabledDate" type="xs:dateTime" />- <xs:attribute name="userNotified" type="xs:boolean" />- <xs:attribute name="userNotifiedDate" type="xs:dateTime" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="associatedAccount">- <xs:sequence>- <xs:element name="platform" minOccurs="0">- <xs:complexType>- <xs:simpleContent>- <xs:extension base="xs:string">- <xs:annotation>- <xs:documentation>The full application name of the associated account.</xs:documentation>- </xs:annotation>- <xs:attribute name="thirdPartyUser" type="xs:boolean" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>- </xs:element>- <xs:element name="firstName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Associated account person's first name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="middleName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Associated account person's middle name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="lastName" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>Associated account person's last name.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="approximateAge" minOccurs="0" type="xs:int">- <xs:annotation>- <xs:documentation>Associated account person's approximate age.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ageAssertionDiscrepancy" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>The asserted age for the associated account person conflicts with the reporter's determination of the associated account person's age.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="dateOfBirth" minOccurs="0" type="xs:date">- <xs:annotation>- <xs:documentation>Associated account person's date of birth.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="phone" minOccurs="0" maxOccurs="unbounded" type="phone">- <xs:annotation>- <xs:documentation>Contact phone number (type and if verified).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="email" minOccurs="0" maxOccurs="unbounded" type="email">- <xs:annotation>- <xs:documentation>Contact email address (type and if verified).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="allEmailsReported" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>There are no additional emails to report.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="address" minOccurs="0" maxOccurs="unbounded" type="address">- <xs:annotation>- <xs:documentation>Associated account's address.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espService" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the reporter's product or service that was used by the associated account during the incident.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="espIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The unique ID of the associated account in the ESP's system (e.g., friend ID).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileUrl" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>The identifying URL(s) for the associated account.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="screenName" minOccurs="0" type="screenName">- <xs:annotation>- <xs:documentation>The screen name of the associated account.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="displayName" minOccurs="0" maxOccurs="unbounded" type="xs:string">- <xs:annotation>- <xs:documentation>A display name, other than a screen name or a username, for the associated account.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="profileBio" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>A copy of the user's bio as per their account according to the associated account's platform.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="groupIdentifier" minOccurs="0" type="xs:string">- <xs:annotation>- <xs:documentation>The ESP believes the associated account is engaged in an organized online group related to child sexual exploitation. This open text field is used to provide unique group identifiers (e.g., group name, group ID, etc.).</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="compromisedAccount" minOccurs="0" type="xs:boolean">- <xs:annotation>- <xs:documentation>This account has been compromised, hacked, or hijacked.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountTemporarilyDisabled" minOccurs="0" type="accountTemporarilyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was temporarily disabled at any point.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="accountPermanentlyDisabled" minOccurs="0" type="accountPermanentlyDisabled">- <xs:annotation>- <xs:documentation>Whether the account was permanently disabled.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="ipCaptureEvent" minOccurs="0" maxOccurs="unbounded" type="ipCaptureEvent">- <xs:annotation>- <xs:documentation>An originating IP address used by the associated account and when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="deviceId" minOccurs="0" maxOccurs="unbounded" type="deviceId">- <xs:annotation>- <xs:documentation>An ID for a device used by the associated account and, optionally, when it was used.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="priorCTReport" minOccurs="0" maxOccurs="unbounded" type="xs:long">- <xs:annotation>- <xs:documentation>List of report ID numbers for any prior CyberTipline reports on this associated account.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="additionalInfo" minOccurs="0" type="text">- <xs:annotation>- <xs:documentation>Any additional notes on this associated account.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- <xs:attribute name="type" type="associatedAccountType" use="required" />- </xs:complexType>-- <xs:simpleType name="associatedAccountType">- <xs:restriction base="xs:string">- <xs:enumeration value="Billing" />- <xs:enumeration value="Linked" />- <xs:enumeration value="Business" />- <xs:enumeration value="Creator" />- <xs:enumeration value="Parent/Guardian" />- <xs:enumeration value="Other" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="fileRelevance">- <xs:restriction base="xs:string">- <xs:enumeration value="Reported" />- <xs:enumeration value="Supplemental Reported" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="fileAnnotations">- <xs:all>- <xs:element name="animeDrawingVirtualHentai" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the file depicting anime, drawing, cartoon, virtual or hentai?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="potentialMeme" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the file being shared/posted out of mimicry or other seemingly non-malicious intent?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="viral" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Is the file circulating rapidly from one user to another?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="possibleSelfProduction" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file contain content that is believed to be self- produced?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="physicalHarm" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file depict an intentional act of causing physical injury or trauma to a person?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="violenceGore" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file depict graphic violence, including but not limited to acts of brutality or detailed or vivid gruesomeness?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="bestiality" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file involve an animal(s)?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="liveStreaming" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file depicts content that was streamed live at the time it was uploaded?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="infant" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file depict an infant?</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="generativeAi" minOccurs="0" type="xs:boolean" fixed="true">- <xs:annotation>- <xs:documentation>Does the file contain content that is believed to be Generative Artificial Intelligence?</xs:documentation>- </xs:annotation>- </xs:element>- </xs:all>- </xs:complexType>-- <xs:simpleType name="fileClassification">- <xs:restriction base="xs:string">- <xs:enumeration value="A1" />- <xs:enumeration value="A2" />- <xs:enumeration value="B1" />- <xs:enumeration value="B2" />- </xs:restriction>- </xs:simpleType>-- <xs:complexType name="hash">- <xs:annotation>- <xs:documentation>The complex type hash contains a hash and hash type.</xs:documentation>- </xs:annotation>- <xs:simpleContent>- <xs:extension base="xs:string">- <xs:attribute name="hashType" use="required" type="xs:string" />- </xs:extension>- </xs:simpleContent>- </xs:complexType>-- <xs:complexType name="nameValue">- <xs:sequence>- <xs:element name="name" type="xs:string">- <xs:annotation>- <xs:documentation>The name of the meta data variable.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="value" type="xs:string">- <xs:annotation>- <xs:documentation>The value of the meta data variable.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>-- <xs:simpleType name="metadataTypes">- <xs:restriction base="xs:string">- <xs:enumeration value="EXIF" />- <xs:enumeration value="HASH" />- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="country">- <xs:annotation>- <xs:documentation>This type supports the code of countries specified in the list of ISO 3166 Country Codes.</xs:documentation>- </xs:annotation>- <xs:restriction base="xs:string">- <xs:enumeration value="" />- <xs:enumeration value="A1">- <xs:annotation>- <xs:documentation>Anonymous Proxy</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="A2">- <xs:annotation>- <xs:documentation>Satellite Provider</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="O1">- <xs:annotation>- <xs:documentation>Other Country</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AD">- <xs:annotation>- <xs:documentation>Andorra</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AE">- <xs:annotation>- <xs:documentation>United Arab Emirates</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AF">- <xs:annotation>- <xs:documentation>Afghanistan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AG">- <xs:annotation>- <xs:documentation>Antigua and Barbuda</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AI">- <xs:annotation>- <xs:documentation>Anguilla</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AL">- <xs:annotation>- <xs:documentation>Albania</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AM">- <xs:annotation>- <xs:documentation>Armenia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AN">- <xs:annotation>- <xs:documentation>Netherlands Antilles</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AO">- <xs:annotation>- <xs:documentation>Angola</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AP">- <xs:annotation>- <xs:documentation>Asia/Pacific Region</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AQ">- <xs:annotation>- <xs:documentation>Antarctica</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AR">- <xs:annotation>- <xs:documentation>Argentina</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AS">- <xs:annotation>- <xs:documentation>American Samoa</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AT">- <xs:annotation>- <xs:documentation>Austria</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AU">- <xs:annotation>- <xs:documentation>Australia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AW">- <xs:annotation>- <xs:documentation>Aruba</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AX">- <xs:annotation>- <xs:documentation>Aland Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AZ">- <xs:annotation>- <xs:documentation>Azerbaijan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BA">- <xs:annotation>- <xs:documentation>Bosnia and Herzegovina</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BB">- <xs:annotation>- <xs:documentation>Barbados</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BD">- <xs:annotation>- <xs:documentation>Bangladesh</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BE">- <xs:annotation>- <xs:documentation>Belgium</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BF">- <xs:annotation>- <xs:documentation>Burkina Faso</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BG">- <xs:annotation>- <xs:documentation>Bulgaria</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BH">- <xs:annotation>- <xs:documentation>Bahrain</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BI">- <xs:annotation>- <xs:documentation>Burundi</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BJ">- <xs:annotation>- <xs:documentation>Benin</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BL">- <xs:annotation>- <xs:documentation>Saint Bartelemey</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BM">- <xs:annotation>- <xs:documentation>Bermuda</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BN">- <xs:annotation>- <xs:documentation>Brunei Darussalam</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BO">- <xs:annotation>- <xs:documentation>Bolivia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BQ">- <xs:annotation>- <xs:documentation>Bonaire, Sint Eustatius and Saba</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BR">- <xs:annotation>- <xs:documentation>Brazil</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BS">- <xs:annotation>- <xs:documentation>Bahamas</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BT">- <xs:annotation>- <xs:documentation>Bhutan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BV">- <xs:annotation>- <xs:documentation>Bouvet Island</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BW">- <xs:annotation>- <xs:documentation>Botswana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BY">- <xs:annotation>- <xs:documentation>Belarus</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="BZ">- <xs:annotation>- <xs:documentation>Belize</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CA">- <xs:annotation>- <xs:documentation>Canada</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CC">- <xs:annotation>- <xs:documentation>Cocos (Keeling) Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CD">- <xs:annotation>- <xs:documentation>Congo, The Democratic Republic of the</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CF">- <xs:annotation>- <xs:documentation>Central African Republic</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CG">- <xs:annotation>- <xs:documentation>Congo</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CH">- <xs:annotation>- <xs:documentation>Switzerland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CI">- <xs:annotation>- <xs:documentation>Cote d'Ivoire</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CK">- <xs:annotation>- <xs:documentation>Cook Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CL">- <xs:annotation>- <xs:documentation>Chile</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CM">- <xs:annotation>- <xs:documentation>Cameroon</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CN">- <xs:annotation>- <xs:documentation>China</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CO">- <xs:annotation>- <xs:documentation>Colombia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CR">- <xs:annotation>- <xs:documentation>Costa Rica</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CU">- <xs:annotation>- <xs:documentation>Cuba</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CV">- <xs:annotation>- <xs:documentation>Cape Verde</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CX">- <xs:annotation>- <xs:documentation>Christmas Island</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CW">- <xs:annotation>- <xs:documentation>Curacao</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CY">- <xs:annotation>- <xs:documentation>Cyprus</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CZ">- <xs:annotation>- <xs:documentation>Czech Republic</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DE">- <xs:annotation>- <xs:documentation>Germany</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DJ">- <xs:annotation>- <xs:documentation>Djibouti</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DK">- <xs:annotation>- <xs:documentation>Denmark</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DM">- <xs:annotation>- <xs:documentation>Dominica</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DO">- <xs:annotation>- <xs:documentation>Dominican Republic</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DZ">- <xs:annotation>- <xs:documentation>Algeria</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="EC">- <xs:annotation>- <xs:documentation>Ecuador</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="EE">- <xs:annotation>- <xs:documentation>Estonia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="EG">- <xs:annotation>- <xs:documentation>Egypt</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="EH">- <xs:annotation>- <xs:documentation>Western Sahara</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ER">- <xs:annotation>- <xs:documentation>Eritrea</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ES">- <xs:annotation>- <xs:documentation>Spain</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ET">- <xs:annotation>- <xs:documentation>Ethiopia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="EU">- <xs:annotation>- <xs:documentation>Europe</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FI">- <xs:annotation>- <xs:documentation>Finland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FJ">- <xs:annotation>- <xs:documentation>Fiji</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FK">- <xs:annotation>- <xs:documentation>Falkland Islands (Malvinas)</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FM">- <xs:annotation>- <xs:documentation>Micronesia, Federated States of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FO">- <xs:annotation>- <xs:documentation>Faroe Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FR">- <xs:annotation>- <xs:documentation>France</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FX">- <xs:annotation>- <xs:documentation>France, Metropolitan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GA">- <xs:annotation>- <xs:documentation>Gabon</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GB">- <xs:annotation>- <xs:documentation>United Kingdom</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GD">- <xs:annotation>- <xs:documentation>Grenada</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GE">- <xs:annotation>- <xs:documentation>Georgia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GF">- <xs:annotation>- <xs:documentation>French Guiana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GG">- <xs:annotation>- <xs:documentation>Guernsey</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GH">- <xs:annotation>- <xs:documentation>Ghana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GI">- <xs:annotation>- <xs:documentation>Gibraltar</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GL">- <xs:annotation>- <xs:documentation>Greenland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GM">- <xs:annotation>- <xs:documentation>Gambia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GN">- <xs:annotation>- <xs:documentation>Guinea</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GP">- <xs:annotation>- <xs:documentation>Guadeloupe</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GQ">- <xs:annotation>- <xs:documentation>Equatorial Guinea</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GR">- <xs:annotation>- <xs:documentation>Greece</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GS">- <xs:annotation>- <xs:documentation>South Georgia and the South Sandwich Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GT">- <xs:annotation>- <xs:documentation>Guatemala</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GU">- <xs:annotation>- <xs:documentation>Guam</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GW">- <xs:annotation>- <xs:documentation>Guinea-Bissau</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GY">- <xs:annotation>- <xs:documentation>Guyana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HK">- <xs:annotation>- <xs:documentation>Hong Kong</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HM">- <xs:annotation>- <xs:documentation>Heard Island and McDonald Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HN">- <xs:annotation>- <xs:documentation>Honduras</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HR">- <xs:annotation>- <xs:documentation>Croatia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HT">- <xs:annotation>- <xs:documentation>Haiti</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HU">- <xs:annotation>- <xs:documentation>Hungary</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ID">- <xs:annotation>- <xs:documentation>Indonesia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IE">- <xs:annotation>- <xs:documentation>Ireland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IL">- <xs:annotation>- <xs:documentation>Israel</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IM">- <xs:annotation>- <xs:documentation>Isle of Man</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IN">- <xs:annotation>- <xs:documentation>India</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IO">- <xs:annotation>- <xs:documentation>British Indian Ocean Territory</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IQ">- <xs:annotation>- <xs:documentation>Iraq</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IR">- <xs:annotation>- <xs:documentation>Iran, Islamic Republic of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IS">- <xs:annotation>- <xs:documentation>Iceland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IT">- <xs:annotation>- <xs:documentation>Italy</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="JE">- <xs:annotation>- <xs:documentation>Jersey</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="JM">- <xs:annotation>- <xs:documentation>Jamaica</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="JO">- <xs:annotation>- <xs:documentation>Jordan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="JP">- <xs:annotation>- <xs:documentation>Japan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KE">- <xs:annotation>- <xs:documentation>Kenya</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KG">- <xs:annotation>- <xs:documentation>Kyrgyzstan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KH">- <xs:annotation>- <xs:documentation>Cambodia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KI">- <xs:annotation>- <xs:documentation>Kiribati</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KM">- <xs:annotation>- <xs:documentation>Comoros</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KN">- <xs:annotation>- <xs:documentation>Saint Kitts and Nevis</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KP">- <xs:annotation>- <xs:documentation>Korea, Democratic People's Republic of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KR">- <xs:annotation>- <xs:documentation>Korea, Republic of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KW">- <xs:annotation>- <xs:documentation>Kuwait</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KY">- <xs:annotation>- <xs:documentation>Cayman Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KZ">- <xs:annotation>- <xs:documentation>Kazakhstan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LA">- <xs:annotation>- <xs:documentation>Lao People's Democratic Republic</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LB">- <xs:annotation>- <xs:documentation>Lebanon</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LC">- <xs:annotation>- <xs:documentation>Saint Lucia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LI">- <xs:annotation>- <xs:documentation>Liechtenstein</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LK">- <xs:annotation>- <xs:documentation>Sri Lanka</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LR">- <xs:annotation>- <xs:documentation>Liberia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LS">- <xs:annotation>- <xs:documentation>Lesotho</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LT">- <xs:annotation>- <xs:documentation>Lithuania</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LU">- <xs:annotation>- <xs:documentation>Luxembourg</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LV">- <xs:annotation>- <xs:documentation>Latvia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LY">- <xs:annotation>- <xs:documentation>Libyan Arab Jamahiriya</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MA">- <xs:annotation>- <xs:documentation>Morocco</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MC">- <xs:annotation>- <xs:documentation>Monaco</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MD">- <xs:annotation>- <xs:documentation>Moldova, Republic of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ME">- <xs:annotation>- <xs:documentation>Montenegro</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MF">- <xs:annotation>- <xs:documentation>Saint Martin</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MG">- <xs:annotation>- <xs:documentation>Madagascar</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MH">- <xs:annotation>- <xs:documentation>Marshall Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MK">- <xs:annotation>- <xs:documentation>Macedonia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ML">- <xs:annotation>- <xs:documentation>Mali</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MM">- <xs:annotation>- <xs:documentation>Myanmar</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MN">- <xs:annotation>- <xs:documentation>Mongolia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MO">- <xs:annotation>- <xs:documentation>Macao</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MP">- <xs:annotation>- <xs:documentation>Northern Mariana Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MQ">- <xs:annotation>- <xs:documentation>Martinique</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MR">- <xs:annotation>- <xs:documentation>Mauritania</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MS">- <xs:annotation>- <xs:documentation>Montserrat</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MT">- <xs:annotation>- <xs:documentation>Malta</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MU">- <xs:annotation>- <xs:documentation>Mauritius</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MV">- <xs:annotation>- <xs:documentation>Maldives</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MW">- <xs:annotation>- <xs:documentation>Malawi</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MX">- <xs:annotation>- <xs:documentation>Mexico</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MY">- <xs:annotation>- <xs:documentation>Malaysia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MZ">- <xs:annotation>- <xs:documentation>Mozambique</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NA">- <xs:annotation>- <xs:documentation>Namibia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NC">- <xs:annotation>- <xs:documentation>New Caledonia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NE">- <xs:annotation>- <xs:documentation>Niger</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NF">- <xs:annotation>- <xs:documentation>Norfolk Island</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NG">- <xs:annotation>- <xs:documentation>Nigeria</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NI">- <xs:annotation>- <xs:documentation>Nicaragua</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NL">- <xs:annotation>- <xs:documentation>Netherlands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NO">- <xs:annotation>- <xs:documentation>Norway</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NP">- <xs:annotation>- <xs:documentation>Nepal</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NR">- <xs:annotation>- <xs:documentation>Nauru</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NU">- <xs:annotation>- <xs:documentation>Niue</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NZ">- <xs:annotation>- <xs:documentation>New Zealand</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="OM">- <xs:annotation>- <xs:documentation>Oman</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PA">- <xs:annotation>- <xs:documentation>Panama</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PE">- <xs:annotation>- <xs:documentation>Peru</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PF">- <xs:annotation>- <xs:documentation>French Polynesia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PG">- <xs:annotation>- <xs:documentation>Papua New Guinea</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PH">- <xs:annotation>- <xs:documentation>Philippines</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PK">- <xs:annotation>- <xs:documentation>Pakistan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PL">- <xs:annotation>- <xs:documentation>Poland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PM">- <xs:annotation>- <xs:documentation>Saint Pierre and Miquelon</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PN">- <xs:annotation>- <xs:documentation>Pitcairn</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PR">- <xs:annotation>- <xs:documentation>Puerto Rico</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PS">- <xs:annotation>- <xs:documentation>Palestinian Territory</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PT">- <xs:annotation>- <xs:documentation>Portugal</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PW">- <xs:annotation>- <xs:documentation>Palau</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PY">- <xs:annotation>- <xs:documentation>Paraguay</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="QA">- <xs:annotation>- <xs:documentation>Qatar</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RE">- <xs:annotation>- <xs:documentation>Reunion</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RO">- <xs:annotation>- <xs:documentation>Romania</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RS">- <xs:annotation>- <xs:documentation>Serbia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RU">- <xs:annotation>- <xs:documentation>Russian Federation</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RW">- <xs:annotation>- <xs:documentation>Rwanda</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SA">- <xs:annotation>- <xs:documentation>Saudi Arabia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SB">- <xs:annotation>- <xs:documentation>Solomon Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SC">- <xs:annotation>- <xs:documentation>Seychelles</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SD">- <xs:annotation>- <xs:documentation>Sudan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SE">- <xs:annotation>- <xs:documentation>Sweden</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SG">- <xs:annotation>- <xs:documentation>Singapore</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SH">- <xs:annotation>- <xs:documentation>Saint Helena</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SI">- <xs:annotation>- <xs:documentation>Slovenia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SJ">- <xs:annotation>- <xs:documentation>Svalbard and Jan Mayen</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SK">- <xs:annotation>- <xs:documentation>Slovakia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SL">- <xs:annotation>- <xs:documentation>Sierra Leone</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SM">- <xs:annotation>- <xs:documentation>San Marino</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SN">- <xs:annotation>- <xs:documentation>Senegal</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SO">- <xs:annotation>- <xs:documentation>Somalia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SR">- <xs:annotation>- <xs:documentation>Suriname</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SS">- <xs:annotation>- <xs:documentation>South Sudan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ST">- <xs:annotation>- <xs:documentation>Sao Tome and Principe</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SV">- <xs:annotation>- <xs:documentation>El Salvador</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SX">- <xs:annotation>- <xs:documentation>Sint Maarten (Dutch part)</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SY">- <xs:annotation>- <xs:documentation>Syrian Arab Republic</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SZ">- <xs:annotation>- <xs:documentation>Swaziland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TC">- <xs:annotation>- <xs:documentation>Turks and Caicos Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TD">- <xs:annotation>- <xs:documentation>Chad</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TF">- <xs:annotation>- <xs:documentation>French Southern Territories</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TG">- <xs:annotation>- <xs:documentation>Togo</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TH">- <xs:annotation>- <xs:documentation>Thailand</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TJ">- <xs:annotation>- <xs:documentation>Tajikistan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TK">- <xs:annotation>- <xs:documentation>Tokelau</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TL">- <xs:annotation>- <xs:documentation>Timor-Leste</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TM">- <xs:annotation>- <xs:documentation>Turkmenistan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TN">- <xs:annotation>- <xs:documentation>Tunisia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TO">- <xs:annotation>- <xs:documentation>Tonga</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TR">- <xs:annotation>- <xs:documentation>Turkey</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TT">- <xs:annotation>- <xs:documentation>Trinidad and Tobago</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TV">- <xs:annotation>- <xs:documentation>Tuvalu</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TW">- <xs:annotation>- <xs:documentation>Taiwan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TZ">- <xs:annotation>- <xs:documentation>Tanzania, United Republic of</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UA">- <xs:annotation>- <xs:documentation>Ukraine</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UG">- <xs:annotation>- <xs:documentation>Uganda</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UM">- <xs:annotation>- <xs:documentation>United States Minor Outlying Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="US">- <xs:annotation>- <xs:documentation>United States</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UY">- <xs:annotation>- <xs:documentation>Uruguay</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UZ">- <xs:annotation>- <xs:documentation>Uzbekistan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VA">- <xs:annotation>- <xs:documentation>Holy See (Vatican City State)</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VC">- <xs:annotation>- <xs:documentation>Saint Vincent and the Grenadines</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VE">- <xs:annotation>- <xs:documentation>Venezuela</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VG">- <xs:annotation>- <xs:documentation>Virgin Islands, British</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VI">- <xs:annotation>- <xs:documentation>Virgin Islands, U.S.</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VN">- <xs:annotation>- <xs:documentation>Vietnam</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VU">- <xs:annotation>- <xs:documentation>Vanuatu</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WF">- <xs:annotation>- <xs:documentation>Wallis and Futuna</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WS">- <xs:annotation>- <xs:documentation>Samoa</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="XK">- <xs:annotation>- <xs:documentation>Kosovo</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="YE">- <xs:annotation>- <xs:documentation>Yemen</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="YT">- <xs:annotation>- <xs:documentation>Mayotte</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ZA">- <xs:annotation>- <xs:documentation>South Africa</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ZM">- <xs:annotation>- <xs:documentation>Zambia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ZW">- <xs:annotation>- <xs:documentation>Zimbabwe</xs:documentation>- </xs:annotation>- </xs:enumeration>- </xs:restriction>- </xs:simpleType>-- <xs:simpleType name="state">- <xs:annotation>- <xs:documentation>This type supports the two digit codes of the US states and territories. They are enumerated in the XML schema.</xs:documentation>- </xs:annotation>- <xs:restriction base="xs:string">- <xs:enumeration value="" />- <xs:enumeration value="AK">- <xs:annotation>- <xs:documentation>Alaska</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AL">- <xs:annotation>- <xs:documentation>Alabama</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AR">- <xs:annotation>- <xs:documentation>Arkansas</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="AZ">- <xs:annotation>- <xs:documentation>Arizona</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CA">- <xs:annotation>- <xs:documentation>California</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CO">- <xs:annotation>- <xs:documentation>Colorado</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="CT">- <xs:annotation>- <xs:documentation>Connecticut</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DC">- <xs:annotation>- <xs:documentation>District of Columbia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="DE">- <xs:annotation>- <xs:documentation>Delaware</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="FL">- <xs:annotation>- <xs:documentation>Florida</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GA">- <xs:annotation>- <xs:documentation>Georgia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="GU">- <xs:annotation>- <xs:documentation>Guam</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="HI">- <xs:annotation>- <xs:documentation>Hawaii</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IA">- <xs:annotation>- <xs:documentation>Iowa</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ID">- <xs:annotation>- <xs:documentation>Idaho</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IL">- <xs:annotation>- <xs:documentation>Illinois</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="IN">- <xs:annotation>- <xs:documentation>Indiana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KS">- <xs:annotation>- <xs:documentation>Kansas</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="KY">- <xs:annotation>- <xs:documentation>Kentucky</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="LA">- <xs:annotation>- <xs:documentation>Louisiana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MA">- <xs:annotation>- <xs:documentation>Massachusetts</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MD">- <xs:annotation>- <xs:documentation>Maryland</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ME">- <xs:annotation>- <xs:documentation>Maine</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MI">- <xs:annotation>- <xs:documentation>Michigan</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MN">- <xs:annotation>- <xs:documentation>Minnesota</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MO">- <xs:annotation>- <xs:documentation>Missouri</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MS">- <xs:annotation>- <xs:documentation>Mississippi</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="MT">- <xs:annotation>- <xs:documentation>Montana</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NC">- <xs:annotation>- <xs:documentation>North Carolina</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="ND">- <xs:annotation>- <xs:documentation>North Dakota</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NE">- <xs:annotation>- <xs:documentation>Nebraska</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NH">- <xs:annotation>- <xs:documentation>New Hampshire</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NJ">- <xs:annotation>- <xs:documentation>New Jersey</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NM">- <xs:annotation>- <xs:documentation>New Mexico</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NV">- <xs:annotation>- <xs:documentation>Nevada</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="NY">- <xs:annotation>- <xs:documentation>New York</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="OH">- <xs:annotation>- <xs:documentation>Ohio</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="OK">- <xs:annotation>- <xs:documentation>Oklahoma</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="OR">- <xs:annotation>- <xs:documentation>Oregon</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PA">- <xs:annotation>- <xs:documentation>Pennsylvania</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="PR">- <xs:annotation>- <xs:documentation>Puerto Rico</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="RI">- <xs:annotation>- <xs:documentation>Rhode Island</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SC">- <xs:annotation>- <xs:documentation>South Carolina</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="SD">- <xs:annotation>- <xs:documentation>South Dakota</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TN">- <xs:annotation>- <xs:documentation>Tennessee</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="TX">- <xs:annotation>- <xs:documentation>Texas</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="UT">- <xs:annotation>- <xs:documentation>Utah</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VA">- <xs:annotation>- <xs:documentation>Virginia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VI">- <xs:annotation>- <xs:documentation>Virgin Islands</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="VT">- <xs:annotation>- <xs:documentation>Vermont</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WA">- <xs:annotation>- <xs:documentation>Washington</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WI">- <xs:annotation>- <xs:documentation>Wisconsin</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WV">- <xs:annotation>- <xs:documentation>West Virginia</xs:documentation>- </xs:annotation>- </xs:enumeration>- <xs:enumeration value="WY">- <xs:annotation>- <xs:documentation>Wyoming</xs:documentation>- </xs:annotation>- </xs:enumeration>- </xs:restriction>- </xs:simpleType>-- <xs:element name="reportResponse">- <xs:annotation>- <xs:documentation>This element is the root element of the response to a report, file or file details submittal.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="responseCode" type="xs:int">- <xs:annotation>- <xs:documentation>The response code returned from the submittal. 0 is success, any non-zero number is an error code defined in the documentation.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="responseDescription" type="xs:string">- <xs:annotation>- <xs:documentation>The description of the error code or empty if the response is success.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="reportId" minOccurs="0" type="xs:long">- <xs:annotation>- <xs:documentation>The report ID about which this submittal is related.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="fileId" minOccurs="0" type="xs:token">- <xs:annotation>- <xs:documentation>If a file was uploaded, the file ID of the file.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="hash" minOccurs="0" type="xs:token">- <xs:annotation>- <xs:documentation>If a file was uploaded, the md5 hash of the file.</xs:documentation>- </xs:annotation>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-- <xs:element name="reportDoneResponse">- <xs:annotation>- <xs:documentation>The final response from the server once the report has been submitted, all files and file details have been uploaded and the report done has been submitted.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="responseCode" type="xs:int">- <xs:annotation>- <xs:documentation>The response code returned from the submittal. 0 is success, any non-zero number is an error code defined in the documentation.</xs:documentation>- </xs:annotation>- </xs:element>- <xs:element name="reportId" type="xs:long" />- <xs:element name="files">- <xs:annotation>- <xs:documentation>The list of files successfully uploaded.</xs:documentation>- </xs:annotation>- <xs:complexType>- <xs:sequence>- <xs:element name="fileId" minOccurs="0" maxOccurs="unbounded" type="xs:string" />- </xs:sequence>- </xs:complexType>- </xs:element>- </xs:sequence>- </xs:complexType>- </xs:element>-</xs:schema>diff --git a/fluxer_api/src/api/test/fixtures/thisisfine.gif b/fluxer_api/src/api/test/fixtures/thisisfine.gifdeleted file mode 100644index 6c8e2feb7..000000000Binary files a/fluxer_api/src/api/test/fixtures/thisisfine.gif and /dev/null differdiff --git a/fluxer_api/src/api/user/tests/FavoriteMemeLimits.test.ts b/fluxer_api/src/api/user/tests/FavoriteMemeLimits.test.tsindex 1bd4a7a5b..ac6bae003 100644--- a/fluxer_api/src/api/user/tests/FavoriteMemeLimits.test.ts+++ b/fluxer_api/src/api/user/tests/FavoriteMemeLimits.test.ts@@ -113,13 +113,13 @@ describe('Favorite Meme Limits', () => {attachment_id: message1.attachments[0].id,name: 'PNG Meme',});- const message2 = await createMessageWithImageAttachment(harness, account.token, channel.id, 'thisisfine.gif');+ const message2 = await createMessageWithImageAttachment(harness, account.token, channel.id, 'animated.gif');const meme2 = await createFavoriteMemeFromMessage(harness, account.token, channel.id, message2.id, {attachment_id: message2.attachments[0].id,name: 'GIF Meme',});expect(meme2.id).toBeTruthy();- expect(meme2.filename).toBe('thisisfine.gif');+ expect(meme2.filename).toBe('animated.gif');});test('should return error for invalid attachment id', async () => {const account = await createTestAccountForAttachmentTests(harness);diff --git a/fluxer_api/src/api/user/tests/FavoriteMemeOperations.test.ts b/fluxer_api/src/api/user/tests/FavoriteMemeOperations.test.tsindex c40c6e516..3e65adf2c 100644--- a/fluxer_api/src/api/user/tests/FavoriteMemeOperations.test.ts+++ b/fluxer_api/src/api/user/tests/FavoriteMemeOperations.test.ts@@ -244,7 +244,7 @@ describe('Favorite Meme Operations', () => {attachment_id: message1.attachments[0].id,name: 'First Meme',});- const message2 = await createMessageWithImageAttachment(harness, account.token, channel.id, 'thisisfine.gif');+ const message2 = await createMessageWithImageAttachment(harness, account.token, channel.id, 'animated.gif');await createFavoriteMemeFromMessage(harness, account.token, channel.id, message2.id, {attachment_id: message2.attachments[0].id,name: 'Second Meme',diff --git a/fluxer_api/src/api/webhook/WebhookService.ts b/fluxer_api/src/api/webhook/WebhookService.tsindex 2df4f3a4b..579677f13 100644--- a/fluxer_api/src/api/webhook/WebhookService.ts+++ b/fluxer_api/src/api/webhook/WebhookService.ts@@ -1,9 +1,9 @@// SPDX-License-Identifier: AGPL-3.0-or-later-import fs from 'node:fs/promises';import {stripOwnAttachmentSignature} from '@app/api/attachment/AttachmentUrls';import type {ChannelID, GuildID, MessageID, UserID, WebhookID, WebhookToken} from '@app/api/BrandedTypes';import {createChannelID, createGuildID, createWebhookID, createWebhookToken} from '@app/api/BrandedTypes';+import {Config} from '@app/api/Config';import type {IChannelRepository} from '@app/api/channel/IChannelRepository';import type {MessageRequest, MessageUpdateRequest} from '@app/api/channel/MessageTypes';import {withChannelFollowLock} from '@app/api/channel/services/ChannelFollowers';@@ -29,7 +29,6 @@ import type {RequestCache} from '@app/api/middleware/RequestCacheMiddleware';import type {Channel} from '@app/api/models/Channel';import type {Message} from '@app/api/models/Message';import type {Webhook} from '@app/api/models/Webhook';-import {resolveAssetPath} from '@app/api/utils/AssetPaths';import * as RandomUtils from '@app/api/utils/RandomUtils';import type {IWebhookRepository} from '@app/api/webhook/IWebhookRepository';import {transform as GitHubTransform} from '@app/api/webhook/transformers/GitHubTransformer';@@ -117,6 +116,10 @@ interface WebhookExecuteInstatusParams extends WebhookTokenParams {}const WEBHOOK_AVATAR_MISSING_CACHE_VALUE = '__fluxer_webhook_avatar_missing__';+const HOSTED_WEBHOOK_AVATAR_URLS = {+ github: 'https://fluxer.app/static/img/app-webhook-github.2d0319169a3aee33.webp',+ instatus: 'https://fluxer.app/static/img/app-webhook-instatus.22ad5aee16da872c.webp',+} as const;export class WebhookService {private static readonly NO_ALLOWED_MENTIONS: AllowedMentionsRequest = {parse: []};@@ -744,32 +747,22 @@ export class WebhookService {}private async getGitHubWebhookAvatar(webhookId: WebhookID): Promise<string | null> {- return this.getStaticWebhookAvatar({webhookId, provider: 'github'});+ return this.getHostedWebhookAvatar({webhookId, provider: 'github'});}private async getInstatusWebhookAvatar(webhookId: WebhookID): Promise<string | null> {- return this.getStaticWebhookAvatar({webhookId, provider: 'instatus'});+ return this.getHostedWebhookAvatar({webhookId, provider: 'instatus'});}- private async getStaticWebhookAvatar({+ private async getHostedWebhookAvatar({webhookId,provider,}: {webhookId: WebhookID;- provider: 'github' | 'instatus';+ provider: keyof typeof HOSTED_WEBHOOK_AVATAR_URLS;}): Promise<string | null> {- const cacheKey = `webhook:${webhookId}:avatar:${provider}`;- const avatarCache = await this.cacheService.get<string | null>(cacheKey);- if (avatarCache) return avatarCache;- const avatarFile = await fs.readFile(resolveAssetPath('assets', `${provider}.webp`));- const avatar = await this.avatarService.uploadAvatar({- prefix: 'avatars',- entityId: webhookId,- errorPath: 'avatar',- base64Image: avatarFile.toString('base64'),- });- await this.cacheService.set(cacheKey, avatar, seconds('1 day'));- return avatar;+ if (Config.instance.selfHosted) return null;+ return this.getWebhookAvatar({webhookId, avatarUrl: HOSTED_WEBHOOK_AVATAR_URLS[provider]});}private getWebhookMetadata(webhook: Webhook): Record<string, string> | undefined {diff --git a/fluxer_api/src/api/webhook/tests/WebhookEmojiBypass.test.ts b/fluxer_api/src/api/webhook/tests/WebhookEmojiBypass.test.tsindex b0734e29d..48e1a5393 100644--- a/fluxer_api/src/api/webhook/tests/WebhookEmojiBypass.test.ts+++ b/fluxer_api/src/api/webhook/tests/WebhookEmojiBypass.test.ts@@ -35,7 +35,7 @@ describe('Webhook emoji bypass', () => {user.token,guildId,'animated',- 'thisisfine.gif',+ 'animated.gif','image/gif',);const webhook = await createWebhook(harness, channelId, user.token, 'Emoji Test Webhook');diff --git a/fluxer_app/src/features/accessibility/components/NekoSprite.tsx b/fluxer_app/src/features/accessibility/components/NekoSprite.tsxindex 974e7a367..43ecf8716 100644--- a/fluxer_app/src/features/accessibility/components/NekoSprite.tsx+++ b/fluxer_app/src/features/accessibility/components/NekoSprite.tsx@@ -1,4 +1,5 @@-// SPDX-License-Identifier: AGPL-3.0-or-later+// SPDX-License-Identifier: AGPL-3.0-or-later AND MIT+// SPDX-FileCopyrightText: 2022 adrydimport styles from '@app/features/accessibility/components/NekoSprite.module.css';import Accessibility from '@app/features/accessibility/state/Accessibility';diff --git a/fluxer_app/src/features/app/config/HostedMedia.ts b/fluxer_app/src/features/app/config/HostedMedia.tsnew file mode 100644index 000000000..e52a51011--- /dev/null+++ b/fluxer_app/src/features/app/config/HostedMedia.ts@@ -0,0 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++export function hostedImageUrl(name: string): string {+ return `https://fluxer.app/static/img/${name}`;+}diff --git a/fluxer_app/src/features/moderation/components/modals/BanMemberModal.module.css b/fluxer_app/src/features/moderation/components/modals/BanMemberModal.module.cssindex 5ad088612..a05b49323 100644--- a/fluxer_app/src/features/moderation/components/modals/BanMemberModal.module.css+++ b/fluxer_app/src/features/moderation/components/modals/BanMemberModal.module.css@@ -7,9 +7,13 @@}.video {+ display: block;width: 100%;max-width: 25rem;+ height: auto;+ aspect-ratio: 2 / 1;margin-bottom: 1rem;+ object-fit: cover;}.sectionTitle {diff --git a/fluxer_app/src/features/moderation/components/modals/BanMemberModal.tsx b/fluxer_app/src/features/moderation/components/modals/BanMemberModal.tsxindex 92f9aa59a..d64d0bba5 100644--- a/fluxer_app/src/features/moderation/components/modals/BanMemberModal.tsx+++ b/fluxer_app/src/features/moderation/components/modals/BanMemberModal.tsx@@ -4,6 +4,7 @@ import Accessibility from '@app/features/accessibility/state/Accessibility';import * as Modal from '@app/features/app/components/dialogs/Modal';import {useAnimatedMediaVideoPlayback} from '@app/features/app/hooks/useAnimatedMediaPlayback';import {useSaveData} from '@app/features/app/hooks/useSaveData';+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import * as GuildCommands from '@app/features/guild/commands/GuildCommands';import {CUSTOM_ELLIPSIS_DESCRIPTOR,@@ -16,6 +17,7 @@ import {import {showModerationErrorModal} from '@app/features/moderation/components/alerts/ModerationErrorModalUtils';import styles from '@app/features/moderation/components/modals/BanMemberModal.module.css';import {BAN_DELETE_MESSAGE_OPTIONS} from '@app/features/moderation/constants/BanDeleteMessageOptions';+import {BANNED_MP4, BANNED_POSTER, BANNED_WEBM} from '@app/features/moderation/constants/BanModalMedia';import {Logger} from '@app/features/platform/utils/AppLogger';import {Button} from '@app/features/ui/button/Button';import * as ModalCommands from '@app/features/ui/commands/ModalCommands';@@ -25,9 +27,6 @@ import {Input} from '@app/features/ui/components/form/FormInput';import {RadioGroup} from '@app/features/ui/radio_group/RadioGroup';import type {User} from '@app/features/user/models/User';import * as DisplayNameUtils from '@app/features/user/utils/DisplayNameUtils';-import bannedMp4 from '@app/media/videos/banned.mp4';-import bannedWebm from '@app/media/videos/banned.webm';-import bannedPoster from '@app/media/videos/banned.webp';import {MAX_TEMP_BAN_DURATION_SECONDS, MIN_TEMP_BAN_DURATION_SECONDS} from '@fluxer/constants/src/LimitConstants';import {msg} from '@lingui/core/macro';import {Trans, useLingui} from '@lingui/react/macro';@@ -101,7 +100,8 @@ export const BanMemberModal: React.FC<{guildId: string; targetUser: User}> = obsconst {i18n} = useLingui();const videoRef = useRef<HTMLVideoElement>(null);const dataSaverOn = useSaveData();- const motionArtworkAllowed = !Accessibility.useReducedMotion && !dataSaverOn;+ const showArtwork = !RuntimeConfig.isSelfHosted();+ const motionArtworkAllowed = showArtwork && !Accessibility.useReducedMotion && !dataSaverOn;const videoPlaybackAllowed = useAnimatedMediaVideoPlayback(videoRef, {enabled: motionArtworkAllowed});const [reason, setReason] = useState('');const [deleteMessageSeconds, setDeleteMessageSeconds] = useState<number>(60 * 60 * 24);@@ -160,22 +160,26 @@ export const BanMemberModal: React.FC<{guildId: string; targetUser: User}> = obsloopmutedplaysInline- poster={bannedPoster}+ poster={BANNED_POSTER}+ width={480}+ height={240}className={styles.video}data-flx="moderation.ban-member-modal.video">- <source src={bannedWebm} type="video/webm" data-flx="moderation.ban-member-modal.source.video-webm" />- <source src={bannedMp4} type="video/mp4" data-flx="moderation.ban-member-modal.source.video-mp4" />+ <source src={BANNED_WEBM} type="video/webm" data-flx="moderation.ban-member-modal.source.video-webm" />+ <source src={BANNED_MP4} type="video/mp4" data-flx="moderation.ban-member-modal.source.video-mp4" /></video>- ) : (+ ) : showArtwork ? (<img- src={bannedPoster}+ src={BANNED_POSTER}alt=""+ width={480}+ height={240}aria-hidden={true}className={styles.video}data-flx="moderation.ban-member-modal.video-still"/>- )}+ ) : null}<div data-flx="moderation.ban-member-modal.div"><FormCombobox<number>label={i18n._(BAN_DURATION_DESCRIPTOR)}diff --git a/fluxer_app/src/features/moderation/constants/BanModalMedia.ts b/fluxer_app/src/features/moderation/constants/BanModalMedia.tsnew file mode 100644index 000000000..ca4dc28d8--- /dev/null+++ b/fluxer_app/src/features/moderation/constants/BanModalMedia.ts@@ -0,0 +1,7 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {hostedImageUrl} from '@app/features/app/config/HostedMedia';++export const BANNED_MP4 = hostedImageUrl('app-banned.57f4a7f02835e746.mp4');+export const BANNED_WEBM = hostedImageUrl('app-banned.7b2a4c17603fbe1c.webm');+export const BANNED_POSTER = hostedImageUrl('app-banned.da3d66d03a7c4962.webp');diff --git a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.module.css b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.module.cssindex 290f66150..f69b8a114 100644--- a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.module.css+++ b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.module.css@@ -778,6 +778,11 @@.perkRowFlipped {grid-template-columns: 5fr 7fr;}++ .perkRowTextOnly {+ grid-template-columns: minmax(0, 1fr);+ padding-block: 2.5rem;+ }}.perkArtColumn {diff --git a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.tsx b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.tsxindex 26b7a3037..a81b5f18d 100644--- a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.tsx+++ b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPage.tsx@@ -30,6 +30,7 @@ import {resolveUploadSizes,} from '@app/features/premium/components/plutonium_page/PlutoniumPageComparison';import {PlutoniumPageIcon} from '@app/features/premium/components/plutonium_page/PlutoniumPageIcons';+import {CROWN_AVIF, CROWN_WEBP} from '@app/features/premium/components/plutonium_page/PlutoniumPageMedia';import {BACK_DESCRIPTOR,CLOSING_BODY_DESCRIPTOR,@@ -74,8 +75,6 @@ import FocusRing from '@app/features/ui/focus_ring/FocusRing';import MobileLayout from '@app/features/ui/state/MobileLayout';import Users from '@app/features/user/state/Users';import * as LocaleUtils from '@app/features/user/utils/LocaleUtils';-import crownAvif from '@app/media/images/plutonium/plutonium-crown.avif';-import crownWebp from '@app/media/images/plutonium/plutonium-crown.webp';import {GuildFeatures} from '@fluxer/constants/src/GuildConstants';import {getFormattedLongDate} from '@fluxer/date_utils/src/DateFormatting';import {Trans, useLingui} from '@lingui/react/macro';@@ -451,22 +450,24 @@ export const PlutoniumPage = observer(function PlutoniumPage() {)}<section className={styles.hero} data-flx="premium.plutonium-page.hero"><div className={styles.heroInner}>- <div className={styles.crownWrap}>- <picture>- <source type="image/avif" srcSet={crownAvif} />- <img- draggable={false}- className={styles.crown}- src={crownWebp}- width={480}- height={395}- alt=""- decoding="sync"- fetchPriority="high"- data-flx="premium.plutonium-page.hero.crown"- />- </picture>- </div>+ {!RuntimeConfig.isSelfHosted() && (+ <div className={styles.crownWrap}>+ <picture>+ <source type="image/avif" srcSet={CROWN_AVIF} />+ <img+ draggable={false}+ className={styles.crown}+ src={CROWN_WEBP}+ width={480}+ height={395}+ alt=""+ decoding="sync"+ fetchPriority="high"+ data-flx="premium.plutonium-page.hero.crown"+ />+ </picture>+ </div>+ )}<h1 className={styles.displayHeading} data-flx="premium.plutonium-page.hero.title">{PREMIUM_PRODUCT_FULL_NAME}</h1>diff --git a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageMedia.ts b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageMedia.tsnew file mode 100644index 000000000..d5a484f00--- /dev/null+++ b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageMedia.ts@@ -0,0 +1,79 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {hostedImageUrl} from '@app/features/app/config/HostedMedia';++export const CROWN_AVIF = hostedImageUrl('perks-plutonium-crown.4d0b72644330bf10.avif');+export const CROWN_WEBP = hostedImageUrl('perks-plutonium-crown.3265aa6b4147b19b.webp');++export const AVATAR_LSF = hostedImageUrl('perks-avatar-lsf.0800cc17b7d31b5e.webp');+export const BANNER_LSF = hostedImageUrl('perks-banner-lsf.05f2565afc72a167.webp');+export const EMOJI_CATVIBE = hostedImageUrl('perks-emoji-catvibe.28e83552cc9a26c2.webp');+export const EMOJI_CATWAVE = hostedImageUrl('perks-emoji-catwave.663abebab1c327fb.webp');+export const STICKER_FEEL_THAT = hostedImageUrl('perks-sticker-feel-that.3eae385d2d9cc99a.webp');++type ShotSet = [string, string, string];++export interface ShotFamily {+ avif: ShotSet;+ webp: ShotSet;+}++function hostedShotSet([small, medium, large]: ShotSet): ShotSet {+ return [hostedImageUrl(small), hostedImageUrl(medium), hostedImageUrl(large)];+}++function shotFamily(avif: ShotSet, webp: ShotSet): ShotFamily {+ return {avif: hostedShotSet(avif), webp: hostedShotSet(webp)};+}++export const EXPRESSIONS_SHOTS = shotFamily(+ [+ 'screenshots-feature-perk-expressions-640w.481d53f29ebbe154.avif',+ 'screenshots-feature-perk-expressions-1120w.609f056dd55a176f.avif',+ 'screenshots-feature-perk-expressions-1600w.35a92d3fc43fa858.avif',+ ],+ [+ 'screenshots-feature-perk-expressions-640w.74bde0805e3452eb.webp',+ 'screenshots-feature-perk-expressions-1120w.f52ad1f714185faa.webp',+ 'screenshots-feature-perk-expressions-1600w.192c0d18c4a3d705.webp',+ ],+);++export const PROFILE_SHOTS = shotFamily(+ [+ 'screenshots-feature-perk-profile-640w.0df90fc828ae1bb4.avif',+ 'screenshots-feature-perk-profile-1120w.ca5e8d03c4f7eac7.avif',+ 'screenshots-feature-perk-profile-1600w.c790612e9d3295f7.avif',+ ],+ [+ 'screenshots-feature-perk-profile-640w.76efd2d804dc3c32.webp',+ 'screenshots-feature-perk-profile-1120w.799d04fb886684b2.webp',+ 'screenshots-feature-perk-profile-1600w.7459898617b3aa74.webp',+ ],+);++export const STREAM_SHOTS = shotFamily(+ [+ 'screenshots-feature-perk-stream-640w.d0567b22ca4d9910.avif',+ 'screenshots-feature-perk-stream-1120w.07ea4f292b8953a5.avif',+ 'screenshots-feature-perk-stream-1600w.c9697ce430b0773e.avif',+ ],+ [+ 'screenshots-feature-perk-stream-640w.2848435d90d0afa5.webp',+ 'screenshots-feature-perk-stream-1120w.a2076637a71b99bd.webp',+ 'screenshots-feature-perk-stream-1600w.745d8f0f60d30672.webp',+ ],+);++export const UPLOAD_SHOTS = shotFamily(+ [+ 'screenshots-feature-perk-upload-640w.455d1bdceab21b42.avif',+ 'screenshots-feature-perk-upload-1120w.392656a9b0f21585.avif',+ 'screenshots-feature-perk-upload-1600w.1aa744f6f0122c3f.avif',+ ],+ [+ 'screenshots-feature-perk-upload-640w.5b80c11e2a6dfe63.webp',+ 'screenshots-feature-perk-upload-1120w.156d068948c832fb.webp',+ 'screenshots-feature-perk-upload-1600w.bc3223b318081269.webp',+ ],+);diff --git a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageShowcase.tsx b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageShowcase.tsxindex 85ddc3db0..35ea8e7fb 100644--- a/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageShowcase.tsx+++ b/fluxer_app/src/features/premium/components/plutonium_page/PlutoniumPageShowcase.tsx@@ -1,6 +1,19 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import styles from '@app/features/premium/components/plutonium_page/PlutoniumPage.module.css';+import {+ AVATAR_LSF,+ BANNER_LSF,+ EMOJI_CATVIBE,+ EMOJI_CATWAVE,+ EXPRESSIONS_SHOTS,+ PROFILE_SHOTS,+ type ShotFamily,+ STICKER_FEEL_THAT,+ STREAM_SHOTS,+ UPLOAD_SHOTS,+} from '@app/features/premium/components/plutonium_page/PlutoniumPageMedia';import {SHOWCASE_EXPRESSIONS_BODY_DESCRIPTOR,SHOWCASE_EXPRESSIONS_TITLE_DESCRIPTOR,@@ -13,35 +26,6 @@ import {TAG_FOOTNOTE_MARKER_DESCRIPTOR,} from '@app/features/premium/components/plutonium_page/PlutoniumPageMessages';import FocusRing from '@app/features/ui/focus_ring/FocusRing';-import avatarLsf from '@app/media/images/plutonium/avatar-lsf.webp';-import bannerLsf from '@app/media/images/plutonium/banner-lsf.webp';-import emojiCatvibe from '@app/media/images/plutonium/emoji-catvibe.webp';-import emojiCatwave from '@app/media/images/plutonium/emoji-catwave.webp';-import expressions640Avif from '@app/media/images/plutonium/feature-perk-expressions-640w.avif';-import expressions640Webp from '@app/media/images/plutonium/feature-perk-expressions-640w.webp';-import expressions1120Avif from '@app/media/images/plutonium/feature-perk-expressions-1120w.avif';-import expressions1120Webp from '@app/media/images/plutonium/feature-perk-expressions-1120w.webp';-import expressions1600Avif from '@app/media/images/plutonium/feature-perk-expressions-1600w.avif';-import expressions1600Webp from '@app/media/images/plutonium/feature-perk-expressions-1600w.webp';-import profile640Avif from '@app/media/images/plutonium/feature-perk-profile-640w.avif';-import profile640Webp from '@app/media/images/plutonium/feature-perk-profile-640w.webp';-import profile1120Avif from '@app/media/images/plutonium/feature-perk-profile-1120w.avif';-import profile1120Webp from '@app/media/images/plutonium/feature-perk-profile-1120w.webp';-import profile1600Avif from '@app/media/images/plutonium/feature-perk-profile-1600w.avif';-import profile1600Webp from '@app/media/images/plutonium/feature-perk-profile-1600w.webp';-import stream640Avif from '@app/media/images/plutonium/feature-perk-stream-640w.avif';-import stream640Webp from '@app/media/images/plutonium/feature-perk-stream-640w.webp';-import stream1120Avif from '@app/media/images/plutonium/feature-perk-stream-1120w.avif';-import stream1120Webp from '@app/media/images/plutonium/feature-perk-stream-1120w.webp';-import stream1600Avif from '@app/media/images/plutonium/feature-perk-stream-1600w.avif';-import stream1600Webp from '@app/media/images/plutonium/feature-perk-stream-1600w.webp';-import upload640Avif from '@app/media/images/plutonium/feature-perk-upload-640w.avif';-import upload640Webp from '@app/media/images/plutonium/feature-perk-upload-640w.webp';-import upload1120Avif from '@app/media/images/plutonium/feature-perk-upload-1120w.avif';-import upload1120Webp from '@app/media/images/plutonium/feature-perk-upload-1120w.webp';-import upload1600Avif from '@app/media/images/plutonium/feature-perk-upload-1600w.avif';-import upload1600Webp from '@app/media/images/plutonium/feature-perk-upload-1600w.webp';-import stickerFeelThat from '@app/media/images/plutonium/sticker-feel-that.webp';import type {MessageDescriptor} from '@lingui/core';import {useLingui} from '@lingui/react/macro';import {clsx} from 'clsx';@@ -50,11 +34,6 @@ import type React from 'react';const PERK_SHOT_SIZES = '(min-width: 48rem) 50vw, calc(100vw - 5rem)';const CHAT_SURFACE = 'rgb(30, 29, 35)';-interface ShotFamily {- avif: [string, string, string];- webp: [string, string, string];-}-interface PerkOverlay {src: string;left: number;@@ -78,9 +57,9 @@ interface PerkCard {const SHOT_WIDTHS = [640, 1120, 1600] as const;const EXPRESSIONS_OVERLAYS: ReadonlyArray<PerkOverlay> = [- {src: emojiCatvibe, left: 65.22, top: 11.241, width: 4.372, height: 5.128, backdrop: CHAT_SURFACE},- {src: emojiCatwave, left: 14.936, top: 31.197, width: 8.743, height: 10.256, backdrop: CHAT_SURFACE},- {src: stickerFeelThat, left: 14.936, top: 52.35, width: 29.144, height: 34.188},+ {src: EMOJI_CATVIBE, left: 65.22, top: 11.241, width: 4.372, height: 5.128, backdrop: CHAT_SURFACE},+ {src: EMOJI_CATWAVE, left: 14.936, top: 31.197, width: 8.743, height: 10.256, backdrop: CHAT_SURFACE},+ {src: STICKER_FEEL_THAT, left: 14.936, top: 52.35, width: 29.144, height: 34.188},];const PERK_CARDS: ReadonlyArray<PerkCard> = [@@ -88,10 +67,7 @@ const PERK_CARDS: ReadonlyArray<PerkCard> = [id: 'expressions',title: SHOWCASE_EXPRESSIONS_TITLE_DESCRIPTOR,body: SHOWCASE_EXPRESSIONS_BODY_DESCRIPTOR,- shots: {- avif: [expressions640Avif, expressions1120Avif, expressions1600Avif],- webp: [expressions640Webp, expressions1120Webp, expressions1600Webp],- },+ shots: EXPRESSIONS_SHOTS,width: 549,height: 468,overlays: EXPRESSIONS_OVERLAYS,@@ -100,10 +76,7 @@ const PERK_CARDS: ReadonlyArray<PerkCard> = [id: 'profile',title: SHOWCASE_PROFILE_TITLE_DESCRIPTOR,body: SHOWCASE_PROFILE_BODY_DESCRIPTOR,- shots: {- avif: [profile640Avif, profile1120Avif, profile1600Avif],- webp: [profile640Webp, profile1120Webp, profile1600Webp],- },+ shots: PROFILE_SHOTS,width: 662,height: 407,overlays: [],@@ -113,10 +86,7 @@ const PERK_CARDS: ReadonlyArray<PerkCard> = [id: 'stream',title: SHOWCASE_STREAM_TITLE_DESCRIPTOR,body: SHOWCASE_STREAM_BODY_DESCRIPTOR,- shots: {- avif: [stream640Avif, stream1120Avif, stream1600Avif],- webp: [stream640Webp, stream1120Webp, stream1600Webp],- },+ shots: STREAM_SHOTS,width: 588,height: 343,overlays: [],@@ -125,10 +95,7 @@ const PERK_CARDS: ReadonlyArray<PerkCard> = [id: 'upload',title: SHOWCASE_UPLOAD_TITLE_DESCRIPTOR,body: SHOWCASE_UPLOAD_BODY_DESCRIPTOR,- shots: {- avif: [upload640Avif, upload1120Avif, upload1600Avif],- webp: [upload640Webp, upload1120Webp, upload1600Webp],- },+ shots: UPLOAD_SHOTS,width: 549,height: 362,overlays: [],@@ -161,7 +128,7 @@ function ProfileOverlay() {<g clipPath="url(#plutonium-perk-banner-clip)"><g mask="url(#plutonium-perk-banner-bite)"><image- href={bannerLsf}+ href={BANNER_LSF}x="345.333"y="16.333"width="300.333"@@ -172,7 +139,7 @@ function ProfileOverlay() {<circle cx="398.333" cy="114.333" r="41.6" fill="none" stroke="#0c0b0e" strokeWidth="3.2" /></g><g clipPath="url(#plutonium-perk-avatar-clip)" mask="url(#plutonium-perk-avatar-notch)">- <image href={avatarLsf} x="358.333" y="74.333" width="80" height="80" preserveAspectRatio="xMidYMid slice" />+ <image href={AVATAR_LSF} x="358.333" y="74.333" width="80" height="80" preserveAspectRatio="xMidYMid slice" /></g></svg>);@@ -238,6 +205,7 @@ export function PlutoniumPageShowcase({onFootnoteClick,}: PlutoniumPageShowcaseProps) {const {i18n} = useLingui();+ const showArt = !RuntimeConfig.isSelfHosted();return (<>{PERK_CARDS.map((card, index) => {@@ -254,12 +222,14 @@ export function PlutoniumPageShowcase({return (<articlekey={card.id}- className={clsx(styles.perkRow, flipped && styles.perkRowFlipped)}+ className={clsx(styles.perkRow, showArt ? flipped && styles.perkRowFlipped : styles.perkRowTextOnly)}data-flx={`premium.plutonium-page.perk-row.${card.id}`}>- <div className={styles.perkArtColumn} data-flx="premium.plutonium-page.perk-row.art-column">- <PerkArt card={card} eager={index === 0} />- </div>+ {showArt && (+ <div className={styles.perkArtColumn} data-flx="premium.plutonium-page.perk-row.art-column">+ <PerkArt card={card} eager={index === 0} />+ </div>+ )}<div className={styles.perkTextColumn} data-flx="premium.plutonium-page.perk-row.text-column"><h2 className={styles.perkTitle} data-flx="premium.plutonium-page.perk-row.title">{i18n._(card.title, {size: uploadSize})}diff --git a/fluxer_app/src/features/ui/components/icons/InboxIcon.tsx b/fluxer_app/src/features/ui/components/icons/InboxIcon.tsxindex 120db31a0..5f99a81a4 100644--- a/fluxer_app/src/features/ui/components/icons/InboxIcon.tsx+++ b/fluxer_app/src/features/ui/components/icons/InboxIcon.tsx@@ -1,4 +1,5 @@-// SPDX-License-Identifier: AGPL-3.0-or-later+// SPDX-License-Identifier: AGPL-3.0-or-later AND Apache-2.0+// SPDX-FileCopyrightText: Google LLCimport {remFromPx} from '@app/features/theme/layout/RemFromPx';import type {IconProps} from '@phosphor-icons/react';diff --git a/fluxer_app/src/media/images/fluxer-logo-color.svg b/fluxer_app/src/media/images/fluxer-logo-color.svgindex dfb149804..3cddaf188 100644--- a/fluxer_app/src/media/images/fluxer-logo-color.svg+++ b/fluxer_app/src/media/images/fluxer-logo-color.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="#4641D9" d="M512 256C512 114.615 397.385 0 256 0S0 114.615 0 256s114.615 256 256 256 256-114.615 256-256Z"/><path fill="#fff" d="M121.272 233.143c-13.443 0-24.6738-10.866-23.0194-24.208 1.7884-14.418 5.4904-26.692 11.1064-36.821 8.685-15.39 19.962-26.59 33.828-33.6 14.019-7.009 28.8-10.514 44.343-10.514 15.543 0 29.638 3.505 42.286 10.514 12.8 6.857 27.657 17.372 44.571 31.543 11.429 9.6 20.419 16.457 26.972 20.572 6.704 3.961 14.171 5.942 22.4 5.942 13.257 0 23.695-4.723 31.314-14.171 3.633-4.505 6.348-10.015 8.145-16.53 3.686-13.366 14.025-25.07 27.889-25.07 13.392 0 24.638 10.739 23.095 24.042-1.681 14.49-5.391 26.819-11.129 36.987-8.686 15.39-20.038 26.59-34.057 33.6-14.019 7.009-28.8 10.514-44.343 10.514-15.543 0-29.714-3.276-42.514-9.829-12.8-6.704-27.581-17.447-44.343-32.228-10.972-9.6-19.886-16.381-26.743-20.343-6.857-4.114-14.4-6.172-22.629-6.172-12.343 0-22.552 4.267-30.628 12.8-4.204 4.442-7.252 10.452-9.143 18.031-3.337 13.367-13.623 24.941-27.401 24.941Zm0 138.057c-13.443 0-24.6738-10.866-23.0194-24.207 1.7884-14.419 5.4904-26.693 11.1064-36.822 8.685-15.39 19.962-26.59 33.828-33.6 14.019-7.009 28.8-10.514 44.343-10.514 15.543 0 29.638 3.505 42.286 10.514 12.8 6.858 27.657 17.372 44.571 31.543 11.429 9.6 20.419 16.457 26.972 20.572 6.704 3.962 14.171 5.943 22.4 5.943 13.257 0 23.695-4.724 31.314-14.172 3.633-4.505 6.348-10.015 8.145-16.53 3.686-13.366 14.025-25.07 27.889-25.07 13.392 0 24.638 10.74 23.095 24.042-1.681 14.49-5.391 26.819-11.129 36.987-8.686 15.39-20.038 26.59-34.057 33.6-14.019 7.009-28.8 10.514-44.343 10.514-15.543 0-29.714-3.276-42.514-9.829-12.8-6.704-27.581-17.447-44.343-32.228-10.972-9.6-19.886-16.381-26.743-20.343-6.857-4.114-14.4-6.171-22.629-6.171-12.343 0-22.552 4.266-30.628 12.8-4.204 4.441-7.252 10.451-9.143 18.03-3.337 13.367-13.623 24.941-27.401 24.941Z"/>diff --git a/fluxer_app/src/media/images/fluxer-logo-monochrome.svg b/fluxer_app/src/media/images/fluxer-logo-monochrome.svgindex da0e0e36d..f90854efc 100644--- a/fluxer_app/src/media/images/fluxer-logo-monochrome.svg+++ b/fluxer_app/src/media/images/fluxer-logo-monochrome.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="currentColor" d="M256 0c141.385 0 256 114.615 256 256S397.385 512 256 512 0 397.385 0 256 114.615 0 256 0Zm-68.47 266.057c-15.543 0-30.324 3.505-44.343 10.514-13.866 7.01-25.143 18.21-33.828 33.6-5.616 10.129-9.318 22.403-11.1061 36.822-1.6543 13.341 9.5761 24.207 23.0181 24.207 13.778 0 24.065-11.574 27.402-24.941 1.891-7.579 4.939-13.589 9.142-18.03 8.076-8.534 18.286-12.8 30.629-12.8 8.229 0 15.772 2.057 22.629 6.171 6.857 3.962 15.771 10.743 26.742 20.343 16.762 14.781 31.544 25.524 44.344 32.228 12.8 6.553 26.971 9.829 42.514 9.829 15.543 0 30.324-3.505 44.343-10.514 14.019-7.01 25.371-18.21 34.057-33.6 5.738-10.168 9.448-22.497 11.129-36.987 1.543-13.302-9.704-24.042-23.096-24.042-13.863.001-24.202 11.704-27.888 25.07-1.797 6.515-4.512 12.025-8.145 16.53-7.619 9.448-18.057 14.172-31.314 14.172-8.229 0-15.696-1.982-22.4-5.943-6.553-4.115-15.543-10.972-26.972-20.572-16.914-14.171-31.772-24.685-44.572-31.543-12.647-7.009-26.742-10.514-42.285-10.514Zm0-138.057c-15.543 0-30.324 3.505-44.343 10.514-13.866 7.01-25.143 18.21-33.828 33.6-5.616 10.129-9.318 22.403-11.1061 36.821-1.6544 13.341 9.5761 24.207 23.0181 24.208 13.778 0 24.065-11.574 27.402-24.941 1.891-7.579 4.939-13.589 9.142-18.031 8.076-8.533 18.286-12.8 30.629-12.8 8.229 0 15.772 2.058 22.629 6.172 6.857 3.962 15.771 10.743 26.742 20.343 16.762 14.781 31.544 25.524 44.344 32.228 12.8 6.553 26.971 9.829 42.514 9.829 15.543 0 30.324-3.505 44.343-10.514 14.019-7.01 25.371-18.21 34.057-33.6 5.738-10.168 9.448-22.497 11.129-36.987 1.543-13.303-9.704-24.042-23.096-24.042-13.863 0-24.202 11.704-27.888 25.07-1.797 6.515-4.512 12.025-8.145 16.53-7.619 9.448-18.057 14.171-31.314 14.171-8.229 0-15.696-1.981-22.4-5.942-6.553-4.115-15.543-10.972-26.972-20.572-16.914-14.171-31.772-24.686-44.572-31.543C217.168 131.505 203.073 128 187.53 128Z"/></svg>\ No newline at end of filediff --git a/fluxer_app/src/media/images/fluxer-logo-wordmark-monochrome.svg b/fluxer_app/src/media/images/fluxer-logo-wordmark-monochrome.svgindex bf4144534..9112bb8ad 100644--- a/fluxer_app/src/media/images/fluxer-logo-wordmark-monochrome.svg+++ b/fluxer_app/src/media/images/fluxer-logo-wordmark-monochrome.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1959 512"><path fill="currentColor" d="M585 431.4V93.48h82.944V431.4H585Zm41.472-120.32v-67.584h172.032v67.584H626.472Zm0-148.48V93.48h189.44v69.12h-189.44ZM843.951 431.4V73h82.944v358.4h-82.944ZM1047.92 438.568c-29.35 0-51.2-10.24-65.536-30.72-13.995-20.48-20.992-51.883-20.992-94.208V161.064h82.948v151.552c0 19.797 2.73 33.621 8.19 41.472 5.8 7.851 13.99 11.776 24.57 11.776 7.51 0 14.34-1.877 20.48-5.632 6.49-4.096 12.12-10.069 16.9-17.92 4.78-8.192 8.36-18.603 10.75-31.232 2.73-12.629 4.1-27.819 4.1-45.568V161.064h82.94V431.4h-70.65V325.928h-3.59c-2.05 26.283-6.65 47.787-13.82 64.512-7.17 16.384-17.07 28.501-29.7 36.352-12.63 7.851-28.16 11.776-46.59 11.776ZM1232.57 431.4l84.99-135.68-83.97-134.656h96.26l39.42 87.552h2.56l38.4-87.552h95.23l-81.4 134.656 82.43 135.68h-97.79l-37.38-86.016h-2.05L1327.8 431.4h-95.23Z"/><path fill="currentColor" d="M1630.96 438.568c-25.6 0-47.1-3.584-64.51-10.752-17.06-7.509-30.89-17.579-41.47-30.208-10.58-12.971-18.26-27.648-23.04-44.032-4.44-16.384-6.66-33.621-6.66-51.712 0-19.456 2.39-38.059 7.17-55.808 5.12-17.749 12.8-33.451 23.04-47.104 10.58-13.995 24.07-24.917 40.45-32.768 16.73-8.192 36.69-12.288 59.9-12.288s43.01 4.096 59.4 12.288c16.72 7.851 30.03 18.944 39.93 33.28 9.9 14.336 16.22 30.891 18.95 49.664 3.07 18.773 2.73 39.083-1.03 60.928L1547 313.128v-45.056l132.6-2.56-10.75 26.112c2.05-15.701 1.71-28.843-1.02-39.424-2.39-10.923-7-19.115-13.83-24.576-6.82-5.803-16.21-8.704-28.16-8.704-12.63 0-22.69 3.243-30.2 9.728-7.51 6.485-12.8 15.701-15.88 27.648-3.07 11.605-4.6 25.429-4.6 41.472 0 27.648 4.6 47.787 13.82 60.416 9.22 12.629 23.38 18.944 42.5 18.944 8.19 0 15.01-1.024 20.48-3.072 5.46-2.048 9.89-4.949 13.31-8.704 3.41-4.096 5.8-8.875 7.17-14.336 1.36-5.803 1.87-12.288 1.53-19.456l75.78 4.096c1.02 11.264-.17 22.869-3.59 34.816-3.07 11.947-9.04 23.04-17.92 33.28-8.87 10.24-21.33 18.603-37.37 25.088-15.7 6.485-35.67 9.728-59.91 9.728ZM1778.45 431.4V161.064h71.68v107.52h4.1c2.05-28.672 5.97-51.2 11.77-67.584 6.15-16.725 13.66-28.501 22.53-35.328 9.22-7.168 19.46-10.752 30.72-10.752 6.15 0 12.46.853 18.95 2.56 6.82 1.707 13.48 4.437 19.96 8.192l-4.09 92.16c-7.51-4.437-14.85-7.68-22.02-9.728-7.17-2.389-13.99-3.584-20.48-3.584-10.92 0-20.14 3.072-27.65 9.216-7.51 6.144-13.31 15.189-17.4 27.136-3.76 11.947-5.64 26.453-5.64 43.52V431.4h-82.43ZM256 0c141.385 0 256 114.615 256 256S397.385 512 256 512 0 397.385 0 256 114.615 0 256 0Zm-68.47 266.057c-15.543 0-30.324 3.505-44.343 10.514-13.866 7.01-25.143 18.21-33.828 33.6-5.616 10.129-9.318 22.403-11.1061 36.822-1.6543 13.341 9.5761 24.207 23.0181 24.207 13.778 0 24.065-11.574 27.402-24.941 1.891-7.579 4.939-13.589 9.142-18.03 8.076-8.534 18.286-12.8 30.629-12.8 8.229 0 15.772 2.057 22.629 6.171 6.857 3.962 15.771 10.743 26.742 20.343 16.762 14.781 31.544 25.524 44.344 32.228 12.8 6.553 26.971 9.829 42.514 9.829 15.543 0 30.324-3.505 44.343-10.514 14.019-7.01 25.371-18.21 34.057-33.6 5.738-10.168 9.448-22.497 11.129-36.987 1.543-13.302-9.704-24.042-23.096-24.042-13.863.001-24.202 11.704-27.888 25.07-1.797 6.515-4.512 12.025-8.145 16.53-7.619 9.448-18.057 14.172-31.314 14.172-8.229 0-15.696-1.982-22.4-5.943-6.553-4.115-15.543-10.972-26.972-20.572-16.914-14.171-31.772-24.685-44.572-31.543-12.647-7.009-26.742-10.514-42.285-10.514Zm0-138.057c-15.543 0-30.324 3.505-44.343 10.514-13.866 7.01-25.143 18.21-33.828 33.6-5.616 10.129-9.318 22.403-11.1061 36.821-1.6544 13.341 9.5761 24.207 23.0181 24.208 13.778 0 24.065-11.574 27.402-24.941 1.891-7.579 4.939-13.589 9.142-18.031 8.076-8.533 18.286-12.8 30.629-12.8 8.229 0 15.772 2.058 22.629 6.172 6.857 3.962 15.771 10.743 26.742 20.343 16.762 14.781 31.544 25.524 44.344 32.228 12.8 6.553 26.971 9.829 42.514 9.829 15.543 0 30.324-3.505 44.343-10.514 14.019-7.01 25.371-18.21 34.057-33.6 5.738-10.168 9.448-22.497 11.129-36.987 1.543-13.303-9.704-24.042-23.096-24.042-13.863 0-24.202 11.704-27.888 25.07-1.797 6.515-4.512 12.025-8.145 16.53-7.619 9.448-18.057 14.171-31.314 14.171-8.229 0-15.696-1.981-22.4-5.942-6.553-4.115-15.543-10.972-26.972-20.572-16.914-14.171-31.772-24.686-44.572-31.543C217.168 131.505 203.073 128 187.53 128Z"/>diff --git a/fluxer_app/src/media/images/fluxer-wordmark.svg b/fluxer_app/src/media/images/fluxer-wordmark.svgindex cd71daf04..123b38f2f 100644--- a/fluxer_app/src/media/images/fluxer-wordmark.svg+++ b/fluxer_app/src/media/images/fluxer-wordmark.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1374 366"><path fill="currentColor" d="M0 358.4V20.48h82.944V358.4H0Zm41.472-120.32v-67.584h172.032v67.584H41.472Zm0-148.48V20.48h189.44V89.6H41.472ZM258.951 358.4V0h82.944v358.4h-82.944ZM462.92 365.568c-29.35 0-51.2-10.24-65.536-30.72-13.995-20.48-20.992-51.883-20.992-94.208V88.064h82.948v151.552c0 19.797 2.73 33.621 8.19 41.472 5.8 7.851 13.99 11.776 24.57 11.776 7.51 0 14.34-1.877 20.48-5.632 6.49-4.096 12.12-10.069 16.9-17.92 4.78-8.192 8.36-18.603 10.75-31.232 2.73-12.629 4.1-27.819 4.1-45.568V88.064h82.94V358.4h-70.65V252.928h-3.59c-2.05 26.283-6.65 47.787-13.82 64.512-7.17 16.384-17.07 28.501-29.7 36.352-12.63 7.851-28.16 11.776-46.59 11.776ZM647.569 358.4l84.99-135.68-83.97-134.656h96.26l39.42 87.552h2.56l38.4-87.552h95.23l-81.4 134.656 82.43 135.68h-97.79l-37.38-86.016h-2.05l-41.47 86.016h-95.23Z"/><path fill="currentColor" d="M1045.96 365.568c-25.6 0-47.101-3.584-64.511-10.752-17.06-7.509-30.89-17.579-41.47-30.208-10.58-12.971-18.26-27.648-23.04-44.032-4.44-16.384-6.66-33.621-6.66-51.712 0-19.456 2.39-38.059 7.17-55.808 5.12-17.749 12.8-33.451 23.04-47.104 10.58-13.995 24.07-24.917 40.45-32.768 16.73-8.192 36.691-12.288 59.901-12.288s43.01 4.096 59.4 12.288c16.72 7.851 30.03 18.944 39.93 33.28 9.9 14.336 16.22 30.891 18.95 49.664 3.07 18.773 2.73 39.083-1.03 60.928l-196.091 3.072v-45.056l132.601-2.56-10.75 26.112c2.05-15.701 1.71-28.843-1.02-39.424-2.39-10.923-7-19.115-13.83-24.576-6.82-5.803-16.21-8.704-28.16-8.704-12.63 0-22.69 3.243-30.2 9.728-7.51 6.485-12.801 15.701-15.881 27.648-3.07 11.605-4.6 25.429-4.6 41.472 0 27.648 4.6 47.787 13.821 60.416 9.22 12.629 23.38 18.944 42.5 18.944 8.19 0 15.01-1.024 20.48-3.072 5.46-2.048 9.89-4.949 13.31-8.704 3.41-4.096 5.8-8.875 7.17-14.336 1.36-5.803 1.87-12.288 1.53-19.456l75.78 4.096c1.02 11.264-.17 22.869-3.59 34.816-3.07 11.947-9.04 23.04-17.92 33.28-8.87 10.24-21.33 18.603-37.37 25.088-15.7 6.485-35.67 9.728-59.91 9.728ZM1193.45 358.4V88.0639h71.68V195.584h4.1c2.05-28.672 5.97-51.2 11.77-67.584 6.15-16.725 13.66-28.5011 22.53-35.3281 9.22-7.168 19.46-10.752 30.72-10.752 6.15 0 12.46.853 18.95 2.56 6.82 1.707 13.48 4.437 19.96 8.192l-4.09 92.1601c-7.51-4.437-14.85-7.68-22.02-9.728-7.17-2.389-13.99-3.584-20.48-3.584-10.92 0-20.14 3.072-27.65 9.216-7.51 6.144-13.31 15.189-17.4 27.136-3.76 11.947-5.64 26.453-5.64 43.52V358.4h-82.43Z"/>diff --git a/fluxer_app/src/media/images/i-like-food.svg b/fluxer_app/src/media/images/i-like-food.svgindex aacc5cf06..5a4c15187 100644--- a/fluxer_app/src/media/images/i-like-food.svg+++ b/fluxer_app/src/media/images/i-like-food.svg@@ -1,2 +1,3 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-4.0 -->+<!-- SPDX-FileCopyrightText: Steve Schoger --><svg xmlns="http://www.w3.org/2000/svg" width="260" height="260" viewBox="0 0 260 260"><g fill-rule="evenodd"><g id="i-like-food" fill="#000"><path d="M24.37 16c.2.65.39 1.32.54 2H21.17l1.17 2.34.45.9-.24.11V28a5 5 0 0 1-2.23 8.94l-.02.06a8 8 0 0 1-7.75 6h-20a8 8 0 0 1-7.74-6l-.02-.06A5 5 0 0 1-17.45 28v-6.76l-.79-1.58-.44-.9.9-.44.63-.32H-20a23.01 23.01 0 0 1 44.37-2zm-36.82 2a1 1 0 0 0-.44.1l-3.1 1.56.89 1.79 1.31-.66a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .86.02l2.88-1.27a3 3 0 0 1 2.43 0l2.88 1.27a1 1 0 0 0 .85-.02l3.1-1.55-.89-1.79-1.42.71a3 3 0 0 1-2.56.06l-2.77-1.23a1 1 0 0 0-.4-.09h-.01a1 1 0 0 0-.4.09l-2.78 1.23a3 3 0 0 1-2.56-.06l-2.3-1.15a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1L.9 19.22a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01zm0-2h-4.9a21.01 21.01 0 0 1 39.61 0h-2.09l-.06-.13-.26.13h-32.31zm30.35 7.68l1.36-.68h1.3v2h-36v-1.15l.34-.17 1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0L2.26 23h2.59l1.36.68a3 3 0 0 0 2.56.06l1.67-.74h3.23l1.67.74a3 3 0 0 0 2.56-.06zM-13.82 27l16.37 4.91L18.93 27h-32.75zm-.63 2h.34l16.66 5 16.67-5h.33a3 3 0 1 1 0 6h-34a3 3 0 1 1 0-6zm1.35 8a6 6 0 0 0 5.65 4h20a6 6 0 0 0 5.66-4H-13.1z"/><path id="path6_fill-copy" d="M284.37 16c.2.65.39 1.32.54 2H281.17l1.17 2.34.45.9-.24.11V28a5 5 0 0 1-2.23 8.94l-.02.06a8 8 0 0 1-7.75 6h-20a8 8 0 0 1-7.74-6l-.02-.06a5 5 0 0 1-2.24-8.94v-6.76l-.79-1.58-.44-.9.9-.44.63-.32H240a23.01 23.01 0 0 1 44.37-2zm-36.82 2a1 1 0 0 0-.44.1l-3.1 1.56.89 1.79 1.31-.66a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .86.02l2.88-1.27a3 3 0 0 1 2.43 0l2.88 1.27a1 1 0 0 0 .85-.02l3.1-1.55-.89-1.79-1.42.71a3 3 0 0 1-2.56.06l-2.77-1.23a1 1 0 0 0-.4-.09h-.01a1 1 0 0 0-.4.09l-2.78 1.23a3 3 0 0 1-2.56-.06l-2.3-1.15a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01zm0-2h-4.9a21.01 21.01 0 0 1 39.61 0h-2.09l-.06-.13-.26.13h-32.31zm30.35 7.68l1.36-.68h1.3v2h-36v-1.15l.34-.17 1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.56.06l1.67-.74h3.23l1.67.74a3 3 0 0 0 2.56-.06zM246.18 27l16.37 4.91L278.93 27h-32.75zm-.63 2h.34l16.66 5 16.67-5h.33a3 3 0 1 1 0 6h-34a3 3 0 1 1 0-6zm1.35 8a6 6 0 0 0 5.65 4h20a6 6 0 0 0 5.66-4H246.9z"/><path d="M159.5 21.02A9 9 0 0 0 151 15h-42a9 9 0 0 0-8.5 6.02 6 6 0 0 0 .02 11.96A8.99 8.99 0 0 0 109 45h42a9 9 0 0 0 8.48-12.02 6 6 0 0 0 .02-11.96zM151 17h-42a7 7 0 0 0-6.33 4h54.66a7 7 0 0 0-6.33-4zm-9.34 26a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-4.34a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-4.34a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-7a7 7 0 1 1 0-14h42a7 7 0 1 1 0 14h-9.34zM109 27a9 9 0 0 0-7.48 4H101a4 4 0 1 1 0-8h58a4 4 0 0 1 0 8h-.52a9 9 0 0 0-7.48-4h-42z"/><path d="M39 115a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm6-8a6 6 0 1 1-12 0 6 6 0 0 1 12 0zm-3-29v-2h8v-6H40a4 4 0 0 0-4 4v10H22l-1.33 4-.67 2h2.19L26 130h26l3.81-40H58l-.67-2L56 84H42v-6zm-4-4v10h2V74h8v-2h-8a2 2 0 0 0-2 2zm2 12h14.56l.67 2H22.77l.67-2H40zm13.8 4H24.2l3.62 38h22.36l3.62-38z"/><path d="M129 92h-6v4h-6v4h-6v14h-3l.24 2 3.76 32h36l3.76-32 .24-2h-3v-14h-6v-4h-6v-4h-8zm18 22v-12h-4v4h3v8h1zm-3 0v-6h-4v6h4zm-6 6v-16h-4v19.17c1.6-.7 2.97-1.8 4-3.17zm-6 3.8V100h-4v23.8a10.04 10.04 0 0 0 4 0zm-6-.63V104h-4v16a10.04 10.04 0 0 0 4 3.17zm-6-9.17v-6h-4v6h4zm-6 0v-8h3v-4h-4v12h1zm27-12v-4h-4v4h3v4h1v-4zm-6 0v-8h-4v4h3v4h1zm-6-4v-4h-4v8h1v-4h3zm-6 4v-4h-4v8h1v-4h3zm7 24a12 12 0 0 0 11.83-10h7.92l-3.53 30h-32.44l-3.53-30h7.92A12 12 0 0 0 130 126z"/><path d="M212 86v2h-4v-2h4zm4 0h-2v2h2v-2zm-20 0v.1a5 5 0 0 0-.56 9.65l.06.25 1.12 4.48a2 2 0 0 0 1.94 1.52h.01l7.02 24.55a2 2 0 0 0 1.92 1.45h4.98a2 2 0 0 0 1.92-1.45l7.02-24.55a2 2 0 0 0 1.95-1.52L224.5 96l.06-.25a5 5 0 0 0-.56-9.65V86a14 14 0 0 0-28 0zm4 0h6v2h-9a3 3 0 1 0 0 6H223a3 3 0 1 0 0-6H220v-2h2a12 12 0 1 0-24 0h2zm-1.44 14l-1-4h24.88l-1 4h-22.88zm8.95 26l-6.86-24h18.7l-6.86 24h-4.98zM150 242a22 22 0 1 0 0-44 22 22 0 0 0 0 44zm24-22a24 24 0 1 1-48 0 24 24 0 0 1 48 0zm-28.38 17.73l2.04-.87a6 6 0 0 1 4.68 0l2.04.87a2 2 0 0 0 2.5-.82l1.14-1.9a6 6 0 0 1 3.79-2.75l2.15-.5a2 2 0 0 0 1.54-2.12l-.19-2.2a6 6 0 0 1 1.45-4.46l1.45-1.67a2 2 0 0 0 0-2.62l-1.45-1.67a6 6 0 0 1-1.45-4.46l.2-2.2a2 2 0 0 0-1.55-2.13l-2.15-.5a6 6 0 0 1-3.8-2.75l-1.13-1.9a2 2 0 0 0-2.5-.8l-2.04.86a6 6 0 0 1-4.68 0l-2.04-.87a2 2 0 0 0-2.5.82l-1.14 1.9a6 6 0 0 1-3.79 2.75l-2.15.5a2 2 0 0 0-1.54 2.12l.19 2.2a6 6 0 0 1-1.45 4.46l-1.45 1.67a2 2 0 0 0 0 2.62l1.45 1.67a6 6 0 0 1 1.45 4.46l-.2 2.2a2 2 0 0 0 1.55 2.13l2.15.5a6 6 0 0 1 3.8 2.75l1.13 1.9a2 2 0 0 0 2.5.8zm2.82.97a4 4 0 0 1 3.12 0l2.04.87a4 4 0 0 0 4.99-1.62l1.14-1.9a4 4 0 0 1 2.53-1.84l2.15-.5a4 4 0 0 0 3.09-4.24l-.2-2.2a4 4 0 0 1 .97-2.98l1.45-1.67a4 4 0 0 0 0-5.24l-1.45-1.67a4 4 0 0 1-.97-2.97l.2-2.2a4 4 0 0 0-3.09-4.25l-2.15-.5a4 4 0 0 1-2.53-1.84l-1.14-1.9a4 4 0 0 0-5-1.62l-2.03.87a4 4 0 0 1-3.12 0l-2.04-.87a4 4 0 0 0-4.99 1.62l-1.14 1.9a4 4 0 0 1-2.53 1.84l-2.15.5a4 4 0 0 0-3.09 4.24l.2 2.2a4 4 0 0 1-.97 2.98l-1.45 1.67a4 4 0 0 0 0 5.24l1.45 1.67a4 4 0 0 1 .97 2.97l-.2 2.2a4 4 0 0 0 3.09 4.25l2.15.5a4 4 0 0 1 2.53 1.84l1.14 1.9a4 4 0 0 0 5 1.62l2.03-.87zM152 207a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm6 2a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-11 1a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-6 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm3-5a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-8 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm3 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm0 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm5-2a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm5 4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4-6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm6-4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-4-3a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4-3a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-5-4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-24 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm16 5a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm7-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0zm86-29a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm19 9a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-14 5a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-25 1a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm5 4a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm9 0a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm15 1a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm12-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-11-14a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-19 0a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm6 5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-25 15c0-.47.01-.94.03-1.4a5 5 0 0 1-1.7-8 3.99 3.99 0 0 1 1.88-5.18 5 5 0 0 1 3.4-6.22 3 3 0 0 1 1.46-1.05 5 5 0 0 1 7.76-3.27A30.86 30.86 0 0 1 246 184c6.79 0 13.06 2.18 18.17 5.88a5 5 0 0 1 7.76 3.27 3 3 0 0 1 1.47 1.05 5 5 0 0 1 3.4 6.22 4 4 0 0 1 1.87 5.18 4.98 4.98 0 0 1-1.7 8c.02.46.03.93.03 1.4v1h-62v-1zm.83-7.17a30.9 30.9 0 0 0-.62 3.57 3 3 0 0 1-.61-4.2c.37.28.78.49 1.23.63zm1.49-4.61c-.36.87-.68 1.76-.96 2.68a2 2 0 0 1-.21-3.71c.33.4.73.75 1.17 1.03zm2.32-4.54c-.54.86-1.03 1.76-1.49 2.68a3 3 0 0 1-.07-4.67 3 3 0 0 0 1.56 1.99zm1.14-1.7c.35-.5.72-.98 1.1-1.46a1 1 0 1 0-1.1 1.45zm5.34-5.77c-1.03.86-2 1.79-2.9 2.77a3 3 0 0 0-1.11-.77 3 3 0 0 1 4-2zm42.66 2.77c-.9-.98-1.87-1.9-2.9-2.77a3 3 0 0 1 4.01 2 3 3 0 0 0-1.1.77zm1.34 1.54c.38.48.75.96 1.1 1.45a1 1 0 1 0-1.1-1.45zm3.73 5.84c-.46-.92-.95-1.82-1.5-2.68a3 3 0 0 0 1.57-1.99 3 3 0 0 1-.07 4.67zm1.8 4.53c-.29-.9-.6-1.8-.97-2.67.44-.28.84-.63 1.17-1.03a2 2 0 0 1-.2 3.7zm1.14 5.51c-.14-1.21-.35-2.4-.62-3.57.45-.14.86-.35 1.23-.63a2.99 2.99 0 0 1-.6 4.2zM275 214a29 29 0 0 0-57.97 0h57.96zM72.33 198.12c-.21-.32-.34-.7-.34-1.12v-12h-2v12a4.01 4.01 0 0 0 7.09 2.54c.57-.69.91-1.57.91-2.54v-12h-2v12a1.99 1.99 0 0 1-2 2 2 2 0 0 1-1.66-.88zM75 176c.38 0 .74-.04 1.1-.12a4 4 0 0 0 6.19 2.4A13.94 13.94 0 0 1 84 185v24a6 6 0 0 1-6 6h-3v9a5 5 0 1 1-10 0v-9h-3a6 6 0 0 1-6-6v-24a14 14 0 0 1 14-14 5 5 0 0 0 5 5zm-17 15v12a1.99 1.99 0 0 0 1.22 1.84 2 2 0 0 0 2.44-.72c.21-.32.34-.7.34-1.12v-12h2v12a3.98 3.98 0 0 1-5.35 3.77 3.98 3.98 0 0 1-.65-.3V209a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4v-24c.01-1.53-.23-2.88-.72-4.17-.43.1-.87.16-1.28.17a6 6 0 0 1-5.2-3 7 7 0 0 1-6.47-4.88A12 12 0 0 0 58 185v6zm9 24v9a3 3 0 1 0 6 0v-9h-6z"/><path d="M-17 191a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm19 9a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1zm-14 5a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-25 1a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm5 4a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm9 0a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm15 1a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm12-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2H4zm-11-14a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-19 0a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm6 5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-25 15c0-.47.01-.94.03-1.4a5 5 0 0 1-1.7-8 3.99 3.99 0 0 1 1.88-5.18 5 5 0 0 1 3.4-6.22 3 3 0 0 1 1.46-1.05 5 5 0 0 1 7.76-3.27A30.86 30.86 0 0 1-14 184c6.79 0 13.06 2.18 18.17 5.88a5 5 0 0 1 7.76 3.27 3 3 0 0 1 1.47 1.05 5 5 0 0 1 3.4 6.22 4 4 0 0 1 1.87 5.18 4.98 4.98 0 0 1-1.7 8c.02.46.03.93.03 1.4v1h-62v-1zm.83-7.17a30.9 30.9 0 0 0-.62 3.57 3 3 0 0 1-.61-4.2c.37.28.78.49 1.23.63zm1.49-4.61c-.36.87-.68 1.76-.96 2.68a2 2 0 0 1-.21-3.71c.33.4.73.75 1.17 1.03zm2.32-4.54c-.54.86-1.03 1.76-1.49 2.68a3 3 0 0 1-.07-4.67 3 3 0 0 0 1.56 1.99zm1.14-1.7c.35-.5.72-.98 1.1-1.46a1 1 0 1 0-1.1 1.45zm5.34-5.77c-1.03.86-2 1.79-2.9 2.77a3 3 0 0 0-1.11-.77 3 3 0 0 1 4-2zm42.66 2.77c-.9-.98-1.87-1.9-2.9-2.77a3 3 0 0 1 4.01 2 3 3 0 0 0-1.1.77zm1.34 1.54c.38.48.75.96 1.1 1.45a1 1 0 1 0-1.1-1.45zm3.73 5.84c-.46-.92-.95-1.82-1.5-2.68a3 3 0 0 0 1.57-1.99 3 3 0 0 1-.07 4.67zm1.8 4.53c-.29-.9-.6-1.8-.97-2.67.44-.28.84-.63 1.17-1.03a2 2 0 0 1-.2 3.7zm1.14 5.51c-.14-1.21-.35-2.4-.62-3.57.45-.14.86-.35 1.23-.63a2.99 2.99 0 0 1-.6 4.2zM15 214a29 29 0 0 0-57.97 0h57.96z"/></g></g></svg>\ No newline at end of filediff --git a/fluxer_app/src/media/images/neko.png.license b/fluxer_app/src/media/images/neko.png.licensenew file mode 100644index 000000000..7ef2a1732--- /dev/null+++ b/fluxer_app/src/media/images/neko.png.license@@ -0,0 +1,12 @@+SPDX-License-Identifier: MIT+SPDX-FileCopyrightText: 2022 adryd++Source: https://github.com/adryd325/oneko.js (oneko.gif)++Copyright © 2022 adryd++Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.diff --git a/fluxer_app/src/media/images/plutonium/avatar-lsf.webp b/fluxer_app/src/media/images/plutonium/avatar-lsf.webpdeleted file mode 100644index e3581a752..000000000Binary files a/fluxer_app/src/media/images/plutonium/avatar-lsf.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/banner-lsf.webp b/fluxer_app/src/media/images/plutonium/banner-lsf.webpdeleted file mode 100644index 01985fb38..000000000Binary files a/fluxer_app/src/media/images/plutonium/banner-lsf.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/emoji-catvibe.webp b/fluxer_app/src/media/images/plutonium/emoji-catvibe.webpdeleted file mode 100644index f99ff2775..000000000Binary files a/fluxer_app/src/media/images/plutonium/emoji-catvibe.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/emoji-catwave.webp b/fluxer_app/src/media/images/plutonium/emoji-catwave.webpdeleted file mode 100644index f022da19b..000000000Binary files a/fluxer_app/src/media/images/plutonium/emoji-catwave.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.avifdeleted file mode 100644index bfb8ec8ae..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.webpdeleted file mode 100644index cae8e2f75..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1120w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.avifdeleted file mode 100644index 9b663ebf2..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.webpdeleted file mode 100644index 8d8524597..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-1600w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.avifdeleted file mode 100644index 43b3af737..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.webpdeleted file mode 100644index cc7188e05..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-expressions-640w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.avifdeleted file mode 100644index e336a58dc..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.webpdeleted file mode 100644index bf6c3d9ba..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1120w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.avifdeleted file mode 100644index eec2be91c..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.webpdeleted file mode 100644index 83e30da34..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-1600w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.avifdeleted file mode 100644index 9ac84241f..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.webpdeleted file mode 100644index fa16a4c41..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-profile-640w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.avifdeleted file mode 100644index 944a04aaf..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.webpdeleted file mode 100644index a0a883eb8..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1120w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.avifdeleted file mode 100644index 40e773141..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.webpdeleted file mode 100644index 3233a5c15..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-1600w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.avifdeleted file mode 100644index 128446a68..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.webpdeleted file mode 100644index ae2da769d..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-stream-640w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.avifdeleted file mode 100644index 00e8b7e15..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.webpdeleted file mode 100644index c77de2027..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1120w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.avifdeleted file mode 100644index 741d981d3..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.webpdeleted file mode 100644index 169bc0ca3..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-1600w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.avif b/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.avifdeleted file mode 100644index e11391e5c..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.webp b/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.webpdeleted file mode 100644index 36e5483b6..000000000Binary files a/fluxer_app/src/media/images/plutonium/feature-perk-upload-640w.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/plutonium-crown.avif b/fluxer_app/src/media/images/plutonium/plutonium-crown.avifdeleted file mode 100644index a6ad7eb13..000000000Binary files a/fluxer_app/src/media/images/plutonium/plutonium-crown.avif and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/plutonium-crown.webp b/fluxer_app/src/media/images/plutonium/plutonium-crown.webpdeleted file mode 100644index 796554eb7..000000000Binary files a/fluxer_app/src/media/images/plutonium/plutonium-crown.webp and /dev/null differdiff --git a/fluxer_app/src/media/images/plutonium/sticker-feel-that.webp b/fluxer_app/src/media/images/plutonium/sticker-feel-that.webpdeleted file mode 100644index 15cc17bd9..000000000Binary files a/fluxer_app/src/media/images/plutonium/sticker-feel-that.webp and /dev/null differdiff --git a/fluxer_app/src/media/videos/banned.mp4 b/fluxer_app/src/media/videos/banned.mp4deleted file mode 100644index 168893c29..000000000Binary files a/fluxer_app/src/media/videos/banned.mp4 and /dev/null differdiff --git a/fluxer_app/src/media/videos/banned.webm b/fluxer_app/src/media/videos/banned.webmdeleted file mode 100644index 85467ebb7..000000000Binary files a/fluxer_app/src/media/videos/banned.webm and /dev/null differdiff --git a/fluxer_app/src/media/videos/banned.webp b/fluxer_app/src/media/videos/banned.webpdeleted file mode 100644index cd571217d..000000000Binary files a/fluxer_app/src/media/videos/banned.webp and /dev/null differdiff --git a/fluxer_app_proxy/src/csp.rs b/fluxer_app_proxy/src/csp.rsindex bd6493211..6c4003ceb 100644--- a/fluxer_app_proxy/src/csp.rs+++ b/fluxer_app_proxy/src/csp.rs@@ -96,6 +96,7 @@ const FRAME_SOURCES: &[&str] = &[const IMAGE_SOURCES: &[&str] = &["https://*.fluxer.app",+ "https://fluxer.app","https://i.ytimg.com","https://*.youtube.com","https://*.fluxer.media",@@ -104,6 +105,7 @@ const IMAGE_SOURCES: &[&str] = &[const MEDIA_SOURCES: &[&str] = &["https://*.fluxer.app",+ "https://fluxer.app","https://*.youtube.com","https://*.fluxer.media","https://fluxer.media",@@ -434,6 +436,24 @@ mod tests {assert!(csp.contains("frame-ancestors 'none'"));}+ #[test]+ fn build_csp_allows_the_apex_domain_for_images_and_media() {+ let config = default_csp_config();+ let csp = build_csp(&config, &[hash_of("boot()")], &runtime_sources());+ for name in ["img-src ", "media-src "] {+ let directive = csp+ .split("; ")+ .find(|directive| directive.starts_with(name))+ .expect("directive");+ assert!(+ directive+ .split(' ')+ .any(|source| source == "https://fluxer.app"),+ "{name}must allow the apex domain: {directive}"+ );+ }+ }+#[test]fn build_csp_allows_blob_connections_for_camera_background_media() {let config = default_csp_config();diff --git a/fluxer_app_proxy/src/routes/spa_index.rs b/fluxer_app_proxy/src/routes/spa_index.rsindex 4b87f037c..3e589f110 100644--- a/fluxer_app_proxy/src/routes/spa_index.rs+++ b/fluxer_app_proxy/src/routes/spa_index.rs@@ -74,7 +74,6 @@ const STATIC_ASSET_PREFIXES: &[&str] = &["/avatars/","/badges/","/desktop/",- "/embeds/","/emoji/","/libs/","/marketing/",diff --git a/fluxer_desktop/build_resources/icons-canary/AppIcon.icon/Assets/Vector.svg b/fluxer_desktop/build_resources/icons-canary/AppIcon.icon/Assets/Vector.svgindex 4b9133a1e..dc7dce7fe 100644--- a/fluxer_desktop/build_resources/icons-canary/AppIcon.icon/Assets/Vector.svg+++ b/fluxer_desktop/build_resources/icons-canary/AppIcon.icon/Assets/Vector.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg width="633" height="512" viewBox="0 0 633 512" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M46.3631 210.286C19.4771 210.286 -2.98429 188.554 0.324514 161.87C3.90111 133.034 11.3051 108.486 22.5371 88.228C39.9071 57.448 62.4611 35.048 90.1931 21.028C118.231 7.01002 147.793 0 178.879 0C209.965 0 238.155 7.01002 263.451 21.028C289.051 34.742 318.765 55.772 352.593 84.114C375.451 103.314 393.431 117.028 406.537 125.258C419.945 133.18 434.879 137.142 451.337 137.142C477.851 137.142 498.727 127.696 513.965 108.8C521.231 99.79 526.661 88.77 530.255 75.74C537.627 49.008 558.305 25.6 586.033 25.6C612.817 25.6 635.309 47.078 632.223 73.684C628.861 102.664 621.441 127.322 609.965 147.658C592.593 178.438 569.889 200.838 541.851 214.858C513.813 228.876 484.251 235.886 453.165 235.886C422.079 235.886 393.737 229.334 368.137 216.228C342.537 202.82 312.975 181.334 279.451 151.772C257.507 132.572 239.679 119.01 225.965 111.086C212.251 102.858 197.165 98.742 180.707 98.742C156.021 98.742 135.603 107.276 119.451 124.342C111.043 133.226 104.947 145.246 101.165 160.404C94.4911 187.138 73.9191 210.286 46.3631 210.286ZM46.3631 486.4C19.4771 486.4 -2.98429 464.668 0.324514 437.986C3.90111 409.148 11.3051 384.6 22.5371 364.342C39.9071 333.562 62.4611 311.162 90.1931 297.142C118.231 283.124 147.793 276.114 178.879 276.114C209.965 276.114 238.155 283.124 263.451 297.142C289.051 310.858 318.765 331.886 352.593 360.228C375.451 379.428 393.431 393.142 406.537 401.372C419.945 409.296 434.879 413.258 451.337 413.258C477.851 413.258 498.727 403.81 513.965 384.914C521.231 375.904 526.661 364.884 530.255 351.854C537.627 325.122 558.305 301.714 586.033 301.714C612.817 301.714 635.309 323.194 632.223 349.798C628.861 378.778 621.441 403.436 609.965 423.772C592.593 454.552 569.889 476.952 541.851 490.972C513.813 504.99 484.251 512 453.165 512C422.079 512 393.737 505.448 368.137 492.342C342.537 478.934 312.975 457.448 279.451 427.886C257.507 408.686 239.679 395.124 225.965 387.2C212.251 378.972 197.165 374.858 180.707 374.858C156.021 374.858 135.603 383.39 119.451 400.458C111.043 409.34 104.947 421.36 101.165 436.518C94.4911 463.252 73.9191 486.4 46.3631 486.4Z" fill="white"/></svg>diff --git a/fluxer_desktop/build_resources/icons-stable/AppIcon.icon/Assets/Vector.svg b/fluxer_desktop/build_resources/icons-stable/AppIcon.icon/Assets/Vector.svgindex 4b9133a1e..dc7dce7fe 100644--- a/fluxer_desktop/build_resources/icons-stable/AppIcon.icon/Assets/Vector.svg+++ b/fluxer_desktop/build_resources/icons-stable/AppIcon.icon/Assets/Vector.svg@@ -1,4 +1,5 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg width="633" height="512" viewBox="0 0 633 512" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M46.3631 210.286C19.4771 210.286 -2.98429 188.554 0.324514 161.87C3.90111 133.034 11.3051 108.486 22.5371 88.228C39.9071 57.448 62.4611 35.048 90.1931 21.028C118.231 7.01002 147.793 0 178.879 0C209.965 0 238.155 7.01002 263.451 21.028C289.051 34.742 318.765 55.772 352.593 84.114C375.451 103.314 393.431 117.028 406.537 125.258C419.945 133.18 434.879 137.142 451.337 137.142C477.851 137.142 498.727 127.696 513.965 108.8C521.231 99.79 526.661 88.77 530.255 75.74C537.627 49.008 558.305 25.6 586.033 25.6C612.817 25.6 635.309 47.078 632.223 73.684C628.861 102.664 621.441 127.322 609.965 147.658C592.593 178.438 569.889 200.838 541.851 214.858C513.813 228.876 484.251 235.886 453.165 235.886C422.079 235.886 393.737 229.334 368.137 216.228C342.537 202.82 312.975 181.334 279.451 151.772C257.507 132.572 239.679 119.01 225.965 111.086C212.251 102.858 197.165 98.742 180.707 98.742C156.021 98.742 135.603 107.276 119.451 124.342C111.043 133.226 104.947 145.246 101.165 160.404C94.4911 187.138 73.9191 210.286 46.3631 210.286ZM46.3631 486.4C19.4771 486.4 -2.98429 464.668 0.324514 437.986C3.90111 409.148 11.3051 384.6 22.5371 364.342C39.9071 333.562 62.4611 311.162 90.1931 297.142C118.231 283.124 147.793 276.114 178.879 276.114C209.965 276.114 238.155 283.124 263.451 297.142C289.051 310.858 318.765 331.886 352.593 360.228C375.451 379.428 393.431 393.142 406.537 401.372C419.945 409.296 434.879 413.258 451.337 413.258C477.851 413.258 498.727 403.81 513.965 384.914C521.231 375.904 526.661 364.884 530.255 351.854C537.627 325.122 558.305 301.714 586.033 301.714C612.817 301.714 635.309 323.194 632.223 349.798C628.861 378.778 621.441 403.436 609.965 423.772C592.593 454.552 569.889 476.952 541.851 490.972C513.813 504.99 484.251 512 453.165 512C422.079 512 393.737 505.448 368.137 492.342C342.537 478.934 312.975 457.448 279.451 427.886C257.507 408.686 239.679 395.124 225.965 387.2C212.251 378.972 197.165 374.858 180.707 374.858C156.021 374.858 135.603 383.39 119.451 400.458C111.043 409.34 104.947 421.36 101.165 436.518C94.4911 463.252 73.9191 486.4 46.3631 486.4Z" fill="white"/></svg>diff --git a/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.metainfo.xml b/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.metainfo.xmlindex 4c74d8bd5..39eb3c21d 100644--- a/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.metainfo.xml+++ b/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.metainfo.xml@@ -44,7 +44,7 @@<screenshots><screenshot type="default" xml:lang="en"><caption>The main Fluxer window.</caption>- <image type="source" width="1920" height="1080">https://raw.githubusercontent.com/fluxerapp/fluxer/refs/heads/main/fluxer_static/marketing/screenshots/desktop-2560w.avif</image>+ <image type="source" width="2560" height="2227">https://fluxer.app/static/img/screenshots-desktop-2560w.948e9d88f4c9807a.avif</image></screenshot></screenshots><url type="bugtracker">https://github.com/fluxerapp/fluxer/issues</url>diff --git a/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.svg b/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.svgindex 28d8e85aa..7d18e18f6 100644--- a/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.svg+++ b/fluxer_desktop/packaging/linux/app.fluxer.Fluxer.svg@@ -1,2 +1,3 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.87 33.87"><g transform="translate(-32.28 -138.64)"><circle cx="49.21" cy="155.57" r="15.74" fill="none" stroke="currentColor" stroke-width=".26" opacity=".2" style="marker:none"/><path fill="#4641D9" d="M65.09 155.57a15.87 15.87 0 1 0-31.75 0 15.87 15.87 0 0 0 31.75 0z"/><path fill="#fff" d="M40.84 154.16c-.83 0-1.53-.68-1.42-1.5.1-.9.34-1.66.69-2.29a5 5 0 0 1 2.1-2.08 6.07 6.07 0 0 1 2.74-.65c.97 0 1.84.21 2.63.65a17 17 0 0 1 2.76 1.96c.7.6 1.26 1.02 1.66 1.28.41.24.88.36 1.4.36.82 0 1.47-.29 1.94-.88.23-.28.4-.62.52-1.03a1.9 1.9 0 0 1 1.73-1.57c.83 0 1.53.66 1.43 1.5a7.5 7.5 0 0 1-.69 2.3 5 5 0 0 1-2.12 2.08c-.87.43-1.79.65-2.75.65-.98 0-1.86-.21-2.65-.62a17.3 17.3 0 0 1-2.75-2c-.69-.6-1.24-1.02-1.67-1.27a2.71 2.71 0 0 0-1.4-.38c-.77 0-1.4.27-1.9.8-.26.27-.45.65-.57 1.12a1.86 1.86 0 0 1-1.68 1.57Zm0 8.64c-.83 0-1.53-.68-1.42-1.5.1-.9.34-1.67.69-2.3a5 5 0 0 1 2.1-2.08 6.07 6.07 0 0 1 2.74-.65c.97 0 1.84.22 2.63.65a17 17 0 0 1 2.76 1.96c.7.6 1.26 1.03 1.66 1.28.41.25.88.37 1.4.37.82 0 1.47-.3 1.94-.89.23-.28.4-.62.52-1.03a1.9 1.9 0 0 1 1.73-1.57c.83 0 1.53.67 1.43 1.5a7.5 7.5 0 0 1-.69 2.3 5 5 0 0 1-2.12 2.08c-.87.44-1.79.66-2.75.66-.98 0-1.86-.21-2.65-.62a17.3 17.3 0 0 1-2.75-2c-.69-.6-1.24-1.03-1.67-1.27a2.71 2.71 0 0 0-1.4-.39c-.77 0-1.4.27-1.9.8-.26.28-.45.65-.57 1.12a1.86 1.86 0 0 1-1.68 1.57z"/></g></svg>diff --git a/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.metainfo.xml b/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.metainfo.xmlindex c4bbbb6a3..e767f0332 100644--- a/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.metainfo.xml+++ b/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.metainfo.xml@@ -44,7 +44,7 @@<screenshots><screenshot type="default"><caption>The main Fluxer window.</caption>- <image type="source" width="1920" height="1080">https://fluxerstatic.com/marketing/screenshots/desktop-1920w.avif</image>+ <image type="source" width="1920" height="1670">https://fluxer.app/static/img/screenshots-desktop-1920w.4976d2d1f2238c05.avif</image></screenshot></screenshots><url type="bugtracker">https://github.com/fluxerapp/fluxer/issues</url>diff --git a/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.svg b/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.svgindex 36ebf78da..b46da5802 100644--- a/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.svg+++ b/fluxer_desktop/packaging/linux/app.fluxer.FluxerCanary.svg@@ -1,2 +1,3 @@-<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->+<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->+<!-- SPDX-FileCopyrightText: Fluxer Platform AB --><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.87 33.87"><g transform="translate(-32.28 -138.64)"><circle cx="49.21" cy="155.57" r="15.74" fill="none" stroke="currentColor" stroke-width=".26" opacity=".2" style="marker:none"/><path fill="#FFA600" d="M65.09 155.57a15.87 15.87 0 1 0-31.75 0 15.87 15.87 0 0 0 31.75 0z"/><path fill="#fff" d="M40.84 154.16c-.83 0-1.53-.68-1.42-1.5.1-.9.34-1.66.69-2.29a5 5 0 0 1 2.1-2.08 6.07 6.07 0 0 1 2.74-.65c.97 0 1.84.21 2.63.65a17 17 0 0 1 2.76 1.96c.7.6 1.26 1.02 1.66 1.28.41.24.88.36 1.4.36.82 0 1.47-.29 1.94-.88.23-.28.4-.62.52-1.03a1.9 1.9 0 0 1 1.73-1.57c.83 0 1.53.66 1.43 1.5a7.5 7.5 0 0 1-.69 2.3 5 5 0 0 1-2.12 2.08c-.87.43-1.79.65-2.75.65-.98 0-1.86-.21-2.65-.62a17.3 17.3 0 0 1-2.75-2c-.69-.6-1.24-1.02-1.67-1.27a2.71 2.71 0 0 0-1.4-.38c-.77 0-1.4.27-1.9.8-.26.27-.45.65-.57 1.12a1.86 1.86 0 0 1-1.68 1.57Zm0 8.64c-.83 0-1.53-.68-1.42-1.5.1-.9.34-1.67.69-2.3a5 5 0 0 1 2.1-2.08 6.07 6.07 0 0 1 2.74-.65c.97 0 1.84.22 2.63.65a17 17 0 0 1 2.76 1.96c.7.6 1.26 1.03 1.66 1.28.41.25.88.37 1.4.37.82 0 1.47-.3 1.94-.89.23-.28.4-.62.52-1.03a1.9 1.9 0 0 1 1.73-1.57c.83 0 1.53.67 1.43 1.5a7.5 7.5 0 0 1-.69 2.3 5 5 0 0 1-2.12 2.08c-.87.44-1.79.66-2.75.66-.98 0-1.86-.21-2.65-.62a17.3 17.3 0 0 1-2.75-2c-.69-.6-1.24-1.03-1.67-1.27a2.71 2.71 0 0 0-1.4-.39c-.77 0-1.4.27-1.9.8-.26.28-.45.65-.57 1.12a1.86 1.86 0 0 1-1.68 1.57z"/></g></svg>diff --git a/fluxer_docs/src/content/docs/operator/configuration.mdx b/fluxer_docs/src/content/docs/operator/configuration.mdxindex 33665fb72..c842aa927 100644--- a/fluxer_docs/src/content/docs/operator/configuration.mdx+++ b/fluxer_docs/src/content/docs/operator/configuration.mdx@@ -174,7 +174,7 @@ The API and worker validate endpoint URLs at startup. The Gateway endpoint requi#### `FLUXER_STATIC_CDN_DOMAIN`-Default empty. A separate host for static assets. When set, the static endpoint of `api` and `worker` is forced to `https` with no port. Only `api` and `worker` read it, so set `FLUXER_STATIC_CDN_ENDPOINT` to the same origin as well for `admin`, `app-proxy`, `gateway` and `unfurl`. Compose forwards it from `.env`.+Default empty. A separate host for static assets. When set, the static endpoint of `api` and `worker` is forced to `https` with no port. Only `api` and `worker` read it, so set `FLUXER_STATIC_CDN_ENDPOINT` to the same origin as well for `admin`, `app-proxy` and `gateway`. Compose forwards it from `.env`.#### `FLUXER_INVITE_DOMAIN`@@ -210,7 +210,7 @@ Defaults to the derived endpoint. The public Media Proxy URL. The `gifs` service#### `FLUXER_STATIC_CDN_ENDPOINT`-Defaults to the derived endpoint. The static asset origin. Read by `api`, `worker`, `admin`, `app-proxy`, and `unfurl`. Compose forwards it from `.env`. When it is unset, `admin` and `unfurl-shard` get the public origin, and every other service derives it itself.+Defaults to the derived endpoint. The static asset origin. Read by `api`, `worker`, `admin`, and `app-proxy`. Compose forwards it from `.env`. When it is unset, `admin` gets the public origin, and every other service derives it itself.#### `FLUXER_ADMIN_ENDPOINT`@@ -252,10 +252,6 @@ No default. The internal Media Proxy address. `unfurl-shard` reads this name aloNo default. The public Media Proxy URL used by `gifs`, `unfurl`, and `media-proxy`. `gifs` requires this or `FLUXER_MEDIA_ENDPOINT` to start. Set it on `media-proxy` so requests for its own assets use local storage instead of an HTTP round trip. For `api` and `worker`, use `FLUXER_MEDIA_ENDPOINT` instead. Compose forwards it from `.env` to every app service. When it is unset, they get `FLUXER_MEDIA_ENDPOINT`, or the public media URL when that is unset too.-#### `FLUXER_UNFURL_STATIC_CDN_ENDPOINT`--Falls back to `FLUXER_STATIC_CDN_ENDPOINT`. The static origin used by `unfurl`. Read only by `unfurl`. Compose forwards it from `.env` to `unfurl-shard`.-## The edgeThe `edge` container is the only HTTP entry point. Neither layout below needs a change to the edge settings.@@ -1082,7 +1078,7 @@ Default `development`. The runtime mode. `development`, `production`, or `test`.#### `FLUXER_SELF_HOSTED`-Default `false`. The self-host switch. Compose sets `true`. It relaxes the production Postgres SSL requirement, seeds the limit tier, gates registration, donation and discovery controllers, keeps premium billing off until it is set up as [Payments](#payments) describes, and turns blocklist feeds off.+Default `false`. The self-host switch. Compose sets `true`. It relaxes the production Postgres SSL requirement, seeds the limit tier, gates registration, donation and discovery controllers, keeps premium billing off until it is set up as [Payments](#payments) describes, turns blocklist feeds off, and keeps hosted-only artwork from `fluxer.app` out of the app, webhook avatars and link embeds.`/_metrics` on `api`, `media-proxy`, `gateway`, and `push`, plus the Gateway's `/_health/ready`, `/_health/drain`, and `/_health/undrain`, are gated to loopback peers, so no proxy reaches them. The probes that work from outside are `/api/_health`, `/gateway/_health`, `/media/_health`, and the edge's own `/_health`.diff --git a/fluxer_static/Dockerfile b/fluxer_static/Dockerfileindex a979d4707..b0d430327 100644--- a/fluxer_static/Dockerfile+++ b/fluxer_static/Dockerfile@@ -9,7 +9,7 @@ ARG SOURCE_DATE=""LABEL org.opencontainers.image.title="fluxer-static"LABEL org.opencontainers.image.description="Self-hostable static asset bundle for Fluxer"-LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"+LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later AND CC-BY-SA-4.0 AND CC-BY-4.0"LABEL org.opencontainers.image.vendor="Fluxer"LABEL org.opencontainers.image.url="https://fluxer.app"LABEL org.opencontainers.image.documentation="https://docs.fluxer.app"@@ -20,10 +20,10 @@ LABEL org.opencontainers.image.created="${SOURCE_DATE}"LABEL app.fluxer.build-version="${BUILD_VERSION}"COPY fluxer_static/Caddyfile /etc/caddy/Caddyfile+COPY --chown=65532:65532 fluxer_static/LICENSE fluxer_static/THIRD_PARTY_LICENSES.md /srv/fluxer-static/COPY --chown=65532:65532 fluxer_static/avatars /srv/fluxer-static/avatarsCOPY --chown=65532:65532 fluxer_static/badges /srv/fluxer-static/badgesCOPY --chown=65532:65532 fluxer_static/desktop /srv/fluxer-static/desktop-COPY --chown=65532:65532 fluxer_static/embeds /srv/fluxer-static/embedsCOPY --chown=65532:65532 fluxer_static/emoji /srv/fluxer-static/emojiCOPY --chown=65532:65532 fluxer_static/web /srv/fluxer-static/webdiff --git a/fluxer_static/LICENSE b/fluxer_static/LICENSEindex 15cfa6697..3ba531891 100644--- a/fluxer_static/LICENSE+++ b/fluxer_static/LICENSE@@ -1,13 +1,449 @@-Fluxer Static Asset License Notice+Fluxer artwork license-Unless a file or directory carries a more specific license notice, the contents-of this repository are copyright Fluxer and are all rights reserved. This-includes Fluxer branding, icons, default avatars, badge artwork, screenshots,-marketing images, generated app imagery, and repository automation files.+Copyright Fluxer Platform AB-Third-party materials retain their upstream licenses. See-THIRD_PARTY_LICENSES.md and the license or notice files in the relevant-subdirectories for those terms.+Fluxer-owned artwork is licensed under the Creative Commons+Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0). The full+legal code follows below. This covers the Fluxer-owned assets in fluxer_static,+such as the logo, symbol, badges, default avatars, favicons, app icons, Open+Graph image and branding files. It also covers the same Fluxer artwork wherever+else it appears in this repository, for example the desktop app icons, the app+logo SVGs and the docs logo.++Third-party files keep their own licenses. See THIRD_PARTY_LICENSES.md and the+license or notice files in the relevant directories.++This license does not grant trademark rights (section 2(b)(2) of the legal+code). Use of the Fluxer name and logo is covered by the "Name and marks"+section of .github/GOVERNANCE.md.++=======================================================================++Attribution-ShareAlike 4.0 International++=======================================================================++Creative Commons Corporation ("Creative Commons") is not a law firm and+does not provide legal services or legal advice. Distribution of+Creative Commons public licenses does not create a lawyer-client or+other relationship. Creative Commons makes its licenses and related+information available on an "as-is" basis. Creative Commons gives no+warranties regarding its licenses, any material licensed under their+terms and conditions, or any related information. Creative Commons+disclaims all liability for damages resulting from their use to the+fullest extent possible.++Using Creative Commons Public Licenses++Creative Commons public licenses provide a standard set of terms and+conditions that creators and other rights holders may use to share+original works of authorship and other material subject to copyright+and certain other rights specified in the public license below. The+following considerations are for informational purposes only, are not+exhaustive, and do not form part of our licenses.++ Considerations for licensors: Our public licenses are+ intended for use by those authorized to give the public+ permission to use material in ways otherwise restricted by+ copyright and certain other rights. Our licenses are+ irrevocable. Licensors should read and understand the terms+ and conditions of the license they choose before applying it.+ Licensors should also secure all rights necessary before+ applying our licenses so that the public can reuse the+ material as expected. Licensors should clearly mark any+ material not subject to the license. This includes other CC-+ licensed material, or material used under an exception or+ limitation to copyright. More considerations for licensors:+ wiki.creativecommons.org/Considerations_for_licensors++ Considerations for the public: By using one of our public+ licenses, a licensor grants the public permission to use the+ licensed material under specified terms and conditions. If+ the licensor's permission is not necessary for any reason--for+ example, because of any applicable exception or limitation to+ copyright--then that use is not regulated by the license. Our+ licenses grant only permissions under copyright and certain+ other rights that a licensor has authority to grant. Use of+ the licensed material may still be restricted for other+ reasons, including because others have copyright or other+ rights in the material. A licensor may make special requests,+ such as asking that all changes be marked or described.+ Although not required by our licenses, you are encouraged to+ respect those requests where reasonable. More considerations+ for the public:+ wiki.creativecommons.org/Considerations_for_licensees++=======================================================================++Creative Commons Attribution-ShareAlike 4.0 International Public+License++By exercising the Licensed Rights (defined below), You accept and agree+to be bound by the terms and conditions of this Creative Commons+Attribution-ShareAlike 4.0 International Public License ("Public+License"). To the extent this Public License may be interpreted as a+contract, You are granted the Licensed Rights in consideration of Your+acceptance of these terms and conditions, and the Licensor grants You+such rights in consideration of benefits the Licensor receives from+making the Licensed Material available under these terms and+conditions.+++Section 1 -- Definitions.++ a. Adapted Material means material subject to Copyright and Similar+ Rights that is derived from or based upon the Licensed Material+ and in which the Licensed Material is translated, altered,+ arranged, transformed, or otherwise modified in a manner requiring+ permission under the Copyright and Similar Rights held by the+ Licensor. For purposes of this Public License, where the Licensed+ Material is a musical work, performance, or sound recording,+ Adapted Material is always produced where the Licensed Material is+ synched in timed relation with a moving image.++ b. Adapter's License means the license You apply to Your Copyright+ and Similar Rights in Your contributions to Adapted Material in+ accordance with the terms and conditions of this Public License.++ c. BY-SA Compatible License means a license listed at+ creativecommons.org/compatiblelicenses, approved by Creative+ Commons as essentially the equivalent of this Public License.++ d. Copyright and Similar Rights means copyright and/or similar rights+ closely related to copyright including, without limitation,+ performance, broadcast, sound recording, and Sui Generis Database+ Rights, without regard to how the rights are labeled or+ categorized. For purposes of this Public License, the rights+ specified in Section 2(b)(1)-(2) are not Copyright and Similar+ Rights.++ e. Effective Technological Measures means those measures that, in the+ absence of proper authority, may not be circumvented under laws+ fulfilling obligations under Article 11 of the WIPO Copyright+ Treaty adopted on December 20, 1996, and/or similar international+ agreements.++ f. Exceptions and Limitations means fair use, fair dealing, and/or+ any other exception or limitation to Copyright and Similar Rights+ that applies to Your use of the Licensed Material.++ g. License Elements means the license attributes listed in the name+ of a Creative Commons Public License. The License Elements of this+ Public License are Attribution and ShareAlike.++ h. Licensed Material means the artistic or literary work, database,+ or other material to which the Licensor applied this Public+ License.++ i. Licensed Rights means the rights granted to You subject to the+ terms and conditions of this Public License, which are limited to+ all Copyright and Similar Rights that apply to Your use of the+ Licensed Material and that the Licensor has authority to license.++ j. Licensor means the individual(s) or entity(ies) granting rights+ under this Public License.++ k. Share means to provide material to the public by any means or+ process that requires permission under the Licensed Rights, such+ as reproduction, public display, public performance, distribution,+ dissemination, communication, or importation, and to make material+ available to the public including in ways that members of the+ public may access the material from a place and at a time+ individually chosen by them.++ l. Sui Generis Database Rights means rights other than copyright+ resulting from Directive 96/9/EC of the European Parliament and of+ the Council of 11 March 1996 on the legal protection of databases,+ as amended and/or succeeded, as well as other essentially+ equivalent rights anywhere in the world.++ m. You means the individual or entity exercising the Licensed Rights+ under this Public License. Your has a corresponding meaning.+++Section 2 -- Scope.++ a. License grant.++ 1. Subject to the terms and conditions of this Public License,+ the Licensor hereby grants You a worldwide, royalty-free,+ non-sublicensable, non-exclusive, irrevocable license to+ exercise the Licensed Rights in the Licensed Material to:++ a. reproduce and Share the Licensed Material, in whole or+ in part; and++ b. produce, reproduce, and Share Adapted Material.++ 2. Exceptions and Limitations. For the avoidance of doubt, where+ Exceptions and Limitations apply to Your use, this Public+ License does not apply, and You do not need to comply with+ its terms and conditions.++ 3. Term. The term of this Public License is specified in Section+ 6(a).++ 4. Media and formats; technical modifications allowed. The+ Licensor authorizes You to exercise the Licensed Rights in+ all media and formats whether now known or hereafter created,+ and to make technical modifications necessary to do so. The+ Licensor waives and/or agrees not to assert any right or+ authority to forbid You from making technical modifications+ necessary to exercise the Licensed Rights, including+ technical modifications necessary to circumvent Effective+ Technological Measures. For purposes of this Public License,+ simply making modifications authorized by this Section 2(a)+ (4) never produces Adapted Material.++ 5. Downstream recipients.++ a. Offer from the Licensor -- Licensed Material. Every+ recipient of the Licensed Material automatically+ receives an offer from the Licensor to exercise the+ Licensed Rights under the terms and conditions of this+ Public License.++ b. Additional offer from the Licensor -- Adapted Material.+ Every recipient of Adapted Material from You+ automatically receives an offer from the Licensor to+ exercise the Licensed Rights in the Adapted Material+ under the conditions of the Adapter's License You apply.++ c. No downstream restrictions. You may not offer or impose+ any additional or different terms or conditions on, or+ apply any Effective Technological Measures to, the+ Licensed Material if doing so restricts exercise of the+ Licensed Rights by any recipient of the Licensed+ Material.++ 6. No endorsement. Nothing in this Public License constitutes or+ may be construed as permission to assert or imply that You+ are, or that Your use of the Licensed Material is, connected+ with, or sponsored, endorsed, or granted official status by,+ the Licensor or others designated to receive attribution as+ provided in Section 3(a)(1)(A)(i).++ b. Other rights.++ 1. Moral rights, such as the right of integrity, are not+ licensed under this Public License, nor are publicity,+ privacy, and/or other similar personality rights; however, to+ the extent possible, the Licensor waives and/or agrees not to+ assert any such rights held by the Licensor to the limited+ extent necessary to allow You to exercise the Licensed+ Rights, but not otherwise.++ 2. Patent and trademark rights are not licensed under this+ Public License.++ 3. To the extent possible, the Licensor waives any right to+ collect royalties from You for the exercise of the Licensed+ Rights, whether directly or through a collecting society+ under any voluntary or waivable statutory or compulsory+ licensing scheme. In all other cases the Licensor expressly+ reserves any right to collect such royalties.+++Section 3 -- License Conditions.++Your exercise of the Licensed Rights is expressly made subject to the+following conditions.++ a. Attribution.++ 1. If You Share the Licensed Material (including in modified+ form), You must:++ a. retain the following if it is supplied by the Licensor+ with the Licensed Material:++ i. identification of the creator(s) of the Licensed+ Material and any others designated to receive+ attribution, in any reasonable manner requested by+ the Licensor (including by pseudonym if+ designated);++ ii. a copyright notice;++ iii. a notice that refers to this Public License;++ iv. a notice that refers to the disclaimer of+ warranties;++ v. a URI or hyperlink to the Licensed Material to the+ extent reasonably practicable;++ b. indicate if You modified the Licensed Material and+ retain an indication of any previous modifications; and++ c. indicate the Licensed Material is licensed under this+ Public License, and include the text of, or the URI or+ hyperlink to, this Public License.++ 2. You may satisfy the conditions in Section 3(a)(1) in any+ reasonable manner based on the medium, means, and context in+ which You Share the Licensed Material. For example, it may be+ reasonable to satisfy the conditions by providing a URI or+ hyperlink to a resource that includes the required+ information.++ 3. If requested by the Licensor, You must remove any of the+ information required by Section 3(a)(1)(A) to the extent+ reasonably practicable.++ b. ShareAlike.++ In addition to the conditions in Section 3(a), if You Share+ Adapted Material You produce, the following conditions also apply.++ 1. The Adapter's License You apply must be a Creative Commons+ license with the same License Elements, this version or+ later, or a BY-SA Compatible License.++ 2. You must include the text of, or the URI or hyperlink to, the+ Adapter's License You apply. You may satisfy this condition+ in any reasonable manner based on the medium, means, and+ context in which You Share Adapted Material.++ 3. You may not offer or impose any additional or different terms+ or conditions on, or apply any Effective Technological+ Measures to, Adapted Material that restrict exercise of the+ rights granted under the Adapter's License You apply.+++Section 4 -- Sui Generis Database Rights.++Where the Licensed Rights include Sui Generis Database Rights that+apply to Your use of the Licensed Material:++ a. for the avoidance of doubt, Section 2(a)(1) grants You the right+ to extract, reuse, reproduce, and Share all or a substantial+ portion of the contents of the database;++ b. if You include all or a substantial portion of the database+ contents in a database in which You have Sui Generis Database+ Rights, then the database in which You have Sui Generis Database+ Rights (but not its individual contents) is Adapted Material,+ including for purposes of Section 3(b); and++ c. You must comply with the conditions in Section 3(a) if You Share+ all or a substantial portion of the contents of the database.++For the avoidance of doubt, this Section 4 supplements and does not+replace Your obligations under this Public License where the Licensed+Rights include other Copyright and Similar Rights.+++Section 5 -- Disclaimer of Warranties and Limitation of Liability.++ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.++ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.++ c. The disclaimer of warranties and limitation of liability provided+ above shall be interpreted in a manner that, to the extent+ possible, most closely approximates an absolute disclaimer and+ waiver of all liability.+++Section 6 -- Term and Termination.++ a. This Public License applies for the term of the Copyright and+ Similar Rights licensed here. However, if You fail to comply with+ this Public License, then Your rights under this Public License+ terminate automatically.++ b. Where Your right to use the Licensed Material has terminated under+ Section 6(a), it reinstates:++ 1. automatically as of the date the violation is cured, provided+ it is cured within 30 days of Your discovery of the+ violation; or++ 2. upon express reinstatement by the Licensor.++ For the avoidance of doubt, this Section 6(b) does not affect any+ right the Licensor may have to seek remedies for Your violations+ of this Public License.++ c. For the avoidance of doubt, the Licensor may also offer the+ Licensed Material under separate terms or conditions or stop+ distributing the Licensed Material at any time; however, doing so+ will not terminate this Public License.++ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public+ License.+++Section 7 -- Other Terms and Conditions.++ a. The Licensor shall not be bound by any additional or different+ terms or conditions communicated by You unless expressly agreed.++ b. Any arrangements, understandings, or agreements regarding the+ Licensed Material not stated herein are separate from and+ independent of the terms and conditions of this Public License.+++Section 8 -- Interpretation.++ a. For the avoidance of doubt, this Public License does not, and+ shall not be interpreted to, reduce, limit, restrict, or impose+ conditions on any use of the Licensed Material that could lawfully+ be made without permission under this Public License.++ b. To the extent possible, if any provision of this Public License is+ deemed unenforceable, it shall be automatically reformed to the+ minimum extent necessary to make it enforceable. If the provision+ cannot be reformed, it shall be severed from this Public License+ without affecting the enforceability of the remaining terms and+ conditions.++ c. No term or condition of this Public License will be waived and no+ failure to comply consented to unless expressly agreed to by the+ Licensor.++ d. Nothing in this Public License constitutes or may be interpreted+ as a limitation upon, or waiver of, any privileges and immunities+ that apply to the Licensor or You, including from the legal+ processes of any jurisdiction or authority.+++=======================================================================++Creative Commons is not a party to its public+licenses. Notwithstanding, Creative Commons may elect to apply one of+its public licenses to material it publishes and in those instances+will be considered the “Licensor.” The text of the Creative Commons+public licenses is dedicated to the public domain under the CC0 Public+Domain Dedication. Except for the limited purpose of indicating that+material is shared under a Creative Commons public license or as+otherwise permitted by the Creative Commons policies published at+creativecommons.org/policies, Creative Commons does not authorize the+use of the trademark "Creative Commons" or any other trademark or logo+of Creative Commons without its prior written consent including,+without limitation, in connection with any unauthorized modifications+to any of its public licenses or any other arrangements,+understandings, or agreements concerning use of licensed material. For+the avoidance of doubt, this paragraph does not form part of the+public licenses.++Creative Commons may be contacted at creativecommons.org.-Public availability of this repository or the static asset bucket does not-grant trademark, brand, or endorsement rights.diff --git a/fluxer_static/THIRD_PARTY_LICENSES.md b/fluxer_static/THIRD_PARTY_LICENSES.mdindex ce0c05764..0ac743d32 100644--- a/fluxer_static/THIRD_PARTY_LICENSES.md+++ b/fluxer_static/THIRD_PARTY_LICENSES.md@@ -1,15 +1,23 @@# Third-party licenses-This repository mirrors static assets for Fluxer. Fluxer-owned assets are-covered by the root `LICENSE` notice. Third-party assets keep their upstream-licenses and attribution requirements.+This directory mirrors static assets for Fluxer. Fluxer-owned assets are+copyright Fluxer Platform AB and licensed under CC BY-SA 4.0, see `LICENSE`.+Third-party assets keep their upstream licenses and attribution requirements.| Path | Component | License || --- | --- | --- || `desktop/spellcheck/dictionaries/` | Hunspell dictionaries packaged as exact `dictionary-*` npm package versions | Varies by language; each dictionary directory includes its own `LICENSE`, and the package summary is in `desktop/spellcheck/dictionaries/NOTICE.md`. |-| `emoji/` | Twemoji graphics from `jdecked/twemoji` | CC-BY-4.0; see `emoji/LICENSE` and `emoji/NOTICE.md`. |-| `marketing/flags/` | Twemoji flag graphics from `jdecked/twemoji` | CC-BY-4.0; see `marketing/flags/LICENSE` and `marketing/flags/NOTICE.md`. |-| `embeds/icons/hn.webp` | Hacker News brand icon | Third-party brand asset; see `embeds/icons/NOTICE.md`. |+| `emoji/` | Twemoji graphics from `jdecked/twemoji`, plus spritesheets generated from them as derivatives. Copyright 2014-2021 Twitter, Inc and other contributors, 2022-present Jason Sofonia, Justine De Caires and other contributors | CC-BY-4.0. See `emoji/LICENSE` and `emoji/NOTICE.md`. |+| `marketing/flags/` | Twemoji flag graphics from `jdecked/twemoji`. Copyright 2014-2021 Twitter, Inc and other contributors, 2022-present Jason Sofonia, Justine De Caires and other contributors | CC-BY-4.0. See `marketing/flags/LICENSE` and `marketing/flags/NOTICE.md`. |+| `web/og-image-default.png` | Background pattern "I Like Food" from Hero Patterns (https://heropatterns.com) by Steve Schoger | CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). |++`fluxer_app` also bundles this third-party artwork outside this directory:++| Path | Component | License |+| --- | --- | --- |+| `fluxer_app/src/media/images/i-like-food.svg` | "I Like Food" pattern from Hero Patterns (https://heropatterns.com) by Steve Schoger | CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). |+| `fluxer_app/src/media/images/neko.png`, `fluxer_app/src/features/accessibility/components/NekoSprite.tsx` | Sprite sheet and sprite tables from `adryd325/oneko.js`. Copyright 2022 adryd | MIT (https://github.com/adryd325/oneko.js/blob/main/LICENSE). |+| `fluxer_app/src/features/ui/components/icons/InboxIcon.tsx` | Inbox icon path from Google Material Icons (`google/material-design-icons`). Copyright Google LLC | Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0). |Noise suppression WebAssembly binaries and AudioWorklet processors are bundledby `fluxer_app` from `@sapphi-red/web-noise-suppressor` rather than mirroreddiff --git a/fluxer_static/avatars/NOTICE.md b/fluxer_static/avatars/NOTICE.mdindex f5f8bceb6..b61efeeb5 100644--- a/fluxer_static/avatars/NOTICE.md+++ b/fluxer_static/avatars/NOTICE.md@@ -1,5 +1,4 @@# Avatar asset notice-The avatar images in this directory are Fluxer-owned static assets. They are-covered by the root `LICENSE` notice unless a specific file later has a-more specific license notice.+The avatar images in this directory are copyright Fluxer Platform AB and+licensed under CC BY-SA 4.0. See the root `LICENSE`.diff --git a/fluxer_static/badges/NOTICE.md b/fluxer_static/badges/NOTICE.mdindex 12b28bea4..3e036f563 100644--- a/fluxer_static/badges/NOTICE.md+++ b/fluxer_static/badges/NOTICE.md@@ -1,4 +1,4 @@# Badge asset notice-The badge SVGs in this directory are Fluxer-owned static assets and product-identity artwork. They are covered by the root `LICENSE` notice.+The badge SVGs in this directory are copyright Fluxer Platform AB and licensed+under CC BY-SA 4.0. See the root `LICENSE`.diff --git a/fluxer_static/embeds/NOTICE.md b/fluxer_static/embeds/NOTICE.mddeleted file mode 100644index 530caa8c4..000000000--- a/fluxer_static/embeds/NOTICE.md+++ /dev/null@@ -1,5 +0,0 @@-# Embed asset notices--Embedded service icons are third-party service identifiers unless a specific-file or subdirectory says otherwise. See `icons/NOTICE.md` for current icon-notices.diff --git a/fluxer_static/embeds/icons/NOTICE.md b/fluxer_static/embeds/icons/NOTICE.mddeleted file mode 100644index 4f69cf523..000000000--- a/fluxer_static/embeds/icons/NOTICE.md+++ /dev/null@@ -1,5 +0,0 @@-# Embedded service icon notices--`hn.webp` is the Hacker News brand icon, included only as a third-party service-identifier. This repository does not grant license, trademark, endorsement, or-brand rights for Hacker News or Y Combinator marks.diff --git a/fluxer_static/embeds/icons/hn.webp b/fluxer_static/embeds/icons/hn.webpdeleted file mode 100644index 890b7c722..000000000Binary files a/fluxer_static/embeds/icons/hn.webp and /dev/null differdiff --git a/fluxer_static/emoji/NOTICE.md b/fluxer_static/emoji/NOTICE.mdindex db927e86b..e1972ae01 100644--- a/fluxer_static/emoji/NOTICE.md+++ b/fluxer_static/emoji/NOTICE.md@@ -1,8 +1,12 @@# Emoji licenses-The emoji SVGs and spritesheets in this directory are Twemoji graphics sourced-from `jdecked/twemoji`. Twemoji graphics are licensed under Creative Commons-Attribution 4.0 International (CC-BY-4.0), copied in `LICENSE`.+The emoji SVGs in this directory are Twemoji graphics sourced from+`jdecked/twemoji`. The spritesheets are generated from those SVGs and are+derivatives of the same graphics. Twemoji graphics are licensed under Creative+Commons Attribution 4.0 International (CC-BY-4.0), copied in `LICENSE`.++Copyright 2014-2021 Twitter, Inc and other contributors. Copyright+2022-present Jason Sofonia, Justine De Caires and other contributors.Attribution: Twemoji from https://github.com/jdecked/twemoji, as distributed by`@twemoji/[email protected]`.diff --git a/fluxer_static/marketing/NOTICE.md b/fluxer_static/marketing/NOTICE.mdindex 7b6874eba..c78a2d761 100644--- a/fluxer_static/marketing/NOTICE.md+++ b/fluxer_static/marketing/NOTICE.md@@ -1,7 +1,7 @@# Marketing asset notices-Fluxer-owned marketing screenshots, PWA install imagery, and branding assets-are covered by the root `LICENSE` notice.+The `branding/` directory holds Fluxer logo and symbol files, copyright Fluxer+Platform AB and licensed under CC BY-SA 4.0. See the root `LICENSE`.The `flags/` directory is third-party Twemoji artwork and has its ownCC-BY-4.0 license and attribution notice.diff --git a/fluxer_static/marketing/branding/NOTICE.md b/fluxer_static/marketing/branding/NOTICE.mdindex d8e394dc4..ee2a4979d 100644--- a/fluxer_static/marketing/branding/NOTICE.md+++ b/fluxer_static/marketing/branding/NOTICE.md@@ -1,5 +1,6 @@# Branding asset notice-The logo and symbol files in this directory are Fluxer-owned brand assets. They-are covered by the root `LICENSE` notice and do not grant trademark or brand-usage rights.+The logo and symbol files in this directory are copyright Fluxer Platform AB+and licensed under CC BY-SA 4.0. See the root `LICENSE`. The license does not+grant trademark rights. See the "Name and marks" section of+`.github/GOVERNANCE.md`.diff --git a/fluxer_static/marketing/flags/NOTICE.md b/fluxer_static/marketing/flags/NOTICE.mdindex ca54dfe04..213cb4f87 100644--- a/fluxer_static/marketing/flags/NOTICE.md+++ b/fluxer_static/marketing/flags/NOTICE.md@@ -4,5 +4,8 @@ The flag SVGs in this directory are Twemoji graphics sourced from`jdecked/twemoji`. Twemoji graphics are licensed under Creative CommonsAttribution 4.0 International (CC-BY-4.0), copied in `LICENSE`.+Copyright 2014-2021 Twitter, Inc and other contributors. Copyright+2022-present Jason Sofonia, Justine De Caires and other contributors.+Attribution: Twemoji from https://github.com/jdecked/twemoji, as distributed by`@twemoji/[email protected]`.diff --git a/fluxer_static/marketing/pwa-install/NOTICE.md b/fluxer_static/marketing/pwa-install/NOTICE.mddeleted file mode 100644index 14ce70a5f..000000000--- a/fluxer_static/marketing/pwa-install/NOTICE.md+++ /dev/null@@ -1,4 +0,0 @@-# PWA install asset notice--The PWA install images in this directory are Fluxer-owned marketing assets.-They are covered by the root `LICENSE` notice.diff --git a/fluxer_static/marketing/pwa-install/android-240w.avif b/fluxer_static/marketing/pwa-install/android-240w.avifdeleted file mode 100644index f0f3c43d5..000000000Binary files a/fluxer_static/marketing/pwa-install/android-240w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-240w.png b/fluxer_static/marketing/pwa-install/android-240w.pngdeleted file mode 100644index 8375463d7..000000000Binary files a/fluxer_static/marketing/pwa-install/android-240w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-240w.webp b/fluxer_static/marketing/pwa-install/android-240w.webpdeleted file mode 100644index ab79b3de7..000000000Binary files a/fluxer_static/marketing/pwa-install/android-240w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-320w.avif b/fluxer_static/marketing/pwa-install/android-320w.avifdeleted file mode 100644index ea7b42c8e..000000000Binary files a/fluxer_static/marketing/pwa-install/android-320w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-320w.png b/fluxer_static/marketing/pwa-install/android-320w.pngdeleted file mode 100644index 625553ec1..000000000Binary files a/fluxer_static/marketing/pwa-install/android-320w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-320w.webp b/fluxer_static/marketing/pwa-install/android-320w.webpdeleted file mode 100644index ff9cd7672..000000000Binary files a/fluxer_static/marketing/pwa-install/android-320w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-480w.avif b/fluxer_static/marketing/pwa-install/android-480w.avifdeleted file mode 100644index 1f6601749..000000000Binary files a/fluxer_static/marketing/pwa-install/android-480w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-480w.png b/fluxer_static/marketing/pwa-install/android-480w.pngdeleted file mode 100644index 6395c4aa7..000000000Binary files a/fluxer_static/marketing/pwa-install/android-480w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/android-480w.webp b/fluxer_static/marketing/pwa-install/android-480w.webpdeleted file mode 100644index a0742ae5a..000000000Binary files a/fluxer_static/marketing/pwa-install/android-480w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-320w.avif b/fluxer_static/marketing/pwa-install/desktop-320w.avifdeleted file mode 100644index 7bc3b29ce..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-320w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-320w.png b/fluxer_static/marketing/pwa-install/desktop-320w.pngdeleted file mode 100644index 89c38ff82..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-320w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-320w.webp b/fluxer_static/marketing/pwa-install/desktop-320w.webpdeleted file mode 100644index 5bb2a61b3..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-320w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-480w.avif b/fluxer_static/marketing/pwa-install/desktop-480w.avifdeleted file mode 100644index 9f99aceb8..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-480w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-480w.png b/fluxer_static/marketing/pwa-install/desktop-480w.pngdeleted file mode 100644index 1d8d2c3d7..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-480w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-480w.webp b/fluxer_static/marketing/pwa-install/desktop-480w.webpdeleted file mode 100644index e81340ce7..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-480w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-640w.avif b/fluxer_static/marketing/pwa-install/desktop-640w.avifdeleted file mode 100644index 120d317d6..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-640w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-640w.png b/fluxer_static/marketing/pwa-install/desktop-640w.pngdeleted file mode 100644index 58dea059e..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-640w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-640w.webp b/fluxer_static/marketing/pwa-install/desktop-640w.webpdeleted file mode 100644index 532bdd7ec..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-640w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-960w.avif b/fluxer_static/marketing/pwa-install/desktop-960w.avifdeleted file mode 100644index 80e358777..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-960w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-960w.png b/fluxer_static/marketing/pwa-install/desktop-960w.pngdeleted file mode 100644index f7ab816f2..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-960w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/desktop-960w.webp b/fluxer_static/marketing/pwa-install/desktop-960w.webpdeleted file mode 100644index 7666d8061..000000000Binary files a/fluxer_static/marketing/pwa-install/desktop-960w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-320w.avif b/fluxer_static/marketing/pwa-install/ios-320w.avifdeleted file mode 100644index 93f00e425..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-320w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-320w.png b/fluxer_static/marketing/pwa-install/ios-320w.pngdeleted file mode 100644index 9846f9b5a..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-320w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-320w.webp b/fluxer_static/marketing/pwa-install/ios-320w.webpdeleted file mode 100644index b3cff6495..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-320w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-480w.avif b/fluxer_static/marketing/pwa-install/ios-480w.avifdeleted file mode 100644index f5cb4729e..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-480w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-480w.png b/fluxer_static/marketing/pwa-install/ios-480w.pngdeleted file mode 100644index d48983c86..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-480w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-480w.webp b/fluxer_static/marketing/pwa-install/ios-480w.webpdeleted file mode 100644index 6258f9061..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-480w.webp and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-640w.avif b/fluxer_static/marketing/pwa-install/ios-640w.avifdeleted file mode 100644index 9a8849b5e..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-640w.avif and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-640w.png b/fluxer_static/marketing/pwa-install/ios-640w.pngdeleted file mode 100644index 07932a096..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-640w.png and /dev/null differdiff --git a/fluxer_static/marketing/pwa-install/ios-640w.webp b/fluxer_static/marketing/pwa-install/ios-640w.webpdeleted file mode 100644index 5c7177ec7..000000000Binary files a/fluxer_static/marketing/pwa-install/ios-640w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/NOTICE.md b/fluxer_static/marketing/screenshots/NOTICE.mddeleted file mode 100644index cd1170c01..000000000--- a/fluxer_static/marketing/screenshots/NOTICE.md+++ /dev/null@@ -1,4 +0,0 @@-# Screenshot asset notice--The screenshots in this directory are Fluxer-owned marketing assets. They are-covered by the root `LICENSE` notice.diff --git a/fluxer_static/marketing/screenshots/desktop-1024w.avif b/fluxer_static/marketing/screenshots/desktop-1024w.avifdeleted file mode 100644index 3ab50ecd0..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1024w.avif and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-1024w.png b/fluxer_static/marketing/screenshots/desktop-1024w.pngdeleted file mode 100644index a00e80301..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1024w.png and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-1024w.webp b/fluxer_static/marketing/screenshots/desktop-1024w.webpdeleted file mode 100644index 9d718b917..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1024w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-1920w.avif b/fluxer_static/marketing/screenshots/desktop-1920w.avifdeleted file mode 100644index 8e188c18d..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1920w.avif and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-1920w.png b/fluxer_static/marketing/screenshots/desktop-1920w.pngdeleted file mode 100644index 85f79993b..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1920w.png and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-1920w.webp b/fluxer_static/marketing/screenshots/desktop-1920w.webpdeleted file mode 100644index 188b8eb28..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-1920w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-2560w.avif b/fluxer_static/marketing/screenshots/desktop-2560w.avifdeleted file mode 100644index baf5e14ab..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-2560w.avif and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-2560w.png b/fluxer_static/marketing/screenshots/desktop-2560w.pngdeleted file mode 100644index 0b81527c5..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-2560w.png and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-2560w.webp b/fluxer_static/marketing/screenshots/desktop-2560w.webpdeleted file mode 100644index 669f1c372..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-2560w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-480w.avif b/fluxer_static/marketing/screenshots/desktop-480w.avifdeleted file mode 100644index 05a374116..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-480w.avif and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-480w.png b/fluxer_static/marketing/screenshots/desktop-480w.pngdeleted file mode 100644index 0b0dcadd5..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-480w.png and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-480w.webp b/fluxer_static/marketing/screenshots/desktop-480w.webpdeleted file mode 100644index b311e1fe7..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-480w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-768w.avif b/fluxer_static/marketing/screenshots/desktop-768w.avifdeleted file mode 100644index 2d9a4ac72..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-768w.avif and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-768w.png b/fluxer_static/marketing/screenshots/desktop-768w.pngdeleted file mode 100644index 64c5cdf3e..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-768w.png and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-768w.webp b/fluxer_static/marketing/screenshots/desktop-768w.webpdeleted file mode 100644index 3b800aa46..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-768w.webp and /dev/null differdiff --git a/fluxer_static/marketing/screenshots/desktop-readme-1920w.png b/fluxer_static/marketing/screenshots/desktop-readme-1920w.pngdeleted file mode 100644index 1af509a60..000000000Binary files a/fluxer_static/marketing/screenshots/desktop-readme-1920w.png and /dev/null differdiff --git a/fluxer_static/web/NOTICE.md b/fluxer_static/web/NOTICE.mdindex 907d262be..207b6fae2 100644--- a/fluxer_static/web/NOTICE.md+++ b/fluxer_static/web/NOTICE.md@@ -1,5 +1,9 @@# Web asset noticeThe favicons, app icons, Open Graph images, and related web images in this-directory are Fluxer-owned static assets. They are covered by the root-`LICENSE` notice.+directory are copyright Fluxer Platform AB and licensed under CC BY-SA 4.0. See+the root `LICENSE`.++The background pattern in `og-image-default.png` is "I Like Food" from Hero+Patterns by Steve Schoger, licensed under CC BY 4.0. See+`THIRD_PARTY_LICENSES.md`.diff --git a/fluxer_static/web/icons/NOTICE.md b/fluxer_static/web/icons/NOTICE.mdindex 40ad539a3..f9533f69b 100644--- a/fluxer_static/web/icons/NOTICE.md+++ b/fluxer_static/web/icons/NOTICE.md@@ -1,5 +1,6 @@# Web icon asset notice-The desktop app icon files in this directory are Fluxer-owned product assets.-They are covered by the root `LICENSE` notice and do not grant trademark or-brand usage rights.+The desktop app icon files in this directory are copyright Fluxer Platform AB+and licensed under CC BY-SA 4.0. See the root `LICENSE`. The license does not+grant trademark rights. See the "Name and marks" section of+`.github/GOVERNANCE.md`.diff --git a/fluxer_unfurl/src/resolvers/default_resolver.rs b/fluxer_unfurl/src/resolvers/default_resolver.rsindex 8f1139bca..32ada6f74 100644--- a/fluxer_unfurl/src/resolvers/default_resolver.rs+++ b/fluxer_unfurl/src/resolvers/default_resolver.rs@@ -105,7 +105,7 @@ async fn resolve_html(ctx: &ResolveContext<'_>) -> anyhow::Result<ResolverResulthttp_client: ctx.http_client.clone(),nsfw_mode: ctx.nsfw_mode,media_proxy: ctx.media_proxy,- static_cdn_endpoint: ctx.static_cdn_endpoint,+ self_hosted: ctx.self_hosted,youtube_api_key: ctx.youtube_api_key.clone(),klipy_api_key: ctx.klipy_api_key.clone(),};diff --git a/fluxer_unfurl/src/resolvers/fxtwitter.rs b/fluxer_unfurl/src/resolvers/fxtwitter.rsindex 5bdb41795..c03d84825 100644--- a/fluxer_unfurl/src/resolvers/fxtwitter.rs+++ b/fluxer_unfurl/src/resolvers/fxtwitter.rs@@ -1073,7 +1073,7 @@ mod tests {http_client: reqwest::Client::new(),nsfw_mode: crate::types::NsfwMode::Block,media_proxy,- static_cdn_endpoint: "https://static.example.test",+ self_hosted: false,youtube_api_key: None,klipy_api_key: None,}diff --git a/fluxer_unfurl/src/resolvers/hacker_news.rs b/fluxer_unfurl/src/resolvers/hacker_news.rsindex 920aa9d62..d5f10b166 100644--- a/fluxer_unfurl/src/resolvers/hacker_news.rs+++ b/fluxer_unfurl/src/resolvers/hacker_news.rs@@ -13,7 +13,7 @@ use url::Url;const HN_API_BASE: &str = "https://hacker-news.firebaseio.com/v0";const HN_SITE_BASE: &str = "https://news.ycombinator.com";const HN_COLOR: u32 = 0xFF6600;-const HN_ICON_PATH: &str = "embeds/icons/hn.webp";+const HN_ICON_URL: &str = "https://fluxer.app/static/img/app-hn-icon.4237980ebe2ba783.webp";const MAX_DESCRIPTION: usize = 400;pub struct HackerNewsResolver;@@ -89,11 +89,7 @@ impl Resolver for HackerNewsResolver {embed.timestamp = Some(format_unix_timestamp(time));}- embed.footer = Some(EmbedFooter {- text: "Hacker News".to_owned(),- icon_url: ctx.static_asset_url(HN_ICON_PATH),- ..Default::default()- });+ embed.footer = Some(hn_footer(ctx.self_hosted));let has_title = item.item_type@@ -125,6 +121,14 @@ impl Resolver for HackerNewsResolver {}}+fn hn_footer(self_hosted: bool) -> EmbedFooter {+ EmbedFooter {+ text: "Hacker News".to_owned(),+ icon_url: (!self_hosted).then(|| HN_ICON_URL.to_owned()),+ ..Default::default()+ }+}+fn format_unix_timestamp(secs: u64) -> String {chrono_lite(secs)}@@ -277,6 +281,13 @@ mod tests {assert!(!r.matches(&u("https://news.ycombinator.com/")));}+ #[test]+ fn hn_footer_icon_is_hosted_only() {+ assert_eq!(hn_footer(false).icon_url.as_deref(), Some(HN_ICON_URL));+ assert_eq!(hn_footer(true).icon_url, None);+ assert_eq!(hn_footer(true).text, "Hacker News");+ }+#[test]fn chrono_lite_leap_year() {assert_eq!(chrono_lite(1582934400), "2020-02-29T00:00:00Z");diff --git a/fluxer_unfurl/src/resolvers/mod.rs b/fluxer_unfurl/src/resolvers/mod.rsindex 1dc1408d7..b9015ff3d 100644--- a/fluxer_unfurl/src/resolvers/mod.rs+++ b/fluxer_unfurl/src/resolvers/mod.rs@@ -25,21 +25,11 @@ pub struct ResolveContext<'mp> {pub http_client: reqwest::Client,pub nsfw_mode: NsfwMode,pub media_proxy: &'mp MediaProxyClient,- pub static_cdn_endpoint: &'mp str,+ pub self_hosted: bool,pub youtube_api_key: Option<String>,pub klipy_api_key: Option<String>,}-impl ResolveContext<'_> {- pub fn static_asset_url(&self, path: &str) -> Option<String> {- let endpoint = self.static_cdn_endpoint.trim().trim_end_matches('/');- if endpoint.is_empty() {- return None;- }- Some(format!("{}/{}", endpoint, path.trim_start_matches('/')))- }-}-pub struct ResolverResult {pub embeds: Vec<MessageEmbed>,}diff --git a/fluxer_unfurl/src/shard_impl.rs b/fluxer_unfurl/src/shard_impl.rsindex eff43cb28..7413c01b7 100644--- a/fluxer_unfurl/src/shard_impl.rs+++ b/fluxer_unfurl/src/shard_impl.rs@@ -23,7 +23,7 @@ pub struct UnfurlShard {http_client: reqwest::Client,resolvers: Vec<Box<dyn crate::resolvers::Resolver>>,media_proxy: MediaProxyClient,- static_cdn_endpoint: String,+ self_hosted: bool,}impl UnfurlShard {@@ -37,11 +37,7 @@ impl UnfurlShard {let media_proxy_secret = optional_env("FLUXER_MEDIA_PROXY_SECRET_KEY");let media_proxy_public_endpoint = optional_env("FLUXER_MEDIA_PROXY_PUBLIC_ENDPOINT").map(|v| fluxer_common::config::normalize_public_endpoint_from_env(&v));- let static_cdn_endpoint = fluxer_common::config::normalize_public_endpoint_from_env(- &optional_env("FLUXER_UNFURL_STATIC_CDN_ENDPOINT")- .or_else(|| optional_env("FLUXER_STATIC_CDN_ENDPOINT"))- .unwrap_or_default(),- );+ let self_hosted = fluxer_common::config::read_bool_env("FLUXER_SELF_HOSTED", false);let (media_proxy_endpoint, media_proxy_secret) = match (media_proxy_endpoint,media_proxy_secret,@@ -81,7 +77,7 @@ impl UnfurlShard {http_client,resolvers,media_proxy,- static_cdn_endpoint,+ self_hosted,}}@@ -103,7 +99,7 @@ impl UnfurlShard {None,internal_http_client(),),- static_cdn_endpoint: String::new(),+ self_hosted: false,}}@@ -128,7 +124,7 @@ impl UnfurlShard {http_client: self.http_client.clone(),nsfw_mode,media_proxy: &self.media_proxy,- static_cdn_endpoint: &self.static_cdn_endpoint,+ self_hosted: self.self_hosted,youtube_api_key: youtube_api_key.map(str::to_owned),klipy_api_key: klipy_api_key.map(str::to_owned),};@@ -328,12 +324,11 @@ mod tests {static ENV_LOCK: Mutex<()> = Mutex::new(());- const PUBLIC_ENDPOINT_ENV: [&str; 8] = [+ const PUBLIC_ENDPOINT_ENV: [&str; 7] = ["FLUXER_MEDIA_PROXY_ENDPOINT","FLUXER_MEDIA_PROXY_SECRET_KEY","FLUXER_MEDIA_PROXY_PUBLIC_ENDPOINT",- "FLUXER_UNFURL_STATIC_CDN_ENDPOINT",- "FLUXER_STATIC_CDN_ENDPOINT",+ "FLUXER_SELF_HOSTED","FLUXER_BASE_DOMAIN","FLUXER_PUBLIC_PORT","FLUXER_PUBLIC_ORIGIN",@@ -355,7 +350,7 @@ mod tests {}#[test]- fn a_non_default_public_port_reaches_the_public_media_and_static_endpoints() {+ fn a_non_default_public_port_reaches_the_public_media_endpoint() {let shard = shard_from_env(&[("FLUXER_MEDIA_PROXY_ENDPOINT", "http://media-proxy:8080"),("FLUXER_MEDIA_PROXY_SECRET_KEY", "secret"),@@ -363,12 +358,10 @@ mod tests {"FLUXER_MEDIA_PROXY_PUBLIC_ENDPOINT","http://fluxer.example/media",),- ("FLUXER_STATIC_CDN_ENDPOINT", "http://fluxer.example"),("FLUXER_BASE_DOMAIN", "fluxer.example"),("FLUXER_PUBLIC_PORT", "19080"),]);- assert_eq!(shard.static_cdn_endpoint, "http://fluxer.example:19080");assert!(shard.media_proxy@@ -379,7 +372,7 @@ mod tests {}#[test]- fn a_default_public_port_leaves_the_public_media_and_static_endpoints_alone() {+ fn a_default_public_port_leaves_the_public_media_endpoint_alone() {let shard = shard_from_env(&[("FLUXER_MEDIA_PROXY_ENDPOINT", "http://media-proxy:8080"),("FLUXER_MEDIA_PROXY_SECRET_KEY", "secret"),@@ -387,12 +380,10 @@ mod tests {"FLUXER_MEDIA_PROXY_PUBLIC_ENDPOINT","https://fluxer.example/media",),- ("FLUXER_STATIC_CDN_ENDPOINT", "https://fluxer.example"),("FLUXER_BASE_DOMAIN", "fluxer.example"),("FLUXER_PUBLIC_PORT", "443"),]);- assert_eq!(shard.static_cdn_endpoint, "https://fluxer.example");assert!(shard.media_proxy@@ -402,6 +393,18 @@ mod tests {);}+ #[test]+ fn self_hosted_follows_the_fluxer_self_hosted_env() {+ let media_proxy = [+ ("FLUXER_MEDIA_PROXY_ENDPOINT", "http://media-proxy:8080"),+ ("FLUXER_MEDIA_PROXY_SECRET_KEY", "secret"),+ ];+ assert!(!shard_from_env(&media_proxy).self_hosted);+ let mut vars = media_proxy.to_vec();+ vars.push(("FLUXER_SELF_HOSTED", "true"));+ assert!(shard_from_env(&vars).self_hosted);+ }+fn unfurl(url: &str, youtube_api_key: Option<&str>) -> UnfurlRequest {UnfurlRequest::Unfurl {url: url.to_owned(),diff --git a/tools/dev/src/manifest.rs b/tools/dev/src/manifest.rsindex 4417ac824..cabdcfdc4 100644--- a/tools/dev/src/manifest.rs+++ b/tools/dev/src/manifest.rs@@ -94,20 +94,6 @@ pub const PROXY_ROUTES: &[ProxyRoute] = &[strip_prefix: false,alternate_ports: &[],},- ProxyRoute {- prefix: "/marketing/pwa-install",- host: LOOPBACK_HOST,- port: APP_PROXY_PORT,- strip_prefix: false,- alternate_ports: &[],- },- ProxyRoute {- prefix: "/marketing/screenshots",- host: LOOPBACK_HOST,- port: APP_PROXY_PORT,- strip_prefix: false,- alternate_ports: &[],- },ProxyRoute {prefix: "/assets",host: LOOPBACK_HOST,