Commit Graph

58604 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez 9f96a47125 Add OCC command to reset rendered texts
The command is meant to be used when the fonts used to render texts
("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf")
are changed (for example, to add support for other scripts). The avatar
and text file previews will be removed, so they will be generated again
with the updated font when needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-01 20:54:43 +01:00
Joas Schilling db3b698fc0
Hello 2016
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 20:28:12 +01:00
Joas Schilling 96ae83c529
Remove HTML from setup check translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 20:24:02 +01:00
Joas Schilling 9569df7405
Add target black and noref rules to doc links
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 19:42:34 +01:00
Arthur Schiwon 5ad08c7c84
do not die after LDAP auth failed with expired acc
- some servers return error code 53

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-01 19:20:05 +01:00
Daniel Calviño Sánchez ee06780029 Include additional scripts in Noto fonts
Generated avatars as well as text file previews are rendered using the
"core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted
"NotoSans-Regular.ttf" file from https://www.google.com/get/noto/.
However that file does not cover some non LGC (Latin, Greek, Cyrillic)
scripts, like Arabic, Devanagari or Hebrew, to name a few.

Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is
in the same situation as the regular one.

Due to limitations in the TTF format it is not possible to provide a
single file for each style that includes all Noto fonts. However, it is
possible to add more scripts to the standard "NotoSans-Regular.ttf" and
"NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean)
glyph can be included due to the aforementioned limitations).

This commit replaces the standard files with an extended version created
using the Noto Tools. The build script (as well as a patch for the Noto
Tools) is also included for reference and to be able to update the font
files in the future if needed.

Due to the additional scripts added the font files are now much larger,
although this does not seem to increase the time spent rendering LGC
scripts.

Note that the file for the bold style still contains less scripts than
the regular one, as not all scripts supported by Noto have a bold
weight.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-01 19:15:01 +01:00
Roeland Jago Douma 148cc83c52
Merge pull request #25856 from nextcloud/techdept/pslam/card_getOwner
Card::getOwner should return the actual value
2021-03-01 18:25:17 +01:00
Roeland Jago Douma e28173863e Card::getOwner should return the actual value
I guess we never call this at runtime or it would already ahve done boom
very loudly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:51:36 +01:00
Roeland Jago Douma 3d0dff0d2b Fix lying docblocks
* typed the return
* removed unneeded temp variable

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:48:04 +01:00
Johannes Leuker 2796ef80ff Show group backends in occ group:list --info and group:info
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-03-01 16:02:08 +01:00
Roeland Jago Douma 5cd1880daa Fix a few RedundantCast
Reported by psalm
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:00:32 +01:00
John Molakvoæ 92d6abf216
Merge pull request #25712 from nextcloud/fix/noid/admin-password-tooltip
Fix admin password strengthify tooltip
2021-03-01 14:52:57 +01:00
Jonas Rittershofer f02362e029
Include RichObject for forms
Ref. https://github.com/nextcloud/forms/pull/789

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-03-01 14:00:33 +01:00
Roeland Jago Douma 2d856c8465
Merge pull request #25715 from nextcloud/fix/ca-checker
Bump the ca location
2021-03-01 13:33:02 +01:00
Julius Härtl d005ce5777
Merge pull request #25799 from nextcloud/wiswedel/fix/config/templatedirectory
fix typo in template directory config
2021-03-01 13:20:58 +01:00
blizzz 9cd39b0b8c
Merge pull request #25757 from nextcloud/fix/noid/ldap-cyclic-group-memberships
fix detecting cyclic group memberships
2021-03-01 12:07:59 +01:00
Christoph Wurst 01f082b4a3
Merge pull request #25745 from nextcloud/dependachristoph/composer/symfony-polyfills
Bump the Symfony polyfills
2021-03-01 11:57:06 +01:00
John Molakvoæ cc7f4ab1ea
Merge pull request #25803 from nextcloud/bugfix/25364/make-compatible-app-message-less-confusing
Make the compatible app message less confusing for multi versions apps
2021-03-01 10:37:13 +01:00
Roeland Jago Douma 91f260fe29
Merge pull request #25804 from nextcloud/bugfix/noid/fread-0
Do not attempt to read 0 bytes when manually iterating over a non-seekable file
2021-03-01 09:54:33 +01:00
Nextcloud bot 9a90bfba32
[tx-robot] updated from transifex 2021-03-01 02:20:19 +00:00
Nextcloud bot 24d5afb1b1
[tx-robot] updated from transifex 2021-02-28 02:19:54 +00:00
Nextcloud bot 65b0511d79
[tx-robot] updated from transifex 2021-02-27 02:22:23 +00:00
Joas Schilling 4807ce3b08 Make the compatible app message less confusing for multi versions apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-26 10:56:35 +00:00
Julius Härtl 19eb48b8a3
Properly end iterating over the file once the target has been reached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-26 11:29:01 +01:00
Vincent Petry 18b419f0ca
Merge pull request #24255 from nextcloud/bugfix/noid/missing-checkbox-focus
Add focus-visible outline for checkboxes and radio buttons
2021-02-26 11:22:19 +01:00
Vincent Petry 49eff095ff
Change outline color to --color-main-text
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:21 +01:00
Vincent Petry 53b162bad9
Fix focus-visible outline for files checkboxes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:21 +01:00
Vincent Petry 23c143e034
Add focus-visible outline for checkboxes and radio buttons
To make keyboard navigation visible in forms.
When clicking with the mouse it doesn't appear.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:20 +01:00
Nextcloud bot b4ccadea2b
[tx-robot] updated from transifex 2021-02-26 02:21:45 +00:00
Sascha Wiswedel a58cc13e2b fix typo in template directory config
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-02-25 23:21:27 +01:00
kesselb c663cbe666
Merge pull request #25778 from noiob/patch-1
Remove double space in sharebymail SettingsManager
2021-02-25 19:31:34 +01:00
Christoph Wurst ce082dd49b
Merge pull request #25786 from nextcloud/fix/register-aliases-params-once
Register service aliases und parameters just once
2021-02-25 09:47:27 +01:00
Nextcloud bot c8f7a808fd
[tx-robot] updated from transifex 2021-02-25 02:21:21 +00:00
Christoph Wurst 6a9b693540
Register service aliases und parameters just once
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-24 17:30:10 +01:00
noiob f28ee36e20 Remove double space so php-cs stops complaining
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-02-24 11:33:19 +01:00
Nextcloud bot b89fbaf52d
[tx-robot] updated from transifex 2021-02-24 02:22:06 +00:00
Arthur Schiwon 4d33449faa
fix detecting cyclic group memberships
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-23 22:50:43 +01:00
Nextcloud bot ff54a0481b
[tx-robot] updated from transifex 2021-02-23 02:39:25 +00:00
Richard Steinmetz 2771e4472e
Fix admin password strengthify tooltip
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-02-22 21:28:42 +01:00
Christoph Wurst bfa8114069
Bump the Symfony polyfills
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-22 19:26:26 +01:00
Lukas Reschke d090341b34
Merge pull request #25743 from nextcloud/disable-vs-code-intellisense
Disable basic PHP completion in Codespace
2021-02-22 15:27:11 +01:00
Lukas Reschke cecf319747 Disable basic PHP completion in Codespace
This competes with the completions provided by
https://github.com/felixfbecker/vscode-php-intellisense.

Thus disabling the completions is recommended.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-22 11:30:17 +00:00
Lukas Reschke e5a0219133
Merge pull request #25680 from nextcloud/taint-expressionbuilder
Add expression taint source and sanitizer
2021-02-22 12:26:48 +01:00
John Molakvoæ 1eca8d21ee
Merge pull request #25602 from nextcloud/bugfix/noid/only-create-share-once
Avoid creating two share links when password is enforced
2021-02-22 12:08:49 +01:00
Vincent Petry f321538c9b
Merge pull request #25689 from nextcloud/bugfix/noid/disable-updater-ui-when-disabled
Hide update channel + button when web update is disabled
2021-02-22 09:29:56 +01:00
Nextcloud bot 3ff92423e2
[tx-robot] updated from transifex 2021-02-21 02:39:59 +00:00
François Freitag 5315cadf28
Remove Makefile rule clean-dev
From npm ci docs https://docs.npmjs.com/cli/v7/commands/npm-ci:

If a node_modules is already present, it will be automatically removed
before npm ci begins its install.

Unnecessary since b595d86e96.

Signed-off-by: François Freitag <mail@franek.fr>
2021-02-20 20:20:05 +01:00
Nextcloud bot ac2577a594
[tx-robot] updated from transifex 2021-02-20 02:37:22 +00:00
Lionel Elie Mamane 02809bde12 make php-cs-fixer happy
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2021-02-19 23:18:18 +01:00
Lionel Elie Mamane f99f463834 token login: emit preLogin event with LoginName
to bring it in line with normal (non-token) login.

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2021-02-19 22:27:46 +01:00