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
Andrew Dolgov
42b5564d1e
editarticletags: load dialog via XHR
4 years ago
Andrew Dolgov
e670ac2ee5
require CSRF token for Article/redirect
4 years ago
Andrew Dolgov
d01ad09800
eslint-related fixes; move a few things from global context to App
5 years ago
Andrew Dolgov
6080cca9ca
scrap counter cache system; rework counters to sum() booleans instead
5 years ago
Andrew Dolgov
304d3a0b88
tag-related fixes
...
1. move tag sanitization to feedparser common item class
2. enforce length limit on tags when parsing
3. support multiple tags passed via one dc:subject and other such elements, parse them as a comma-separated list
4. sort resulting tag list to prevent different order between feed updates
5. remove some duplicate code related to tag validation
6. allow + symbol in tags
5 years ago
Andrew Dolgov
5648b836aa
HOOK_ARTICLE_IMAGE: allow hooks to modify article content
5 years ago
Andrew Dolgov
9d852e052c
add HOOK_ARTICLE_IMAGE for Article::get_article_image()
5 years ago
Andrew Dolgov
ffb842f752
Article::get_article_image() - provide cached URLs if possible
5 years ago
Andrew Dolgov
150b040dad
Article::get_article_image() - set default to "" instead of "false"
5 years ago
Andrew Dolgov
d4df57e1a4
Article::get_article_image() - also return stream URI if possible
5 years ago
Andrew Dolgov
68e2b05f65
* move get_article_image to Article; implement better og:image detection (similar to android app)
...
* pass article image to API clients in headlines row object
5 years ago
Andrew Dolgov
3c075bfd21
DiskCache: more strict checking for input filenames, getUrl() is no longer static
5 years ago
Andrew Dolgov
fdb6066bf6
* HOOK_ENCLOSURE_ENTRY: pass article_id to handler
...
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send()
* public/cached_url: allow selecting files from sub-caches other than images
* plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
5 years ago
Andrew Dolgov
b1dd38f880
add DiskCache.getUrl() and use it in a bunch of places
5 years ago
Andrew Dolgov
4fa9aee4e7
move several more global functions to more appropriate classes
6 years ago
Andrew Dolgov
fda475bd93
af_readability: fix HOOK_GET_FULL_TEXT not being installed because plugin init() is called before load_data()
6 years ago
Andrew Dolgov
6955b2e02d
plugins: add HOOK_GET_FULL_TEXT which may be used to provide full text extraction to core code and other plugins, instead of trying to invoke af_readability specifically
6 years ago
fox
525298569e
Merge branch 'hotkeys-focus' of suraia/tt-rss into master
6 years ago
Michael Kuhn
e38fcd6dea
Fix button focus issues
...
This change introduces derived classes for ComboButton, DropDownButton
and Select that make sure that buttons do not remain focused after their
menus are closed. This allows using hotkeys after closing them.
6 years ago
zeed
e397caa82a
update the tsvector_combined when create_published_article
...
https://discourse.tt-rss.org/t/create-published-article-doesnt-update-the-tsvector-combined/2277
6 years ago
Andrew Dolgov
3bd3324e5a
update: add option to send digests
6 years ago
Andrew Dolgov
335147e572
dialogs: use semantic markup instead of dlgsec stuff
...
continue unifying quoting style for html strings
6 years ago
Andrew Dolgov
1124c3f00a
label display: fix unneeded nested container in headlines, increase overall minimalism, fix label element typo (div1)
6 years ago
Andrew Dolgov
25ca144bb7
score: get correct classes for rows/score icons on the client
6 years ago
Andrew Dolgov
93dfdb2fcd
exp: tweak headline label styles
6 years ago
Andrew Dolgov
b2c079893b
move Article::format_article() to Handler_Public
6 years ago
Andrew Dolgov
bd66a9ef28
render article on the client using headlines data
6 years ago
Andrew Dolgov
4e06b94f76
format_article_enclosures: i don't think we need so many <hr>s
6 years ago
Andrew Dolgov
4cbc62d2a5
article note format updates
6 years ago
Andrew Dolgov
369bac525b
simplify zoom mode display
6 years ago
Andrew Dolgov
26c074ed7e
rework article header to use flexbox
6 years ago
Andrew Dolgov
d2d2cb7e7d
rework scoring display, JS processing and icons
6 years ago
Andrew Dolgov
a0778577ac
remove pub_{set,unset}.png usage in main code
6 years ago
Andrew Dolgov
78cc470193
remove some plugin JS code out of global context
6 years ago
Andrew Dolgov
0a18d0b1ed
Feeds: shorten some method names
...
finally rename "view as rss"
6 years ago
Andrew Dolgov
3678315bea
Article, Headlines: shorten several method names
6 years ago
Andrew Dolgov
642c37ea61
further effocts to wrap JS stuff into objects
6 years ago
Andrew Dolgov
049a37aa0e
WIP reshuffling of JS global context into separate logical objects
6 years ago
Andrew Dolgov
195180b64d
minor refactoring: normalize some function names; cleanup; etc
6 years ago
Andrew Dolgov
07fd4f8d9d
minor css fixes (mostly for zoom mode)
6 years ago
Andrew Dolgov
add558e7e5
rework some styles related to three panel mode
6 years ago
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
6 years ago
Andrew Dolgov
ed1262d55a
oops, remove useless db_escape_string() in article class (and nsfw plugin)
6 years ago
Andrew Dolgov
3a0292303e
php: remove trailing whitespaces
6 years ago
Andrew Dolgov
2aef804f4b
split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently
6 years ago
Andrew Dolgov
f5302247c6
share: add support for og:image, etc. metadata for shared articles
7 years ago
Andrew Dolgov
8e1450aa15
update previous to only affect mysql
7 years ago
Andrew Dolgov
f76f773a16
purge_orphans: limit maximum number of deleted articles
7 years ago