Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): Add Nextcloud 31 support #1166

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ Requirements:
The app does not send any sensitive data to cloud providers or similar services. All processing is done on your Nextcloud machine, using Tensorflow.js running in Node.js.
]]></description>
<version>8.0.0</version>
<version>9.0.0-dev.0</version>
<licence>agpl</licence>
<author mail="mklehr@gmx.net">Marcel Klehr</author>
<types>
@@ -92,7 +92,7 @@ The app does not send any sensitive data to cloud providers or similar services.
<screenshot>https://raw.githubusercontent.com/nextcloud/recognize/main/screenshots/Logo.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/recognize/main/screenshots/imagenet_examples.jpg</screenshot>
<dependencies>
<nextcloud min-version="30" max-version="30" />
<nextcloud min-version="31" max-version="31" />
</dependencies>

<repair-steps>
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recognize",
"version": "8.0.0",
"version": "9.0.0-dev.0",
"description": "Image recognition in nextcloud",
"main": "src/classifier_imagenet.js",
"directories": {

Unchanged files with check annotations Beta

import Vue from 'vue'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'

Check failure on line 2 in src/admin.js

GitHub Actions / eslint

"@nextcloud/vue/dist/Directives/Tooltip.js" is not found
import App from './components/ViewAdmin.vue'
import AppGlobal from './mixins/AppGlobal.js'
})
/**
* @param image

Check warning on line 86 in src/classifier_faces.js

GitHub Actions / eslint

Missing JSDoc @param "image" description

Check warning on line 86 in src/classifier_faces.js

GitHub Actions / eslint

Missing JSDoc @param "image" type
*/
async function createTensor(image) {
const NUM_OF_CHANNELS = 3
})
/**
* @param degrees

Check warning on line 43 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "degrees" description

Check warning on line 43 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "degrees" type
* @param minutes

Check warning on line 44 in src/classifier_geo.js

GitHub Actions / eslint

Expected @param names to be "degrees, direction". Got "degrees, minutes, seconds, direction"

Check warning on line 44 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "minutes" description

Check warning on line 44 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "minutes" type
* @param seconds

Check warning on line 45 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "seconds" description

Check warning on line 45 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "seconds" type
* @param degrees."0"

Check warning on line 46 in src/classifier_geo.js

GitHub Actions / eslint

Missing JSDoc @param "degrees."0"" description
* @param degrees."1"
* @param direction
* @param degrees."2"
:value.sync="settings['faces.batchSize']"
:label-visible="true"
:label="t('recognize', 'The number of files to process per job run (A job will be scheduled every 5 minutes; For normal operation ~500 or more, in WASM mode ~50 is recommended)')"
:title="t('recognize', 'The number of files to process per job run (A job will be scheduled every 5 minutes; For normal operation ~500 or more, in WASM mode ~50 is recommended)')"

Check failure on line 65 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
@update:value="onChange" />
</p>
</NcSettingsSection>
<NcSettingsSection :name="t('recognize', 'Resource usage') ">
<p>{{ t('recognize', 'By default all available CPU cores will be used which may put your system under considerable load. To avoid this, you can limit the amount of CPU Cores used. (Note: In WASM mode, currently only 1 core can be used at all times.)') }}</p>
<p>
<NcTextField :value.sync="settings['tensorflow.cores']"

Check failure on line 219 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
type="number"

Check failure on line 220 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
:min="0"

Check failure on line 221 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
:step="1"

Check failure on line 222 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
:max="32"

Check failure on line 223 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
:label="t('recognize', 'Number of CPU Cores (0 for no limit)')"

Check failure on line 224 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
:label-visible="true"

Check failure on line 225 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
@update:value="onChange" />

Check failure on line 226 in src/components/ViewAdmin.vue

GitHub Actions / eslint

Expected "\t" character, but found " " character
</p>
<p>&nbsp;</p>
<p>{{ t('recognize', 'By default, recognize will only ever run one classifier process at a time. If you have a lot of resources available and want to run as many processes in parallel as possible, you can turn on concurrency here.') }}</p>