9cda5805 | 24-Jan-2017 |
Andreas Gohr <gohr@cosmocode.de> |
added alignment support for aggregation table. fixes #258 |
95c419be | 03-Jan-2017 |
Michael Grosse <grosse@cosmocode.de> |
docs: add missing doc for new $QB parameter |
af993d55 | 03-Jan-2017 |
Michael Grosse <grosse@cosmocode.de> |
fix: stop OR filters causing problems
The filters coming from syntax should be grouped together in a subgroup to that OR-filters cannot undo the filters on latest=1 etc.
Since we cannot know in the
fix: stop OR filters causing problems
The filters coming from syntax should be grouped together in a subgroup to that OR-filters cannot undo the filters on latest=1 etc.
Since we cannot know in the filter function whether there is already a subgroup for us to use or which to use, the solution was to give the correct subgroup to the filter function directly.
Instead of adding another parameter to the already long list of parameters for that function, I have chosen to give the QueryBuilderWhere a reference back to the original QueryBuilder.
show more ...
|
5d17398f | 03-Jan-2017 |
Michael Grosse <grosse@cosmocode.de> |
fix: fix broken cloud tags of multi-lookup columns
Since we group in the SQL query by tag, cloud tags are always single values. However if the column we are creating the cloud from, is actually a mu
fix: fix broken cloud tags of multi-lookup columns
Since we group in the SQL query by tag, cloud tags are always single values. However if the column we are creating the cloud from, is actually a multi-column then that single value is still in an array. But since that array can never contain more than 1 value we can simply take the first one.
The alternative of changing the type was considered but found not to be practical, because changing the type of a value/column is not intended. Recreating a new column and type for that value has been found to be impractical as well.
show more ...
|
68b45d6f | 08-Dec-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix for method comment |
4b303cda | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: Let renderes parse spaces for themselves |
a0a1d14e | 07-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
show display value in diffs. fixes #236 |
2c6e107c | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: make list renderer-sensitive |
3ec19891 | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: Use SQL LIMIT statement => faster
Since we do not have pagination for struct cloud, we can Limit the number of results already within SQL. |
faa6f42c | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: ensure that displayValue of page is never empty
This could have been the case when the page is non-existent and has never existed or is not a clean pageid due to a changed type of the column. |
87feee46 | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: use generated aliases to prevent duplicates
Ensure the table-aliases are unique even if there are two schemas with multi-columns. See also commit db7970ca33d66b924443af737b13af2b8d5bb664 |
da11327a | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: condense sequential functions |
c358e27a | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: use existing constants and functions |
db7970ca | 07-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
use generated table alias in joins. fixes #246
For joining the multi table, we used the colref of the refrenced multi column in creating the alias of the joined table. But when referencing multi col
use generated table alias in joins. fixes #246
For joining the multi table, we used the colref of the refrenced multi column in creating the alias of the joined table. But when referencing multi columns from different schemas, the colref can be the same for two columns. This patch now changes it to make use of the generateTableAlias() method in our query builder, which makes sure all aliases are unique.
show more ...
|
9e7e1786 | 06-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
doc: update php docstrings |
262c0fc6 | 05-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: make images in clouds square
Also move the code to generate tag cloud links to the AbstractBaseType and overwrite it in Media and Color |
f36cc634 | 06-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
add raw CSV export
This allows exporting the raw data of a schema in the same format as used in the CSV import. |
a0b3799e | 05-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
first go at CSV import #239
This adds CSV importing for Lookup Schemas. The format is fixed (comma separator, " encapsulation, \ escape). The first row has to contain headers matching the Schema's f
first go at CSV import #239
This adds CSV importing for Lookup Schemas. The format is fixed (comma separator, " encapsulation, \ escape). The first row has to contain headers matching the Schema's field names. Non matched fields are ignored.
No validation is done on import. All data is stored as is and will then bw interpreted by the different types.
show more ...
|
d560ea13 | 05-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: make sortString available for all types |
5a4df70d | 30-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Do not allow Lookup Editor on page schemas. fixes #235 |
5f11f83e | 30-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: repair multi-column cloud sql |
c7dd6b6a | 29-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: make Cloud renderer-agnostic |
85edf4f2 | 25-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: enable target option for cloud
Enable the target option for cloud, so we can define another page where the aggregation to be filtered is located. |
3aad9612 | 28-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 ...
|
8e54e6f4 | 25-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: render colors and images in cloud
Known issues: currently the images are scaled by their width. However that makes potrait-images much larger than landscape-images of the same count. However s
feat: render colors and images in cloud
Known issues: currently the images are scaled by their width. However that makes potrait-images much larger than landscape-images of the same count. However since we do not know the size of the image in php, we may have to fix this with javascript.
show more ...
|