72 Commits

Author SHA1 Message Date
Petr Škoda
6b32d6bc93 MDL-40995 simplify minify integration and fix all known issues 2013-08-03 17:16:17 +02:00
Petr Škoda
cb8108dd22 MDL-40545 convert js and theme resources to localcachedir 2013-07-20 14:10:25 +02:00
Petr Škoda
ff74627e62 MDL-40546 send proper caching headers when $CFG->cachejs = 0
This should help developers writing old style JS that is served via lib/javascript.php.
2013-07-12 22:22:56 +02:00
Petr Skoda
18ac11b730 MDL-32849 add support for url rewriting in min_get_slash_argument() and combo loader
This helps especially IIS servers using ^([^\?]+?\.php)(\/.+)$ rewrite rule.
2012-05-08 20:11:44 +02:00
Petr Skoda
979d320722 MDL-32825 try to improve atomicity of cache file operations in themes and javascript 2012-05-07 18:45:13 +02:00
Petr Skoda
8ab2974341 MDL-32683 improve and standardise JS serving 2012-05-05 18:16:50 +02:00
Petr Skoda
ee891dacc7 MDL-32612 disable error displaying in theme files and javascript
The correct place to write errors and notices is log, we can let Javascript and binary files to be randomly modified.
2012-04-28 17:14:38 +02:00
Petr Skoda
265b1434b0 MDL-31703 allow serving of JavaScript from unsupported '/' dirroot 2012-03-18 17:28:59 +01:00
Petr Skoda
d1f582d99c MDL-31079 detect js and css minimisation failures 2012-03-03 11:53:53 +01:00
Tom Lanyon
365bec4c06 MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir 2011-09-10 10:35:46 +02:00
Sam Hemelryk
4c066ce7da NOBUG: Turned off zlib compression when serving javascript files. 2010-11-05 07:03:05 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
09c48cea8b MDL-21435 sending JS cache to cache/js instead of temp; adding purging of JS caches 2010-05-22 20:04:06 +00:00
Petr Skoda
5ac09e8b82 MDL-22550 grrr, fixing regression, missed the MDL number in previous commit in this file 2010-05-22 19:30:33 +00:00
Petr Skoda
7a2df05c76 better protection of JS minify script 2010-05-22 19:28:29 +00:00
Petr Skoda
5a75ac0ab6 fixed whitespace 2010-05-22 19:12:29 +00:00
Sam Hemelryk
045f492c6b javascript-minify MDL-21435 Added Minify third party lib and integrated to with JavaScript and CSS serving 2010-05-19 02:15:16 +00:00
Petr Skoda
baeb20bba3 MDL-21400 thems and JS now using the same script naming convention and parameter style 2010-02-07 13:08:46 +00:00
Petr Skoda
0139ec3fe6 MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default) 2010-02-07 12:50:53 +00:00
samhemelryk
e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
skodak
ff5fe31160 MDL-19580 cleanup of require css and js filepicker code 2009-06-24 22:34:29 +00:00
skodak
13a220cfb8 MDL-19500 improved editor embedding 2009-06-14 21:35:07 +00:00
samhemelryk
226617eafb lib MDL-19236 Added phpdocs and copyrights 2009-05-26 02:17:06 +00:00
skodak
a5747cf828 MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +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
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
dongsheng
159840f02b "FORMSLIB,EDITOR/MDL-16698, add filepicker to editor element" 2009-02-18 02:18:06 +00:00
tjhunt
740939ec61 MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works. 2008-09-25 10:07:11 +00:00
tjhunt
77241d9bd1 MDL-16671 - Move openpopup out of javascript.php and in to javascript-static.js 2008-09-25 03:14:24 +00:00
tjhunt
c849ed1e1e MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor. 2008-09-24 09:32:46 +00:00
skodak
53b20fe35a MDL-16637 removing obsoleted spellchecker support 2008-09-23 15:12:07 +00:00
dongsheng
765943edc6 MDL-13766, mulit-filepicker in htmleditor worked. 2008-08-05 08:12:21 +00:00
scyrma
eec1d200b5 MDL-4346: limiting the 'defer' clause to one call / fix the missing openpopup() bug in IE. (merge from 1.9) 2008-07-18 07:14:58 +00:00
dongsheng
23360b81dd "MDL-13233, replace the uses of old files to new ones, see tracker" 2008-05-07 03:08:44 +00:00
jerome
52cc2b7af8 MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem. Merged from 19. 2008-05-02 02:45:18 +00:00
nicolasconnault
8f9607dbc8 MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form 2007-12-03 20:13:01 +00:00
nicolasconnault
8f6e4392d2 Adding latest version of overlib with all plugins, into its own directory. Updated lib/javascript.php to point to this instead of the old one, which is still in lib/overlib.js 2007-08-08 09:42:11 +00:00
sam_marshall
7470d6de7a MDL-10249 Created addonload JavaScript function that can be used to add onload handlers, instead of using <body onload> which breaks things. 2007-06-25 14:38:02 +00:00
moodler
ae3e06dd24 Merged brackets fixes from stable 2007-05-15 07:50:19 +00:00
moodler
f6994e71fa Flash-based filters are now strrrrrrrict AND accessible! MDL-7889
Unfortunately this is only possible using Javascript to rewrite the DOM, so this means Flash content won't work without Javascript on.



   MDL-7861
2007-01-08 11:55:18 +00:00
skodak
c7225fe291 MDL-8062 chat, login page and messaging - removed name attribute from some <form>s and fixed focus; changed set_focus() JS to accept element ID == the $focus parameter in print_header() + other minor Strict XHTML fixes 2007-01-03 20:35:09 +00:00
moodler
a09f3b7db6 Removed some language=Javscript attributes ... we need to remove all of them! 2007-01-03 09:09:25 +00:00
moodler
ad897001c2 Added CDATA to Javascript 2006-12-22 04:17:56 +00:00
jamiesensei
19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
julmis
c2db12af42 Adding tinymce needed defaults and new $CFG property 'editorsrc' 2006-03-04 14:52:50 +00:00
mjollnir_
82c859921b Added selectall/deselectall to files/index.php 2006-01-11 02:26:26 +00:00
mjollnir_
861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
stronk7
e36f3098f8 Core changes finished. Now javascripts URLs support
HTTPSPAGEREQUIRED properly. Ready to start protecting pages.

Merged from MOODLE_15_STABLE
2005-07-14 22:36:40 +00:00
moodler
338cfbb8f1 Commented out hover hack ... see bug 3453 2005-06-09 21:10:56 +00:00
urs_hunkler
3b32704597 The tabs do not show the CSS rollover in MSIE. With the behavior "csshover.htc" MSIE behaves as the other browsers. I added the code to load this behavior via CSS to "javascript.php", because I think this is the best place to handle the behavioral layer of moodle. Perhaps it makes sense to rename it to "behavior.php"??? 2005-05-17 07:06:58 +00:00