aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
Commit message (Collapse)AuthorAgeFilesLines
* Update avatars on updateCarl Schwan2022-09-091-0/+0
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Simlify tests for integrity check on modified mimetype listsJulius Härtl2022-06-072-2/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix tests with email templatesCarl Schwan2022-01-182-4/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-0/+0
| | | | | | | | | | | | | 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>
* Fix integrity checker testsJulius Härtl2021-10-131-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Correctly replace all PHP placeholders with the parametersJoas Schilling2021-04-201-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup unneeded code around database.xmlMorris Jobke2021-03-242-448/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Include additional scripts in Noto fontsDaniel Calviño Sánchez2021-03-011-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Merge pull request #19942 from ACTom/add-mindmap-iconChristoph Wurst2020-12-281-1/+5
|\ | | | | Add mindmap type file icon
| * Readd test getOnlyDefaultAliases()ACTom2020-12-281-1/+5
| | | | | | | | Signed-off-by: ACTom <i@actom.me>
* | Fix vsprint parameterRoeland Jago Douma2020-12-031-1/+1
| | | | | | | | | | | | | | %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>
* | Fix #23357medcloud2020-11-183-6/+6
|/ | | | Signed-off-by: medcloud <42641918+medcloud@users.noreply.github.com>
* Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein2020-09-023-0/+3
| | | | | | | | | | | 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>
* Adjust tests to new e-mail layoutSimon Spannagel2020-07-233-6/+6
| | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* Fix notification mail testsJan-Christoph Borchardt2020-05-013-138/+117
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Make it possible to resolve svg for apps_paths outside the document rootDaniel Kesselberg2020-04-242-0/+2
| | | | | | 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>
* Fix mailer testRoeland Jago Douma2020-04-171-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsMorris Jobke2020-04-172-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ2019-07-071-0/+133
|\ | | | | Mimetype list integrity check should not fail if it's changed
| * Added Tests for modified mimetypelistXheni Myrtaj2019-07-041-0/+133
| | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* | Use correct test avatarRoeland Jago Douma2019-06-271-0/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove the upload and memory settingJoas Schilling2019-03-042-10/+0
| | | | | | | | | | * 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>
* Remove unused php5 config from .htaccessMorris Jobke2019-03-042-13/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* two item => two itemsDaniel Kesselberg2019-02-252-0/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Parse multiple navigation itemsDaniel Kesselberg2019-02-224-0/+330
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Switch guest avatars to PNGMichael Weimann2019-02-071-0/+0
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Implement guest avatar endpointMichael Weimann2019-02-072-0/+5
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* adding .well-known/webfingerMaxence Lange2018-10-101-0/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Refactors the scss svg functionsMichael Weimann2018-10-024-0/+4
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Testcase for HEIC image (similar to the ImageTest)Sebastian Steinmetz2018-08-111-0/+0
| | | Signed-off-by: Sebastian Steinmetz <me@sebastiansteinmetz.ch>
* Fix email template testsJulius Härtl2018-07-193-6/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix appinfo parsing when a single localized option is providedRobin Appelman2018-04-172-0/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix email buttons for white themeMorris Jobke2017-12-113-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix welcome text for better grammar in themed instancesMorris Jobke2017-11-097-7/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow multiple settings and sections per appJoas Schilling2017-10-051-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve text: 'you have now' -> 'you now have'Leon Klingele2017-09-087-7/+7
| | | | Signed-off-by: Leon Klingele <leon@struktur.de>
* Remove windows config settings in testsMorris Jobke2017-08-171-350/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded stylesMorris Jobke2017-07-243-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust to height=120Lukas Reschke2017-07-243-3/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Revert "Set max-width of image to 100px in Outlook as well"Lukas Reschke2017-07-243-9/+0
|
* Set max-width of image to 100px in Outlook as wellMorris Jobke2017-07-233-0/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-182-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update email template for lost password emailMorris Jobke2017-04-121-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit testsMorris Jobke2017-04-124-4/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use instance name as alt-textJoas Schilling2017-04-123-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-122-0/+183
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to set text versions for the plain text emailMorris Jobke2017-04-111-0/+11
| | | | | | * allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-092-2/+2
| | | | | | | | | | | | | * 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>
* Add support for themingLukas Reschke2017-04-073-5/+202
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* New layout for welcome emailMorris Jobke2017-04-072-0/+200
| | | | | | | * 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>