Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 96472a6

Browse files
committed
Fixed merge problems
1 parent b2ca1f9 commit 96472a6

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

actions/srmRoundSegments.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ var setRoundSegments = function (api, connection, dbConnectionMap, next) {
174174
}
175175
}, function (results, cb) {
176176
sqlParams.startTime = helper.formatDate(registrationStart, DB_DATE_FORMAT);
177-
api.log(sqlParams.startTime);
178177
sqlParams.endTime = moment(registrationStart, DATE_FORMAT).add('minutes', registrationLength).format(DB_DATE_FORMAT);
179178

180179
sqlParams.segmentId = helper.SEGMENTS_ID_MAP.REGISTRATION_PHASE;

routes.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2013 - 2014 TopCoder Inc., All Rights Reserved.
33
*
4-
* @version 1.56
4+
* @version 1.60
55
* @author vangavroche, Sky_, muzehyun, kurtrips, Ghost_141, ecnu_haozi, hesibo, LazyChild, isv, flytoj2ee,
66
* @author panoptimum, bugbuka, Easyhard
77
*
@@ -132,6 +132,14 @@
132132
* - Add routes for set round components and terms.
133133
* Changes in 1.56:
134134
* - Add route for Data Science Past Challenges API.
135+
* Changes in 1.57 (Module Assembly - Topcoder NodeJS Active and Upcoming Data Science Challenge API):
136+
* - Added route for Active / Upcoming Data Science Challenges API.
137+
* Changes in 1.58:
138+
* - Add routes for SRM practice problems API.
139+
* Changes in 1.59:
140+
* - Add route for user activation email api.
141+
* Changes in 1.60:
142+
* - Add route for get user identity api.
135143
*/
136144
/*jslint node:true, nomen: true */
137145
"use strict";
@@ -247,6 +255,8 @@ exports.routes = {
247255
{ path: "/:apiVersion/design/download/:submissionId", action: "downloadDesignSubmission" },
248256

249257
{ path: "/:apiVersion/user/challenges", action: "getMyChallenges" },
258+
{ path: "/:apiVersion/user/activation-email", action: "userActivationEmail" },
259+
{ path: "/:apiVersion/user/identity", action: "getUserIdentity" },
250260

251261
{ path: "/:apiVersion/users/tops/:trackType", action: "getTopTrackMembers" },
252262
{ path: "/:apiVersion/users/resetToken", action: "generateResetToken" },
@@ -271,6 +281,7 @@ exports.routes = {
271281
{ path: "/:apiVersion/data/srm/challenges", action: "searchSRMChallenges" },
272282
{ path: "/:apiVersion/data/srm/roundAccess", action: "loadRoundAccess"},
273283
{ path: "/:apiVersion/data/srm/schedule", action: "getSRMSchedule"},
284+
{ path: "/:apiVersion/data/srm/practice/problems", action: "getPracticeProblems" },
274285

275286
{ path: "/:apiVersion/data/marathon/challenges/:roundId/regInfo", action: "getMarathonChallengeRegInfo" },
276287
{ path: "/:apiVersion/data/marathon/challenges/:id", action: "getMarathonChallenge" },
@@ -284,6 +295,8 @@ exports.routes = {
284295
{ path: "/:apiVersion/terms/detail/:termsOfUseId", action: "getTermsOfUse"},
285296
{ path: "/:apiVersion/data/srm/contests", action: "listSRMContests"},
286297
{ path: "/:apiVersion/dataScience/challenges/past", action: "pastDataScienceChallenges"},
298+
{ path: "/:apiVersion/dataScience/challenges/active", action: "activeDataScienceChallenges"},
299+
{ path: "/:apiVersion/dataScience/challenges/upcoming", action: "upcomingDataScienceChallenges"},
287300

288301
//example secure route using oauth. for future reference.
289302
{ path: "/:apiVersion/secure/challengetypes", action: "softwareTypesSecured" },

0 commit comments

Comments
 (0)