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

4194 Commits

Author SHA1 Message Date
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
Achim Ennenbach
eeaa9b22a8 New method to check table indexes 2018-06-08 22:59:24 +02:00
Cameron
a1469aad5e Issue #3175 GDPR work. 2018-06-05 12:55:20 -07:00
Cameron
bab26e7762 datetimepicker() assumes the timezone to be that of the browser, which can pose problems in some situations. Now we can set a different timezone for the datepicker input and the UTC value will be automatically adjusted. eg. writeParms = array(type='datetime', 'timezone'=>'America/Los_Angeles') 2018-05-25 19:00:55 -07:00
Cameron
d023cfc63c datepicker timezone fix. 2018-05-25 08:47:47 -07:00
Cameron
78213c4a31
Merge pull request #3145 from SimSync/master
Fix for missing entries in strptime result array on Windows
2018-05-24 15:49:53 -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
Achim Ennenbach
8a6f1f5199 Fix for missing entries in strptime result array on Windows 2018-05-24 21:25:51 +02:00
Cameron
b06d67d0a1 Date handler. Reduce usage of strptime(). Date format conversion from strftime() > DateTime added to toMask() method. 2018-05-24 07:39:54 -07:00
Cameron
0c1ab45835 Form Handler Fixed drop-down 'empty' value check. 2018-05-23 18:47:34 -07:00
Cameron
d7e3caae83 Admin-ui: Improved adminMenu highlighting when custom uri in use.
Plugin Builder: added menu divider example.
2018-05-23 16:29:37 -07:00
Cameron
d512035eb6
Merge pull request #3130 from SimSync/master
Fixed smaller issues in date_handler.php
2018-05-16 14:07:34 -07:00
Achim Ennenbach
b1473ed919 removed orphaned variable 2018-05-15 22:56:13 +02:00
Achim Ennenbach
fc2873f46b closes e107inc/e107#3063
added option be able to set a different pattern
added additional options do define step, min, max value and decimals
2018-05-15 22:21:05 +02:00
Achim Ennenbach
6203233f30 fixed issue in strptime with wrong monthname on windows 2018-05-15 22:00:47 +02:00
Achim Ennenbach
34b422ff58 fixed orphaned . (dot) in convert_date 2018-05-15 21:54:43 +02:00
Cameron
ac4b505ceb Issue #3104 Library CSS fix for late calls. (eg. bootstrap-switch ) 2018-05-12 11:46:28 -07:00
Cameron
6b925a6f76 Issue #3104 - Library CSS order fix. 2018-05-11 17:39:26 -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
a3092e1d42
Merge pull request #3121 from yesszus/patch-2
Issue #6  Update userposts.php
2018-05-09 15:47:15 -07:00
Cameron
c7c3c49daf Support for 'IGNORE' duplicate key on INSERT. 2018-05-09 11:13:05 -07:00
Gábor
1109854538
Update news_class.php 2018-05-08 08:26:17 +02:00
Cameron
ed36008286 Non-standard arg_separator.output value fix. 2018-05-04 17:58:25 -07:00
Cameron
745f9a7c61
Merge pull request #3114 from SimSync/master
Closes #3113 parses a string into a db ready number format
2018-05-04 11:19:23 -07:00
Achim Ennenbach
d01a97816f refactoring toNumber() into e_parse class 2018-05-04 19:27:00 +02:00
Achim Ennenbach
2a1a6d4118 closes e107inc/e107#3113 parses a string into a db ready number format
value returned works also with floatval()
2018-05-01 23:29:50 +02:00
Cameron
3e1feac04d Improved loading time of admin area navigation. 2018-04-17 14:48:39 -07:00
Deltik
b3aa33afb5
Removed pointless second sort in e_tree_model
e_tree_model::prepareSimulatedCustomOrdering() performed an ORDER BY
second sort that doesn't add any benefit at all and causes #3086.

This second sort has been removed.

Fixes: #3086
2018-04-03 17:21:45 -05:00
Cameron
9726a70d2d Issue #3076 - session handler. 2018-03-19 11:20:35 -07:00
Cameron
75ff5fc36d Revert Datehandler changes for now. 2018-03-15 22:27:25 -07:00
Cameron
3bb77c6d0c Date handler am/pm code fix. 2018-03-12 18:08:46 -07:00
Cameron
968965e561 Removed session debug info 2018-03-10 19:23:06 -08:00
Cameron
8f91e42c40 Changed makeClickable to public, for testing. 2018-03-10 19:17:13 -08:00
Cameron
79fbf4273c Issue #2996 Admin-ui type=layout inline editing issue. 2018-03-10 18:15:45 -08:00
Cameron
15345afb89 #1517 Tracing of the 'unauthorized access' issue. 2018-03-09 17:52:14 -08:00
Cameron
de69b07318 Basic Bootstrap 4 library support. Bootstrap4 theme added for testing purposes only. 2018-03-08 13:45:08 -08:00