Petr Skoda
1e7f8ea232
MDL-23510 lib.php files have to be as small as possible, the actual implementation should be in locallib.php if possible === less used memory, fewer includes, ....; + coding style cleanup
2010-07-24 18:56:56 +00:00
Petr Skoda
792881f0fe
fixed some comment typos
2010-07-22 09:43:30 +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
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
Petr Skoda
9b56a34f7d
MDL-16089 some resource lib and lang pack cleanup
...
AMOS START
MOV [displayauto,mod_resource],[resourcedisplayauto,core]
MOV [displaydownload,mod_resource],[resourcedisplaydownload,core]
MOV [displayembed,mod_resource],[resourcedisplayembed,core]
MOV [displayframe,mod_resource],[resourcedisplayframe,core]
MOV [displaynew,mod_resource],[resourcedisplaynew,core]
MOV [displayopen,mod_resource],[resourcedisplayopen,core]
MOV [displaypopup,mod_resource],[resourcedisplaypopup,core]
AMOS END
2010-05-22 13:54:41 +00:00
Sam Hemelryk
c351bb50ce
backup MDL-22151 Implemented backup in the lesson module
2010-05-06 01:53:55 +00:00
Patrick Malley
a82fb0b629
Adding classes to lesson module
2010-05-03 17:35:21 +00:00
David Mudrak
4c80a990fa
MDL-21695 Lesson module now uses new help strings
...
AMOS BEGIN
HLP lesson/activitylink.html,[activitylink_help,mod_lesson]
HLP lesson/custom.html,[customscoring_help,mod_lesson]
HLP lesson/dependency.html,[dependencyon_help,mod_lesson]
HLP lesson/displayleft.html,[displayleftmenu_help,mod_lesson]
HLP lesson/displayleftif.html,[displayleftif_help,mod_lesson]
HLP lesson/feedback.html,[displaydefaultfeedback_help,mod_lesson]
HLP lesson/grade.html,[maxgrade_help,mod_lesson]
HLP lesson/handlingofretakes.html,[handlingofretakes_help,mod_lesson]
HLP lesson/import.html,[importquestions_help,mod_lesson]
HLP lesson/importppt.html,[importppt_help,mod_lesson]
HLP lesson/jumpto.html,[jumps_help,mod_lesson]
HLP lesson/maxanswers.html,[maximumnumberofanswersbranches_help,mod_lesson]
HLP lesson/maxattempts.html,[maximumnumberofattempts_help,mod_lesson]
HLP lesson/maxpages.html,[numberofpagestoshow_help,mod_lesson]
HLP lesson/mediafile.html,[mediafile_help,mod_lesson]
HLP lesson/minquestions.html,[minimumnumberofquestions_help,mod_lesson]
HLP lesson/modattempts.html,[modattempts_help,mod_lesson]
HLP lesson/mods.html,[modulename_help,mod_lesson]
HLP lesson/nextpageaction.html,[actionaftercorrectanswer_help,mod_lesson]
HLP lesson/ongoing.html,[ongoing_help,mod_lesson]
HLP lesson/overview.html,[overview_help,mod_lesson]
HLP lesson/practice.html,[practice_help,mod_lesson]
HLP lesson/progressbar.html,[progressbar_help,mod_lesson]
HLP lesson/questionoption.html,[multianswer_help,mod_lesson]
HLP lesson/questionoption.html,[casesensitive_help,mod_lesson]
HLP lesson/retake.html,[retakesallowed_help,mod_lesson]
HLP lesson/review.html,[displayreview_help,mod_lesson]
HLP lesson/slideshow.html,[slideshow_help,mod_lesson]
HLP lesson/timed.html,[maxtime_help,mod_lesson]
HLP lesson/usepassword.html,[usepassword_help,mod_lesson]
AMOS END
2010-05-03 14:14:34 +00:00
Sam Hemelryk
3406acdef9
navigation MDL-22044 Major navigation structure changes.
...
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure .
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Sam Hemelryk
0b29477be9
navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
...
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Sam Hemelryk
57173b8dfb
mod-lesson MDL-21006 Fixed missing variable after navigation changes
2010-03-04 05:27:14 +00:00
Petr Skoda
8cea545e0b
MDL-20204 started refactoring of html_table + more cleanup
2010-02-17 19:33:24 +00:00
Petr Skoda
9bf163146b
MDL-20204 more html_link converstions
2010-02-11 18:50:55 +00:00
Petr Skoda
57cd3739a4
MDL-20204 converting link to html_writer or action_link
2010-02-11 16:56:00 +00:00
Petr Skoda
dd9b1882c6
MDL-21400 fixed my own ugly mess in resizing of embedded stuff + converted to YUI3
2010-02-06 18:47:44 +00:00
Petr Skoda
593f9b8703
MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway
2010-02-06 14:45:17 +00:00
Petr Skoda
227255b802
MDL-21402 new js_writer abstraction + otehr minor improvements
2010-01-20 20:01:24 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Sam Hemelryk
56115eea49
navigation MDL-21177 Removed erroneous DB queries from module extension calls
2009-12-24 02:06:05 +00:00
Petr Skoda
2f67a9b3a5
MDL-20700 whitespace terror returns yet again
2009-12-16 22:22:37 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +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
Nicolas Connault
1a96363a9d
MDL-15050 Grades entered/updated through grader report now get correctly displayed in course user activity reports (commenting on last commit). Merged from MOODLE_19_STABLE
2009-10-27 12:37:15 +00:00
samhemelryk
c69499369e
mod-lesson MDL-20259 Created callback methods to expand navigation and settings blocks
...
Also fixed up minor bugs and added calls set_url
2009-09-16 06:22:12 +00:00
nicolasconnault
3ab269ed44
MDL-19812 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:45:33 +00:00
nicolasconnault
d68ccdbaaa
MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:15:52 +00:00
nicolasconnault
fe75e76b8f
MDL-19812 Converted print_box* to $OUTPUT->box*
2009-08-10 05:00:11 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
skodak
a8f3a651c0
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:16:08 +00:00
samhemelryk
8cc8611142
mod lib MDL-19294 Added boilerplate and phpdocs
2009-05-28 03:51:39 +00:00
tjhunt
40d6de1af6
pagelib: MDL-12212 eliminate data_lesson
2009-05-06 09:31:08 +00:00
skodak
dc5c2bd9eb
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:17:21 +00:00
skodak
42f103be4c
MDL-18910 moving modedit features to modname_supports()
2009-04-21 08:57:20 +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
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
1045a0074c
MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead
2009-01-12 16:52:53 +00:00
tjhunt
19f5b2dbee
accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page.
2009-01-09 06:16:36 +00:00
thepurpleblob
4d22ec8144
MDL-11090
...
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)
Merged from STABLE_19
2008-11-26 14:34:40 +00:00
mudrd8mz
91ca18e847
MDL-16355 Do not set lesson maxgrade to 100 but use the real value without multfactor. Merged from 1.9
2008-09-15 11:57:53 +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
sam_marshall
18a2a0cb3a
MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource.
2008-07-29 17:22:47 +00:00
sam_marshall
96fa52a47c
MDL-15877: Lesson query breaks dml rule about reusing named params (sorry missed a bit)
2008-07-29 16:44:09 +00:00
sam_marshall
b920f6e84a
MDL-15877: Lesson query breaks dml rule about reusing named params
2008-07-29 16:42:12 +00:00
skodak
f432bebff2
MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE
2008-07-24 21:59:13 +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
skodak
318e374544
MDL-15112 converted some skipped dml stuff
2008-06-09 12:29:40 +00:00