Merge branch 'main' into mecenaty

This commit is contained in:
Andrea Vos 2022-05-26 18:46:00 +02:00
commit 08e9b38c82
12 changed files with 55 additions and 13 deletions

View File

@ -8,4 +8,12 @@
background: none; background: none;
background-color: $white; background-color: $white;
} }
hr {
display: block;
border: 2px solid $border-color;
}
@page {
margin: 1cm;
}
} }

View File

@ -149,7 +149,9 @@
watch: { watch: {
clarification(v) { clarification(v) {
if (v) { if (v) {
this.form.clarification = this.$t('inclusive.clarificationDefault'); if (!this.form.clarification) {
this.form.clarification = this.$t('inclusive.clarificationDefault');
}
} else { } else {
this.form.clarification = null; this.form.clarification = null;
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="scroll-btn" @click.prevent="scroll" :style="`opacity: ${shown ? 1 : 0}`"> <div class="scroll-btn d-print-none" @click.prevent="scroll" :style="`opacity: ${shown ? 1 : 0}`">
<SquareButton link="#" :colour="colour" :aria-label="$t('table.scrollUp')"> <SquareButton link="#" :colour="colour" :aria-label="$t('table.scrollUp')">
<Icon v="arrow-alt-up"/> <Icon v="arrow-alt-up"/>
</SquareButton> </SquareButton>

View File

@ -1,5 +1,5 @@
<template> <template>
<section class="mt-4 mt-lg-0"> <section class="mt-4 mt-lg-0 d-print-none">
<div class="d-none d-md-inline-flex btn-group btn-block mb-2 w-100"> <div class="d-none d-md-inline-flex btn-group btn-block mb-2 w-100">
<router-link v-for="{name, icon, iconInverse, route, routesExtra, condition} in links" :key="name" <router-link v-for="{name, icon, iconInverse, route, routesExtra, condition} in links" :key="name"
v-if="condition === undefined || condition === true" v-if="condition === undefined || condition === true"

View File

@ -2,7 +2,7 @@ const {Event, day, week, month, dayYear, EventLevel} = require("../../../src/cal
module.exports = [ module.exports = [
// --- months --- // --- months ---
new Event('{https://queerhistory.de=Queer History Month} (Monat der queeren Geschichte)', 'Progress Pride', 5, month, EventLevel.Month), new Event('{https://queerhistory.de=Queer History Month} (Monat der queeren Geschichte) in Deutschland und Kuba', 'Progress Pride', 5, month, EventLevel.Month),
new Event('Jahrestag der Ehe für alle in Deutschland', '_hrc', 10, day(1), EventLevel.Day), new Event('Jahrestag der Ehe für alle in Deutschland', '_hrc', 10, day(1), EventLevel.Day),
new Event('Jahrestag der Ehe für alle in Österreich', '_hrc', 1, day(1), EventLevel.Day), new Event('Jahrestag der Ehe für alle in Österreich', '_hrc', 1, day(1), EventLevel.Day),
new Event('Jahrestag der Ehe für alle in Belgien', '_hrc', 6, day(1), EventLevel.Day), new Event('Jahrestag der Ehe für alle in Belgien', '_hrc', 6, day(1), EventLevel.Day),

View File

@ -58,12 +58,31 @@ module.exports = [
new Event('Suicide Prevention Day (Uruguay)', '_yellow-ribbon', 7, day(17), EventLevel.Day), new Event('Suicide Prevention Day (Uruguay)', '_yellow-ribbon', 7, day(17), EventLevel.Day),
new Event('Suicide Prevention Day (Puerto Rico)', '_yellow-ribbon', 8, day(12), EventLevel.Day), new Event('Suicide Prevention Day (Puerto Rico)', '_yellow-ribbon', 8, day(12), EventLevel.Day),
new Event('{https://www.instagram.com/p/CY_mGaGo9sm/=Nonbinary Grandparents\' Day} (Poland)', 'Nonbinary', 1, day(23), EventLevel.Day, ['nonbinary']), new Event('{https://www.instagram.com/p/CY_mGaGo9sm/=Nonbinary Grandparents\' Day} (Poland)', 'Nonbinary', 1, day(23), EventLevel.Day, ['nonbinary']),
new Event('Anniversary of the death of Marielle Franco (Brazil)', '_black-ribbon', 3, day(14), EventLevel.Day),
new Event('{https://standbyme.uk/nbad/=Bystander Awareness Day} (UK)', null, 3, day(13), EventLevel.Day), new Event('{https://standbyme.uk/nbad/=Bystander Awareness Day} (UK)', null, 3, day(13), EventLevel.Day),
new Event('{https://twitter.com/MspecLesbianss=Mspec Lesbian Visbility & Awareness Day}', '_mspec_lesbians', 5, day(26), EventLevel.Day, ['mspec lesbian', 'bi lesbian']), new Event('{https://twitter.com/MspecLesbianss=Mspec Lesbian Visbility & Awareness Day}', '_mspec_lesbians', 5, day(26), EventLevel.Day, ['mspec lesbian', 'bi lesbian']),
new Event('{https://twitter.com/MspecLesbianss=Mspec Lesbian Visbility & Awareness Week}', '_mspec_lesbians', 5, weekStarting(22), EventLevel.Week, ['mspec lesbian', 'bi lesbian']), new Event('{https://twitter.com/MspecLesbianss=Mspec Lesbian Visbility & Awareness Week}', '_mspec_lesbians', 5, weekStarting(22), EventLevel.Week, ['mspec lesbian', 'bi lesbian']),
new Event('UpStairs Lounge Arson Attack Remembrance Day', '_black-ribbon', 6, day(24), EventLevel.Day), new Event('UpStairs Lounge Arson Attack Remembrance Day', '_black-ribbon', 6, day(24), EventLevel.Day),
new Event('Admiral Duncan Pub Bombing Remembrance Day', '_black-ribbon', 4, day(30), EventLevel.Day), new Event('Admiral Duncan Pub Bombing Remembrance Day', '_black-ribbon', 4, day(30), EventLevel.Day),
new Event('Anniversary of the {https://en.wikipedia.org/wiki/Dance_of_the_Forty-One=Dance of the Forty-One} (Mexico)', null, 11, day(18), EventLevel.Day),
new Event('{https://en.wikipedia.org/wiki/Marielle_Franco=Marielle Franco} Day of Remembrance (Brazil)', '_black-ribbon', 3, day(14), EventLevel.Day),
new Event('{https://tdor.translivesmatter.info/reports/2019/05/06/milo-mazurkiewicz_warsaw-masovia-poland_9a028d4a=Milo Mazurkiewicz} Day of Remembrance (Poland)', '_black-ribbon', 5, day(6), EventLevel.Day, ['transgender', 'nonbinary']),
new Event('Marriage Equality Day (Germany)', '_hrc', 10, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Austria)', '_hrc', 1, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Belgium)', '_hrc', 6, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Luxembourg)', '_hrc', 1, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Switzerland)', '_hrc', 7, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Spain)', '_hrc', 7, day(3), EventLevel.Day),
new Event('Marriage Equality Day (Argentina)', '_hrc', 7, day(15), EventLevel.Day),
new Event('Marriage Equality Day (Uruguay)', '_hrc', 8, day(5), EventLevel.Day),
new Event('Marriage Equality Day (Colombia)', '_hrc', 4, day(28), EventLevel.Day),
new Event('Marriage Equality Day (Ecuador)', '_hrc', 7, day(8), EventLevel.Day),
new Event('Marriage Equality Day (Costa Rica)', '_hrc', 5, day(26), EventLevel.Day),
new Event('Marriage Equality Day (Portugal)', '_hrc', 6, day(5), EventLevel.Day),
new Event('Marriage Equality Day (Brasil)', '_hrc', 5, day(16), EventLevel.Day),
new Event('Marriage Equality Day (Netherlands)', '_hrc', 4, day(1), EventLevel.Day),
new Event('Marriage Equality Day (France)', '_hrc', 5, day(18), EventLevel.Day),
new Event('Marriage Equality Day (Sweden)', '_hrc', 5, day(1), EventLevel.Day),
new Event('Marriage Equality Day (Finland)', '_hrc', 3, day(1), EventLevel.Day),
// --- dynamic date --- // --- dynamic date ---

View File

@ -48,6 +48,8 @@ module.exports = [
new Event('Día del Orgullo de Ser Travesti y Transexual (Brasil)', 'Transgender', 5, day(15), EventLevel.Day, ['transgender', 'travesti']), new Event('Día del Orgullo de Ser Travesti y Transexual (Brasil)', 'Transgender', 5, day(15), EventLevel.Day, ['transgender', 'travesti']),
new Event('Día Nacional de Afirmación Gay (Brasil)', 'LGBTQ', 2, day(28), EventLevel.Day, ['lgbtq', 'gay', 'homosexual']), new Event('Día Nacional de Afirmación Gay (Brasil)', 'LGBTQ', 2, day(28), EventLevel.Day, ['lgbtq', 'gay', 'homosexual']),
new Event('Día de la Inclusión Social (Brasil)', null, 12, day(10), EventLevel.Day), new Event('Día de la Inclusión Social (Brasil)', null, 12, day(10), EventLevel.Day),
new Event('Día de la Visibilidad de las Lesbianas del Espectro Multisexual', '_mspec_lesbians', 5, day(26), EventLevel.Day, ['mspec lesbian', 'bi lesbian']),
new Event('Semana de la Visibilidad de las Lesbianas del Espectro Multisexual', '_mspec_lesbians', 5, weekStarting(22), EventLevel.Week, ['mspec lesbian', 'bi lesbian']),
// --- one-off events --- // --- one-off events ---
new Event('{https://www.facebook.com/marchadelorgulloar/=Marcha del Orgullo Buenos Aires} (Argentina)', 'LGBTQ', 11, dayYear(6, 2021), EventLevel.Day), new Event('{https://www.facebook.com/marchadelorgulloar/=Marcha del Orgullo Buenos Aires} (Argentina)', 'LGBTQ', 11, dayYear(6, 2021), EventLevel.Day),

View File

@ -67,3 +67,4 @@ czy cza czu czy/czowie cze czy
cy ca cu cy ce cy cy ca cu cy ce cy
z zka zu zowie zki zy z zka zu zowie zki zy
pan pani panu panowie panie pany pan pani panu panowie panie pany
ster stra stru strzy stry stry

1 masc fem neutr mascPl femPl neutrPl
67 cy ca cu cy ce cy
68 z zka zu zowie zki zy
69 pan pani panu panowie panie pany
70 ster stra stru strzy stry stry

View File

@ -66,3 +66,5 @@ wy wa wx wi we wxx
czy cza czx czy/czowie cze czxx czy cza czx czy/czowie cze czxx
cy ca cx cy ce cxx cy ca cx cy ce cxx
z zka zx zowie zki zxx z zka zx zowie zki zxx
pan pani panx panowie panie panxx
ster stra strx strzy stry strxx

1 masc fem neutr mascPl femPl neutrPl
66 czy cza czx czy/czowie cze czxx
67 cy ca cx cy ce cxx
68 z zka zx zowie zki zxx
69 pan pani panx panowie panie panxx
70 ster stra strx strzy stry strxx

View File

@ -8,7 +8,7 @@ home:
headerLong: 'Lista zaimków' headerLong: 'Lista zaimków'
welcome: 'Witamy na stronie zaimki.pl!' welcome: 'Witamy na stronie zaimki.pl!'
intro: > intro: >
Tworzymy tu wszechstronne kompendium wiedzy o języku niebinarnym i neutralnym płciowo. Tworzymy tu wszechstronne kompendium wiedzy o języku niebinarnym, neutralnym płciowo i inkluzywnym.
why: 'Skąd potrzeba niebinarnych zaimków?' why: 'Skąd potrzeba niebinarnych zaimków?'
about: about:
- > - >
@ -335,7 +335,7 @@ inclusive:
categories: 'Kategorie' categories: 'Kategorie'
sources: 'Linki źródłowe' sources: 'Linki źródłowe'
clarification: 'Załącz wyjaśnienie' clarification: 'Załącz wyjaśnienie'
clarificationDefault: 'Chodzi oczywiście o użycie w tym pejoratywnym znaczeniu. Nie mówimy, żeby zupełnie nie używać tego słowa.' clarificationDefault: 'Chodzi oczywiście o użycie w tym pejoratywnym znaczeniu. Nie mówimy, żeby zupełnie nie używać tego określenia.'
terminology: terminology:
header: 'Terminologia' header: 'Terminologia'

View File

@ -14,12 +14,13 @@
<Spelling :text="content"/> <Spelling :text="content"/>
</Twemoji> </Twemoji>
<Separator icon="heart"/> <div class="d-print-none">
<Support/> <Separator icon="heart"/>
<Support/>
<section> <section>
<Share :title="title"/> <Share :title="title"/>
</section> </section>
</div>
</div> </div>
</template> </template>
@ -50,6 +51,9 @@
@import "assets/variables"; @import "assets/variables";
.blog-post { .blog-post {
hyphens: auto;
text-align: justify;
img { img {
max-width: 100%; max-width: 100%;
} }

View File

@ -314,6 +314,10 @@ router.post('/user/init', handleErrorAsync(async (req, res) => {
return res.json({ error: 'user.account.changeEmail.invalid' }) return res.json({ error: 'user.account.changeEmail.invalid' })
} }
if (await lookupBanArchive(req.db, 'email', payload)) {
throw 'banned';
}
let codeKey; let codeKey;
if (isTest) { if (isTest) {
codeKey = await saveAuthenticator(req.db, 'email', user, payload, 15); codeKey = await saveAuthenticator(req.db, 'email', user, payload, 15);