Skip to content

Rename from forked plugin.#1

Open
awagner wants to merge 1 commit intomod_feedback-forkedfrom
refactored-master
Open

Rename from forked plugin.#1
awagner wants to merge 1 commit intomod_feedback-forkedfrom
refactored-master

Conversation

@awagner
Copy link

@awagner awagner commented May 22, 2025

No description provided.

@awagner awagner requested a review from nersesov May 23, 2025 10:21
@@ -0,0 +1,196 @@
<?php
Copy link
Author

Choose a reason for hiding this comment

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

This is a realy weird filename, i can also not find a usage for it. Can you please explain, what this file does?

Copy link
Author

Choose a reason for hiding this comment

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

We wanted you to add several commits for
• Vendor plugin base (after branch filtering)
• Rename existing mod_feedback plugin to mod_individualfeedback
• Futher commit for you changes to renamed plugin.
So I had rather expected not to find new files after the renaming of forked plugin.

$return = feedback_ajax_saveitemorder($itemlist, $feedback);
$return = individualfeedback_ajax_saveitemorder($itemlist, $feedback);
}
break;
Copy link
Author

Choose a reason for hiding this comment

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

We wanted you to add several commits for
• Vendor plugin base (after branch filtering)
• Rename existing mod_feedback plugin to mod_individualfeedback
• Futher commit for you changes to renamed plugin.
So I had rather expected not to find new files or other modificated lines except renamings after the renaming of forked plugin.

alert("salvando question group");
$itemlist = explode(',', trim($itemorder, ','));
if (count($itemlist) > 0) {
$return = individualfeedback_ajax_saveitemorder($itemlist, $feedback);
Copy link
Author

Choose a reason for hiding this comment

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

I you modify existing files of mod_feedback, we want you to do this along out hack guidelines.

@@ -0,0 +1,64 @@
<?php
Copy link
Author

Choose a reason for hiding this comment

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

These are useful scripts, but we'd expected this to be executed in a unit test, not in a executable cli file.

@@ -0,0 +1,82 @@
<?php
Copy link
Author

Choose a reason for hiding this comment

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

I can not understand, why this file has been added to this commit. Renaming and adding new files should happen in seperate commits. If this file is not an original file, it should have been added in the next commit.

/**
* prints the form so an anonymous user can fill out the individualfeedback on the mainsite
*
* @author Andreas Grabs
Copy link
Author

Choose a reason for hiding this comment

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

I assume this author is correct?

* Upgrade helper functions
*
* @package mod_individualfeedback
* @copyright 2016 Marina Glancy
Copy link
Author

Choose a reason for hiding this comment

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

New file from Marina 2016? How can this happen.

public function __construct($action = null, $customdata = null, $method = 'post', $target = '',
$attributes = null, $editable = true, $ajaxformdata = null) {
debugging('Class feedback_edit_use_template_form is deprecated. Replaced with dynamic forms.', DEBUG_DEVELOPER);
$attributes = null, $editable = true, $ajaxformdata = null) {
Copy link
Author

Choose a reason for hiding this comment

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

Do not add any whitespace changes to the original code.

@@ -0,0 +1,18 @@
function checkstartendgroupitem() {
Copy link
Author

Choose a reason for hiding this comment

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

Can you please explain, why there is a *.bak file here?

$plugin->version = 2024100700; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2024100100; // Requires this Moodle version.
$plugin->component = 'mod_feedback'; // Full name of the plugin (used for diagnostics)
$plugin->version = 2025033001; // The current module version (Baseversion Date: 2020070900)
Copy link
Author

Choose a reason for hiding this comment

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

Please do not increase the Version according to the date, do only a minor increase, otherwise we might expect trouble, when there are upgrading steps to execute coming from the original code.

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