Andrew Dolgov
da0ad82c24
Archive cleanup:
...
- remove code to manually archive/unarchive articles
- remove ttrss_archived_feeds/orig_feed_id handling - the whole thing was implemented for
this data to be kept indefinitely; it doesn't make a lot of sense to deal with this stuff
now that it is expired after one month anyway (same reasons as feed browser being removed - privacy)
- remove "originally from"-related stuff because of the above
- also remove unused remaining frontend/backend code related to feed browser (rip)
4 years ago
Andrew Dolgov
e86b2e60d3
edit tags dialog: initialize autocomplete in onShow (instead of onLoad) because of xhr
4 years ago
Andrew Dolgov
e3da11bf6d
Revert "somewhat experimental: disable article packing/unpacking, render content immediately"
...
This reverts commit ab53591957
.
4 years ago
Andrew Dolgov
ab53591957
somewhat experimental: disable article packing/unpacking, render content immediately
4 years ago
Andrew Dolgov
3f9390c45f
comments link: load in new tab
4 years ago
Andrew Dolgov
42b5564d1e
editarticletags: load dialog via XHR
4 years ago
Andrew Dolgov
8080c525fd
- backend: require CSRF token to be passed via POST
...
- do not leak CSRF token via GET request in feed debugger
- rework Article/redirect to use POST
4 years ago
Andrew Dolgov
aeaafefa07
don't pass csrf token as a GET parameter to Article
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
88027d7a39
fix various minor issues reported by eslint
5 years ago
Andrew Dolgov
e37f8cfa78
don't use declare() for static objects with no inheritance because apparently it's not actually needed by AMD
5 years ago
Andrew Dolgov
409ba0db2d
- RIP smooth scrolling and associated hacks
...
- attempt to make Headlines.move() / Article.cdmMoveToId() behave a bit more intuitively
5 years ago
Andrew Dolgov
25c8467753
rename Headlines.correctHeadlinesOffset() to scrollToArticleId()
...
invoke it in Article.view() instead of all over the place
5 years ago
Andrew Dolgov
05a84ab778
Headlines.move: maybe glitch less when moving back to top, etc
5 years ago
Andrew Dolgov
9ae9302b6b
implement keyboard-related changes discussed in https://community.tt-rss.org/t/changing-the-amount-of-scroll-by-arrow-key/3452/7
5 years ago
Andrew Dolgov
7adbc95acc
remove floating title, use position: sticky for cdm headers instead
5 years ago
Andrew Dolgov
4a00d41915
Article.cdmMoveToId: don't crash if params is not given
5 years ago
Andrew Dolgov
a802649d53
rename cdmScrollToId to cdmMoveToId
...
prevent smooth scrolling when going directly to an article
5 years ago
Andrew Dolgov
0d467973dc
Article.pack: dispose of unpacked content properly
5 years ago
Andrew Dolgov
e17c7e2fb4
Headlines.renderAgain: scroll instantly to active article when going back to combined mode on the fly
5 years ago
Andrew Dolgov
b3e4f0188e
in combined non-expanded mode, pack headline rows as they are unfocused to save RAM
5 years ago
Andrew Dolgov
afaac95d8d
if comment URL is not specified but comment count is non-zero, show comments prompt leading to the article
5 years ago
Andrew Dolgov
71ff485fbf
af_readability: add article button to embed content of a specific article
5 years ago
Andrew Dolgov
303f8fb329
properly escape quotes when rendering article data to html attributes via template strings
5 years ago
Andrew Dolgov
0a10832491
- update descriptions of changed hotkeys
...
- bind noscroll variants of move article hotkeys to n/p by default
- update N/P (i.e. scroll article content) hotkeys to scroll by fraction of viewport height instead of hardcoded pixel distance
- minor fixes w/ checking for undefined
5 years ago
Andrew Dolgov
a40f22d8aa
Article.cdmScrollToId: disable smooth scrolling in collapsed combined mode
5 years ago
Andrew Dolgov
560346f9d1
Article.cdmScrollToId: disable smooth scrolling on repeated events
5 years ago
Andrew Dolgov
44ef447c0f
fix fatal error in previous because of event not being passed via Headlines.move()
...
scrollbypages, etc: make event optional anyway
5 years ago
Andrew Dolgov
e7dd634183
exp: auto-disable smooth scrolling for repeat hotkey events
5 years ago
Andrew Dolgov
7a68e4a6f7
pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%)
5 years ago
Andrew Dolgov
1902a7dcb0
pgup/pgdown hotkey normalization:
...
- pgup/pgdown without modifier scroll headline buffer
- shift+pgup/pgdown work similarly to shift+up/down but operating on pages
5 years ago
Andrew Dolgov
6913158b82
add hotkeys to scroll headlines/articles (whichever is active) by one page
5 years ago
Andrew Dolgov
781fe3d636
setScore, selectionSetScore: check for numerical values properly
5 years ago
Andrew Dolgov
4e41db7ed3
Article.unpack: add placeholder if data-content is empty
6 years ago
Andrew Dolgov
f3c04fc5d8
sync modified scores via mutation observer
6 years ago
Andrew Dolgov
25ca144bb7
score: get correct classes for rows/score icons on the client
6 years ago
Andrew Dolgov
ad5a43bf66
sync article selected status via mutation observer
...
remove all rchk-related hacks
6 years ago
Andrew Dolgov
c97c755195
remove _active_article_id; use selector instead
6 years ago
Andrew Dolgov
d9bf0f17c6
sync unread state to server via mutation observer
6 years ago
Andrew Dolgov
6616c7cf67
keep track of selected prompt and floating title status using headline row mutation observer
6 years ago
Andrew Dolgov
54f02a3b31
add Headlines.renderAgain() to switch between combined/expanded modes faster
6 years ago
Andrew Dolgov
c8253f0e64
Article.openInNewWindow: do not crash if window is null
6 years ago
Andrew Dolgov
bd66a9ef28
render article on the client using headlines data
6 years ago
Andrew Dolgov
d2d2cb7e7d
rework scoring display, JS processing and icons
6 years ago
Andrew Dolgov
2dac797704
floatingTitle-related fixes
6 years ago
Andrew Dolgov
f6e287df11
remove 4px margin of cdm.expanded
6 years ago
Andrew Dolgov
6d3092c742
Headlines.openInNewWindow: don't set article active, just window.open() it and set read
6 years ago
Andrew Dolgov
71fc6d45bd
refactor error reporting to AppBase; keep exception_error() for now as a shim
6 years ago
Andrew Dolgov
84affc7b1d
rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
...
remove event.observe from login form (not needed)
load pluginhost via amd
6 years ago