Commit Graph

145 Commits

Author SHA1 Message Date
Patrick Gerken 5cfe8d8670 The LookupError lets one think that the database is missing an object, but in reality the select criterias are wrong 2012-05-29 19:59:41 +03:00
Kai Lautaportti f7110cc930 Added Finnish (fi) translation. 2012-05-11 15:33:06 +03:00
Maurits van Rees ddbe010642 recursive-include docs in MANIFEST.in 2012-03-06 22:04:23 +01:00
Maurits van Rees fbf56d5154 By default filter out nodes that are not selectable and not folderish.
This can be overridden on the widget by setting show_all_nodes to True.
2012-03-06 20:09:00 +01:00
Maurits van Rees 5163112c72 Added Dutch translation. 2012-03-01 17:09:25 +01:00
David Glick c9a08aec1a vb 2012-02-20 19:24:25 -08:00
David Glick 8eb4b8dee6 Prepare plone.formwidget.contenttree 1.0.5. 2012-02-20 19:23:15 -08:00
hvelarde 51272b9297 updated HISTORY file 2011-12-16 09:44:59 -06:00
hvelarde 1d4de17ac2 added Spanish translation 2011-12-14 14:53:12 -06:00
Gaudenz Steinlin 77d638ac7c Exclude *.py? and egg-info from git 2011-12-12 13:47:59 +01:00
Nathan Van Gheem 66f1858736 Prepare plone.formwidget.contenttree 1.0.4. 2011-10-04 11:49:53 -05:00
Nathan Van Gheem 9c97e00245 fix _getBrainByValue to check if value is traversable
first so we can provide the correct token.
2011-10-03 20:36:34 -05:00
Nathan Van Gheem d1dff47768 update url 2011-10-03 19:57:36 -05:00
David Glick b97468ce76 vb 2011-09-24 13:07:20 -07:00
David Glick 1aac88964c Prepare plone.formwidget.contenttree 1.0.3. 2011-09-24 13:06:20 -07:00
Jian Aijun 583d8ae289 add zh_CN translation
svn path=/plone.formwidget.contenttree/trunk/; revision=51033
2011-07-05 00:49:22 +00:00
David Glick 6fefa26970 Prepare plone.formwidget.contenttree 1.0.2.
svn path=/plone.formwidget.contenttree/trunk/; revision=50897
2011-07-02 18:47:14 +00:00
David Glick dac7777534 fix for old jquery
svn path=/plone.formwidget.contenttree/trunk/; revision=50896
2011-07-02 18:33:58 +00:00
Laurence Rowe ef9f1a2b0e Prepare plone.formwidget.contenttree 1.0.1.
svn path=/plone.formwidget.contenttree/trunk/; revision=49659
2011-05-16 16:10:38 +00:00
Jamie Lentin 578ef5bd7f Make placeholder terms for hidden / missing items
svn path=/plone.formwidget.contenttree/trunk/; revision=49657
2011-05-16 15:49:44 +00:00
Jamie Lentin 601d12720a Remove caching of bound_source, this can cache across requests
svn path=/plone.formwidget.contenttree/trunk/; revision=49656
2011-05-16 15:20:57 +00:00
Jamie Lentin 4912d64543 Try getSite over the context of PUBLISHED, since during transmogrify.dexterity import this test results in <Application >, which isn't good enough as a context
svn path=/plone.formwidget.contenttree/trunk/; revision=49639
2011-05-16 11:44:35 +00:00
Maurits van Rees a633d724dc Fake zope.globalrequest.getRequest when it cannot be imported (as in Plone 3).
svn path=/plone.formwidget.contenttree/trunk/; revision=49589
2011-05-14 01:57:08 +00:00
Maurits van Rees df5f13d933 Use unrestrictedSearchResults to search for a UID in the catalog in the UUIDSource, as at this point it may be impossible be authenticated.
Avoids exceptions in validation when as Manager having selected a private item.

svn path=/plone.formwidget.contenttree/trunk/; revision=49519
2011-05-13 14:22:39 +00:00
Maurits van Rees 7061256a46 Add some more defenses against uids or brains that are not found.
svn path=/plone.formwidget.contenttree/trunk/; revision=49518
2011-05-13 13:55:39 +00:00
Maurits van Rees 1d2812a29d In the UUIDSource warn when a brain has no UID value (Missing.Value).
svn path=/plone.formwidget.contenttree/trunk/; revision=49411
2011-05-11 12:04:40 +00:00
Maurits van Rees 1aaeba25f3 Catch IndexError when checking if a value is in a source (like when no results are found for a uuid).
svn path=/plone.formwidget.contenttree/trunk/; revision=49409
2011-05-11 10:41:12 +00:00
Maurits van Rees 43a186e30b Hi. My name is Maurits and I am a pep8 fetishist. [From the annals of the pep8 fetishists anonymous support group.]
svn path=/plone.formwidget.contenttree/trunk/; revision=49408
2011-05-11 10:19:31 +00:00
Maurits van Rees 3acd4f6960 Fixed undefined name 'token'.
svn path=/plone.formwidget.contenttree/trunk/; revision=49407
2011-05-11 10:16:26 +00:00
Jamie Lentin 375702d539 Use javascript function from plone.formwidget.autocomplete to add new input boxes. Just use full widget name in ++widget++ URL
svn path=/plone.formwidget.contenttree/trunk/; revision=49401
2011-05-10 13:20:57 +00:00
Jamie Lentin 0bcebf7378 Change UUIDSource so it uses path tokens too
svn path=/plone.formwidget.contenttree/trunk/; revision=49400
2011-05-10 13:20:38 +00:00
Jamie Lentin e7b47cc6b9 Add more cases for finding context. Workaround for sources being used without being bound first
svn path=/plone.formwidget.contenttree/trunk/; revision=49399
2011-05-10 13:20:22 +00:00
Jamie Lentin 27b541ac54 Check the request for context before falling back to getSite()
svn path=/plone.formwidget.contenttree/trunk/; revision=49398
2011-05-10 13:20:08 +00:00
Jamie Lentin f36ee3910a Handy comment
svn path=/plone.formwidget.contenttree/trunk/; revision=49396
2011-05-09 15:09:17 +00:00
Jamie Lentin b10a9b02c2 Add comment that reflects the other changes in this set
svn path=/plone.formwidget.contenttree/trunk/; revision=49395
2011-05-09 15:08:59 +00:00
Jamie Lentin a23f0d3120 Add a UUIDSource that has plone.uuid values. Refactor so public methods have public names
svn path=/plone.formwidget.contenttree/trunk/; revision=49394
2011-05-09 15:08:44 +00:00
Jamie Lentin 8d9598a414 Alter terms so that token is the full path to an item
svn path=/plone.formwidget.contenttree/trunk/; revision=49393
2011-05-09 15:08:22 +00:00
Jamie Lentin e91be6e44b Copy-paste code from right place
svn path=/plone.formwidget.contenttree/trunk/; revision=49392
2011-05-09 15:08:00 +00:00
Jamie Lentin 78a70122de Move term-to-path generation out of templates
svn path=/plone.formwidget.contenttree/trunk/; revision=49391
2011-05-09 15:07:42 +00:00
Jamie Lentin 5659d92e63 Look up root during event, don't save it
svn path=/plone.formwidget.contenttree/trunk/; revision=49390
2011-05-09 15:07:23 +00:00
Jamie Lentin 024d0860dd _filter is used outside the source, so not an internal helper function anymore.
svn path=/plone.formwidget.contenttree/trunk/; revision=49347
2011-05-06 16:35:31 +00:00
David Glick 759eca17a3 vb
svn path=/plone.formwidget.contenttree/trunk/; revision=49211
2011-04-30 18:28:58 +00:00
David Glick c10c3595b6 Prepare plone.formwidget.contenttree 1.0.
svn path=/plone.formwidget.contenttree/trunk/; revision=49209
2011-04-30 18:28:09 +00:00
Maurits van Rees 199e74300b Made compatible with Plone 4.1 by loading the permissions.zcml from
Products.CMFCore (only when plone.app.upgrade is available, to keep
compatibility with Plone 3, if we currently have that).

svn path=/plone.formwidget.contenttree/trunk/; revision=48962
2011-04-19 15:03:07 +00:00
David Glick 625ee32f42 improve CSS
svn path=/plone.formwidget.contenttree/trunk/; revision=48908
2011-04-16 17:46:22 +00:00
David Glick 295692dbf3 add content type CSS class (fixes icons)
svn path=/plone.formwidget.contenttree/trunk/; revision=48907
2011-04-16 17:11:42 +00:00
Maurits van Rees 4d4a59926a Some pep8 and pyflakes in source.py
svn path=/plone.formwidget.contenttree/trunk/; revision=48762
2011-04-12 21:01:22 +00:00
Maurits van Rees c8eb06db3d Removed a few unused lines from navtree.py (and minor pyflakes improvements)
svn path=/plone.formwidget.contenttree/trunk/; revision=48750
2011-04-12 15:38:52 +00:00
Maurits van Rees e57d420bad Nuke trailing white space.
svn path=/plone.formwidget.contenttree/trunk/; revision=48748
2011-04-12 15:26:54 +00:00
Laurence Rowe bfdb7c3f33 Prepare plone.formwidget.contenttree 1.0b3.
svn path=/plone.formwidget.contenttree/trunk/; revision=47470
2011-02-11 17:31:14 +00:00