Moin

Latest version: v1.9.11

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 13

1.2.4

This will probably be the last 1.2.x release as we are soon doing release
candidates for 1.3 release (with big internal changes) and are expecting
release 1.3 in december 2004.

Fixes:
* fixed "None" pagename bug in fullsearch/titlesearch
* fixed projection CSS usage
* the compiled page is removed when a page is deleted, so no ghost page
appears after deletion
* fixed AbandonedPages day-break problem
* fixed [[GetVal(WikiDict,key)]]
* the msg box is now outside content div on PageEditor, too
* privacy fix for email notifications: you don't see other email addresses
in To: any more. mail_from is now also used for To: header field, but
we don't really send email to that address.
* privacy fix for /MoinEditorBackup pages that were made on previews of
pages that were not saved in the end
* fix double content div on PageEditor preview

Other changes:
* workaround for broken Microsoft Internet Explorer, the page editor now
stops expanding to the right (e.g. with rightsidebar theme).
Nevertheless it is a very good idea to use a non-broken and more secure
browser like Mozilla, Firefox or Opera!

* from MoinMoin.security.antispam import SecurityPolicy in your
moin_config.py will protect your wiki from at least the known spammers.
See MoinMoin:AntiSpamGlobalSolution for details.

* xmlrpc plugin for usage logging, currently used for antispam accesses

* (re-)added configurable meta tags:
* html_head_queries = '''<meta name="robots" content="noindex,nofollow">\n'''
* html_head_posts = '''<meta name="robots" content="noindex,nofollow">\n'''
* html_head_index = '''<meta name="robots" content="index,follow">\n'''
* html_head_normal = '''<meta name="robots" content="index,nofollow">\n'''

* i18n updates/fixes

* New UserPreferences switch:
you may subscribe to trivial changes (when you want to be notified about ALL
changes to pages, even if the author deselected to send notifications).

* New AttachList and AttachInfo macros - thanks to Nigel Metheringham and
Jacob Cohen.

1.2.3

Fixes:
* fixed NameError "UnpicklingError" in user.py
* fixed version number in moin.spec
* reverts done by bots or leechers
There was a bad, old bug that triggered if you did not use ACLs. In that
case, moin used some simple (but wrong and incomplete) function to
determine what a user (or bot) may do or may not do. The function is now
fixed to allow only read and write to anon users, and only delete and
revert to known users additionally - and disallow everything else.
* avoid creation of unneccessary pages/* directories
* removed double content divs in general info and history info pages
* fixed wiki xmlrpc getPageHTML
* fixed rightsidebar logout URL, also fixed top banner to link to FrontPage
* use config.page_front_page and .page_title_index for robots meta tag
(whether it uses index,follow or index,nofollow), not hardcoded english
page names
* ACL security fix for PageEditor, thanks to Dr. Pleger for reporting
* default options for new users are same as for anon users

1.2.2

Fixes:
* python related:
* own copy of difflib removed
Until moin 1.2.1 we had our own copy of python 2.2.3's difflib coming
with moin. This was to work around some problems with broken older 2.2
python installations. We removed this now because if you have py 2.3,
there is even a better difflib coming with python (and that fixes an
extremely slow diff calculation happening in some rare cases).
So the good news is that when you run python 2.3, you don't need to do
anything and it will run great. If you run python 2.2.3, it will mostly
work good and you also don't need to do anything. The bad news is that
if you run an old and broken 2.2 installation (2.2.1, maybe 2.2.2) you
will have to fix it on your own (just copy difflib.py from python 2.2.3
over to your python 2.2.x installation).
But better upgrade to python 2.3 (for debian woody, there's a backport),
as 2.3 generally runs better and faster than 2.2.
* scripts changed to use !/usr/bin/env python (not /usr/bin/python2.2)

* user accounts and ACLs:
* we now require the user to specify a password for a new account (you
were not able to login without a password anyway)
* it is not allowed any more to create user accounts with user names
matching config.page_group_regex - please check manually that you do
not already have such users existing (like a user named "AdminGroup"):
cd data/user ; grep name=.*Group * there should be no output!
* subscription email sending now honours ACLs correctly

* markup / rendering / user interface fixes:
* fixed merging multiple lines indented by the same amount of blanks
* comments don't break tables in two parts
* added a "remove bookmark" link to RecentChanges
* fixed action=titleindex (added \n after each entry)

* RSS fixes:
* non-ASCII characters should work now
* RSS feed (Recentchanges?action=rss_rc) gives UTC timestamps now
* removed attribute breaking RSS feed on RecentChanges

* better email generation:
* if you use python >=2.2.2, we add a Message-ID header to emails
* if you use python 2.2.1, there is no email.Header. Instead of crashing
(like previous moin 1.2.x releases), we just use the subject "as is" in
that case. If it is not ASCII, this is not standards compliant.
* If you have >=2.2.2 it will use email.Header to make standards compliant
subject lines.
* use config.mail_from as sender address when sending "lost my password"
emails

* file attachments:
* fixed for standalone server
* attachment URLs (when handled by moin) don't include server name
* fixed some wrong &amp;amp; in html src

* better themeability:
* some entries in dict "d" where only present in header theme calls, some
only in footer theme calls. Now almost all is present in both calls.
* added some missing "content" divs so sidebar themes look better

* fixed some crashes producing backtraces:
* no IOError when diffing against deleted page
* no backtrace in xml footnote generation
* no SystemInfo crash when no editlog exists in new wikis
* xmlrpc.getRecentChanges fixed

* MoinMoin.util.filesys.rename is now a wrapper around os.rename that
fixes os.rename on broken win32 api semantics

Other Changes:
* saving traffic and load by improved robot meta tag generation:
* "noindex,nofollow" on queries and POSTs
* "index,follow" on FrontPage and TitleIndex (give robots a chance ;))
* "index,nofollow" on all other pages (hopefully saving lots of senseless
requests for page?action=...)
* removed config.html_head_queries (was used for same stuff)
* added russian i18n (utf-8)
* misc. other translation updates / fixes
* added rightsidebar theme
* TitleIndex now folds case, so "APage" and "anotherPage" are both under
letter "A".
* added macro/PageHits.py - it calculates the hits each page gets since
beginning of logging


* Full text and title search do now support multiple search terms -
see HelpOnSearching for details

* The Formatter interface was changed. Formatter and parser using
the formatter interface have to be adjusted.

1.2.1

Fixes:
* minimum requirement to run moin 1.2/1.2.1 is python 2.2.2
* not: 2.2(.0), as this does not have True/False
* not: 2.2.1, as this does not have email.Header. You maybe can work
around that one by:
* getting the python 2.2.x (x>=2) /usr/lib/python2.2/email directory
* putting it into directory 'x' (whereever you like)
* doing a sys.path[0:0] = ['x'] in moin.cgi [or other appropriate place]
No guarantee, this is untested.
* Twisted: the http headers missed the charset data, fixed
* mod_python: fixes for mod_python 2.7
* wiki/data/plugin/__init__.py added - fixes not working plugin modules
* plugin processors work now, too
* fixed displaying non-existent translations of SiteNavigation in footer
* fixed zh-tw iso name (wrong zh_tw -> correct zh-tw)
* fixed reversed diffs in RecentChanges RSS
* fixed "last change" info in footer (wasn't updated)
* fixed event.log missing pagename (and other) information
* fixed horizontal line thickness >1
* fixed setup.py running from CVS workdir
* fixed crash when doing action=info on first revision of a page
* fixed hostname truncation in footer
* minor css fixes
* fixed clear msg links (they missed quoting, leading to strange page
names when you click on some of them)
* fixed python colorizer processor
* fixed quoting of stats cache filenames
* catched "bad marshal data" error when switching python versions

Other changes:
* updated danish (da) i18n
* updated japanese (ja) i18n
* added serbian (sr) i18n
* added chinese (zh) i18n
* added a simple "viewonly" theme based on classic theme - you can use
this as default theme, so anonymous users won't get the usual wiki stuff,
but a far simpler (and less powerful) user interface.
It also displays the navibar at the left side.
* added moin.spec for building RPMs
* included MoinMoin/i18n/* into distribution archive (nice for translators)
* included some stuff under MoinMoin/scripts - xmlrpc-tools and account
checking stuff. removed some version control clutter from the dist
archive, too.

* code colorization was refactored and some new languages (Java, C++,
Pascal) where added.
* inline: display of attachments was extended. A Parser now knows which
extensions it can handle.

1.2

New features:
* MoinMoin now requires Python >=2.2.2., we recommend to use Python >=2.3.2
(with 2.3.x, MoinMoin runs about 20-30% faster).
* by refactoring request processing, we made it possible to run moin under
persistent environments:
* twisted-web (http://twistedmatrix.com)
* httpdmain.py (use moin.py for starting this mini server)
* mod_python
* FastCGI
Of course, CGI is still possible.
* wiki pages will be compiled to bytecode now (by default), so no need for
slow parsing/formatting on every view ("WASP", see caching_formats)
* when using a persistent environment (like twisted) and WASP, you get up
to 20x speed - compared to CGI and moin 1.1
* added support for diffs between arbitrary revisions.
* removed requirement of the external diff utility
* config.auth_http_enabled (defaults to 0) - use this to enable moin
getting your authenticated user name from apache (http basic auth,
htpasswd) - if you enable this, your basic auth username has to be the
same as your wiki username.
Should work with CGI, FCGI and maybe even with mod_python.
Does not change behaviour of moin under twisted or standalone server.
* config.tz_offset = 0.0 sets a default timezone offset (in hours
from UTC)
* config.cookie_lifetime (int, in hours, default 12) sets the lifetime of
the MOIN_ID cookie:
== 0 --> cookie will live forever (no matter what user has configured!)
> 0 --> cookie will live for n hours (or forever when "remember_me")
< 0 --> cookie will live for -n hours (forced, ignore "remember_me"!)
* added themeing and some themes (if you improve the existing themes or
make nice new ones, please contribute your stuff!). The default theme is
set by config.theme_default (and defaults to 'classic').
* now supporting plugin directory for parsers, processors, themes, xmlrpc.
* action=info now defaults to showing page revision history again
* all actions accessing the logfile (as RecentChanges or history) are now
much faster
* refresh processing instruction, config.refresh
* config.refresh = (minimum_delay, target_allowed)
* minimum delay is the minimum waiting time (in seconds) allowed
* target_allowed is either 'internal' or 'external', depending on
whether you want to allow only internal redirects or also
external ones. For internal redirects, just use the Wiki pagename,
for external, use http://... url.
* refresh 3 == refresh this page every 3 seconds
* refresh 5 FrontPage == internal redirect to FrontPage in 5s
* refresh 5 http://google.com/ == redirect to google in 5s
Use very carefully! Allowing a low minimum_delay and putting a refresh
on RecentChanges might slow down your wiki significantly, when some
people just let their browser refresh and refresh again. Also, it does
cause quite some traffic long-term. So better do not use this without
good reason! Default is None (switched off).
* hide most UserPreferences options before user has logged in, less
confusing for new users
* "config.page_dict_regex" defines what pages are dictionary definitions
Currently dictionaries are used for UserHomePage/MyDict where you can
define key:: value pairs that get processed like DATE expansion when
saving a page. The 2 "" will be added to your keys automatically.
Please do not use xxx strings on the right side (value), results may
vary if you do.
You can also access wiki dictionaries by using the internal macro
[[GetVal(page,key)]]" - that will go to page "page" and return the
value (right side) corresponding to "key".
Implementation note: groups are a subset of the dictionary functionality.
* standalone server should work now (see server/moin.py), so you don't
need to setup apache or twisted for a local personal wiki, you only need
python and moin for that now, no additional stuff any more!
* if you run your wiki with charset = "utf-8" (the default is still
iso8859-1), you might want to have a look at contributions/utf8-pages/
to see if there are already translated system pages for your language.

Fixes:
* new importPlugin routine (the old one didn't work correctly)
* removed 0xA0 characters breaking utf-8
* system page recognition now uses wiki groups (see AllSystemPagesGroup),
fixing the long-time broken system page exclusion on TitleIndex.
* mostly HTML 4.01 Strict compliant HTML
* design is done by CSS now, HTML is semantic markup only
* removed target attribute from links, also [^NewWindow] markup - this
is a HTML 3.2 feature and not valid in HTML 4.01
* updated TWikiDrawPlugin to 20021003 version, with further modifications
including source. It can draw imagemaps now and saves PNG. On display a
GIF will be searched if no PNG is found. We recommend changing all GIFs
to indexed PNGs cause this fallback might disappear in later versions.

Sample code using bash and ImageMagick (be sure you know what you do):
for draw in `find /path/to/wiki/data -name \*.draw`; do
file=`dirname $draw`/`basename $draw .draw`
if [ -e "${file}.gif" ]; then
echo "Converting ${file}.gif to ${file}.png"
convert "${file}.gif" "${file}.png"
fi
done

* fixed email headers and encoding
* Changed moin-usercheck to adhere to scripting standards; no
proprietary config changes needed any more (added --config);
--wikinames is now part of the usage message.
* config.umask now defaults to 0770 - if you give world r/w access, ACLs
could be rather pointless...

Removed config variables:
* external_diff (not needed any more, we have internal diff now)
* shared_metadb (wasn't implemented for long - we will re-add it, when it is)
* title1/2 (please use page_header1/2)
* page_icons_up

Changed config variables:
* changed_time_fmt (removed some html and brackets around time from default)
* html_head (default is empty string now)
* page_footer1/2 (default is empty string now)
* page_icons (is now a list of icon names, not html any more)
* umask (default is 0770 now, not world r/w any more == more secure)

New config variables (see MoinMaster:HelpOnConfiguration):
* cookie_lifetime
* mail_login
* page_credits
* page_dict_regex
* page_group_regex
* page_header1/2
* page_iconbar
* page_icons_table
* page_license_enabled
* page_license_page
* theme_default
* theme_force
* tz_offset

Other:
* lots of internal code refactoring and optimization
* began moving src code documentation to epydoc, see "make epydoc"
* the URL for the RecentChanges RSS feed changed. It now only works with
...?action=rss_rc.

Known problems:
* theme support is neither complete (although covering most important
stuff) nor perfect - work on that will continue...
* we removed some html from system messages (the boxes at top of page you
get after some actions), so it currently looks less nice than before.
* html is not completely validating and it is not xhtml - this will be
fixed as soon as we have the infrastructure for that (other parser, DOM)
* problems with rtl (right-to-left) languages, will be fixed in 1.3
* if you change moin_config or switch themes, moin will still use already
cached page content. For the config this can be fixed by touching
MoinMoin/version.py (or simply deleting everything in
data/cache/Page.py). If you get more annoyed by this than pleased by
caching speedup, you can also switch off caching (see docs on
caching_formats).

Themeing and HTML/CSS cleanup:
* Browsers with completely broken CSS support (like e.g. Netscape 4.x) are
no longer supported. If you still need to support them, do not upgrade to
moin 1.2. If you still use these browsers, we recommend that you upgrade
your browser first (Mozilla 1.5 has nice and standards compliant HTML and
CSS support and is available as Free Software for Windows, Linux and Mac).
* If you changed any html in code or by config you will have to check if it
still works. For the usual stuff, look into `MoinMoin/theme/classic.py`
and `classic/css/screen.css`. For config defaults of the html fragments,
read `MoinMoin/config.py`. If you want to modify a theme, don't simply
change classic, but copy or subclass it under a new theme name.
* because of the new theme support the layout of the `htdocs` directory
changed:
* Instead of using icons under `img/` and css under `css/`, there will
be an additional `themename/` directory in between, e.g. `classic/img/`
and `classic/css/`. If you added own icons, you may have to copy them
to the themes directory.
* The filename of the CSS file has changed to the media type, so the
normal one used for screen output has changed name from `moinmoin.css`
to `screen.css`. There also were quite some changes and enhancements to
the CSS files, so better use the new ones.
* config.css_url was removed

Plugins:
* we use a new plugin loader that requires a correct `__init__.py` file in
the plugin directories. See the directory `wiki/data/plugin/` in the
distribution archive and just copy it over to your wiki's plugin directory.

1.1

Version 1.1 requires Python 2.0 or higher, we recommend to use Python 2.2

Page 11 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.