Repository navigation
Add favorites to files app - #12360
Conversation
|
|
Favorites kind of work now. I used a horrendous approach to populate the tags inside the result: 5ea8c8c#diff-471be045dd1eb605d9a1197b9ba90560R51
|
|
|
There was a problem hiding this comment.
Please don't use private API. If there is no public API for this: create it ;)
|
|
After discussion with @karlitschek (#2368 (comment)), I moved the tags code into a separate app here: owncloud-archive/metadata#2 I'll keep this PR here to make the necessary API/hook/proxy changes in core to make that app work. |
bedc636 to
3624130
Compare
|
Talked with @icewind1991 and we decided to move the tags injection to the presentation layer (ajax/list.php) to prevent potential performance issues when parts of the code or apps are calling |
|
@jancborchardt I removed the spinner as you asked, please try again. |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 16 lines...]Fetching upstream changes from https://github.com/owncloud/core.gitusing GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git5588186876880144167.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12360/merge^{commit} # timeout=10 > git branch -a --contains cb5c32ade0d4fcb03e9309c09aba8dbf845a2ab7 # timeout=10 > git rev-parse remotes/origin/pr/12360/merge^{commit} # timeout=10Checking out Revision cb5c32ade0d4fcb03e9309c09aba8dbf845a2ab7 (origin/pr/12360/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f cb5c32ade0d4fcb03e9309c09aba8dbf845a2ab7First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » SLAVEpull-request-analyser-ng-simple » SLAVE completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 second💣 Test FAILed. 💣 |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 17 lines...]using GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git7205812824551924239.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12360/merge^{commit} # timeout=10 > git branch -a --contains e4050c3adab18bb3e5697910cf809fe88c34ff73 # timeout=10 > git rev-parse remotes/origin/pr/12360/merge^{commit} # timeout=10Checking out Revision e4050c3adab18bb3e5697910cf809fe88c34ff73 (origin/pr/12360/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f e4050c3adab18bb3e5697910cf809fe88c34ff73 > git rev-list 9075db939b68cfc6cf3cc07061c51624cec5acb4 # timeout=10First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » SLAVEpull-request-analyser-ng-simple » SLAVE completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 2 second💣 Test FAILed. 💣 |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 17 lines...]using GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git7644682796774668943.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12360/merge^{commit} # timeout=10 > git branch -a --contains b87d02551002cfded4d501cc3d2e2c4c7b69dcd2 # timeout=10 > git rev-parse remotes/origin/pr/12360/merge^{commit} # timeout=10Checking out Revision b87d02551002cfded4d501cc3d2e2c4c7b69dcd2 (origin/pr/12360/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f b87d02551002cfded4d501cc3d2e2c4c7b69dcd2 > git rev-list 9075db939b68cfc6cf3cc07061c51624cec5acb4 # timeout=10First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » SLAVEpull-request-analyser-ng-simple » SLAVE completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 2 second💣 Test FAILed. 💣 |
|
Works nicely! 👍 |
|
@PVince81 what’s up with the Jenkins failures? Otherwise it seems good to go. |
|
Thanks. Jenkins is sick recently, I'll push the PR again for the tests. Would be good if someone could review the code. |
|
Jenkins test here: #12859 |
|
Fixed in 207d77e |
|
The inspection completed: 16 new issues, 13 updated code elements |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 16 lines...]Fetching upstream changes from https://github.com/owncloud/core.gitusing GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git8428475028823098557.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12360/merge^{commit} # timeout=10 > git branch -a --contains 54e21ef77770c1b44f19bdb6185c21bc5eb36ba2 # timeout=10 > git rev-parse remotes/origin/pr/12360/merge^{commit} # timeout=10Checking out Revision 54e21ef77770c1b44f19bdb6185c21bc5eb36ba2 (origin/pr/12360/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 54e21ef77770c1b44f19bdb6185c21bc5eb36ba2First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » SLAVEpull-request-analyser-ng-simple » SLAVE completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 1 second💣 Test FAILed. 💣 |
|
👍 |
Add favorites to files app
Part of #2368