Skip to content

Commit 470ad52

Browse files
authored
Merge pull request #1041 from maxceem/issue-917
Add Attachments
2 parents 8c87f29 + 8130075 commit 470ad52

File tree

15 files changed

+862
-313
lines changed

15 files changed

+862
-313
lines changed

config/constants/development.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,9 @@ module.exports = {
3131
DS_TRACK_ID: 'c0f5d461-8219-4c14-878a-c3a3f356466d',
3232
QA_TRACK_ID: '36e6a8d0-7e1e-4608-a673-64279d99c115',
3333
SEGMENT_API_KEY: 'QBtLgV8vCiuRX1lDikbMjcoe9aCHkF6n',
34-
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c']
34+
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c'],
35+
FILE_PICKER_API_KEY: process.env.FILE_PICKER_API_KEY,
36+
FILE_PICKER_CONTAINER_NAME: 'tc-challenge-v5-dev',
37+
FILE_PICKER_REGION: 'us-east-1',
38+
FILE_PICKER_CNAME: 'fs.topcoder.com'
3539
}

config/constants/production.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,9 @@ module.exports = {
3131
DS_TRACK_ID: 'c0f5d461-8219-4c14-878a-c3a3f356466d',
3232
QA_TRACK_ID: '36e6a8d0-7e1e-4608-a673-64279d99c115',
3333
SEGMENT_API_KEY: 'QSQAW5BWmZfLoKFNRgNKaqHvLDLJoGqF',
34-
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c']
34+
CREATE_FORUM_TYPE_IDS: ['927abff4-7af9-4145-8ba1-577c16e64e2e', 'dc876fa4-ef2d-4eee-b701-b555fcc6544c'],
35+
FILE_PICKER_API_KEY: process.env.FILE_PICKER_API_KEY,
36+
FILE_PICKER_CONTAINER_NAME: 'tc-challenge-v5-prod',
37+
FILE_PICKER_REGION: 'us-east-1',
38+
FILE_PICKER_CNAME: 'fs.topcoder.com'
3539
}

package-lock.json

Lines changed: 158 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"eslint-plugin-standard": "^4.0.0",
3939
"express": "^4.16.4",
4040
"file-loader": "2.0.0",
41-
"form-data": "^2.4.0",
41+
"filestack-js": "^3.20.0",
4242
"fs-extra": "7.0.0",
4343
"html-webpack-plugin": "4.0.0-alpha.2",
4444
"identity-obj-proxy": "3.0.0",
@@ -71,7 +71,6 @@
7171
"react-debounce-input": "^3.2.0",
7272
"react-dev-utils": "^7.0.1",
7373
"react-dom": "^16.7.0",
74-
"react-dropzone": "^10.1.5",
7574
"react-google-charts": "^3.0.13",
7675
"react-helmet": "^5.2.0",
7776
"react-js-pagination": "^3.0.3",

0 commit comments

Comments
 (0)