Cameron
ac9c19bae9
PHP8 class cleanup
2021-01-06 11:52:29 -08:00
Cameron
f0ce3ac4a9
PHP8 Fixes. RSS speed improvement.
2021-01-05 16:40:01 -08:00
Cameron
53866fd6b9
Improved check for CLI mode. Parsed $argv to $_GET in CLI mode.
2021-01-05 12:25:28 -08:00
Cameron
661fd6fb2c
Test for toRss()
2021-01-05 10:36:58 -08:00
Cameron
741d91a76b
Additional checks for constants. Disable addon lookup cache in debug mode.
2021-01-05 10:04:26 -08:00
Cameron
7dec5cf40e
More $_E107 options
2021-01-05 08:54:09 -08:00
Cameron
ed0629a976
Issue #4332 - Bootstrap5 fixes.
2021-01-04 13:02:19 -08:00
Cameron
f8f40a23fe
Missing page-subtitle field added.
2021-01-04 12:48:37 -08:00
Cameron
26899dcfbc
Comment template cleanup.
2021-01-04 08:16:21 -08:00
Cameron
11c768d3c0
Fixes shortcode wrapper conflict within the same template.
2021-01-04 07:47:40 -08:00
Cameron
f20f00408c
Updated vendor folder.
2021-01-04 05:24:35 -08:00
Cameron
f9492a8c89
Issue #4332 - Bootstrap5 fix for toBadge()
2021-01-03 11:01:54 -08:00
Cameron
7c14cd7b10
Merge pull request #4335 from Deltik/fix-3867
...
Accurate relative path calculations in e107::set_paths()
2021-01-02 07:51:18 -08:00
Moc
ccd22d4ea5
Clear addons update check after plugin install, and when clearing all caches
2021-01-02 16:34:11 +01:00
Nick Liu
c533e6c1e3
#3867 : Accurate relative path calculations in e107::set_paths()
...
e107 historically conflated e_BASE with a URI path and a local file
system path. e_BASE seems to have been redefined later to mean a
relative path to the e107 root from the calling script, and e_HTTP was
introduced to resolve URIs from the web browser. e_ROOT is the absolute
path represented by e_BASE.
Because of legacy usage of e_BASE depending on it being a relative path,
e_BASE must remain as a relative path, but how the path was determined
was incorrectly implemented.
This commit fixes multiple issues with e107::set_paths():
* e_BASE is now a relative path calculated reliably by a helper function
* If ./e107_handlers/e107_class.php is in a sensible place and
./class2.php can be found one directory up, this path will be used as
the traversal target.
* If ./e107_handlers/e107_class.php is at an exotic path,
debug_backtrace() will be inspected to find "class2.php", and a
relative path will be made to the dirname() of that class2.php
* In CLI mode, chdir() is now called to set the working directory to the
e107 root. This is to maintain relative path consistency. Previously,
the absolute path would be stored in e_BASE, which may lead to
inconsistent behavior.
* e_HTTP is now resolved from $_SERVER['SCRIPT_NAME'] instead of
$_SERVER['PHP_SELF'] because arbitrary strings and slashes can be
added to the end of $_SERVER['PHP_SELF'] and could lead to e_HTTP
storing URIs that descended too far.
Fixes : #3867
2021-01-02 02:13:11 +01:00
Nick Liu
2eebd4f0ca
e_file_inspector: No longer conflate insecure files and cached old files
...
Related ticket: https://github.com/e107inc/e107/issues/4312
2021-01-02 01:07:40 +01:00
Cameron
5438da3764
layout override option when theme preview is active. themepreview=xxx&layout=xxxx
2021-01-01 14:11:56 -08:00
Cameron
78b0079a03
Theme Preview working again. Use ?themepreview=themeDir
2021-01-01 14:05:51 -08:00
Cameron
1a510cb897
Bootstrap 4 fixes. USERTHEME fix.
2021-01-01 12:29:43 -08:00
Cameron
14862f0463
PHP8 Warning removal.
2021-01-01 10:45:26 -08:00
Cameron
81634d5f5a
Issue #4332 Carousel fixes. Newsfeed now uses json to store data.
2021-01-01 09:33:51 -08:00
Cameron
e6ceafd496
Fixes #4334 - Ajax ordering on Extended User fields.
2021-01-01 07:38:24 -08:00
Cameron
5d0b8ff5e1
Fix for Bootstrap5 alert messages.
2020-12-31 16:29:25 -08:00
Cameron
a7d637b02f
Media-Manager ajax filter fix.
2020-12-31 16:14:43 -08:00
Cameron
a09e8605c5
Fix typo in isImage()
2020-12-31 15:00:12 -08:00
Cameron
8906cf1e26
When using Bootstrap 5 and no template is found, fallback to bootstrap 4 template if present in core folder.
2020-12-31 11:46:53 -08:00
Cameron
6e19d79a63
Ajax form fix.
2020-12-31 10:57:22 -08:00
Cameron
8871cdd097
Styling fixes
2020-12-31 09:31:30 -08:00
Cameron
5d7f921023
PHP8 Warning fixes.
2020-12-31 09:06:20 -08:00
Cameron
798638a590
PHP warning fixes.
2020-12-31 08:01:34 -08:00
Cameron
515d81ebb7
Sigin plugin/shortcode added.
2020-12-30 14:24:38 -08:00
Cameron
b5ff8c76f7
Fix for lancheck failing due to ../ in the URL on plugin/theme folders.
2020-12-30 10:11:04 -08:00
Cameron
3ad4964b2d
BS5 fixes.
2020-12-30 07:57:43 -08:00
Cameron
072c2a129a
Bootstrap5 tweaks. Added support for Brazilian Portuguese.
2020-12-30 07:16:18 -08:00
Cameron
10ad436e28
Support for Bootstrap5. Clear cache in theme manager when choosing themes.
2020-12-29 12:43:25 -08:00
Cameron
15488f1c7e
Closes #4311 - gSitemap select-all option.
2020-12-29 10:30:05 -08:00
Cameron
94f772577a
trackback plugin removed.
2020-12-29 10:04:33 -08:00
Cameron
21e3c3f8ab
PHP warning fixes.
2020-12-29 09:48:36 -08:00
Cameron
75f595adb0
PHP Warning Fixes.
2020-12-29 08:04:52 -08:00
Cameron
cf566bbf14
Snippets name/value fix.
2020-12-28 15:48:13 -08:00
Cameron
8048744de7
Cache clear test.
2020-12-28 10:56:21 -08:00
Cameron
7d04bc5c6a
radio snippet added.
2020-12-28 10:29:17 -08:00
Cameron
10482b8a89
Solves the duplicate breadcrumb issue.
2020-12-28 09:48:44 -08:00
Cameron
0215ef4404
Fix for {NAV_CLASS}
2020-12-27 14:30:51 -08:00
Cameron
e66d3f32de
Renamed "Site Links" admin area to "Navigation". Navigation shortcode names changed (see debug: 'deprecated' mode to check usage)
2020-12-27 14:28:19 -08:00
Cameron
71c5be17ea
Support for class attribute. {NAVIGATION: class=xxxx}
...
Class value in navigation template: {NAV_CLASS}
Navigation shortcodes now in their own file.
2020-12-27 12:46:37 -08:00
Cameron
6ed9ad3e0d
Simplified inAdminDir().
2020-12-27 12:13:51 -08:00
Cameron
026415b476
Moved the "in admin area" check into its own method. Added a test for it. Removed the outdated user/usersettings check.
2020-12-27 11:25:48 -08:00
Cameron
51df14c054
Code optimization
2020-12-27 09:50:21 -08:00
Nick Liu
d7de9d5a28
Menu manager: Legacy themes: Added some magic constant support
2020-12-26 21:08:57 +01:00