1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

317 Commits

Author SHA1 Message Date
Nick Liu
82499f70a9
Debug variable scope fix in e107plugin::XmlTables() 2020-01-18 11:05:08 +01:00
Nick Liu
1561992815
Removed unused variable from e107plugin::XmlAdminLinks()
Was causing an undefined index error
2020-01-18 11:05:08 +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
e62422d63a
Old HTML ampersand strict compatibility
- FIX: e107::url() now puts "&" in the query string instead of "&" for compliance with the older,
       looser definition of ambiguous ampersands in the HTML specification.
       Fixes: #4054
- FIX: Typo in comment
- FIX: Clear the core/e107/addons/e_url registry (cache) because if a plugin is installed after that
       cache is initialized, the cache is not updated anymore. The plugin's e_url is therefore not
       loaded, so SEF URLs won't be generated for that plugin until the cache is regenerated.
- NEW: Test for #4054
- FIX: e_pluginTest::testGetFields() expects the initial condition of the "forum" plugin to be
       uninstalled.
2020-01-13 00:54:50 +01:00
Cameron
f75e378ec3 Fixes #3741 - Issue with plugins, menus disappearing or displaying as being uninstalled. 2019-08-06 11:38:24 -07:00
Cameron
1f476c77cd Fix for PHP7.3 "ADLAN" warnings 2019-06-16 12:33:28 -07:00
Cameron
08756f8040 Support for PHPUnit test. 2019-05-04 13:32:38 -07:00
Cameron
a32b6bffd9 e_print scan added. 2019-03-11 16:30:01 -07:00
Cameron
b5032c2477 Issue #3695 e_admin addon - list mode with custom methods fixed. 2019-03-04 12:41:10 -08:00
Cameron
e52a660f24 Cleanup 2019-02-24 11:35:51 -08:00
Cameron
fbfdedceb9 Fixes #3193, Fixes #3238 Orphaned plugin entries in db table after manual removal/rename. 2019-02-20 13:31:42 -08:00
Cameron
4becf60d28 More plugin class optimization 2019-01-13 14:08:46 -08:00
Cameron
c63574c07d Optimized plugin class initialization 2019-01-13 13:50:49 -08:00
Cameron
07ad8feba8 Expanded buildAddonPrefLists() to rebuild lan_global_list as well (Used during Plugin Scan) 2019-01-13 13:30:58 -08:00
Cameron
cb02f705b6 Issue #3592 Improved updating of plug_installed pref and reading of InstallRequired plugin.xml attribute 2019-01-11 11:40:33 -08:00
Cameron
0c444dfb69 Issue #3324 - e_url_list settings lost. 2018-12-17 10:40:33 -08:00
Cameron
07ccaf35e8 Issue #3564 PHP Notice Removal 2018-11-29 11:35:35 -08:00
Nick Liu
7b259aec6f
Ensure plugin files are registered in DB before install
e107::getPlug()->clearCache() rescans the plugin folder for plugins and
adds them to the database.

Fixes: #3536
2018-11-02 10:07:59 -05:00
Nick Liu
ff7f182c8c
Fixed e_plugin::buildAddonPrefLists() stateful bug
Prevents e_plugin::buildAddonPrefLists() from wiping out the variable
that is tracking the currently loaded plugin by moving the currently
loaded plugin to the end of the iterated array

Fixes: #3531
Fixes: e107inc/e107-test#9
2018-11-01 09:59:17 -05:00
Cameron
150eeaec97 Issue #3439 Sitelinks with function problem 2018-09-18 09:38:34 -07:00
Cameron
968a6d0a4f Fixes #3070 Featurebox LANs Issue #6 2018-08-18 11:48:10 -07:00
Cameron
07a2efbdcf Fixes #1732 Image preview on download. 2018-08-06 13:07:13 -07:00
Cameron
e2460e0b3a plugin class cleanup. 2018-08-05 15:08:54 -07:00
Cameron
e6834752d1 Improved addon Error check. 2018-08-05 11:40:21 -07:00
Cameron
86c866b6c4 Issue #3327 2018-08-03 16:58:23 -07:00
Cameron
81ead69928 Code cleanup. 2018-08-03 16:36:21 -07:00
Cameron
6e8fa4a003 Code cleanup 2018-08-03 12:22:17 -07: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
3133836c62 Fixes default install options for themes to match 2.1.9 database changes. 2018-07-24 12:03:26 -07:00
Cameron
526bc06ba0 Issue #3258 Array in plugin.xml causing issues. 2018-07-23 14:01:08 -07:00
Cameron
56d5bcafd7 Revert the revert :-) 2018-07-22 09:36:23 -07:00
Cameron
55be7e35a2 Issue #3301 Revert "Removed problematic cache from e107plugin::getinfo()"
This reverts commit 89e28e38c5f2a3f9762fa826299f8e6945adee03 because it breaks thumb.php
2018-07-21 12:23:44 -07:00
Nick Liu
89e28e38c5
Removed problematic cache from e107plugin::getinfo()
Every known usage of e107plugin::getinfo() requires up-to-date knowledge
of the involved plugin's record in the database.

For this reason, I removed the object scope global state caching of
results from e107plugin::getinfo()

Also changed the method name to a more descriptive getPluginRecord()

Also made e107plugin::getPluginRecord() static
2018-07-21 12:08:00 -05:00
Cameron
4773186a50 Small correction in plugin install/uninstall log. 2018-07-20 12:58:49 -07:00
Achim Ennenbach
2990b57485 Fixes the "dbupdate after a clean install" issue
The "isset" statement tested on a key in array "core_plugins", but the keys of that array were numeric.
So the "isset" was always false and the statements within the if clause were always executed.
That resulted for some reason in a "false positive" on the "featurebox" plugin, in case was not installed at this moment.
2018-07-20 21:25:40 +02:00
oudoken
fbdbd4b1ca Issue #3151 add an e_end to plugin class
V2 renamed based on Cameron suggestion
2018-06-12 18:09:00 +02:00
oudoken
ff3dc03a81 Issue #3151 add an e_end to plugin class 2018-06-12 11:07:21 +02:00
Cameron
3b049fefd5 Fixes #3009 new e_gsitemap addon. 2018-01-29 12:03:15 -08:00
Cameron
4476336e22 Admin-ui: Fix for size of default plugin-icon in admin menu. 2018-01-09 11:21:16 -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
Cameron
6d401be7e5 Fixed #2921 - Plugin LANs. Scan Plugin Directories now uses the newer e_plugin class. 2017-12-16 11:32:10 -08:00
Cameron
ecf22cb1ba Plugin perms render fix. 2017-12-02 11:57:27 -08:00
Cameron
1841b82586 Plugin update detection fix. 2017-11-07 17:52:15 -08:00
Cameron
f63d503c64 Debug info added. 2017-10-31 14:53:09 -07:00
Cameron
c6c6467a59 Fixes #2803 - Plugin prefs with a value of '0' were not stored correctly. 2017-10-03 14:29:28 -07:00
Cameron
8ff8daf23f Plugin Builder: added description for e_parse addon. 2017-09-20 16:23:17 -07:00
Cameron
b532b43ce5 Fix for db-verify loading. 2017-04-27 15:31:01 -07:00
Cameron
8135bde5f7 Fix for object loading. 2017-04-24 11:29:50 -07:00
Cameron
077b1d34a7 Feature: Language-Packs can now be downloaded and installed without leaving the admin area. 2017-04-23 12:38:05 -07:00