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
6f3040a64a
Disable long method check.
2020-12-31 17:05:21 -08:00
Cameron
0d5b4b299e
Issue #4332 - replaced href value with '#' and added data-bs-toggle='dropdown' to make dropdown function.
2020-12-31 16:58:27 -08:00
Cameron
afc1608392
Issue #4332 - Used .dropdown-menu-end to 'pull-right'
2020-12-31 16:50:33 -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
60027348b4
Fixes "Updates to be Installed" functionality in Plugin Manager.
2020-12-31 10:24:13 -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
5f1fc512fc
Signin template tweaks.
2020-12-31 07:29:05 -08:00
Cameron
6ef9b8f2f2
Issue #4325 - use vartrue();
2020-12-31 07:10:25 -08:00
Cameron
03e536a5b4
Merge pull request #4328 from Jimmi08/patch-6
...
Issue #4327 - correct HTML markup for PM dropdown
2020-12-31 07:03:47 -08:00
Cameron
fc758b13d6
Merge pull request #4326 from Jimmi08/patch-5
...
BS3 support for dropdown tooggle
2020-12-31 07:03:19 -08:00
Cameron
1b98867f24
Increased logging during forum upgrade.
2020-12-31 06:55:31 -08:00
Nick Liu
ad44a3d5f0
PHP 8: Fixed fatal error in fileinspector.php
...
```
PHP Fatal error: Uncaught TypeError: Unsupported operand types: array & int in ~/public_html/e107_admin/fileinspector.php:1266
Stack trace:
#0 ~/public_html/e107_admin/fileinspector.php(717): file_inspector->getOldVersionOfPath()
#1 ~/public_html/e107_admin/fileinspector.php(677): file_inspector->generateDirectoryHtml()
#2 ~/public_html/e107_admin/fileinspector.php(961): file_inspector->generateScanResultsHtml()
#3 ~/public_html/e107_admin/fileinspector.php(156): file_inspector->scan_results()
#4 ~/public_html/e107_handlers/admin_ui.php(1076): fileinspector_admin->init()
#5 ~/public_html/e107_admin/fileinspector.php(249): e_admin_dispatcher->__construct()
#6 {main}
thrown in ~/public_html/e107_admin/fileinspector.php on line 1266
```
2020-12-31 13:22:42 +01:00
Jimako
d2e72a2855
FIX #4327 - correct HTML markup for PM dropdown
2020-12-31 11:37:21 +01:00
Jimako
788929a9b7
BS3 support for dropdown tooggle
2020-12-31 06:40:27 +01:00
Cameron
515d81ebb7
Sigin plugin/shortcode added.
2020-12-30 14:24:38 -08:00
Cameron
ffc605f936
Fixes #4324 typo causing fatal error.
2020-12-30 10:18:33 -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
710394273c
Merge pull request #4323 from Jimmi08/patch-4
...
added info titles for menu, added alt6 markup,
2020-12-30 07:58:49 -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
Jimako
14a7198555
added info titles for menu, added alt6 markup,
...
simplified items.
2020-12-30 11:02:37 +01:00
Cameron
a4e380d6a1
Navigation Menu added.
2020-12-29 12:48:57 -08:00
Cameron
10ad436e28
Support for Bootstrap5. Clear cache in theme manager when choosing themes.
2020-12-29 12:43:25 -08:00
Cameron
e595c0841a
Fixes Media-Manager remote image import.
2020-12-29 11:13:18 -08:00
Cameron
b22697d1c0
Added TRACKBACKSTRING to legacy constants.
2020-12-29 10:52:38 -08:00
Cameron
7f6e1444a4
Fixes #4283 Blog Calendar archive page title.
2020-12-29 10:42:36 -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
baed9ec8e5
Fixes #4306 - google-plus removal.
2020-12-29 07:00:39 -08:00
Cameron
cf566bbf14
Snippets name/value fix.
2020-12-28 15:48:13 -08:00
Cameron
86d315648a
Merge pull request #4308 from Deltik/test-acceptance
...
Automated Acceptance Tests
2020-12-28 15:30:16 -08:00
Cameron
a41693b4b6
Removed snippets from bootstrap3 theme. Fix for line-endings issue in cache tests.
2020-12-28 15:16:23 -08:00
Nick Liu
b5923169a6
Automated acceptance tests
...
Includes a Dockerfile that can be used to build the
ghcr.io/e107inc/e107/e107-dev
container
2020-12-28 23:42:57 +01:00