Skip to main content

Package proposant un type de colonne compatible avec eea.facetednavigation

Project description

.. image:: https://travis-ci.org/collective/collective.eeafaceted.z3ctable.svg?branch=master
:target: https://travis-ci.org/collective/collective.eeafaceted.z3ctable

.. image:: https://coveralls.io/repos/collective/collective.eeafaceted.z3ctable/badge.png?branch=master
:target: https://coveralls.io/r/collective/collective.eeafaceted.z3ctable?branch=master


==============================
collective.eeafaceted.z3ctable
==============================

Package proposant un type de colonne compatible avec eea.facetednavigation

* `Source code @ GitHub <https://github.com/collective/collective.eeafaceted.z3ctable>`_
* `Releases @ PyPI <http://pypi.python.org/pypi/collective.eeafaceted.z3ctable>`_
* `Continuous Integration @ Travis-CI <http://travis-ci.org/collective/collective.eeafaceted.z3ctable>`_

How it works
============

...


Installation
============

To install `collective.eeafaceted.z3ctable` you simply add ``collective.eeafaceted.z3ctable``
to the list of eggs in your buildout, run buildout and restart Plone.
Then, install `collective.eeafaceted.z3ctable` using the Add-ons control panel.


Configuration
=============

...
Changelog
=========


1.0.3 (2018-05-03)
------------------

- Defined a weight of '100' for the CheckBoxColumn so it is displayed on the
right of the table columns by default.
[gbastien]
- Defined correct CSS id for bottom viewlets providers.
[gbastien]
- Updated french translation of 'Review state' to add a 'E' with accent.
[gbastien]

1.0.2 (2017-08-03)
------------------

- In BrowserViewCallColumn when computing the path to traverse,
avoid double '//' that breaks (un)restrictedTraverse.
[gbastien]
- Make portal and portal_url directly available on the table instance.
[gbastien]

1.0.1 (2017-06-01)
------------------

- Avoid useless redirects when using sorting and current URL ends with
`/view` or so.
[gbastien]
- Fixed tests to use translated strings instead msgid, adapted buildout
so po files are computed.
[gbastien]

1.0 (2017-05-31)
----------------

- Check also empty column value with __empty_string__.
[sgeulette]
- Set default to ignored_value DateColumn
[sgeulette]

0.19 (2017-02-09)
-----------------

- Enable merging and caching for collective.eeafaceted.z3ctable.js
in portal_javascripts.
[gbastien]

0.18 (2017-01-31)
-----------------

- Handle sort_on of the query by storing result of the sorting widget in the
request.form so it is reuseable by other widget.query that also manage the
sort_on attribute.
[gbastien]

0.17 (2016-12-05)
-----------------

- Added ElementNumberColumn that will display the number of the current element
among elements displayed in the table. This supports table using batch or not.
[gbastien]

0.16 (2016-08-03)
-----------------

- Add option ignoreColumnWeight to Table to keep columns ordered as returned by
setUpColumns() rather than by column weight.
[sdelcourt]

0.15 (2016-06-13)
-----------------

- Correct wrong release.
[gbastien]

0.14 (2016-06-13)
-----------------

- ColorColumn : in renderHeadCell, do not return an empty HTML content but `u'&nbsp;&nbsp;&nbsp;'`
so in case table is too large, the column does not shrink to nothing.
[gbastien]
- Use `__name__` instead of `attrName` to generate `th_header_` and `td_cell_` CSS classes
so 2 columns using the same `attrName` get different CSS classes.
[gbastien]
- Added `AbbrColumn` that will generate a HTML tag `<abbr>` and that is based on 2 vocabularies,
one that manage the abbreviated value and one that manage the full value.
[gbastien]

0.13 (2016-06-03)
-----------------

- Display the 'Refresh search results.' link also when there are no current results.
[gbastien]

0.12 (2016-03-29)
-----------------

- Add english translations.
[sgeulette]

0.11 (2016-02-15)
-----------------

- Made BrowserViewCallColumn more generic, use unrestrictedTraverse instead of getMultiAdapter
[sgeulette, gbastien]
- Added DxWidgetRenderColumn to render a dexterity field widget
[sgeulette]
- Added RelationTitleColumn to render a z3c.relationfield.relation.RelationValue attribute
[sgeulette]

0.10 (2016-01-15)
-----------------

- Splitted the 2 viewlet managers to be able to add viewlets above and below batch navigation,
henceforth we have 4 viewlet managers : 'collective.eeafaceted.z3ctable.topabovenav',
'collective.eeafaceted.z3ctable.topbelownav', 'collective.eeafaceted.z3ctable.bottomabovenav',
'collective.eeafaceted.z3ctable.bottombelownav'.
[gbastien]

0.9 (2016-01-04)
----------------

- Use HTML entities &#9650; and &#9660; instead of &blacktriangle; and &blacktriangledown;
so it behaves nicely in both Firefox and Chrome.
[gbastien]

0.8 (2015-12-23)
----------------

- Define a default CSS class on each TD as it is already done for TH
so it is easy to skin if necessary.
[gbastien]


0.7 (2015-12-17)
----------------

- Replace sort triangle characters by html entities.
[sgeulette]
- Don't pin setuptools for travis.
[sgeulette]

0.6 (2015-11-18)
----------------

- Set long_format=True for CreationDateColumn and ModificationDateColumn.
[gbastien]
- VocabularyColumn: get term by value and not by token.
[sgeulette]


0.5 (2015-09-28)
----------------

- Added 2 viewlets managers in the table : 'collective.eeafaceted.z3ctable.top'
and 'collective.eeafaceted.z3ctable.bottom'.
[gbastien]
- Replaced DateColumn rendering to work not only with DateTime but with DateTime, datetime and date.
[sgeulette]


0.4 (2015-09-10)
----------------

- If an error occurs during render_table, catch the exception
and display traceback manually in the Zope log to avoid
faceted view to be frozen (JS 'lock' the web page and it is not
unlocked when an error occurs).
[gbastien]


0.3 (2015-09-03)
----------------

- VocabularyColumn now manage multiValued values (list of values).
[gbastien]
- Optimized MemberIdColumn by not using getMemberInfo.
[gbastien]
- Added tests for table and columns.
[gbastien]
- Added link to refresh the search results.
[gbastien]
- Manage None value in MemberIdColumn
[sgeulette]


0.2 (2015-08-04)
----------------

- Fix: avoid UnicodeDecodeErrors in ColorColumn if label contains special chars.
[gbastien]


0.1 (2015-07-14)
----------------

- Initial release.
[IMIO]
Contributors
============


- Franck NGAHA, franck.o.ngaha@gmail.com
:orphan:

License (3-clause BSD)
======================

Copyright (c) 2013, Franck NGAHA. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the name of Franck NGAHA. nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL FRANCK NGAHA BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.eeafaceted.z3ctable-1.0.3.tar.gz (37.1 kB view details)

Uploaded Source

File details

Details for the file collective.eeafaceted.z3ctable-1.0.3.tar.gz.

File metadata

File hashes

Hashes for collective.eeafaceted.z3ctable-1.0.3.tar.gz
Algorithm Hash digest
SHA256 13f47ef08902a8286aa68627b7f872c6d42b5406c1812b6a863aa570f8e5bc9c
MD5 e2241f38b2744c87ab60f9e3e1b00174
BLAKE2b-256 826a41982ef4a109ac8a262094916dd19920613fdc6369735c278e71656acc35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page