1. Hugh Perkins
  2. moin-2.0

Commits

Show all
Author Commit Message Date Builds
Thomas Waldmann
merged
xiaq
Make RegistryContent.register accept an Entry and group name for slightly cleaner code.
Thomas Waldmann
cosmetic changes to constants.itemtypes
xiaq
Replace ITEMTYPES with information collected in item_registry.
Reimar Bauer
_ui_tests: skip if wiki server is not running
xiaq
Add several missing semicolons of   in templates.
xiaq
Replace CONTENTTYPE_GROUPS with information collected in content_registry.
xiaq
Separate "directory" and "file" items in the index view.
xiaq
Fix rendering of descriptions of multi_select widget.
xiaq
Add @timed() to several methods of Item related to index view.
Thomas Waldmann
docs: fix markup errors, remove some TODOs
Reimar Bauer
_ui_tests: skip if selenium is not installed
Reimar Bauer
test_subitem: unused selenium import removed
Hugh Perkins
created a first selenium test, specifically of adding subitems to an item
Roger Haase
add auto-scroll edit textarea after doubleclick; auto-scroll show page after edit
Thomas Waldmann
make whoosh storage type and params configurable, updated docs Currently it only supports: index_storage = 'FileStorage', (index_dir, ), {} But it is now easy to add other types of whoosh storages, see MoinMoin/storage/middleware/indexing.py (search for WHOOSH_FILESTORAGE).
Thomas Waldmann
indexing: move creation of the whoosh storage object to get_storage method this way, we can more easily support other whoosh storage backends, currently only FileStorage is supported. added some notes about backend-specific methods of the indexing middleware. removed some exception handler that might be too specific for everything else than the FileStorage backend.
Thomas Waldmann
whoosh: do not use convenience functions open_dir and create_in these whoosh convenience functions are hardcoded to just support the FileStorage (stores the whoosh index into a filesystem directory). if we want to use another whoosh backend, we can't use them. this first and quite simple changeset only replaces: create_in(...) -> storage = FileStorage(dir) ; storage.create_index(schema, name) open_dir(...) -> storage = FileStorage(dir) ; storage.open_index(na…
Thomas Waldmann
add 'pubread' capability/permission (needs index rebuild!) read means to be able to read revision data, unconditionally pubread means to be able to read revision data when published moved PTIME from blog-specific to common fields, because of this an index rebuild is required.
Thomas Waldmann
support giving multiple capabilities to require(), one of them must be permitted for it to succeed
Thomas Waldmann
use ACL_RIGHTS_CONTENTS constant, don't hardcode the value
Reimar Bauer
removed unused lock import, see also changeset 1769:a759603dd5d4
Reimar Bauer
macro data_editor needs item_name as parameter so we can use it in all kind of contentypes
Reimar Bauer
drawing applets don't send itemtype
Thomas Waldmann
SecurityPolicy: some simplifications and cleanups change the config default from None (which triggered the use of the default security policy class) to directly put the default security policy class there. renamed "Permissions" to more clear "DefaultSecurityPolicy". updated / fixed some docstrings
Thomas Waldmann
security fix: fix virtual group bug in ACL evaluation, add a test for it Note: same issue has been fixed in moin/1.9 repo also, see cs 7b9f39289e16. This changeset was just ported to moin/2.0. Issue description: We have code that checks whether a group has special members "All" or "Known" or "Trusted", but there was a bug that checked whether these are present in the group NAME (not, as intended, in the group MEMBERS). a) If you have group MEMBERS like "All" or "Kno…
Thomas Waldmann
remove unused locking code (e.g. ReadLock/WriteLock/ExclusiveLock/...)
Thomas Waldmann
remove some unused / unimplemented lock/unlock code
Reimar Bauer
flask ext import change Flask extensions should urge users to import from flask.ext.foo instead of flask_foo or flaskext_foo.
xiaq
templates/index.html: Add macro render_entry. Code is taken from the "content" block, and may be useful at other places.
  1. Prev
  2. Next