From 7943da0f1789290990c719dfe9b675b0a1202ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 9 Aug 2024 12:34:10 +0200 Subject: [PATCH 01/12] Add note --- extras/strfry/ldap-policy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/strfry/ldap-policy.ts b/extras/strfry/ldap-policy.ts index 03224cf..5f45539 100644 --- a/extras/strfry/ldap-policy.ts +++ b/extras/strfry/ldap-policy.ts @@ -36,6 +36,10 @@ const ldapPolicy: Policy = async (msg, opts) => { const zapRequestJSON = descriptionTag[1]; const validationResult = nip57.validateZapRequest(zapRequestJSON); + // TODO + // The zap receipt event's pubkey MUST be the same as the recipient's lnurl provider's nostrPubkey (retrieved in step 1 of the protocol flow). + // The invoiceAmount contained in the bolt11 tag of the zap receipt MUST equal the amount tag of the zap request (if present). + if (validationResult === null) { pubkey = JSON.parse(zapRequestJSON).pubkey; } else { From bbed3cd3672989c6bef2885a35914469d0320371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 1 Jun 2024 18:21:18 +0200 Subject: [PATCH 02/12] Add RS logo to service grid, resize others --- app/views/dashboard/index.html.erb | 14 ++++++++------ public/img/logos/icon_remotestorage.svg | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 public/img/logos/icon_remotestorage.svg diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index 5d38b7c..f7d6c99 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -5,7 +5,7 @@
<% if Setting.ejabberd_enabled? %>
<%= link_to services_chat_path, class: "block h-full px-6 py-6 rounded-md" do %> @@ -18,7 +18,7 @@ <% end %> <% if Setting.mastodon_enabled? %>
<%= link_to services_mastodon_path, class: "block h-full px-6 py-6 rounded-md" do %>

Mastodon

@@ -41,13 +41,13 @@ <% end %> <% if Setting.discourse_enabled? %>
<%= link_to "#{Setting.discourse_public_url}/session/sso?return_path=/", class: "block h-full px-6 py-6 rounded-md" do %>

Discourse

- Kosmos community forums and user support/help site + Community forums and support/help site

<% end %>
@@ -67,7 +67,9 @@ <% end %> <% if Setting.remotestorage_enabled? && Flipper.enabled?(:remotestorage, current_user) %> -
+
<%= link_to services_storage_path, class: "block h-full px-6 py-6 rounded-md" do %>

Storage

@@ -79,7 +81,7 @@ <% end %> <% if Setting.gitea_enabled? %>
<%= link_to Setting.gitea_public_url, class: "block h-full px-6 py-6 rounded-md" do %> diff --git a/public/img/logos/icon_remotestorage.svg b/public/img/logos/icon_remotestorage.svg new file mode 100644 index 0000000..a4813a5 --- /dev/null +++ b/public/img/logos/icon_remotestorage.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + From 210a69bd9b624e490c1efbb0ba42bf47a7b2f50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 9 Aug 2024 14:19:49 +0200 Subject: [PATCH 03/12] Add Geary app recommendation to email page --- app/views/services/email/show.html.erb | 8 ++++++++ public/img/logos/icon_geary.png | Bin 0 -> 9430 bytes 2 files changed, 8 insertions(+) create mode 100644 public/img/logos/icon_geary.png diff --git a/app/views/services/email/show.html.erb b/app/views/services/email/show.html.erb index ada7bba..39379e6 100644 --- a/app/views/services/email/show.html.erb +++ b/app/views/services/email/show.html.erb @@ -100,6 +100,14 @@ ["Website", "https://www.thunderbird.net"] ] ) %> + <%= render AppInfoComponent.new( + name: "Geary", + description: "Built around conversations, for the GNOME desktop", + icon_path: "/img/logos/icon_geary.png", + links: [ + ["Website", "https://wiki.gnome.org/Apps/Geary"] + ] + ) %>