Commit Graph

140 Commits

Author SHA1 Message Date
SamBrishes 06131d7f85 Bugfix - ZIP Paths may starts with an (back-) slash 2020-05-14 11:33:46 +02:00
Jereme Hancock 9a1ff17545
Allow passing in attributes for Theme js files
This is a follow up to a previous PR. The async attribute can cause issues with some js files. For instance I added the lozad.js (https://github.com/ApoorvSaxena/lozad.js) for lazy loading and included it via my theme. However, with the current automatic inclusion of "async" things didn't work. 

So this update allows Theme developers to prevent the async attribute by passing in "null".

Example: ```<?php echo Theme::javascript('js/lozad.min.js', DOMAIN_THEME, null); ?>```

If the Theme developer doesn't include "null" the default will be to use "async".
2020-04-05 20:15:09 -05:00
Jereme Hancock 380e99b1cc
Removed async from jquery as I started noticing errors in admin 2020-03-26 13:05:18 -05:00
Jereme Hancock 12bbef14a6
Add the "async" parameter to script tags
In my testing this has improved my Page Insights score pretty significantly especially for mobile. See: https://web.dev/render-blocking-resources/
2020-03-23 14:04:54 -05:00
Diego Najar 0530aaa3b8 Merge branch 'master' of github.com:dignajar/bludit 2020-03-14 12:03:50 +01:00
Diego Najar a8b4b26c57 get mimetype 2020-03-14 12:03:43 +01:00
Anaggh S 45ca449d5a Use try catch instead 2020-02-28 14:06:09 +05:30
Anaggh S bbdc8afcaf Fix PHP 7.4 "Deprecated: Array and string offset access syntax with curly braces is deprecated" 2020-02-27 03:08:27 +05:30
Anaggh S 7ae53cfd63 Fix #1143 Add additional check to skip broken symlinks to avoid RuntimeException: SplFileInfo::getSize(): stat failed 2020-02-27 02:58:05 +05:30
Diego Najar bc4f532b97 add support for vk.com social network 2019-12-07 14:32:39 +01:00
Anaggh S a39d3fff7f Add Disk Size to Simple Stats 2019-11-15 21:17:56 +05:30
Diego Najar 8a1338b186 remove shorcut to fix favicon. Related issue #1099 2019-10-24 20:08:54 +02:00
Diego Najar 4f3f40a6c4 Remove HTML and PHP tags from the users,categories and tags fields, prevent XSS 2019-10-12 11:35:35 +02:00
Diego Najar baa835cb8c added some logs 2019-05-27 19:07:53 +02:00
Diego Najar dc8320d46f new icons line-awesome 2019-04-23 23:26:34 +02:00
Diego Najar 8d06d47318 new function to convert human readable mememory to bytes 2019-04-23 23:17:27 +02:00
Edi a6137fbb8f
Update theme.class.php 2019-04-19 00:55:34 +02:00
Diego Najar 8ab9af8bb2 Improve for upload image, new method for filesystem class 2019-04-07 20:43:42 +02:00
Diego Najar d0843a4070 check extension and path traversal 2019-03-10 18:27:24 +01:00
Diego Najar f2e12e6821 bug fix for #961 2019-02-22 18:42:27 +01:00
Diego Najar 785965db35 Pages with differents dates after installation 2019-02-02 16:14:00 +01:00
Diego Najar 1dc3f067dc include languages files 2019-01-25 16:26:55 +01:00
Anaggh S dd8e13f904 Remove unused deprecated Crypt class 2019-01-19 18:56:52 +05:30
Diego Najar 346d573197 bludit v3.6 2019-01-15 19:53:04 +01:00
Diego Najar 2bbf79cde9 remove quotes from filename after uploaded a image 2019-01-11 17:43:37 +01:00
Diego Najar 9eb5d583b6 trace mode for debug 2018-12-26 20:43:20 +01:00
Diego Najar 45d725c909 Bug fix for #868, allow upload file extension with upper case letters 2018-11-21 18:48:34 -03:00
Diego Najar 7df5ee322e Bug fixes, and dictionary updated 2018-11-08 20:59:06 -03:00
Diego Najar 2b1e09646b After logout go to login page 2018-10-23 20:25:06 +02:00
Diego Najar 8e7a2f93b9 improves in editor area 2018-10-17 22:35:30 +02:00
Diego Najar 7d16e13903 Image per pages, removed convert relative to absolute path, media manager improves 2018-10-06 19:39:34 +02:00
Diego Najar 8221fbb40b remove cover image function, search plugin improvments, add search to theme alternative, tinymce css content 2018-10-03 00:19:19 +02:00
Diego Najar 74687b0e65 search function 2018-10-01 16:34:28 +02:00
Diego Najar b921662fd8 fix in installer 2018-09-26 17:55:19 +02:00
Diego Najar 01f4415ac3 ping Google and Bing when sitemap changed 2018-09-18 19:46:10 +02:00
Diego Najar 2e33afda0c New rule for routing URLs 2018-09-11 23:37:45 +02:00
Diego Najar 78968aaf4d bug fix in truncate function 2018-09-03 18:46:21 +02:00
Diego Najar 9676e995ef redirect pages with trailing slash 2018-08-27 22:19:42 +02:00
Diego Najar e4a08873ac remove line breaks method 2018-08-26 13:44:18 +02:00
Diego Najar f98f14670c Rename special chars to unicode chars, remove special chars in username 2018-08-21 20:11:31 +02:00
Diego Najar e674327a25 Remove reserved characters from URL, changes on labels 2018-08-20 22:32:14 +02:00
Anaggh S df5fd34dde Remove invalid span, plugin fixes 2018-08-16 17:49:21 +05:30
Diego Najar 942f3c04cb change amount for number 2018-08-06 21:46:58 +02:00
Diego Najar bb2023cb5b
Merge pull request #734 from kavin-90/master
add bootstrap pagination code with gap+numbers xD
2018-08-06 19:21:07 +03:00
Diego Najar d89e742fdf Change on variable name to , include new words to the dictionary 2018-08-05 17:54:20 +02:00
Sam f67c4d29bd
add bootstrap pagination code with gap+numbers xD
created bootstrap pagination
2018-08-04 18:17:12 +05:30
Diego Najar 1caddac331 Changes on variables names for Language 2018-08-03 19:03:09 +02:00
Diego Najar 077bc21434 changes variables names 2018-08-02 22:33:53 +02:00
Diego Najar b04587813e categories description and bug fix 2018-08-02 17:06:53 +02:00
Diego Najar bb481498be Bug fixes 2018-07-28 18:33:37 +02:00