Commit Graph

21 Commits

Author SHA1 Message Date
Hypolite Petovan b100b9600e Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:07:34 -05:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Philipp Holzer 2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper) 2020-01-19 16:31:30 +01:00
Philipp Holzer 1c49f1169f
Fix tests (remove superfluous second parameter) 2020-01-18 13:48:29 +01:00
Philipp Holzer c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
Hypolite Petovan 39a537c415 Added test for BBCode to Markdown chevron issue
- See https://github.com/friendica/friendica/issues/7808

Add tests
2019-12-27 21:42:56 -05:00
Hypolite Petovan d8484e65bd Move autolinker execution earlier in BBCode::convert
- Prevents already replaced HTML links (like in [audio] tag) to be doubled
- Add test for it
2019-09-25 20:39:04 -04:00
Michael ba2e57e84a Added tests 2019-09-05 20:37:16 +00:00
Philipp Holzer 08be92a862
Moved BaseURL to App namespace (because similar type as Arguments/Modules/Modes) 2019-08-15 17:23:00 +02:00
Philipp Holzer a66580444f
Fixing sort of BaseURL usage for App & Cache usage 2019-08-04 20:01:15 +02:00
Philipp Holzer 07aaf292ec
Fix tests 2019-07-27 23:54:13 +02:00
Philipp Holzer eb024a3718
Refactor L10n for testing
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
Hypolite Petovan 19b7398c6a Update BBCode::convert test mock-ups 2019-06-23 17:53:25 -04:00
Hypolite Petovan 84ccaf50fa Allow brackets in URLs
- Remove obsolete $URLSearchString variable
- Add related tests
2019-06-15 22:26:29 -04:00
Hypolite Petovan 38311a4a02 Move link conversion to the end of BBCode::convert
- Addresses https://github.com/friendica/friendica/issues/7271
- Add related tests
2019-06-15 22:24:51 -04:00
Hypolite Petovan c21a227d0a Add test for bug 7150 2019-05-19 18:52:01 -04:00
Philipp Holzer b4ee1a5b26
Fixing Unittests 2019-03-23 18:44:52 +01:00
Hypolite Petovan 58a9a319c5 Add test for bug 2019-03-17 22:36:03 -04:00
Hypolite Petovan c5073e2036
Prevent side effects with BBCode::convert in testAutoLinking() 2019-03-13 00:40:54 -04:00
Hypolite Petovan fedf29e023
Add tests for bug #6857 2019-03-11 15:27:22 -04:00
Hypolite Petovan eec04b1864 Add tests for autolinker in BBCde::convert 2019-03-09 10:20:51 -05:00