1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

13023 Commits

Author SHA1 Message Date
Cameron
6604bf579c Closes #4339 - added 'pm-nav' class to link. 2021-01-06 06:19:33 -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
906f6545c9 Issue #4332 - Bootstrap 5 comment styling. 2021-01-04 13:27:40 -08:00
Cameron
665da91467 Issue #4332 - Bootstrap 5 styling fixes. 2021-01-04 13:19:17 -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
2c81d51dd9 Template cleanup 2021-01-04 09:15:11 -08:00
Cameron
2c62eaf04a Signup template rework for Bootstrap. (Thanks to @Jimmi08) 2021-01-04 08:33:33 -08:00
Cameron
0aa405250b
Merge pull request #4338 from Jimmi08/patch-10
signup form class - similar solution like usersettings
2021-01-04 08:18:43 -08:00
Cameron
3eb42b5c0f
Merge pull request #4337 from Jimmi08/patch-9
fix for left align of checkboxes
2021-01-04 08:18:29 -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
Jimako
9995f26397
signup form class - similar solution like usersettings
without this, it is hard to update signup template
2021-01-04 15:30:56 +01:00
Jimako
4adaf9c28c
fix for left align of checkboxes
#4331
2021-01-04 15:27:22 +01: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
0958f41d9a PHP8 fix for FAQs failing. 2021-01-03 10:31:38 -08:00
Cameron
721892f5bf Signup template upgraded to full v2.x standards. Template cleanup of usersettings and contact templates. 2021-01-03 10:17:01 -08:00
Cameron
566613f050 Comment menu template now using v2.x wrappers. Template moved to templates folder. 2021-01-03 08:45:18 -08:00
Cameron
3b0ff5d4ef RSS template upgraded to v2.x spec. Bootstrap 5 styling fixes. 2021-01-03 07:54:43 -08:00
Cameron
c3c830d296 Removed <label> from rememberme in signin shortcodes. 2021-01-02 12:31:08 -08:00
Cameron
8d0af7cf46 Backward compatibility css 2021-01-02 12:28:32 -08:00
Cameron
dd184a024c Issue #4332 Bootstrap 5 Fixes 2021-01-02 12:06:46 -08:00
Cameron
833d3f6133 Issue #4332 Bootstrap 5 Menu styling: news, login, online menus. 2021-01-02 10:34:23 -08:00
Cameron
a7d8b1d41f Styling Rules Menus: btn-sm and btn-primary for primary buttons. btn-sm btn-secondary for additional buttons. 2021-01-02 09:43:54 -08:00
Cameron
4d4750e9cc Issue #4332 - Chatbox menu styling. PM menu button size fix. 2021-01-02 08:51:34 -08:00
Cameron
204603f38a Issue #4332 - BS4/5 New Forum Posts menu template fixes. 2021-01-02 08:11:20 -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
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