From 3acc5a9c4c234ef4fe00cbbd55fda125a91852af Mon Sep 17 00:00:00 2001 From: LelouchFR Date: Mon, 16 Mar 2026 12:05:52 +0000 Subject: [PATCH 1/3] add passwordrules with pattern and add birdate to locales --- .lando.yml | 25 +++++++++++++++++++++++++ docker-compose.yml | 20 ++++++++++++++++++++ locales/en_US.json | 1 + locales/fr_FR.json | 1 + views/account/register.handlebars | 4 ++-- 5 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 .lando.yml create mode 100644 docker-compose.yml diff --git a/.lando.yml b/.lando.yml new file mode 100644 index 0000000..da1c023 --- /dev/null +++ b/.lando.yml @@ -0,0 +1,25 @@ +name: pretendo +recipe: lamp +config: + php: '8.3' + via: apache:2.4 + webroot: . + database: mongo:8.0 + xdebug: false +services: + phpmyadmin: + type: phpmyadmin + hosts: + - mongo8 + mongodb: + type: mongo:8.0 + redis: + type: redis + portforward: true + node: + type: node + build: + - yarn install +tooling: + yarn: + service: node diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0ac6b31 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3.8' +services: + app: + build: . + ports: + - "3000:3000" + environment: + - MONGODB_URI=mongodb://mongo:27017/pretendo + depends_on: + - mongo + + mongo: + image: mongo:6 + ports: + - "27017:27017" + volumes: + - mongo_data:/data/db + +volumes: + mongo_data: diff --git a/locales/en_US.json b/locales/en_US.json index 9a0c64a..54ac07c 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -330,6 +330,7 @@ "confirmPassword": "Confirm password", "email": "Email", "miiName": "Mii name", + "birthdate": "Birthdate", "forgotPassword": "Forgot your password?", "registerPrompt": "Don't have an account?", "loginPrompt": "Already have an account?" diff --git a/locales/fr_FR.json b/locales/fr_FR.json index 61e5739..ab15b2f 100644 --- a/locales/fr_FR.json +++ b/locales/fr_FR.json @@ -368,6 +368,7 @@ "confirmPassword": "Confirmez le mot de passe", "email": "Email", "miiName": "Surnom du Mii", + "birthdate": "Date de naissance", "forgotPassword": "Mot de passe oublié ?", "registerPrompt": "Pas encore inscrit ?" }, diff --git a/views/account/register.handlebars b/views/account/register.handlebars index e4be193..a6049d1 100644 --- a/views/account/register.handlebars +++ b/views/account/register.handlebars @@ -24,13 +24,13 @@
- {{! TODO - Add this to weblate, hard-coding for now to just push it out }} +

- +
From 1ca6abe6f4a5e96c5bce3d076d23b873faf076cf Mon Sep 17 00:00:00 2001 From: LelouchFR Date: Mon, 16 Mar 2026 12:10:41 +0000 Subject: [PATCH 2/3] remove non-important files --- .lando.yml | 25 ------------------------- docker-compose.yml | 20 -------------------- 2 files changed, 45 deletions(-) delete mode 100644 .lando.yml delete mode 100644 docker-compose.yml diff --git a/.lando.yml b/.lando.yml deleted file mode 100644 index da1c023..0000000 --- a/.lando.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: pretendo -recipe: lamp -config: - php: '8.3' - via: apache:2.4 - webroot: . - database: mongo:8.0 - xdebug: false -services: - phpmyadmin: - type: phpmyadmin - hosts: - - mongo8 - mongodb: - type: mongo:8.0 - redis: - type: redis - portforward: true - node: - type: node - build: - - yarn install -tooling: - yarn: - service: node diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 0ac6b31..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '3.8' -services: - app: - build: . - ports: - - "3000:3000" - environment: - - MONGODB_URI=mongodb://mongo:27017/pretendo - depends_on: - - mongo - - mongo: - image: mongo:6 - ports: - - "27017:27017" - volumes: - - mongo_data:/data/db - -volumes: - mongo_data: From 7aab64567951c97f93c181a6800f519f703ded19 Mon Sep 17 00:00:00 2001 From: LelouchFR Date: Wed, 18 Mar 2026 08:50:38 +0000 Subject: [PATCH 3/3] change passwordrules on register view --- views/account/register.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/account/register.handlebars b/views/account/register.handlebars index a6049d1..023a5e3 100644 --- a/views/account/register.handlebars +++ b/views/account/register.handlebars @@ -30,7 +30,7 @@
- +