Skip to content

Commit

Permalink
feat: maintenance update, basic object storage support, minor cleanup (
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 authored Oct 21, 2024
1 parent aa2c58b commit f01354a
Show file tree
Hide file tree
Showing 69 changed files with 7,597 additions and 6,874 deletions.
50 changes: 27 additions & 23 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
name: php-lint
strategy:
matrix:
php-versions: ["8.0", "8.1"]
php-versions: ["8.1", "8.2"]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -60,7 +60,7 @@ jobs:
name: php-cs
strategy:
matrix:
php-versions: ["8.0", "8.1"]
php-versions: ["8.1", "8.2"]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -81,8 +81,8 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-versions: ["7.4", "8.0", "8.1"]
server-versions: ['25']
php-versions: ["8.1", "8.2"]
server-versions: [ '30.0.0' ]
name: php-psalm-analysis

steps:
Expand Down Expand Up @@ -128,25 +128,29 @@ jobs:
working-directory: apps/${{ env.APP_NAME }}
run: composer run psalm

# php-security-analysis:
# runs-on: ubuntu-latest
# name: security analysis
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive

# - name: Psalm
# uses: docker://vimeo/psalm-github-actions:4.9.3
# with:
# security_analysis: true
# composer_ignore_platform_reqs: false
# report_file: results.sarif

# - name: Upload Security Analysis results to GitHub
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: results.sarif
php-security-analysis:
runs-on: ubuntu-22.04
permissions:
contents: read
actions: read
security-events: write
name: security analysis
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Psalm
uses: docker://vimeo/psalm-github-actions:4.30.0
with:
security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif

- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

js-eslint:
runs-on: ubuntu-22.04
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file.

## [0.4.0 - 2024-10-21]

Maintenance update. Update NC versions to support NC30+ only.

### Added

- Added basic ObjectStorage support (/tmp folder used to execute binary scripts)
- Added automatic scroll to the next duplicate group opened

### Changed

- Update UI packages to be compatible with NC30+

## [0.3.9 - 2024-06-23]

Maintenance update.
Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This app allows to find duplicate or similar 📸📹 photos and videos
Quick start guide and further information in our [Wiki](https://github.com/cloud-py-api/mediadc/wiki).
]]>
</description>
<version>0.3.9</version>
<version>0.4.0</version>
<licence>agpl</licence>
<author mail="[email protected]" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
Expand All @@ -44,7 +44,7 @@ Quick start guide and further information in our [Wiki](https://github.com/cloud
<screenshot>https://raw.githubusercontent.com/cloud-py-api/mediadc/main/screenshots/mediadc_filesplugin.png</screenshot>
<dependencies>
<php min-version="7.4" min-int-size="64" />
<nextcloud min-version="28" max-version="29" />
<nextcloud min-version="30" max-version="31" />
</dependencies>
<background-jobs>
<job>OCA\MediaDC\BackgroundJob\CollectorCleanupJob</job>
Expand Down
18 changes: 14 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-master",
"psalm/phar": "^4.30.0",
"psalm/phar": "^5.15",
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^1.0",
"friendsofphp/php-cs-fixer": "^3.13"
"nextcloud/coding-standard": "^1.1",
"friendsofphp/php-cs-fixer": "^3.16"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
Expand All @@ -41,7 +41,17 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.4"
"php": "8.1"
}
},
"autoload": {
"psr-4": {
"OCA\\MediaDC\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
}
}
Loading

0 comments on commit f01354a

Please sign in to comment.