History log of /plugin/struct/action/ (Results 76 – 100 of 212)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
88b58a2130-Mar-2018 Szymon Olewniczak <solewniczak@rid.pl>

This commit adds '%lastsummary%' special column for page schemas. The column contains the summary of last page revision.

987ccc7f10-Jan-2018 Szymon Olewniczak <solewniczak@rid.pl>

use multi input in bureaucracy forms

this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.

additionally it fixes one minor bug that causes struct lo

use multi input in bureaucracy forms

this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.

additionally it fixes one minor bug that causes struct lookup fields loosing their selected values when a bureaucracy form was send with an error.

works only with: https://github.com/splitbrain/dokuwiki-plugin-bureaucracy/pull/226

show more ...

4844cefc04-Jan-2018 Randolf Rotta <rrotta@informatik.tu-cottbus.de>

nicer code formatting

095f02a204-Jan-2018 Randolf Rotta <rrotta@informatik.tu-cottbus.de>

fix cleanText-reated issue form the failing unit test. the structdata can be an array instead of a string.

7c4f397e03-Jan-2018 Randolf Rotta <rrotta@informatik.tu-cottbus.de>

add div and span fields around inline form to help the javascript autocompletion to find its column information

831195c402-Jan-2018 Randolf Rotta <rrotta@informatik.tu-cottbus.de>

clean up post parameter values before use

345c383822-Sep-2017 Szymon Olewniczak <solewniczak@rid.pl>

Replace lookup placeholders by value not by the row id

While creating a new page using bureaucracy template action together with struct provided data, we should replace the lookup-field's placeholde

Replace lookup placeholders by value not by the row id

While creating a new page using bureaucracy template action together with struct provided data, we should replace the lookup-field's placeholders by the value selected by the user. It's much more sensible.

Fixes #323

show more ...

eaab469c22-Sep-2017 Szymon Olewniczak <solewniczak@rid.pl>

fixes #337

0c17c53a02-Jun-2017 Michael Große <grosse@cosmocode.de>

Remove duplicate code ��

The functions \action_plugin_struct_entry::createForm and
\action_plugin_struct_entry::makeField are duplicated in
\action_plugin_struct_edit

ee98313502-Jun-2017 Michael Große <grosse@cosmocode.de>

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which m

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which may contain multiple input-fields which are then only combined by
javascript.

Thus, we provide an id which every type can assign to the edit-field
best suited. For multi-types this is usually the new-input-template.

Fixes #292

show more ...

18902e7601-Jun-2017 Michael Große <grosse@cosmocode.de>

Correctly detect classes provided by plugins

The class provided by plugins like structstatus are not located in the
struct directory and hence not found by the autoloader. They are
added via event t

Correctly detect classes provided by plugins

The class provided by plugins like structstatus are not located in the
struct directory and hence not found by the autoloader. They are
added via event to Column::allTypes().

show more ...

712bc83225-Apr-2017 Michael Große <grosse@cosmocode.de>

Remove unnecessary <div>

Apparently a <p class="hint"> is enough after all and the surrounding
diff is redundant.

SPR-899

860ba02a24-Apr-2017 Michael Große <grosse@cosmocode.de>

Wrap the hint in the inline editor in a p tag

For it to be read correctly by screen readers and for better styling,
wrap the hint in the inline-editor in a <p>-tag.

SPR-899

3eafcbab15-Mar-2017 Michael Große <grosse@cosmocode.de>

Do not break migrations of other plugins

SPR-850

f632e8a001-Mar-2017 Michael Große <grosse@cosmocode.de>

Show translated label in entry-forms as well

0e4a3e7c01-Mar-2017 Michael Große <grosse@cosmocode.de>

Render only in show but parse in every mode

It might happen that a page is parsed in other modes than show and the
result might be cached, so it should contain the struct instruction.
However we onl

Render only in show but parse in every mode

It might happen that a page is parsed in other modes than show and the
result might be cached, so it should contain the struct instruction.
However we only want to display the output when viewing a page and not
for example in a edit session.

show more ...

e30a68df27-Feb-2017 Michael Große <grosse@cosmocode.de>

fix: Add struct instruction to all pages

There was a bug when using struct on a page together with log and
include plugin. The unintended behavior: the struct data would not be
shown after the first

fix: Add struct instruction to all pages

There was a bug when using struct on a page together with log and
include plugin. The unintended behavior: the struct data would not be
shown after the first heading of the page, but after the first include
if present, or not at all.
The reason for this behavior was that the log-plugin caused the $ID == $this->lastread
check to fail.

This solution removes this check altogether and leaves it to the
renderer to decide if the data should be rendered or not.

SPR-634

show more ...

b8cff1df24-Jan-2017 Andreas Gohr <gohr@cosmocode.de>

add catch block that does nothing. fixes #260

PHP < 7.0 requires a catch block with a try.

a28d615208-Dec-2016 Andreas Gohr <gohr@cosmocode.de>

correctly handle old revisions pre-schema creation. fixes #241

When looking at a page's old revsion (or diff) a now assigned schema may
not have existed at the the time of the given revision. This c

correctly handle old revisions pre-schema creation. fixes #241

When looking at a page's old revsion (or diff) a now assigned schema may
not have existed at the the time of the given revision. This caused a
fatal error. Now such exceptions are ignored.

show more ...

4eed39ff05-Dec-2016 Michael Grosse <grosse@cosmocode.de>

fix: Check&Update page assignments on inline-edit

0c555ad428-Nov-2016 Michael Grosse <grosse@cosmocode.de>

fix: preface pagename w/ namespace for inline diff

The event IO_WIKIPAGE_READ saves the namespace of a page in $data[1] and
only the page_name itself in $data[2]. So this code was broken for all
pag

fix: preface pagename w/ namespace for inline diff

The event IO_WIKIPAGE_READ saves the namespace of a page in $data[1] and
only the page_name itself in $data[2]. So this code was broken for all
pages not in the root namespace.

see https://www.dokuwiki.org/devel:event:io_wikipage_read

Fixes #232 and fixes SPR-572

show more ...

3aad961228-Nov-2016 Michael Grosse <grosse@cosmocode.de>

fix: resolve conflict of type\Page and meta\Page

These two classes having the same name caused an error that on some
pages, after saving the page, the page itself remained blank.
The error-log conta

fix: resolve conflict of type\Page and meta\Page

These two classes having the same name caused an error that on some
pages, after saving the page, the page itself remained blank.
The error-log contained the following:

[Mon Nov 28 09:05:52 2016] [error] [client 91.65.183.141] PHP Fatal
error: Cannot use dokuwiki\\plugin\\struct\\types\\Page as Page because
the name is already in use in
[...]/lib/plugins/struct/meta/Search.php on line 7,
referer: [...]

show more ...

ae5c46fa23-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

do not invalidate ALL caches when a schema is updated. #216

Instead we keep a separate reference file to be updated when schemas are
changed. A cache handler adds this file to all pages having schem

do not invalidate ALL caches when a schema is updated. #216

Instead we keep a separate reference file to be updated when schemas are
changed. A cache handler adds this file to all pages having schema
assignments.

Saving a schema feels noticably faster now (because JS and CSS no longer
are invalidated).

show more ...

858c5caa17-Nov-2016 Michael Grosse <grosse@cosmocode.de>

feat: parse metadata after inline edits of access tables

That way the `%lasteditor%` and `%lastupdated%` will stay up-to-date
after an inline edit. Otherwise one would need to visit the respective
p

feat: parse metadata after inline edits of access tables

That way the `%lasteditor%` and `%lastupdated%` will stay up-to-date
after an inline edit. Otherwise one would need to visit the respective
page before the data is updated in the tables.

show more ...

8d1ed4ce17-Nov-2016 Michael Grosse <grosse@cosmocode.de>

refactor: Save page data only once per page

123456789