126 Commits

Author SHA1 Message Date
Petr Skoda
1310964bb3 Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
Conflicts:
	mod/lesson/version.php
2010-12-27 13:39:20 +01:00
andyjdavis
54672f15b4 lesson MDL-24860 added mod/lesson/db/messages.php 2010-12-22 12:12:35 +08:00
Sam Hemelryk
36a60f0ff6 mod-lesson MDL-25632 Added upgrade code to correct page jumps for matching questions after Moodle 1.9 upgrade. 2010-12-15 13:12:33 +08:00
Petr Skoda
64a3ce8c5b improved coding style - mostly variable initialisation + some fixing and spelling 2010-09-18 13:27:21 +00:00
Petr Skoda
cc83b88002 fixed missing global 2010-09-18 13:05:42 +00:00
Eloy Lafuente
7dcce47503 MDL-23781 lesson - files upgrade fatal error fixed 2010-08-22 21:02:56 +00:00
Petr Skoda
8d1a39637a MDL-23781 migrated old non-standard moddata lesson files and fixed media files migration 2010-08-12 16:05:41 +00:00
Petr Skoda
0d6521541f adding missing rs->close(), removing unused code, coding style improvement 2010-08-12 12:20:04 +00:00
Petr Skoda
87150ca16b fixed oracle SQL compatibility 2010-08-12 12:14:05 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Petr Skoda
3d1b745283 MDL-22639 fixed meadiafile support - unfortunately all old media files are lost, upgrade again from 1.9..... 2010-07-25 12:39:32 +00:00
Petr Skoda
cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
Petr Skoda
1b08cef715 fixed coding style 2010-07-25 09:13:43 +00:00
Petr Skoda
2512b69042 a little explanation why we need XSS risk in lesson edit cap 2010-07-25 09:12:11 +00:00
Petr Skoda
01c37ef1b5 MDL-23197 ugly hack that adds editor support into lesson answers and responses - no files support planned for 2.0, sorry 2010-07-20 21:11:41 +00:00
Sam Hemelryk
f621a346a2 mod-lesson MDL-23204 Converted page contents to html during upgrade and addition of contentsformat field 2010-07-20 05:38:28 +00:00
Petr Skoda
acde4348a1 adding hack note 2010-07-15 14:53:51 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Dongsheng Cai
b738d41b80 MDL-22688, fixed branch table page type and added contentsformat field to lesson_pages table 2010-06-29 03:23:38 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Martin Dougiamas
d5b04bfd7d MDL-22421 Fixed missing $OUTPUT global declaration. Thanks to Mathias Wortmann! 2010-05-13 04:29:59 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Sam Hemelryk
0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
tjhunt
15b60b640f lesson upgrade: My guess at how to fix the regressions from MDL-17101. 2009-03-09 03:11:29 +00:00
mark-nielsen
13b92708d2 lesson grading: MDL-17101 The lesson module was sending the incorrect raw grade values. Correcting the values by calculating the actual raw grade before sending to gradebook. Merged from MOODLE_19_STABLE and updated for trunk. 2009-03-06 19:03:46 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
moodler
120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
04264aeda4 MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet) 2008-06-22 23:35:52 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
stronk7
69b80cc2eb 4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863 2008-05-22 00:09:59 +00:00
stronk7
a8cb94f66f MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
stronk7
012912655a Rename lesson usegrademax to usemaxgrade because some old sites can be using the wrong one. MDL-13177 ; merged from 19_STABLE 2008-01-27 15:39:05 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
skodak
92bcca38cd MDL-9550 Implement calls of grade_update() function in Lesson 2007-06-11 11:25:24 +00:00
mark-nielsen
01e617739f OK, so I flip-flopped on this - reverting to previous number. For some users, this db update will fire off twice, luckily there is no harm in doing this. 2007-02-23 17:57:46 +00:00