1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-12 13:34:39 +02:00
Commit Graph

5330 Commits

Author SHA1 Message Date
Cameron
96037d5ac9 Issue #3276 Fix encoding on '+' in media categories. Mediapicker fixes. Media class cleanup. 2018-07-26 20:14:42 -07:00
Cameron
f1329535a5 MediaPicker drag-n-drop upload. 2018-07-26 19:13:27 -07:00
Cameron
baf570071e mediapicker() mediaselector-preview-empty css class added. 2018-07-26 14:06:45 -07:00
Cameron
bd98b2303e media-picker wrapping fix for small screens. 2018-07-26 13:57:49 -07:00
Cameron
557dea1f0e Media-picker work. Add the following to e107_config.php to enable and test. define('e_DEBUG_MEDIAPICKER', true); 2018-07-25 20:28:30 -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
9b2772b7ac media-picker work. Issue #6 Removed '...' from LAN_SELECT and added manually where appropriate. 2018-07-25 12:29:52 -07:00
Gábor
a403f49560 Update file_class.php 2018-07-25 10:50:25 +02:00
Gábor
5d78dedf88 Update cron_class.php 2018-07-25 10:32:03 +02:00
Gábor
2a18116aeb Update media_class.php 2018-07-25 10:17:49 +02:00
Cameron
91b75ea159 Issue #3307 '+' sign encoding issue in form. 2018-07-24 15:52:34 -07: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
5a4847871d More media-picker work. 2018-07-22 14:45:26 -07:00
Cameron
e231a19ab9 Issue #3306 2018-07-22 11:43:13 -07:00
Cameron
262dc7f36b Closes #3305 Added a backward compatibility fix for buggy array storage data. 2018-07-22 10:39:01 -07:00
Cameron
56d5bcafd7 Revert the revert :-) 2018-07-22 09:36:23 -07:00
Cameron
f430f56082 Media-picker styling. 2018-07-21 13:56:13 -07:00
Cameron
55be7e35a2 Issue #3301 Revert "Removed problematic cache from e107plugin::getinfo()"
This reverts commit 89e28e38c5 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
ed2e86b10f Merge pull request #3299 from SimSync/fix_3249
Fix #3249 uc_select() didn't recognize comma separated values
2018-07-21 09:14:26 -07:00
Achim Ennenbach
774e51ff13 fixes #3249 uc_select() didn't recognize comma separated values
added a check for such values
2018-07-21 10:20:40 +02:00
Achim Ennenbach
09e3b4aeb6 fixes #3249 uc_select() didn't recognize comma separated values
added a check for such values
2018-07-21 10:19:04 +02:00
Cameron
4773186a50 Small correction in plugin install/uninstall log. 2018-07-20 12:58:49 -07:00
Cameron
26fe2d4216 Merge pull request #3297 from SimSync/dbupdate_featurebox
Fixes the "dbupdate after a clean install" issue
2018-07-20 12:56:47 -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
Nick Liu
3407b717c6 Reduce reliance on global var $db_ConnectionID
When one of the 11 methods in e_db_mysql look for a PDO object in
e_db_mysql::$mySQLaccess, global $db_ConnectionID can be NULL in some
cases, so it's more reliable to get the singleton e_db_mysql and use the
e_db_mysql::$mySQLaccess from that singleton.

This change still allows global $db_ConnectionID to be used, but if
$db_ConnectionID is NULL, the singleton fallback is used.

Fixes: e107inc/e107-test#6
2018-07-20 05:24:55 -05:00
Cameron
cd8ddfd54a Issue #3200 - Media-Manager Media-picker work-in-progress 2018-07-19 12:43:04 -07:00
Cameron
6ab8c5c0f3 Issue #3200 More work on Media-picker. Version changed to 2.1.9 (git) 2018-07-18 14:40:29 -07:00
Cameron
bb7f8717fa Media-Manager Issue #3200 Work in Progress. Local video-file browser. 2018-07-16 17:14:10 -07:00
Cameron
bac96528fc Token fix. 2018-07-16 12:39:32 -07:00
Cameron
a64b4fe5e7 admin-ui: 'optDisabled' attribute added to type='dropdown' to selectively disable specific optArray items. 2018-07-14 19:35:21 -07:00
Cameron
7d40402760 New Feature: Adding data-modal-submit='true' to a link (with class='e-modal') that points to an admin-ui create/edit form will now cause the iframe's form buttons to be hidden, and the "Create" or "Update" button placed in the footer of the modal window. Basically, this avoids the need to scroll the iframe in order to submit the form. The iframe's form is submitted from the modal window's button.
The same can be achieved with $readParms = array('target'=>'modal', 'modalSubmit'=>true); on an 'options' field in admin-ui $fields.
2018-07-14 16:07:49 -07:00
Cameron
7933ec651e PHP Warning removal 2018-07-14 13:26:50 -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
Achim Ennenbach
0e9f9d4e46 fixes #3065 Added a method to translate wildcards to mysql counterparts 2018-07-06 08:36:35 +02:00
Cameron
fd8772f88a Merge pull request #3223 from SimSync/checkBan
Fixed an issue in iphandler::checkBan()
2018-07-04 17:37:12 -07:00
Achim Ennenbach
724651376e Fixed an issue in iphandler::checkBan() which caused the script to stop
without any message instead of returning a value (true or false) in case
the submitted email adress is blocked
2018-06-27 21:34:19 +02:00
Achim Ennenbach
d8c4ed3444 Fixes #3162 Fixes htmlized shortcode parameters
When entering shortcodes via TinyMCE, the & sign will be converted
automatically to & without any chance to prevent this behaviour.
The fix just corrects this error right before running the shortcode.
2018-06-24 21:38:06 +02:00
Cameron
1edd4a008f Merge pull request #3210 from Deltik/fix-3198
Fixes #3198 - Legacy prefs, missing forums
2018-06-23 17:10:13 -07:00
Nick Liu
b471626fdb Fixed missing tree nodes for some tree structures
There were two cases that led to missing tree nodes:

* If one node at the same depth as another node had a higher primary
key ID but showed up in the rows before, the lower primary key ID node
will go missing.

* If an unmatching row for the current node in moveRowsToTreeNodes
appeared between a matching row, the matching row would never be
reached and would not be added to the tree.
2018-06-22 14:00:13 -05:00
Achim Ennenbach
e96aea8748 In case the 2 or more join aliases point to the same table, now
the first alias get's saved instead of the last one.
2018-06-21 23:28:16 -05:00
Nick Liu
41f8e78489 Disable tree format if model has filters
Parent-child relationship tables (trees) can only be constructed if
the entire table is loaded. When WHERE filters are applied to the
table, the tree cannot be made, which causes #3204.

When a filter is active, a tree representation is no longer
appropriate because the filter can filter out parents of a matched
row, which breaks the concept of a tree.

To resolve this and restore search functionality, this commit disables
the sort_parent of the tree model in order to activate the
e_tree_model::getRowsList() method and avoid the tree logic entirely.

Fixes: #3204
Supersedes: #3208
2018-06-21 23:24:57 -05:00
MikeyGMT
79c14d66f6 #6 ToDo Lans bounceLAN in handlers/login.
ToDo Lans bounceLAN in handlers/login.
Tested login from login.php, from the login link in voux theme without issue. No bounced emails on test instance.
2018-06-19 18:16:36 +01:00
Cameron
a9a4781ef0 Merge pull request #3190 from SimSync/mysql_check_index
Mysql check index, DB Verify
2018-06-15 12:55:37 -07:00
Achim Ennenbach
e1920c740a toMySQL() added keyname to index if available
getIndex() now supports also the INDEX keyword
2018-06-15 19:05:15 +02:00
Cameron
52e02087ae Issue #3096 - user theme preference check. 2018-06-14 17:03:03 -07: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
2b24346a8a Form handler - select() - support for disabled items. 2018-06-08 18:55:04 -07:00