Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
06fb930
chore(deps): update cypress
renovate[bot] Sep 7, 2024
a4d72b3
fix(deps): update dependency @fontsource/roboto to ^5.1.0
renovate[bot] Sep 12, 2024
d68a2c5
Fix(l10n): Update translations from Transifex
nextcloud-bot Sep 13, 2024
4b66554
fix(cypress): roboto loading check for visual regression
skjnldsv Sep 14, 2024
2efe03b
chore(cypress): update snapshots
skjnldsv Sep 14, 2024
bde93f7
Merge pull request #2497 from nextcloud/backport/2496/stable30
skjnldsv Sep 14, 2024
50c080a
chore(deps): cypress snapshot update
nextcloud-command Sep 14, 2024
a1aa1bf
Merge pull request #2500 from nextcloud/automated/noid/stable30-cypre…
skjnldsv Sep 14, 2024
540350a
chore: Adjust vite config to correctly clear old CSS files
susnux Sep 9, 2024
3483c92
chore: Update dependencies to match server
susnux Sep 9, 2024
ad44f52
fix: Make loading the viewer an init script
susnux Sep 9, 2024
1f46005
chore: Adjust Typescript configs
susnux Sep 6, 2024
24b53fc
test: Adjust Cypress to use stable30 as base branch
susnux Sep 9, 2024
a827492
chore(assets): Recompile assets
susnux Sep 11, 2024
26600d2
Merge pull request #2488 from nextcloud/backport/2486/stable30
skjnldsv Sep 14, 2024
c0e92a1
perf: fast cypress
skjnldsv Sep 14, 2024
df96662
chore: update @nextcloud/cypress
skjnldsv Sep 14, 2024
e84f681
Merge pull request #2514 from nextcloud/backport/2513/stable30
skjnldsv Sep 14, 2024
998faae
fix: Only remove openfile from route when closing the viewer
artonge Sep 12, 2024
2daf2bb
chore(deps): cypress snapshot update
nextcloud-command Sep 15, 2024
7f641ce
Merge pull request #2516 from nextcloud/artonge/backport/stable30/2493
artonge Sep 15, 2024
f2e6e3d
fix(deps): update dependency debounce to ^2.1.1
renovate[bot] Sep 15, 2024
e936bc4
chore(deps): update dependency typescript to ^5.6.2
renovate[bot] Sep 15, 2024
ffd767e
Merge pull request #2526 from nextcloud/renovate/stable30-typescript
mejo- Sep 15, 2024
b1c55c8
fix(deps): update dependency @nextcloud/vue to ^8.18.0
renovate[bot] Sep 15, 2024
9d53f9c
Merge pull request #2520 from nextcloud/automated/noid/stable30-cypre…
skjnldsv Sep 15, 2024
4f9963e
chore(assets): Recompile assets
nextcloud-command Sep 15, 2024
4fa2fe7
Merge pull request #2527 from nextcloud/renovate/stable30-nextcloud
skjnldsv Sep 15, 2024
0ffb3c8
Merge pull request #2471 from nextcloud/renovate/stable30-cypress
skjnldsv Sep 15, 2024
8955618
Merge pull request #2525 from nextcloud/renovate/stable30-debounce-2.x
skjnldsv Sep 15, 2024
18eb500
chore(deps): update dependency vite to ^5.4.5
renovate[bot] Sep 15, 2024
d62aa52
chore(assets): Recompile assets
nextcloud-command Sep 15, 2024
180a291
Merge pull request #2515 from nextcloud/renovate/stable30-vite-5.x
skjnldsv Sep 16, 2024
2fab5b4
chore(deps): lock file maintenance
renovate[bot] Sep 16, 2024
17d1b58
chore(assets): Recompile assets
nextcloud-command Sep 16, 2024
dd69611
Merge pull request #2538 from nextcloud/renovate/stable30-lock-file-m…
renovate[bot] Sep 16, 2024
1103856
chore(deps): update dependency vite to v5.4.6 [security]
renovate[bot] Sep 17, 2024
f6e89de
fix: set light backdrop according to theme
susnux Sep 17, 2024
7a42352
chore(assets): Recompile assets
nextcloud-command Sep 17, 2024
0f7b798
Merge pull request #2545 from nextcloud/backport/2528/stable30
skjnldsv Sep 17, 2024
15ac2ee
Merge pull request #2543 from nextcloud/renovate/stable30-npm-vite-vu…
skjnldsv Sep 17, 2024
bfd00cc
Fix(l10n): Update translations from Transifex
nextcloud-bot Sep 18, 2024
f2866f8
fix: Proper layout for split view
juliusknorr Sep 19, 2024
076dd5f
chore(assets): Recompile assets
nextcloud-command Sep 27, 2024
1756d49
Merge pull request #2568 from nextcloud/backport/2549/stable30
elzody Sep 27, 2024
fb27355
chore(deps): cypress snapshot update
nextcloud-command Oct 6, 2024
ca76a4e
Merge pull request #2559 from nextcloud/automated/noid/stable30-cypre…
skjnldsv Oct 8, 2024
6d3ae93
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 10, 2024
9fa16da
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 11, 2024
eee62aa
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 14, 2024
2bcdec7
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 15, 2024
e28891c
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 16, 2024
1dd2647
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 17, 2024
2c036e7
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 18, 2024
a9d08d6
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 19, 2024
0047875
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 20, 2024
bb2c89b
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 21, 2024
ba0f7c6
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 22, 2024
b4eb9d0
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 24, 2024
80c835e
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 25, 2024
2e76f81
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 26, 2024
f6a6a97
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 27, 2024
4b8ebf4
fix(deps): Fix npm audit
nextcloud-command Oct 27, 2024
4eaa39c
Merge pull request #2575 from nextcloud/automated/noid/stable30-fix-n…
szaimen Oct 27, 2024
36892ee
fix: Update default editor translations for version 4.8.1
Ivansss Oct 14, 2024
016fa4e
chore(assets): Recompile assets
nextcloud-command Oct 29, 2024
a45cb2d
Merge pull request #2594 from nextcloud/backport/2589/stable30
skjnldsv Oct 29, 2024
218ec41
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 30, 2024
3d4694f
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 31, 2024
5cd1fb7
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 3, 2024
906aa12
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 4, 2024
95eeb87
fix: Usage of pushToHistory function on prev/next
artonge Nov 4, 2024
7c8f7b6
Merge pull request #2608 from nextcloud/artonge/backport/stable30/2605
sorbaugh Nov 5, 2024
a3b5a97
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 9, 2024
091df8d
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 12, 2024
63e79f3
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 18, 2024
1790b9a
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 4, 2024
f2aa57a
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 6, 2024
661c2ff
fix: source/dav handling and delete event payload
skjnldsv Nov 21, 2024
a9b9456
Merge pull request #2627 from nextcloud/backport/2620/stable30
skjnldsv Dec 12, 2024
ffb542a
fix(Editor): Broken translation ref
artonge Dec 2, 2024
b5790aa
chore(assets): Recompile assets
nextcloud-command Dec 3, 2024
3e493f1
Merge pull request #2624 from nextcloud/backport/2621/stable30
skjnldsv Dec 14, 2024
033675c
chore(deps): update cypress
renovate[bot] Dec 14, 2024
4b64065
Merge pull request #2555 from nextcloud/renovate/stable30-cypress
skjnldsv Dec 14, 2024
9912e5d
fix(deps): Fix npm audit
nextcloud-command Dec 14, 2024
a6c2ff0
Merge pull request #2642 from nextcloud/automated/noid/stable30-fix-n…
skjnldsv Dec 14, 2024
1288a6b
fix(deps): update dependency vue-material-design-icons to ^5.3.1
renovate[bot] Dec 14, 2024
c247e02
chore(deps): cypress snapshot update
nextcloud-command Dec 15, 2024
bde4879
Merge pull request #2651 from nextcloud/automated/noid/stable30-cypre…
skjnldsv Dec 15, 2024
2136408
chore(deps): update typescript
renovate[bot] Dec 15, 2024
69f2d02
Merge pull request #2483 from nextcloud/renovate/stable30-fontsource-…
skjnldsv Dec 15, 2024
952673f
Merge pull request #2649 from nextcloud/renovate/stable30-vue-materia…
skjnldsv Dec 15, 2024
67f367b
fix(deps): update dependency debounce to ^2.2.0
renovate[bot] Dec 14, 2024
b3c57ec
chore(assets): Recompile assets
nextcloud-command Dec 15, 2024
469ef4a
Merge pull request #2655 from nextcloud/renovate/stable30-typescript
skjnldsv Dec 15, 2024
1e0ef26
Merge pull request #2648 from nextcloud/renovate/stable30-debounce-2.x
skjnldsv Dec 15, 2024
4230276
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 16, 2024
6d36178
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 17, 2024
b88a38c
chore(deps): update dependency cypress to ^13.17.0
renovate[bot] Jan 1, 2025
c1507af
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 3, 2025
d84a78d
chore(deps): update dockerode
renovate[bot] Jan 7, 2025
f299638
fix: Close viewer if we navigate back in browser history
juliusknorr Dec 20, 2024
26b5e1c
Merge pull request #2679 from nextcloud/backport/2661/stable30
skjnldsv Jan 8, 2025
a7f611f
Merge pull request #2647 from nextcloud/renovate/stable30-dockerode
skjnldsv Jan 8, 2025
17514e4
Merge pull request #2671 from nextcloud/renovate/stable30-cypress
skjnldsv Jan 8, 2025
049e9fd
fix(deps): update nextcloud
renovate[bot] Dec 23, 2024
800cd13
chore(assets): Recompile assets
nextcloud-command Jan 8, 2025
7e30c20
Merge pull request #2556 from nextcloud/renovate/stable30-nextcloud
skjnldsv Jan 8, 2025
5a4f72b
chore(deps): lock file maintenance
renovate[bot] Jan 8, 2025
da562d1
chore(assets): Recompile assets
nextcloud-command Jan 8, 2025
0a7bc6e
Merge pull request #2672 from nextcloud/renovate/stable30-lock-file-m…
skjnldsv Jan 9, 2025
8fa4fa0
chore(deps): update dependency vite to ^5.4.11
renovate[bot] Dec 15, 2024
c5abca6
chore(assets): Recompile assets
nextcloud-command Jan 9, 2025
87a58e8
Merge pull request #2571 from nextcloud/renovate/stable30-vite-5.x
skjnldsv Jan 9, 2025
91f18e7
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 14, 2025
66ff41f
Merge v30.0.5 into v30.0.0
printminion-co Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 33 additions & 55 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,31 @@ env:
BRANCH: ${{ github.base_ref || github.ref_name }}

jobs:
init:
cypress:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}

strategy:
fail-fast: false
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows (0 based index for e2e tests)
containers: [0, 1, 2, 3, 4, 5, 6, 7]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always align this number with the total of e2e runners (max. index + 1)
total-containers: [8]

name: runner ${{ matrix.containers }}

env:
PUPPETEER_SKIP_DOWNLOAD: true

steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not approve PRs from forks'
exit 1

- name: Checkout app
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

Expand All @@ -52,8 +67,8 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: "^20"
fallbackNpm: "^10"
fallbackNode: '^20'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
Expand All @@ -65,66 +80,29 @@ jobs:

- name: Install node dependencies & build app
run: |
npm ci
# We'll install cypress in the cypress job
CYPRESS_INSTALL_BINARY=0 npm ci
npm run build --if-present

- name: Save context
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: ./

cypress:
runs-on: ubuntu-latest
needs: init

strategy:
fail-fast: false
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows (0 based index for e2e tests)
containers: [0, 1, 2, 3, 4, 5, 6, 7]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always aling this number with the total of e2e runners (max. index + 1)
total-containers: [8]

name: runner ${{ matrix.containers }}

steps:
- name: Restore context
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: ./

- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ needs.init.outputs.nodeVersion }}

- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Install cypress
run: ./node_modules/cypress/bin/cypress install

- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # v6.7.1
uses: cypress-io/github-action@496e7dc0edc421a9de8a36a31c793340e00c61bf # v6.7.5
with:
record: ${{ secrets.CYPRESS_RECORD_KEY && true }}
parallel: ${{ secrets.CYPRESS_RECORD_KEY && true }}
# We already installed the dependencies in the init job
install: false
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: ${{ secrets.CYPRESS_RECORD_KEY && env.CYPRESS_GROUP }}
# cypress env
ci-build-id: ${{ secrets.CYPRESS_RECORD_KEY && env.CYPRESS_BUILD_ID }}
tag: ${{ secrets.CYPRESS_RECORD_KEY && github.event_name }}
# Do not add Cypress record key config as this conflicts with cypress-split
# Cypress again tries to force users to buy there dashboard...
env:
# Needs to be prefixed with CYPRESS_
CYPRESS_BRANCH: ${{ env.BRANCH }}
# https://github.com/cypress-io/github-action/issues/124
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
# Needed for some specific code workarounds
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}

Expand All @@ -137,7 +115,7 @@ jobs:

- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log

- name: Upload NC logs
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
Expand All @@ -148,12 +126,12 @@ jobs:

summary:
runs-on: ubuntu-latest-low
needs: [init, cypress]
needs: [cypress]

if: always()

name: cypress-summary

steps:
- name: Summary status
run: if ${{ needs.init.result != 'success' || ( needs.cypress.result != 'success' && needs.cypress.result != 'skipped' ) }}; then exit 1; fi
run: if ${{ needs.cypress.result != 'success' && needs.cypress.result != 'skipped' }}; then exit 1; fi
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.0"
"php": "8.1"
}
},
"scripts": {
Expand All @@ -17,9 +17,9 @@
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"require-dev": {
"nextcloud/coding-standard": "^1.0.0",
"nextcloud/coding-standard": "^1.2.1",
"phpunit/phpunit": "^9",
"vimeo/psalm": "^5.15.0",
"nextcloud/ocp": "dev-master"
"nextcloud/ocp": "dev-stable30"
}
}
Loading
Loading