Dag
44fb2c98bc
fix: various fixes ( #3745 )
2023-10-13 00:26:11 +02:00
Dag
9bda9e246a
refactor: FeedExpander ( #3740 )
...
* refactor: FeedExpander
2023-10-12 22:14:04 +02:00
Dag
6a72c56cdd
fix: various fixes ( #3741 )
2023-10-12 19:49:04 +02:00
Dag
b6a9baff94
fix(cvedetails,tldrtech) ( #3735 )
2023-10-10 21:41:57 +02:00
User123698745
59dd49671d
[BridgeCard] add example value to info hint and allow using it by right click ( #3726 )
2023-10-02 03:02:57 +02:00
Dag
547af0d0d2
refactor: use Json::encode instead of json_encode ( #3724 )
2023-10-01 20:54:28 +02:00
User123698745
69da0dd583
[refactoring] replace direct use of curl with getContents ( #3723 )
...
+ some fixed warnings
2023-10-01 20:46:51 +02:00
Dag
41df17bc46
refactor ( #3712 )
...
* test: refactor test suite
* docs
* refactor
* yup
* docs
2023-10-01 19:23:30 +02:00
Dag
7273a05f02
fix: google play and tiktok ( #3722 )
...
* fix(googleplay)
* fix(tiktok)
2023-10-01 18:53:50 +02:00
Dag
ae53adefad
refactor: FeedItem::setTimestamp() ( #3711 )
2023-09-26 00:27:45 +02:00
Dag
f421c45b21
test: add feed item test ( #3709 )
...
* test: add feed item test
also some refactor
* yup
* yup
2023-09-25 22:32:15 +02:00
Dag
cd30c25b08
refactor ( #3708 )
2023-09-25 21:18:48 +02:00
ORelio
e1b911fc1f
[CssSelectorBridge] Retrieve metadata for social media embeds ( #3602 , #3687 ) ( #3706 )
...
* [CssSelectorBridge] Metadata from social embed (#3602 , #3687 )
Implement the following metadata sources:
- Facebook Open Graph
- Twitter <meta> tags
- Standard <meta> tags
- JSON linked data (ld+json)
The following metadata is supported:
- Canonical URL (may help removing garbage from URLs)
- Article title
- Truncated summary
- Published/Updated timestamp
- Enclosure/Thumbnail image
- Author Name or Twitter handle
SitemapBridge will also automatically benefit from this commit.
* [php8backports] Add array_is_list()
Needed this function for ld+json implementation in CssSelectorBridge.
* [SitemapBridge] Add option to discard thumbnail
* [CssSelectorBridge] Fix linting issues
2023-09-24 23:07:43 +02:00
Dag
857e908929
chore: prepare 2023-09-24 release ( #3703 )
2023-09-24 20:53:07 +02:00
Dag
f321f000c1
feat: add url component ( #3684 )
...
* feat: add url library
* fix
2023-09-24 18:34:09 +02:00
Dag
0c69148cff
fix(vice): news rss changed ( #3694 )
...
* fix: typo in prior commit
* fix(vice): news rss changed
2023-09-23 20:39:02 +02:00
Dag
b3b0736761
feat: improve error/exception ui ( #3690 )
2023-09-23 18:54:14 +02:00
Dag
07f49225d9
fix: bug in refactor ( #3688 )
2023-09-23 16:52:39 +02:00
Dag
7329b83cc0
refactor: logger ( #3678 )
2023-09-21 22:05:55 +02:00
Dag
e6aef73a02
refactor ( #3668 )
2023-09-20 02:45:48 +02:00
User123698745
3b91b1d260
[XPathBridge] add option to skip htmlspecialchars ( #3672 )
2023-09-15 01:58:06 +02:00
mruac
4f5a492dde
[BridgeAbstract] fix undefined index issue ( #3665 )
...
* .
* attempt to fix #2943
https://github.com/RSS-Bridge/rss-bridge/issues/2943
* Revert "."
This reverts commit c0b6ccfea6
.
* lint
* Revert "attempt to fix #2943 "
This reverts commit 9f1a66e48d
.
* moved fix to BridgeAbstract
* fix undefined index
* lint
2023-09-11 13:18:00 +02:00
Dag
4b9f6f7e53
fix: rewrite and improve caching ( #3594 )
2023-09-10 21:50:15 +02:00
mruac
a786bbd4e0
DisplayAction: defaultchecked fix ( #3654 )
...
* .
* attempt to fix #2943
https://github.com/RSS-Bridge/rss-bridge/issues/2943
* Revert "."
This reverts commit c0b6ccfea6
.
* lint
* Revert "attempt to fix #2943 "
This reverts commit 9f1a66e48d
.
* moved fix to BridgeAbstract
2023-09-10 04:15:05 +02:00
csisoap
dbe37cc302
[TwitterBridge] Filter out any promoted tweet ( #3652 )
...
* Filter out any advertise tweet
* Make some filter work, fix bug that may happen with tweet id list.
* clear phpcs warning, ignore line length warning
2023-09-06 16:14:11 +02:00
csisoap
4d05d0beff
[TwitterBridge] Add support for OAuth authorization. ( #3628 )
...
* Update TwitterClient.php
- Add OAuth authorization header.
- Add new endpoint.
* Update TwitterBridge.php
- Make some changes to support new endpoint.
* Update TwitterBridge.php
* clean up, fix warning
* fix warning
* fix warning
* remove oauth token
* fix wrong twitter id when encounter reply post.
* Update TwitterClient.php
* fix wrong twitter id cause by previous commit
* clear warning
* attempt to clear warning
* attempt to clear warning
2023-08-29 17:14:34 +02:00
User123698745
4976cd227e
[FeedExpander] support xhtml content / content with child elements ( #3598 )
...
* [core] support xhtml content type in FeedExpander
* [FilterBridge] change defaultValue to exampleValue
* [core] support content with child elements in FeedExpander
2023-08-04 22:14:08 +02:00
User123698745
7661a78a43
[core] add bridge not found warning message to frontpage ( #3591 )
2023-08-03 03:10:24 +02:00
Dag
ed97ce8646
fix: dont fail for non-existing enabled bridge ( #3589 )
...
* fix: dont fail for non-existing enabled bridge
* yup
2023-08-01 19:35:15 +02:00
mruac
10f7b6f4f6
Fix php8.2 deprecated warning when using bridge specific configurations ( #3587 )
...
* Fix php8.2 deprecated warning
Fix php8.2 warning: `Deprecated: Creation of dynamic property is deprecated`
* fix
* refactor: remove unused method
---------
Co-authored-by: Dag <me@dvikan.no>
2023-08-01 19:35:06 +02:00
Dag
8e2353ad3e
fix: write to cache only if data is was not cached, fix #3586 ( #3588 )
2023-08-01 06:19:42 +02:00
Dag
7e4807530e
fix: various small fixes ( #3580 )
2023-07-31 20:43:18 +02:00
User123698745
93eecdf79f
[core] fix new bridge PRs not generating html preview artifacts ( #3583 )
...
* [core] replace everything except bridge name to get a valid whitelist.txt
* [core] do not use hard code repository name to improve working with forks
* [core] trim bridge names from whitelist.txt to reduce chance of failure
2023-07-30 23:26:59 +02:00
Dag
701fe3cfed
fix: various small fixes ( #3578 )
2023-07-29 00:14:30 +02:00
csisoap
556bca58cf
[TwitterBridge] Fix search, user, list ID ( #3566 )
...
* Add ability to fetch user, list tweet
* Fix user, search, list ID although list still broke
* clear whitespace
* Revert CACHE_TIMEOUT
* clear whitespace, change single quote
* Clear PHP warning, add ability to get full-text if truncated
* Clear PHP warning
* clear warning
* clear whitespace
* Add check condition for mediaDetails.
* Add whitespace
* Add try catch exception for get full-text tweet
* clear warning
* clear warning
2023-07-25 22:36:41 +02:00
Dag
74635fd752
fix(DisplayAction): improve error handling and cache logic ( #3558 )
...
* fix(DisplayAction): improve error handling and cache logic
* restore prev timeouts
* refactor
* yup
* test: fix unit test
* leave twitter client unchanged
* leave twitter bridge unchanged
2023-07-23 23:05:35 +02:00
Dag
517c7f5c9b
fix(cache): bug ( #3554 )
2023-07-19 22:18:42 +02:00
Dag
93620aa105
fix(cache): bug in cache logic ( #3553 )
...
It is possible to have a cached item with a very old mtime but it's technically expired.
So, check for presence of time and whether the time it is within 10 days
2023-07-19 22:05:26 +02:00
Dag
6254b8593e
refactor(cache): extract and encapsulate cache expiration logic ( #3547 )
...
* refactor(cache): extract and encapsulate cache expiration logic
* fix: logic bug in getSimpleHTMLDOMCached
* fix: silly me, index should of course be on the key column
* silly me again, PRIMARY keys get index by default lol
* comment out the delete portion in loadData
* remove a few log statements
* tweak twitter cache timeout
2023-07-19 05:05:49 +02:00
Dag
08d16322e1
fix: bug in prior conflict merge ( #3546 )
2023-07-16 22:37:37 +02:00
Dag
a59793e8d6
refactor: extract CurlHttpClient ( #3532 )
...
* refactor: extract CurlHttpClient
* refactor
* interface
2023-07-16 22:07:34 +02:00
Dag
310160fd92
feat: improve http 429 handling ( #3541 )
2023-07-16 07:18:38 +02:00
Dag
eaea8e6640
fix: Undefined index: REMOTE_ADDR in non-web sapi' ( #3538 )
2023-07-15 21:16:23 +02:00
Fake4d
0f2b55fbef
Update Configuration.php - Old Version Date in new Release ( #3526 )
...
Old Version Date in new Release
2023-07-12 11:56:07 +02:00
Dag
69aa751f40
fix(cache): bug in prior refactor ( #3525 )
...
* fix(cache): bug in prior refactor
* yup
2023-07-11 23:26:22 +02:00
csisoap
b3bf95bfdd
Replace token for Twitter. ( #3522 )
2023-07-11 23:17:38 +02:00
Dag
6c0e186d3f
fix(jornaln): Array to string conversion at lib/BridgeAbstract.php li… ( #3523 )
...
* fix(jornaln): Array to string conversion at lib/BridgeAbstract.php line 320
* yup
2023-07-11 16:54:59 +02:00
Dag
c9a861e259
fix(cache): bug in prior refactor ( #3520 )
2023-07-09 15:24:29 +02:00
Dag
dfe78fb379
fix: various small fixes ( #3519 )
2023-07-09 10:08:30 +02:00
Dag
7881c87bed
fix: various small fixes ( #3517 )
...
* fix(asrocknews): Trying to get property src of non-object
Trying to get property 'src' of non-object at bridges/ASRockNewsBridge.php line 37
* refactor(http): tweak max redirs config
* fix(tiktok)
* fix(gizmodo)
* fix(craig)
* fix(nationalg)
* fix(roadandtrack)
* fix(etsy)
2023-07-08 23:21:55 +02:00