Skip to content

PROD - Remove hard-coded tokens #982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 50 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6ec239f
Remove vanilla access token value
jmgasper Nov 18, 2024
e0b21f0
Remove vanilla access token value
jmgasper Nov 18, 2024
c516321
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into dev
jmgasper Nov 18, 2024
a9a8769
Remove segment analytics
jmgasper Nov 18, 2024
5d89148
Lint
jmgasper Nov 18, 2024
a5a1d43
PM-324 drop Contentful dependency
kkartunov Nov 19, 2024
440dffd
Merge pull request #983 from topcoder-platform/PM-324
kkartunov Nov 19, 2024
aa0d8d1
PM-460 - handle scurity scan issues
vas3a Jan 6, 2025
25aedff
Merge pull request #984 from topcoder-platform/PM-460_handle-security…
vas3a Jan 7, 2025
d1ce740
upgrade axios@1.7.9
vas3a Jan 8, 2025
2adbe2f
remove cypress
vas3a Jan 9, 2025
bd6e9d6
upgrade storybook
vas3a Jan 9, 2025
b39f2d8
update contentful
vas3a Jan 9, 2025
c646c0a
upgrade cryptojs
vas3a Jan 9, 2025
9b46837
upgrade dom purify
vas3a Jan 9, 2025
c22bdf2
upgrade express & mardown-it
vas3a Jan 9, 2025
a7b0712
update sass-loader
vas3a Jan 9, 2025
d2260e1
Update node version to latest lts: 22.13
vas3a Jan 9, 2025
7dcb891
update PR template
vas3a Jan 9, 2025
460ed3f
PM-459 - remove earn app from the platform and all the dependencies
vas3a Jan 9, 2025
e0e7a23
Update node version in circleci
vas3a Jan 9, 2025
39bd27b
try another image for circleci
vas3a Jan 9, 2025
b77d8ef
Test build fix
jmgasper Jan 10, 2025
261426a
Test build fix
jmgasper Jan 10, 2025
df6b749
Test build fix
jmgasper Jan 10, 2025
e5dd84b
Test build fix
jmgasper Jan 10, 2025
30f0c1d
Test build fix
jmgasper Jan 10, 2025
522d0ca
Test build fix
jmgasper Jan 10, 2025
09f46bf
Test build fix
jmgasper Jan 10, 2025
d8412f9
Test build fix
jmgasper Jan 10, 2025
22743c3
Test build fix
jmgasper Jan 10, 2025
a6c8f78
Test build fix
jmgasper Jan 10, 2025
36ef180
Test build fix
jmgasper Jan 10, 2025
42d275f
Test build fix
jmgasper Jan 10, 2025
d640fd4
Test build fix
jmgasper Jan 10, 2025
ae2ef93
Test build fix
jmgasper Jan 10, 2025
75395e9
Merge pull request #985 from topcoder-platform/PM-459_upgrade-depende…
vas3a Jan 10, 2025
de8911d
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into P…
vas3a Jan 10, 2025
8a7a4bb
Rename admin to skills-manager
vas3a Jan 10, 2025
526be42
PM-462 - platformui deployment docs
vas3a Jan 10, 2025
ee0d667
lint fix
vas3a Jan 10, 2025
318981f
Merge pull request #986 from topcoder-platform/PM-459_remove-earn-app
kkartunov Jan 13, 2025
d00715a
Merge pull request #987 from topcoder-platform/PM-462_platform-ui-dep…
vas3a Jan 13, 2025
799715b
PM-464 Add getting started guide
Jan 13, 2025
14fb8d0
Merge branch 'dev' into PM-464
Jan 13, 2025
426717e
style the dev center tabs
Jan 13, 2025
f2c3e97
linting fix
Jan 13, 2025
e709d19
update docs about wallet-admin
vas3a Jan 13, 2025
a2d07c6
Merge pull request #988 from topcoder-platform/PM-464
himaniraghav3 Jan 13, 2025
165f7dc
Merge pull request #989 from topcoder-platform/PM-462_platform-ui-dep…
vas3a Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 7 additions & 48 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@ version: 2.1

defaults: &defaults
docker:
- image: node:16.14
- image: node:22.13

deploy_defaults: &deploy_defaults
docker:
- image: cimg/python:3.10.2

test_defaults: &test_defaults
docker:
- image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
- image: cimg/python:3.12.1-browsers

install_build_dependency: &install_build_dependency
name: Installation of build and deployment dependencies.
command: |
apt update
apt install jq -y
apt install python3-pip -y
pip3 install awscli --upgrade
apt install python3-pip python-is-python3 python3.11-venv -y
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws

install_dependency: &install_dependency
name: Installation of build and deployment dependencies.
Expand Down Expand Up @@ -60,14 +58,6 @@ running_yarn_sb_build: &running_yarn_sb_build
source buildenvvar
yarn sb:build

running_yarn_test: &running_yarn_test
name: Running Yarn Test Build
command: |
yarn install
yarn cypress install
yarn build
yarn cy:ci

workspace_persist: &workspace_persist
root: .
paths:
Expand Down Expand Up @@ -98,26 +88,6 @@ build_steps: &build_steps # Initialization.
- run: *running_yarn_sb_build
- persist_to_workspace: *workspace_persist

test_steps: &test_steps # Initialization.
- checkout
- setup_remote_docker
- restore_cache:
key: test-node-modules-{{ checksum "yarn.lock" }}
- run: *running_yarn_test
- save_cache:
key: test-node-modules-{{ checksum "yarn.lock" }}
paths:
- node_modules
- /root/.cache/Cypress
- store_test_results:
path: cypress/test-report
- store_artifacts:
path: cypress/test-report
- store_artifacts:
path: cypress/videos
- store_artifacts:
path: cypress/screenshots

deploy_steps: &deploy_steps
- checkout
- attach_workspace: *workspace_attach
Expand Down Expand Up @@ -173,14 +143,6 @@ jobs:
APPNAME: "platform-ui-mvp"
steps: *build_steps

test-dev:
<<: *test_defaults
environment:
DEPLOY_ENV: "DEV"
LOGICAL_ENV: "dev"
APPNAME: "platform-ui-mvp"
steps: *test_steps

# Just tests commited code.
deployDev:
<<: *deploy_defaults
Expand Down Expand Up @@ -277,7 +239,4 @@ workflows:
filters: &filters-prod
branches:
only:
- master

- test-dev:
context: org-global
- master
3 changes: 0 additions & 3 deletions .environments/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false
REACT_APP_STRIPE_API_KEY=pk_test_rfcS49MHRVUKomQ9JgSH7Xqz
REACT_APP_STRIPE_API_VERSION=2020-08-27

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

Expand Down
3 changes: 0 additions & 3 deletions .environments/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false
REACT_APP_STRIPE_API_KEY=pk_live_m3bCBVSfkfMOEp3unZFRsHXi
REACT_APP_STRIPE_API_VERSION=2020-08-27

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

Expand Down
3 changes: 0 additions & 3 deletions .environments/.env.qa
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false
REACT_APP_STRIPE_API_KEY=pk_test_rfcS49MHRVUKomQ9JgSH7Xqz
REACT_APP_STRIPE_API_VERSION=2020-08-27

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

Expand Down
15 changes: 10 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
Related JIRA Ticket:
https://topcoder.atlassian.net/browse/<!-- JIRA TICKET ID -->
<!--
NOTE: you can leave these comments as they are,
no need to delete them as they won't appear in the final PR description
-->
<!-- Please make sure to link the JIRA ticket related to this PR, if any -->
## Related JIRA Ticket:
https://topcoder.atlassian.net/browse/

# What's in this PR?
<!-- Please add a brief description of what this PR accomplishes -->

<!-- SEE [Pull Requests](../README.md#pull-requests) for more details about opening a PR -->
<!-- Please add a brief description of what this PR accomplishes -->
<!-- SEE [Pull Requests](../README.md#pull-requests) for more details about opening a PR -->
# What's in this PR?
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
22.13.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ e.g.: `PROD-001 #comment adding readme notes #time 45m`
- Typescript
- React Scripts

This app uses React 18, Typescript 4, and Node 16.
This app uses React 18, Typescript 4, and Node 22.

### IDE

Expand All @@ -103,13 +103,13 @@ Once nvm is installed, run:
At the root of the project directory you'll notice a file called `.nvmrc` which specifies the node version used by the project. The command `nvm use` will use the version specified in the file if no version is supplied on the command line.
See [the nvm Github README](https://github.com/nvm-sh/nvm/blob/master/README.md#nvmrc) for more information on setting this up.

>**NOTE:** The current node version mentioned in the `.nvmrc` is `16.15.0`
>**NOTE:** The current node version mentioned in the `.nvmrc` is `22.13.0`

You can verify the versions of `nvm`, `node`, and `npm` using the commands below.
| Command | Supported Version |
| ----------------- | -------- |
| `% npm -v` | 8.5.5 |
| `% node -v` | v16.15.0 |
| `% node -v` | v22.13.0 |
| `% nvm --version` | 0.39.1 |
| `% nvm current` | v15.15.0 |

Expand Down
32 changes: 0 additions & 32 deletions cypress.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions cypress/.eslintrc

This file was deleted.

12 changes: 0 additions & 12 deletions cypress/e2e/home/home.spec.ts

This file was deleted.

8 changes: 0 additions & 8 deletions cypress/support/commands.ts

This file was deleted.

2 changes: 0 additions & 2 deletions cypress/support/e2e.ts

This file was deleted.

12 changes: 0 additions & 12 deletions cypress/tsconfig.json

This file was deleted.

Loading