Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Let user edit inputs on Food Service User Account creation * Fix PHP warning if Food Service Student Account missing * Use DBInsert() function * Fix Contact file path (delete) * Upload Address & Contact files * Upload Address & Contact files * Remove .00 from Credits, cast to float * Fix Total Credits reset for each student * Fix SQL for Class Average calculation, exclude NULL grades * Fix Total Credits reset for each student * Fix NULL grade display when Min. and Max. Grades * Add Update German (Germany) translation to WHATS_NEW.md * Fix potential SQL error if no UserSchool() in session yet * Security: use URLEscape() for PHP redirection * Use `$_REQUEST['search_terms']` to allow GET param in URL * SQL order Assignments by Type first * HTML set autocomplete to off for Assignment & Type select inputs * Reorder Discipline field type options * Move from serialize() to json_encode() * SQL better ordering for Assignments * SQL calculate Class Rank for Progress Periods * Fix SQL display Students with no Food Service account in the list * CSS FlatSIS reduce loading spinner height just below file input's height * SQL Fix replacement in case the "username" contains the prefix * SQL add accounting_categories table * Add Categories program to Accounting module * Add `_makePaymentsCategory()` & `_makeIncomesCategory()` functions * Reuse `_makeIncomesTextInput()` function in `_makePaymentsTextInput()` * Use button only for File Attached input & download * HTML Delete, Waived & Refunded button on their own line * Add Timeframe start / end date filters * Add Category column (& Title column, Expenses only) * Fix display Go button for all users (no AllowEdit() required) * Add Category filter * Add New in 11.0 * SQL Update v11.0 * Add & translate help texts for Weight Assignments option * Fix program titles & courses help text * Translate Weight Assignments option to French & Spanish * SQL order Staff Payments by date and ID * Version 11.0 update * Fix MySQL 5.6 error You can't specify target table for update in FROM clause * Fix PostgreSQL error if BETWEEN date is empty * Fix SQL error if user already has exception for 'Grades/ProgressReports.php' * Fix remove "-master" suffix from add-on folder * CSS Add .rbr class, responsive `<br>` does not break line, use inside responsive table * Enable Test Mode by default in case of accidental run * Update Default School Year to 2023 * Fix PHP fatal error if openssl PHP extension is missing * MySQL fix not single MP check * Fix exception strtotime() returns false for year >= 2038 (PHP 32-bit) * Fix gitlab.com merge request link * Use ParseMLField() on column name * Exclude Marking_Period_Groups module & 1GetMP.php functions * Fix PHP warning undefined array key * Fix PHP deprecated passing null to parameter #1 ($datetime) of type string * MySQL fix infinite loop, emulate PostgreSQL's nextval() * Use weak comparison (maybe string or int) * Fix Apache 414 Request-URI Too Long, use POST method instead of GET * Fix display result count when no singular/plural set * Fix PHP Warning invalid argument supplied for foreach() * Version 11.0.1 update * Fix SQL drop order by School Period, allow Course Periods with no Periods * Fix SQL error escape Menu title * Fix PHP warning undefined array index * MySQL fix specify COUNT column name * Ignore Slovenian_Discipline module * Remove "-master" suffix from manually uploaded add-ons * Fix SQL error, Check if Account ID already exists * Version 11.0.2 update * Fix SQL error when no MPs * Choose Checkbox uncheck by default to prevent accidental creations * HTML display Courses list next to Assignment Types list * Set email for default admin user so he can reset his password * Prevent using App name, username, or email in the password Global $_ROSARIO['PasswordInput']['user_inputs'] used in PasswordReset.php, FirstLogin.fnc.php & Preferences.php Add username & email to this global var before calling PasswordInput() * JS Add userInputs param to prevent using App name, username, or email in the password * Return EMAIL column for students too (empty if "Student email field" not set) * Fix SQL error if delete Student email field, reset * Add SideMarkingPeriodSelect() function Override this function in your add-on's functions.php file * SQL Use GetFullYearMP() & GetChildrenMP() functions to limit Marking Periods * SQL set min Credits to 0 & fix division by zero error * Update to version 11.1 * Add timestamp (including microseconds) to filename to make it harder to predict Link https://huntr.dev/bounties/42f38a84-8954-484d-b5ff-706ca0918194/ * Copy $DefaultSyear global var to session (once) to prevent errors when edited * Add "Probably a module. Move it to the modules/ folder." error * Make Course Periods number link Link to Scheduling > Courses program & search for Period's "TITLE" * Move _updateSchedulesCPMP() to includes/Courses.fnc.php & rename CoursePeriodUpdateMP() * Automatically update teacher: attendance_completed + grades_completed In attendance_completed & grades_completed tables Fix the false "Missing attendance" portal alerts * Automatically update credits (attempted and earned); will also recalculate GPA * Allow override GetFullYearMP(), GetAllMP(), GetParentMP(), GetChildrenMP() & GetCurrentMP() functions * Update plugins.min.js (include jquery-passwordstrength.js' userInputs param) * Update French & Spanish translations * Update Recommended PHP configuration * Add New in 11.1 * Version 11.1 update * CSS FlatSIS theme RTL, remove unused background image ref * CSS WPadmin: remove opensans EOT font files EOT format is only supported by IE, which also supports WOFF https://caniuse.com/?search=eot * CSS themes: reduce list margin & padding when inside .widefat table * CSS themes: force .tooltip styles when inside .widefat table head * Fix SQL error null value in column "student_id" * Fix SQL error Unknown column 'a.ADDRESS' in 'where clause' * CSS Fix PDF Frame background when multiple pages * Fix SQL error invalid input syntax for type integer: "" * Fix PostgreSQL error column "ac" of relation "attendance_completed" does not exist * Version 11.1.1 update * Maintain list preferences as GET params in form URL (save) * HTML remove useless spacing * Use basename() to extract file name from path * Ignore Lesson_Plan module * Fix PHP warning undefined array index * CSS FlatSIS theme remove useless rule * CSS WPadmin theme style button text like FlatSIS theme * Version 11.1.2 update * Add $add_post argument, POST parameters to add to the URL (optional) * Fix Apache 414 Request-URI Too Long, move st from `$_REQUEST` to `$_SESSION` Add `$_POST` elements, ytd_tardies_code, mp_tardies_code & mp_arr to URL * CSS WPadmin theme remove bold from MD preview tabs * SQL Add CREATED_BY column to billing_fees & billing_payments tables * Expanded View: Add Created by & Created at columns * Version 11.2 update * Do NOT create Assignment Type if already exists for Course & Teacher * Add RosarioURL() function RosarioSIS URL: dir (site), or script (page), or request (includes request params) Will detect https inside Docker or behind reverse proxy * Use RosarioURL() instead of local function * Security remove $wkhtmltopdfAssetsPath & --enable-local-file-access, use base URL instead * HTML increase Username input size (suitable for email address) * Fix Attendance State Code: rename "Half Day" to "Half" * CSS themes adjust tooltip height to fit inside PopTable * Fix SQL error when school has no MPs * HTML add arrow to indicate sub-option * Rename "Registration" fieldset to "Public Registration" * HTML lower Program Name maxlength to from 25 to 20 * Dynamic Daily Attendance calculation based on total course period minutes Add AttendanceDailyTotalMinutesSQL() & AttendanceDailyTotalMinutesPresent() functions Breaking Change: use AttendanceDailyTotalMinutesPresent() instead of AttendanceDailyTotalMinutes() Add Action hook, filter Total Minutes Present * Add help text for Dynamic Daily Attendance calculation * SQL new default is 0 for ATTENDANCE_FULL_DAY_MINUTES Config option * PHPdoc escape MakeChooseCheckbox() example comment * Remove duplicate "Replace characters others than letters, space, numbers & points with underscores "_"" logic * MarkDown: remove two spaces before line break Link Elephant418/Markdownify#45 Will work because $Parsedown->setBreaksEnabled( true ) + marked.setOptions({ breaks: true }) * Ignore Food_Service_Premium module * Fix PHP Warning: Undefined variable $total * Dynamic Daily Attendance calculation based on total course period minutes * Only allow column names of string type (not empty) * Fix SQL error when $columns is false * Update French & Spanish translations * CSS themes apply list margin/padding outside widefat tables + fix .size-1 * HTML Fix Menu description overflow hidden + allow MarkDown * Add Action hook Filter each menu item in the loop * FS transaction item ID references food_service_menu_items(menu_item_id) * Fix PHP warning undefined array key "SELECT" * Fix PHP warning undefined array key "AMOUNT" * CSS WPadmin theme style fieldset legend like FlatSIS theme * Fix PHP warning undefined array key 1 * Fix PHP warning undefined array key "month_values" * Fix PHP warning undefined array key 1 * Develop: add new theme and plugins (#3) * remove unnecessary lines on print letter * sync from mobile branch (rosariosis) (#2) * Fix SQL error invalid input syntax for integer * Place currency symbol after amount for some locales * SQL use timestamp type: standard & without time zone by default * Fix typo in the Custom module README.md file * CSS add .accounting-totals, .accounting-staff-payroll-totals, .student-billing-totals classes * Add Balance widget to Print Statements * Add Staff Payroll Balance widget to Print Statements * Add Total calculation to Daily Transactions * Fix $school_id & get back unescaped value Co-authored-by: François Jacquet <[email protected]> * add legacy theme * change search form * change input tag * config database * input styling Co-authored-by: François Jacquet <[email protected]> * update fork 24-08-2022 (#4) * SQL convert address table name to lowercase * SQL shorten year month extract Co-authored-by: François Jacquet <[email protected]> * update from rosario (#5) * SQL convert address table name to lowercase * SQL shorten year month extract * Fix SQL use cast(extract(DOW) AS int) for PostrgeSQL * SQL Cast $_REQUEST['tab_id'] & $_REQUEST['menu_id'] to int * SQL fix SCHEDULER_LOCK column uppercase * Fix MySQL syntax error: explicitly list all columns instead of wildcard * Fix Add uppercase table names to $_REQUEST['tables'] * Only display error when date is valid * Add instructions for MySQL * Mention blog post in New in 10.0 * Ignore RIS module * Add StudentCanEnrollNextSchoolYear() & StudentEnrollNextSchoolYear() functions * Add "Enroll student for next school year" * Translate "Enroll student for next school year" to French & Spanish * MySQL fix character encoding when translating database * Version 10.2 update * SQL order by Marking Period Start Date * Maintain current month on calendar change * Maintain Calendar when closing event popup * Fix PHPDoc @return type * CSS FlatSIS smaller font size for Calendar Event title * Fix PHP warning undefined array key * HTML use distinct name for Text input in case user chooses -Edit- * Fix SQL error mysqli_fetch_assoc(): Argument 1 must be of type mysqli_result, null given * Fix since 10.2.1 * Use DBEscapeIdentifier() for custom field column name * When -Edit- option selected, change the auto pull-down to text field * Mention "PostgreSQL (or MySQL/MariaDB)" * HTML remove bold for "Other students associated with this address/person" * SQL order by Marking Period Start Date * fix PHP warning undefined index * SQL order by FULL_NAME (Display Name config option) * PHP use array_unshift() instead of for loop * SQL order by Marking Period Start Date * CSS fix Report Cards PDF columns size when long comments text * Add new Student / User Listing: order by "Display Name" * Remove space after / to gain space * CSS Add .grade-minmax-wrap,.grade-minmax-min,.grade-minmax-grade & .grade-minmax-max classes & avoid breaking grades * Fix get Min. Max. grades for students in distinct grade levels * Fix PHP warning undefined index * Fix SQL syntax error * CSS Do not break words inside lists * SQL handle case when student dropped and then later re-enrolled in course * Use DBEscapeIdentifier() for Gradebook ASSIGNMENT_SORTING * Fix PHP8.1 deprecated passing null as parameter * Do not use DrawHeader() & remove label for Assignment description * Fix PHP warning undefined index * Version 10.2.1 update * Fix PHP fatal error undefined function StudentCanEnrollNextSchoolYear() * Set school logo with to 120px * Version 10.2.2 update * Remove dead link to centresis.org * Fix MySQL error TEXT column used in key specification without a key length * Add ROLLOVER_ID column to User() * Get template from last school year (rollover ID) * Version 10.2.3 update * Add "Cumulative Balance over school years" checkbox * Fix program not found when query string is URL encoded * JS fix add new Period below existing Period row * Fix PHP warning undefined variable * Add "Course Periods" checkbox * Fix MySQL error 1069 Too many keys specified; max 64 keys allowed * Fix MySQL error 1069 Too many keys specified; max 64 keys allowed * Use $_POST['search_term'] instead of $_REQUEST so we show unescaped string * Version 10.3 update * Security: use $_POST here to avoid DBEscapeString() on $_REQUEST, still use strip_tags() though * Security: use $_POST here to avoid DBEscapeString() on $_REQUEST, still use strip_tags() though * Security: use $_POST here to avoid DBEscapeString() on $_REQUEST, still use strip_tags() though * Fix MySQL error result as comma separated list * Add recommended php.ini setting session.gc_maxlifetime = 3600 * Version 10.3.1 update * Fix PHP warning mb_strpos() Empty delimiter * Fix PostgreSQL error ORDER BY "full_name" is ambiguous * Version 10.3.2 update * Modcat is addon module, set custom module icon * SQL performance: use NOT EXISTS instead of NOT IN + LIMIT 1000 * @todo SQL performance: really slow subquery * Move CHANGES for versions 7 & 8 to CHANGES_V7_8.md * Ignore Hostel module Co-authored-by: François Jacquet <[email protected]> * ignore .idea/ * Styling form input (#6) * new module * form input styling * Bugfix nothing displayed after user search * Bugfix nothing displayed if user selected * Bugfix no student selected * Bugfix SQL bug more than one residence address * Bugfix division by zero * Version 1.3.3 update * Bugfix Invalid argument supplied for foreach() * Calendar.php Security fix -delete & create not accessible to non admins * Schedule.php Security fix -modify not accessible to non admins * Requests.php Security fix -update & remove & add not accessible to non admins * DailyMenus.php Security fix -save not accessible to non admins * Statements.php Security fix -delete not accessible to non admins * MarkingPeriods.php Security fix -delete not accessible to non admins * StudentFees.php & StudentPayments.php Security fix -update & remove not accessible to non admins * MenuItems.php Security fix -update & remove not accessible to non admins * ReportCardGrades.php Security fix -update & remove not accessible to non admins * ReportCardComments.php Security fix -update & remove not accessible to non admins * ReportCardCommentCodes.php Security fix -update & remove not accessible to non admins * Referrals.php Security fix -update & remove not accessible to non admins * Bugfix: mass drop students did not work -update END_DATE in SCHEDULE table -delete SCHEDULE record if END_DATE<START_DATE -replace BackPrompt with error message * Version 1.3.4 update * Remove config variables for include/Address.inc.php -remove references to $city_options, $state_options, $zip_options, $relation_options, $info_options_x -delete Students/config.inc.php * Forgot name of contact info input * Version 1.3.5 update * Discipline new referrals alert -add Discipline new referrals alert to Portal.php -add LAST_LOGIN to User() function -update translations * Escape double quotes in stm() tipmessage * Student Labels PDF wkhtmltopdf update * Replace school number with school title * Added discipline_categories to discipline Widget * Version 1.4 update * Version 1.4.1 update * Bugfix UserCoursePeriod not set correctly * Delete config.inc.php * Security fix: delete & save not accessible to non admins * Security fix: delete not accessible to non admins * Security fix: delete not accessible to non admins * Version 1.4.2 update * ROLL Gradebook Config's Final Grading Percentages * SQL bug DOES_BREAKOFF grades displayed twice * Fix SQL Bug First Name Initial * Bugfix no student found when parent logged in * Version 1.4.3 update * Remove semester exam & "trimestre" => "bimestre" * Adjust min course period length to appear in table * Version 1.4.4 update * 2013 to 2014 * Fix bugs inputs with double quotes (3) * Fix bugs inputs with double quotes (4) * Fix bugs inputs with double quotes (5) * Fix bug inputs with double quotes (6) * Version 1.4.5 update * Version 1.4.6 update * Fix SQL bug string begins with single quotes (3) * Version 1.4.7 update * Transcripts printing corrections - sort order: year after quarters - credits calculation rework - add new line before listOutput * Version 1.4.8 update * SQL bugfix index row size exceeds maximum 2712 for index No index on VARCHAR(5000) * Replace TABLE with one line grade display * Remove '-' from javascript var name * Typo timeframe reappeared * Version 1.4.9 update * Unify Linux / Windows locales - rename locales folders - rename flags images Spanish: esp_ESP => es_ES.utf8 French: fra_FRA => fr_FR.utf8 * Version 1.4.10 update * Version 1.4.11 update * Fix CategoryBreakdownTime charts - protect $_REQUEST['category_id'] - fix numeric fields charts - fix SYEAR timeframe * Fix numeric fields breakdown charts - Do not count NULL values as O - Bugfix no results for numeric fields chart * RosarioSIS 2014 update - update SQL file - update $DefaultSyear * Version 1.4.12 update * Redirect to the mobile branch * Redirect to the mobile branch 2 * Version 1.4.13 update * RosarioSIS 2016 update * add module * Fix PHP warning undefined array key "SearchTerms" * Fix PHP warning undefined array key "admin_emails" * Fix PHP warning undefined array key "Menu" * resolve conflict * Fix PHP warning undefined array key "STAFF_ID" Happens when logged-in student is deleted by an admin * Fix Select Multiple from Options answer count when none selected * Fix PHP warning undefined array key "selected_tab" * Fix regression since 11.0 Reporter not saved when logged in as a Teacher * Fix SQL error when no MP array is empty * CSS WPadmin: remove opensans EOT font files * Fix PHP warning undefined array key "TOTAL_SEATS" / "PERIOD_ID" * Fix PHP warning undefined array key 1 * Fix PHP warning undefined variable $tabs * Add Student Account fields table after action hook * Add Food Service tab fields table after action hook * Fix PHP warning undefined array key "Users/User.php&category_id=1" * Move last 2 commits changes under 11.2 * Fix file for "Add Food Service tab fields table after action hook" change * ignore phpstorm project file --------- Co-authored-by: François Jacquet <[email protected]> Co-authored-by: François Jacquet <[email protected]>
- Loading branch information