Compare commits

...

13 Commits

Author SHA1 Message Date
Aravinth Manivannan 15906605a8
fix: CI: publishing branch
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-03-12 20:21:33 +05:30
Aravinth Manivannan 941fcb1466
fix: CI: set upstream 2023-03-12 20:21:33 +05:30
Aravinth Manivannan 5f6c2fec83
chore: debug 2023-03-12 20:21:33 +05:30
Aravinth Manivannan de8cf77212
fix: CI: update secret name 2023-03-12 20:21:33 +05:30
Aravinth Manivannan f8aea9f53e
fix: CI: branch name 2023-03-12 20:21:33 +05:30
Aravinth Manivannan de965eed7f
feat: use librepages 2023-03-12 20:21:31 +05:30
Aravinth Manivannan 24efc5b796
fix: rm GDPR compliance
GDPR requires storing all data in EU or regions with similar privacy
laws. All data is stored in India at the moment, so we are not
compliant.
2023-03-12 20:21:08 +05:30
Aravinth Manivannan b4a81d1c11
feat: notify librepages about pushes on this branch 2023-03-12 20:21:08 +05:30
Aravinth Manivannan fc3b6152da
feat: setup CI to build `mcaptcha.io` branch and publish to
`mcaptcha-io-pages` branch
2023-03-12 20:21:08 +05:30
Aravinth Manivannan 2bff56060a
feat: mention ToS and support pages in footer 2023-03-12 20:21:08 +05:30
Aravinth Manivannan d056d71998
feat: add refund policy and human point of contact info 2023-03-12 20:21:08 +05:30
Aravinth Manivannan 0855a1258f
feat: add support information
with @realaravinth (me) as the point of contact.

"mCaptcha" is registered in India, as mentioned in this[0] blog post.
This is a temporary measure, a more transparent and public setup is in
the works[1].

[0]: https://mcaptcha.org/blog/june-2022-monthly-report/
[1]: https://matrix.to/#/!MiBHBcYsgFFsDtmqIk:matrix.batsense.net/$qyfHfeKveTrIscbceyneN3wqY6AXs-jREhG2q2NK7Dc?via=matrix.batsense.net&via=matrix.org&via=matrix.moscow.chatv3.ru
2023-03-12 20:21:08 +05:30
Aravinth Manivannan 555cd0046c
feat: add GDPR compliance 2023-03-12 20:21:08 +05:30
8 changed files with 83 additions and 11 deletions

View File

@ -3,7 +3,7 @@ name: github pages
on:
push:
branches:
- master # Set a branch to deploy
- mcaptcha.io # Set a branch to deploy
jobs:
build:
@ -43,8 +43,9 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: "mcaptcha-io-pages"
- name: deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'mCaptcha/website' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/mcaptcha.io' && github.repository == 'mCaptcha/website' }}
run: >-
curl --location --request POST "https://deploy.batsense.net/api/v1/update" --header 'Content-Type: application/json' --data-raw "{ \"secret\": \"${{ secrets.DEPLOY_TOKEN }}\", \"branch\": \"gh-pages\" }"
curl --location --request POST "https://deploy.batsense.net/api/v1/update" --header 'Content-Type: application/json' --data-raw "{ \"secret\": \"${{ secrets.DEPLOY_TOKEN_MCAPTCHA_IO }}\", \"branch\": \"mcaptcha-io-pages\" }"

View File

@ -3,11 +3,12 @@ pipeline:
image: python
when:
event: [ push, pull_request, tag, deployment ]
branch: master
branch: mcaptcha.io
commands:
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
- apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
- make env
- make
- make ci-deploy
secrets: [ FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]
- echo 0
secrets: [ FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET_MCAPTCHA_IO ]

View File

@ -8,10 +8,10 @@ ci-deploy: ## Deploy from CI/CD. Only call from within CI
fi
git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}"
git config --global user.name "${CI_COMMIT_AUTHOR}"
./scripts/hugo.sh deploy librepages public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>"
./scripts/hugo.sh deploy librepages-mcaptcha-io public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>"
./scripts/ci.sh --init "$$FORGEJO_WRITE_DEPLOY_KEY"
cat /tmp/ci-ssh-id
./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET} librepages
./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET_MCAPTCHA_IO} librepages-mcaptcha-io
./scripts/ci.sh --clean
env: ## Download build dependencies and setup dev environment

View File

@ -86,13 +86,23 @@
url = "/security"
identifier = "security"
weight = 400
[[footer]]
name = "Status"
url = "https://stats.uptimerobot.com/GK7VLFJnBl"
weight = 500
[[footer]]
name = "Support"
url = "/support/"
weight = 600
[[footer]]
name = "Thanks"
url = "/thanks"
weight = 600
weight = 700
[[footer]]
name = "ToS"
url = "/tos"
weight = 800

View File

@ -35,6 +35,10 @@ The following information is collected:
## Contact us
[Contact us]({{< ref "contact/index.md" >}}) if you have any questions.
A user can request deletion or anonymisation of the data they are unable
to delete themselves by sending a request to support@mcaptcha.io.
A user can request an copy of the data held by mCaptcha that they are unable
to download themselves by sending a request to support@mcaptcha.io.
Effective Date: _20th May, 2021_

22
content/support/index.md Normal file
View File

@ -0,0 +1,22 @@
---
title: "Support"
description: "mCaptcha commercial support information"
date: 2022-10-31:16:18+02:00
lastmod: 2022-10-31:16:18+02:00
draft: false
images: []
---
Commercial support is available from the lead developer, @realaravinth.
To seek support, kindly contact:
Aravinth Manivannan
Email: support@mcaptcha.io
Phone: +91 99438 15996
8/1,
Palaniappa Nagar, Coimbatore,
Tamil Nadu,
India - 641 041

34
content/tos/index.md Normal file
View File

@ -0,0 +1,34 @@
---
title: "Terms of Service"
description: "mCaptcha commercial support information"
date: 2022-10-31:16:18+02:00
lastmod: 2022-10-31:16:18+02:00
draft: false
images: []
---
All applications and infrastructure software used in mCaptcha are
published under a Free Software license.
## Support
Please see here for [support](/support) information.
## Security
Please see here for [security](/security) information.
## No Questions Asked Cancellation and Refund Policy
Full refund of purchases available for up to 15 days from the date of
purchase. There is no capping on the refund amount. 100% of your
purchase value would be refunded to you. The refund might take 2-5
business days to process.
Please contact support@mcaptcha.io to request a refund.
## Human contact
mCaptcha users are kindly invited to get in touch with
realaravinth@batsense.net and organize a meeting in person to discuss
the services provided.

View File

@ -76,7 +76,7 @@ deploy() {
help
else
git -c core.sshCommand="/usr/bin/ssh -oStrictHostKeyChecking=no -i $SSH_ID_FILE"\
push --force $SSH_REMOTE_NAME $2
push -u --force $SSH_REMOTE_NAME $2
curl -vv --location --request \
POST "https://deploy.batsense.net/api/v1/update"\
--header 'Content-Type: application/json' \