Commit graph

16 commits

Author SHA1 Message Date
Michael e18e081b47 bookmark elements weren't always parsed correctly 2018-01-11 22:28:46 +00:00
Michael a7b2db5db9 When no OEmbedding is wanted, the links are now created fine again 2018-01-11 21:31:44 +00:00
Hypolite Petovan 5fc4927764 Improve dba::selectFirst calls
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Hypolite Petovan da9523ed23 Add maxwidth column to oembed table
- Match Caching key for OEmbed queries
2018-01-10 19:25:08 -05:00
Hypolite Petovan ae66bcaff3 Rename selectOne to selectFirst 2018-01-10 12:57:21 -05:00
Hypolite Petovan da60893590 Replace dba::select(limit => 1) by dba::selectOne
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan 4a20bcd6f0 Fix allowed_email()
- Reworked allowed_domain
- Added more variable checks to allowed_email() and
OEmbed::isAllowedURL()
2018-01-07 19:10:09 -05:00
Hypolite Petovan d8a312d286 Move tryoembed to Content\OEmbed
- Add bbcode functions documentation
- Add Exception handling to OEmbed::getHTML
- Fix formatting
2018-01-07 00:44:23 -05:00
Hypolite Petovan 1cd8001833 Fall back to normal twitter share if rich OEmbed is disabled
- Fix typo
2018-01-06 21:57:58 -05:00
Hypolite Petovan 9593cac2d1 Replace hacky oembed local iframe with remote iframe html
- Remove call to OEmbed::iframe
- Replace oembed span by div
- Replace double quotes with single
2018-01-06 00:35:43 -05:00
Hypolite Petovan 85696bb5fa Fix typo 2018-01-04 16:29:35 -05:00
Hypolite Petovan 1f805da94f Move ParseUrl to Util namespace 2018-01-04 12:03:15 -05:00
Hypolite Petovan d416243964 Add check for allowed URL in OEmbed
- Add mixed-content mitigating
2018-01-04 12:01:46 -05:00
Hypolite Petovan 60d4c6b86e Fix PHP Notice in new OEmbed class 2018-01-02 08:20:33 -05:00
Hypolite Petovan 7e2a08c7bc Review changes
- Add file comment in Content\OEmbed
- Add self where relevant
- Remove useless spaces from the XPath expression
2018-01-01 17:43:03 -05:00
Hypolite Petovan e7c53af6fa Add Module\Oembed and Content\OEmbed 2017-12-31 20:58:09 -05:00