103 Commits

Author SHA1 Message Date
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
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
dongsheng
5ce66b1edd "MDL-15610, execute_sql is not available in moodle 2.0, use #DB->execute instead" 2008-07-11 05:27:46 +00:00
moodler
c1ac9e73b6 MDL-15610 Merged label log display fix from 1.9 2008-07-11 02:56:29 +00:00
thepurpleblob
c0a578c071 MDL-15304
Default name 'label' is looked up from language pack.

Merged from STABLE_19
2008-07-08 09:39:18 +00:00
thepurpleblob
8f829910d6 MDL-15304
Remove the item number from the created label name. It doesn't work for new labels.

Merged from STABLE_19
2008-07-08 08:45:26 +00:00
skodak
d02f193404 MDL-15304 fixed empty label names coming from restore; merged from MOODLE_19_STABLE 2008-07-05 09:37:30 +00:00
skodak
a38f12927e MDL-15304, MDL-15526 fixing regression; merged from MOODLE_19_STABLE 2008-07-03 23:01:32 +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
57eb939ee4 MDL-15304 fixed magic quotes issue merged from 19 2008-06-24 21:57:39 +00:00
thepurpleblob
376ca347ca MDL-15304
Handle empty names for labels (if only HTML tags in label text)
2008-06-18 15:31:47 +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
dongsheng
ea05eebf92 "MDL-14120, fix print_error" 2008-06-08 09:11:10 +00:00
skodak
1b81b0a412 MDL-15111 label mod converted 2008-06-03 23:44:16 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
b5ab55ddaf MDL-13274, MDL-13215 - improved modedit shared forms, label supports groupmembersonly, removed extra button for labels; mergedfrom MOODEL_19_STABLE 2008-02-21 14:12:48 +00:00
skodak
1ea543df62 MDL-7547 yet more speed improvements in rebuild_course_cache() ; merged from MOODLE_19_STABLE 2008-02-01 08:15:38 +00:00
skodak
f36cbf1d6e MDL-13214 rebuild_course_cache fixes and speed improvements; merged from MOODLE_19_STABLE 2008-02-01 07:48:26 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
jamiesensei
18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
89bfeee0d6 MDL-7742 added nested drop down box to add activities/resources to course, 3rd party mods can specify type
MDL-6987 preparation for migration of mod/assignment/mod.html
2007-01-02 09:33:07 +00:00
jamiesensei
f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
jamiesensei
a23f0aaf95 * Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
2006-12-19 07:03:08 +00:00
jamiesensei
19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
jamiesensei
19110c573d added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei
74e01e6281 changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit() 2006-11-24 16:38:22 +00:00
jamiesensei
e24b7f851a some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API 2006-11-24 06:39:15 +00:00
jamiesensei
630371c03a *** empty log message *** 2006-11-13 09:20:42 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00
stronk7
b4c7bb78fc Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
skodak
a8f5a8a2e4 Insert a Chinese charachter string to label resource result error MDL-6757 2006-10-08 10:07:03 +00:00