Skip to content

Commit

Permalink
commit ae336ad
Browse files Browse the repository at this point in the history
Author: Sagar Gurung <[email protected]>
Date:   Mon Jan 23 14:36:52 2023 +0545

    [tests-only][full-ci]Add API step to upload file in personal space (#8200)

    * Added API step to upload file

    * Added API step to upload local file

    * Address PR

    * Rebase and review address

    * Review address
  • Loading branch information
SagarGi committed Jan 24, 2023
1 parent e0a5551 commit 6b3d456
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 126 deletions.
4 changes: 2 additions & 2 deletions testing/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ and make sure there are no conflicting ports and everything runs smoothly. You c
Depending on the backend you want to run the tests on, you can either run

```shell
$ pnpm test:e2e:cucumber 'tests/e2e/cucumber/**/*[!.ocis].feature'
$ pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.ocis].feature
```

for an **ownCloud 10** backend (filenames including `.ocis` are excluded) or

```shell
$ OCIS=true pnpm test:e2e:cucumber 'tests/e2e/cucumber/**/*[!.oc10].feature'
$ OCIS=true pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature
```

for an **oCIS** backend (filenames including `.oc10` are excluded).
Expand Down
228 changes: 104 additions & 124 deletions theming/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,24 @@ You can use the snippet below as a base for writing your own theme by replacing

```json
{
"common": {
"name": "ownCloud",
"slogan": "ownCloud – A safe home for all your data",
"logo": "themes/owncloud/assets/logo.svg"
},
"ios": {},
"web": {
"default": {
"general": {
"name": "ownCloud",
"slogan": "ownCloud – A safe home for all your data"
},
"logo": {
"topbar": "https://externalurl.example.com/url/for/remote/theme/assets/logo.svg",
"favicon": "https://externalurl.example.com/url/for/remote/theme/assets/favicon.jpg",
"login": "relative/path/for/local/theme/logo.svg"
},
"loginPage": {
"autoRedirect": true,
"backgroundImg": "relative/path/for/local/theme/background.jpg"
},
"designTokens": {}
"default": {
"general": {
"name": "ownCloud",
"slogan": "ownCloud – A safe home for all your data"
},
"alternative": {},
"dark": {}
}
"logo": {
"topbar": "https://externalurl.example.com/url/for/remote/theme/assets/logo.svg",
"favicon": "https://externalurl.example.com/url/for/remote/theme/assets/favicon.jpg",
"login": "relative/path/for/local/theme/logo.svg"
},
"loginPage": {
"autoRedirect": true,
"backgroundImg": "relative/path/for/local/theme/background.jpg"
},
"designTokens": {}
},
"alternative": {},
"dark": {}
}
```

Expand Down Expand Up @@ -89,18 +81,14 @@ In general, the theme loader looks for a `designTokens` key inside your theme co

```json
{
"common": {},
"ios": {},
"web": {
"default": {
"general": {},
"designTokens": {
"breakpoints": {},
"colorPalette": {},
"fontSizes": {},
"sizes": {},
"spacing": {}
}
"default": {
"general": {},
"designTokens": {
"breakpoints": {},
"colorPalette": {},
"fontSizes": {},
"sizes": {},
"spacing": {}
}
}
}
Expand Down Expand Up @@ -244,96 +232,88 @@ An empty template for your custom theme is provided below, and you can use the i

```json
{
"common": {
"name": "",
"slogan": "",
"logo": ""
},
"ios": {},
"web": {
"default": {
"general": {
"name": "",
"slogan": ""
"default": {
"general": {
"name": "",
"slogan": ""
},
"logo": {
"topbar": "",
"favicon": "",
"login": "",
"notFound": ""
},
"loginPage": {
"autoRedirect": true,
"backgroundImg": ""
},
"designTokens": {
"breakpoints": {
"xsmall-max": "",
"small-default": "",
"small-max": "",
"medium-default": "",
"medium-max": "",
"large-default": "",
"large-max": "",
"xlarge": ""
},
"colorPalette": {
"background-accentuate": "",
"background-default": "",
"background-highlight": "",
"background-muted": "",
"border": "",
"input-bg": "",
"input-border": "",
"input-text-default": "",
"input-text-muted": "",
"swatch-brand-default": "",
"swatch-brand-hover": "",
"swatch-danger-default": "",
"swatch-danger-hover": "",
"swatch-danger-muted": "",
"swatch-inverse-default": "",
"swatch-inverse-hover": "",
"swatch-inverse-muted": "",
"swatch-passive-default": "",
"swatch-passive-hover": "",
"swatch-passive-muted": "",
"swatch-primary-default": "",
"swatch-primary-hover": "",
"swatch-primary-muted": "",
"swatch-primary-gradient": "",
"swatch-success-default": "",
"swatch-success-hover": "",
"swatch-success-muted": "",
"swatch-warning-default": "",
"swatch-warning-hover": "",
"swatch-warning-muted": "",
"text-default": "",
"text-inverse": "",
"text-muted": ""
},
"logo": {
"topbar": "",
"favicon": "",
"login": "",
"notFound": ""
"fontSizes": {
"default": "",
"large": "",
"medium": ""
},
"loginPage": {
"autoRedirect": true,
"backgroundImg": ""
"sizes": {
"form-check-default": "",
"height-small": "",
"height-table-row": "",
"icon-default": "",
"max-height-logo": "",
"max-width-logo": "",
"width-medium": ""
},
"designTokens": {
"breakpoints": {
"xsmall-max": "",
"small-default": "",
"small-max": "",
"medium-default": "",
"medium-max": "",
"large-default": "",
"large-max": "",
"xlarge": ""
},
"colorPalette": {
"background-accentuate": "",
"background-default": "",
"background-highlight": "",
"background-muted": "",
"border": "",
"input-bg": "",
"input-border": "",
"input-text-default": "",
"input-text-muted": "",
"swatch-brand-default": "",
"swatch-brand-hover": "",
"swatch-danger-default": "",
"swatch-danger-hover": "",
"swatch-danger-muted": "",
"swatch-inverse-default": "",
"swatch-inverse-hover": "",
"swatch-inverse-muted": "",
"swatch-passive-default": "",
"swatch-passive-hover": "",
"swatch-passive-muted": "",
"swatch-primary-default": "",
"swatch-primary-hover": "",
"swatch-primary-muted": "",
"swatch-primary-gradient": "",
"swatch-success-default": "",
"swatch-success-hover": "",
"swatch-success-muted": "",
"swatch-warning-default": "",
"swatch-warning-hover": "",
"swatch-warning-muted": "",
"text-default": "",
"text-inverse": "",
"text-muted": ""
},
"fontSizes": {
"default": "",
"large": "",
"medium": ""
},
"sizes": {
"form-check-default": "",
"height-small": "",
"height-table-row": "",
"icon-default": "",
"max-height-logo": "",
"max-width-logo": "",
"width-medium": ""
},
"spacing": {
"xsmall": "",
"small": "",
"medium": "",
"large": "",
"xlarge": "",
"xxlarge": ""
}
"spacing": {
"xsmall": "",
"small": "",
"medium": "",
"large": "",
"xlarge": "",
"xxlarge": ""
}
}
}
Expand Down

0 comments on commit 6b3d456

Please sign in to comment.