jmbo


Namejmbo JSON
Version 3.0.3 PyPI version JSON
download
home_pagehttp://www.jmbo.org
SummaryThe Jmbo base product introduces a content type and various tools required to build Jmbo products.
upload_time2017-06-22 14:21:21
maintainer
docs_urlNone
authorPraekelt Consulting
requires_python
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Jmbo
====
**The Jmbo base product introduces a content type and various tools required to build Jmbo products.**

.. figure:: https://travis-ci.org/praekelt/jmbo.svg?branch=develop
   :align: center
   :alt: Travis

Documentation at http://jmbo.readthedocs.org.

Authors
=======

Praekelt Foundation
-------------------

* Shaun Sephton
* Jonathan Bydendyk
* Euan Jonker
* Hedley Roos

Changelog
=========

3.0.3
-----
#. Add `DjangoModelPermissionsOrAnonReadOnly` permissions to `jmbo-modelbase-permitted` API endpoint.

3.0.2
-----
#. Use `django-sortedm2m` because it does proper sorting at ORM level.

3.0.1
-----
#. Compatibility with Django Rest Framework 3.6

3.0.0
-----
#. Django 1.9 - 1.11 compatibility.
#. This release deprecates the items marked for deprecation in the 2.x versions.

2.0.17
------
#. Fixed an issue where the patched photologue may flip the image.

2.0.16
------
#. Special migration handling for a special database - Oracle.

2.0.15
------
#. Move to tox for unit testing.

2.0.14
------
#. Add indexes for ``title`` and ``description`` fields.

2.0.13
------
#. Add database index to ``state``.

2.0.12
------
#. Safe handling for missing image on an object.

2.0.11
------
#. The fix for 2.0.10 was incomplete. Fix it properly.

2.0.10
------
#. Fix missing ``USE_GIS`` in migrations. It would always try to pull in django-atlas without it.

2.0.9
-----
#. Add a model that allows a specific curated image to override a scale that would normally be generated.

2.0.8
-----
#. The ``ObjectDetail`` view now respects template_name set at class level.

2.0.7
-----
#. Simplify template inclusion tags.
#. The detail and list views now respect the model attribute.

2.0.6
-----
#. Make object detail template resolution follow the standard Django naming conventions. Backward compatibility is preserved.
#. Move test templates into tests directory.
#. Add dependency on ``django-ultracache`` and defer ``jmbocache`` template tag to ``ultracache`` template tag.

2.0.5
-----
#. Gracefully handle missing images in the API.
#. Change the site information in the unicode method to be less overwhelming.
#. Use built-in jQuery for autosave function.

2.0.4
-----
#. Patch ImageModel delete to handle null image.

2.0.3
-----
#. Limit photologue to <3.2 because they have stopped supporting Django 1.6.

2.0.2
-----
#. Disable more filters so Oracle can work.

2.0.1
-----
#. Disable advanced admin change list filtering if Oracle is the database. The Oracle adapter is buggy.

2.0.0
-----
#. Allow per content type customization of object header and footer.
#. Select all sites initially for new items.
#. The API now dereferences resource URI to the leaf class if possible.
#. Ensure image field is optional on ModelBase database table as well.

2.0.0a1
-------
#. Move to Django 1.6 support. Django 1.4 support is deprecated. For Django 1.4 use Jmbo 1.x.
#. Add `Clone this item` button to change forms.
#. Deprecate gizmo, "wide" template, Pin class.
#. Deprecate own class based generic views in favour of Django's equivalent.
#. Deprecate views related to show objects per category. `jmbo-foundry` offers a much more powerful solution and scales better.
#. Limit Relation change form to only ModelBase subclasses.
#. Deprecate smart_url template tag because Django url template tag does the same now.
#. Move back to mainline `django-photologue`.
#. API now includes image detail url.

1.2.0
-----
#. Use renamed django-photologue-praekelt.
#. SEO optimizations in templates.
#. Make it possible to reach a detail page through a category.

1.1.7
-----
#. Bump to resolve missing version bump in setup.py.

1.1.6
-----
#. API now includes image detail url.
#. URL pattern to resolve detail page through category.

1.1.5
-----
#. Ignore result of celery tasks as appropriate.

1.1.4
-----
#. Relax uniqueness constraint on slugs.

1.1.3
-----
#. Fix modelbase editing where location field was added to wrong fieldset.

1.1.2
-----
#. Add logging to `jmbocache` template tag.

1.1.1
-----
#. Add a template `base.html` so unit tests that render detail pages work.
#. Reshuffle the test layout.

1.1
---
#. Location aware functionality now only takes effect if both 'django-atlas` and `django.contrib.gis` are installed.
#. `django-photologue` 2.10 is now the minimum version.

1.0.14
------
#. Add `rel="nofollow"` on view modifier links.
#. Fix `render_object` where context was copied instead of using push and pop.
#. Simplify sharing link creation.

1.0.13
------
#. Fix a broken find link in `setup.py`.

1.0.12
------
#. Fix incorrect file permissions.

1.0.11
------
#. Add functionality to periodically autosave certain fields on the change form.
#. Change change list ordering to be `-publish_on, -created`.
#. Change `get_related_items` ordering to be `-publish_on, -created`.
#. Use a celery task to publish content.
#. Permalink now links to all sites.

1.0.10
------
#. Change secretballot usage so it does not hijack the objects manager anymore.
#. Add `owner_override` and `image_attribution` fields.

1.0.9
-----
#. Change permitted manager and generic object detail so staff can preview unpublished content.
#. Aggregate total comments and likes onto `ModelBase` to prevent expensive queries.

1.0.8
-----
#. Add caching template tag `jmbocache` which automatically adds the `SITE_ID` as part of the cache key.

1.0.7
-----
#. Generic caching on detail templates.
#. Share on Google.

1.0.6
-----
#. Add a list filter in admin to filter `ModelBase` objects by site and site group.
#. `ModelBase.__unicode__` includes the site name - non-admin templates that rely on __unicode__ will have to be updated.
#. Set title, description and keywords meta tags on detail page.
#. `comment_count` is now aware that multiple sites may comprise a logical site.

1.0.5
-----
#. Make `jmbo_publish` command timezone-aware, ensuring that it works with old, naive timestamps.

1.0.4
-----
#. Restore crop from field to a more prominent position.

1.0.3
-----
#. Simplify the change form. Move advanced fields into their own section.

1.0.2
-----
#. Ensure the leaf object is passed to template tags in `modelbase_detail.html`.
#. `get_related_items` parameter `name` is now optional. The sorting has changed to reverse on modified (our default sorting).

1.0.1
-----
#. `as_leaf_class` method would break if two models had the same name. Fixed.

1.0
---
#. Jmbo is now location aware. This requires a manual upgrade of libraries and existing databases. DO NOT UPGRADE to 1.0 without preparation. If you are on Ubuntu then it is as simple as running the interactive ``convert_to_geodb_ubuntu.sh`` script.

0.5.5
-----
#. `modelbase_detail` inclusion template now has a block for easier re-use.
#. Simplified paginator. No more breadcrumbs.
#. Introduce `object_footer` template which shows sharing links.
#. ``can_comment`` has an API change. It has always only been used internally and should not cause problems.
#. README.rst gets friendlier documentation.

0.5.4
-----
#. Pin Django on 1.4.x range.

0.5.3
-----
#. Add `Save and publish` and `Save and unpublish` buttons to edit form.

0.5.2
-----
#. Use django.jQuery instead of $ to trigger publish ajax call. $ is not necessarily available.

0.5.1 (2012-08-20)
------------------
#. ``on_likes_enabled_test`` and ``on_can_vote_test`` signal receivers now only checks ``ModelBase`` based objects. Also updated for compatibility with ``django-likes`` 0.0.8, which updated its signal's ``obj`` param to conventional ``instance``. ``django-likes`` >= 0.0.8 is now required for correct operation.

0.5
---
#. Django 1.4 compatible release. Django 1.4 is now required.

0.4
---
#. Detail templates can now be customized per model. Create {app_label}/{model}_detail.html.
#. publish_on and retract_on filters are now applied via management command `jmbo_publish`. Run it via cron.
#. Published state is not directly editable through change form anymore. It is now an action.

0.3.4 (2012-06-26)
------------------
#. Natural key support for dumping and loading data.

0.3.3 (2012-06-20)
------------------
#. Use Pillow instead of PIL.

0.3.2
-----
#. Use slug for lookups in tastypie API.

0.3.1 (2012-06-15)
------------------
#. Add a decorator register_tag that can accept a softcoded list of templates.

0.3 (2012-06-14)
----------------
#. django-tastypie support added

0.2.6 (2012-06-07)
------------------
#. Add image_list_url to Modelbase.
#. Pin django-setuptest to 0.0.6 because of issue in 0.0.7

0.2.5 (2012-05-11)
------------------
#. Admin category filtering now filters on both categories and primary_category fields.

0.2.4
-----
#. Remove dependency links in setup.py.

0.2.3 (2012-05-08)
------------------
#. render_object tag now fails with clear TemplateDoesNot exist exception.

0.2.2
-----
#. Include category filtering in admin.

0.2.1
-----
#. Find links in setup.py

0.2
---
#. Add Opengraph metadata tags to detail view.
#. Add dependency on django-sites-groups.
#. Setup South migration chain.

0.1.20
------
#. Bring pager HTML and CSS in line with django-pagination.
#. Add wrapping div to comments UI.
#. Fix admin interface bug where some fields were duplicated.
#. Reverse lookup for <content_type>_object_detail now works for model names that may contain spaces, eg. 'Blog Post'.
#. Add fallback to modelbase detail view to get_absolute_url.
#. Add ability to limit size of queryset for generic views.
#. Afrikaans and French translations.
#. Make it possible to specify a custom photosize per content type.
#. Introduce a new optional field 'subtitle' for friendlier admin UI.
#. Add South migrations. Existing installations must be upgraded using ./manage.py migrate jmbo 0001 --fake and then ./manage.py migrate jmbo.

0.1.9 (2011-09-27)
------------------
#. Added primary category field on ModelBase.
#. Allow for modifier on humanize time diff tag.
#. Added category pin model and admin override.

0.1.7 (2011-06-15)
------------------
#. Jmbo rename.

0.1.6
-----
#. Added state admin bulk actions.

0.1.5
-----
#. Use photologue 2.6.praekelt

0.1.4
-----
#. Generate slug optimization.

0.1.3
-----
#. Refactored ModelBase.comment_count to resolve comments for leaf class or modelbase content types.

0.1.2
-----
#. Generic form issues corrected.

0.1.1
-----
#. Use django-photologue 2.5.praekelt

0.1.0
-----
#. Improved generate_slug utils method.
#. Removed ModelBaseAdminForm.


            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "", 
    "upload_time": "2017-06-22 14:21:21", 
    "author": "Praekelt Consulting", 
    "home_page": "http://www.jmbo.org", 
    "download_url": "https://pypi.python.org/packages/98/17/37a4aada35096eb5cac1bb40c27b7062b7d2d70d834317a777d21164a446/jmbo-3.0.3.tar.gz", 
    "platform": "", 
    "version": "3.0.3", 
    "cheesecake_documentation_id": null, 
    "description": "Jmbo\n====\n**The Jmbo base product introduces a content type and various tools required to build Jmbo products.**\n\n.. figure:: https://travis-ci.org/praekelt/jmbo.svg?branch=develop\n   :align: center\n   :alt: Travis\n\nDocumentation at http://jmbo.readthedocs.org.\n\nAuthors\n=======\n\nPraekelt Foundation\n-------------------\n\n* Shaun Sephton\n* Jonathan Bydendyk\n* Euan Jonker\n* Hedley Roos\n\nChangelog\n=========\n\n3.0.3\n-----\n#. Add `DjangoModelPermissionsOrAnonReadOnly` permissions to `jmbo-modelbase-permitted` API endpoint.\n\n3.0.2\n-----\n#. Use `django-sortedm2m` because it does proper sorting at ORM level.\n\n3.0.1\n-----\n#. Compatibility with Django Rest Framework 3.6\n\n3.0.0\n-----\n#. Django 1.9 - 1.11 compatibility.\n#. This release deprecates the items marked for deprecation in the 2.x versions.\n\n2.0.17\n------\n#. Fixed an issue where the patched photologue may flip the image.\n\n2.0.16\n------\n#. Special migration handling for a special database - Oracle.\n\n2.0.15\n------\n#. Move to tox for unit testing.\n\n2.0.14\n------\n#. Add indexes for ``title`` and ``description`` fields.\n\n2.0.13\n------\n#. Add database index to ``state``.\n\n2.0.12\n------\n#. Safe handling for missing image on an object.\n\n2.0.11\n------\n#. The fix for 2.0.10 was incomplete. Fix it properly.\n\n2.0.10\n------\n#. Fix missing ``USE_GIS`` in migrations. It would always try to pull in django-atlas without it.\n\n2.0.9\n-----\n#. Add a model that allows a specific curated image to override a scale that would normally be generated.\n\n2.0.8\n-----\n#. The ``ObjectDetail`` view now respects template_name set at class level.\n\n2.0.7\n-----\n#. Simplify template inclusion tags.\n#. The detail and list views now respect the model attribute.\n\n2.0.6\n-----\n#. Make object detail template resolution follow the standard Django naming conventions. Backward compatibility is preserved.\n#. Move test templates into tests directory.\n#. Add dependency on ``django-ultracache`` and defer ``jmbocache`` template tag to ``ultracache`` template tag.\n\n2.0.5\n-----\n#. Gracefully handle missing images in the API.\n#. Change the site information in the unicode method to be less overwhelming.\n#. Use built-in jQuery for autosave function.\n\n2.0.4\n-----\n#. Patch ImageModel delete to handle null image.\n\n2.0.3\n-----\n#. Limit photologue to <3.2 because they have stopped supporting Django 1.6.\n\n2.0.2\n-----\n#. Disable more filters so Oracle can work.\n\n2.0.1\n-----\n#. Disable advanced admin change list filtering if Oracle is the database. The Oracle adapter is buggy.\n\n2.0.0\n-----\n#. Allow per content type customization of object header and footer.\n#. Select all sites initially for new items.\n#. The API now dereferences resource URI to the leaf class if possible.\n#. Ensure image field is optional on ModelBase database table as well.\n\n2.0.0a1\n-------\n#. Move to Django 1.6 support. Django 1.4 support is deprecated. For Django 1.4 use Jmbo 1.x.\n#. Add `Clone this item` button to change forms.\n#. Deprecate gizmo, \"wide\" template, Pin class.\n#. Deprecate own class based generic views in favour of Django's equivalent.\n#. Deprecate views related to show objects per category. `jmbo-foundry` offers a much more powerful solution and scales better.\n#. Limit Relation change form to only ModelBase subclasses.\n#. Deprecate smart_url template tag because Django url template tag does the same now.\n#. Move back to mainline `django-photologue`.\n#. API now includes image detail url.\n\n1.2.0\n-----\n#. Use renamed django-photologue-praekelt.\n#. SEO optimizations in templates.\n#. Make it possible to reach a detail page through a category.\n\n1.1.7\n-----\n#. Bump to resolve missing version bump in setup.py.\n\n1.1.6\n-----\n#. API now includes image detail url.\n#. URL pattern to resolve detail page through category.\n\n1.1.5\n-----\n#. Ignore result of celery tasks as appropriate.\n\n1.1.4\n-----\n#. Relax uniqueness constraint on slugs.\n\n1.1.3\n-----\n#. Fix modelbase editing where location field was added to wrong fieldset.\n\n1.1.2\n-----\n#. Add logging to `jmbocache` template tag.\n\n1.1.1\n-----\n#. Add a template `base.html` so unit tests that render detail pages work.\n#. Reshuffle the test layout.\n\n1.1\n---\n#. Location aware functionality now only takes effect if both 'django-atlas` and `django.contrib.gis` are installed.\n#. `django-photologue` 2.10 is now the minimum version.\n\n1.0.14\n------\n#. Add `rel=\"nofollow\"` on view modifier links.\n#. Fix `render_object` where context was copied instead of using push and pop.\n#. Simplify sharing link creation.\n\n1.0.13\n------\n#. Fix a broken find link in `setup.py`.\n\n1.0.12\n------\n#. Fix incorrect file permissions.\n\n1.0.11\n------\n#. Add functionality to periodically autosave certain fields on the change form.\n#. Change change list ordering to be `-publish_on, -created`.\n#. Change `get_related_items` ordering to be `-publish_on, -created`.\n#. Use a celery task to publish content.\n#. Permalink now links to all sites.\n\n1.0.10\n------\n#. Change secretballot usage so it does not hijack the objects manager anymore.\n#. Add `owner_override` and `image_attribution` fields.\n\n1.0.9\n-----\n#. Change permitted manager and generic object detail so staff can preview unpublished content.\n#. Aggregate total comments and likes onto `ModelBase` to prevent expensive queries.\n\n1.0.8\n-----\n#. Add caching template tag `jmbocache` which automatically adds the `SITE_ID` as part of the cache key.\n\n1.0.7\n-----\n#. Generic caching on detail templates.\n#. Share on Google.\n\n1.0.6\n-----\n#. Add a list filter in admin to filter `ModelBase` objects by site and site group.\n#. `ModelBase.__unicode__` includes the site name - non-admin templates that rely on __unicode__ will have to be updated.\n#. Set title, description and keywords meta tags on detail page.\n#. `comment_count` is now aware that multiple sites may comprise a logical site.\n\n1.0.5\n-----\n#. Make `jmbo_publish` command timezone-aware, ensuring that it works with old, naive timestamps.\n\n1.0.4\n-----\n#. Restore crop from field to a more prominent position.\n\n1.0.3\n-----\n#. Simplify the change form. Move advanced fields into their own section.\n\n1.0.2\n-----\n#. Ensure the leaf object is passed to template tags in `modelbase_detail.html`.\n#. `get_related_items` parameter `name` is now optional. The sorting has changed to reverse on modified (our default sorting).\n\n1.0.1\n-----\n#. `as_leaf_class` method would break if two models had the same name. Fixed.\n\n1.0\n---\n#. Jmbo is now location aware. This requires a manual upgrade of libraries and existing databases. DO NOT UPGRADE to 1.0 without preparation. If you are on Ubuntu then it is as simple as running the interactive ``convert_to_geodb_ubuntu.sh`` script.\n\n0.5.5\n-----\n#. `modelbase_detail` inclusion template now has a block for easier re-use.\n#. Simplified paginator. No more breadcrumbs.\n#. Introduce `object_footer` template which shows sharing links.\n#. ``can_comment`` has an API change. It has always only been used internally and should not cause problems.\n#. README.rst gets friendlier documentation.\n\n0.5.4\n-----\n#. Pin Django on 1.4.x range.\n\n0.5.3\n-----\n#. Add `Save and publish` and `Save and unpublish` buttons to edit form.\n\n0.5.2\n-----\n#. Use django.jQuery instead of $ to trigger publish ajax call. $ is not necessarily available.\n\n0.5.1 (2012-08-20)\n------------------\n#. ``on_likes_enabled_test`` and ``on_can_vote_test`` signal receivers now only checks ``ModelBase`` based objects. Also updated for compatibility with ``django-likes`` 0.0.8, which updated its signal's ``obj`` param to conventional ``instance``. ``django-likes`` >= 0.0.8 is now required for correct operation.\n\n0.5\n---\n#. Django 1.4 compatible release. Django 1.4 is now required.\n\n0.4\n---\n#. Detail templates can now be customized per model. Create {app_label}/{model}_detail.html.\n#. publish_on and retract_on filters are now applied via management command `jmbo_publish`. Run it via cron.\n#. Published state is not directly editable through change form anymore. It is now an action.\n\n0.3.4 (2012-06-26)\n------------------\n#. Natural key support for dumping and loading data.\n\n0.3.3 (2012-06-20)\n------------------\n#. Use Pillow instead of PIL.\n\n0.3.2\n-----\n#. Use slug for lookups in tastypie API.\n\n0.3.1 (2012-06-15)\n------------------\n#. Add a decorator register_tag that can accept a softcoded list of templates.\n\n0.3 (2012-06-14)\n----------------\n#. django-tastypie support added\n\n0.2.6 (2012-06-07)\n------------------\n#. Add image_list_url to Modelbase.\n#. Pin django-setuptest to 0.0.6 because of issue in 0.0.7\n\n0.2.5 (2012-05-11)\n------------------\n#. Admin category filtering now filters on both categories and primary_category fields.\n\n0.2.4\n-----\n#. Remove dependency links in setup.py.\n\n0.2.3 (2012-05-08)\n------------------\n#. render_object tag now fails with clear TemplateDoesNot exist exception.\n\n0.2.2\n-----\n#. Include category filtering in admin.\n\n0.2.1\n-----\n#. Find links in setup.py\n\n0.2\n---\n#. Add Opengraph metadata tags to detail view.\n#. Add dependency on django-sites-groups.\n#. Setup South migration chain.\n\n0.1.20\n------\n#. Bring pager HTML and CSS in line with django-pagination.\n#. Add wrapping div to comments UI.\n#. Fix admin interface bug where some fields were duplicated.\n#. Reverse lookup for <content_type>_object_detail now works for model names that may contain spaces, eg. 'Blog Post'.\n#. Add fallback to modelbase detail view to get_absolute_url.\n#. Add ability to limit size of queryset for generic views.\n#. Afrikaans and French translations.\n#. Make it possible to specify a custom photosize per content type.\n#. Introduce a new optional field 'subtitle' for friendlier admin UI.\n#. Add South migrations. Existing installations must be upgraded using ./manage.py migrate jmbo 0001 --fake and then ./manage.py migrate jmbo.\n\n0.1.9 (2011-09-27)\n------------------\n#. Added primary category field on ModelBase.\n#. Allow for modifier on humanize time diff tag.\n#. Added category pin model and admin override.\n\n0.1.7 (2011-06-15)\n------------------\n#. Jmbo rename.\n\n0.1.6\n-----\n#. Added state admin bulk actions.\n\n0.1.5\n-----\n#. Use photologue 2.6.praekelt\n\n0.1.4\n-----\n#. Generate slug optimization.\n\n0.1.3\n-----\n#. Refactored ModelBase.comment_count to resolve comments for leaf class or modelbase content types.\n\n0.1.2\n-----\n#. Generic form issues corrected.\n\n0.1.1\n-----\n#. Use django-photologue 2.5.praekelt\n\n0.1.0\n-----\n#. Improved generate_slug utils method.\n#. Removed ModelBaseAdminForm.\n\n", 
    "lcname": "jmbo", 
    "bugtrack_url": "", 
    "github": false, 
    "name": "jmbo", 
    "license": "BSD", 
    "summary": "The Jmbo base product introduces a content type and various tools required to build Jmbo products.", 
    "split_keywords": [], 
    "author_email": "dev@praekelt.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2017-06-22T14:21:27", 
            "comment_text": "", 
            "python_version": "2.7", 
            "url": "https://pypi.python.org/packages/16/b7/958fc71cd8d2b7146c99d06cec1b364af7a26a1b5d8db1fa0a37c287b6e8/jmbo-3.0.3-py2.7.egg", 
            "md5_digest": "c960a5e3660cd9185de3425565fcf20f", 
            "downloads": 0, 
            "filename": "jmbo-3.0.3-py2.7.egg", 
            "packagetype": "bdist_egg", 
            "path": "16/b7/958fc71cd8d2b7146c99d06cec1b364af7a26a1b5d8db1fa0a37c287b6e8/jmbo-3.0.3-py2.7.egg", 
            "size": 688643
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-06-22T14:21:21", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/98/17/37a4aada35096eb5cac1bb40c27b7062b7d2d70d834317a777d21164a446/jmbo-3.0.3.tar.gz", 
            "md5_digest": "1958ef28827f0a02661ea8944781f8ae", 
            "downloads": 0, 
            "filename": "jmbo-3.0.3.tar.gz", 
            "packagetype": "sdist", 
            "path": "98/17/37a4aada35096eb5cac1bb40c27b7062b7d2d70d834317a777d21164a446/jmbo-3.0.3.tar.gz", 
            "size": 581282
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}