Skip to content

feat: Enable free self-hosted licenses for open-source and schools #6080

feat: Enable free self-hosted licenses for open-source and schools

feat: Enable free self-hosted licenses for open-source and schools #6080

GitHub Actions / Backend Tests succeeded Feb 1, 2024 in 1s

68 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
backend/data/build/test-results/test/TEST-io.tolgee.security.authentication.JwtServiceTest.xml 10✅ 198ms
backend/data/build/test-results/test/TEST-io.tolgee.security.ratelimit.RateLimitServiceTest.xml 9✅ 92ms
backend/data/build/test-results/test/TEST-io.tolgee.security.RequestContextServiceTest.xml 5✅ 275ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest.xml 1✅ 728ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest.xml 1✅ 1ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.CoreImportFileProcessorUnitTest.xml 3✅ 544ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.KeysDistanceUtilTest.xml 1✅ 4ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.PathDTOTest.xml 5✅ 7ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest.xml 2✅ 6ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest.xml 8✅ 102ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest.xml 3✅ 18ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest.xml 1✅ 2ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.PropertiesParserTest.xml 1✅ 4ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest.xml 3✅ 311ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest.xml 1✅ 21ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.TextHelperTest.xml 4✅ 6ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.util.SlugGeneratorTest.xml 8✅ 40ms
backend/data/build/test-results/test/TEST-io.tolgee.util.WordCounterTest.xml 2✅ 102ms

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.authentication.JwtServiceTest.xml

10 tests were completed in 198ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.authentication.JwtServiceTest 10✅ 198ms

✅ io.tolgee.security.authentication.JwtServiceTest

✅ it rejects tokens emitted before user tokens validity period()
✅ it generates and understands tickets()
✅ it generates and understands tokens()
✅ it validates the type of the ticket()
✅ it rejects expired tickets()
✅ it ignores super powers when they are expired()
✅ it stores the super powers of tokens when it has them()
✅ it rejects invalid tokens and tickets()
✅ it stores arbitrary data in tickets()
✅ it rejects expired tokens()

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.ratelimit.RateLimitServiceTest.xml

9 tests were completed in 92ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.ratelimit.RateLimitServiceTest 9✅ 92ms

✅ io.tolgee.security.ratelimit.RateLimitServiceTest

✅ it conditionally applies rate limit policies correctly when throwing exceptions()
✅ rate limit bucket is correctly defined for global user rate limit()
✅ authentication-limits config only affects authentication endpoint limits()
✅ it applies rate limit policies correctly()
✅ rate limit bucket is correctly defined for global public rate limit()
✅ global-limits config only affects global limits()
✅ rate limit bucket is correctly defined for global auth rate limit()
✅ endpoint-limits config only affects non-auth endpoint limits()
✅ it conditionally applies rate limit policies correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.RequestContextServiceTest.xml

5 tests were completed in 275ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.RequestContextServiceTest 5✅ 275ms

✅ io.tolgee.security.RequestContextServiceTest

✅ it throws in implicit scenarios without an API key()
✅ it correctly detects the current organization()
✅ it correctly detects the current project()
✅ it correctly detects the current project in implicit scenarios()
✅ it correctly detects the current organization when using slugs()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest.xml

1 tests were completed in 728ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest 1✅ 728ms

✅ io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest

✅ correctly purges()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest 1✅ 1ms

✅ io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest

✅ it converts correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.CoreImportFileProcessorUnitTest.xml

3 tests were completed in 544ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.CoreImportFileProcessorUnitTest 3✅ 544ms

✅ io.tolgee.unit.CoreImportFileProcessorUnitTest

✅ stores key meta()
✅ finds proper existing language for imported language()
✅ handles conflicts properly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.KeysDistanceUtilTest.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.KeysDistanceUtilTest 1✅ 4ms

✅ io.tolgee.unit.KeysDistanceUtilTest

✅ it works()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.PathDTOTest.xml

5 tests were completed in 7ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.PathDTOTest 5✅ 7ms

✅ io.tolgee.unit.PathDTOTest

✅ testFromNamePathList()
✅ testFromFullPath()
✅ testFromNamePath()
✅ testFromFullPathList()
✅ escaping()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest.xml

2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest 2✅ 6ms

✅ io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest

✅ returns PHP format()
✅ returns C format()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest.xml

8 tests were completed in 102ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest 8✅ 102ms

✅ io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest

✅ testPhpMessageWithFlags()
✅ testPhpPlurals()
✅ testPythonMessage()
✅ testCMessage()
✅ testPhpMessage()
✅ testPhpMessageKey()
✅ testPhpMessageMultiple()
✅ testPhpMessageEscapes()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest.xml

3 tests were completed in 18ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest 3✅ 18ms

✅ io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest

✅ processes standard file correctly()
✅ adds metadata()
✅ processes windows newlines()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest 1✅ 2ms

✅ io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest

✅ returns correct parsed result()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.PropertiesParserTest.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.PropertiesParserTest 1✅ 4ms

✅ io.tolgee.unit.service.dataImport.processors.processors.PropertiesParserTest

✅ returns correct parsed result()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest.xml

3 tests were completed in 311ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest 3✅ 311ms

✅ io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest

✅ processes xliff 12 fast enough()
✅ handles errors correctly()
✅ processes xliff 12 file correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest.xml

1 tests were completed in 21ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest 1✅ 21ms

✅ io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest

✅ processes xliff 12 file()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.TextHelperTest.xml

4 tests were completed in 6ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.TextHelperTest 4✅ 6ms

✅ io.tolgee.unit.TextHelperTest

✅ replaces ICU params in standard text()
✅ splitOnNonEscapedDelimiter()
✅ replaces ICU params with escaping()
✅ replaces ICU params in text with params()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.util.SlugGeneratorTest.xml

8 tests were completed in 40ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.util.SlugGeneratorTest 8✅ 40ms

✅ io.tolgee.unit.util.SlugGeneratorTest

✅ throwsWhenTooHard()
✅ removesSpecialChars()
✅ testValidInput()
✅ testGenerateEmpty()
✅ addsNumbersAndShorten()
✅ shortenString()
✅ shortensAfterNumbers()
✅ removesAccents()

✅ backend/data/build/test-results/test/TEST-io.tolgee.util.WordCounterTest.xml

2 tests were completed in 102ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.util.WordCounterTest 2✅ 102ms

✅ io.tolgee.util.WordCounterTest

✅ returns ULocale from tag()
✅ counts words correctly()