| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
The security token here doesn't improve the security as the other
requests that allow you to do the same thing aren't protected and I
don't see why locking or draft creation should be subject of XSRF
attacks.
|
|
|
|
|
|
|
| |
This disables lock and draft creation for pages the user can't edit. It
additionally adds a security token to the draft creation and deletion
request so - at least for logged in users - drafts can't be created,
modified or deleted so easily anymore.
|
|
|
|
| |
This works around a new "feature/bug" of Firefox 4.
|
|
|
|
|
| |
If no HTML element with the id wiki__text exists, locktimer.init led to a
JavaScript error.
|
|
|
|
|
|
| |
This reverts commit 342e58c8c048bfd5f57f10bd88cee95aa2732e96.
The options code had already been fixed. My mistake.
|
|
|
|
|
|
|
|
|
| |
We disabled the media options shortly before the last release because of
an unfixed bug. The disabling was not complete which caused problems
with templates not incorporating the needed CSS.
Since the option dialog hasn't been fixed yet, this patch also disables
the creation of the corresponding HTML to avoid the mentioned template
problems.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
I also adjusted the coding style to match our other JS classes
|
|
|
|
|
|
| |
When a <select> tag has the class "quickselect", this script will
automatically submit its parent form when the select value changes.
It also hides the submit button of the form.
|
|
|
|
|
| |
This makes it possible for plugin and template authors to overwrite or
extend the quicksearch JavaScript logic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch moves the shortening of namespaces in the quicksearch results
to JavaScript. This makes it independend from used template and will
always try to fill the width of the result pane correctly.
Things missing:
* Make it work with RTL-languages
* Check Browser compatibility (only tested in Chrome so far)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The media options dialog has currently an open bug regarding the
behavior of the nolink option. Additionally will wrong syntax be
inserted when using Internet Explorer < 8. Since this can't be
fixed on time, this patch disables the media options for the release.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is a javascript based check, executed from the admin menu. If the
data directory is readable, a warning is displayed. Doing this check in
JavaScript makes sure we have a real client side test (opposed to the
check executed from ?do=check)
Question: should this be localized?
|
|
|
|
| |
When creating new pages, no date field is added in the edit form.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Because ALT-GR fires a CTRL-ALT event on Windows systems, but ALT-GR is
needed to write square brackets on German Keyboards, CTRL-ALT can not be
used as modifier.
This patch introdues OS dependent modifiers. Mac systems continue to use
CTRL-ALT, all other systems use only ALT.
Let's hope this works out.
|
|
|
|
|
|
|
|
| |
The keydown event can't be prevented in Opera (see
http://www.quirksmode.org/dom/events/keys.html) so this switches back to
keypress in Opera (keypress doesn't give the correct key codes in
Firefox). Furthermore Opera replaces '\n' by '\r\n' when inserting text,
thus the offset for cursor/selection placement was wrong.
|
| |
|
|
|
|
|
|
|
|
| |
besides via Save or Preview button. This has been successfully tested in FF,
Chrome and IE6/7/8. Opera does not support onbeforeunload, therefore the draft
is kept if the user navigates away from the editor.
Please test this.
|
|
|
|
| |
Tests and feedbacks please!
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Popup now shows up relative to the link, not the mouse position
* Easier handling of mouseout’s bubbling
* Factor out popup creation to allow plugins to use it
|