summaryrefslogtreecommitdiff
path: root/js/Article.js
AgeCommit message (Collapse)Author
2021-02-19fix some eslint-related stuffwip-no-prototypeAndrew Dolgov
2021-02-19cleanup some unused code, fix App.byId() invoked by wrong nameAndrew Dolgov
2021-02-18initial for RIP prototype/scriptaculousAndrew Dolgov
2021-02-18 * use es5 (?) default parameter values for some functionsAndrew Dolgov
* when moving to next article, try to show hsp if its next
2021-02-17 * App: rename hidden to hidden_tagAndrew Dolgov
* search: use client dialog * add some form field helpers
2021-02-16Article.render: parse dojo widgetsAndrew Dolgov
2021-02-15article: unify namingAndrew Dolgov
2021-02-15edit tags: use client dialogAndrew Dolgov
2021-02-15render enclosures on the clientAndrew Dolgov
2021-02-13fail better if requested article URL is blankAndrew Dolgov
2021-02-12silence (or fix) a bunch of eslint warningsAndrew Dolgov
2021-02-12* OPML import: don't reload everything, just feed treeAndrew Dolgov
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually * some general dialog-related cleanup
2021-02-12* customizeCSS: client dialogAndrew Dolgov
* 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
2021-01-17Archive cleanup:Andrew Dolgov
- 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)
2020-12-23edit tags dialog: initialize autocomplete in onShow (instead of onLoad) ↵Andrew Dolgov
because of xhr
2020-10-21Revert "somewhat experimental: disable article packing/unpacking, render ↵Andrew Dolgov
content immediately" This reverts commit ab53591957d877908b89f6874e91c282bf59d165.
2020-10-09somewhat experimental: disable article packing/unpacking, render content ↵Andrew Dolgov
immediately
2020-09-15comments link: load in new tabAndrew Dolgov
2020-09-15editarticletags: load dialog via XHRAndrew Dolgov
2020-09-15- backend: require CSRF token to be passed via POSTAndrew Dolgov
- do not leak CSRF token via GET request in feed debugger - rework Article/redirect to use POST
2020-09-15don't pass csrf token as a GET parameter to ArticleAndrew Dolgov
2020-09-15require CSRF token for Article/redirectAndrew Dolgov
2020-06-05eslint-related fixes; move a few things from global context to AppAndrew Dolgov
2020-06-04fix various minor issues reported by eslintAndrew Dolgov
2020-06-04don't use declare() for static objects with no inheritance because ↵Andrew Dolgov
apparently it's not actually needed by AMD
2020-05-22- RIP smooth scrolling and associated hacksAndrew Dolgov
- attempt to make Headlines.move() / Article.cdmMoveToId() behave a bit more intuitively
2020-05-17rename Headlines.correctHeadlinesOffset() to scrollToArticleId()Andrew Dolgov
invoke it in Article.view() instead of all over the place
2020-05-17Headlines.move: maybe glitch less when moving back to top, etcAndrew Dolgov
2020-05-17implement keyboard-related changes discussed in ↵Andrew Dolgov
https://community.tt-rss.org/t/changing-the-amount-of-scroll-by-arrow-key/3452/7
2020-05-13remove floating title, use position: sticky for cdm headers insteadAndrew Dolgov
2020-05-09Article.cdmMoveToId: don't crash if params is not givenAndrew Dolgov
2020-05-09rename cdmScrollToId to cdmMoveToIdAndrew Dolgov
prevent smooth scrolling when going directly to an article
2020-04-17Article.pack: dispose of unpacked content properlyAndrew Dolgov
2020-04-17Headlines.renderAgain: scroll instantly to active article when going back to ↵Andrew Dolgov
combined mode on the fly
2020-04-17in combined non-expanded mode, pack headline rows as they are unfocused to ↵Andrew Dolgov
save RAM
2020-04-07if comment URL is not specified but comment count is non-zero, show comments ↵Andrew Dolgov
prompt leading to the article
2020-02-27af_readability: add article button to embed content of a specific articleAndrew Dolgov
2020-01-18properly escape quotes when rendering article data to html attributes via ↵Andrew Dolgov
template strings
2019-12-11- update descriptions of changed hotkeysAndrew Dolgov
- 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
2019-12-10Article.cdmScrollToId: disable smooth scrolling in collapsed combined modeAndrew Dolgov
2019-12-10Article.cdmScrollToId: disable smooth scrolling on repeated eventsAndrew Dolgov
2019-12-09fix fatal error in previous because of event not being passed via ↵Andrew Dolgov
Headlines.move() scrollbypages, etc: make event optional anyway
2019-12-09exp: auto-disable smooth scrolling for repeat hotkey eventsAndrew Dolgov
2019-12-09pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%)Andrew Dolgov
2019-12-05pgup/pgdown hotkey normalization:Andrew Dolgov
- pgup/pgdown without modifier scroll headline buffer - shift+pgup/pgdown work similarly to shift+up/down but operating on pages
2019-12-04add hotkeys to scroll headlines/articles (whichever is active) by one pageAndrew Dolgov
2019-08-29setScore, selectionSetScore: check for numerical values properlyAndrew Dolgov
2018-12-12Article.unpack: add placeholder   if data-content is emptyAndrew Dolgov
2018-12-11sync modified scores via mutation observerAndrew Dolgov
2018-12-11score: get correct classes for rows/score icons on the clientAndrew Dolgov