Commit Graph

792 Commits

Author SHA1 Message Date
dignajar 41b5531fa2 Custom hooks for plugins 2020-05-12 18:24:06 +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
Diego Najar 061f7c1b13
Merge pull request #1164 from mhancoc7/patch-1
Add the "async" parameter to script tags
2020-03-27 12:53:08 +01:00
Jereme Hancock 380e99b1cc
Removed async from jquery as I started noticing errors in admin 2020-03-26 13:05:18 -05:00
Diego Najar 63ccd77af5 Bug fixed, set a homepage and enable the filter /blog/ 2020-03-25 21:25:00 +01: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 c4b3bdd77b Bludit v3.12.0 metadata 2020-03-21 15:44:27 +01:00
Diego Najar 46fa8a1fab Create directory for upload pictures for each new page 2020-03-20 19:48:44 +01: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
Anaggh S 8a5599023c Fix #1135 clippy input on mobile dropdown menu bug 2020-02-15 16:10:40 +05:30
Diego Najar 29c8341b2f Bludit v3.11.0 2020-02-08 19:24:17 +01:00
Diego Najar edeb603541 update metadata for bludit v3.11.0 2020-02-08 19:22:34 +01:00
Diego Najar c0a15930f9 include site db on developers page 2020-02-08 19:20:44 +01:00
Diego Najar f2acafd6db add social network vk.com 2020-02-08 19:20:15 +01:00
Diego Najar 5cd6283caf Fix for #1102, show search input on small devices 2020-02-05 20:59:33 +01:00
Diego Najar 35483e0d30 Security bug fixed #1131 and refresh profile picture after uploaded 2020-02-05 20:57:07 +01:00
Diego Najar 4d0912308d Update jstz to detect the timezone in the installation 2020-02-05 20:45:43 +01:00
Anaggh S 8d2056dfac Fix #1051 Bug - Media Manager Pagination 2020-01-01 22:28:59 +05:30
Anaggh S 8194be5e4d Fix #808 Remove special characters/spaces early to prevent overwrite 2020-01-01 18:04:59 +05:30
Anaggh S f48fcaf997 Update bootstrap v4.3.1 -> v4.4.1 2020-01-01 16:40:11 +05:30
Anaggh S b62194a3c3 Update parsedown 1.7.3 -> 1.7.4 2020-01-01 16:24:11 +05:30
Diego Najar b86dc069a1 Update select2 to 4.0.12 2019-12-08 18:40:07 +01:00
Diego Najar 95ae4e5061 add view and edit to the langueage file 2019-12-07 18:11:41 +01:00
Diego Najar ff57081e3a add support for vk.com social network 2019-12-07 14:35:38 +01:00
Diego Najar bc4f532b97 add support for vk.com social network 2019-12-07 14:32:39 +01:00
Diego Najar b510c59bab Improve date modified returns 2019-11-18 20:18:29 +01:00
Diego Najar 8b025ebe81 Include Disk usage 2019-11-18 20:17:27 +01:00
Diego Najar b9a474311b Merge branch 'master' of github.com:dignajar/bludit 2019-11-18 19:42:02 +01:00
Diego Najar f0e9bc62a2 deactivate all plugins function 2019-11-18 19:41:54 +01:00
Anaggh S a39d3fff7f Add Disk Size to Simple Stats 2019-11-15 21:17:56 +05:30
Anaggh S 1a208b0642 Allow backup downloads for admin role 2019-11-15 19:29:26 +05:30
Diego Najar c7c8998367 include category name on JSON method 2019-11-05 21:51:46 +01:00
Diego Najar 142159a8e9 Enable API after user login success and returns authentication token, helps for external applications 2019-11-02 17:06:34 +01:00
Diego Najar 8a1338b186 remove shorcut to fix favicon. Related issue #1099 2019-10-24 20:08:54 +02:00
Diego Najar 5f2a840890 Fix URLs on assistant and metadata updated for Bludit v3.10.0 2019-10-19 10:10:46 +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 968d9d6221 Fade betewen tabs 2019-10-07 18:45:41 +02:00
Diego Najar f53460a05a Remove arrow 2019-10-07 18:44:27 +02:00
Diego Najar ada0b61ee1 Add badget for page types 2019-10-05 21:29:32 +02:00
Diego Najar 7dae1725bb Keep date on draft pages, bug fix for #1088 2019-10-05 21:22:34 +02:00
Diego Najar c5977fc0cb Select parent page bug fix #1089 2019-10-05 21:20:58 +02:00
Rob b5afd44195
Remove use of headers that can be used to bypass anti-brute force controls 2019-10-05 18:22:25 +01:00
Diego Najar da94b43e84 Change <? for <?php, fix for #1086 2019-09-27 15:36:18 +02:00
Diego Najar aa09eb1351 metadata for bludit v3.10.0 2019-09-25 20:23:15 +02:00
Diego Najar b35172b286 Open current tab after refresh page 2019-09-25 20:18:36 +02:00
Diego Najar bf0f31993b clean up 2019-09-25 20:17:28 +02:00