Andrew Dolgov
a30b9bb649
rework favicon storage to use DiskCache
2022-11-24 23:31:33 +03:00
Andrew Dolgov
f56a049641
fix some PHP8 warnings generated while dragging feed tree items around
2022-10-15 13:44:02 +03:00
wn_
3487c922b3
Replace use of 'array_merge' with the spread operator and 'array_push' in various places.
...
This isn't supported for arrays with string keys until PHP 8.1.
https://wiki.php.net/rfc/spread_operator_for_array
2022-08-12 17:58:38 +00:00
Andrew Dolgov
8ef816d8f8
feeds-tree: move external onClick dojo/method to PrefFeedTree class
2022-06-06 09:31:37 +03:00
Andrew Dolgov
dd983e5de1
prefs: move external filter tree onload method (which checks for inactive feeds, etc.) to FilterTree class
2022-06-05 11:47:21 +03:00
Andrew Dolgov
f7e2f62022
fix Feeds::_get_counters() used improperly as a replacement for
...
getFeedUnread()
2022-02-20 12:48:38 +03:00
Andrew Dolgov
77f39d65b5
* Feeds::_get_counters - fix retrieving unread for tags
...
* mark several symbols as @deprecated properly
* replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2022-02-20 11:04:40 +03:00
wn_
d532eb773b
Switch from null to false as the default for missing bool params.
2021-11-18 18:25:04 +00:00
wn_
2422aae577
Consistently handle param string to bool conversions in handlers.
2021-11-18 18:09:47 +00:00
wn_
edd476e7fe
minor: correct $cat type in Pref_Feeds#calculate_children_count()
2021-11-13 16:00:59 +00:00
wn_
a18473e4c0
Address PHPStan warnings in 'classes/pref/feeds.php'.
2021-11-13 15:56:31 +00:00
wn_
5606e38bff
Update signature of handler 'csrf_ignore' to include types.
2021-11-12 02:01:31 +00:00
Andrew Dolgov
9e8d69739f
add two helper account access levels:
...
- read only - can't subscribe to more feeds, feed updates are skipped
- disabled - can't login
define used access levels as UserHelper constants and refactor code to
use them instead of hardcoded numbers
2021-11-10 20:44:51 +03:00
Andrew Dolgov
36e174750e
fix label ordering in feed tree
2021-09-02 08:21:05 +03:00
Andrew Dolgov
5c60254474
Pref_Feeds:calculate_children_count - fix operator precedence
2021-08-23 10:45:34 +03:00
Andrew Dolgov
0808123179
fix broken feed tree generation when categories are disabled
2021-08-18 21:02:58 +03:00
wn_
23b4152c9e
Make prefs feed search case-insensitive.
...
Previously the search query had to match lower title or feed_url (i.e. searching w/ uppercase wouldn't match).
2021-08-17 23:14:14 +00:00
wn_
992e9cd9e3
Use ORM more in 'classes/pref/feeds.php'.
2021-08-17 23:03:35 +00:00
Andrew Dolgov
e3c51b0e6c
Revert "clip max displayed counter value to 9999 because of container node width"
...
This reverts commit c34a4c85bd
.
2021-03-23 11:51:17 +03:00
Andrew Dolgov
c34a4c85bd
clip max displayed counter value to 9999 because of container node width
2021-03-23 10:47:06 +03:00
Andrew Dolgov
44b274b6d4
remove published opml (use CLI instead)
2021-03-16 12:27:46 +03:00
Andrew Dolgov
c26f58d8a5
fix some php8 warnings
2021-03-08 11:16:32 +03:00
Andrew Dolgov
d6fd0d5462
add some icons, remove some words
2021-03-06 23:51:48 +03:00
Andrew Dolgov
e5469479c1
* don't try to update custom set feed favicons
...
* cleanup update_rss_feed() a bit, use ORM
2021-03-06 11:17:15 +03:00
Andrew Dolgov
c4eaab8a31
feeds/_add_cat: use ORM
2021-03-02 10:24:15 +03:00
Andrew Dolgov
84d8b08d1f
use orm for feed access keys
2021-03-02 08:26:37 +03:00
Andrew Dolgov
70adfd4a74
* sanitize: never rewrite relative links to our own prefix
...
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch
of places
2021-03-02 08:16:41 +03:00
Andrew Dolgov
56f658711f
use orm for a bunch of short feed/cat queries
2021-03-01 20:25:53 +03:00
fox
c6fb62f384
Merge pull request 'fix-mysql-support' ( #10 ) from klatch/tt-rss:fix-mysql-support into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/10
2021-02-26 19:03:15 +03:00
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
2021-02-25 14:49:58 +03:00
Frenck Lutke
2f2642bbd4
add fallback for feed_language on edit-feed-saving
...
Feed_language is only included in the form if running on pgsql, failing
the not null constraint on mysql setups.
2021-02-25 12:06:25 +01:00
Andrew Dolgov
8d2e3c2528
drop errors.php and simplify error handling
2021-02-23 22:26:07 +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
861a632ac7
move published opml JS code to pref helpers
2021-02-21 18:04:44 +03:00
Andrew Dolgov
521d0b65c7
batch feed editor: use tab layout, cleanup
2021-02-21 16:02:57 +03:00
Andrew Dolgov
d1328321be
move published OPML endpoint to public.php
2021-02-21 15:16:39 +03:00
Andrew Dolgov
22fe9b54d2
feed editor: use client dialog
2021-02-20 13:32:09 +03:00
Andrew Dolgov
9586c72a17
wip: feed editor client-side
2021-02-20 10:26:09 +03:00
Andrew Dolgov
660a1bbe01
* switch to xhr.post() almost everywhere
...
* call App.handlerpcjson() automatically on json request (if possible)
* show net/log indicators in prefs
2021-02-19 13:44:56 +03:00
Andrew Dolgov
dcfea9baac
properly validate feed editor dialog
2021-02-19 06:51:15 +03:00
Andrew Dolgov
f58c49beaa
replace a few more controls to new style
2021-02-16 18:50:18 +03:00
Andrew Dolgov
bdbbdbb0ed
rework controls to accept parameters as array
2021-02-16 16:59:21 +03:00
Andrew Dolgov
1f5d81b77c
use a few more control helpers for checkboxes
2021-02-16 15:19:42 +03:00
Andrew Dolgov
1f43d7916c
replace print_hidden with hidden_tag
2021-02-16 14:32:06 +03:00
Andrew Dolgov
26d6b84a57
add namespaced controls with unified naming; deprecated old-style control shortcuts
2021-02-16 14:23:00 +03:00
Andrew Dolgov
bd3c38de84
move bookmarklet-related subscribe_to_feed_url to bookmarklet plugin
2021-02-15 16:41:52 +03:00
Andrew Dolgov
91285e3868
router: add additional logging for refused requests; reject requests for methods starting with _
2021-02-15 16:34:44 +03:00
Andrew Dolgov
020f062a76
feeds: unify naming
2021-02-15 15:43:07 +03:00
Andrew Dolgov
6b006a18e7
subscribe to feed: use client dialog
2021-02-15 15:21:41 +03:00