1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

134 Commits

Author SHA1 Message Date
camer0n
2ee1433a84 Fixes #5246 JS using 'settings' not loading correctly. 2024-05-14 10:46:30 -07:00
camer0n
4b0c341c4a Issue #5192 Disable defer when in admin mode. 2024-03-02 13:25:10 -08:00
camer0n
8921e92aa6 Issue #5192 - Javascript defer option. (experimental) 2024-02-09 16:46:16 -08:00
camer0n
ab5f0fb911 Fixes #5156 Static URL issue. 2023-12-18 12:21:49 -08:00
camer0n
ab64f0f7bf Issue #5119 setFavicon() method added. 2023-11-28 12:18:08 -08:00
camer0n
4f13dbdf6a Issue #5079 PHP Warning. 2023-11-16 10:36:58 -08:00
camer0n
64cf23a06e Closes #5062 - common favicon method for frontend and backend. 2023-10-17 10:22:11 -07:00
Cameron
6eff4cb5f7 Closes #4748 - Bootstrap5 Theme enhancements. Bootswatch 5. 2022-04-05 19:49:08 -07:00
Cameron
45372f285c Fixes #4747 - wysiwyg editor value retention. 2022-04-05 09:56:25 -07:00
Cameron
55980a29a8 Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float. 2022-04-04 10:54:24 -07:00
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