Commit graph

15322 commits

Author SHA1 Message Date
Frederic Massart
c8135e8b18 MDL-42001 mod_chat: Transforming handlers to observers 2013-09-27 13:38:27 +08:00
Sam Hemelryk
322d9c8cda Merge branch 'master_MDL-39910' of https://github.com/danmarsden/moodle
Conflicts:
	mod/scorm/db/upgrade.php
2013-09-27 11:32:05 +12:00
Dan Marsden
8d29a8c3bc MDL-39910 SCORM: set correct site level defaults. 2013-09-27 10:49:54 +12:00
Dan Marsden
18784adb12 MDL-39910 SCORM: set correct site level defaults. 2013-09-26 11:36:44 +02:00
Frederic Massart
0a8b091d41 MDL-41039 mod_quiz: Renaming event to attempt_becameoverdue 2013-09-26 16:43:20 +08:00
Frederic Massart
d900f1dc05 MDL-41039 mod_quiz: Replace events_trigger to new events 2013-09-26 16:43:03 +08:00
Frederic Massart
6ee51daf6b MDL-42003 mod_forum: Convert handlers to observers 2013-09-26 16:08:13 +08:00
Frederic Massart
5cec6c2670 MDL-41962 events: Bumping plugin versions to update handlers 2013-09-26 14:56:12 +08:00
Tim Lock
7d0f566b2d MDL-41996: Don't show the Review Attempt link if no attempts exist. 2013-09-26 13:44:15 +09:30
Dan Poltawski
b07ef13be2 MDL-41885 modules now declare use of question bank
* FEATURE_USES_QUESTION_BANK is now a module_supports flag which declares
  that an activity uses the question engine.

* question_module_uses_questions can be used to determine if a module
  uses the question bank.
2013-09-26 09:49:34 +08:00
Sam Hemelryk
bc29e8f07a Merge branch 'master_MDL-39910' of https://github.com/mayankgupta/moodle 2013-09-26 10:13:01 +12:00
Mayank Gupta
1680c75c88 MDL-39910 mod_scorm: fix enable/disable navigation buttons 2013-09-26 00:10:10 +12:00
Mayank Gupta
bb22cd80b7 MDL-39910 mod_scorm: fix enable/disable navigation buttons 2013-09-25 16:41:33 +05:30
Petr Škoda
5f8012d499 MDL-41437 fix some more forgotten module.version's 2013-09-25 10:50:00 +02:00
Petr Škoda
72df03235e MDL-41437 implement plugininfo_quiz necessary for quiz report uninstall 2013-09-25 09:57:19 +02:00
Dan Marsden
6db676bfa1 MDL-39910 SCORM: hide toggle button when course structure disabled and fix upgrade of old settings 2013-09-25 19:25:37 +12:00
David Mudrák
10549cfdb7 MDL-41954 Fix the grade for assessment calculation in the Workshop module
In a pretty rare case of zero variance of received assessments, the "distance"
of the evaluated assessment from the referential ("best") one was not increased
regardless it's actual value. This led to higher grades for assessments in
certain situations (see the tracker for a particular example).
2013-09-25 02:04:06 +02:00
Sam Hemelryk
a78e39e3d3 Merge branch 'master_MDL-41580' of git://github.com/danmarsden/moodle 2013-09-25 09:27:44 +12:00
Eloy Lafuente (stronk7)
18ccaca2e2 Merge branch 'MDL-41726-master-2nd' of git://github.com/FMCorz/moodle
Conflicts:
	lang/en/moodle.php
2013-09-24 23:13:50 +02:00
Eloy Lafuente (stronk7)
161f995849 Merge branch 'w39_MDL-41437_m26_mia' of https://github.com/skodak/moodle
Conflicts:
	admin/auth.php
	lib/db/upgrade.php
	version.php
2013-09-24 20:18:03 +02:00
Marina Glancy
4fa30a8947 Merge branch 'MDL-41929' of git://github.com/timhunt/moodle 2013-09-24 21:31:46 +10:00
Dan Marsden
b64bc10cb7 MDL-41848 SCORM: Drag drop SCORM upload fix 2013-09-24 22:50:30 +12:00
Marina Glancy
ec7f3d40f1 MDL-39962 - Events: added missing required file 2013-09-24 20:02:57 +10:00
Marina Glancy
72f6cb3cd3 Merge branch 'wip-MDL-39962-master' of git://github.com/abgreeve/moodle 2013-09-24 20:00:24 +10:00
Marina Glancy
bdc7ff589d Merge branch 'MDL-41725-master-onecommit' of git://github.com/jamiepratt/moodle 2013-09-24 16:49:50 +10:00
Ankit Agarwal
cbacf2e5e0 MDL-41894 feedback: Remove unused code, which is generating warnings 2013-09-24 14:45:54 +08:00
Adrian Greeve
b97d94ffbb MDL-39962 - Events: Replace lefacy event lti_unknown_service_api call. 2013-09-24 10:08:28 +08:00
Adrian Greeve
d76a0eec39 MDL-39962 - Events: Replace the legacy event workshop_viewed
This also includes the abstract class course_module_viewed.
2013-09-24 10:08:28 +08:00
Dan Marsden
361a47d409 MDL-41580 SCORM: allow imsmanifest.xml to be used in file system repos 2013-09-24 12:08:38 +12:00
Sam Hemelryk
c51fda57a9 MDL-39910 mod_scorm: fixed install.xml not nulls 2013-09-24 10:58:46 +12:00
Eric Merrill
8b73bac647 MDL-41933 Forum: Make a admin level option to set the default value of Read Tracking. 2013-09-23 17:32:47 -04:00
Sam Hemelryk
339feb6420 Merge branch 'master_MDL-39910' of git://github.com/danmarsden/moodle 2013-09-24 09:04:27 +12:00
Sam Hemelryk
c99fcebded Merge branch 'MDL-40048-master' of git://github.com/FMCorz/moodle 2013-09-24 08:51:41 +12:00
Tim Hunt
9413953f08 MDL-41929 quiz statistics, overall stats not displayed. 2013-09-23 18:05:57 +01:00
Marina Glancy
cbbaffc7d3 Merge branch 'MDL-41833-master' of git://github.com/ankitagarwal/moodle 2013-09-23 19:16:43 +10:00
Marina Glancy
b443071378 Merge branch 'wip-MDL-41772-master' of git://github.com/abgreeve/moodle 2013-09-23 14:39:45 +10:00
Frederic Massart
f49d814abc MDL-40048 mod_chat: Replacing add_to_log with new events
For this to be done properly, a new function to send the message
and trigger the event has been created. Following that a
data generator for chat, and some unit tests.
2013-09-23 11:41:33 +08:00
Petr Škoda
bde002b81a MDL-41437 rework plugin_manager caching and version info in blocks and modules
This patch includes:

* version column removed from modules table, now using standard config, this allows decimal version for modules
* version column removed from block table, now using standard config, this allows decimal version for blocks
* module version.php can safely use $plugins instead of module
* new plugin_manager bulk caching, this should help with MUC performance when logged in as admin
* all missing plugins are now in plugin overview (previously only blocks and modules)
* simplified code and improved coding style
* reworked plugin_manager unit tests - now using real plugins instead of mocks
* unit tests now fail if any plugin does not contain proper version.php file
* allow uninstall of deleted filters
2013-09-22 21:25:26 +02:00
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Mayank Gupta
df5c7086c8 MDL-39910 mod_scorm: rewrite SCORM code in YUI3, use responsive grids, add new nav setting; squashing commits 2013-09-20 22:45:36 +12:00
Jamie Pratt
e68e4ccfdc MDL-41725 move db tables from quiz stats report
to question bank

- move cron to clean up old cache records move code and
rename classes
- further review of the quiz reports statistics code
- starting to separate calculations of quiz stats, question stats and
response analysis
- introduce hashcode db field for cached stats convert
- code to use qubaids hashcode for caches

We just drop the old tables (including previous upgrade steps) and
re-create the new ones, because these tables just cache calculated
statistics. No important data is stored in them.
2013-09-20 16:27:06 +07:00
Frederic Massart
11b0c8e0e6 MDL-41726 mod_quiz: Replace handlers with observers for group events
This also implements a filtering of the events to be handled when
a course reset has been started.
2013-09-20 12:25:38 +08:00
Sam Hemelryk
0546f1bf8f NOBUG: fixed file permissions 2013-09-20 14:37:30 +12:00
Sam Hemelryk
669755a423 Merge branch 'master_MDL-38489' of git://github.com/danmarsden/moodle 2013-09-19 09:49:31 +12:00
Dan Marsden
d6d0c4e00b MDL-38489 SCORM: obtain correct section number when getting course_url 2013-09-19 09:36:52 +12:00
Eloy Lafuente (stronk7)
e79ca991fb Merge branch 'master_MDL-32506' of git://github.com/danmarsden/moodle 2013-09-17 21:11:26 +02:00
Eloy Lafuente (stronk7)
e60756632a Merge branch 'wip-mdl-41711' of git://github.com/rajeshtaneja/moodle 2013-09-17 20:22:32 +02:00
Ankit Agarwal
0f142ea0a8 MDL-41833 feedback: Fix setType() warning when deleting a response in feedback 2013-09-17 15:14:19 +08:00
Marina Glancy
2b7a557c28 Merge branch 'MDL-41622_b' of git://github.com/rwijaya/moodle 2013-09-17 16:43:12 +10:00
Rossiani Wijaya
764d7ba9b4 MDL-41622 workshop mod: fix page heading levels.
Also, changing couple of the sub header to use notification, which is more appropriate.
2013-09-17 12:44:25 +08:00