Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-18Fix tests with email templatesCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11Prevent loading images that would require too much memory.Joachim Bauch
For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
2021-10-13Fix integrity checker testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-20Correctly replace all PHP placeholders with the parametersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-25Cleanup unneeded code around database.xmlMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-01Include additional scripts in Noto fontsDaniel Calviño Sánchez
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>
2020-12-28Merge pull request #19942 from ACTom/add-mindmap-iconChristoph Wurst
Add mindmap type file icon
2020-12-28Readd test getOnlyDefaultAliases()ACTom
Signed-off-by: ACTom <i@actom.me>
2020-12-03Fix vsprint parameterRoeland Jago Douma
%2\$; is not valid. On php7 this is just ignored but on php8 it gives an error. %2\$s; works. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-19Fix #23357medcloud
Signed-off-by: medcloud <42641918+medcloud@users.noreply.github.com>
2020-09-02Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein
IMipPlugin.php Removed blank lines to make php-cs-fixer happy. Minor cleanup: bugs found by Psalm static checker IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter. IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places. The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2020-07-23Adjust tests to new e-mail layoutSimon Spannagel
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-05-01Fix notification mail testsJan-Christoph Borchardt
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-24Make it possible to resolve svg for apps_paths outside the document rootDaniel Kesselberg
Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-17Fix mailer testRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-17Fix testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-07Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ
Mimetype list integrity check should not fail if it's changed
2019-07-04Added Tests for modified mimetypelistXheni Myrtaj
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
2019-06-27Use correct test avatarRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-04Remove the upload and memory settingJoas Schilling
* Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04Remove unused php5 config from .htaccessMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-25two item => two itemsDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-22Parse multiple navigation itemsDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-07Switch guest avatars to PNGMichael Weimann
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-02-07Implement guest avatar endpointMichael Weimann
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-10-10adding .well-known/webfingerMaxence Lange
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-10-02Refactors the scss svg functionsMichael Weimann
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-11Testcase for HEIC image (similar to the ImageTest)Sebastian Steinmetz
Signed-off-by: Sebastian Steinmetz <me@sebastiansteinmetz.ch>
2018-07-19Fix email template testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-17fix appinfo parsing when a single localized option is providedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-11Fix email buttons for white themeMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-09Fix welcome text for better grammar in themed instancesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-05Allow multiple settings and sections per appJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-08Improve text: 'you have now' -> 'you now have'Leon Klingele
Signed-off-by: Leon Klingele <leon@struktur.de>
2017-08-17Remove windows config settings in testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-24Remove unneeded stylesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-24Adjust to height=120Lukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-24Revert "Set max-width of image to 100px in Outlook as well"Lukas Reschke
2017-07-24Set max-width of image to 100px in Outlook as wellMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-19Fix translationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-12Update email template for lost password emailMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-12Fix unit testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-12Use instance name as alt-textJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-12Add addBodyButton to add a single button to email templatesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-12Allow to set text versions for the plain text emailMorris Jobke
* allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-10Move OC_Defaults to OCP\DefaultsMorris Jobke
* currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-07Add support for themingLukas Reschke
Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-07New layout for welcome emailMorris Jobke
* thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-20Add tests for SCSSCacherJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-01-11always allow remembered loginChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>