Skip to content

Commit

Permalink
5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Sep 15, 2024
1 parent 77c1b04 commit 6c78a84
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 34 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Changelog

## 4.15.0 - 2024-0x-xx
## 5.0.0 - 2024-09-15
### Added
- AI Assistant - Context Chat integration #403
- Panoramas - multi page dashboards
- data source: Local JSON
- full screen presentation mode
- App branding

### Changed
- Analytics branding
- Chart.js v4.4.3
- moment.js v2.30.1
- NC30 css compatibility
- NC30 compatibility
- rework of sharing backend
- no activities for added data anymore
- excel data source: handling of time and % values
Expand Down
13 changes: 7 additions & 6 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ Connect data from different sources in one place.
Use flexible Panoramas and reports with seamless Nextcloud integration.
Visualize and share anything, from financial analysis to IoT logs.
##### Features:
- Visualization: Panoramas, reports, charts, tables, filters
#### Features:
- Visualization: **Panoramas**, reports, charts, tables, filters
- Data sources:
- csv, spreadsheet, API, import, manual entry
- Nextcloud Files, Forms, Tables
- external: GitHub, website grabber, JSON
- Register external data sources from other apps
- Storage: real-time or database
- Storage: **real-time** or database
- Advanced data loads with scheduling
- Analysis functions: trend, dis-/aggregation
- Analysis functions: **trend**, dis-/aggregation
- Thresholds for alerts and color coding
- Sharing: user, groups, link
- Integration: Files, Activity, Notifications, Flow, Dashboard, Search, Smart picker, Translation
- AI Assistant: Context Chat integration
- **AI Assistant**: Context Chat integration
]]></description>
<version>4.14.2</version>
<version>5.0.0</version>
<licence>agpl</licence>
<author>Marcel Scherello</author>
<namespace>Analytics</namespace>
Expand Down
54 changes: 54 additions & 0 deletions lib/Migration/Version5000Date20240915190000.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/**
* Analytics
*
* SPDX-FileCopyrightText: 2019-2022 Marcel Scherello
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

declare(strict_types=1);

namespace OCA\Analytics\Migration;

use Closure;
use OCP\DB\Exception;
use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;

/**
* Auto-generated migration step: Please modify to your needs!
* sudo -u www-data php /var/www/nextcloud/occ migrations:execute analytics 5000Date20240915190000
*/
class Version5000Date20240915190000 extends SimpleMigrationStep
{

/** @var IDBConnection */
private $connection;

public function __construct(IDBConnection $connection)
{
$this->connection = $connection;
}

/**
* @param IOutput $output
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
* @throws Exception
*/
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options)
{
$query = $this->connection->getQueryBuilder();
$query->insert('analytics_whats_new')
->values([
'version' => $query->createNamedParameter('5.0.0'),
'data' => $query->createNamedParameter('{"changelogURL":"https:\/\/github.com\/rello\/analytics\/blob\/master\/CHANGELOG.md","whatsNew":{
"en":{"regular":["Panoramas - multi page dashboards","AI Assistant - Context Chat integration","Presentation mode", "Dark mode coming later"],"admin":["New Features apply to users"]},
"de":{"regular":["Panoramas - mehrseitige Dashboards","AI Assistant - Context Chat Integration","Präsentations Modus","Dark Mode folgt"],"admin":["Nur User Features"]}
}}'),
])
->executeStatement();
}
}
50 changes: 25 additions & 25 deletions templates/wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ class="material-design-icon__svg">
src="<?php echo \OC::$server->getURLGenerator()->imagePath('analytics', 'wizard_charts.png') ?>">
</div>
<div class="description">
<p id="wizardNewHeader1"><?php p($l->t('Visualize any data with easy to use reports')); ?></p>
<p id="wizardNewHeader1"><?php p($l->t('Visualize any data with easy')); ?></p>
<ul>
<li><?php p($l->t('Panoramas with everything at one sight')); ?></li>
<li><?php p($l->t('Different chart types like lines, columns or doughnuts')); ?></li>
<li><?php p($l->t('Show your most important insights in the Nextcloud Dashboard')); ?></li>
<li><?php p($l->t('Interactive tables')); ?></li>
<li><?php p($l->t('Use thresholds to mark exceptions or receive Nextcloud notifications')); ?></li>
<li><?php p($l->t('Showcase key insights with Panoramas')); ?></li>
<li><?php p($l->t('Various chart types, including lines, columns, and doughnuts')); ?></li>
<li><?php p($l->t('Gain a comprehensive view of your data with Nextcloud Dashboard')); ?></li>
<li><?php p($l->t('Interactive tables for deeper analysis')); ?></li>
<li><?php p($l->t('Set thresholds to highlight exceptions and receive Nextcloud notifications')); ?></li>
</ul>
</div>
</div>
Expand All @@ -93,13 +93,13 @@ class="material-design-icon__svg">
src="<?php echo \OC::$server->getURLGenerator()->imagePath('analytics', 'wizard_filter.gif') ?>">
</div>
<div class="description">
<p id="wizardNewHeader2"><?php p($l->t('Slice and dice your data')); ?></p>
<p id="wizardNewHeader2"><?php p($l->t('Slice and dice your data with precision')); ?></p>
<ul>
<li><?php p($l->t('Flexible filters including dynamic date variables')); ?></li>
<li><?php p($l->t('Change drill down by removing columns')); ?></li>
<li><?php p($l->t('Customize charts with primary or secondary axis')); ?></li>
<li><?php p($l->t('Use different chart types per data series')); ?></li>
<li><?php p($l->t('Save default filters')); ?></li>
<li><?php p($l->t('Apply flexible filters, including dynamic date variables')); ?></li>
<li><?php p($l->t('Adjust drill-down views by removing columns effortlessly')); ?></li>
<li><?php p($l->t('Customize charts with primary and secondary axes')); ?></li>
<li><?php p($l->t('Mix and match chart types for each data series')); ?></li>
<li><?php p($l->t('Save default filters for quick access to your preferred views')); ?></li>
</ul>
</div>
</div>
Expand All @@ -110,13 +110,13 @@ class="material-design-icon__svg">
src="<?php echo \OC::$server->getURLGenerator()->imagePath('analytics', 'wizard_datasources.gif') ?>">
</div>
<div class="description">
<p id="wizardNewHeader3"><?php p($l->t('Use data from various data sources')); ?></p>
<p id="wizardNewHeader3"><?php p($l->t('Utilize data from multiple sources with ease')); ?></p>
<ul>
<li><?php p($l->t('Internal data is persisted in the database and delivers the most flexibility and performance')); ?></li>
<li><?php p($l->t('Use data from GitHub to monitor download statistics in real-time')); ?></li>
<li><?php p($l->t('The JSON data source can read data from external services')); ?></li>
<li><?php p($l->t('With the HTML-Grabber, almost any website data can be extracted')); ?></li>
<li><?php p($l->t('Read data from internal Nextcloud files to visualize them in real-time')); ?></li>
<li><?php p($l->t('Data is persisted in the database for maximum flexibility and performance')); ?></li>
<li><?php p($l->t('Monitor real-time download statistics with GitHub integration')); ?></li>
<li><?php p($l->t('Leverage the JSON data source to pull data from external services')); ?></li>
<li><?php p($l->t('Extract data from virtually any website using the HTML-Grabber')); ?></li>
<li><?php p($l->t('Visualize data from internal Nextcloud applications instantly')); ?></li>
</ul>
</div>
</div>
Expand All @@ -127,14 +127,14 @@ class="material-design-icon__svg">
src="<?php echo \OC::$server->getURLGenerator()->imagePath('analytics', 'wizard_dataload.gif') ?>">
</div>
<div class="description">
<p id="wizardNewHeader4"><?php p($l->t('Automation')); ?></p>
<p id="wizardNewHeader4"><?php p($l->t('Automate your data workflows seamlessly')); ?></p>
<ul>
<li><?php p($l->t('Any data source can be persisted in Nextcloud')); ?></li>
<li><?php p($l->t('Use timestamps to historize data')); ?></li>
<li><?php p($l->t('Full (deletion of old data) or delta loads')); ?></li>
<li><?php p($l->t('Schedule data loads in the background daily or hourly')); ?></li>
<li><?php p($l->t('Trigger data loads via scripts using the occ command')); ?></li>
<li><?php p($l->t('Use the REST API to push data into Analytics')); ?></li>
<li><?php p($l->t('Persist data from any source directly in Nextcloud')); ?></li>
<li><?php p($l->t('Utilize timestamps to create historical records')); ?></li>
<li><?php p($l->t('Perform full or incremental delta loads')); ?></li>
<li><?php p($l->t('Schedule automatic data loads in the background')); ?></li>
<li><?php p($l->t('Trigger data loads with scripts using the occ command')); ?></li>
<li><?php p($l->t('Push data into Analytics effortlessly via the REST API')); ?></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 6c78a84

Please sign in to comment.