1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-09 12:06:29 +02:00
Commit Graph

480 Commits

Author SHA1 Message Date
Cameron
b5032c2477 Issue #3695 e_admin addon - list mode with custom methods fixed. 2019-03-04 12:41:10 -08:00
Cameron
5dc45298f6 Issue #3559, Fixes #3589, Issue #2982, Issue #2927 Replace all glyphicons with FontAwesome. 2019-02-22 14:56:47 -08:00
Cameron
4e9f47c8b4 PDO class optimization 2019-02-10 16:19:25 -08:00
Cameron
9c4dbcab91 Moved THEME_LAYOUT calculation out of class2.php and into theme_handler.php 2019-01-23 19:06:03 -08:00
Tijn Kuyper
ff275cbeb6 #2917 - improve debug log message 2019-01-17 15:37:53 +01:00
Cameron
be0af523da Issue #3596 Should correct blank modal with PHP 7 problem. 2019-01-07 16:46:01 -08:00
Cameron
e0d988aaeb Issue #3524 XML import/export array issue. 2018-11-15 14:20:08 -08:00
Cameron
5073dcd3bb Fixes #3520 thump.php failing when custom site_path in use. 2018-11-07 16:31:08 -08:00
Nick Liu
ded595d704 Renamed e_shims to eShims
To follow @myovchev's convention like eHelper

Per @CaMer0n
2018-10-31 12:32:58 -05:00
Nick Liu
4c6828be93 Moved autoload responsibility to e107_class.php
Instead of every independently operating client code figuring out its
own autoload policies, the e107 class file e107_class.php now takes care
of autoloading.

Any client that uses the e107 class will automatically benefit from
autoloading for e107.

This cuts down on potential code duplication, and e107::getSingleton()
is no longer tied to trying to figure out the class path.

This commit REMOVES support for the unused constant flag
E107_DISABLE_AUTOLOAD introduced in
bdef2707b4 and the unused autoload code
introduced in f4cee92890.
2018-10-31 08:22:14 -05:00
Nick Liu
60056deb93 Support for namespaced classes; added e_shims
e_shims is an e107 v2-compatible class for the first namespaced core
class, e107\Shims\All.

e107\Shims\All is built from the e107\Shims\InternalShims trait.

e107\Shims\InternalShims currently implements a resilient replacement
for the PHP internal readfile(), which is needed by issue #3528.

As for how the new namespaced classes are handled, the e107 class
(e107_handlers/e107_class.php) has an updated e107::autoload() which
detects namespaced classes and goes to e107::autoload_namespaced().

Namespaced classes handled by e107 are in the \e107 top-level namespace,
and all sub-levels match directory paths under e_HANDLER.
2018-10-31 07:27:38 -05:00
Cameron
55b4cf4d03 Issue #3519 Extra check for class name. 2018-10-29 12:57:35 -07:00
Cameron
5235b4fcaf Fix for database verify charset function. 2018-09-12 11:46:23 -07:00
Cameron
c360ba2476 PHPDoc fix 2018-09-03 15:22:04 -07:00
Cameron
7daded6ac5 Media-Picker spacer fix. 2018-09-03 14:35:03 -07:00
Cameron
b443409c3a PHPDoc fixes on e107_class.php 2018-09-03 12:08:44 -07:00
Achim Ennenbach
60060cff55 fixes #3359 changed default redirect code from 302 to 301 for better seo compatibility 2018-08-23 09:21:38 +02:00
Achim Ennenbach
e54be60012 fixed codeclimate issues 2018-07-30 22:17:03 +02:00
Achim Ennenbach
e692eecebe choose wysiwyg editor
Now it is possible to have TinyMCE in the backend and SimpleMDE on the forum pages.
wysiwyg() got a new parameter $returnEditor to return the name of the editor.
wysiwyg() now checks if the choosen editor is installed.
wysiwyg() setting a value is not systemwide anymore (static var instead of registry)
Use the bbarea() $options array to define the editor to use e.g. $options['wysiwyg'] = 'tinymce4';
Updated forum_admin.php to support SimpleMDE.
Updated tinymce4/e_footer.php to support the new return value (editor name)
2018-07-29 15:11:40 +02:00
Cameron
e5af746153 Closes #3330 #3318 2018-07-28 13:41:44 -07:00
Achim Ennenbach
26022e4507 choose editor in forum and quick reply
New prefs for forum: editor & quickreply
editor makes it possible to choose between bbcode or tinymce (if installed and html enabled)
quickreply gives the option to choose between the standard textarea or the choosen editor (from pref editor)
2018-07-25 22:48:14 +02:00
Cameron
262dc7f36b Closes #3305 Added a backward compatibility fix for buggy array storage data. 2018-07-22 10:39:01 -07:00
Achim Ennenbach
566e85f078 Fixes #3275 Added support for legacy urls of type request.php?download.4 2018-07-13 23:38:17 +02:00
Cameron
52e02087ae Issue #3096 - user theme preference check. 2018-06-14 17:03:03 -07:00
Cameron
bf9cf05b0e Renamed date handler to e_date. BC support added. 2018-05-11 14:58:04 -07:00
Cameron
129ac9436d Renamed date class and included BC fix. 2018-05-11 08:39:01 -07:00
Cameron
ed36008286 Non-standard arg_separator.output value fix. 2018-05-04 17:58:25 -07:00
Cameron
e92c6789c5 Fix path of e_SYSTEM_BASE and e_MEDIA_BASE 2018-02-19 13:46:09 -08:00
Deltik
d1a69b0c16 Defers SITEURL and dependencies until SQL loaded
This is the least intrusive solution I could come up with.

Anything else I tried to reduce technical debt would break the very
tangled dependency web, so I settled for this.

Fixes: #3033
2018-02-12 06:54:15 -06:00
Cameron
21215da3b8 define e_ROOT early in class2.php and remove extra realpath() calls. 2018-02-04 18:43:20 -08:00
Cameron
d0d4bcc1cd Use static URLs in compressed CSS when enabled. 2018-01-26 18:12:12 -08:00
Cameron
3b5b64195e Issue #2678 - Fix merging of theme plugin template when a key is provided. 2018-01-18 16:19:40 -08:00
Cameron
973e0dc009 Issue #6 Fixed global LAN loading issue on list_new, pm and others not using an "English" folder. Corrected global LAN definition on list_new. 2017-12-16 12:25:18 -08:00
Lóna Lore
09e1d8e9e4 Fix for issue #2870 2017-12-13 20:28:07 +01:00
Cameron
ea073afe9a e107::url() legacy query conflict fix. newforumposts_main BC 'scrolling' fix. 2017-12-12 10:58:41 -08:00
Cameron
ca5f33655b BC Fixes for some old plugins. 2017-12-11 17:11:22 -08:00
Cameron
5a31fb431a Merge pull request #2908 from lonalore/minifier
Fix for PHP Warning array_merge(): Argument #2 is not an array, Line 156…
2017-12-10 12:55:49 -08:00
Lóna Lore
67511a084f Fix for PHP Notice Undefined index: userjump, Line 670 of /e107_handlers/e107_class.php 2017-12-10 12:03:48 +01:00
Lóna Lore
8dfcc47a3e Fix for: Warning array_merge(): Argument #2 is not an array, Line 156 of /e107_handlers/jsshrink/Minifier.php 2017-12-09 23:43:04 +01:00
Cameron
770d70ff41 Issue #2899 - Theme language-file path fix. 2017-12-09 09:56:56 -08:00
Cameron
5014558f7b Issue #2889 - Possible chrome login fix 2017-12-01 14:10:51 -08:00
Cameron
18b3825779 Session fix for host with port numbers. 2017-11-10 11:27:45 -08:00
Cameron
c7c4ea6d51 Domain detection fix for newer TLDs. 2017-11-07 12:10:06 -08:00
Cameron
6947cedf88 toGlyph() speed optimization and fixes for custom glyphs set by theme.xml 2017-11-03 18:52:49 -07:00
Cameron
d9a1ddbc76 Possible fix for HybridAuth issues 2017-10-30 12:46:53 -07:00
Cameron
27910c87c7 Issue #2827 Support for multiple static domains for distributed static URLs. 2017-10-25 19:02:10 -07:00
Cameron
3668067bb1 Static URL fix. 2017-10-25 16:14:12 -07:00
Cameron
a2d49a1ce5 Experimental Image-Caching performance enhancement. 2017-10-25 15:17:53 -07:00
Cameron
cfd6e42260 Thumbnail cache-file name-generation moved to e_parse_class.php as thumbCacheFile() 2017-10-24 11:19:06 -07:00
Cameron
2a1f3b0d61 Backward compatibility code for old plugins. 2017-10-11 11:39:18 -07:00