Skip to content

Feature/cur 4002 publish activity to canvas - #1288

Merged
aqeel-tkxel merged 15 commits into
developfrom
feature/CUR-4002-publish-activity-to-canvas
Sep 26, 2022
Merged

Feature/cur 4002 publish activity to canvas#1288
aqeel-tkxel merged 15 commits into
developfrom
feature/CUR-4002-publish-activity-to-canvas

Conversation

@AqibYounasAtTkxel

Copy link
Copy Markdown
Contributor

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

@aqeel-tkxelaqeel-tkxel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested.

Comment threadapp/CurrikiGo/Canvas/Activity.php Outdated
Comment on lines +50 to +54
public function send(ActivityModel $activity, $data)
{

}
}

Copy link
Copy Markdown
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.

Comment threadapp/CurrikiGo/Canvas/Commands/CreateAssignmentGroupsCommand.php Outdated
Comment threadapp/CurrikiGo/Canvas/Commands/CreateAssignmentCommand.php Outdated
Comment threadapp/CurrikiGo/Canvas/Commands/GetAllCoursesCommand.php
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
Copy Markdown
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?

Comment threadapp/CurrikiGo/Canvas/Course.php Outdated
Comment threadapp/Http/Requests/V1/CurrikiGo/PublishPlaylistRequest.php
Comment threadapp/Http/Requests/V1/CurrikiGo/CreateAssignmentRequest.php
Comment threadapp/Http/Controllers/Api/V1/CurrikiGo/PublishController.php Outdated
Comment threadapp/CurrikiGo/Canvas/Playlist.php

@aqeel-tkxelaqeel-tkxel left a comment

Copy link
Copy Markdown
Contributor

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 developSep 26, 2022
@aqeel-tkxel
aqeel-tkxel deleted the feature/CUR-4002-publish-activity-to-canvas branch September 26, 2022 10:43
Sign up for freeto 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

@AqibYounasAtTkxel@aqeel-tkxel