Commit Graph

11 Commits (da9725acd44ce63753daf5be1baf222c367dfd80)

Author SHA1 Message Date
renovate[bot] 207a4888c0
chore(deps): update node.js to v14.18.0 (#43603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 20:01:22 -07:00
renovate[bot] ace3a2dffb
chore(deps): update node.js to v14.17.6 (#43352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-01 15:45:04 +00:00
renovate[bot] 39b15870fb
chore(deps): update node.js to v14.17.5 (#43193)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-13 10:15:34 +02:00
Ahmad Abdolsaheb b623c340a9
feat(client): add google pay (#43117)
* feat: initial button setup client

* feat: rename walletsButton to .tsx

* chore: typescriptize wallet component

* chore: re-add keys to config, env, etc + check in gatsby-node

* feat: refactor donate form and wallet component

* feat(client): set labels correctly

* chore: add stripe package back to server

* chore: add stripe back to allowed paths

* chore: copy donate.js code from PR #41924

* feat: attempt to make back end work

* feat: make redux work

* feat: clean up

* feat: hokify

* feat: add error handling

* fix: back-end should be working

* fix: type errors

* fix: clean up back-end

* feat:addd styles

* feat: connect the client to the api

* feat: display wallets button everywhere

* test: add stripe key for cypress action

* test: fix for cypress tests

* test: cypress tests again

* test: maybe?

* test: more

* test: more

* test: more

* test

* askdfjasklfj

* fix: tests finally?

* revert: remove space from cypress yaml action

* remove logs

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-08 23:22:25 +03:00
Renovate Bot c7b27a53e7 chore(deps): update node.js to v14.17.4 2021-08-02 10:54:04 +00:00
renovate[bot] 4c4a261b60
chore(deps): update node.js to v14.17.3 (#42793)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 14:50:05 +05:30
renovate[bot] f70696ced8
chore(deps): update node.js to v14.17.2 (#42778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:49:15 +05:30
renovate[bot] 129ea4fe16
chore(deps): update node.js to v14.17.1 (#42514)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 12:58:08 +05:30
renovate[bot] 8edd0e0be6
chore(deps): update node.js to v14.17.0 (#42121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-13 16:07:21 +05:30
Ahmad Abdolsaheb 27c8d564e4
fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams 5d46e2830a
feat: add Docker build (#41187)
* feat(docker): build and use client and api images

* feat: always use .env

dotenv fails without throwing if the .env file is missing and never
overwrites variables if they already exist. As such, we can use it in
build pipelines.

* fix: remove quotes from env vars

dotenv normalises quoted and unquoted strings (X=x, X='x' and
X="x") all become the same .env object {X: 'x'}. However, Docker's
env_file does not (the three cases are distinct).  As a result, we
should use unquoted strings for consistency.

* fix: provide custom warning when .env is missing

* feat(docker): include client-config

* fix(docker): remove build packages from api image

* fix(docker): run script from correct dir

* fix(docker): correct permissions and dests

* fix(docker): consolidate run steps

This is standard practice, but did not have a noticable affect on the
image size

* fix(docker): clean the npm cache

Prior to this step the image was 1.11GB uncompressed and we got a modest
saving, 1.09GB after.

* refactor(docker): regexless COPY directives

* feat(docker): use alpine

This shrinks the image down to 259MB

* fix(docker): update build scripts

* fix: correct the server Dockerfile RUNs

* DEBUG: expose mysql port for seeding

* chore: update client Dockerfile's node versions

* fix: remove executable permissions from index.js

It's not a cli, so I don't think it needs to be executable.

* chore: update node and remove stale comments

* feat: use ENTRYPOINT + CMD to allow runtime config

* fix: add CURRICULUM_LOCALE arg

* feat: allow client port configuration

* feat: allow api port to be configured

* refactor: use unique variable names for ports

* fix: add default CLIENT_PORT

* refactor: clean up
2021-04-20 19:29:31 +05:30