Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reviewed Additional Javascript Tests #247

Open
wants to merge 1,016 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1016 commits
Select commit Hold shift + click to select a range
fedc37a
unsafe HTML widget icon
justinstollsteimer Jul 10, 2013
91e078e
form styles for top-node editors
justinstollsteimer Jul 10, 2013
0f128f7
Make qs argument optional in PatchUrlconfMiddleware.get_urlconf
gavinwahl Jul 12, 2013
0aa8360
reorganized documentation
Jul 12, 2013
f035b98
Make FormSuccesHandler draggable
acatton Jul 15, 2013
ece0362
Preserve submit-button data in popup forms
gavinwahl Jul 15, 2013
a243efb
Add get_action_links to Widgy owners
gavinwahl Jul 5, 2013
904847b
Fixed L10N CommitForm bug.
Jul 17, 2013
79c15cf
Move require.js's data-main configuration script inline
gavinwahl Jul 18, 2013
4018690
Add prefetch_related to SelectRelatedManager
gavinwahl Jul 19, 2013
dea170e
widgy site api docs
gavinwahl Jul 20, 2013
ee8c30d
update review queue with changes from get_action_links and get_owners
gavinwahl Jul 20, 2013
86a5af8
template tags
gavinwahl Jul 20, 2013
ffa4d93
Fix the authorize test and remove UnauthenticatedWidgySite
gavinwahl Jul 22, 2013
f2a2c5f
worked on documentation (specifically api/models)
Jul 23, 2013
6eeb021
We need pages_page to exist before creating an FK to it
gavinwahl Jul 24, 2013
d1804e5
Don't monkey patch get_templates_hierarchy at top level
gavinwahl Jul 25, 2013
44595ad
Memoize select_template, and a render_to_string that uses it
gavinwahl Jul 25, 2013
fb1af0d
Don't wait for rendering to finish before fetching compatibility
gavinwahl Jul 26, 2013
2aa7f78
Add a loading spinner while the Widgy editor is rendering
gavinwahl Jul 26, 2013
9250613
Better shelf placeholders
gavinwahl Jul 26, 2013
46227ce
Fix CSS on CKEditor in HTML widget
acatton Jul 24, 2013
6258fcd
Use the require.js optimizer
gavinwahl Jul 27, 2013
686e819
Fix css paths to make it work with CachedStaticFilesStorage
gavinwahl Jul 27, 2013
74822b9
cachebust require.js in development
gavinwahl Jul 28, 2013
5e05d68
added sorl.thumbnail to demo's INSTALLED_APPS
zmetcalf Jul 30, 2013
e968fa2
Youtube video IDs can have dashes
gavinwahl Jul 30, 2013
971c9ed
Merge branch 'require'
Jul 30, 2013
b3dfd44
node api
gavinwahl Jul 31, 2013
08b565b
populate_review_queue
gavinwahl Jul 31, 2013
beac901
preserve sphinx theme license
gavinwahl Jul 31, 2013
7127734
widgy_mezzanine quickstart tutorial
gavinwahl Jul 31, 2013
bb51f7b
no need to use {outfile} for pyscss
gavinwahl Jul 31, 2013
ef42a96
not really built on treebeard
gavinwahl Jul 31, 2013
29bf1f3
Use CKEditor instead of Markdown/Pagedown for email content
gavinwahl Aug 1, 2013
ece1069
Add an 'include_form_data' option to EmailSuccessHandlers
gavinwahl Aug 1, 2013
d4cddae
Fix error when `to_ident` is blank in a EmailUserHandler
gavinwahl Aug 1, 2013
c8c1b8d
include_form_data needs a default
gavinwahl Aug 1, 2013
c12edaa
Rewrite settings to use Django 1.6 style
gavinwahl Aug 2, 2013
2d7ff97
Add published method on VersionTracker queryset
acatton Jul 18, 2013
4c16930
more complete url example
gavinwahl Aug 2, 2013
887b9c0
PEP-8 compliance fix
acatton Jul 19, 2013
93c8c48
Refactor tests in order to use custom widgy sites
acatton Jul 19, 2013
86285a1
Add test for VersionTracker.objects.published()
acatton Jul 19, 2013
c64c992
Merge remote-tracking branch 'origin/get-publish-commits'
Aug 2, 2013
212d62f
Fix the FormBuilder markdown2html migration
Aug 2, 2013
0b43f19
Run migrations on Travis
gavinwahl Aug 2, 2013
b5a0171
Added staticfiles
zmetcalf Aug 2, 2013
f1b4463
Merge pull request #95 from zmetcalf/master
gavinwahl Aug 2, 2013
a50f4aa
preserve undo support in review queue for django < 1.5
gavinwahl Aug 2, 2013
6d23387
note about undo support
gavinwahl Aug 2, 2013
011882d
Missing staticfiles
zmetcalf Aug 3, 2013
cc481de
Improve error reporting
gavinwahl Aug 1, 2013
50af146
remove cachebuster requirement
gavinwahl Aug 5, 2013
fb20505
clarify form_builder installation and contract
gavinwahl Aug 5, 2013
c38ab6e
Merge branch 'documentation'
gavinwahl Aug 5, 2013
9d49d50
Modernize the README
gavinwahl Aug 5, 2013
0e1f712
setup.py needs to use renamed readme
gavinwahl Aug 6, 2013
b62be43
require.js optimizer tutorial
gavinwahl Aug 6, 2013
c8dde36
Make UrlconfIncludePages linkable
gavinwahl Aug 7, 2013
f65b2a5
Fix the memory leak in urlconf_include
gavinwahl Aug 7, 2013
74f07cc
Make sure to uncache our urlconf even if it has been overridden.
Aug 8, 2013
6e7b9f1
Recheck compatibility when repositioning
gavinwahl Jul 30, 2013
b8d6a68
Merge branch 'urlconf_leak'
gavinwahl Aug 8, 2013
f50b791
fix viewcode
gavinwahl Aug 8, 2013
9a262b7
prefetch_trees does a node query for each tree, correct query count
gavinwahl Aug 8, 2013
a09d68b
overview of the Makefile's coverage helpers
gavinwahl Aug 9, 2013
302ca9f
Added a Your First Widget tutorial
Aug 9, 2013
392401e
Widgets can have help_text tooltips
gavinwahl Aug 8, 2013
1efd781
improve the first widget tutorial
gavinwahl Aug 9, 2013
9343ee4
rm [frontend backbone] template caching
gavinwahl Jul 26, 2013
ad012dc
Add the ability to link to external pages
acatton Aug 13, 2013
793e511
Remove django-fusionbox dependency in setup.py
acatton Jul 31, 2013
b752156
Move requirements file in demo site
acatton Jul 31, 2013
03f975d
Remove fusionbox internal fabfile
acatton Jul 31, 2013
48c88ff
Remove django-fusionbox from requirements.txt file
acatton Jul 31, 2013
14bf8b3
Remove widgy.contrib.replacements module
gavinwahl Jul 31, 2013
c6599e2
Get rid of fusionbox.behaviors dependency
acatton Jul 31, 2013
1080098
Remove fusionbox.core from the demo site INSTALLED_APPS
acatton Jul 31, 2013
b1c4ac8
Remove dependency from django-fusionbox QuerySetManager
acatton Aug 1, 2013
2655835
Add phonenumbers dependency to setup.py for PhoneNumberField
acatton Aug 5, 2013
120263e
Copy PhoneNumberField into widgy
gavinwahl Aug 1, 2013
80f9095
Switch from django-fusionbox to django-argonauts
acatton Aug 5, 2013
66166e5
Get rid of fusionbox_tags dependency
acatton Aug 5, 2013
11ec8fc
Rename help_text to tooltip, because of conflict with FormField.
Aug 14, 2013
b11c6bb
Added a bunch of tooltips.
Aug 14, 2013
ef80bd3
Add salesforce's web to lead mapper
acatton Jun 25, 2013
6e8f016
salesforce icons, shelfitem positioning updated
justinstollsteimer Jun 28, 2013
f1415b5
Fix button order
Aug 14, 2013
7f89239
Merge pull request #75: Add salesforce's web to lead mapper
acatton Aug 15, 2013
8fc2cdc
Remove double link registration
acatton Aug 15, 2013
0f6c2c0
Use BeautifulSoup 4
acatton Aug 5, 2013
3e22cde
Use widgy queryset on ReviewedVersionCommit
acatton Aug 5, 2013
406fa69
Add django argonauts dependency
acatton Aug 5, 2013
ce881e1
Remove fusionbox.middleware.GenericTemplateFinderMiddleware dependency
acatton Aug 14, 2013
07a2a09
Get rid of django-fusionbox in the documentation
acatton Aug 14, 2013
884d6f3
Remove django-fusionbox dependency
gavinwahl Aug 16, 2013
e1ab15d
Use our version of Mezzanine on Django 1.6
gavinwahl Aug 16, 2013
acb4b48
Issue #109 - A tab is now selected after a tab is deleted.
zmetcalf Aug 2, 2013
8496bbb
Merge pull request #120 from zmetcalf/tabbed-widget-issue-109
gavinwahl Aug 20, 2013
f680f07
Issue #107 - Added help_text to explain how to use choices for radio …
zmetcalf Aug 21, 2013
cbe6ba3
Created set method for ViewList to make list more private - Changed s…
zmetcalf Aug 21, 2013
7dafb92
Tests for PhoneNumberField - contrib.form_builder.forms
zmetcalf Aug 24, 2013
c3f548d
Merge pull request #126 from zmetcalf/coverage_test
gavinwahl Aug 28, 2013
8b9b4f2
first edit on home page
agroth Aug 30, 2013
f866d45
Git is lowercase only in the logo. In text it is uppercase.
agroth Sep 22, 2013
212c3eb
copyedits to design section
agroth Sep 22, 2013
24aaea8
Fix form redirection
acatton Sep 23, 2013
71ba700
no more red h2s
justinstollsteimer Sep 13, 2013
01dd3b6
Merge branch 'doc_edits'
agroth Oct 16, 2013
10e47f6
Version 0.1.0
acatton Oct 17, 2013
3f325fc
Prepare 0.2.0
acatton Oct 17, 2013
9f0ebbd
Merge branch 'master' of github.com:fusionbox/django-widgy
agroth Oct 18, 2013
f665460
Fix layouts having unicode in their verbose names
acatton Oct 18, 2013
de878e1
Fixed MANIFEST.in to include things that were missing
Oct 19, 2013
767d1e6
Beef up the setup information
Oct 19, 2013
e968838
Added documentation about making WidgyPage the default
Oct 19, 2013
6ceec0a
Merge branch 'fix_setup'
gavinwahl Oct 19, 2013
5b3e6c1
update CHANGELOG.rst for 0.1.1 release
Oct 21, 2013
ae5c65a
Change setup.py STAGE declaration to allow easier merges from master
Oct 21, 2013
37807b5
Fix Widgy Admin for website hosted on heroku using amazon s3
acatton Oct 23, 2013
1689294
Changelog wasn't complete for the version 0.1.1
acatton Oct 23, 2013
56c87d5
Update Changelog for 0.1.2
acatton Oct 23, 2013
4527132
Some storage backend don't implement file.path
acatton Oct 25, 2013
5a981e5
commit_preview.html assumed presence of staticfiles.
Oct 25, 2013
f8a0c80
Merge branch 'add_tooltips'
Oct 31, 2013
755c48d
Added help_text for Issue #59 to help user avoid bug
zmetcalf Nov 3, 2013
1af0b60
Added FormInput.type to div container.
Nov 3, 2013
5288df8
mailing list link
gavinwahl Oct 30, 2013
202ea7f
Meta classes should be before methods but after fields
Nov 5, 2013
0b29649
Added StrDisplayNameMixin to many widgets.
Nov 5, 2013
b289edb
fix the tests on django 1.6
gavinwahl Nov 5, 2013
4964243
Fix multi-table inheritance with LinkFields
gavinwahl Nov 4, 2013
6733350
IE doesn't have window.scrollY
gavinwahl Nov 8, 2013
ab5a82a
use scrollBy instead of scrollTop+=
gavinwahl Nov 7, 2013
e54854e
User delete querying nonexistent reviewqueue
Nov 8, 2013
ede08db
__str__ can't return None
gavinwahl Nov 8, 2013
d5df8b3
use the master branch for the travis badge
gavinwahl Nov 8, 2013
769cbb0
Updated demo for url depreciation
zmetcalf Nov 10, 2013
7130cbe
widget component belongs in widgy, not in page_builder
gavinwahl Nov 13, 2013
e3c9961
Manually squash Widgy's first two migrations
gavinwahl Nov 13, 2013
21bf13f
Drop target collision detection
gavinwahl Nov 1, 2013
7ee9e85
Fix #121 - Generate form success key from ident, not pk
gavinwahl Aug 21, 2013
ef41351
check to for empty string before returning
Dec 4, 2013
7e72192
buttons should prefetch their links
gavinwahl Dec 10, 2013
bddc70a
widgy commit popup form style
justinstollsteimer Sep 30, 2013
5c9234b
Capitalize option group names in LinkField choices
Dec 7, 2013
d1374d7
Blank strings eval to False
Dec 19, 2013
0430e56
Revert "form rendering quickfix"
gavinwahl Dec 10, 2013
9efdf48
no need to fetch the user when just checking for existence
gavinwahl Dec 4, 2013
fd483c5
Fix inheritance for LinkFields
gavinwahl Dec 16, 2013
64320f4
Fixed the pop-out view.
Dec 28, 2013
88265ea
Restructured the backend SCSS.
Dec 28, 2013
ae893f1
Fixed global usage of $ in tabbed component
zmetcalf Jan 3, 2014
20a9241
Preserve formfields' default widgets in widgy forms
gavinwahl Dec 24, 2013
24a5fb4
run js tests on travis
gavinwahl Nov 9, 2013
a86fbec
Make CKEditorWidget work without require.js
gavinwahl Jan 8, 2014
bb2e21e
Add 'owner' links on the history page and the form submissions page
gavinwahl Jul 22, 2013
1862ffc
mezzanine_base should extend layout_base
gavinwahl Aug 3, 2013
41c1bab
Merge pull request #112 from fusionbox/first_widget
acatton Jan 28, 2014
ad53868
Merge pull request #138 from fusionbox/forminput_div_class
acatton Jan 28, 2014
7960d8e
Ensure deletion of child elements when deleting a Node.
Nov 3, 2013
7aa7ec8
Revert "Add 'owner' links on the history page and the form submission…
acatton Jan 28, 2014
64a7519
Test blank to email returns empty list
Jan 29, 2014
9c65343
better sticky shelf
gavinwahl Nov 9, 2013
4aac393
Make ImageField public
gavinwahl Aug 9, 2013
73165f8
fixing small bugs in the refactored CSS, returning to original theme
justinstollsteimer Jan 24, 2014
a95f7ab
Merge branch 'scss_refactor'
Feb 7, 2014
d2f5380
Remove unsupported schema fields from migrations
Feb 11, 2014
cfbe1fc
Use django-pyscss for compiling the scss files.
Feb 12, 2014
24bd566
new docs url
gavinwahl Feb 13, 2014
bb91717
Remove KeywordsField from urlconf_include
acatton Feb 14, 2014
b3722eb
Added static root to demo settings Issue #182
zmetcalf Feb 14, 2014
136ca48
Add some missing jquery dependencies
gavinwahl Feb 18, 2014
7f1a9ea
Fix template caching when developing
acatton Feb 24, 2014
089b75f
ckeditor 4.1 -> 4.3
gavinwahl Mar 5, 2014
8af68ae
Merge pull request #164 from fusionbox/emailsuccesshandler_send_to
gavinwahl Mar 5, 2014
d332088
put the 'commit and approve' button in the revert form too
gavinwahl Mar 5, 2014
6da8ec8
Merge remote-tracking branch 'origin/jquery-dep'
Mar 11, 2014
ba1a084
Fixed the missing icons in CKEditor.
Mar 11, 2014
21c1c38
Use a SortedDict for form fields to preserve order
gavinwahl Mar 5, 2014
7808cbd
Fixing small bugs in the refactored CSS, returning to original theme
justinstollsteimer Mar 11, 2014
c9170ca
Merge branch 'update-ckeditor'
gavinwahl Mar 11, 2014
262dd97
Fixes a handful of display issues on form editors
justinstollsteimer Mar 17, 2014
3139b18
Fixes a handful of display issues on form editors
justinstollsteimer Mar 17, 2014
23239f0
File uploads in form builder
gavinwahl Mar 5, 2014
1097292
django-pycss changelog entry
gavinwahl Mar 17, 2014
42a0fb8
Merge branch 'django-pyscss'
gavinwahl Mar 18, 2014
2c3b7d1
always use the most recent minor versions of django
gavinwahl Mar 11, 2014
7f74e88
don't need the patched mezzanine any more
gavinwahl Mar 12, 2014
f2fde6c
use mezzanine that works on 1.4
gavinwahl Mar 17, 2014
55e99f7
Use a bytestring for the file content
gavinwahl Mar 18, 2014
32cb609
Fixed test issues with fixto.js
Mar 21, 2014
c452590
Merge branch 'travis'
gavinwahl Mar 21, 2014
bbf485b
Require django-compressor>=1.3 for django-pyscss.
Mar 24, 2014
419e431
Merge pull request #195 from fusionbox/compressor-1.3.0
gavinwahl Mar 28, 2014
85e1002
Drag cursors
gavinwahl Mar 28, 2014
a4b0830
Index the URL of the WidgyPage.
Mar 29, 2014
af99224
rename package to django-widgy
gavinwahl Apr 9, 2014
a92e603
get the changelog from the stable branch
gavinwahl Apr 9, 2014
4b66b2f
widgy does have a release
gavinwahl Apr 9, 2014
7db80b2
use the apache license
gavinwahl Apr 10, 2014
a8704a6
changed copyright year
May 7, 2014
7978d92
Send the node/content data when repositioning
gavinwahl Apr 24, 2014
75c05be
Merge remote-tracking branch 'zmetcalf/issue#59-tabs-with-same-title'
gavinwahl May 20, 2014
a1d6b0e
update safe urls based on https://www.djangoproject.com/weblog/2014/m…
gavinwahl May 20, 2014
19f9568
Updated quickstart to cover south migrations with easy_thumbnails
zmetcalf May 5, 2014
9dba981
Fix widgy_mezzanine preview for Mezzanine==3.1.2
May 4, 2014
a8fa3b7
Added tests for the preview view bugfixes.
May 4, 2014
6291ec0
Cursors for tabs
gavinwahl May 21, 2014
605ff47
Merge pull request #202 from zmetcalf/update_quickstart
gavinwahl May 23, 2014
baab295
Update Docs for using widgy on existing mezzanine
zmetcalf Apr 22, 2014
0ea8360
Merge pull request #197 from zmetcalf/mezz_to_widgy
gavinwahl May 27, 2014
c639ba5
Added get_css_classes to the Content model.
May 11, 2014
ec08c81
Button css_classes have changed.
May 11, 2014
627d0c7
Merge branch 'drag-cursor'
May 28, 2014
c1b7805
Merge pull request #201 from fusionbox/mezz312-preview
gavinwahl May 28, 2014
e0dfd18
Merge pull request #203 from fusionbox/buttonWidget
gavinwahl May 29, 2014
5beb69f
Added ability to add classes to FormField Input - added tutorial on p…
zmetcalf May 19, 2014
1842ed2
Merge pull request #210 from zmetcalf/proxy_widget
gavinwahl May 30, 2014
28fc29c
Don't assume the response has a content-type header
gavinwahl Jun 3, 2014
119a4e7
Fixed bug with FileUpload and empty values.
Jun 10, 2014
069d081
Add a loading cursor while ajax is in flight
gavinwahl Jun 3, 2014
fb64628
Render the working_copy if there is no published node
gavinwahl Jun 6, 2014
563c2f0
Merge pull request #217 from fusionbox/empty_file_field_error
gavinwahl Jun 10, 2014
a1bdf38
preserve pip errors so travis reports install failures better
gavinwahl Jun 26, 2014
cffd024
Fix urlconf include login_required handling
gavinwahl Apr 29, 2014
d337038
Patch fancybox to work with jQuery 1.9
gavinwahl Jun 26, 2014
da2d714
Merge branch 'travis-install-failure'
Jul 8, 2014
1168dd5
Adding in additional javascript tests
zmetcalf Sep 4, 2013
66b9c1c
Review of Javascript tests
Jul 18, 2014
bd27197
Simplified draggablewview tests
zmetcalf Aug 26, 2014
245eaaf
Moved root_node_setup to this
zmetcalf Aug 26, 2014
9c9f717
Made additional changes to test_modal
zmetcalf Aug 26, 2014
f6ed50a
Fixed additional asserts on div.modal
zmetcalf Aug 26, 2014
89f526a
Removed unnessisary tests
zmetcalf Aug 26, 2014
0ffbd73
Changed test_widget_component to be a better test
zmetcalf Aug 26, 2014
8841136
Removed should handleKeypress
zmetcalf Aug 26, 2014
58ee009
fixed initialize working on renderPromise
zmetcalf Aug 26, 2014
2770911
Fixed RenderPromise with Rocky help
zmetcalf Aug 26, 2014
56ed0fd
Cleaned up a bunch of app_view tests
zmetcalf Aug 26, 2014
a29ff8b
Removed a bunch of bad tests in nodeview
zmetcalf Aug 28, 2014
d3cecf1
Added in some of Rocky's changes
zmetcalf Aug 28, 2014
83d5968
Changed compatibility in test
zmetcalf Aug 28, 2014
8f931d3
Fixed Rocky suggestion on test_modal
zmetcalf Aug 28, 2014
290c5da
Renamed DraggableView
zmetcalf Sep 23, 2014
79d2050
Fixed some errors Rocky pointed out
zmetcalf Sep 23, 2014
d1f384c
Removed and updated Rocky's from his suggestions
zmetcalf Sep 23, 2014
3761efa
Removed test that needs DOM
zmetcalf Sep 23, 2014
9cfcdf2
Fixed more errors
zmetcalf Sep 24, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ sqlite_database
src/
static/*
media/*
demo/media/*
!.gitkeep
.sass-cache/
tmp/
settings_local.py
build/
tags
dist/
*.egg-info/
CACHE/
.tox/
tests/.coverage
tests/coverage_html/
js_tests/node_modules
55 changes: 55 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
language: python
python:
- "2.7"
- "2.6"
env:
global:
- SOUTH_TESTS_MIGRATE=1
matrix:
- DATABASE_ENGINE=sqlite DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.5.x.zip
- DATABASE_ENGINE=sqlite DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.zip
- DATABASE_ENGINE=sqlite DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
- DATABASE_ENGINE=postgres DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.5.x.zip
- DATABASE_ENGINE=postgres DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.zip
- DATABASE_ENGINE=postgres DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
- DATABASE_ENGINE=mysql DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.5.x.zip
- DATABASE_ENGINE=mysql DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.zip
- DATABASE_ENGINE=mysql DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
matrix:
include:
- python: "2.7"
env: JAVASCRIPT=1
install: |
set -e
if [ -z "$JAVASCRIPT" ]
then
pip install --upgrade pip
pip install -q $DJANGO_PACKAGE --use-mirrors
pip install -q --use-mirrors mock

if [ "$DATABASE_ENGINE" = "mysql" ]
then
pip install -q --use-mirrors MySQL-python
fi

if [ "$DATABASE_ENGINE" = "postgres" ]
then
pip install -q --use-mirrors psycopg2
fi
pip install --use-mirrors .
if echo "$DJANGO_PACKAGE" | grep -q '1.4.x'
then
pip install --use-mirrors -e git://github.com/stephenmcd/mezzanine@5dde99cd68b3ce5118b68#egg=mezzanine
fi
pip freeze
fi
before_script:
- psql -c 'create database widgy;' -U postgres
- mysql -e 'create database widgy;'
script: |
if [ -z "$JAVASCRIPT" ]
then
make test-py
else
make test-js
fi
70 changes: 70 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Changelog
=========

0.2.0
-----

* Use django-pyscss_ for SCSS compilation. 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'``

.. _django-pyscss: https://github.com/fusionbox/django-pyscss

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``)
189 changes: 189 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
Copyright (c) Fusionbox and contributors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include README.rst CHANGELOG.rst LICENSE Makefile tox.ini
recursive-include widgy *
recursive-include tests *.py
recursive-include docs *
prune docs/_build
global-exclude *.pyc
41 changes: 41 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
JS_FILES?=`find ./js_tests/tests -type f -name '*.js'`

test: test-py test-js

test-py:
cd tests && $(COVERAGE_COMMAND) ./runtests.py --settings=test_multidb --verbosity=2 $(TESTS)

coverage:
+make test-py COVERAGE_COMMAND='coverage run --source=widgy'
cd tests && coverage html --omit='../widgy/migrations/*,../widgy/contrib/*/migrations/*'

browser: coverage
sensible-browser tests/coverage_html/index.html

js_tests/node_modules: js_tests/package.json
cd js_tests && npm install .

test-js: js_tests/node_modules
./js_tests/node_modules/mocha/bin/mocha \
-s 5 \
--reporter spec \
$(JS_FILES)

widgy/locale/en/LC_MESSAGES/django.po: $(shell find . -type f -iregex '.*\.\(html\|py\|md\)$$' | grep -v .tox)

cd widgy && django-admin.py makemessages -l en

widgy/locale/xx_pseudo/LC_MESSAGES/django.po: widgy/locale/en/LC_MESSAGES/django.po
-rm -r "`dirname $@`"
potpie $< $@

widgy/locale/xx_pseudo/LC_MESSAGES/django.mo: widgy/locale/xx_pseudo/LC_MESSAGES/django.po
cd widgy && django-admin.py compilemessages

t10n: widgy/locale/xx_pseudo/LC_MESSAGES/django.mo

docs:
cd docs && $(MAKE) html


.PHONY: test coverage browser test-py test-js docs
Loading