Andrew Dolgov
8eb340c3ca
make default light/dark themes configurable, add support for main application and login form
2025-08-01 17:22:21 +03:00
wn_
154abc61a0
Eliminate use of deprecated 'get_pref()' and 'set_pref()'.
2024-11-18 21:59:45 +00:00
wn_
a784305cc7
Address PHPStan findings as of 2.0.1
2024-11-12 03:15:53 +00:00
wn_
94c43fe979
Remove extra PHP version checks.
...
Since PHP 7.4.0 is the current minimum, we should be fine just using the check in 'Config::sanity_check()'.
2024-08-21 17:58:18 +00:00
wn_
16b89cc293
Move 'include/functions.php' require into Composer autoloader.
...
Autoloader regenerated with 'composer dump-autoload --optimize'.
2024-04-20 16:25:33 +00:00
wn_
8727fb3ba8
Clean up some unused variables.
...
This is essentially 1ccc0c8c1a
without the renames and some other things related to Psalm.
2024-01-08 22:46:13 +00:00
Andrew Dolgov
ff4248b09e
add wip UI/backend stuff to filter feed tree
2023-11-03 08:33:35 +03:00
Andrew Dolgov
350177df39
add placeholder instrumentation for public
2023-10-20 23:39:30 +03:00
Andrew Dolgov
cdd7ad020e
jaeger-client -> opentelemetry
2023-10-20 21:13:39 +03:00
Andrew Dolgov
4aefbd628e
properly check for baseline required PHP version (7.4)
2022-07-29 06:34:20 +03:00
Andrew Dolgov
a395574516
actions dropdown: add context-sensitive UI layout labels
2022-02-25 18:45:00 +03:00
Andrew Dolgov
806b46d0c4
* add actions dropdown to toggle combined mode
...
* hide 'toggle widescreen' menu item when in combined mode
* unify some mode toggling code in App
2022-02-24 21:07:53 +03:00
Andrew Dolgov
720b318796
* fox.form.Select: add several properties allowing it to better
...
imitate other controls like DropDownButton, etc.
* rework several main toolbar items to use fox.form.Select instead of
other controls
* replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with
HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option
instead of menuitem)
* PluginHost: add some explicit typecasts to make intellephense shut up
2021-12-14 21:53:45 +03:00
Andrew Dolgov
9669bb94de
main toolbar: clarify element ordering, fix some indents
2021-06-28 12:16:55 +03:00
Andrew Dolgov
a5af15cfe9
fix noscript notifications
2021-04-09 13:45:25 +03:00
Andrew Dolgov
0f5fd9ea13
use svg icon for headlines loadmore prompt
2021-03-16 22:09:01 +03:00
Andrew Dolgov
f67d2623b7
add some media queries to improve main UI on small-width devices
2021-03-11 19:26:19 +03:00
Andrew Dolgov
27ab16b6dc
add Config::LOCAL_OVERRIDE_JS
2021-03-11 07:44:58 +03:00
Andrew Dolgov
cfb4882591
cleanup javascript_tag and stylesheet_tag
2021-03-08 17:39:24 +03:00
Andrew Dolgov
1fb7125f90
minor cleanup related to toolbar-main (use dijit methods, etc)
2021-03-08 10:43:49 +03:00
Andrew Dolgov
7ef72fe0dc
move startup checks to Config, set a bunch of @deprecated annotations
2021-03-01 10:20:21 +03:00
Andrew Dolgov
56b10fea18
pass translations to frontend as a json object
2021-02-26 09:21:17 +03:00
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
2021-02-25 14:49:58 +03:00
Andrew Dolgov
2621fe7955
fix get_pref always using default profile; remove unneeded code from db_prefs
2021-02-25 12:53:20 +03:00
Andrew Dolgov
8d2e3c2528
drop errors.php and simplify error handling
2021-02-23 22:26:07 +03:00
Andrew Dolgov
29ada58b4a
move db-prefs shortcut functions to functions.php
2021-02-22 23:25:14 +03:00
Andrew Dolgov
12bcf826e4
don't include config.php everywhere
2021-02-22 22:39:20 +03:00
Andrew Dolgov
211f699aa0
migrate the rest into Config::
2021-02-22 22:35:27 +03:00
Andrew Dolgov
e4107ac952
wip: initial for config object
2021-02-22 21:47:48 +03:00
Andrew Dolgov
42173386b3
dirname(__FILE__) -> __DIR__
2021-02-22 17:38:46 +03:00
Andrew Dolgov
c088e9d9d8
get rid of a few more prototype-isms
2021-02-18 22:23:06 +03:00
Andrew Dolgov
70fa423026
initial for RIP prototype/scriptaculous
2021-02-18 21:51:18 +03:00
Andrew Dolgov
a2e688fcb2
render headline-specific toolbar on the client
2021-02-14 22:17:13 +03:00
Andrew Dolgov
15fd23c374
use shortcut echo syntax for php templates
2021-02-14 09:15:51 +03:00
Andrew Dolgov
1f2ba932b8
RIP easy-installer
2021-02-12 15:59:19 +03:00
Andrew Dolgov
848bc57f29
disable themes in safe mode; rework safe mode warning/login prompt
2021-02-11 21:19:57 +03:00
Andrew Dolgov
74986d1ac6
shorten pref tab names; make log-alert clickable
2021-02-11 15:49:32 +03:00
Andrew Dolgov
3b52cea811
move some old-style handlers to new callback ones
2021-02-08 16:14:48 +03:00
Andrew Dolgov
403dca154c
initial WIP for php8; bump php version requirement to 7.0
2021-02-05 23:41:32 +03:00
Andrew Dolgov
81c52b4b1e
add support for an override stylesheet which applies to all users
2020-11-30 15:53:32 +03:00
Andrew Dolgov
74568df4ff
remove a lot of stuff from global context (functions.php), add a few helper classes instead
2020-09-22 09:04:33 +03:00
Andrew Dolgov
b4cb67e77f
remove csrf token from rpc method sanityCheck
2020-09-14 20:00:01 +03:00
Andrew Dolgov
ddf9227dc4
pluginhost: allow overriding default sort modes via HOOK_HEADLINES_CUSTOM_SORT_MAP etc
2020-08-13 12:23:27 +03:00
Andrew Dolgov
7adbc95acc
remove floating title, use position: sticky for cdm headers instead
2020-05-13 06:51:46 +03:00
Andrew Dolgov
19e1d13460
add URL parameter to ignore user theme on startup
2020-02-28 14:53:01 +03:00
Andrew Dolgov
72d0fac80c
remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way
2019-12-18 14:27:40 +03:00
Andrew Dolgov
07f4878d59
workaround for a race condition between dojo.parse() and tt-rss loading proper day/night css on startup because of firefox async CSS loader
2019-12-15 11:57:26 +03:00
Andrew Dolgov
0237dee980
implement automatic night mode detection using MQL
...
add separate light.css to force light theme
remove manual night mode toggle and related code
2019-12-12 20:09:43 +03:00
jc
f56ae1dcc9
Add HOOK_FEED_TREE to div feeds-holder
2019-10-07 13:43:24 +00:00
Andrew Dolgov
5829ee9498
main toolbar: set order values for main toolbar elements
2019-07-15 13:43:32 +03:00