Commit Graph

37 Commits (master)

Author SHA1 Message Date
Richard Steinmetz ccc0c3c25f fix(l10n): do not consider user language when getting the generic one 2 months ago
Joas Schilling 9e4ac50206
fix(l10n): Don't fallback from 3-letter languages to 2-letter 2 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Joas Schilling b77011a918
test: Prepare more tests for PHPUnit 10 8 months ago
Joas Schilling 82566c5479
fix(rtl): Make clear that the direction is based on language 1 year ago
Mostafa Ahangarha d94745201b
fix(rtl): Add unittest for language direction 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Misha M.-Kupriyanov aceb4d776c feat: reduce available languages per config value "reduce_to_languages" 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Côme Chilliet a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Julius Härtl 306d7829b5
Cache available languages locally 3 years ago
Côme Chilliet 6f80fe6ada
Remove deprecated at matcher from tests/lib 3 years ago
Côme Chilliet 6a1510f8ee
Remove some more at matchers in tests/lib 4 years ago
Christoph Wurst 5b727fc7da
Add L10n factory method for generic language heuristics 4 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Morris Jobke 7e6c0ec284
Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst de6940352a Move settings to an app 6 years ago
Arthur Schiwon 772bbd99be
Backend work to provide NC whats New info to users 8 years ago
Georg Ehrke 2a21471c74
make sure force language is reflected in html lang attribute 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string 8 years ago
Bjoern Schiessle 8b734347b1
use formal version of German if default_language is set to 'de_DE' 8 years ago
Roeland Jago Douma ed3b391e47
Use symfony/translation for L10N plurals 9 years ago
Joas Schilling 9f3d9b5b23
Don't force the use of Accept-Language anymore 9 years ago
Roeland Jago Douma 0228bc6e66
ACCEPT_LANGUAGE goes before default_langauge 9 years ago
Roeland Jago Douma c5bdb4d4e8
L10N tests do not require DB 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling 9fbb8ce302
Do not save the language as request lang for apps when we didn't find any 10 years ago
Morris Jobke 76455204c0 Inject server root - allows proper testing and separation of concerns 10 years ago
Morris Jobke 23c0f4ff5f Read available l10n files also from theme folder 10 years ago
Lukas Reschke cb1a64b949 Check whether ownCloud is installed 10 years ago
Joas Schilling f413b3ff3a Add tests for findAvailableLanguages 10 years ago
Joas Schilling 70396581eb Add tests for findLanguage() 10 years ago
Joas Schilling b24b198a83 Add tests for the factory 10 years ago