Commit Graph

3315 Commits (dcc6c1956ac7d6d5cf4781cb00a1055dee47d599)

Author SHA1 Message Date
Côme Chilliet 95ea46c99c Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-07 15:45:27 +07:00
Côme Chilliet 51758117a7
Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:07:47 +07:00
Côme Chilliet 1b547c7db8 Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet ad88c04f2d Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet 2cb1c0f2dc Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet 0107c7ea24 Migrate Forwarded For Headers check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +07:00
Côme Chilliet 0da05fc73b
Merge pull request #41435 from nextcloud/feat/migrate-bruteforce-throttle-check
Migrate bruteforce throttle check
2023-11-20 11:32:06 +07:00
Christoph Wurst c9dc377ebc
Merge pull request #41395 from nextcloud/hello-emf
feat: add preview provider for emf files based on office
2023-11-16 19:48:06 +07:00
Côme Chilliet fe8b5d47ae
Migrate Bruteforce Throttle check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 16:26:59 +07:00
Côme Chilliet 7495236034
Migrate memory_limit check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 15:55:46 +07:00
Daniel Kesselberg aa48a5f94f
feat: add preview provider for emf files based on office
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:35:54 +07:00
Côme Chilliet 00d3856b92
Revert "Migrate code integrity to SetupCheck API"
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:04 +07:00
Côme Chilliet 0fd5ed9854
Migrate 32bit check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet ac3da13b38
Migrate Freetype check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet 086d3ceecc
Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet 147b29fca2
Migrate Randomness secure check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet ddd13a90d8
Migrate memcache check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:02 +07:00
Côme Chilliet 6911dc30e6
Migrated both file locking checks to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet f9770b8ef2
Remove duplicate fileinfo PHP module check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet 3c75075eba
Migrate database transaction level check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet 5957a2bf6b
Migrate email test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet 506f3961ec
Remove duplicated ReadOnlyConfig setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet dec52f6979
Migrate getenv test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet d0ed5ea2f3
Merge pull request #40889 from nextcloud/feat/check-for-more-php-modules
Check for more php modules
2023-10-26 19:13:28 +07:00
Magnus Anderssen 57dae366ca fix(grant): remove JS error on Grant page
Closes #41098

Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
2023-10-26 12:19:07 +07:00
Côme Chilliet 0c346849f3
Migrate missing PHP modules check to new API and improve it
Test all modules listed as required in our documentation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 15:58:45 +07:00
Côme Chilliet 789ff3f414
Fix jsunit tests for SetupChecks
Tests could be simplified to test generic setup check directly with fake
 data instead of trying to mimic real steps results but for now this
 will do.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 14:46:46 +07:00
Côme Chilliet bd37067821
Migrate InternetConnectivity check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +07:00
Côme Chilliet 05cb1415e1
Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI
 for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +07:00
julia.kirschenheuter 7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +07:00
Christoph Wurst 6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +07:00
Anna Larch 7f11ee8c4a fix(CardDAV): only run upgrade sync if 1000 users or less
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-26 17:21:50 +07:00
Joas Schilling bed3ffb312
feat(admin): Show an error when the admin is throttled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +07:00
Ferdinand Thiessen 717276d1ab fix(core): Modernize the mimetype handling
No need for jQuery or lodash as standard ECMA is supported by all of our supported browsers

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 10:08:45 +07:00
Dany1718 4c7495fc2d Changed mapping to font
* Updated mimetypelist icon mapping

Signed-off-by: Dany1718 <daniel.dossantos@ufl.edu>
2023-08-03 04:53:47 +07:00
Simon L d25d5d34f7 adjust admin setup check to increase warning to set up https
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:54:48 +07:00
Julius Härtl a6966c0b2d
feat: Add setup check warning if instance is in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 07:34:03 +07:00
Andy Scherzinger f5c4f55576
Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0
Deprecate PHP8.0
2023-04-19 15:28:12 +07:00
Simon L 1a255379e8
Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check
add an admin check for db file locking
2023-04-18 13:31:57 +07:00
Simon L e2ab9bf4af address review and fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 11:33:53 +07:00
fenn-cs 60a710c91c Deprecate PHP8.0
PHP8.0 would stop receiving security support on 26 Nov 2023
 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL.

This commit also updates the message type from INFO to WARNING if the php
 on file has reached its EOL.

See: https://www.php.net/supported-versions.php

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-04-17 23:45:59 +07:00
Alexander A. Klimov ff02b072ae Drop broken unit test
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +07:00
Alexander A. Klimov e3f1fae715 Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
This is the case for localhost and Tor hidden services.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +07:00
Simon L 80645a591a add an admin check for db file locking
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 12:51:33 +07:00
John Molakvoæ f060e5a72f
fix(tests): update jsunit tests after dep and files update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:37 +07:00
Ferdinand Thiessen c97137e434 fix(jsunit): Modify `OC.L10N` tests as it does not depend on `OC.` anymore
Meaning we can not stub `getLocale` but must override the document attribute instead.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 15:03:31 +07:00
Julius Härtl f3d3dfa075
fix: Avoid throwing errors on public auth page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-20 09:17:15 +07:00
MichaIng 5f90b8eb11
Change X-Robots-Tag header from "none" to "noindex, nofollow"
While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names
https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list
https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-15 20:16:51 +07:00
Côme Chilliet d4ed1a13fd
Revert "update 64-bit check wording"
This reverts commit f5ad282418.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 15:02:54 +07:00
Marcel Müller bbb490de5e Fix event listener race condition on login-form
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-23 19:51:10 +07:00
Christopher Ng f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +07:00
Christoph Wurst 75a1721d7d
Deprecate PHP7.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-10 09:56:32 +07:00
Valdnet a18a95bbc9
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-09 18:01:20 +07:00
Valdnet ea41f21bbe
l10n: Shorten link
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-05 18:14:41 +07:00
szaimen f5ad282418 update 64-bit check wording
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-01 13:50:50 +07:00
Joas Schilling f976d372fe
Adjust tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 16:38:50 +07:00
Valdnet caac0f069d
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:13:39 +07:00
Valdnet 187464a70d
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:12:09 +07:00
Valdnet 58d98a3085
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 10:39:32 +07:00
Valdnet a9f20b94c9 l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-19 08:05:50 +07:00
Daniel Kesselberg 700875d90d
Rewrite OC.SystemTags.getDescriptiveTag to vanilla js
For every tag a deprecation warning is emitted.
With 10k tags the ui becomes unresponsive and inspector crashed occasionally.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:08:04 +07:00
Carl Schwan e0a8669a25
Use primary button in updater
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:16:09 +07:00
Simon L 4209dc7d66
Merge pull request #33475 from nextcloud/rakekniven-patch-1
l10n: Changed grammar
2022-08-31 19:34:29 +07:00
Julius Härtl b617f3983a
Merge pull request #33728 from nextcloud/enh/app-menu-vue
Move app menu to vue
2022-08-31 16:17:03 +07:00
Julius Härtl aa85e1c2af
Fix jsunit failures
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:36:20 +07:00
Joas Schilling 85eb3b2920
Fix wording of undeliverable push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-31 12:42:31 +07:00
rakekniven a1987158d7
l10n: Changed grammar
Fixed tests for #33475 

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-08-11 09:29:30 +07:00
rakekniven a3a5ba0474
l10n: Changed grammar
See https://en.wikipedia.org/wiki/32-bit_computing and related articles.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-08-06 20:01:38 +07:00
Carl Schwan 3fa6ee3c60 Fix login flow
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 11:29:12 +07:00
Vincent Petry 3df85205b4
Fix core tests by stubbing debounce
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 15:46:17 +07:00
Lukas Döllerer 1a817453a2
Add button disable on submit for login grant
Signed-off-by: Lukas Döllerer <info@lukas-doellerer.de>
2022-07-25 16:19:35 +07:00
szaimen c1b88f927e add a link to system requirements for new 64bit setup check
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-07-13 22:16:42 +07:00
szaimen cf9b1082ed add a setup check for 64 bit
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-07-13 09:33:33 +07:00
Luka Trovic 4404ed649d
feat: add x-office-form-template and x-office-form icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-06-07 21:54:27 +07:00
Luka Trovic 0858d3d514
feat: add docxf and form mimetypes
signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-06-07 21:54:27 +07:00
Cyrille Bollu c6a5c07041 Adds a "Request password" button to the public share authentication page for shares
of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing
non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves.

- Creates a migration step for the files_sharing app to add the 'password_expiration_time'
  attribute to the oc_shares table.
- Makes share temporary passwords' expiration time configurable via a system value.
- Adds a system config value to allow permanent share passwords

-Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue

See https://github.com/nextcloud/server/issues/31005

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2022-04-11 21:58:24 +07:00
Valdnet 7cb012d86e Return to quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-31 16:21:28 +07:00
Valdnet a3f8f08d50 Correct code
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-31 16:21:28 +07:00
Valdnet d94b19de93 Code ordering for text strings
Code cleanup for text strings and change quotation marks to apostrophe for 'occ'.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-31 16:21:06 +07:00
MichaIng ea0e45d81e Remove legacy Internet Explorer headers
X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-19 18:17:46 +07:00
Simon L 3a0b934f84
Merge pull request #31430 from nextcloud/enh/31429/improve-overwrite-cli-url-check
Validate `overwrite.cli.url` to be a url in setup check
2022-03-10 12:40:59 +07:00
szaimen 4191a178dd improve overwrite cli url setup check
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-09 22:26:00 +07:00
szaimen 3c8f8bc70a fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-07 18:07:45 +07:00
szaimen 7dca146b58 allow to disable the imagick warning
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-03-07 17:35:12 +07:00
MichaIng 5ac91f1cb8 Add Nextcloud docs link to OPcache recommends
A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list.

Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-03 23:00:07 +07:00
Arthur Schiwon b28aa52b28
Setup warning for invalid LDAP user or group UUIDs.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 10:15:01 +07:00
Valdnet 105169433e
Update core/js/setupchecks.js
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>

Co-authored-by: Simon L. <szaimen@e.mail.de>
2022-02-04 10:17:08 +07:00
Valdnet e172eb09e0
l10n: Remove spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-02-04 09:55:36 +07:00
szaimen 445ab85b01 add a test for wasEmailTestSuccessful
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:41:12 +07:00
szaimen fa1ee8f0c7 fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:41:12 +07:00
szaimen 84cf39f582 show if the mail server settings are not set or verified
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:16:35 +07:00
Louis Chemineau be968a8841 Use @nextcloud/sharing in files and files_sharing
Signed-off-by: Louis Chemineau <louis@chmn.me>

Update tests

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-26 17:58:43 +07:00
Joas Schilling efd32abeca
Revert 'DOMContentLoaded' change
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-19 17:12:43 +07:00
Louis Chemineau b46ff973e0 Use less deprecated methods in base.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-19 11:07:12 +07:00
Louis Chemineau f752888d91 Fix contactmenu tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:01 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07:00
Louis Chemineau d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
John Molakvoæ 5faba45e63
Merge pull request #30571 from nextcloud/fix/missing-jquery 2022-01-10 20:03:21 +07:00
Vincent Petry 6aba3964d3
Fix JS tests after test lib updates
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 15:08:03 +07:00
Azul 94554c4c0d fix: only use jquery once it is available
publicpage.js is loaded very early and cannot rely on jquery being loaded already.

Move the use of `$` into the `DomContentLoaded` handler.

Signed-off-by: Azul <azul@riseup.net>
2022-01-10 14:55:07 +07:00