1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 20:44:48 +02:00
Commit Graph

5330 Commits

Author SHA1 Message Date
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
b16d7605b6 Code cleanup. 2020-12-05 12:43:05 -08:00
Cameron
68e251d771 Outdated ping functions removed from news and gsitemap. xmlrpc classes removed. 2020-12-05 12:39:50 -08:00
Cameron
645c05cfbf PHP8 Compatibility Fixes 2020-12-04 17:21:03 -08:00
Cameron
83d189e04c Fix for missing dropdown selection in admin-ui edit mode. 2020-12-03 17:31:03 -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
3a78603ebd Header now loads link tags sooner. (excluding css)
Clear js/css/browser/library cache automatically after git update.
2020-12-03 11:00:53 -08:00
Cameron
69cb52e848 staticUrl() to always returns a full path. 2020-12-03 10:31:19 -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
5770aa8bbb Closes #4260 toImage() : Added 'title' attribute. Added options to override size, width and height values. (subject to change) 2020-12-02 14:41:48 -08:00
Cameron
fa4433d8d7 Library preloading tweak. 2020-12-02 13:39:27 -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
Nick Liu
f20052fa77 Fixed all unchecked usages of possibly undefined constant BOOTSTRAP 2020-11-30 12:55:04 +01:00
Nick Liu
52ecd679e6 Replaced JavaScript minifier with one that works with PHP 8.0
(Looks like tedivm/jshrink is abandoned)
2020-11-30 12:55:03 +01:00
Nick Liu
f256b924ce Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
072c1b3a90 Fixes #4268 - missing field in table definition. Tests added. 2020-11-29 14:05:14 -08:00
Cameron
cc223aa7f6 Fixes #4262 - Inaccurate "include" path debug message. 2020-11-02 10:30:41 -08:00
Nick Liu
3587075b96 Fix phpDocumentor 3 syntax errors 2020-10-06 01:15:51 -05:00
Cameron
80f0899771 Fix for Table alias detection failure when using more than 1 alias character. 2020-10-01 18:34:54 -07:00
Nick Liu
043bc702e5 Fixed all PHP syntax errors 2020-09-28 20:59:12 -05:00
Nick Liu
4fbf4a93ca Do not trigger user_login event if authentication fails
Related: #4236
2020-08-25 00:24:31 -05:00
Nick Liu
55882c75cb Do not populate e_user_model as a logged in user if login failed
Fixes: #4236
2020-08-24 23:40:25 -05:00
Cameron
77baec4f06 Corrected typo on pre/postFilterMarkup 2020-08-14 10:20:09 -07:00
Cameron
be958eb708 Allow SEF-URL generation to function in CLI mode without 'e_MOD_REWRITE' enabled. (must still be 'active' in prefs) 2020-08-12 14:09:42 -07:00
Nick Liu
ef819f6c30 Prevent multiple includes of ThumbLib
Fixes this error:

```
Constant THUMBLIB_BASE_PATH already defined
 /e107/e107_handlers/phpthumb/ThumbLib.inc.php:31
 /e107/e107_handlers/media_class.php:1943
 /e107/e107_handlers/mail.php:1269
 /e107/e107_handlers/mail.php:654
 /e107/e107_handlers/mail.php:976
 /e107/e107_tests/tests/unit/e107EmailTest.php:61
```
2020-08-11 19:08:31 -05:00
Cameron
0c8668ee51 PHP Error removal when using CLI. 2020-08-11 09:57:39 -07:00
Cameron
38cdc473fb Removed redundant PHP tags from LAN files. 2020-08-11 09:36:21 -07:00
Cameron
370fdb13f6 Test fixes. Email arraySet() test added. 2020-08-11 08:30:00 -07:00
Cameron
0f02e9a9a2 Removed some PHP notices occurring in CLI mode. 2020-08-10 18:13:59 -07:00
Nick Liu
f655847997 e_db_pdo: DSN consistency (fixes backup function)
e_db_pdo::backup() now supports MySQL servers with custom ports

Fixes: #4225
2020-08-04 09:28:48 -05:00
Cameron
24087bde29 AdminUI: Display ID number in create/update message. 2020-07-23 11:38:23 -07:00
Nick Liu
aee67c1399 MySQL 8.0.17+ support: INT types no longer return a width specification
Fixes: #4216
2020-07-16 17:30:57 -05:00
Cameron
23f6a52f08 Issue #4206 - news category menu {active} shortcode typo fix. 2020-07-03 13:49:12 -07:00
Cameron
7869edf295 Fixed encoding issue. 2020-07-02 11:50:25 -07:00
Cameron
582bd3f72c Fixes #4200 - check theme version is compatible and disable installation if necessary. 2020-07-01 13:00:34 -07:00
Cameron
5f58f8f59d Merge pull request #4043 from yesszus/patch-1
Issue #6 LAN Corrections.
2020-07-01 11:36:45 -07:00
Cameron
d61ebe2015 Post Script access default set to 'nobody'. 2020-06-29 12:21:33 -07:00
Cameron
a6a98a82ad Code cleanup. Incompatible plugin alert now links directly to uninstall page for each plugin found. 2020-06-26 13:58:59 -07:00
Nick Liu
339765bf0e e_db_pdo: Throw exception instead of fatal erroring on connect fail
Now e_db_pdo failures to connect to the database are catchable
2020-06-19 11:15:56 -05:00
Nick Liu
b074ad21b0 Updated tests to use v2.3.0 database fixtures 2020-06-19 11:15:54 -05:00
Cameron
94dbbb0278 Closes #4196 - Options for a custom ID on the datepicker() form element. 2020-06-16 11:35:20 -07:00
Cameron
1336059b29 Backward Compat. file added. 2020-06-15 13:01:09 -07:00
Cameron
c5347d1210 Some class renaming. 2020-06-13 13:18:37 -07:00
Cameron
073eafe46b Removed old unused class files. 2020-06-12 13:48:04 -07:00
Cameron
07c4cb7a5d Made mediapicker image selector the same width as bootstrap input element. Removed some PHP notices. 2020-06-11 10:26:37 -07:00
Cameron
450b35f017 Removed redundant closing tags. 2020-06-05 11:34:17 -07:00
Cameron
7439d599f8 Issue #4176 - Incremental introduction of database sessions - Experimental (work in progress) 2020-06-02 13:43:21 -07:00