1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-20 12:29:46 +01:00

10804 Commits

Author SHA1 Message Date
Serios
bcce574e79
Truly disable a button on FormSubmit
We need to add attribute disabled to the button to truly disable it, otherwise the click event is fired up again and again causing form submissions
2018-04-20 09:45:03 +03:00
Gábor
fdd38d87f2
Update lan_banlist.php 2018-04-18 09:49:24 +02:00
Gábor
47d88e1e15
Update banlist.php 2018-04-18 09:45:30 +02:00
Cameron
3e1feac04d Improved loading time of admin area navigation. 2018-04-17 14:48:39 -07:00
Cameron
024074ee1e Issue #3082 - Possible fix for sef conflict. 2018-04-17 14:36:55 -07:00
Tijn Kuyper
5216eda6e4
Merge pull request #3091 from Deltik/fix-3086
Removed pointless second sort in e_tree_model
2018-04-06 14:29:16 +02: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
9f50721ab5 Use 'method' for news_template, so we get the 'Default' when empty. 2018-03-10 18:19:53 -08:00
Cameron
79fbf4273c Issue #2996 Admin-ui type=layout inline editing issue. 2018-03-10 18:15:45 -08:00
Cameron
dfb0e1bd4a Issue #2586 Forward icon issue. 2018-03-10 13:36:32 -08:00
Cameron
15345afb89 #1517 Tracing of the 'unauthorized access' issue. 2018-03-09 17:52:14 -08:00
Cameron
0bec81f6d7 Issue #3065 admin > users > search by IP failing to return records. 2018-03-08 16:21:51 -08:00
Cameron
de69b07318 Basic Bootstrap 4 library support. Bootstrap4 theme added for testing purposes only. 2018-03-08 13:45:08 -08:00
Cameron
0aab273723 Admin-ui: Throw error if $pluginName does not match an installed plugin. 2018-03-07 11:42:30 -08:00
Cameron
7864d129b0
Merge pull request #3066 from Deltik/fix-3062
e_tree_model performance improvements
2018-03-07 09:40:18 -08:00
Nick Liu
8a675021ff
Hybrid e_tree_model flat lists or parent-children
e_tree_model is apparently used for flat lists as well as parent-child
relationships (trees). Trees are expected to be far smaller than possible flat
lists. Very large flat lists (10,000+ rows or greater) are rendered very slowly
because of the tree computation overhead.

This change figures out whether a flat list or a tree is requested and chooses
the appropriate code to run based on what is requested. Trees run the more
expensive code while flat lists are returned as-is.

In addition, the tree rendering code has been optimized. Optimizations:

* Unchanging tree node ID is set once instead of inside a foreach() loop
* The parent-child query is now sorted by the sort parent ID so that each move
  rows to tree nodes iteration doesn't have to run through every remaining row

Fixes: #3062
2018-03-06 16:08:11 -06:00
Cameron
1494c18660 Admin-UI: Added "Is Empty" option to type=number when filter is true. 2018-03-05 17:15:49 -08:00
Cameron
48b3318ecb Admin-UI: $field 'filter' attribute now accepts 'future' and 'both', defaults to 'past' when set to true. ie. search future dates, past/future dates or past dates. 2018-03-05 14:37:56 -08:00
Cameron
f1460787a1 Admin-ui Fix date filter. 2018-03-05 13:45:11 -08:00
Cameron
a96049c88c Date issue work-around. 2018-03-04 20:01:55 -08:00
Cameron
9ff191f6cb Hide admin navigation when printing. 2018-03-04 18:50:53 -08:00
Cameron
6490b6d315 Added missing 'd' (day of the month - no leading zero) mask to date handler. 2018-03-04 16:41:35 -08:00
Cameron
c377050945 Make sure livestamp' is only active when 'relative' is selected in toDate(). 2018-03-04 13:03:29 -08:00
Cameron
82c7598b74
Merge pull request #3050 from yesszus/patch-2
Loading plupload lan.js
2018-03-04 12:00:38 -08:00
Cameron
56ffaad39e Fixed 'after submit' default. Added writeParm['empty'] for type 'dropdown' when a default value on empty is required. 2018-03-04 11:59:59 -08:00
Gábor
1b6fca5a85
Update header.php 2018-03-04 09:24:22 +01:00
Gábor
0afc53f2b2
Update header.php
Now loading lang.js file.
2018-02-27 14:04:35 +01:00
Cameron
15bce75ce5
Merge pull request #3046 from Deltik/fix-3044
Code Climate fix: e_tree_model::multiFieldCmp()
2018-02-24 10:40:39 -08:00
Deltik
80a209cbae
Code Climate fix: e_tree_model::multiFieldCmp()
Reduced cognitive complexity
2018-02-23 16:39:52 -06:00
Cameron
5036dfec1e
Merge pull request #3045 from Deltik/fix-3044
e_tree_model::multiFieldCmp() string sort fields
2018-02-23 14:26:55 -08:00
Deltik
840859a32f
e_tree_model::multiFieldCmp() string sort fields
An untested oversight in e_tree_model::multiFieldCmp() where $sort_field
could be a string has now been corrected.

$sort_field now accepts a string to prevent infinite recursion.

Fixes: #3044
2018-02-23 15:48:23 -06:00
Cameron
d462a1bfa2 Fix formhandler flipswitch defaults. 2018-02-23 12:01:08 -08:00
Cameron
e92c6789c5 Fix path of e_SYSTEM_BASE and e_MEDIA_BASE 2018-02-19 13:46:09 -08:00
Cameron
7ffb60c60b Make sure <option> has a value. 2018-02-16 13:34:54 -08:00
Cameron
fd7b9e352e
Merge pull request #3041 from Deltik/fix-3039
e_tree_model private methods are now protected
2018-02-15 12:18:54 -08:00
Deltik
0bbaaf4c6c
Loose false check for e_tree_model sim. pagination
e_tree_model::prepareSimulatedPagination() did not correctly handle the
count-only condition because of an incorrectly written emptiness check.

Fixes: #3034
2018-02-15 13:59:13 -06:00
Deltik
a4b972cb9f
e_tree_model private methods are now protected
Fixes: #3039
2018-02-15 13:45:40 -06:00
Cameron
2f62a522b7 Issue #3034 - Fix language-file not loading. 2018-02-14 14:13:37 -08:00
Cameron
be062da64d
Merge pull request #3037 from Deltik/fix-3033
Fixes: #3033 Defers setting the SITEURL constant and dependencies until MySQL is connected
2018-02-13 08:23:52 -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
de7fb1d1a0
Merge pull request #3032 from Deltik/fix-3029
Fixed critical regression introduced in b3a2740
2018-02-09 12:41:22 -08:00
Deltik
05c418cbda
Fixed critical regression introduced in b3a2740
Oops.
2018-02-09 14:39:21 -06:00
Cameron
2823087d46
Merge pull request #3031 from Deltik/fix-3029
Implemented custom sorting for e_tree_model
2018-02-09 10:15:01 -08:00
Cameron
42b7121347 Issue #3030 NewForumPosts "main" BC Fix for top/bottom position. 2018-02-09 10:08:36 -08:00
rica-carv
c7083ef16f
Merge pull request #49 from e107inc/master
.
2018-02-09 14:51:36 +00:00