| #
848f58e4 |
| 15-Aug-2016 |
Michael Große <mic.grosse@posteo.de> |
Merge pull request #154 from cosmocode/feature/imexport
Add helper-API for export/import
|
| #
45313413 |
| 15-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Partly reverting 12fe9b2c - export user again
We need the user to see if there were local changes since the last sync
|
| #
12fe9b2c |
| 15-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Do not export the user either
|
| #
aeca15ad |
| 11-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Reinitialize db if $conf['meta'] changed
|
| #
67641668 |
| 11-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added tostring() method for easier schema debugging
|
| #
b1758b8f |
| 11-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Merge branch 'master' into lookups
* master: output the key not value for unknown option in ConfigParser media fields need unique IDs. fixes #152 fixed references to old Integer type removed
Merge branch 'master' into lookups
* master: output the key not value for unknown option in ConfigParser media fields need unique IDs. fixes #152 fixed references to old Integer type removed Integer type Version upped fixed problem with multicolumns and made the param name clearer added missing schema file when Page uses titles, sorting should use title #146 Decimal type needs to type cast for order and compare #146 make sure pages are assigned in tests give types a way to influence sorting add slight shadow for aggregation images Fixed multi fields for inline editor test wildcard adding in Search
show more ...
|
| #
fa7b96aa |
| 10-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Save user on schema change and more imexport tools
|
| #
328db41b |
| 10-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
removed Integer type
Instead the more flexible Decimal type (with roundto:0) can be used.
|
| #
587e314d |
| 09-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make Schema::getTimestamp() return the creation timestamp
|
| #
f411d872 |
| 08-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and t
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and two factory methods to automatically create the correct class depending on the schema.
Both classes no longer inherit from Schema. Instead they contain a Schema as a member variable. This makes it possible to initialize them with an existing schema (which is required for the factory methods).
The flow is now like this:
1: init a schema (read info from the database) 2: look at the schema to figure out if it's a lookup or not 3: initialize the right Data object with the schema
show more ...
|
| #
7c080d69 |
| 04-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
lookup schemas can now be created
|
| #
88b7d2aa |
| 04-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added lookup info to Schema class
|
| #
ba766201 |
| 28-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Use DokuWiki new autoloader for class files
No longer do we need to register our own autoloader. Namespace had to be vendor prefixed.
|
| #
f9f13d8c |
| 07-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
tests for schema deletion
|
| #
d5a1a6dc |
| 07-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Added way to delete a schema and all its data
|
| #
7629557e |
| 24-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
the column array should start at 0 and be sorted correctly
For some reason we stored them in column ref order. This might break things that are not covered by tests but I hope not.
|
| #
45560cc7 |
| 22-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
JSON_PRETTY_PRINT is not available in PHP 5.3
|
| #
d486d6d7 |
| 21-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
allow exposting struct schemas as JSON #32
|
| #
097f4a53 |
| 14-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
moved schema listing to central place
|
| #
bbf3d6aa |
| 07-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make column context available to types
This allows renderers to access the column info. Eg. the tag type will need the column's name to set up a filter parameter
|
| #
98eaa57d |
| 01-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
be more robust when called with unknown types
this happens when you switch branches mostly
|
| #
f94f4c4f |
| 25-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
fixed a bunch of minor things found by IntelliJ Idea
|
| #
bd92cd68 |
| 11-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
use now as the timestamp to save new data
|
| #
5742aea9 |
| 09-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
allow finindg columns by name in Schema
|
| #
63d51bbf |
| 09-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
keep table reference in Column
|