Skip to content

Commit c1f7949

Browse files
committed
6.1.0
1 parent 12d208d commit c1f7949

7 files changed

Lines changed: 69 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# Changelog
22

3+
## 6.1.0 - 2026-02-18
34
### Added
45
- Caching also for data sources. (Can be implemented by data source owner)
56
- TTL based caching for GitHub, External CSV and External JSON
67
- File-change based caching for local Spreadsheet, CSV and JSON datasources
78
- Chart options now include a doughnut label style setting (percentage vs. absolute value)
9+
- Use native color picker inputs in chart options for data series colors
810

911
### Fixes
1012
- Dark Mode: Settings element does not adapt text color #565
1113
- Harden filter column handling to block unsupported identifiers
1214
- Fix public chart only link
13-
- Use native color picker inputs in chart options for data series colors
1415
- Preserve chart option callback functions (e.g. datalabel formatters) during option composition
1516
- Harden panorama ownership checks to prevent unauthorized read/update/delete access
1617
- Guard browser cache access when localStorage is unavailable (e.g. Android WebView)

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Connect data from different sources in one place and turn it into shareable insi
2626
- **AI Assistant**: Context Chat integration
2727
2828
]]></description>
29-
<version>6.0.2</version>
29+
<version>6.1.0</version>
3030
<licence>agpl</licence>
3131
<author>Marcel Scherello</author>
3232
<namespace>Analytics</namespace>

l10n/de.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@ OC.L10N.register(
379379
"One line per topic with the values in the columns" : "Pro Thema eine Zeile mit den Werten in den Spalten",
380380
"Timestamps in first column" : "Zeitstempel in der ersten Spalte",
381381
"One line per timestamp with the series in the columns" : "Eine Zeile pro Zeitstempel mit der Serie in den Spalten",
382+
"Labels" : "Beschriftungen",
383+
"Choose how doughnut chart labels are displayed" : "Wähle aus, wie Ringdiagramm-Beschriftungen angezeigt werden",
384+
"Doughnut label style" : "Stil der Ringdiagramm-Beschriftung",
385+
"Percentage" : "Prozentwert",
386+
"Absolute value" : "Absoluter Wert",
382387
"Data series" : "Datenreihe",
383388
"Vertical axis" : "Vertikale Achse",
384389
"Color" : "Farbe",

l10n/de.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@
377377
"One line per topic with the values in the columns" : "Pro Thema eine Zeile mit den Werten in den Spalten",
378378
"Timestamps in first column" : "Zeitstempel in der ersten Spalte",
379379
"One line per timestamp with the series in the columns" : "Eine Zeile pro Zeitstempel mit der Serie in den Spalten",
380+
"Labels" : "Beschriftungen",
381+
"Choose how doughnut chart labels are displayed" : "Wähle aus, wie Ringdiagramm-Beschriftungen angezeigt werden",
382+
"Doughnut label style" : "Stil der Ringdiagramm-Beschriftung",
383+
"Percentage" : "Prozentwert",
384+
"Absolute value" : "Absoluter Wert",
380385
"Data series" : "Datenreihe",
381386
"Vertical axis" : "Vertikale Achse",
382387
"Color" : "Farbe",
@@ -443,4 +448,4 @@
443448
"The report can now be created" : "Der Bericht kann nun erstellt werden",
444449
"Create" : "Erstellen"
445450
},"pluralForm" :"nplurals=2; plural=(n != 1);"
446-
}
451+
}

l10n/de_DE.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@ OC.L10N.register(
379379
"One line per topic with the values in the columns" : "Pro Thema eine Zeile mit den Werten in den Spalten",
380380
"Timestamps in first column" : "Zeitstempel in der ersten Spalte",
381381
"One line per timestamp with the series in the columns" : "Eine Zeile pro Zeitstempel mit der Serie in den Spalten",
382+
"Labels" : "Beschriftungen",
383+
"Choose how doughnut chart labels are displayed" : "Wählen Sie aus, wie Ringdiagramm-Beschriftungen angezeigt werden",
384+
"Doughnut label style" : "Stil der Ringdiagramm-Beschriftung",
385+
"Percentage" : "Prozentwert",
386+
"Absolute value" : "Absoluter Wert",
382387
"Data series" : "Datenreihe",
383388
"Vertical axis" : "Vertikale Achse",
384389
"Color" : "Farbe",

l10n/de_DE.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@
377377
"One line per topic with the values in the columns" : "Pro Thema eine Zeile mit den Werten in den Spalten",
378378
"Timestamps in first column" : "Zeitstempel in der ersten Spalte",
379379
"One line per timestamp with the series in the columns" : "Eine Zeile pro Zeitstempel mit der Serie in den Spalten",
380+
"Labels" : "Beschriftungen",
381+
"Choose how doughnut chart labels are displayed" : "Wählen Sie aus, wie Ringdiagramm-Beschriftungen angezeigt werden",
382+
"Doughnut label style" : "Stil der Ringdiagramm-Beschriftung",
383+
"Percentage" : "Prozentwert",
384+
"Absolute value" : "Absoluter Wert",
380385
"Data series" : "Datenreihe",
381386
"Vertical axis" : "Vertikale Achse",
382387
"Color" : "Farbe",
@@ -443,4 +448,4 @@
443448
"The report can now be created" : "Der Bericht kann nun erstellt werden",
444449
"Create" : "Erstellen"
445450
},"pluralForm" :"nplurals=2; plural=(n != 1);"
446-
}
451+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/**
3+
* Analytics
4+
*
5+
* SPDX-FileCopyrightText: 2019-2022 Marcel Scherello
6+
* SPDX-License-Identifier: AGPL-3.0-or-later
7+
*/
8+
9+
declare(strict_types=1);
10+
11+
namespace OCA\Analytics\Migration;
12+
13+
use Closure;
14+
use OCP\DB\ISchemaWrapper;
15+
use OCP\IDBConnection;
16+
use OCP\Migration\IOutput;
17+
use OCP\Migration\SimpleMigrationStep;
18+
19+
/**
20+
* Auto-generated migration step: Please modify to your needs!
21+
* sudo -u www-data php occ migrations:execute analytics 6001Date20260217100000
22+
*/
23+
class Version6001Date20260217100000 extends SimpleMigrationStep {
24+
public function __construct(
25+
private IDBConnection $connection,
26+
) {
27+
}
28+
29+
/**
30+
* @param IOutput $output
31+
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
32+
* @param array $options
33+
*/
34+
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) {
35+
$query = $this->connection->getQueryBuilder();
36+
$query->insert('analytics_whats_new')->values([
37+
'version' => $query->createNamedParameter('6.1.0'),
38+
'data' => $query->createNamedParameter('{"changelogURL":"https:\/\/github.com\/rello\/analytics\/blob\/master\/CHANGELOG.md","whatsNew":{
39+
"en":{"regular":["Cache is now reused when the source data hasn’t changed.", "You can now choose the label type shown in the doughnut chart.", "Various performance improvements"],"admin":["New Features apply to users"]},
40+
"de":{"regular":["Der Cache wird jetzt wiederverwendet, wenn sich die Quelldaten nicht geändert haben.", "Du kannst jetzt den Beschriftungstyp im Donut Diagramm auswählen.", "Verschiedene Leistungsverbesserungen"],"admin":["Nur User Features"]}
41+
}}'),
42+
])->executeStatement();
43+
}
44+
}

0 commit comments

Comments
 (0)