Commit Graph

23 Commits

Author SHA1 Message Date
Meirza 7466712fc2 MDL-77347 mod_feedback: Added missing class properties.
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-03-27 15:58:17 +07:00
Paul Holden 1218a03850 MDL-70613 mod_feedback: cast feedback text values for table sorting.
Specifically avoids Oracle ORA-00932 (inconsistent CLOB datatype).
2023-03-09 14:59:05 +00:00
sam marshall 5e72715e4f MDL-71099 Lib: Move new user_fields class from core to core_user
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
sam marshall 558cc1b85e MDL-45242 Lib: Replace calls to deprecated functions
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Ilya Tregubov a303eb9e9e MDL-70767 feedback: Prevent xss in feedback answer text. 2021-03-03 23:08:22 +01:00
Marina Glancy 9cfacff738 MDL-65552 user: escape idnumber and email in table_sql 2021-03-03 23:15:07 +08:00
Marina Glancy 5889858cc5 MDL-55340 mod_feedback: export question labels
This was present in export in 3.0 but got lost during export
refactoring in 3.1
2020-08-28 12:24:28 +02:00
Ferran Recio 5025c1ad82 MDL-55299 mod_feedback: fix quoted values donwload 2020-07-22 18:47:37 +02:00
Andrew Nicols 2cc28979f0 MDL-68454 mod_feedback: Update get_context to match parent 2020-05-04 11:52:20 +08:00
Andreas Grabs 20fea5522c MDL-67894 mod_feedback: database error on show responses 2020-02-07 18:48:38 +01:00
Andreas Grabs 5385f5a8af MDL-66938 mod_feedback: Export includes unwanted html in field names 2020-01-05 19:33:35 +01:00
Amaia Anabitarte 4a6cd05ae1 MDL-61290 mod_feedback: adding groups to csv download
Thanks Christine LEGEMBLE for your proposal
2018-07-31 15:32:43 +01:00
Juan Leyva bc694b4761 MDL-61321 mod_feedback: Return all the items responses
The WS should receive all the item responses for all the attempts.
2018-03-20 10:36:11 +01:00
sam marshall a938e4096c MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00
Juan Leyva 495745a36e MDL-57821 mod_feedback: Allow export tables to external structure 2017-04-04 12:01:22 +02:00
Andrew Nicols 431a82bd8d MDL-55333 mod_feedback: Correct constant name 2016-08-10 10:13:07 +08:00
Marina Glancy e96c826c3d MDL-55333 mod_feedback: work around MySQL tables in join limit 2016-08-08 14:40:27 +08:00
Brendan Heywood 97909332eb MDL-37753 mod_feedback: Use activity name for export filename 2016-04-29 12:17:59 +01:00
Marina Glancy 0a0632cee6 MDL-53638 mod_feedback: corrections during rebase:
1. make query in upgrade cross-DB
2. rebase on top of MDL-51603
2016-04-27 16:04:44 +08:00
Marina Glancy 094c57dd4f MDL-53638 mod_feedback: JS confirmation on delete entry and template 2016-04-27 16:04:43 +08:00
Marina Glancy 3fdba72902 MDL-53638 mod_feedback: download responses 2016-04-27 16:04:40 +08:00
Marina Glancy 97d71cbc3a MDL-53638 mod_feedback: convert to moodleforms 2016-04-27 13:28:43 +08:00
Dan Poltawski 9bb87baf18 MDL-53449 mod_feedback: reponses page clean up and behat 2016-04-05 14:46:20 +01:00