| #
8c7c53b0 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: class declaration braces
|
| #
a46cc3dc |
| 11-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
Fix old revisions skipping one revision
This changes the UI to start counting at -1, which will instruct the Revision Management to prepend the current revision to the list of old revisions returned
Fix old revisions skipping one revision
This changes the UI to start counting at -1, which will instruct the Revision Management to prepend the current revision to the list of old revisions returned. This way no special handling for the current revision has to be done in the UI class anymore and paging works naturally.
Fixes #3897
show more ...
|
| #
eeda7ada |
| 23-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
some spelling
|
| #
bf3fa5e9 |
| 08-Jan-2022 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
new RevisionInfo class obsoletes anonymous objRevInfo class
obsolete getObjRevInfo() in Ui\Recent and Ui\Revisions classes, that had defined anonymous class. they are similar but slightly differentl
new RevisionInfo class obsoletes anonymous objRevInfo class
obsolete getObjRevInfo() in Ui\Recent and Ui\Revisions classes, that had defined anonymous class. they are similar but slightly differently treat the diff link icon. It is impossible to create common method for diff icon using only revision information, it depends on caller, ie. recent or revisions list
show more ...
|
| #
dbf582dd |
| 03-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
use false for unknown timestamp instead of 'unknown'
|
| #
5ec96136 |
| 01-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
set revInfo{'current'] when needed
do not set 'current' key in ChangeLog:getCurrentRevisionInfo(), instead set it during loop in Revision and Diff classes
|
| #
ad088cbc |
| 10-Oct-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update Ui\Revisions using ChangeLog\getCurrentRevisionInfo()
remove class property $item remove abstract function itemFN() simplify function getRevisions($first, $hasNext)
|
| #
5d9428a0 |
| 26-Sep-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
WIP: handle External Deletion using time() for dummy rev number
|
| #
90c7493e |
| 14-Sep-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
list external edits also in revs list
- current revision changelogline is already in changelog, so retrieve in one go - include listing of external edits - for external deletions no date is known
|
| #
700ab9fd |
| 09-May-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Merge branch 'master' into revisionHandle3
|
| #
3fef852d |
| 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix undefined array keys when displaying revisions
|
| #
c63f6084 |
| 26-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix Undefined array key "current" warnings
Multiple occurrences when showing a page's revisions.
Fixes #3392
|
| #
d9c75b22 |
| 02-Jan-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
abstract method itemFN()
|
| #
30a159ab |
| 02-Jan-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
check media id validity
|
| #
e71e09a6 |
| 28-Dec-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
define Ui\Revisions::getRevisions()
- new item property defined - modified getObjRevInfo(), buildDiffHead()
|
| #
0bb448f0 |
| 27-Dec-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
refactor buildDiffHead()
|
| #
ae5d2354 |
| 27-Nov-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
UI\Revisions hierachy
define Revisions as abstract, which is inherited by PageRevision and MediaRevision classes. this is simillar to ChangeLog class hierachy.
|
| #
5525369f |
| 22-Nov-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
set proper revinfo when media meta file is not available
MediaChangelog::getRevision() may return false when media changes meta file is missing, cause error unsupported operand types.
|
| #
c6977b3a |
| 26-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
change event naming scheme
FORM_*_OUTPUT scheme had been introduced since Apriil 2018, see #2286
|
| #
66e555e2 |
| 19-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix missing or unnecessary use Event statements
|
| #
e6adf5b7 |
| 19-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
tigger HTMLFORM_*_OUTPUT events
trigger events in Form::toHTML() instead of using Event::createAndTrigger()
|
| #
628d5475 |
| 18-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove unnecessary printing DOKU_LF
|
| #
67ef3e88 |
| 18-Aug-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
split longer show() into task methods.
The structure of Ui\Revisions is similar to Ui\Recent. Ui\Revisions::getRevisions() returns a arrey of rev info array as same as getRecent().
|
| #
c2bf454b |
| 18-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
add space delimiters inside the list item
Bugfix missing div.no tag just after the form tag in Ui\Revisions::show()
|
| #
e34d6962 |
| 17-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
html_sizechange() returns HTML when $form is not set
|