Skip to content

Commit

Permalink
added details sidebar for multiple selection
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Aug 5, 2021
1 parent 406b5d0 commit 9b5b29b
Show file tree
Hide file tree
Showing 157 changed files with 4,217 additions and 973 deletions.
4 changes: 2 additions & 2 deletions .drone.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=b148faada6191a0c8a7ff800badec5bc1399c75f
OCIS_COMMITID=d30670450a3f0e3901276ff88b5bc4560a4ce1cb
OCIS_BRANCH=master

# The test runner source for API tests
CORE_COMMITID=f16a490116c1b513948a9f3bd8ec0c8146eab545
CORE_COMMITID=298ebbbe0106cea6c8cb029b83fd359da2f450d1
CORE_BRANCH=master
66 changes: 62 additions & 4 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ config = {
"RUN_ON_OCIS": "true",
"TESTING_DATA_DIR": "/srv/app/testing/data/",
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data/",
"WEB_UI_CONFIG": "/srv/config/drone/ocis-config.json",
"WEB_UI_CONFIG": "/srv/config/drone/config-ocis.json",
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md" % dir["web"],
},
"runningOnOCIS": True,
Expand Down Expand Up @@ -727,10 +727,16 @@ def main(ctx):
return pipelines + deploys + checkStarlark()

def beforePipelines(ctx):
return yarnlint() + changelog(ctx) + website(ctx) + cacheOcisPipeline(ctx)
if "unit-tests-only" in ctx.build.title.lower():
return yarnlint() + checkForRecentBuilds(ctx)
else:
return yarnlint() + checkForRecentBuilds(ctx) + changelog(ctx) + website(ctx) + cacheOcisPipeline(ctx)

def stagePipelines(ctx):
unitTestPipelines = unitTests(ctx)
if "unit-tests-only" in ctx.build.title.lower():
return unitTestPipelines

acceptancePipelines = acceptance(ctx)
if acceptancePipelines == False:
return unitTestPipelines
Expand Down Expand Up @@ -780,6 +786,57 @@ def yarnlint():

return pipelines

def checkForRecentBuilds(ctx):
pipelines = []

result = {
"kind": "pipeline",
"type": "docker",
"name": "stop-recent-builds",
"workspace": {
"base": dir["base"],
"path": config["app"],
},
"steps": stopRecentBuilds(ctx),
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/**",
"refs/pull/**",
],
},
}

pipelines.append(result)

return pipelines

def stopRecentBuilds(ctx):
repo_slug = ctx.build.source_repo if ctx.build.source_repo else ctx.repo.slug

return [{
"name": "stop-recent-builds",
"image": "drone/cli:alpine",
"pull": "always",
"environment": {
"DRONE_SERVER": "https://drone.owncloud.com",
"DRONE_TOKEN": {
"from_secret": "drone_token",
},
},
"commands": [
"drone build ls %s --status running > %s/recentBuilds.txt" % (repo_slug, dir["web"]),
"drone build info %s ${DRONE_BUILD_NUMBER} > %s/thisBuildInfo.txt" % (repo_slug, dir["web"]),
"cd %s && ./tests/acceptance/cancelBuilds.sh" % dir["web"],
],
"when": {
"event": [
"pull_request",
],
},
}]

def build(ctx):
pipelines = []

Expand Down Expand Up @@ -978,6 +1035,7 @@ def unitTests(ctx):
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/**",
"refs/pull/**",
],
},
Expand All @@ -986,7 +1044,7 @@ def unitTests(ctx):
def acceptance(ctx):
pipelines = []

if "acceptance" not in config or "unit-tests-only" in ctx.build.title.lower():
if "acceptance" not in config:
return pipelines

if type(config["acceptance"]) == "bool":
Expand Down Expand Up @@ -1904,7 +1962,7 @@ def ocisService():
"PROXY_OIDC_INSECURE": "true",
"STORAGE_HOME_DATA_SERVER_URL": "http://ocis:9155/data",
"STORAGE_USERS_DATA_SERVER_URL": "http://ocis:9158/data",
"WEB_UI_CONFIG": "/srv/config/drone/ocis-config.json",
"WEB_UI_CONFIG": "/srv/config/drone/config-ocis.json",
"WEB_ASSET_PATH": "%s/dist" % dir["web"],
"IDP_IDENTIFIER_REGISTRATION_CONF": "/srv/config/drone/identifier-registration.yml",
"ACCOUNTS_DATA_PATH": "/srv/app/tmp/ocis-accounts/",
Expand Down
118 changes: 107 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,71 @@ Changelog for ownCloud Web [unreleased] (UNRELEASED)
The following sections list the changes in ownCloud web unreleased relevant to
ownCloud admins and users.

[unreleased]: https://github.com/owncloud/web/compare/v3.4.1...master
[unreleased]: https://github.com/owncloud/web/compare/v4.0.0...master

Summary
-------

* Bugfix - Load folder in Media viewer: [#5427](https://github.com/owncloud/web/issues/5427)

Details
-------

* Bugfix - Load folder in Media viewer: [#5427](https://github.com/owncloud/web/issues/5427)

We've fixed the loading of a folder in the Media viewer extension. If a user reloads the Media
viewer now, it load all the medias both in private and public context.

https://github.com/owncloud/web/issues/5427
https://github.com/owncloud/web/pull/5585

Changelog for ownCloud Web [4.0.0] (2021-08-04)
=======================================
The following sections list the changes in ownCloud web 4.0.0 relevant to
ownCloud admins and users.

[4.0.0]: https://github.com/owncloud/web/compare/v3.4.1...v4.0.0

Summary
-------

* Bugfix - Left sidebar visibility in public links: [#5602](https://github.com/owncloud/web/pull/5602)
* Bugfix - Check names also for folders or files that currently are not visible: [#5583](https://github.com/owncloud/web/pull/5583)
* Bugfix - Content Security Policy for OpenID Connect authentication: [#5536](https://github.com/owncloud/web/pull/5536)
* Bugfix - Send authentication on manifests.json: [#5553](https://github.com/owncloud/web/pull/5553)
* Bugfix - Unnecessary quota requests: [#5539](https://github.com/owncloud/web/pull/5539)
* Bugfix - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178)
* Change - Add custom search service: [#5415](https://github.com/owncloud/web/pull/5415)
* Enhancement - New layout for context menu: [#5160](https://github.com/owncloud/web/issues/5160)
* Enhancement - Dropdown actions in FilesTable: [#5102](https://github.com/owncloud/web/issues/5102)
* Enhancement - Refactor recipient autocomplete in people panel: [#5554](https://github.com/owncloud/web/pull/5554)
* Enhancement - Load only opened panels: [#5569](https://github.com/owncloud/web/issues/5569)
* Enhancement - Prevent binding to only loopback IP when running in watch mode: [#5515](https://github.com/owncloud/web/pull/5515)
* Enhancement - Add filter & search to files app: [#5415](https://github.com/owncloud/web/pull/5415)
* Enhancement - Define the number of visible share recipients: [#5506](https://github.com/owncloud/web/pull/5506)
* Enhancement - Sidebar sliding panels navigation: [#5549](https://github.com/owncloud/web/pull/5549)
* Enhancement - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178)

Details
-------

* Bugfix - Left sidebar visibility in public links: [#5602](https://github.com/owncloud/web/pull/5602)

We fixed that the left sidebar was showing the navigation items of an authenticated context
when visiting a public link as authenticated user.

https://github.com/owncloud/web/pull/5602

* Bugfix - Check names also for folders or files that currently are not visible: [#5583](https://github.com/owncloud/web/pull/5583)

We've changed the way how web checks if a file or folder exists. From now on it also include files
from the current folder that actually are not visible.

This was problematic in situations like the pagination, where a file or folder was not
available in the current set of resources and the user tried to create a folder with the same
name.

https://github.com/owncloud/web/pull/5583

* Bugfix - Content Security Policy for OpenID Connect authentication: [#5536](https://github.com/owncloud/web/pull/5536)

We added CSP rules for allowing OpenID Connect authentication when running ownCloud Web as app
Expand All @@ -38,17 +87,56 @@ Details

https://github.com/owncloud/web/pull/5539

* Bugfix - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178)

Requests for loading avatar profile pictures now only get sent if the backend communicates
their availability in the capabilities.

https://github.com/owncloud/web/pull/5178

* Change - Add custom search service: [#5415](https://github.com/owncloud/web/pull/5415)

We've added `search` as another core app that can be utilized by other (third-party) frontend
extensions to provide filter and search functionality. Please note that you need to add
`search` to the `apps` array of your config.json file, otherwise the search bar with its global
file search capabilities will disappear.

https://github.com/owncloud/web/pull/5415

* Enhancement - New layout for context menu: [#5160](https://github.com/owncloud/web/issues/5160)

The new context menu in the files list received additional menu items and a clear separation
into three sections.

https://github.com/owncloud/web/issues/5160
https://github.com/owncloud/web/pull/5576

* Enhancement - Dropdown actions in FilesTable: [#5102](https://github.com/owncloud/web/issues/5102)

Users can now access quick actions in a dropdown by clicking on the three-dots button or
right-clicking on rows in the files table.

We've also bumped the ownCloud Design System to version 8.2.0
We've also bumped the ownCloud Design System to version 8.3.0

https://github.com/owncloud/web/issues/5102
https://github.com/owncloud/web/issues/5103
https://github.com/owncloud/web/pull/5551
https://github.com/owncloud/owncloud-design-system/releases/tag/v8.2.0
https://github.com/owncloud/web/pull/5554
https://github.com/owncloud/owncloud-design-system/releases/tag/v8.3.0

* Enhancement - Refactor recipient autocomplete in people panel: [#5554](https://github.com/owncloud/web/pull/5554)

We've refactored the recipient autocomplete in people panel so that selected recipients are
displayed directly in the autocomplete instead of the list below it.

https://github.com/owncloud/web/pull/5554

* Enhancement - Load only opened panels: [#5569](https://github.com/owncloud/web/issues/5569)

Do not load panels in the Files extension sidebar until they are opened.

https://github.com/owncloud/web/issues/5569
https://github.com/owncloud/web/pull/5573

* Enhancement - Prevent binding to only loopback IP when running in watch mode: [#5515](https://github.com/owncloud/web/pull/5515)

Expand All @@ -58,6 +146,21 @@ Details

https://github.com/owncloud/web/pull/5515

* Enhancement - Add filter & search to files app: [#5415](https://github.com/owncloud/web/pull/5415)

We've changed the existing searchbar to use the custom search service. It is now able to be used
at the same time as a filter (on the frontend) and, if the backend is capable of search, as a search
input.

https://github.com/owncloud/web/pull/5415

* Enhancement - Define the number of visible share recipients: [#5506](https://github.com/owncloud/web/pull/5506)

We've added a new configuration option `sharingRecipientsPerPage` to define how many
recipients should be shown in the share recipients dropdown.

https://github.com/owncloud/web/pull/5506

* Enhancement - Sidebar sliding panels navigation: [#5549](https://github.com/owncloud/web/pull/5549)

The sidebar now uses a ios like concept for navigate through the different actions in the
Expand All @@ -66,13 +169,6 @@ Details
https://github.com/owncloud/web/issues/5523
https://github.com/owncloud/web/pull/5549

* Enhancement - Use profile picture capability in avatars: [#5178](https://github.com/owncloud/web/pull/5178)

Requests for loading avatar profile pictures now only get sent if the backend communicates
their availability in the capabilities.

https://github.com/owncloud/web/pull/5178

Changelog for ownCloud Web [3.4.1] (2021-07-12)
=======================================
The following sections list the changes in ownCloud web 3.4.1 relevant to
Expand Down
5 changes: 5 additions & 0 deletions changelog/4.0.0_2021-08-04/bugfix-left-sidebar-public-link
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Left sidebar visibility in public links

We fixed that the left sidebar was showing the navigation items of an authenticated context when visiting a public link as authenticated user.

https://github.com/owncloud/web/pull/5602
9 changes: 9 additions & 0 deletions changelog/4.0.0_2021-08-04/bugfix-name-checks-with-pagination
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bugfix: Check names also for folders or files that currently are not visible

We've changed the way how web checks if a file or folder exists.
From now on it also include files from the current folder that actually are not visible.

This was problematic in situations like the pagination, where a file or folder was not
available in the current set of resources and the user tried to create a folder with the same name.

https://github.com/owncloud/web/pull/5583
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Enhancement: Use profile picture capability in avatars
Bugfix: Use profile picture capability in avatars

Requests for loading avatar profile pictures now only get sent
if the backend communicates their availability in the capabilities.
Expand Down
8 changes: 8 additions & 0 deletions changelog/4.0.0_2021-08-04/change-add-customer-search-service
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Change: Add custom search service

We've added `search` as another core app that can be utilized by
other (third-party) frontend extensions to provide
filter and search functionality.
Please note that you need to add `search` to the `apps` array of your config.json file, otherwise the search bar with its global file search capabilities will disappear.

https://github.com/owncloud/web/pull/5415
6 changes: 6 additions & 0 deletions changelog/4.0.0_2021-08-04/enhancement-contextmenu-layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: New layout for context menu

The new context menu in the files list received additional menu items and a clear separation into three sections.

https://github.com/owncloud/web/issues/5160
https://github.com/owncloud/web/pull/5576
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Enhancement: Dropdown actions in FilesTable

Users can now access quick actions in a dropdown by clicking on
Users can now access quick actions in a dropdown by clicking on
the three-dots button or right-clicking on rows in the files table.

We've also bumped the ownCloud Design System to version 8.2.0
We've also bumped the ownCloud Design System to version 8.3.0

https://github.com/owncloud/owncloud-design-system/releases/tag/v8.2.0
https://github.com/owncloud/owncloud-design-system/releases/tag/v8.3.0
https://github.com/owncloud/web/issues/5102
https://github.com/owncloud/web/issues/5103
https://github.com/owncloud/web/pull/5551
https://github.com/owncloud/web/pull/5554
5 changes: 5 additions & 0 deletions changelog/4.0.0_2021-08-04/enhancement-invite
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Refactor recipient autocomplete in people panel

We've refactored the recipient autocomplete in people panel so that selected recipients are displayed directly in the autocomplete instead of the list below it.

https://github.com/owncloud/web/pull/5554
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: load only opened panels

Do not load panels in the Files extension sidebar until they are opened.

https://github.com/owncloud/web/issues/5569
https://github.com/owncloud/web/pull/5573
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Enhancement: Prevent binding to only loopback IP when running in watch mode
This is required when running the acceptance tests on Windows, it allows the selenium docker containers to access the frontend due to the host binding in rollup (when running `yarn serve`). Does not break any existing functionality.
https://github.com/owncloud/web/pull/5515
Enhancement: Prevent binding to only loopback IP when running in watch mode

This is required when running the acceptance tests on Windows, it allows the selenium docker containers to access the frontend due to the host binding in rollup (when running `yarn serve`). Does not break any existing functionality.

https://github.com/owncloud/web/pull/5515
7 changes: 7 additions & 0 deletions changelog/4.0.0_2021-08-04/enhancement-search-filter-files
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Enhancement: Add filter & search to files app

We've changed the existing searchbar to use the custom search service.
It is now able to be used at the same time as a filter (on the frontend) and, if the backend
is capable of search, as a search input.

https://github.com/owncloud/web/pull/5415
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Define the number of visible share recipients

We've added a new configuration option `sharingRecipientsPerPage` to
define how many recipients should be shown in the share recipients dropdown.

https://github.com/owncloud/web/pull/5506
7 changes: 7 additions & 0 deletions changelog/unreleased/bugfix-load-folder-in-media-viewer
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: load folder in Media viewer

We've fixed the loading of a folder in the Media viewer extension.
If a user reloads the Media viewer now, it load all the medias both in private and public context.

https://github.com/owncloud/web/issues/5427
https://github.com/owncloud/web/pull/5585
Loading

0 comments on commit 9b5b29b

Please sign in to comment.