Andrew Dolgov
942afb43a1
sanity checks: use better CLI detection, shorten most of the text
4 years ago
Andrew Dolgov
403dca154c
initial WIP for php8; bump php version requirement to 7.0
4 years ago
wn
08a6f6bde2
Only do sanity checks for self URL if we can create a valid URL.
...
'sanity_check.php' gets included in 'update.php' and 'update_daemon2.php', where a Host request header is likely not provided.
4 years ago
Andrew Dolgov
a4525d31b2
replace FALSE with false so that static analyzer shuts up about it
4 years ago
Andrew Dolgov
e3adacc588
fix several cases of Db class being invoked as wrong name (as DB)
4 years ago
Rodney Stromlund
376dce02bb
Update wiki and forums links in error message.
4 years ago
Andrew Dolgov
4ab3854aed
don't generate default.css, replace with themes/light.css as a default root CSS file
5 years ago
Andrew Dolgov
088fcf8131
move more globals to more appropriate places
...
set libxml to always use internal errors
5 years ago
Andrew Dolgov
66cbe55148
sanity check: require UConverter from php intl
6 years ago
Andrew Dolgov
5b3a73e574
login: switch to absolute redirect urls
6 years ago
Andrew Dolgov
54c1b5c611
fill in some missing doctypes; use short doctype where it wasn't
6 years ago
Andrew Dolgov
c11f32ac38
center and rework some utility screens
6 years ago
Andrew Dolgov
6303e1626c
remove cache/js (no longer used)
6 years ago
Andrew Dolgov
b2f0858060
sanity config: fix typo
6 years ago
Andrew Dolgov
c4869cd573
if PHP_VERSION check fails, show current version
6 years ago
Andrew Dolgov
848c6ac655
bump required php version to 5.6
6 years ago
Andrew Dolgov
069aea5989
remove FEED_CRYPT_KEY and everything related to it
...
always assume auth_pass_encrypted is false
6 years ago
Andrew Dolgov
f8db5bb4db
installer: use PDO, improve wording for some notices
...
PDO wrapper: allow working with blank DB_HOST
7 years ago
Andrew Dolgov
3eecebc34f
sanity_check: do not invoke PDO without checking that it exists
7 years ago
Andrew Dolgov
97a5e13370
add sanity check for PDO
7 years ago
Andrew Dolgov
09bc54c690
further stylesheet simplification related fixes
7 years ago
Andrew Dolgov
bbd9e5045e
controls: start pdo stuff
7 years ago
Andrew Dolgov
820873de9f
update myisam fail warning
7 years ago
Andrew Dolgov
0b68b1629e
add a sanity check for tt-rss myisam tables
7 years ago
Andrew Dolgov
8716ec20d6
add sanity check for mime_content_type()
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
Cédric Barboiron
643ebe4229
sanity: check X-Forwarded-Proto for self_url
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
5b6ea1ef91
remove pubsubhubbub: dead
8 years ago
Andrew Dolgov
e35ba0e212
add sanity check for SELF_URL_PATH going to http url if server is accessed over https
8 years ago
Andrew Dolgov
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
8 years ago
Andrew Dolgov
e54eb40a8c
remove support for legacy mysql driver
8 years ago
Andrew Dolgov
bfd902bbcc
sanity_check: enforce minimum php version (5.4)
9 years ago
Andrew Dolgov
4c46702672
drop support for (obsolete, removed from recent php versions) php safe_mode setting
...
remove ugly hacks for curl + open_basedir combination breaking support for http redirects
9 years ago
Rob Hoelz
baaf4c3043
Make search mechanism pluggable
...
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching. It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged. This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active. The Sphinx search behavior has been
broken out into a plugin.
11 years ago
Andrew Dolgov
3eb55333c6
do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove sanity check for iconv because parser does not use it
11 years ago
Andrew Dolgov
55c773e893
add a sanity check for system sphinx client which conflicts with the bundled one
12 years ago
Frederik Holden
39de69406b
Change default SELF_URL_PATH for RFC 2602
12 years ago
Andrew Dolgov
5bbc4bb4b0
move stylesheets to css/, reference default tt-rss stylesheets from
...
default.css to make custom themes easier
12 years ago
Matthias Wirtz
95a10c1225
fixed sanity check (mysqli_connect is also allowed now)
12 years ago
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
12 years ago
Andrew Dolgov
6322ac79a0
remove $link
12 years ago
Andrew Dolgov
5276b7c768
fix handling of blank FEED_CRYPT_KEY
12 years ago
Andrew Dolgov
044cff2d74
implement basic feed authentication parameter encryption in the database (FEED_CRYPT_KEY)
12 years ago
Andrew Dolgov
3306daecf4
implement upload-related support for open_basedir
12 years ago
Andrew Dolgov
b3b48f61c0
add an angrier blurb to sanity_check.php
12 years ago
Andrew Dolgov
24ff3b44d2
sanity check: better suggestion for SELF_URL_PATH
12 years ago