moodle/lib
Dan Poltawski 1573c3031b MDL-53695 lib/javascript.php: ensure full env for core_minify
This applies the same approach to generating minified js as is already
used in theme/javascript.php and other scripts. When we need to do the
minification, we load the full Moodle environment, so we can use the
libraries.

The reason this was required was because now the minifier uses
autoloaded classes, which are not autoloaded when doing
ABORT_AFTER_CONFIG.

Fred persuaded me that it's probably safer to keep it that way, rather
than alllow ABORT_AFTER_CONFIG scripts from autoloading the world and
their dog (especially for resource serving scripts, they are intended to
be lightweight when serving from cache).
2016-10-10 13:17:04 +01:00
..
adodb MDL-52544 oracle: Apply upstream pull request to AdoDB oracle driver 2016-07-13 08:45:06 +08:00
ajax MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
amd MDL-56010 libraries: Add missing comment back to loglevel 2016-10-04 16:33:31 +08:00
antivirus/clamav MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
behat MDL-55713 behat: Include named and partial behat selector files 2016-10-06 07:55:51 +08:00
bennu MDL-49111 bennu: remove outdated readme note 2016-01-13 11:31:55 +00:00
classes MDL-53695 minify: switch to MatthiasMullie\Minify 2016-10-10 13:17:04 +01:00
db Merge branch 'MDL-22078_master' of https://github.com/dmonllao/moodle 2016-10-05 12:22:07 +02:00
ddl MDL-53495 database xmldb: Ensure field tests use constant. 2016-07-06 14:45:00 +10:00
dml Merge branch 'MDL-55124' of https://github.com/mr-russ/moodle 2016-09-22 00:52:30 +02:00
dtl
editor Merge branch 'MDL-52317' of https://github.com/NeillM/moodle 2016-10-03 16:09:25 +01:00
evalmath MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
external MDL-55091 phpunit: Following has been deprecated. 2016-07-26 10:11:30 +08:00
filebrowser MDL-33741 file_info: show courses in hidden categories 2016-08-01 09:12:36 +08:00
filestorage Merge branch 'MDL-55445-master-2nd' of git://github.com/FMCorz/moodle 2016-08-17 11:25:24 +08:00
flowplayer MDL-44093 flowplayer: Provide information about source code location 2016-02-18 15:47:14 +01:00
form MDL-56210 behat: Test for disabled button later 2016-10-05 15:45:22 +08:00
google MDL-53512 libraries: update google API library to version 1.1.7 2016-03-22 08:38:11 +08:00
grade MDL-55707 grades: Stop infinite loop when regrading. 2016-09-01 10:25:13 +08:00
horde MDL-52361 core: patch Horde library for PHP7 compatibility 2015-12-08 12:47:15 +08:00
html2text MDL-53896 core: Document Html2Text run-time overrides 2016-05-18 11:37:17 +08:00
htmlpurifier MDL-52651 htmlpurifier: Append rel=noreferrer to links. 2016-03-08 02:05:55 +01:00
jabber MDL-52335 core: php7 compatibility in XMPP library 2015-12-02 14:00:58 +08:00
jquery MDL-56007 jquery: add back non-minified files 2016-10-04 11:16:29 +01:00
lessphp NOBUG: Fixed file access permissions 2016-03-24 12:58:10 +01:00
markdown MDL-53518 libraries: upgrade mardown to 1.6.0 version 2016-03-21 13:04:05 +08:00
maxmind MDL-48766 lib: Import MaxMind GeoIP2 PHP API 2016-09-19 08:59:38 +01:00
minify MDL-53695 minify: switch to MatthiasMullie\Minify 2016-10-10 13:17:04 +01:00
mustache MDL-56011 libraries: upgrade mustache.php to 2.11.1 2016-09-30 08:40:41 +08:00
password_compat/lib MDL-51758 libraries: Reworded password.php not required 2016-07-20 12:55:09 +08:00
pear MDL-48766 lib: remove unused pear::Net::GeoIP 2016-09-19 08:59:39 +01:00
php-css-parser MDL-55381 php-css-parser: Patch for Sabberworm/PHP-CSS-Parser#115 2016-09-23 10:53:30 +01:00
phpexcel MDL-52336 core: patch PHPExcel for PHP7 compatibility 2015-12-08 12:13:48 +08:00
phpmailer MDL-56000 lib: upgrade PHPMailer to 5.2.16 2016-09-29 15:09:10 +08:00
phpunit MDL-55379 phpunit: Preserve config option if passed 2016-09-22 10:45:47 +08:00
portfolio
requirejs MDL-56009 lib: update RequireJS to 2.3.2 2016-10-03 13:21:33 +08:00
rtlcss MDL-55224 core: Import RTLCSS-PHP into core 2016-09-23 10:49:49 +01:00
scssphp MDL-55285 core: Include library scssphp in core 2016-09-23 10:49:49 +01:00
simplepie NOBUG: Fixed file access permissions 2016-10-06 11:51:28 +02:00
spout MDL-56012 lib: Update of readme and xml file. 2016-10-04 10:47:06 +08:00
tcpdf NOBUG: Fixed file access permissions 2015-10-08 11:36:35 +01:00
templates MDL-55797 output: Support form method in chooser 2016-09-23 10:55:17 +01:00
testing MDL-55379 phpunit: Coding style fix 2016-09-22 15:11:16 +08:00
tests MDL-53695 minify: switch to MatthiasMullie\Minify 2016-10-10 13:17:04 +01:00
typo3
xhprof MDL-55504 profiling: No profiling for PHPUNIT_UTIL stuff 2016-09-08 15:32:46 +08:00
xmldb MDL-53495 database xmldb: Use real length restriction. 2016-06-08 11:06:16 +10:00
yui MDL-55861 course: Click drag&drop icon, incorrect activities shown 2016-09-29 16:42:10 +01:00
yuilib
accesslib.php MDL-31243 access/enrol libs: new fns returning useful SQL fragments 2016-09-30 09:27:56 +01:00
adminlib.php MDL-55071 admin: Remove reference to former localisedtext class 2016-09-26 10:28:47 +01:00
authlib.php MDL-56092 core_auth: New WS core_auth_confirm_user 2016-10-04 09:50:32 +01:00
badgeslib.php MDL-45734 Badges: Add additional events 2016-07-29 21:51:05 -04:00
blocklib.php MDL-53425 blocklib: Perform deletion of block instances by chunk 2016-05-30 11:22:47 +08:00
boxlib.php MDL-49599 core: Fully deprecate the boxclient class 2016-07-19 14:44:51 +08:00
cacert.pem
cacert.txt
clilib.php MDL-51423 clilib: Fix the hard-coded English text with proper string 2015-09-17 21:12:46 +02:00
completionlib.php MDL-55628 Completion: Use simpledata for completion cache 2016-08-22 17:13:36 +01:00
componentlib.class.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
conditionlib.php
configonlylib.php
cookies.js
coursecatlib.php MDL-22078 course: add end date 2016-10-03 09:51:36 +08:00
cronlib.php MDL-51330 Cron: In log, scheduled tasks don't show component 2015-09-07 18:40:05 +01:00
csslib.php MDL-56172 css: remove css optimiser 2016-09-29 16:40:40 +01:00
csvlib.class.php
customcheckslib.php
dataformatlib.php MDL-51603 dataformats: coding_exception if output buffering 2016-04-21 16:20:36 +08:00
datalib.php MDL-52253 scales: Add new competence scale 2016-05-13 18:12:28 +08:00
ddllib.php MDL-50049 deprecation: Extra minor fixes. 2015-07-10 01:59:31 +02:00
default.ttf
deprecatedlib.php Merge branch 'MDL-56172-master' of git://github.com/danpoltawski/moodle 2016-10-04 00:53:02 +02:00
dmllib.php MDL-50049 deprecation: Extra minor fixes. 2015-07-10 01:59:31 +02:00
dtllib.php
editorlib.php MDL-31989 search: get_config method to search areas 2016-02-23 10:47:59 +00:00
emptyfile.php
enrollib.php MDL-31243 access/enrol libs: rename new groups functions 2016-09-30 09:27:59 +01:00
environmentlib.php MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
eventslib.php MDL-48621 events: Adding debugging messages 2016-01-19 15:12:15 +08:00
excellib.class.php MDL-52983 excel output: avoid single quote on end of sheet name 2016-02-08 15:17:02 +10:30
externallib.php MDL-53777 tool_mobile: New script for launching the mobile app 2016-10-03 10:02:33 +01:00
filelib.php MDL-55445 files: Helper functions related to serving and caching 2016-08-17 10:26:10 +08:00
filterlib.php MDL-52279 core_lib: Remove php4 style constructor 2015-11-30 11:25:55 +08:00
flickrlib.php
formslib.php MDL-55071 theme/output: PHPCS fixes for new theme branch 2016-09-23 10:57:36 +01:00
gdlib.php MDL-55445 gdlib: Support for resizing an image 2016-08-15 10:54:28 +08:00
googleapi.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
gradelib.php MDL-55987 gradebook: Claim extra memory when updating final grades 2016-09-16 12:39:47 +02:00
graphlib.php MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
grouplib.php MDL-31243 access/enrol libs: rename new groups functions 2016-09-30 09:27:59 +01:00
htaccess
index.html
installlib.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
javascript-static.js MDL-55839 behat: Behat fixes for theme_noname 2016-09-23 10:55:16 +01:00
javascript.php MDL-53695 lib/javascript.php: ensure full env for core_minify 2016-10-10 13:17:04 +01:00
jslib.php
ldaplib.php MDL-53580 auth_ldap: Set default value for suspended_attribute 2016-05-10 23:04:46 +08:00
lexer.php MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
licenselib.php
listlib.php
mathslib.php MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
medialib.php MDL-55587 core_media: Properly escape ampersand 2016-08-29 19:16:01 +08:00
messagelib.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
modinfolib.php MDL-54988 core: Final deprecation for lib/modinfolib methods 2016-07-26 00:07:25 +08:00
moodlelib.php Merge branch 'MDL-22078_master' of https://github.com/dmonllao/moodle 2016-10-05 12:22:07 +02:00
myprofilelib.php MDL-55844 profile: display formatted course name 2016-09-05 13:05:56 +08:00
navigationlib.php MDL-55700 theme_noname: Allow text nodes in breadcrumb 2016-09-23 10:53:56 +01:00
oauthlib.php
odslib.class.php MDL-24343 core: Deprecate zip_files 2016-07-29 08:15:16 +08:00
outputactions.php MDL-55831 output: Convert action_link to template 2016-09-23 10:55:16 +01:00
outputcomponents.php MDL-55904 output: Deprecate action_menu::do_not_enhance() 2016-09-23 10:55:17 +01:00
outputfactories.php MDL-50085 output: Remove component and subtype from renderer 2015-05-05 03:19:47 +02:00
outputfragmentrequirementslib.php MDL-52715 lib: Clean up of comments and variable names. 2016-02-03 10:07:08 +08:00
outputlib.php MDL-56172 css: remove css optimiser 2016-09-29 16:40:40 +01:00
outputrenderers.php MDL-56011 lib: move Mustache loading to core_component autoloader 2016-10-04 18:17:22 +01:00
outputrequirementslib.php MDL-55402 theme_noname: Convert bootstrapbase to bs4 2016-09-23 10:49:48 +01:00
pagelib.php MDL-52035 core: added ability to override pagelayout 2016-04-26 12:08:31 +08:00
pdflib.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
plagiarismlib.php MDL-52702 plagiarism: Improvements to base plugin class 2016-01-18 09:39:54 +00:00
portfoliolib.php
questionlib.php MDL-29905 question: Auto remove stale questions upon category deletion 2016-05-30 12:26:09 +08:00
recaptchalib.php MDL-56092 core_auth: Refactor recaptcha lib 2016-10-04 09:49:27 +01:00
requirejs.php MDL-55453 core_lib: Fix usage of js_send_uncached 2016-08-03 10:18:41 -07:00
resourcelib.php MDL-47995 lib: encode title properly, before additing it to image title 2015-06-04 11:13:00 +08:00
rsslib.php MDL-50268 core: proper deprecation of get_file_url() method 2016-01-18 13:44:22 +08:00
searchlib.php MDL-51784 general: Adding missing php4 style constructors 2015-12-11 14:02:42 +08:00
sessionkeepalive_ajax.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
sessionlib.php MDL-55273 admin: Change $CFG->cookiesecure default to on 2016-08-22 09:20:32 +10:00
setup.php MDL-56167 setup: bail out on lower version requirements in all cases 2016-09-28 15:35:34 +01:00
setuplib.php MDL-22078 lib: bump redirect_if_major_update_required() 2016-10-06 09:24:52 +01:00
soaplib.php
statslib.php MDL-22183 lib: Cleanup of get_next functions. 2016-08-18 10:13:31 +08:00
tablelib.php MDL-56231 library: Fixed PhpDoc for flexible_table constructor. 2016-10-03 16:07:11 +11:00
thirdpartylibs.xml MDL-53695 minify: switch to MatthiasMullie\Minify 2016-10-10 13:17:04 +01:00
tokeniserlib.php
upgrade.txt MDL-53695 minify: switch to MatthiasMullie\Minify 2016-10-10 13:17:04 +01:00
upgradelib.php MDL-55404 core_upgrade: Add libcurl environment checks 2016-09-06 11:34:46 +08:00
uploadlib.php MDL-50887 antivirus: Deprecate functions no longer required. 2016-02-25 09:55:45 +00:00
validateurlsyntax.php
webdavlib.php
weblib.php MDL-55564 output: Use template for password autofill hack 2016-09-23 10:53:55 +01:00
wiki_to_markdown.php MDL-50268 core: proper deprecation of get_file_url() method 2016-01-18 13:44:22 +08:00
womenslib.php
wordlist.txt
xhtml.xsl
xmlize.php
xsendfilelib.php