wn_
241f69e4db
Handle potentially-relative base element when getting favicon.
...
The base element's "href" attribute is not required to be absolute,
so rewrite relative to the site URL if it is relative.
See:
* https://www.w3.org/TR/html51/document-metadata.html#the-base-element
* https://html.spec.whatwg.org/multipage/semantics.html#the-base-element
7 years ago
fox
0f0d6ca559
Merge branch 'hook_feed_basic_info' of wn/tt-rss into master
7 years ago
wn_
3476690cbf
Only require an array of basic info from 'HOOK_FEED_BASIC_INFO'.
...
Removes the need for the plugin to provide feed content.
Gives plugins a chance to provide 'title' and 'site_url' basic info.
Falls back to attempting retrieval+parsing of the fetch URL if needed.
7 years ago
wn_
bec5ba93e2
Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
...
It's expected the plugin will return content parsable by FeedParser, which
will act as an interface to the basic feed info. In the case of a plugin
that also uses 'HOOK_FETCH_FEED', both might return the same content.
The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
7 years ago
fox
af13f3009c
Merge branch 'vreddit_fallback_url' of wn/tt-rss into master
7 years ago
wn_
b4b5236ec4
af_redditimgur: use common header retrieval function
7 years ago
wn_
8352d7c6cb
af_redditimgur: Rework retrieval of v.redd.it fallback URL.
...
Use the v.redd.it redirects to identify the original Reddit post,
whose JSON should have the fallback_url we're looking for.
7 years ago
wn_
81d83a68cd
af_redditimgur: Use v.redd.it fallback URL when possible.
7 years ago
Andrew Dolgov
06a19166bd
af_redditimgur: add basic support for v.redd.it videos
7 years ago
fox
7cadef1eff
Merge branch 'domdocument_content_savehtml' of wn/tt-rss into master
7 years ago
wn_
f3774b9d65
Use 'saveHTML' when generating HTML from a DOMDocument.
...
This primarily occurs when modifying article content. If 'saveXML' is
used following 'loadHTML' there is the possibility of strangeness, such
as a self-closing anchor tag.
Note that the DOMDocument used in 'classes/feeditem/atom.php' came from
'loadXML', but we use 'saveHTML' since we're returning HTML content.
7 years ago
jr conlin
b486510385
Add "viewport" meta to allow mobile devices ability to resize and display page.
7 years ago
Andrew Dolgov
153cb6d305
add support for http 304 not modified (no timestamp calculation bullshit like last time)
7 years ago
Andrew Dolgov
edefcec19d
filters/edit: properly parse feed-specific legacy format filter rules
7 years ago
Andrew Dolgov
03c56b041f
force-request counters on load once if bw_limit option is enabled (because there's no timeout())
7 years ago
Andrew Dolgov
ab8daa0389
use mysqli_set_charset() to set MYSQL_CHARSET
7 years ago
Andrew Dolgov
20d2195f13
rssutils: include comment count when calculating article hash
7 years ago
fox
eaa90b2287
Merge branch 'labels_context_menu' of wn/tt-rss into master
7 years ago
wn_
b5fc9781ad
Don't display label context menu items if there are no labels.
...
Caused by: 5e78b0c253
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366
7 years ago
Andrew Dolgov
22adcd7466
request counters less times during startup, delay initial request in feedlist_init() a bit
7 years ago
Andrew Dolgov
51f13e7736
get_all_labels: order by caption
7 years ago
Andrew Dolgov
5e78b0c253
do not base headlines label context submenu on feed tree labels category
7 years ago
Andrew Dolgov
94df90a7eb
update previous
7 years ago
Andrew Dolgov
a1a98d841f
feed tree: do not set fixed item height
7 years ago
Andrew Dolgov
a6990df3ad
update description for LOG_DESTINATION
7 years ago
Andrew Dolgov
1b5b1e5fec
sessions: use is_server_https() for secure cookie setting
7 years ago
fox
2cdef24888
Merge branch 'master' of KKozlowski/tt-rss into master
7 years ago
Natan Frei
e234ac8dcb
$_SERVER['HTTPS'] can be exists and 'off' for non-https connectios
7 years ago
Andrew Dolgov
9fa3ae09a6
update CONTRIBUTING.md
7 years ago
Andrew Dolgov
09628e1b1a
rework previous 32 bit session stuff
7 years ago
Andrew Dolgov
e6d77d2b29
Merge branch 'master' of git.fakecake.org:tt-rss
7 years ago
Andrew Dolgov
b465c28ee0
sessions: clip max expiry value to a 32bit integer
7 years ago
fox
c9040c5c2e
Merge branch 'translation_pt-BR' of ekalin/tt-rss into master
7 years ago
Eduardo M KALINOWSKI
86810de809
Updated pt_BR translation.
7 years ago
Andrew Dolgov
9f7bd151c6
hopefully unify handling of server HTTPS variables where needed, use scheme based on SELF_URL_PATH otherwise
7 years ago
fox
1003cb24b9
Merge branch 'x_forwarded_proto' of yastupin/tt-rss into master
7 years ago
Cédric Barboiron
643ebe4229
sanity: check X-Forwarded-Proto for self_url
7 years ago
Andrew Dolgov
be61f1c45c
filters dialog: do not break markup on long feed names
7 years ago
Andrew Dolgov
b2d42e960b
replace some usages of SELF_URL_PATH with get_self_url_prefix()
7 years ago
Andrew Dolgov
948471a44b
self url path checking: accept value without an ending slash
7 years ago
Andrew Dolgov
2953687b72
sanity: it's probably a good idea to check whether we're running under httpd before enforcing SELF_URL_PATH checks
7 years ago
Andrew Dolgov
1f91695895
previous: spaces -> tabs
7 years ago
Andrew Dolgov
7506b61af2
sanity: check whether SELF_URL_PATH conforms to data returned by httpd
7 years ago
Andrew Dolgov
890a7be0c6
update contributing.md
7 years ago
Andrew Dolgov
fef02d5367
Merge branch 'german-translation' into 'master'
...
Update german translation
See merge request !60
7 years ago
Heiko Adams
2e3363ed54
Update german translation
7 years ago
Andrew Dolgov
18e684cda9
Update CONTRIBUTING.md
7 years ago
Andrew Dolgov
a4682a7a69
Update CONTRIBUTING.md
7 years ago
Andrew Dolgov
f6e856a367
rebase translations
7 years ago
Andrew Dolgov
667d32fd26
remove obsolete forum plugin links
...
mention how to enable system plugins in the UI
7 years ago