Andrew Dolgov
bc73bf0f67
cdmToggleGridSpan: toggle classname instead of a style property
4 years ago
Andrew Dolgov
de47082ca6
Article.cdmToggleGridSpan: also set as active
4 years ago
Andrew Dolgov
f9a381ecca
grid: add a header icon (and a hotkey) to toggle article span entire row
4 years ago
Andrew Dolgov
28dd255c30
show user css editor before xhr is completed
4 years ago
Andrew Dolgov
1dcc36deca
make rendered labels clickable
4 years ago
Andrew Dolgov
33fff26869
reinstate HOOK_RENDER_ENCLOSURE
4 years ago
Andrew Dolgov
d445530fa0
format note on the client
4 years ago
Andrew Dolgov
921b5ca2ce
add onTagsUpdated similar to onLabelsUpdated
4 years ago
Andrew Dolgov
e73779fec1
render tags on the client
4 years ago
Andrew Dolgov
d9fe14a012
use template strings in a bunch of places instead of id concatenation
4 years ago
Andrew Dolgov
131f34648d
render headline labels on the client
4 years ago
Andrew Dolgov
bb4e4282f4
migrate a bunch of xhrPost invocations
4 years ago
Andrew Dolgov
6b43b788d9
migrate xhrJson invocations to the new helper
4 years ago
Andrew Dolgov
d26269865f
use .closest() instead of .up() to lookup parent by selector
4 years ago
Andrew Dolgov
bec35200e9
fix some eslint-related stuff
4 years ago
Andrew Dolgov
00310d2d23
cleanup some unused code, fix App.byId() invoked by wrong name
4 years ago
Andrew Dolgov
70fa423026
initial for RIP prototype/scriptaculous
4 years ago
Andrew Dolgov
2e4b403787
* use es5 (?) default parameter values for some functions
...
* when moving to next article, try to show hsp if its next
4 years ago
Andrew Dolgov
b16abc157e
* App: rename hidden to hidden_tag
...
* search: use client dialog
* add some form field helpers
4 years ago
Andrew Dolgov
89e8176c69
Article.render: parse dojo widgets
4 years ago
Andrew Dolgov
257efb43c6
article: unify naming
4 years ago
Andrew Dolgov
ecb36b6354
edit tags: use client dialog
4 years ago
Andrew Dolgov
82adb01307
render enclosures on the client
4 years ago
Andrew Dolgov
eec5871f5f
fail better if requested article URL is blank
4 years ago
Andrew Dolgov
7f0800537e
silence (or fix) a bunch of eslint warnings
4 years ago
Andrew Dolgov
3d11c61f32
* OPML import: don't reload everything, just feed tree
...
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually
* some general dialog-related cleanup
4 years ago
Andrew Dolgov
d466284fab
* customizeCSS: client dialog
...
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
4 years ago
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