Serving assets for handling universal links http://join.status.im
Go to file
Jakub Sokołowski 5fd8dd2466 add support for private groups at /g/
The code checks for:
- Presence of all three URL arguments: `a`, `a1`, `a2`
- Verifies that `a`(admin key...) is 132 characters long
- Verifies that `a2`(chat key...) is 169 characters long
- Verifies that `a1` does not contain HTML before rendering

Each case is tested, including the valid one.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-29 17:15:24 +02:00
bin site overhaul changes 2019-04-18 18:11:37 +02:00
public redirect to referral service if invite code is set 2020-09-02 18:10:35 +02:00
resources implement passing URL args to PlayStore 2020-03-20 16:05:47 +01:00
routes add support for private groups at /g/ 2020-09-29 17:15:24 +02:00
tests add support for private groups at /g/ 2020-09-29 17:15:24 +02:00
utils add support for private groups at /g/ 2020-09-29 17:15:24 +02:00
views fix relative link to /img/logo.svg 2020-09-29 17:15:24 +02:00
.dockerignore Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
.gitignore Somehow this fell off 2018-07-03 02:29:02 -04:00
Dockerfile set NODE_ENV=production in docker image 2020-09-29 17:15:24 +02:00
Jenkinsfile add tests to pipeline 2018-07-02 15:41:06 +02:00
LICENSE Initial commit 2018-06-27 15:30:27 +02:00
README.md add support for express route tests 2020-02-26 10:16:51 +01:00
app.js add tap-color for proper test exit codes 2020-03-20 16:05:47 +01:00
docker-compose.override.yml switch to using yarn instead of npm 2020-02-11 16:36:47 +01:00
docker-compose.yml Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
package.json add support for compressed secp256k1 keys encoded with base58btc 2020-07-07 17:29:20 +02:00
yarn.lock Bump lodash from 4.17.15 to 4.17.19 2020-07-21 10:01:21 +02:00

README.md

Universal links handler

App to handle universal links served at http://join.status.im

Getting Started

Prerequisites

You need to have docker & docker-compose installed

Development

Start docker-compose with:

docker-compose -p whatever up

It will listen on port 8080 and mount the correct volumes so any change is then reflected.

node_modules are mounted as a volume so in case you change package-lock.json will need to be re-installed in the docker container.

Production locally

Start docker-compose with:

docker-compose -p whatever -f docker-compose.yml up

Don't forget to rebuild the image if you made any changes

docker-compose -p whatever -f docker-compose.yml build

It will build the image and start the container listening on port 8080

Testing

yarn run tests

CI: https://jenkins.status.im/job/misc/job/universal-links-handler/

Deployment

The code is automatically deployed when pushed to master