bernardo

bernardo pushed to collaborative at LInE/iassign

2 years ago

bernardo pushed to collaborative at LInE/iassign

  • 4eb91fec9c fix: remove view call at iassign constructor
  • 4806ba5b9f Update 'locallib.php' v 4.9.7 2022/02/11 Try to fix teacher edit of activity changing 'statement.id' to 'statement.file' in 'add_edit_iassign()'
  • 279175a7c0 Update 'locallib.php' Solved problem of working with old iAssign activity (that do not have "store_all_submissions" field): + function new_iassign ($param): * Apos "$newentry->type_iassign = $param->type_iassign;" if (!isset($param->store_all_submissions)) { $newentry->store_all_submissions = 0; } + function update_iassign ($param): * Apos "$newentry->type_iassign = $param->type_iassign;" acresc.: if (!isset($param->store_all_submissions)) { $newentry->store_all_submissions = 0; }
  • 9e724f5ef4 Update 'db/upgrade.php' New version of iVProg "1.0.20220113": added "if ($oldversion < 2021122300)"
  • 36696219f0 Update 'ilm_handlers/html5.php' Detail do find the file in table "files": public static function show_activity_in_ilm ($iassign_statement_activity_item, $student_answer, $enderecoPOST, $view_teacherfileversion): * Em: foreach ($files as $value): // To be revised? 'files.filename' has '.' is only path (not the file) added: "break" after found file (with "if ($value->get_filename() != '.')")

2 years ago

bernardo created new branch collaborative at LInE/iassign

2 years ago

bernardo pushed to gradebook at bernardo/gradeimporter

  • aa8eaac7b1 fix: Correctly names gradebook entry as gradeimporter instance name

2 years ago

bernardo pushed to gradebook at bernardo/gradeimporter

  • 8a382b7342 feat: Submission removal correctly updates grade in gradebook - If submission grades are going to gradebook: -- Correctly updates each student grade for gradeimporter instance

2 years ago

bernardo pushed to gradebook at bernardo/gradeimporter

  • fa8449143b Add edit mode for gradeimporter: - In edit mode teacher can edit or delete submission - Deletion not removing grade from gradebook
  • 8c2d529a42 Added lib function gradeimporter_reset_gradebook - When gradebook is reset all submissions grades are also reset
  • View comparison for these 2 commits »

2 years ago

bernardo pushed to gradebook at bernardo/gradeimporter

  • f65f0a81a5 Gradebook update - Submission grades are now inserted into database if teacher chooses so in submissionform - Update several files to enable this changes -- install.xml: Quality of life changes, removing deprecated fields and adding new fields like maxgrade at submission table -- New functions for grade insertion at lib.php -- Removal of deprecated code at many files -- Added maxgrade text field at submission_form.php

2 years ago

bernardo pushed to gradebook at bernardo/gradeimporter

  • 818dd61055 Register grades into gradebook - If gradebook field value is yes on submission form now registers grades on gradebook - Updated install.xml to add necessary fields - Remove deprecated fields on install.xml - Changed description and description format to moodle standard intro and introformat on install.xml - Reorganized fields order to improve readability ********** Needs to reinstall to apply changes to DB
  • 1dc75d2919 Teacher can edit a full submission - Clicking on the pencil besides submission name opens submission.php with fields filled with correct info - File field can't be filled because files are deleted after used - When updated replaces all feedbacks that are for the same student - If new feedback has no file associated but old feedback had, old file is deleted - If both new feedback and old file have files associated, old file is deleted in favor of the new one - If new feedback has file and old one doesn't, new file is recorded as normal
  • ffd0b9a5cf Changed redirection after submission either completed or cancelled to a moodle url built from full path to view.php instead of relative path from mod base folder.
  • ed948877b6 Code Quality: Update all indentation from 4 spaces to 2 spaces Remove deprecated functions from locallib.php - Most functions were reimplemented libs files at the lib folder IMPORTANT: - Files are now recorded with itemid as feedbackid to avoid recording as duplicate - Functions that manipulate files already updated - gradeimporter, feedback and type names now allows for 256 characters on database - Plugin has to be reinstalled to apply db changes - Forms name field expects that limitation - On instance deletion, now correctly deletes all files and all submission types
  • 63d1c86a1d Teacher view updated: - Loading all submissions for each student - If student doesn't have a submission its replaced by a dash

2 years ago

bernardo created new branch gradebook at bernardo/gradeimporter

2 years ago

bernardo pushed to master at bernardo/gradeimporter

  • 1dc75d2919 Teacher can edit a full submission - Clicking on the pencil besides submission name opens submission.php with fields filled with correct info - File field can't be filled because files are deleted after used - When updated replaces all feedbacks that are for the same student - If new feedback has no file associated but old feedback had, old file is deleted - If both new feedback and old file have files associated, old file is deleted in favor of the new one - If new feedback has file and old one doesn't, new file is recorded as normal
  • ffd0b9a5cf Changed redirection after submission either completed or cancelled to a moodle url built from full path to view.php instead of relative path from mod base folder.
  • View comparison for these 2 commits »

2 years ago

bernardo pushed to submissionEditor at bernardo/gradeimporter

  • 1dc75d2919 Teacher can edit a full submission - Clicking on the pencil besides submission name opens submission.php with fields filled with correct info - File field can't be filled because files are deleted after used - When updated replaces all feedbacks that are for the same student - If new feedback has no file associated but old feedback had, old file is deleted - If both new feedback and old file have files associated, old file is deleted in favor of the new one - If new feedback has file and old one doesn't, new file is recorded as normal
  • ffd0b9a5cf Changed redirection after submission either completed or cancelled to a moodle url built from full path to view.php instead of relative path from mod base folder.
  • View comparison for these 2 commits »

2 years ago

bernardo pushed to submissionEditor at bernardo/gradeimporter

  • ed948877b6 Code Quality: Update all indentation from 4 spaces to 2 spaces Remove deprecated functions from locallib.php - Most functions were reimplemented libs files at the lib folder IMPORTANT: - Files are now recorded with itemid as feedbackid to avoid recording as duplicate - Functions that manipulate files already updated - gradeimporter, feedback and type names now allows for 256 characters on database - Plugin has to be reinstalled to apply db changes - Forms name field expects that limitation - On instance deletion, now correctly deletes all files and all submission types
  • 63d1c86a1d Teacher view updated: - Loading all submissions for each student - If student doesn't have a submission its replaced by a dash
  • 8c8d2d2ea5 Submission form fully working: - Correctly calls submissiontype form and reflects the changes in gradeimporter_submissiontype table in DB. - UI can be improved Teacher view under reconstruction: - Updating teacherview to be a class; - Improving maintainability and readability; - Views (student and teacher) are inside libs/ - To be finished on next commit
  • d975f19d5a Updated student view: - Properly shows submission name, grades, comment and file; function mod_gradeimporter_pluginfile added to lib.php: - Enables file serving through pluginfile url
  • cae7e4ed36 Partially working student view, missing file recovery and submission_type

2 years ago

bernardo created new branch submissionEditor at bernardo/gradeimporter

2 years ago

bernardo pushed to documentation at bernardo/gradeimporter

  • ed948877b6 Code Quality: Update all indentation from 4 spaces to 2 spaces Remove deprecated functions from locallib.php - Most functions were reimplemented libs files at the lib folder IMPORTANT: - Files are now recorded with itemid as feedbackid to avoid recording as duplicate - Functions that manipulate files already updated - gradeimporter, feedback and type names now allows for 256 characters on database - Plugin has to be reinstalled to apply db changes - Forms name field expects that limitation - On instance deletion, now correctly deletes all files and all submission types
  • 63d1c86a1d Teacher view updated: - Loading all submissions for each student - If student doesn't have a submission its replaced by a dash
  • 8c8d2d2ea5 Submission form fully working: - Correctly calls submissiontype form and reflects the changes in gradeimporter_submissiontype table in DB. - UI can be improved Teacher view under reconstruction: - Updating teacherview to be a class; - Improving maintainability and readability; - Views (student and teacher) are inside libs/ - To be finished on next commit
  • d975f19d5a Updated student view: - Properly shows submission name, grades, comment and file; function mod_gradeimporter_pluginfile added to lib.php: - Enables file serving through pluginfile url
  • cae7e4ed36 Partially working student view, missing file recovery and submission_type

2 years ago

bernardo created new branch documentation at bernardo/gradeimporter

2 years ago

bernardo deleted branch pluginfile at bernardo/gradeimporter

2 years ago

bernardo pushed to master at bernardo/gradeimporter

  • ed948877b6 Code Quality: Update all indentation from 4 spaces to 2 spaces Remove deprecated functions from locallib.php - Most functions were reimplemented libs files at the lib folder IMPORTANT: - Files are now recorded with itemid as feedbackid to avoid recording as duplicate - Functions that manipulate files already updated - gradeimporter, feedback and type names now allows for 256 characters on database - Plugin has to be reinstalled to apply db changes - Forms name field expects that limitation - On instance deletion, now correctly deletes all files and all submission types
  • d981bc2d6d Update 'db/install.xml' Increased field lengths of: * gradeimporter.name: from 50 to 256 (<FIELD NAME="name" TYPE="char" LENGTH="256" ...) * gradeimporter_submission.name: from 20 to 256 (<FIELD NAME="name" TYPE="char" LENGTH="256"...)
  • 6e52dcc188 Update 'forms/submission/submission.php' Fixed redirect to GradeImport view (from "redirect("view.php?id=$cm->id&edit=1");" to "redirect($CFG->dirroot . "/mod/gradeimporter/view.php?id=" . $cm->id . "&edit=1");" Initial reference to LInE. Adjust in indentation.
  • 28b2f2461c Update 'forms/submission/submission_form.php' Reference do LInE. Indentation adjusts.
  • 9c979d2583 Update 'view.php' Fixed redirect after inserted new GradeImport (Zip file). Indentation adjusts
  • View comparison for these 5 commits »

2 years ago

bernardo closed issue bernardo/gradeimporter#2

Student view not working

2 years ago

bernardo closed issue bernardo/gradeimporter#3

Teacher view not working properly

2 years ago

bernardo commented on issue bernardo/gradeimporter#3

Teacher view not working properly

fixed

2 years ago