Commit Graph

148 Commits (26720969ae5ed8306a1c15257d2e5ae62c44fc66)

Author SHA1 Message Date
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
Andrew Dolgov ac8361e6f6 add AppBase as a shared ancestor for main and prefs app objects
remove event.observe stuff from startup, unneeded
6 years ago
Andrew Dolgov d9c5c93cef move some more stuff out of common.js
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
6 years ago
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 6 years ago
Andrew Dolgov 807ff07454 split main objects to dojo modules 6 years ago
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
6 years ago
Michael Kuhn f11933e1fe Fix typo 6 years ago
Andrew Dolgov cc26be0793 migrate tt-rss.js contents to App 6 years ago
Andrew Dolgov 1d82bd4f19 further objectification 6 years ago
Andrew Dolgov d86ddbc635 further objectification of JS code 6 years ago
Andrew Dolgov e84adbba37 rate-limit headlinesScrollHandler via timeout instead of distance scrolled
minor floating title cleanup
6 years ago
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 6 years ago
Andrew Dolgov 803b8ead1e update previous to not die on errors 6 years ago
Andrew Dolgov f7fe28d059 fix user theme ignoring active settings profile 6 years ago
Andrew Dolgov c4869cd573 if PHP_VERSION check fails, show current version 6 years ago
wn_ db4b6b9757 Check for PHP 5.6 minimum everywhere. 6 years ago
Andrew Dolgov a9105e2a61 move JShrink Minifier to vendor/ 6 years ago
Andrew Dolgov a72643257a do not enforce strict mode for plugins 7 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 7 years ago
Andrew Dolgov c4a08e4ff0 remove mentions of deprecated.js 7 years ago
Andrew Dolgov 3f2a871421 upd: default css url if no theme 7 years ago
Andrew Dolgov 6bd13fc55f remove layout.css 7 years ago
Andrew Dolgov 5e68e24679 css/less updates 7 years ago
jr conlin b486510385 Add "viewport" meta to allow mobile devices ability to resize and display page. 7 years ago
Andrew Dolgov 7590f03961 feedtree.selectFeed: focus headlines-frame after selection 8 years ago
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 8 years ago
Andrew Dolgov e432b8fbe2 implement cache-busting for default theme.css
night theme: small fixes
8 years ago
Andrew Dolgov 6f84bf7b0a dojoConfig: use cacheBust 8 years ago
Andrew Dolgov 6293d3717c add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
8 years ago
Andrew Dolgov 546b419f52 catch plugin JS errors 8 years ago
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 8 years ago
Andrew Dolgov 2e68712261 set referrer policy to 'no-referrer' 9 years ago
Andrew Dolgov 7ac6ab4dda set referrer-policy to none 9 years ago
Andrew Dolgov 402073d6a1 remove headlines-tmp element 9 years ago
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
9 years ago
Andrew Dolgov b9634eb8b8 support loading themes from themes.local 10 years ago
Andrew Dolgov 755869ffbc remove unread first sorting: has issues, is pretty much adaptive anyway 10 years ago
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 10 years ago
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 10 years ago
Anders Kaseorg 5c145bde7a Make the floating title transition smoother
Previously the floating title would not appear until the real title
scrolled entirely out of view, which was visually distracting.  Now it
appears at the point when its bottom lines up with the real title’s
bottom.  This isn’t perfect yet due to small differences between the
two titles’ layouts, but it’s much closer.

We now need to use visibility: visible|hidden instead of display:
block|none to show and hide the floating title, in order to be able to
retrieve its height while it’s hidden.  It’s important to use that
height because occasionally line wrapping differences make the
floating title shorter than the real title, and we don’t want the real
title to poke out from underneath.

Also fix scrollToRowId to offset by the 4 pixel top margin (like
cdmScrollToArticleId already does), so that it goes back to a point
when the floating title was hidden; and set the right margin on the
floating title so that it’s the same width as the real title and
doesn’t overlap the scroll bar.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
10 years ago
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 10 years ago
Andrew Dolgov d9c93ebfdb tweak notifications; use css animations for notifications 10 years ago
Andrew Dolgov 8b91b0beb5 add ttrss version and init params to reports 11 years ago
Andrew Dolgov 6214a0768a reinstate scriptaculous controls (needed for ajax.autocomplete) 11 years ago
Andrew Dolgov f3479db384 add previously missed zoom.css
remove unused scriptaculous parts
11 years ago
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
11 years ago
Andrew Dolgov 1bffd1068f unify main and headlines toolbar 11 years ago
Andrew Dolgov 3684074387 use require_once for minifier 11 years ago
Andrew Dolgov 618e80ee5e hide collapse sidebar button by default 11 years ago
Andrew Dolgov baf3fcf93a use a different network error image 11 years ago