2.6 - What's new ?

New Features :

propagate-accessPropagate accesses.

Propagate accesses from a foreign table to a curent table.
For example when a category is not accessible, the items of this category will not be loaded.

This is a security potection it applies directly on the SQL query.
As usual in Cook, this feature does not have any FK level limit restrictions.

Accesses are :

  • Viewlevel access
  • Published states
  • Authoring

 


 


 

Improved UI rendering and JDom

Bootstrap Jooma buttons radio

ui-form-image

Bootstrap Fly images


 

And much more : Ajax filters,UI fixes, grid booleans and Bootstrap task buttons.

Includes the last jQuery versions : jQuery : v1.10.2 - jQuery UI : v1.10.3 (Drag/Drop, Sortables)


IconsIcomoon icons JoomlaBootstrap glyphicon icons Joomla

'icomoon' and 'gliphicons' libs are not compatibles because they use the same 'icon-' prefix.

JDom is reimplementating them with different prefix. ('icomoon-*' ; 'glyphicon-*')

Still you can use 'icon-*' at your own risk, but Joomla native backend templates are using different libraries for 'icon-*'

 

 



 

Grouped task buttons in gridsBootstrap btn-group group buttons

Task icons in grid are now grouped together in a Bootstrap btn-group in one table cell.

Still you can display the task in separated buttons :

Grid Properties > Layout > Tasks in grid : Individual buttons

 


 

Removed "Num' column.Joomla grid num column pagination


Column displaying the item number in the grid has been removed. 
If you want to use it, click on the option in the grid properties. Tab 'Layout'.

 

Grid Properties > Layout > Show Num# 

 

Grid checkbox visibility : canSelect()

This function in the list model is testing if the user can select items or not. The result is used to show or hide the checkboxes in grid.

 

 


Check your forks :

Model > prepareQuery() Improved, and not always compatible with Cook 2.5.x
TODO :

  1. In your forks : search for 'addJoin('
  2. Add  around table names when missing (can raise an issue when you are using propagation accesses)

 

JDom have been highly improved.
TODO :

  1. Check you do not have JDom namespace error in your pages.
  2. If you have errors, regenerate your component and see the new way.

When modules are calling your components. If you run multiple JDom instances.
TODO :

  1. Replace dom.php in all your existing components. (because first found is loaded)

 


 

 Fixes :

  • SECURITY : index.html files was missing when upload 'rename' property value is including sub folders. ex: {ID} {RAND}.{MIMEXT}
  • populateObject() JSON decoding fixed
  • Fix when multiples searches was created on the same layout.
  • Can apply correctly CSS class names on elements. Easier templating.
  • Ajax filters rendering
  • FK Ajax combo fix when instancied alone without group. (simple select)
  • JADMINISTRATOR removed in front title of the pages.
  • Some files was missing for tiny project (when no back-end layout).
  • 'Defaulting' wizard improved behaviors. (Undefault other items, (eventualy distinct groups), directly in the model, by security)
  • Defaults layouts issues fixed. (Could happen before some collisions in the builder after deleting the first collection layout created)

 

 

2.5.8

New Features

  • Ability to filter on current user when creating a menu item

modalpicker-juser-auto

 

Fixes

  • Current search text value is now always displayed.
  • Some added tasks in item Layout. Delete, Publish, Unpublish, Trash and Archive (even when Joomla is not really designed for that.)
  • Refresh page after edit form in modal.
  • Followers Itemid fixed for better SEF
  • Modal picker for user list

2.5.7

Fixes

  • Boolean filters
  • Can rename item alias in table (2.5 issue)
  • Fixed dates format issue with unix timestamps
  • Range filters on date with unix timestamps
  • Range filters labels
  • Modal pickers improved

Joomla Cook Modal picker

CHECK YOUR FORKS (when you are using Unix timestamps)

  • All your modal_grid.php files in tmpl files (Back end)
  • helpers/dates function getUnixTimestamp()
  • All your models using unix timestamp in filters - save() function.
  • JDom new : html.form.input.select.modalpicker
  • Changed : classes/form/field/modal.php

For this upgrade, your application may not have been affected, only fixed. So almost impossible that this upgrade damage your forks. But if you want to take advantage of this fix form this version, you may apply the changes to your forked files.

2.5.6

ACL rewrite:

CHECK YOUR FORKS !

13 functions has been rewriten in classes/model/item.php :

  • canAccess()
  • canAdmin()
  • canCheck()
  • canCreate()
  • canDelete()
  • canEdit()
  • canEditDefault()
  • canEditState()
  • canView()
  • isAccessible()
  • isAuthor()
  • isCheckedIn()
  • isPublished()
  • isVisible()

1 function in classes/model/list.php

  • isAdmin()

In models

  • prepareQuery() in item models
  • prepareQuery() in list models

CHECK YOUR FORKS :

If you have forked one of these functions, please check if everything is still working as expected.

 

2.5.5

New Feature

DownloadDataset
Download your dataset alone in SQL

Improvements - CHANGES WHERE YOU MAY CHECK YOUR FORKS

  • view.html.php : displayXxxx()

Error handling little bit improved.
Model is not anymore raising bocking error when item is not found. The view does it and when the model is instancied somewhere else, the error is not blocking.

Fixes :

  • Joomla fields FK fix, when showing wrong key
  • Accesslevel field
  • JDom : html.form.input.clock
  • helpers/loader.php (Model not found for third tables in some cases)
  • Regex improvements

2.5.4

Fixes

  • Fatal : "Task not found" issue
  • DS constant fixed when used in menu item.
  • Layout languages strings in CPanel
  • Toolbar icons sizes in J!2.5 and under
  • UI Boolean radio for J!2.5 and under (bootstrap support)
  • Data Restore issue when Email datatype is used

Get Started