| 1b26d16d | 17-Jan-2017 |
Michael Grosse <grosse@cosmocode.de> |
Allow select-options as arrays with numeric keys
The problem this is solving is that PHP does not allow for array-keys to be strings of ints. It always converts them to actual ints. This caused a pr
Allow select-options as arrays with numeric keys
The problem this is solving is that PHP does not allow for array-keys to be strings of ints. It always converts them to actual ints. This caused a problem when trying to use complex array-options with integers as keys.
show more ...
|
| ccc7f084 | 10-Jan-2017 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| 2e38f579 | 01-Jan-2017 |
Michael Hamann <michael@content-space.de> |
RemoteAPICore: do not rely on timestamps of saved revisions
This fixes the remote API's relying on timestamps of files in the attic directory. While the timestamp of the current page is always the r
RemoteAPICore: do not rely on timestamps of saved revisions
This fixes the remote API's relying on timestamps of files in the attic directory. While the timestamp of the current page is always the revision (and actually how the timestamp of the revision is determined), timestamps of attic files do not necessarily match the revision they represent. This should also fix random test failures in the remote api tests.
show more ...
|
| 2d69eb44 | 01-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Fix typo in saveWikiText that could lead to wrong changelog entries
This fixes saving the actually saved timestamp for deleted revisions in the change log. Before this, the change log got 0 as time
Fix typo in saveWikiText that could lead to wrong changelog entries
This fixes saving the actually saved timestamp for deleted revisions in the change log. Before this, the change log got 0 as timestamp and therefore used the current time - which might be wrong if the current second changed in between touching the page and adding the entry to the changelog.
show more ...
|
| 4eed441d | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: handle default options w/ other optgroups |
| 017eef93 | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: rename parameters to be less ambiguous |
| d1bbf588 | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: use existing and simpler method |
| 9c3fca6d | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: Rename method to better convey its purpose |
| 45082b9e | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: remove multi-select handling -> make PR later
We currently throw an exception with setting the multiple-attribute is attempted. If we want to implement this functionality, it might be more sens
fix: remove multi-select handling -> make PR later
We currently throw an exception with setting the multiple-attribute is attempted. If we want to implement this functionality, it might be more sensible to make an extra commit for that.
show more ...
|
| 2bd1d2c7 | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: Make this Form method chainable as it should be |
| fa078663 | 21-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
allow selecting the preferred CDN and add event
We now have two CDNs available. code.jquery.com which is the more popular one and CDNjs which is the faster one. Plugin authors can use a plugin hook
allow selecting the preferred CDN and add event
We now have two CDNs available. code.jquery.com which is the more popular one and CDNjs which is the faster one. Plugin authors can use a plugin hook to easily implement their own preferred CDN. Authors might even use this event to conditionally load additional JavaScript files.
show more ...
|
| 068abb2b | 20-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: ensure that there is only 1 selected option
Multiple selected option would not be valid HTML. |
| c2ac3ae0 | 19-Dec-2016 |
Жељко Тодоровић <zeljko_todorovic@mail.com> |
translation update |
| 238a072b | 12-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add support for optgroup-tags for select-fields
In more complex selects we may want to group options by some criteria. HTML has the <optgroup>-tag for that purpose.
However in Order to not duplicat
Add support for optgroup-tags for select-fields
In more complex selects we may want to group options by some criteria. HTML has the <optgroup>-tag for that purpose.
However in Order to not duplicate code, I've to move the handling of options to the OptGroup-Class completely.
Known Issues: ------------- * We may have more than one option with the same value and therefore more than one option may be marked as selected.
show more ...
|
| 693978b1 | 12-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
Remove type-attr from <select> b/c it's invalid
fixes #1776 |
| cb147489 | 01-Dec-2016 |
高博 <bobnemo1983@gmail.com> |
translation update |
| 6506eaac | 30-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single request. But in testing we want to change it often.
show more ...
|
| f515db7f | 28-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix problems with header that look falsy. fixes #1770 |
| 7a5ae06d | 26-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
load jquery via https always |
| 61537d47 | 26-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
split off jquery from other JS and add CDN option #1766
jQuery (and UI and Migrate) are now loaded separately from the rest of the JavaScript. This adds at least one HTTP request more but has some a
split off jquery from other JS and add CDN option #1766
jQuery (and UI and Migrate) are now loaded separately from the rest of the JavaScript. This adds at least one HTTP request more but has some advantages:
* browsers can cache it independently * the cache is only invalidated when versions update * we do not apply any transformations (replacements, minimizing, etc) on this code anymore which makes our dispatcher faster for the other JS * browsers seem to load (not execut) both (jquery and other) parallel, which might increase download speed a bit
This split allowed for the introduction of a new config: jquerycdn. When enabled the 3 jquery files are loaded from jQueries CDN. This adds another two HTTP requests but:
* since it's another host those files do not apply to the 4 request per host limit and can be loaded (not executed) in paralell which might increase download speeds a bit * the CDN is distributed worldwide which means files are requested from the closest location, increasing the download speeds * since these files/CDN are very popular, chances are high that people already have them cached in their browsers, reducing the download time to 0 and effectiely halving the javascript needed to download
The option currently defaults to 'off', but I would argue 'on' would be the better default.
show more ...
|
| 92090435 | 26-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
jQuery Updates
- jQuery to 3.1.1 - jQuery UI to 1.12.1 - jQuery Migrate to 3.0.0
There are a few warnigs from migrate that have to be fixed. The toggles in the Media Manager are also missing their
jQuery Updates
- jQuery to 3.1.1 - jQuery UI to 1.12.1 - jQuery Migrate to 3.0.0
There are a few warnigs from migrate that have to be fixed. The toggles in the Media Manager are also missing their proper icons.
show more ...
|
| 7a33d2f8 | 20-Nov-2016 |
Niklas Keller <me@kelunik.com> |
Use cryptographically secure pseudo random number generator (CSPRNG)
Uses paragonie/random_compat instead of insecure home-brewed code.
It's NEVER fine to fall back to mt_rand() for secure random.
Use cryptographically secure pseudo random number generator (CSPRNG)
Uses paragonie/random_compat instead of insecure home-brewed code.
It's NEVER fine to fall back to mt_rand() for secure random.
Fixes #1760.
show more ...
|
| 2f808420 | 15-Nov-2016 |
Жељко Тодоровић <zeljko_todorovic@mail.com> |
translation update |
| 7babb1b3 | 15-Nov-2016 |
Жељко Тодоровић <zeljko_todorovic@mail.com> |
translation update |
| 563f573e | 12-Nov-2016 |
Жељко Тодоровић <zeljko_todorovic@mail.com> |
translation update |