1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-09 12:06:29 +02:00
Commit Graph

124 Commits

Author SHA1 Message Date
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Cameron
c96d64e275 Closes #618, #2599 Added simple options for including 'async' or 'defer' when using e107::js('header') and/or e107::js('footer').
Usage example: e107::js('footer', 'https://www.google.com/recaptcha/api.js?hl=en', ['defer','async']);
2021-12-27 15:21:18 -08:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
78d72fa139 Added 'defer' to bootstrap5 and fontawesome5 <script> tags. 2021-10-12 08:00:41 -07:00
Cameron
0442ba138a addJs() method cleanup. Work-in-progress. 2021-10-11 19:06:03 -07:00
Cameron
a8ec6435e5 Closes #4567 - jQuery 3 is now the default for the frontend of e107.
To use v2, add the following to e107_config.php: define('e_DEBUG_JQUERY', 2);
2021-09-23 11:02:43 -07:00
Cameron
d0f8f348fe Removed cacheID from cached JS/CSS URLs - now automatically included within filename hash. 2021-09-15 19:25:10 -07:00
Cameron
48ace946f4 Bootstrap upgraded to v5.1.1 2021-09-13 18:05:35 -07:00
Cameron
00d584f584 Experimental CSS filtering. 2021-06-24 12:29:47 -07:00
Cameron
522d71d243 Reduced some memory usage. 2021-01-24 17:00:02 -08:00
Cameron
5c9e04373e Moved methods from e_menu_layout to e_layout. 2021-01-17 09:10:00 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
cf14705535 Code speed optimization 2020-12-12 11:32:23 -08:00
Cameron
5bde141c18 Fix for if e107::js('url') is called late (after header) 2020-12-11 10:30:19 -08:00
Cameron
f605ddc552 Code optimization and cleanup. 2020-12-10 15:52:48 -08:00
Cameron
86690cee65 Parser staticUrl() test and JS manager addLink() test added. 2020-12-03 14:20:34 -08:00
Cameron
066104f4c3 When static URL is not in use, use absolute URL for js/css cached image paths etc. 2020-12-03 11:44:59 -08:00
Cameron
f621aeaa56 e107::link() now supports a plain HTML string. Useful for font preloading.
eg. e107::link('rel="preload" href="{THEME}fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin');
Bootstrap automatic font preload added.
2020-12-03 08:22:51 -08:00
Cameron
6fd582655a Defer header javascripts to footer when js/css caching is enabled. 2020-12-02 20:15:13 -08:00
Cameron
3491d7c832 Avoid javascript caching from failing when the semicolon is missing from the end of a js file. 2020-12-02 15:53:12 -08:00
Cameron
c9bc789b79 Added an option for pre-loading of library assets. More info: https://web.dev/uses-rel-preload/ 2020-12-02 13:17:23 -08:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Achim Ennenbach
f08a323f05 fixes #3390 Added check for // at the beginning for protocol-less path 2018-08-26 13:51:16 +02:00
Cameron
ac4b505ceb Issue #3104 Library CSS fix for late calls. (eg. bootstrap-switch ) 2018-05-12 11:46:28 -07:00
Cameron
6b925a6f76 Issue #3104 - Library CSS order fix. 2018-05-11 17:39:26 -07:00
Cameron
d0d4bcc1cd Use static URLs in compressed CSS when enabled. 2018-01-26 18:12:12 -08:00
Cameron
fb7e9668e7 Prevent clickjacking. Remove js/css query string when e_HTTP_STATIC is active. 2018-01-18 14:16:43 -08:00
Cameron
27910c87c7 Issue #2827 Support for multiple static domains for distributed static URLs. 2017-10-25 19:02:10 -07:00
Cameron
6c828ec326 Possible fix for hardcoded css URLs with css cache. 2017-05-02 15:31:21 -07:00
Cameron
4c6f015fa8 Issue #2600 defining e_HTTP_STATIC now applies to images (using thumbUrl/toImage) as well as js/css.
eg. define('e_HTTP_STATIC', 'http://static.mydomain.com/');
2017-04-28 15:07:36 -07:00
Cameron
33fa33781d Experimental e_HTTP_STATIC definition added. 2017-04-27 17:47:57 -07:00
Cameron
2724127ba2 Closes #2596 - Enhancement to remove query strings from static resources. 2017-04-26 13:58:01 -07:00
Cameron
e5e7a23810 Disable JS/CSS Cache in Menu-Manager. 2017-04-17 16:16:29 -07:00
Cameron
ab9d056358 Issue #2579 - Make sure JS/CSS caching only happens on the front-end. 2017-04-17 16:04:30 -07:00
Cameron
45230488e3 Issue #2572 Inline CSS with Cached CSS Files. 2017-04-15 09:03:13 -07:00
Cameron
4f45805bc7 Issue #2571 Improved CSS compression 2017-04-15 08:26:08 -07:00
lonalore
b0a48418d8 Auto-prepend "cdn." (when available and CDN is On). Autoload "unminified" version (if available) when debug mode is On. 2017-01-27 11:51:28 +01:00
lonalore
7c0c0cd2f1 Use Library Manager to handle core libraries. 2017-01-26 12:45:45 +01:00
lonalore
7ef1d13b35 Merge branch 'master' into lib 2017-01-26 09:46:00 +01:00
Cameron
988519a0f8 Added an id to local theme stylesheets. 2017-01-25 11:04:14 -08:00
Lóna Lore
efeeeb94a4 Ability to use CDN for core-defined libraries. Ability to select CDN provider. 2017-01-08 12:02:10 +01:00
lonalore
9172068f4e Use Library Manager to load jQuery, jQuery UI... etc. 2016-12-22 15:07:00 +01:00
lonalore
0e7a45d69d Use Library Manager to load jQuery, jQuery UI... etc. 2016-12-22 14:54:09 +01:00
lonalore
8ef8a93407 Use Library Manager to load jQuery, jQuery UI... etc. 2016-12-22 14:16:52 +01:00
lonalore
ee617b97e2 Fix for array merging. 2016-12-06 14:10:35 +01:00
Cameron
b97c2fb850 jQuery version updated to 2.2.4 2016-11-21 15:38:53 -08:00
Cameron
c7fc923736 Load Plugin CSS after Theme CSS when in admin area. 2016-11-04 19:36:40 -07:00
Cameron
0109e91271 Missing contentEditable script added. Removed unused zrssfeed script. Added default featurebox css for a fixed height. Experimental JS manager CDN check code added (but disabled for now) 2016-06-02 15:04:08 -07:00