1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

326 Commits

Author SHA1 Message Date
Cameron
d6d178824c Admin-UI: $listGroup added for control of specific JOIN grouping when necessary. Example added to blank plugin. 2020-03-05 11:38:23 -08:00
Cameron
126f84d1e1 Issue #4089 - Prevent overwrite of user prefs between plugins. 2020-02-24 09:21:19 -08:00
Cameron
bf30f4f1d4 Issue #4089 - Added $fieldPrefName to Admin-UI for saving/loading field preferences under another name. Default is the current table name. 2020-02-22 14:56:23 -08:00
Cameron
d23c65b30c Fixes #4083 Column selector displaying improperly defined field.
Admin-UI: Multi-language database language only displays when a table match is found.
2020-02-22 10:03:41 -08:00
Cameron
33a7685095 Issue #4086 - admin-ui Respect boolean true/false writeParms in filter and batch dropdowns. 2020-02-20 08:53:32 -08:00
Cameron
3a4b89f803 PHP Notice fix. 2020-02-10 15:38:04 -08:00
Cameron
4bf21cbaa5 AdminUI: Fixes conflict between custom 'filter' dropdown and 'search' input. New method format added for custom search field processing independent of "Filter" processing. See handleListBanlistIpSearch() for an example. 2019-12-05 10:44:59 -08:00
Cameron
5cf54d07d2 Basic per-item search engine robots handling added to News and Pages. 2019-12-02 13:32:21 -08:00
Cameron
281db68aa2 Provide raw search query to custom method.
Issue: #4009 Support banlist filtering using wildcards.
2019-11-05 10:27:21 -08:00
Cameron
7f07f019c3 Issue #4009 - refining banlist ip search 2019-11-05 09:20:48 -08:00
Cameron
762844037f Fixes #4009 . Enhanced admin-ui to support custom filter handlers on string searches (not just drop-drop filters as was already the case) 2019-11-05 08:54:16 -08:00
Cameron
b705e17815 Fix for custom batch methods applied to all records. 2019-08-10 13:24:14 -07:00
Cameron
5944983b6c Admin-UI: $adminMenu now has a 'badge' attribute. Send it an array and it will render a badge in the navigation. eg. array('value' => $count, 'type'=>'warning'). General code cleanup in 'admin' nav method. 2019-06-26 13:48:53 -07:00
Cameron
32c20a7453 Issue #2146 - Featurebox frontend fix. 2019-06-04 13:06:34 -07:00
Cameron
5cd9f52548 New "Search in Field" filter option added for field-specific search of text fields and similar. (filter=>true required) 2019-06-04 12:59:39 -07:00
Cameron
62863b4934 Issue #2146 PHP 7.3 class compatibility fix. More testing required. 2019-06-03 16:29:38 -07:00
Cameron
01d87ade4f Fixes #1818 - Batch Userclass list missing 'members' in default list. 2019-05-27 11:17:41 -07:00
Cameron
72a8476898 Avoid possible error using batch with custom method. Extra flexibility to allow modifying of listQry with custom filter handler. 2019-05-13 12:30:42 -07:00
Cameron
541fcfa860 Closes #3799 Added afterPrefsSave() method. 2019-05-13 11:33:11 -07:00
Cameron
0688bc3aea Added option to override/modify default Create/Update buttons (triggers)
eg. $this->setDefaultTrigger(array('cancel' => array(LAN_CANCEL, 'cancel'))); // display only a cancel button.
2019-05-09 15:17:03 -07:00
Cameron
da0bc6dcb9 Admin-ui Allowed for searching of multiple words across different fields. 2019-04-09 16:52:29 -07:00
Cameron
6c682dffae Issue #3232 Correct user search of extended fields. (set field 'data' to 'str')
Fixes #3677 Wrong message displayed.
2019-03-19 15:11:36 -07:00
Cameron
810fb81d78 Fix for drag-n-drop sorting and PHP 7.3 fixes. 2019-03-19 12:01:51 -07:00
Cameron
c4c661cfac Fixes #3715 Prevent error when load() is missing from e_admin.php 2019-03-12 11:16:43 -07:00
Cameron
b5032c2477 Issue #3695 e_admin addon - list mode with custom methods fixed. 2019-03-04 12:41:10 -08:00
Cameron
037c7c67ff Fixes batch process issue under PHP 7.3 2019-03-03 13:08:02 -08:00
Cameron
4e07b87e37 Fixes #3695 Added e_admin interface and method to load data for 'list' view of admin-ui. (subject to change) 2019-03-03 12:33:20 -08:00
Cameron
4435e6a66b Remove debug info 2019-03-02 10:26:12 -08:00
Cameron
a7d047498e PHPDoc fixes. 2019-03-02 10:09:16 -08:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
a6b9b92c9e Improve debug message. 2019-02-14 14:05:44 -08:00
Cameron
b56f81fa23 PHP 7.3 fix. 2019-02-07 16:34:00 -08:00
Cameron
12dece2cc6 Admin-UI: Allow searching of type=method fields with integer data. 2018-11-03 15:15:31 -07:00
Cameron
8c73bf1434 Issue #2146 Partial compatibility fix. Testing required. 2018-09-18 17:58:32 -07:00
Cameron
688db76a96 Admin-ui: New method: beforePrefsSave($new_data, $old_data); 2018-09-10 10:42:54 -07:00
Cameron
00e2663162 Added token to x-editable 2018-09-04 15:15:50 -07:00
Cameron
8e663dbf74 admin-ui improved inline-editing debugging log information. 2018-09-03 11:43:44 -07:00
Cameron
a2e082c75d MediaPicker Icon fix. 2018-08-13 14:44:55 -07:00
Cameron
5dc790cd22 Provide useful debug information to developers wishing to create custom Filter and Batch handling methods.
Media-Manager updated to use the custom batch Handler method.
2018-08-07 17:05:43 -07:00
Cameron
bac96528fc Token fix. 2018-07-16 12:39:32 -07:00
Achim Ennenbach
0e9f9d4e46 fixes #3065 Added a method to translate wildcards to mysql counterparts 2018-07-06 08:36:35 +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
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
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
ed36008286 Non-standard arg_separator.output value fix. 2018-05-04 17:58:25 -07:00
Cameron
0aab273723 Admin-ui: Throw error if $pluginName does not match an installed plugin. 2018-03-07 11:42:30 -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