Commit Graph

10997 Commits

Author SHA1 Message Date
Roeland Jago Douma c12f5482b2
Revert "[stable21] add a prefix index to filecache.path" 2021-04-08 10:08:34 +02:00
Nextcloud bot 2e13dc2aa1
[tx-robot] updated from transifex 2021-04-08 02:24:15 +00:00
Nextcloud bot 1f3d1546dd
[tx-robot] updated from transifex 2021-04-07 02:24:26 +00:00
Nextcloud bot a9b5cde333
[tx-robot] updated from transifex 2021-04-05 02:24:56 +00:00
Nextcloud bot e85188f429
[tx-robot] updated from transifex 2021-04-04 02:24:59 +00:00
Nextcloud bot fe7ad83c76
[tx-robot] updated from transifex 2021-04-03 02:43:46 +00:00
Nextcloud bot e14860c8f2
[tx-robot] updated from transifex 2021-04-02 02:26:17 +00:00
Robin Appelman 17b64a4606 remove leftover debug @NoCSRFRequired introduced with #26198
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-01 13:11:31 +00:00
Nextcloud bot 737f755941
[tx-robot] updated from transifex 2021-04-01 02:24:51 +00:00
Nextcloud bot 68e9013c39
[tx-robot] updated from transifex 2021-03-30 02:24:32 +00:00
Roeland Jago Douma f9cef329ba
Merge pull request #26326 from nextcloud/backport/26070/stable21
[stable21] add a prefix index to filecache.path
2021-03-29 21:13:13 +02:00
Nick Sweeting e7aefc3424 change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
2021-03-29 16:17:16 +00:00
Nextcloud bot d6156b970b
[tx-robot] updated from transifex 2021-03-29 02:24:09 +00:00
Nextcloud bot f10f9d090a
[tx-robot] updated from transifex 2021-03-28 02:24:15 +00:00
Robin Appelman 861fbd06a5 add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-26 19:44:28 +00:00
Nextcloud bot 9ddc6df797
[tx-robot] updated from transifex 2021-03-26 02:25:43 +00:00
Nextcloud bot 769c6fedad
[tx-robot] updated from transifex 2021-03-25 02:25:48 +00:00
Morris Jobke ffb7c51ca6
Merge pull request #26257 from nextcloud/backport/26198/stable21
[stable21] Handle limit offset and sorting in files search
2021-03-24 17:32:36 +01:00
Morris Jobke 88b0b5aa40
Merge pull request #26249 from nextcloud/backport/25529/stable21
[stable21] Fix non LGC glyphs in avatars and txt file previews
2021-03-24 14:20:25 +01:00
Nextcloud bot ef273fef4b
[tx-robot] updated from transifex 2021-03-24 02:25:17 +00:00
Robin Appelman 5a1ae2c3c0 use node search api for legacy file search endpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 13:41:22 +00:00
Nextcloud bot c60f0e06d0
[tx-robot] updated from transifex 2021-03-23 02:24:15 +00:00
Daniel Calviño Sánchez e6ee498f88 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-22 20:07:59 +00:00
Daniel Calviño Sánchez 4cb539bf09 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-22 20:07:58 +00:00
Joas Schilling f2acf492cf Add missing index on the user column
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 20:07:53 +01:00
Nextcloud bot 2e2d2e79e8
[tx-robot] updated from transifex 2021-03-22 02:23:56 +00:00
Nextcloud bot 89319b995f
[tx-robot] updated from transifex 2021-03-21 02:23:20 +00:00
Nextcloud bot 798eff0161
[tx-robot] updated from transifex 2021-03-20 02:23:52 +00:00
Nextcloud bot 942b40583c
[tx-robot] updated from transifex 2021-03-19 02:25:05 +00:00
Nextcloud bot fd29c1d72a
[tx-robot] updated from transifex 2021-03-17 02:24:31 +00:00
Nextcloud bot 7c21fba61f
[tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00
Nextcloud bot 0ea077ae1f
[tx-robot] updated from transifex 2021-03-14 02:23:50 +00:00
Nextcloud bot 5b923eee03
[tx-robot] updated from transifex 2021-03-13 02:23:05 +00:00
Nextcloud bot 6e2f7ddc7a
[tx-robot] updated from transifex 2021-03-12 02:22:52 +00:00
Joas Schilling ebb9f1d16a
Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:38:55 +01:00
Nextcloud bot e28dbef7a1
[tx-robot] updated from transifex 2021-03-11 02:23:18 +00:00
Nextcloud bot 3c07ae86ea
[tx-robot] updated from transifex 2021-03-10 02:23:09 +00:00
Nextcloud bot 45cc358d79
[tx-robot] updated from transifex 2021-03-09 02:24:04 +00:00
Roeland Jago Douma 6842530d7f
Merge pull request #25962 from nextcloud/backport/25712/stable21
[stable21] Fix admin password strengthify tooltip
2021-03-08 08:53:47 +01:00
Nextcloud bot 48df1bef17
[tx-robot] updated from transifex 2021-03-08 02:23:21 +00:00
Nextcloud bot 0dc05f51ef
[tx-robot] updated from transifex 2021-03-07 02:22:17 +00:00
Nextcloud bot 5e6a891fce
[tx-robot] updated from transifex 2021-03-06 02:22:32 +00:00
Richard Steinmetz 4c2159a622
Fix admin password strengthify tooltip
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-03-05 18:15:30 +01:00
Nextcloud bot 163bf97c3e
[tx-robot] updated from transifex 2021-03-05 02:22:09 +00:00
Nextcloud bot 5a39900c24
[tx-robot] updated from transifex 2021-03-04 02:22:22 +00:00
Nextcloud bot 2a66d4e5d1
[tx-robot] updated from transifex 2021-03-03 02:21:34 +00:00
Nextcloud bot 3aca170a3e
[tx-robot] updated from transifex 2021-03-02 02:22:30 +00:00
Nextcloud bot 05978f40ff
[tx-robot] updated from transifex 2021-03-01 02:20:30 +00:00
Nextcloud bot 38f40f821d
[tx-robot] updated from transifex 2021-02-28 02:20:04 +00:00
Nextcloud bot a07d4d3ed5
[tx-robot] updated from transifex 2021-02-27 02:22:32 +00:00