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

chore: nuke feedback system #25

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
109 changes: 0 additions & 109 deletions lbplanner/classes/helpers/feedback_helper.php

This file was deleted.

19 changes: 0 additions & 19 deletions lbplanner/db/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,6 @@
<KEY NAME="planid" TYPE="foreign" FIELDS="planid" REFTABLE="local_lbplanner_plans" REFFIELDS="id" />
</KEYS>
</TABLE>
<TABLE NAME="local_lbplanner_feedback" COMMENT="Table for Feedback for the LBPLANNER App">
<FIELDS>
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true" />
<FIELD NAME="content" TYPE="text" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="notes" TYPE="text" NOTNULL="false" SEQUENCE="false" />
<FIELD NAME="type" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false" />
<FIELD NAME="status" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false" />
<FIELD NAME="timestamp" TYPE="int" LENGTH="20" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="lastmodified" TYPE="int" LENGTH="20" NOTNULL="false" SEQUENCE="false" />
<FIELD NAME="lastmodifiedby" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" />
<FIELD NAME="logfile" TYPE="text" NOTNULL="false" SEQUENCE="false" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />
<KEY NAME="userid" TYPE="foreign" FIELDS="userid" REFTABLE="local_lbplanner_users" REFFIELDS="userid" />
<KEY NAME="lastmodifiedby" TYPE="foreign" FIELDS="userid" REFTABLE="local_lbplanner_users" REFFIELDS="userid" />
</KEYS>
</TABLE>
<TABLE NAME="local_lbplanner_slots" COMMENT="All avaliable slots">
<FIELDS>
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
Expand Down
40 changes: 0 additions & 40 deletions lbplanner/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,42 +215,6 @@
'capabilities' => 'local/lb_planner:student',
'ajax' => true,
],
'local_lbplanner_feedback_submit_feedback' => [
'classname' => 'local_lbplanner_services\feedback_submit_feedback',
'methodname' => 'submit_feedback',
'classpath' => 'local/lbplanner/services/feedback/submit_feedback.php',
'description' => 'Add a feedback to the DB',
'type' => 'write',
'capabilities' => 'local/lb_planner:student',
'ajax' => true,
],
'local_lbplanner_feedback_get_all_feedbacks' => [
'classname' => 'local_lbplanner_services\feedback_get_all_feedbacks',
'methodname' => 'get_all_feedbacks',
'classpath' => 'local/lbplanner/services/feedback/get_all_feedbacks.php',
'description' => 'Get all the feedback from the DB',
'type' => 'read',
'capabilities' => 'local/lb_planner:admin, local/lb_planner:manager',
'ajax' => true,
],
'local_lbplanner_feedback_update_feedback' => [
'classname' => 'local_lbplanner_services\feedback_update_feedback',
'methodname' => 'update_feedback',
'classpath' => 'local/lbplanner/services/feedback/update_feedback.php',
'description' => 'Update the feedback of the given id',
'type' => 'write',
'capabilities' => 'local/lb_planner:admin, local/lb_planner:manager',
'ajax' => true,
],
'local_lbplanner_feedback_delete_feedback' => [
'classname' => 'local_lbplanner_services\feedback_delete_feedback',
'methodname' => 'delete_feedback',
'classpath' => 'local/lbplanner/services/feedback/delete_feedback.php',
'description' => 'Delete the feedback of the given id',
'type' => 'write',
'capabilities' => 'local/lb_planner:admin, local/lb_planner:manager',
'ajax' => true,
],
'local_lbplanner_plan_accept_invite' => [
'classname' => 'local_lbplanner_services\plan_accept_invite',
'methodname' => 'accept_invite',
Expand Down Expand Up @@ -359,10 +323,6 @@
'local_lbplanner_plan_get_access',
'local_lbplanner_plan_update_access',
'local_lbplanner_user_delete_user',
'local_lbplanner_feedback_submit_feedback',
'local_lbplanner_feedback_delete_feedback',
'local_lbplanner_feedback_get_all_feedbacks',
'local_lbplanner_feedback_update_feedback',
'local_lbplanner_plan_accept_invite',
'local_lbplanner_plan_decline_invite',
'local_lbplanner_config_get_version',
Expand Down
75 changes: 0 additions & 75 deletions lbplanner/services/feedback/delete_feedback.php

This file was deleted.

60 changes: 0 additions & 60 deletions lbplanner/services/feedback/get_all_feedbacks.php

This file was deleted.

Loading
Loading