Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit c093b3c

Browse files
authored
MediaDC 0.1.9 (#52)
1 parent 1a6a6cd commit c093b3c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+694
-289
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If your issue appears to be a bug, and hasn't been reported, open a new issue.
1515

1616
Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues.
1717

18-
[template]: https://raw.github.com/andrey18106/main/.github/ISSUE_TEMPLATE/bug_report.md
18+
[template]: https://raw.githubusercontent.com/andrey18106/mediadc/main/.github/ISSUE_TEMPLATE/bug_report.md
1919

2020
## Contributing to Source Code
2121

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ A clear and concise description of what the bug is.
99
**To Reproduce**
1010
Steps to reproduce the behavior:
1111
1. Go to '...'
12-
2. Click on '....'
13-
3. Scroll down to '....'
12+
2. Click on '...'
13+
3. Scroll down to '...'
1414
4. See error
1515

1616
**Expected behavior**
@@ -20,20 +20,13 @@ A clear and concise description of what you expected to happen.
2020
If applicable, add screenshots to help explain your problem.
2121

2222
**Desktop (please complete the following information):**
23-
- OS [e.g. iOS]
24-
- CPU (architecture)
25-
- Browser [e.g. chrome, safari]
26-
- Nextcloud version [e.g. 22]
27-
- Database configuration (without sensitive information)
23+
- OS [e.g. Ubuntu]
24+
- CPU [architecture x86, ARM]
25+
- Browser [e.g. chrome, firefox, safari]
26+
- Nextcloud version [e.g. 23]
27+
- Database configuration [e.g. mysql 8.0.27, without sensitive information]
2828
- Python version [e.g. 3.9.1]
29-
- MediaDC version [e.g. 0.1.0]
30-
31-
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS 8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Nextcloud version [e.g. 22]
36-
- MediaDC version [e.g. 0.1.0]
29+
- MediaDC version [e.g. 0.1.9]
3730

3831
**Additional context**
3932
Add any other context about the problem here.

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Close stale issues'
22

33
on:
44
schedule:
5-
- cron: '0 10 * * 0' # Every day at 12:00 PM GMT+2
5+
- cron: '0 12 * * 0' # Every Sunday at 12:00 PM UTC
66
workflow_dispatch:
77

88
jobs:
@@ -14,7 +14,7 @@ jobs:
1414
days-before-stale: 28
1515
days-before-close: 14
1616
days-before-pr-close: -1 # Never close PR's automatically
17-
only-labels: 'bug, question'
17+
only-labels: 'bug, question, Fixed for upcoming version'
1818
stale-issue-message: 'This issue did not receive an update in the last 4 weeks.
1919
Please take a look again and update the issue with new details,
2020
otherwise it will be automatically closed in 2 weeks. Thank you!'

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
run: composer run psalm
133133

134134
npm-audit:
135-
needs: [changes, linters-js]
135+
# needs: [changes, linters-js]
136136
if: ${{ needs.changes.outputs.js_src == 'true' || github.event_name == 'workflow_dispatch' }}
137137
runs-on: ubuntu-latest
138138
name: npm-audit

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
php-versions: [7.4, 8.0]
13-
nextcloud-versions: ['stable21', 'stable22', 'master']
12+
php-versions: [7.3, 7.4, 8.0]
13+
nextcloud-versions: ['stable21', 'stable22', 'stable23', 'master']
1414

1515
name: Nextcloud ${{ matrix.nextcloud-versions }} php ${{ matrix.php-versions }} unit tests
1616
steps:
@@ -62,8 +62,8 @@ jobs:
6262
strategy:
6363
matrix:
6464
python-versions: [3.7, 3.8, 3.9]
65-
php-versions: [7.4, 8.0]
66-
nextcloud-versions: ['stable21', 'stable22', 'master']
65+
php-versions: [7.3, 7.4, 8.0]
66+
nextcloud-versions: ['stable21', 'stable22', 'stable23', 'master']
6767

6868
name: Nextcloud ${{ matrix.nextcloud-versions }} (php${{ matrix.php-versions }}) python ${{ matrix.python-versions }} unit tests
6969
steps:

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ max-attributes=9
389389
max-bool-expr=5
390390

391391
# Maximum number of branch for function / method body.
392-
max-branches=12
392+
max-branches=14
393393

394394
# Maximum number of locals for function / method body.
395395
max-locals=15
@@ -401,7 +401,7 @@ max-parents=7
401401
max-public-methods=20
402402

403403
# Maximum number of return / yield for function / method body.
404-
max-returns=6
404+
max-returns=8
405405

406406
# Maximum number of statements in function / method body.
407407
max-statements=50

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

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

5+
## [0.1.9 - 2022-02-14]
6+
7+
### Added
8+
9+
- Added Task finish notification option
10+
- Added Bug report section to Admin settings for quick system info collection
11+
12+
### Changed
13+
14+
- Boost package hexhamming was updated. Now available on arm8 cpu and on Alpine Linux too.
15+
16+
### Fixed
17+
18+
- Fixed Python error: Out of range value for column `duration` (https://github.com/andrey18106/mediadc/issues/47)
19+
- Fixed error "ffmpeg not found" when it was builded from source (thanks for issue to @sergeng)
20+
- Fixed connect error when using Nextcloud Docker with MariaDB (thanks for issue to @Bennneeeet)
21+
- Fixed connect error in some situations when using PGSQL with socket (thanks for issue to @pricly-yellow)
22+
523
## [0.1.8 - 2021-12-20]
624

725
Updated `python_command` setting from alias to full/absolute path to the Python. PHP-FPM users should check and update it on Administration settings page if install fails on Configuration page

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
**📸📹 Collect photo and video duplicates to save your cloud storage space**
1010

11+
| **Not working on FreeBSD systems for now**
12+
1113
![Home page](/screenshots/task-managment.png)
1214
![Home page](/screenshots/task-results.png)
1315
Nextcloud Media Duplicate Collector application

appinfo/info.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This app allows to find duplicate or similar 📸📹 photos and videos
2020
Quick start guide and further information in our [Wiki](https://github.com/andrey18106/mediadc/wiki).
2121
]]>
2222
</description>
23-
<version>0.1.8</version>
23+
<version>0.1.9</version>
2424
<licence>agpl</licence>
2525
<author mail="[email protected]" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
2626
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
@@ -58,6 +58,7 @@ Quick start guide and further information in our [Wiki](https://github.com/andre
5858
<commands>
5959
<command>OCA\MediaDC\Command\CollectorFileContentsCommand</command>
6060
<command>OCA\MediaDC\Command\CollectorCleanupCommand</command>
61+
<command>OCA\MediaDC\Command\CollectorTaskNotificationCommand</command>
6162
</commands>
6263
<background-jobs>
6364
<job>OCA\MediaDC\BackgroundJob\CollectorCleanupJob</job>

appinfo/routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
['name' => 'settings#getSettingByName', 'url' => '/api/v1/settings/name/{name}', 'verb' => 'GET'],
3737
['name' => 'settings#updateSetting', 'url' => '/api/v1/settings/name/{name}', 'verb' => 'PUT'],
3838
['name' => 'settings#truncate', 'url' => '/api/v1/settings/truncate/{name}', 'verb' => 'POST'],
39+
['name' => 'settings#systemInfo', 'url' => '/api/v1/system-info', 'verb' => 'GET'],
3940

4041
// Python API
4142
['name' => 'python#check', 'url' => '/api/v1/python/check', 'verb' => 'GET'],

0 commit comments

Comments
 (0)