Skip to content
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

Feature/cur 4002 publish activity to canvas #1288

Merged
merged 15 commits into from
Sep 26, 2022

Conversation

AqibYounasAtTkxel
Copy link
Contributor

Publishing activity to canvas, existing feature of publishing project to canvas is also modified, following the logical flow of GCR

Copy link
Contributor

@aqeel-tkxel aqeel-tkxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested.

Comment on lines 50 to 54
public function send(ActivityModel $activity, $data)
{

}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we using this class for anything? If not, it could be deleted.

app/CurrikiGo/Canvas/Commands/CreateAssignmentCommand.php Outdated Show resolved Hide resolved
Comment on lines +64 to +70
try {
$response = $this->httpClient->request('GET', $this->apiURL . '/courses/' . $this->courseId . '/' . $this->endpoint . '?per_page=1000', [
'headers' => ['Authorization' => "Bearer {$this->accessToken}"]
])->getBody()->getContents();
$response = json_decode($response);
} catch (Exception $ex) {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulling in too many records here?

app/CurrikiGo/Canvas/Course.php Outdated Show resolved Hide resolved
app/CurrikiGo/Canvas/Playlist.php Outdated Show resolved Hide resolved
Copy link
Contributor

@aqeel-tkxel aqeel-tkxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR approved.

@aqeel-tkxel aqeel-tkxel merged commit 8dc79b2 into develop Sep 26, 2022
@aqeel-tkxel aqeel-tkxel deleted the feature/CUR-4002-publish-activity-to-canvas branch September 26, 2022 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants