Skip to content

Prod release: 0.4.0 #1047

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 51 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5b0eb3d
feat: challenge attachments
maxceem Dec 3, 2020
f113938
fix: revert back accounts URLS
maxceem Dec 3, 2020
0e8c3e3
chore: remove console.log
maxceem Dec 3, 2020
27e2c6e
Merge branch 'develop' into issue-917
maxceem Dec 9, 2020
f5f0062
add favicon
nursoltan-s Jan 9, 2021
20aff2a
added assign to me button
nursoltan-s Jan 9, 2021
b9ae916
add Iterative Reviewer for First2Finish and Task type challenges
akumar1503 Jan 9, 2021
ba34ea0
fixed-#927
mark-nakachon Jan 9, 2021
2b5f8c2
Fixed issue #1007
dashu-baba Jan 9, 2021
598a625
groups filter from api
SleepyZenitsu Jan 9, 2021
5a282ba
react-select new version changes
SleepyZenitsu Jan 10, 2021
bfc9d56
Merge pull request #1026 from nursoltan-s/nursoltan-874
maxceem Jan 11, 2021
62c81c1
change button to href
nursoltan-s Jan 11, 2021
283b9d9
add prevent Default
nursoltan-s Jan 11, 2021
7dc52df
chore: don't use "local.topcoder-dev.com" anymore
maxceem Jan 11, 2021
f35be7f
show only edit
nursoltan-s Jan 11, 2021
05b9eb8
fix: fix isssue #986
yoution Jan 11, 2021
38bf8ef
Merge pull request #1027 from nursoltan-s/nursoltan-1017
maxceem Jan 11, 2021
b614c36
added req-changes
mark-nakachon Jan 11, 2021
eaf1abd
Fix initial reviewer field and do not re-post resource to server
akumar1503 Jan 11, 2021
85d8f44
Merge pull request #1030 from mark-nakachon/fixes-#927
maxceem Jan 11, 2021
40f66bc
Revert "fixes - #927"
maxceem Jan 11, 2021
946451f
Merge pull request #1033 from topcoder-platform/revert-1030-fixes-#927
maxceem Jan 11, 2021
6597d74
Merge pull request #1028 from yoution/yoution-issue-986
maxceem Jan 11, 2021
a4a603c
Updated properties and related backend call location for task type …
dashu-baba Jan 12, 2021
a000be0
Merge branch 'cf-jan-2021' into fixes-#927
mark-nakachon Jan 12, 2021
f2408b2
Merge pull request #1034 from mark-nakachon/fixes-#927
maxceem Jan 12, 2021
329cd32
Merge branch 'cf-jan-2021' into issue-1007
dashu-baba Jan 12, 2021
5653cc6
console log removed
dashu-baba Jan 12, 2021
cb57a78
Merge pull request #1031 from dashu-baba/issue-1007
maxceem Jan 12, 2021
84b4ed0
fix undefined bug
akumar1503 Jan 12, 2021
61c4705
Merge pull request #931 from maxceem/issue-917
Jan 12, 2021
4ca163b
Merge pull request #1029 from kodar007/fix-issue-1008
maxceem Jan 12, 2021
3e113c9
fix: reviewer role during creating tasks
maxceem Jan 12, 2021
e7a6ba6
Revert "Add Attachments to the challenge specification"
maxceem Jan 12, 2021
39671b8
Merge pull request #1035 from topcoder-platform/revert-931-issue-917
maxceem Jan 12, 2021
311bcb1
requested changes in pull request
SleepyZenitsu Jan 13, 2021
ca73946
Merge pull request #1032 from CDharmateja/develop
maxceem Jan 13, 2021
ce7f7cf
Merge branch 'develop' into cf-jan-2021
maxceem Jan 13, 2021
ab2d4cf
Revert "Merge branch 'develop' into cf-jan-2021"
maxceem Jan 13, 2021
b2a15b4
fix: delete button small fixes
maxceem Jan 13, 2021
9a3268d
Merge pull request #1036 from topcoder-platform/cf-jan-2021
maxceem Jan 13, 2021
6dc4760
Revert "add favicon"
maxceem Jan 13, 2021
81485ee
fix search group placeholder
SleepyZenitsu Jan 13, 2021
8c87f29
Merge pull request #1037 from CDharmateja/search-group-placeholder
maxceem Jan 13, 2021
0e379ba
Merge branch 'develop' into issue-917
maxceem Jan 14, 2021
c141563
Revert "Merge pull request #1035 from topcoder-platform/revert-931-is…
maxceem Jan 14, 2021
8130075
fix: attachment fixes and implevements
maxceem Jan 14, 2021
470ad52
Merge pull request #1041 from maxceem/issue-917
maxceem Jan 14, 2021
918759c
chore: debug build script
maxceem Jan 16, 2021
b13ec4e
build var integration
Gunasekar-K Jan 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ builddeploy_steps: &builddeploy_steps
- setup_remote_docker
- run: *install_dependency
- run: *install_deploysuite
- run: ./build.sh ${APPNAME}
- run:
name: "configuring environment"
command: |
./awsconfiguration.sh $DEPLOY_ENV
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
- run:
name: "building image"
command: |
source buildenvvar
./build.sh ${APPNAME}
- deploy:
name: Running MasterScript.
command: |
./awsconfiguration.sh $DEPLOY_ENV
#./awsconfiguration.sh $DEPLOY_ENV
source awsenvconf
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
source buildenvvar
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ npm install

1. copy the environment file in docs/dev.env to /.env

1. add `127.0.0.1 local.topcoder-dev.com` to your /etc/hosts file

1. If you are using local instances of the API's, change the DEV_API_HOSTNAME in configs/constants/development.js to match your local api endpoint.
- For example change it to 'http://localhost:3000/',

Expand All @@ -50,7 +48,7 @@ npm install
npm run dev
```

You can access the app from [http://local.topcoder-dev.com:3001/](http://local.topcoder-dev.com:3001/)
You can access the app from [http://localhost:3000/](http://localhost:3000/)

The page will reload if you make edits.

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ APP_NAME=$1
UPDATE_CACHE=""
echo "NODE ENV: $NODE_ENV"
echo "BABEL ENV: $BABEL_ENV"
docker-compose -f docker/docker-compose.yml build --build-arg NODE_ENV=$NODE_ENV --build-arg BABEL_ENV=$BABEL_ENV $APP_NAME
docker-compose -f docker/docker-compose.yml build --build-arg NODE_ENV=$NODE_ENV --build-arg BABEL_ENV=$BABEL_ENV --build-arg FILE_PICKER_API_KEY=$FILE_PICKER_API_KEY --build-arg FORCE_DEV=$FORCE_DEV $APP_NAME
docker create --name app $APP_NAME:latest

if [ -d node_modules ]
Expand Down
7 changes: 5 additions & 2 deletions config/constants/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
COMMUNITY_APP_URL: `https://www.${DOMAIN}`,
MEMBER_API_URL: `${DEV_API_HOSTNAME}/v4/members`,
MEMBER_API_V3_URL: `${DEV_API_HOSTNAME}/v3/members`,
DEV_APP_URL: `http://local.${DOMAIN}`,
CHALLENGE_API_URL: `${DEV_API_HOSTNAME}/v5/challenges`,
CHALLENGE_TIMELINE_TEMPLATES_URL: `${DEV_API_HOSTNAME}/v5/timeline-templates`,
CHALLENGE_TYPES_URL: `${DEV_API_HOSTNAME}/v5/challenge-types`,
Expand All @@ -32,5 +31,9 @@ module.exports = {
DS_TRACK_ID: 'c0f5d461-8219-4c14-878a-c3a3f356466d',
QA_TRACK_ID: '36e6a8d0-7e1e-4608-a673-64279d99c115',
SEGMENT_API_KEY: 'QBtLgV8vCiuRX1lDikbMjcoe9aCHkF6n',
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c']
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c'],
FILE_PICKER_API_KEY: process.env.FILE_PICKER_API_KEY,
FILE_PICKER_CONTAINER_NAME: 'tc-challenge-v5-dev',
FILE_PICKER_REGION: 'us-east-1',
FILE_PICKER_CNAME: 'fs.topcoder.com'
}
7 changes: 5 additions & 2 deletions config/constants/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
COMMUNITY_APP_URL: `https://www.${DOMAIN}`,
MEMBER_API_URL: `${PROD_API_HOSTNAME}/v4/members`,
MEMBER_API_V3_URL: `${PROD_API_HOSTNAME}/v3/members`,
DEV_APP_URL: `https://submission-review.${DOMAIN}`,
CHALLENGE_API_URL: `${PROD_API_HOSTNAME}/v5/challenges`,
CHALLENGE_TIMELINE_TEMPLATES_URL: `${PROD_API_HOSTNAME}/v5/timeline-templates`,
CHALLENGE_TYPES_URL: `${PROD_API_HOSTNAME}/v5/challenge-types`,
Expand All @@ -32,5 +31,9 @@ module.exports = {
DS_TRACK_ID: 'c0f5d461-8219-4c14-878a-c3a3f356466d',
QA_TRACK_ID: '36e6a8d0-7e1e-4608-a673-64279d99c115',
SEGMENT_API_KEY: 'QSQAW5BWmZfLoKFNRgNKaqHvLDLJoGqF',
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c']
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c'],
FILE_PICKER_API_KEY: process.env.FILE_PICKER_API_KEY,
FILE_PICKER_CONTAINER_NAME: 'tc-challenge-v5-prod',
FILE_PICKER_REGION: 'us-east-1',
FILE_PICKER_CNAME: 'fs.topcoder.com'
}
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ FROM node:latest
ARG NODE_ENV
ARG BABEL_ENV

ARG FILE_PICKER_API_KEY
ARG FORCE_DEV

ENV NODE_ENV=$NODE_ENV
ENV BABEL_ENV=$BABEL_ENV
ENV FILE_PICKER_API_KEY=$FILE_PICKER_API_KEY
ENV FORCE_DEV=$FORCE_DEV

# Copy the current directory into the Docker image
COPY . /challenge-engine-ui
Expand Down
Loading