Commit graph

287 commits

Author SHA1 Message Date
skodak
ff5fe31160 MDL-19580 cleanup of require css and js filepicker code 2009-06-24 22:34:29 +00:00
skodak
69429650c4 MDL-19211, MDL-19544 improved editor embedding, media and dragmath enabled only when moodle configuration and current user permissions allow it to work 100% 2009-06-20 11:00:40 +00:00
dongsheng
e78e71fd61 "MDL-16698, use non-js filepicker to pick up files" 2009-06-18 06:52:26 +00:00
dongsheng
ab9cdbb976 "MDL-17316, fix upload form in non-js file picker" 2009-06-18 06:31:51 +00:00
tjhunt
c28bf5c9f8 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup.

More to follow.
2009-06-15 05:37:57 +00:00
skodak
13a220cfb8 MDL-19500 improved editor embedding 2009-06-14 21:35:07 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
dongsheng
1b4a39e64b "MDL-16596, remove inline css from filemanager" 2009-06-12 05:59:43 +00:00
dongsheng
6b0fae574d "MDL-19002, implement attachment files limit in file picker" 2009-06-12 05:57:25 +00:00
dongsheng
b6fd5aee62 "MDL-17316, improve non-js file manager interface" 2009-06-11 08:08:33 +00:00
dongsheng
a0c4bc65fc "MDL-17316, improve interface in non-js browser" 2009-06-11 02:43:06 +00:00
dongsheng
14f3c8827a "MDL-17316, display attached files in non-js file manager" 2009-06-09 06:43:38 +00:00
sam_marshall
a4bfd8e1de MDL-19428: mform - Fixed the 'includenograde' option in modgrade type 2009-06-08 12:42:24 +00:00
dongsheng
761265adab "MDL-17316, non-js file picker added" 2009-06-08 06:25:53 +00:00
skodak
3e8b394e08 MDL-19416 fixed PHP 5.3 compatiblity issue - fixes weird use of constructors in quickforms 2009-06-07 09:43:27 +00:00
dongsheng
f2e99b4d69 "MDL-16597, fixed delete existing draft files button" 2009-06-05 07:18:42 +00:00
tjhunt
6f5f3cef02 tags formslib element: MDL-19264 array_combine barfs on empty arrays. 2009-06-02 08:33:35 +00:00
samhemelryk
1526635c51 choosecoursefileorimsrepo MDL-19332 pass specified attrs to text element 2009-05-29 04:14:25 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
dongsheng
1fd5298216 "MDL-16597, passing maxbytes and maxfiles to file picker" 2009-05-18 04:06:55 +00:00
dongsheng
2d09b482e6 "MDL-16597, fixed empty returnvalue and file type options, improve javascript code" 2009-05-18 02:36:43 +00:00
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
skodak
b7335412ca MDL-19002 fixed string concatenation with "+" typos, added file size restrictions, unfortunately filepicker does not work for some reason 2009-05-11 19:35:37 +00:00
skodak
34d39b792c MDL-19002 standardized constructor parameter order 2009-05-11 18:55:03 +00:00
skodak
9d54b8cd95 MDL-19002 file size limits in filepicker + improved options 2009-05-11 18:49:04 +00:00
skodak
da40fd3218 MDL-19139 selectgroups formslib element improvements - 1/ does not validate if optgroup array empty 2/ add optional $showchoose parameter which adds "Choose..." as first item of list with empty value; merged from MOODLE_19_STABLE 2009-05-10 11:49:00 +00:00
stronk7
3ea24f884a MDL-19112 choosecoursefile group element - pass specified attrs to text element ; merged from 19_STABLE 2009-05-07 20:30:48 +00:00
dongsheng
b8aa76c1a4 "MDL-19037, use getremoteaddr to get remote ip address" 2009-05-01 03:04:10 +00:00
skodak
29712788b7 MDL-18948 fixed handling of indexes when removing options; merged from MOODLE_19_STABLE 2009-04-24 07:15:45 +00:00
dongsheng
e189ec00f0 "MDL-18486, remove php varible from file picker code, all javascript code goes into a static file" 2009-04-20 08:53:21 +00:00
tjhunt
edc0c49332 file api: MDL-18754 improve the names of some functions.
The new names are documented on
http://docs.moodle.org/en/Development:Convert_Draftarea_Files
2009-04-01 04:34:58 +00:00
tjhunt
2d10b78980 XHTML strict! If you must write inline JavaScript, please at least remember the CDATA tags. 2009-03-18 08:30:13 +00:00
tjhunt
562b75b21f formslib durations: MDL-18500 Let the form control the default unit. 2009-03-16 05:57:25 +00:00
tjhunt
8e7cebb0d8 formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
2009-03-13 09:56:53 +00:00
tjhunt
f3a076ded4 MDL-18500 New formslib element type duration for periods of time. 2009-03-11 06:07:33 +00:00
dongsheng
1b25f19692 "FILE_MANAGER, REPOSITORY/MDL-16597, remove padding in file listing" 2009-03-10 07:31:14 +00:00
tjhunt
32fa227255 duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes
This will be a formslib element for entering a time duration, like a quiz time limit. A better version to follow.
2009-03-10 06:46:34 +00:00
tjhunt
25fe66b094 date form fields: MDL-18502 Change the optional 'disabled' checkbox to an 'enabled' on
Better for usability to avoid a double-negative.
2009-03-10 06:44:05 +00:00
dongsheng
159840f02b "FORMSLIB,EDITOR/MDL-16698, add filepicker to editor element" 2009-02-18 02:18:06 +00:00
skodak
644d506ac1 MDL-16698 towards new general editor element + converted course section summaries 2009-02-17 16:18:05 +00:00
skodak
7cdee7486d MDL-16698 towarsd general editor element 2009-02-16 20:54:30 +00:00
skodak
b5cb48de8f MDL-16597 default to unlimited number of files instead of 0 which means no files 2009-02-16 20:53:23 +00:00
tjhunt
8942fd77be formslib / tags: MDL-17889 debugging message if you try to create a tags field when $CFG->usertags if false. 2009-01-16 07:34:29 +00:00
tjhunt
f48dccd43c formslib / tags: MDL-17889 improvements to this field type:
* Fix bug with rendering.
* Ensure the value is correctly set and returned.
2009-01-16 07:07:21 +00:00
tjhunt
60becebbef Whitespace cleanup. 2009-01-16 06:29:56 +00:00
tjhunt
9f1c9dfce5 formslib / tags: MDL-17889 a new formslib field type for editing a list of tags.
Not yet used anywhere. That can wait until tomorrow.
2009-01-15 09:24:45 +00:00
dongsheng
014c1ca037 "MDL-17391, filter repository intances by file types" 2008-12-08 05:19:09 +00:00
dongsheng
b423b4af24 REPOSITORY, FILEMANGER FORM ELEMENT/MDL-16597
new ajax filemanager.
2008-12-02 07:05:15 +00:00
dongsheng
b318bb6db2 REPOSITORY/MDL-13766
pass mimetype and return value type to file picker to filter repository instances
2008-11-26 03:26:33 +00:00
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00