1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-26 23:32:52 +01:00

10816 Commits

Author SHA1 Message Date
Achim Ennenbach
2a1a6d4118 closes parses a string into a db ready number format
value returned works also with floatval()
2018-05-01 23:29:50 +02:00
Nick Liu
beb2b1c0f6
Updated .codeclimate.yml for CodeClimate version 2 2018-05-01 08:21:29 -05:00
Nick Liu
4af400fd75
Refactored some Downloads plugin code 2018-05-01 07:46:48 -05:00
Nick Liu
e36b029f78
Fixed Downloads security NGINX MD5 generation
- FIX: Blocker bug generating the wrong MD5 string for NGINX
       secure_link_md5
- FIX: Bad instructions in LAN_DL_SECURITY_DESCRIPTION
2018-05-01 05:26:40 -05:00
Nick Liu
0d7f7dc543
Improved: Downloads >> Preferences >> Protection
- MOD: Refactored NGINX secure_link_md5 decorator into interface and
       class in Downloads plugin
- NEW: Downloads plugin: Admin preferences UX improvement:
       Preferences >> Protection now shows the user a list of
       supported NGINX variables pulled from
       NginxSecureLinkMd5Decorator
2018-04-30 06:24:20 -05:00
Nick Liu
fa08c915a3
Downloads: Basic support for NGINX secure_link_md5
- NEW: "Protection" section in Downloads >> Preferences
- NEW: Basic support for NGINX secure_link_md5 in Downloads plugin
- NEW: When configured with a URL protection mode, Downloads will
       modify the direct download URL and/or the mirror download URL
       to be compatible with the implemented URL protection

Fixes: 
2018-04-30 05:50:19 -05:00
Cameron
f330afe9e7
Merge pull request from Deltik/fix-3109
Fix plugin upgrade version number mouseover text
2018-04-29 12:03:50 -07:00
Deltik
cce67aecf4
Fix plugin upgrade version number mouseover text
Fixes: 
2018-04-29 04:04:55 -05:00
Cameron
91433b9d48
Merge pull request from Serios/revert-3100-patch-12
Revert "Truly disable a button on FormSubmit"
2018-04-27 12:38:43 -07:00
Serios
738583cd23
Revert "Truly disable a button on FormSubmit" 2018-04-27 08:53:14 +03:00
Cameron
dc5fc3cfe9
Merge pull request from Serios/patch-12
Truly disable a button on FormSubmit
2018-04-24 13:28:19 -07:00
Cameron
038f2de297
Merge pull request from yesszus/patch-2
Update admin banlist.php
2018-04-22 11:59:04 -07:00
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 - Possible fix for sef conflict. 2018-04-17 14:36:55 -07:00
Tijn Kuyper
5216eda6e4
Merge pull request 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 .

This second sort has been removed.

Fixes: 
2018-04-03 17:21:45 -05:00
Cameron
9726a70d2d Issue - 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 Admin-ui type=layout inline editing issue. 2018-03-10 18:15:45 -08:00
Cameron
dfb0e1bd4a Issue Forward icon issue. 2018-03-10 13:36:32 -08:00
Cameron
15345afb89 Tracing of the 'unauthorized access' issue. 2018-03-09 17:52:14 -08:00
Cameron
0bec81f6d7 Issue 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 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: 
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 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 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 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: 
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