Cameron
4e8c3e375c
Closes #4012 Precaution for when tablerender() is not found.
2020-06-01 13:04:39 -07:00
Moc
c92b6c5e6b
Fixes #3681 - Properly detect antiflood and online tracking prefs
...
- e_TRACKING_DISABLED is now properly defined when user tracking is turned off ('track_online').
- Use correct antiflood pref ('antiflood1')
- Remove old 'flood_protect' pref (which was not used anymore)
2020-05-23 15:49:40 +02:00
Moc
cf919afa62
#4167 - Add Twitch and VK to Social Pages (wip)
...
- TODO: add CSS icons to css/fontello.css
2020-05-18 15:17:40 +02:00
Cameron
ad7caf78e8
Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup.
2020-05-04 12:10:22 -07:00
Cameron
951cefec27
Fixes #4153 - load theme class sooner.
2020-05-04 11:15:26 -07:00
Moc
2cddbaa5a2
#4152 - Quickfix for fatal error after clean-up
...
Introduced after clean-up in commit 834ea354e4
2020-05-03 16:24:06 +02:00
Cameron
834ea354e4
Core Cleanup.
2020-05-02 15:35:30 -07:00
Cameron
dbc6acb8cf
Issue #4141 Prevent reloading of theme class.
2020-04-29 10:30:49 -07:00
Cameron
b360e551dd
Issue #4141 - Removed check for 'e_SEARCH' as it may have been defined by a plugin.
2020-04-28 15:06:11 -07:00
Cameron
568d8feb77
Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class.
2020-04-28 14:03:05 -07:00
Cameron
326305f5f2
Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class)
2020-04-26 13:32:18 -07:00
Nick Liu
b8ed70693f
Restored JSON core image generator for performance
...
PDO SQLite was performing unacceptably poorly.
Let's just load the entire integrity image into RAM…
2020-03-27 17:06:13 -05:00
Cameron
b2e915352d
Restored loading of admin LAN definitions early.
...
Removed unnecessary constants from admin_theme.php
2020-01-19 12:06:06 -08:00
Nick Liu
8b354adf44
Don't spam database server with connections
...
- MOD: Silently ignore failures to e_db_mysql::close(); if it's failing, it's probably already closed
- FIX: Close the PDO or mysqli connection after each e_db_abstractTest test
- MOD: Changed class2.php's $sql variable to be hinted as an e_db instead of e_db_mysql
2020-01-19 14:33:11 +01:00
Nick Liu
52116adc89
Silence debug prints clearly not meant for CLI
...
- FIX: e_array::unserialize() HTML vomit in CLI mode
- FIX: e107_debug_shutdown() HTML vomit because $error_handler was not global
2020-01-18 18:57:43 +01:00
Nick Liu
62a547aed2
Fixed E_NOTICE in plugin install/uninstall process
...
- FIX: e107::coreLan() now loads the lan_admin.php file if the $admin argument is true
- FIX: Variable scope of $eplug_folder in e107plugin::uninstall()
- FIX: isset() check order in pluginsTest::makePluginReport()
- FIX: class2.php: Missing ADMINPERMS constant in CLI mode
2020-01-17 17:11:26 +01:00
Nick Liu
b9d4961571
Turn off web error handler for CLI (breaks a lot of stuff!)
...
error_handler now only runs set_error_handler in web mode.
E_ALL notices, warnings, and errors are now reported, which causes
the test harness to fail.
2020-01-17 14:48:55 +01:00
Cameron
56ac781a2b
Moved debug info to footer.
2019-07-01 20:39:01 -07:00
Tijn Kuyper
de1896c667
Closes #3858 - clarified debug message
2019-07-01 10:34:34 +02:00
Cameron
b726dde81d
Fix for 'list' detection.
2019-06-21 14:04:28 -07:00
Cameron
4c2762d7b9
Fixes #3860 - remove from magic shortcode 'caption'
2019-06-19 12:55:44 -07:00
Cameron
dc53fb37a1
header/footer code cleanup
2019-06-17 09:23:21 -07:00
Cameron
a9292caef0
Moved list detection to class2.
2019-06-16 13:45:05 -07:00
Cameron
478fc8d060
Tablerender: setContent('list') added to login menu and news menus.
2019-06-16 13:30:16 -07:00
Cameron
4780e73ef4
Code cleanup
2019-06-16 12:44:22 -07:00
Cameron
1c7bc92a65
Tablerender: Use uniqueIds to keep setContent() values intact.
2019-06-16 12:32:55 -07:00
Cameron
1cca064f0f
Breadcrumb fallback fix.
2019-06-15 16:55:13 -07:00
Cameron
346d42bdfb
BC Fallback for breadcrumb() generator. Magix shortcode fix for news-view. Magic shortcodes are defined by the first render with {SETSTYLE=default} or {SETSTYLE=main} encountered in the template.
2019-06-15 16:45:03 -07:00
Cameron
c4d2752477
Notice removal
2019-06-14 14:44:46 -07:00
Cameron
37e7a4c996
Magic Shortcodes added. Fix for news 'view' rendering.
2019-06-12 20:20:09 -07:00
Cameron
e5061e2c01
Experimental - render variable accumulator.
2019-06-12 13:13:22 -07:00
Cameron
f1081c2b21
Fixes #3815 - deftrue not found issue.
2019-05-25 11:53:29 -07:00
Cameron
1501ccfda5
Clear cache after core update
2019-05-22 13:59:02 -07:00
Cameron
92b365ffc3
Issue #3774 Allow e107 to function without setting directories in e107_config.php
2019-05-17 13:27:36 -07:00
Cameron
f148e20837
Moved library loading into class2. Fixes Fontawesome not loading early enough when added via theme.xml (with forum and possibly other parts of e107). Added the FONTAWESOME constant to Paths/Variables debug output.
2019-04-11 10:47:50 -07:00
Cameron
3d9ed2b040
Theme layout (Visibility Filter) detection enhanced. Help information improved.
2019-04-06 12:11:05 -07:00
Cameron
94bdbfa7e2
Fix for check_class tests.
2019-03-08 12:10:28 -08:00
Cameron
a2d5b9c31e
Improved getThemeLayout() method.
2019-02-28 14:20:33 -08:00
Cameron
0c537aaf0d
Cleanup
2019-02-26 15:54:51 -08:00
Cameron
60647dc5f8
Made getThemeLayout() more flexible.
2019-02-26 13:56:07 -08:00
Cameron
7259688c6d
Notice removal
2019-02-10 19:00:06 -08:00
Cameron
ee04ccc7db
PHP 7.3 fix
2019-02-08 11:01:42 -08:00
Cameron
59eed2752c
PHPDoc fixes.
2019-01-31 14:36:37 -08:00
Cameron
ae9628db2c
Allow override of SITENAME and SITEDESCRIPTION constants.
2019-01-28 12:02:10 -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
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
bdef2707b4cafe34e5485d8733138a0e87f43a39 and the unused autoload code
introduced in f4cee9289087c0119bc6797f7dfb7792a62b0be3.
2018-10-31 08:22:14 -05:00
Cameron
1c7c230f41
PHP Doc for $sql and $tp.
2018-08-19 13:00:00 -07:00
Cameron
5f11415fbf
Issue #3101 Added option define('X-FRAME-SAMEORIGIN', false); for e107_config.php
2018-08-03 17:14:39 -07:00
Cameron
b42e91217f
Provide a default USERCLASS_LIST value while running in CLI mode.
2018-07-19 20:49:16 -07:00
Cameron
998a8fe7c3
JS datetimepicker() updated to latest version. Fixed datetimepicker() to respect the e107 timezone setting while saving as UTC. ie (admin > prefs > Date Display Options ) or the user's timezone setting (usersettings.php when the timezone user-extended field is enabled) .
2018-05-24 15:16:02 -07:00