1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 22:25:31 +02:00
Commit Graph

12639 Commits

Author SHA1 Message Date
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
Deltik
6cc7c97bfa Updated TreeModelTest to care more about results
… rather than implementation
2018-03-06 23:13:01 -06: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
d5e5504d57 Updated toDate() test. 2018-03-04 15:30:46 -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
d657a29c6f Added e_parser unit test script. Test added for toDate() method. 2018-02-24 15:18:58 -08: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
e95c5daabc admin-ui test template file added. 2018-02-23 14:35:42 -08: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
Cameron
e6ef6210cf Merge branch 'master' of https://github.com/e107inc/e107-test 2018-02-23 14:25:40 -08:00
Cameron
0e05f4db6a Added e107_class.php test file. 2018-02-23 14:25:30 -08:00
Deltik
abc4012a42 cPanelDeployer will no longer delete all databases
Parsing bug deleted all MariaDB users and databases that were not in the
active tests list.  Now, cPanelDeployer will only delete the MariaDB
users and databases that are expired and leave those that are not part
of the testing suite alone.
2018-02-23 16:13:56 -06:00
Deltik
986b4a63ba Test e_tree_model::multiFieldCmp()
Relates to: 840859a32f
2018-02-23 15:51:20 -06: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
Deltik
8b07f620f1 Reworked E107Base::cleanVCS() to use proc_open()
Maybe works on Windows now?

Author doesn't know; author coded this on Linux.
2018-02-20 21:05:18 -06:00
Deltik
7553ce1857 Fixed regression from 9563f8f
Don't _reconfigure() if no deployer active
2018-02-20 17:31:39 -06:00
Deltik
63386970d6 Test environment consistency fixes
git-clean in E107Base now runs first in _beforeSuite() so that tainted
files are not uploaded in Acceptance tests

E107Base::revokeLocalE107Config() now checks for file existence before
unlinking. XXX: Could remove this method if cleanVCS() proves reliable

Acceptance won't try to write an e107_config.php because the tests
themselves populate the configuration file
2018-02-20 14:36:24 -06:00
Deltik
5ce007e07b Merge branch 'master' of github.com:e107inc/e107-test 2018-02-20 13:29:37 -06:00
Deltik
9563f8f797 Fixed bug: _reconfigure()'d modules forgot config
Apparently, reconfiguring only applies to one test. This commit makes
all tests' modules reconfigured.

Introduced command to clean local app repo

InstallCest actually installs e107 now
2018-02-20 13:23:39 -06:00
Cameron
4cc6fa8d41 Merge branch 'master' of https://github.com/e107inc/e107-test 2018-02-19 13:49:14 -08:00
Cameron
0ec35cdf6c Quick tests for e_MEDIA_BASE and e_SYSTEM_BASE added. Disabled creation of e107_config.php (will halt installation test if found) 2018-02-19 13:48:45 -08:00
Cameron
e92c6789c5 Fix path of e_SYSTEM_BASE and e_MEDIA_BASE 2018-02-19 13:46:09 -08:00
Deltik
ec262c8fed Fixed indentation in some files 2018-02-19 15:19:56 -06:00
Deltik
eed4b6b10e Reenforced proper module access
\Helper\DelayedDb public methods shouldn't be used as Actor methods
2018-02-19 15:17:31 -06:00
Cameron
b9ddda1909 Merge branch 'master' of https://github.com/CaMer0n/phpunit 2018-02-17 16:29:18 -08:00
Cameron
edf296c940 additional install steps added. 2018-02-17 16:28:57 -08:00
Deltik
e25fdbf8ad Removed extraneous Db::_loadDump() 2018-02-17 04:11:26 -06:00
Cameron
84207d069b Merge branch 'master' of https://github.com/CaMer0n/phpunit 2018-02-16 15:42:39 -08:00
Cameron
38dd581c20 start of step 2 2018-02-16 15:42:29 -08:00
Deltik
e485b16d65 APP_PATH is now customizable in config.yml
Configuration option is "app_path" (string)
2018-02-16 17:32:07 -06:00
Deltik
a26721aff1 Git submodules use HTTPS URL now
Ideal for pulls and users who have not uploaded their SSH public key to
their GitHub account

Bit more of a hassle to those who code for e107 and normally push with
their SSH public key

Fixes: #2
2018-02-16 17:03:14 -06:00
Cameron
7ffb60c60b Make sure <option> has a value. 2018-02-16 13:34:54 -08:00
Cameron
1d5a70ab4b Install Step1-to-Step2 test. 2018-02-16 13:34:08 -08:00
Cameron
c62186cc7d Added PHPStorm .idea to gitignore. 2018-02-16 11:53:14 -08:00
Cameron
6445a29ad0 Update README.md 2018-02-16 10:54:15 -08:00