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

Improve challenge visibility control: review and search #508

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/dev' into dev
  • Loading branch information
TheOsch committed Jun 20, 2017
commit e997903063ea7b81f8ac8e83a980656cca0fd49f
1 change: 0 additions & 1 deletion actions/challenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
* Changes in 1.32:
* - validateChallenge, getRegistrants, getChallenge, getSubmissions and getPhases functions now check
* if an user belongs to a group via user_group_xref for old challenges and by calling V3 API for new ones.
* -
*/
"use strict";
/*jslint stupid: true, unparam: true, continue: true, nomen: true */
Expand Down
12 changes: 12 additions & 0 deletions db_scripts/test_eligibility.insert.sql
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@ INSERT INTO project_info (project_id, project_info_type_id, value, create_user,
VALUES (1110005, 26, "---", "132456", CURRENT, "132456", CURRENT);

INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110001, 6, 3330333, "Not private", CURRENT, "132456", CURRENT);
INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110002, 6, 3330333, "Old logic - access allowed", CURRENT, "132456", CURRENT);
INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110003, 6, 3330333, "Old logic - access denied", CURRENT, "132456", CURRENT);
INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110004, 6, 3330333, "New logic - access allowed", CURRENT, "132456", CURRENT);
INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110005, 6, 3330333, "New logic - access denied", CURRENT, "132456", CURRENT);

INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
>>>>>>> upstream/dev
VALUES (1110001, 79, "---", "132456", CURRENT, "132456", CURRENT);
INSERT INTO project_info (project_id, project_info_type_id, value, create_user, create_date, modify_user, modify_date)
VALUES (1110002, 79, "---", "132456", CURRENT, "132456", CURRENT);
Expand Down
4 changes: 2 additions & 2 deletions initializers/v3client.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function callService(params, callback) {
/*jslint eqeq: true*/
if (response.statusCode != 200) {
/*jslint eqeq: false*/
callback(new Error('API V3 returned ' + response.statusCode + ' ' + (response.statusMessage || '')));
callback(new Error('API ' + params.url + ' returned ' + response.statusCode + ' ' + (response.statusMessage || '')));
return;
}
callback(null, body);
Expand Down Expand Up @@ -73,7 +73,7 @@ function getToken(connection, callback) {
method: 'POST',
body: {
param: {
token: connection.authToken
externalToken: connection.authToken
}
}
}, function (err, body) {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.