Skip to main content

Widgy widgy widgy

Project description

Widgy: Tree Editor for Django

Build Status

Widgy is a content editor somewhat in the line of CKEditor. It is not a WYSIWYG editor though. Widgy is more suited than CKEditor for editing pages, as in a CMS because it allows you to edit specific parts of the page and those parts know how to render themselves. Whereas a WYSIWYG stores its data in HTML, Widgy stores it in a Tree where each node can render itself.

Widgy is available under the Apache Version 2.0 license. Contribute on github.

Documentation

Read Widgy’s documentation at http://docs.wid.gy.

Installation

Install with pip.

pip install django-widgy

When developing Widgy, it might be handy to clone the repository then install it.

git clone git://github.com/fusionbox/django-widgy
cd django-widgy
pip install -e .

Design Philosophy

Read about Widgy’s data model at http://docs.wid.gy/en/latest/design/data-model.html.

Contributing

There is a developers mailing list available at widgy@fusionbox.com

Running the Tests

make test

make test will run both the JavaScript and Python tests. To test one or the other, use make test-js or make test-py.

Coverage

Once coverage is installed (pip install coverage), the Makefile has two commands to help report on code coverage.

make coverage

will run the tests with coverage enabled and generate HTML coverage files.

make browser

will run the tests and open the coverage report in your web browser.

Changelog

0.2.0 (2014-08-04)

Changes

  • Widgy is now Apache Licensed

  • Breaking Change Use django-pyscss for SCSS compilation. [Rocky Meza, #175]

    Requires an update to the COMPRESS_PRECOMPILERS setting:

    COMPRESS_PRECOMPILERS = (
        ('text/x-scss', 'django_pyscss.compressor.DjangoScssFilter'),
    )

    You may also have to update @import statements in your SCSS, because django-pyscss uses a different (more consistent) rule for path resolution. For example, @import 'widgy_common' should be changed to @import '/widgy/css/widgy_common'

  • Added help_text to Section to help user avoid bug [Zach Metcalf, #135]

  • Allow UI to updated based on new data after reposition [Gavin Wahl, #199]

  • Changed Button’s css_classes in shelf [Rocky Meza, #203]

  • Added loading cursor while ajax is in flight [Gavin Wahl, #215, #208]

  • Get rid of “no content” [Gavin Wahl, #206]

  • Use sprites for the widget icons [Gavin Wahl and Rocky Meza, #89, #227]

  • Only show approve/unapprove buttons for interesting commits [Gavin Wahl, #228]

  • Updated demo app to have new design and new widgets [Justin Stollsteimer, Gavin Wahl, Antoine Catton and Rocky Meza, #129, #176]

  • Added cloning for WidgyPages [Gavin Wahl, #235]

  • Use a more realistic context to render pages for search [Gavin Wahl, #166]

  • Add default children to Accordion and Tabs [Rocky Meza, #238]

Bugfixes

  • Fix cursors related to dragging [Gavin Wahl, #155]

  • Update safe urls [Gavin Wahl, #212]

  • Fix widgy_mezzanine preview for Mezzanine==3.1.2 [Rocky Meza, #201]

  • Allow RichTextPage in the admin [Zach Metcalf, #197]

  • Don’t assume the response has a content-type header [Gavin Wahl, #216]

  • Fix bug with FileUpload having empty values [Rocky Meza, #217]

  • Fix urlconf_include login_required handling [Gavin Wahl, #200]

  • Patch fancybox to work with jQuery 1.9 [Gavin Wahl, #222]

  • Fix some import errors in SCSS [Rocky Meza, #230]

  • Fix restore page in newer versions of Mezzanine [Gavin Wahl, #232]

  • Use unicode format strings in review queue [Gavin Wahl, #236]

Documentation

  • Updated quickstart to cover south migrations with easy_thumbnails [Zach Metcalf, #202]

  • Added Proxy Widgy Model Tutorial [Zach Metcalf, #210]

0.1.6 (2014-09-09)

  • Fix migrations containing unsupported KeywordsField from mezzanine [Scott Clark]

  • Rename package to django-widgy

0.1.5 (2013-11-23)

  • Fix Widgy migrations without Mezzanine [Gavin Wahl]

  • Drop target collision detection [Gavin Wahl]

  • Fix Figure and StrDisplayNameMixin [Gavin Wahl]

  • Avoid loading review_queue when it’s not installed [Scott Clark]

  • Fix multi-table inheritance with LinkFields [Gavin Wahl]

0.1.4 (2013-11-04)

  • Add StrDisplayNameMixin

0.1.3 (2013-10-25)

  • Fix image widget validation with the S3 storage backend

0.1.2 (2013-10-23)

  • Fix Widgy admin for static files hosted on a different domain

0.1.1 (2013-10-21)

  • Adjust MANIFEST.in to fix PyPi install.

  • Fix layout having a unicode verbose_name

0.1.0 (2013-10-18)

First release.

Basic features:

  • Heterogeneous tree editor (widgy)

  • CMS (widgy.contrib.widgy_mezzanine)

  • CMS Plugins (widgy.contrib.urlconf_include)

  • Widgets (widgy.contrib.page_builder)

  • Form builder (widgy.contrib.form_builder)

  • Multilingual pages (widgy.contrib.widgy_i18n)

  • Review queue (widgy.contrib.review_queue)

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

django-widgy-0.2.0.tar.gz (1.6 MB view details)

Uploaded Source

File details

Details for the file django-widgy-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-widgy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e81d01c754fc05fcb5e5189bdbd0c5f0a2552c8f807096ca5bf2f42dd77c6d4c
MD5 984bc4cb7d6be1e93134d847fbf5ff00
BLAKE2b-256 f670304e78f5f27cae2a799761be9ea6aa1245c662b639dbe952ec3780cbd92f

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