Skip to content

Commit

Permalink
feat: Migrate to new files API
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Nov 9, 2023
1 parent 53cab57 commit a22f1d7
Show file tree
Hide file tree
Showing 16 changed files with 14,422 additions and 182 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

\.idea/

vendor/
/build/
/js/
/vendor/
/node_modules/

.php-cs-fixer.cache
.phpunit.result.cache
1 change: 1 addition & 0 deletions .nextcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
/package-lock.json
/node_modules/
/src/
/vite.config.ts
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Allow your users to temporary lock their files to avoid conflicts while working
]]>
</description>
<version>27.0.2</version>
<version>28.0.0-beta.1</version>
<licence>agpl</licence>
<author>Maxence Lange</author>
<namespace>FilesLock</namespace>
Expand Down Expand Up @@ -43,6 +43,6 @@ Allow your users to temporary lock their files to avoid conflicts while working
</sabre>

<dependencies>
<nextcloud min-version="24" max-version="27"/>
<nextcloud min-version="28" max-version="28"/>
</dependencies>
</info>
18 changes: 0 additions & 18 deletions css/files_lock.css

This file was deleted.

159 changes: 0 additions & 159 deletions js/files.js

This file was deleted.

2 changes: 2 additions & 0 deletions krankerl.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[package]
before_cmds = [
"npm ci",
"npm run build"
]
4 changes: 2 additions & 2 deletions lib/Listeners/LoadAdditionalScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function handle(Event $event): void {
return;
}

Util::addScript(Application::APP_ID, 'files');
Util::addStyle(Application::APP_ID, 'files_lock');
Util::addInitScript(Application::APP_ID, 'files_lock-init');
Util::addScript(Application::APP_ID, 'files_lock-main');
}
}
Loading

0 comments on commit a22f1d7

Please sign in to comment.