Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Feb 19, 2024
1 parent 0c969da commit bfdb99c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/filesIndex.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
display: none;
}

#app-content-files .breadcrumb {
display: none;
}

#app-content-files .notCreatable {
display: none;
}

#app-content-vue .files-list .files-list__row-checkbox {
display: none;
Expand Down
6 changes: 6 additions & 0 deletions lib/Datasource/AdminAudit.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
namespace OCA\MyCompany\Datasource;

use OCA\Analytics\Datasource\IDatasource;
use OCA\MyCompany\Service\CompanyService;
use OCP\IConfig;
use OCP\IL10N;

class AdminAudit implements IDatasource {
public function __construct(
private IL10N $l10n,
private IConfig $config,
private CompanyService $companyService,
) {
}

Expand Down Expand Up @@ -65,6 +67,10 @@ public function getTemplate(): array {
* @return array available options of the datasoure
*/
public function readData($option): array {
$company = $this->companyService->getCompanyFolder();
\OC::$server->getLogger()->debug('############### Company', [$company]);
$userAdmin = $this->companyService->getUserAdminFolder();
\OC::$server->getLogger()->debug('############### user', [$userAdmin]);
$default = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log';
$logFile = $this->config->getAppValue('admin_audit', 'logfile', $default);

Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ module.exports = merge(nextcloudWebpackConfig, {
port: 3000, // use any port suitable for your configuration
host: '0.0.0.0', // to accept connections from outside container
},
output: {
assetModuleFilename: '[name][ext]?v=[contenthash]',
},
module: {
rules: [
{
Expand Down

0 comments on commit bfdb99c

Please sign in to comment.