Commits

Show all
Author Commit Message Labels Comments Date
bsx
first hackish attempt to import Freemind
Thomas Waldmann
revert changset 50cc68af8874 because of issues itemviews (and maybe other templates) need the context, so "without context" gives wrong results. Armin Ronacher told to fix the "with context" pypy performance issue in jinja2, so we'll just wait for that.
Thomas Waldmann
modify templates to not use 'with context' because this kills pypy's performance this is due to use of sys._getframe by jinja2. one also needs to patch logging/__init__.py of pypy and set _srcfile to None for same reasons.
Thomas Waldmann
use +download for download link in revision history
Thomas Waldmann
refactored calling convention of converters, add rev=n qs argument for Iris (fixes #21) Now converters get fed either with the revision (for binary items) or the markup lines (for text items). Converters getting revisions (rev=... in qs) now create links to specific revnos. Cleaned up some code in the link converter and enabled it to create links to specific revisions.
bsx
added exception handling if PIL can't diff the image
Thomas Waldmann
add +download view for just downloading a revision with forced content-disposition: attachment minor code cleanups, removed MimeType.content_disposition as it did not match send_file api, replaced it by a as_attachment method. removed duplicate get_item list entry. removed unused content_disposition argument from wikiutil.file_headers.
Reimar Bauer
items: implemented 2.6 r:2031 alpha of svg-edit using a save extension for doing a single post for svg and png data.
Thomas Waldmann
add docstring to MoinMoin.apps
Thomas Waldmann
acl code/tests: meta ACL value is a unicode object, do not use bytestrings in tests, remove code that supports it being a list or tuple
Thomas Waldmann
moin-searchform css: prettify validation error display, remove unused stuff
Thomas Waldmann
integrate the simple search into show view (makes it easier to show search query validation errors)
Thomas Waldmann
use flatland and some html5 features for search form, details see below generate the top-right search form using flatland. currently, search form is only rendered for "show" view. use a Validator for the search form, currently it rejects if search query length is below 2 (such stuff usually causes high load and gives too many results). killed all the search form related js, we now use the html5 features "placeholder", "required" and "autofocus". the placeholder is o…
Thomas Waldmann
move the flatland form html generator to the global environment
Thomas Waldmann
html_out converter: remove unused code from moinpage_object that crashed on transclusions with URLs without path. Fixes #30.
Thomas Waldmann
simplify form validation check, fix indentation
Thomas Waldmann
add a JSON validator, use it to validate meta_text
Thomas Waldmann
modify views: use flatland also for the file upload form field
Thomas Waldmann
modify: put real base rev no into the hidden form field
Thomas Waldmann
refactor modify views to use flatland, see details below code is more OO now, the Item instance now handles modify view AND post handling in do_modify() - moving this was needed so a flatland Form subclass could be used that depends on the Item type. moved item_modified event triggering to _save(). templates: use flatland generator to generate most form fields
Thomas Waldmann
fix saving no data if no previous revision exists
RogerHaase
correct rendering of interwiki and mailto links
RogerHaase
replace white_clouds.png file with smaller white-clouds.jpg
Roger Haase
remove unused classes badinterwiki and moin-badinterwiki
Thomas Waldmann
item modify ui: remove cancel button (user can just click anywhere else than on SAVE)
Thomas Waldmann
items: cleanup contenttype handling in modify/_save, see below contenttype in query string -> force this content type (put it into metadata) If _save() does not find CONTENTTYPE in the new metadata, it uses: 1. current content type (previous revision) 2. the guessed content type (see below) 3. application/octet-stream Content type guessing: If the text form was used, use 'text/plain;charset=utf-8' as a guess. If the file upload was used, use the ct from th…
Reimar Bauer
sqlalchemy.exceptions was removed in 0.7 of sqlalchemy. Since at least 0.6 the import for the core exception module is "from sqlalchemy import exc".
Thomas Waldmann
remove javascript focus setting for login form (a recent browser will use html5 autofocus attribute)
Thomas Waldmann
usersettings form processing: cosmetic fixes, don't save submit value to user profile
Thomas Waldmann
crypto: fix missing import / data type
  1. Prev
  2. Next