can a script be used to rename files on upload?
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- php
- 領域
- backend, documentation
調査の方向性
issue ではファイルもテストも指定されていません。まず Workflow Script app のドキュメントと、そこに記載されているファイル処理の動作を確認し、その後、アップロードされたファイルを移動できるか、再スキャンが必要かを明らかにしてください。サポートされている動作と制限事項を記録できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Steps to reproduce
I've tried to find documentation on this question, but couldn't find anything. So I want to ask here: Is it possible to use a simple script to rewrite (some) file locations as they get uploaded?
I'm using a google pixel phone with auto-uploading enabled. The camera puts portrait pictures into a subfolder, which makes it quite hard to browse through these pictures in any tool other than the google pictures app. The nextcloud gallery also suffers a lot from this. See e.g.: https://support.google.com/pixelphone/thread/12756704?hl=en
So I'm left with workarounds for this android limitation. Currently, I'm running a manual script to rename these files every now and then and then rescan the whole data folder. I'm hoping that a workflow script could improve this situation somehow?
Expected behaviour
Documentation on whether one can move an input file, or whether this will require a rescan then afterwards?
Actual behaviour
I don't want to experiment with this without any documentation. So I don't know if it actually works or not?
Workflow Script app
1.3.1
Server configuration
Operating system: nextcloudpi
Web server: Apache
Database: MySQL
PHP version: 7.3.14
Nextcloud Version: 18.0.4
Where did you install Nextcloud from: nextcloudpi
- 主要言語
- PHP
- スター
- 89
- フォーク
- 19
- 平均マージ
- 6時間 38分
- マージ済み PR(30日)
- 3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/workflow_script のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nextcloud/workflow_script#486 ·
-
Workflow Script app does not show script path placeholder in Flow configuration in NextCloud 33 オープン0. Needs triage bug needs info
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
nextcloud/workflow_script#482 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
nextcloud/workflow_script#417 · コメント 7 件 ·
-
needs info
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
nextcloud/workflow_script#386 · コメント 2 件 ·
-
1. to develop bug needs info
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
nextcloud/workflow_script#385 · コメント 21 件 ·
nextcloud/workflow_script の issue をすべて見る
似ている issue
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
[6.x]: "Cannot use object of type stdClass as array" loading Users index (regression of #19182) オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getgrav/grav-plugin-api#45 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
RSS-Bridge/rss-bridge#5098 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phingofficial/phing#2025 ·