Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
4 years ago
Andrew Dolgov
2621fe7955
fix get_pref always using default profile; remove unneeded code from db_prefs
4 years ago
Andrew Dolgov
bd2314170d
implement prefs UI based on new prefs class and a few more things
4 years ago
Andrew Dolgov
1112922029
bump schema for upcoming prefs overhaul
4 years ago
Andrew Dolgov
8d2e3c2528
drop errors.php and simplify error handling
4 years ago
Andrew Dolgov
85095f8a53
rename TTRSS_SESSION_NAME to SESSION_NAME
4 years ago
Andrew Dolgov
2ae0b7059f
cleanup some defined-stuff
4 years ago
Andrew Dolgov
29ada58b4a
move db-prefs shortcut functions to functions.php
4 years ago
Andrew Dolgov
445ac1213c
finalize config:: migration; make config.php optional
4 years ago
Andrew Dolgov
12bcf826e4
don't include config.php everywhere
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
Andrew Dolgov
42173386b3
dirname(__FILE__) -> __DIR__
4 years ago
Andrew Dolgov
add6242e51
do not use define_default() because it screws with static analyzers
4 years ago
fox
3f00502305
Merge pull request 'Let 'RSSUtils::check_feed_favicon' update existing favicons.' ( #6 ) from wn/tt-rss:check-feed-favicon into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/6
4 years ago
Andrew Dolgov
be4e7b1340
fix several issues reported by phpstan
4 years ago
wn_
02a9485966
Try to limit max favicon size, don't store current/old in a var.
4 years ago
Andrew Dolgov
f6bfb89b29
pref-prefs: switch to new control shorthand in a few places
4 years ago
Andrew Dolgov
94560132dd
for the most part, deal with filter rules UI
4 years ago
Andrew Dolgov
fc0ebf0891
move bookmarklet-related methods out of public.php into the plugin
4 years ago
Andrew Dolgov
6b43b788d9
migrate xhrJson invocations to the new helper
4 years ago
Andrew Dolgov
c088e9d9d8
get rid of a few more prototype-isms
4 years ago
Andrew Dolgov
a2c75257f1
bookmarklets: cleanup
4 years ago
Andrew Dolgov
e4609c18ef
* add (disabled) shortcut syntax for plugin methods
...
* add controls shortcut for pluginhandler tags
* add similar shortcut for frontend
* allow plugins to selectively exclude their methods from CSRF checking
4 years ago
Andrew Dolgov
0fc783e2b3
cleanup markup in some plugins, make nsfw generate dijit widgets
4 years ago
Andrew Dolgov
91e7969383
replace a few more controls to new style
4 years ago
Andrew Dolgov
24c79d91c2
controls_compat: comment out most of them
4 years ago
Andrew Dolgov
bf88c64d1e
fix floicon not imported from global namespace
4 years ago
Andrew Dolgov
9d7ba773ec
move session-related functions to their own namespace
4 years ago
Andrew Dolgov
7fad6ce651
move rgb/hsl functions to their own namespace
4 years ago
Andrew Dolgov
bdbbdbb0ed
rework controls to accept parameters as array
4 years ago
Andrew Dolgov
627af2c236
amend previous to fix actual underlying problem (double escaping)
4 years ago
Andrew Dolgov
4f4e57bb26
hidden_tag: temporarily prevent htmlspecialchars() to stop embedded JSON from breaking
4 years ago
Andrew Dolgov
af4b3e7df0
login form: use control helpers
4 years ago
Andrew Dolgov
d7127cead3
feed debugger: use hidden helpers; add button helpers
4 years ago
Andrew Dolgov
26d6b84a57
add namespaced controls with unified naming; deprecated old-style control shortcuts
4 years ago
Andrew Dolgov
5d42ce553f
drop legacy DB interface and related sanity checks
4 years ago
Andrew Dolgov
9f55454f63
remove the rest of db.php; rename some leftover methods in feeds
4 years ago
Andrew Dolgov
cfad740c99
drop legacy db_ functions wrapper
4 years ago
Andrew Dolgov
020f062a76
feeds: unify naming
4 years ago
Andrew Dolgov
82adb01307
render enclosures on the client
4 years ago
Andrew Dolgov
15fd23c374
use shortcut echo syntax for php templates
4 years ago
Andrew Dolgov
103d30ad3f
batch subscribe: use client dialog
4 years ago
Andrew Dolgov
6af83e3881
drop ENABLE_GZIP_OUTPUT; system prefs: load php info only if needed
4 years ago
Andrew Dolgov
119a4226d8
validate_csrf: remove warning
4 years ago
Andrew Dolgov
f2d3cba231
add HTTP_ACCEPT_LANGUAGE handling for php8
4 years ago
Andrew Dolgov
1f2ba932b8
RIP easy-installer
4 years ago
Andrew Dolgov
d23a261b92
RIP self-registration
4 years ago
Andrew Dolgov
8f8675a26a
* filters: remove duplicate code, overall cleanup
...
* check if some tres exist before trying to reload them
4 years ago
Andrew Dolgov
848bc57f29
disable themes in safe mode; rework safe mode warning/login prompt
4 years ago