From c2e6f2e63d26b138e0cee1e68c63010f61d98d04 Mon Sep 17 00:00:00 2001 From: Daria Phoebe Brashear Date: Thu, 12 May 2016 10:28:34 -0400 Subject: [PATCH 1/4] add fey pronouns conjugates like singular they --- resources/pronouns.tab | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/pronouns.tab b/resources/pronouns.tab index b6e00dd..69120c3 100644 --- a/resources/pronouns.tab +++ b/resources/pronouns.tab @@ -29,3 +29,4 @@ zie hir hir hirs hirself si hyr hyr hyrs hyrself kit kit kits kits kitself ne nem nir nirs nemself +fey fem feir feirs femself From 6624f5f69b688741f31a8e8e5d0579853db6071a Mon Sep 17 00:00:00 2001 From: Morgan Astra Date: Sat, 4 Nov 2017 16:05:47 -0700 Subject: [PATCH 2/4] A woman is not dead while her name is still spoken. --- src/pronouns/web.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index e57d7ec..bbbce82 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -47,6 +47,11 @@ (ANY "*" [] (route/not-found (slurp (io/resource "404.html"))))) +(defn wrap-gnu-natalie-nguyen [handler] + (fn [req] + (when-let [resp (handler req)] + (assoc-in resp [:headers "X-Clacks-Overhead"] "GNU Natalie Nguyen")))) + (defn wrap-error-page [handler] (fn [req] (try (handler req) @@ -60,6 +65,7 @@ (-> app-routes logger/wrap-with-logger wrap-error-page + wrap-gnu-natalie-nguyen trace/wrap-stacktrace params/wrap-params)) From 61b41e10f9e7205b078b0c8f41eca41e533c8a03 Mon Sep 17 00:00:00 2001 From: Morgan Astra Date: Sat, 4 Nov 2017 16:11:30 -0700 Subject: [PATCH 3/4] remove defunct patreon link --- src/pronouns/pages.clj | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index a9301e3..ea3d6b3 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -102,10 +102,6 @@ (twitter-name "morganastra") ", whose " (href "http://pronoun.is/ze/zir?or=she" "pronoun.is/ze/zir?or=she")] - [:p "Want to support this and similar websites? " - "Join us on " - (href "https://www.patreon.com/user?u=5238484" "Patreon") - "!"] [:p "pronoun.is is free software under the " (href "https://www.gnu.org/licenses/agpl.html" "AGPLv3") "! visit the project on " From 864746273d868f7477e1f84898e989bff905737b Mon Sep 17 00:00:00 2001 From: Mat Schaffer Date: Sat, 11 Aug 2018 22:18:15 +0900 Subject: [PATCH 4/4] Fix spacing on not-found message Not familiar with hiccup, but I see similar spacing on https://github.com/witch-house/pronoun.is/blob/master/src/pronouns/pages.clj#L78 so figured I'd roll with it. --- src/pronouns/pages.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index ea3d6b3..62007bc 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -167,7 +167,7 @@ [:body (header-block title) [:div {:class "section examples"} - [:p [:h2 (str "We couldn't find those pronouns in our database." + [:p [:h2 (str "We couldn't find those pronouns in our database. " "If you think we should have them, please reach out!")]]] (footer-block)]])))