Commit graph

66800 commits

Author SHA1 Message Date
Damyon Wiese
ca0361084b Merge branch 'w10_MDL-41266_m27_logging' of https://github.com/skodak/moodle 2014-03-04 13:32:43 +08:00
Damyon Wiese
267c4b4292 Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle 2014-03-04 13:29:03 +08:00
Dan Poltawski
1723cc26f6 Merge branch 'm27_MDL-43852_SWF_Not_Embedded_By_Mediaplugin_Filter' of https://github.com/scara/moodle 2014-03-04 12:56:08 +08:00
Dan Poltawski
caf7665077 MDL-43146 enrol_imsenterprise: missing sesskey protection 2014-03-04 12:24:51 +08:00
Frederic Massart
f4f0aa27d4 MDL-29409 repository_alfresco: Drop support for URL/link
The current solution has two major issues. Firstly, it is using the
session key in the file URL, allowing anyone with the link to steal
the identify of the poster. Secondly, the links are not presistent
and become broken as soon as the server is restarted. Let's not
support this any more until a proper solution is found in MDL-26454.
2014-03-04 11:34:51 +08:00
Dan Poltawski
d129de3761 Merge branch 'w10_MDL-44358_m27_stylesrefact' of https://github.com/skodak/moodle 2014-03-04 07:38:56 +08:00
Dan Poltawski
5a02170cb3 Merge branch 'MDL-44377' of https://github.com/stronk7/moodle 2014-03-03 15:15:23 +08:00
Marina Glancy
3a7b9b76c2 MDL-39990 wiki: more detailed validation of view/edit access rights 2014-03-03 14:45:03 +08:00
Petr Škoda
31f28b6ac2 MDL-44358 inform developers that CSS handling was refactored 2014-03-03 14:19:12 +08:00
Dan Poltawski
f504e63daa Merge branch 'wip-MDL-44321-master' of git://github.com/marinaglancy/moodle 2014-03-03 13:50:18 +08:00
Dan Poltawski
a8b07dbf98 Merge branch 'wip-MDL-44362-master' of git://github.com/marinaglancy/moodle 2014-03-03 13:33:40 +08:00
Andrew Davis
5c45ea0c6b MDL-44082 mod_chat: added a security check for users already in the chat activity 2014-03-03 12:15:54 +08:00
Tomasz Muras
1298acc707 MDL-43656 mod_feedback: availablity date logic incorrect 2014-03-03 11:23:44 +08:00
Maria Torres
dc8f55c302 MDL-43916 - Email addresses incorrectly displayed
When capabilities and settings do not allow it.
2014-03-03 10:35:00 +08:00
Dan Poltawski
818f4f953c Merge branch 'w06_MDL-43344_m27_flow' of https://github.com/skodak/moodle 2014-03-03 10:07:16 +08:00
Dan Poltawski
b79f8bbb54 Merge branch 'MDL-43749' of git://github.com/timhunt/moodle 2014-03-03 09:36:54 +08:00
Tim Hunt
b111c177f0 MDL-43749 quiz DB tables. Put install.xml in a more logical order.
All settings tables before all user data.
2014-03-02 10:01:22 +01:00
Tim Hunt
ccba5b8805 MDL-43749 normalise quiz database structure.
The sequence of questions that made up a quiz used to be stored as a
comma-separated list in quiz.questions. Now the same information is
stored in the rows in the quiz_slots table. This is not just 'better' in
a database design sense, but it allows for the future changes we will
need as we enhance the quiz in the MDL-40987 epic.

Having changed the database structure, all the rest of the code needs to
be changed to account for it, and that is done here.

Note that there are not many unit tests for the changed bit. That is
because as part of MDL-40987 we will be changing the code further, and
we will add unit tests then.
2014-03-02 10:00:40 +01:00
Tim Hunt
9eec598ca9 MDL-44251 fix typo in DML unit tests. 2014-03-02 09:41:17 +01:00
Tim Hunt
c185726964 MDL-44251 DB helper to update rows without violating a unique index. 2014-03-02 09:41:03 +01:00
Gordon Bateson
840c1c554d MDL-43852 Filters Fixed naked-OR conditions. 2014-02-28 23:55:17 +01:00
Eloy Lafuente (stronk7)
7b9ea861b6 MDL-44377 dml: enforce non-empty prefix for sqlsrv
Only MySQL is allowed to run Moodle instances without
(with an empty) database prefix. The rationale is that
"user" is a reserved word in every RDBMS but MySQL.

Before this patch, installation was breaking badly, when
the "user" CREATE TABLE statement was issued. With this
patch the error is shown earlier (on connection) preventing
any advance/use of the database.

This check is present in all the drivers, just sqlsrv was missing it.
2014-02-28 10:12:03 +01:00
Marina Glancy
21d2280361 MDL-44362 recentactivity: fix regressions from MDL-44055 2014-02-28 16:39:32 +08:00
Marina Glancy
74d45861e9 MDL-44321 events: Text correction in assessable events 2014-02-28 16:37:36 +08:00
Marina Glancy
cd5be9a504 MDL-44321 events: make sure the full object is passed to add_record_snapshot() 2014-02-28 16:37:36 +08:00
Marina Glancy
5e70ea26bb MDL-44321 events: debug on errors in add_record_snapshot()
also clone object returned by get_record_snapshot() to prevent accidental changing of $COURSE or other important objects
2014-02-28 16:37:31 +08:00
Marina Glancy
1e242b41af MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
Marina Glancy
fbc4b77841 MDL-44321 events: cleaning up course_module_viewed event 2014-02-28 16:36:09 +08:00
Petr Škoda
993d8d838f MDL-41266 improve naming of log reader interfaces 2014-02-28 14:52:30 +08:00
Petr Škoda
43d91d7665 MDL-42891 fix $interface parameter in dummy log manager and add unit tests 2014-02-28 14:52:30 +08:00
Ankit Agarwal
e083efe0ac MDL-42891 logging: Add support for getting readers that implement a specific interface in log manager 2014-02-28 14:52:29 +08:00
Ankit Agarwal
8bae0d0d80 MDL-43759 logging: Rename trait writer to buffered_writer 2014-02-28 14:52:29 +08:00
Michael de Raadt
ff2990ab9c MDL-41266 improve log store strings 2014-02-28 14:52:29 +08:00
Rajesh Taneja
a825e33aa1 MDL-37658 core: Event strings added to core 2014-02-28 14:52:29 +08:00
Petr Škoda
ce8a372a31 MDL-41269 use courseid index instead of contextid because new events are going to use courseid 2014-02-28 14:52:28 +08:00
Petr Škoda
0532c5852e MDL-41269 add standard log table indexes 2014-02-28 14:52:28 +08:00
Petr Škoda
35adf145dd MDL-41268 keep full backwards compatibility when installing new logging subsystem 2014-02-28 14:52:28 +08:00
Petr Škoda
bdae738e38 MDL-41266 add new is_logging() method to log readers
This will be useful in live logs report where we want only readers that have latest data.
2014-02-28 14:52:28 +08:00
Petr Škoda
0852f9c625 MDL-41266 fix coding style issues 2014-02-28 14:52:27 +08:00
Petr Škoda
0d9d9efb65 MDL-41268 fix cron execution in new log manager 2014-02-28 14:52:27 +08:00
Petr Škoda
bdaf91fd13 MDL-43931 add logging unit tests 2014-02-28 14:52:27 +08:00
Ankit Agarwal
ed8f7c308b MDL-39933 logging: Get external dabatabase working. 2014-02-28 14:52:27 +08:00
Petr Škoda
81fbecc049 MDL-41269 add separate ip column to standard log table 2014-02-28 14:52:26 +08:00
Petr Škoda
770eac9805 MDL-41269 disable all logging during phpunit testing 2014-02-28 14:52:26 +08:00
Petr Škoda
30e55e9ac6 MDL-41269 add standard log life time and add missing lang strings 2014-02-28 14:52:26 +08:00
Ankit Agarwal
ae0770513f MDL-43759 logging: Update stores to remove duplicated code 2014-02-28 14:52:26 +08:00
Ankit Agarwal
f7b2b1fb7a MDL-43759 logging: Add helper traits for stores and add support for buffering 2014-02-28 14:52:25 +08:00
Rajesh Taneja
b1e7be7318 MDL-37658 logging: convert all standard log fields to legacy log fields 2014-02-28 14:52:25 +08:00
Ankit Agarwal
c154abd095 MDL-41266 logging: Legacy reader should convert passed courseid to course in sql queries 2014-02-28 14:52:25 +08:00
Petr Skoda
ecf9a0c5a6 MDL-41266 move reader access control out from manager
We need to let reports decide if they want to use capability to access readers.
2014-02-28 14:52:25 +08:00