Commit Graph

207 Commits

Author SHA1 Message Date
Andrew Dolgov 0b8cbc9156 remove some bitmaps and rework stuff using it to use iconfont instead 2018-12-06 15:22:52 +03:00
Andrew Dolgov 0ea0b606be rework net-alert to use iconfont, move it to toolbar start 2018-12-06 12:30:11 +03:00
Andrew Dolgov 2cd1ec5816 remove seemingly useless bordercontainer from main layout 2018-12-05 10:33:30 +03:00
Andrew Dolgov 05200a3840 rename main toolbar elements to be more consistent 2018-12-05 10:03:58 +03:00
Andrew Dolgov a1407b35e4 add map files; night.css fixes 2018-12-04 22:36:01 +03:00
Andrew Dolgov 2ab097b2e5 initial work for flat modern theme 2018-12-04 22:24:31 +03:00
Andrew Dolgov 88b8830a6b various CSS updates for flat theme 2018-12-04 20:17:50 +03:00
Andrew Dolgov 563a46f55a initial 2018-12-04 16:53:01 +03:00
Andrew Dolgov 7c1bc3c5a8 add separate body class for main UI page 2018-12-04 12:01:08 +03:00
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
2018-12-03 09:33:44 +03:00
Andrew Dolgov ac8361e6f6 add AppBase as a shared ancestor for main and prefs app objects
remove event.observe stuff from startup, unneeded
2018-12-02 21:52:50 +03:00
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()
2018-12-02 20:07:57 +03:00
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 2018-12-02 18:38:27 +03:00
Andrew Dolgov 807ff07454 split main objects to dojo modules 2018-12-02 17:18:59 +03:00
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
2018-12-02 08:57:22 +03:00
Michael Kuhn f11933e1fe Fix typo 2018-12-01 22:22:06 +03:00
Andrew Dolgov cc26be0793 migrate tt-rss.js contents to App 2018-12-01 21:51:00 +03:00
Andrew Dolgov 1d82bd4f19 further objectification 2018-12-01 17:42:21 +03:00
Andrew Dolgov d86ddbc635 further objectification of JS code 2018-12-01 17:21:26 +03:00
Andrew Dolgov e84adbba37 rate-limit headlinesScrollHandler via timeout instead of distance scrolled
minor floating title cleanup
2018-12-01 09:33:09 +03:00
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 2018-11-29 22:21:09 +03:00
Andrew Dolgov 803b8ead1e update previous to not die on errors 2018-08-24 17:23:46 +03:00
Andrew Dolgov f7fe28d059 fix user theme ignoring active settings profile 2018-08-24 17:22:32 +03:00
Andrew Dolgov c4869cd573 if PHP_VERSION check fails, show current version 2018-08-13 20:13:08 +03:00
wn_ db4b6b9757 Check for PHP 5.6 minimum everywhere. 2018-08-13 08:41:47 -05:00
Andrew Dolgov a9105e2a61 move JShrink Minifier to vendor/ 2018-06-20 15:04:59 +03:00
Andrew Dolgov a72643257a do not enforce strict mode for plugins 2018-03-08 18:41:03 +03:00
Andrew Dolgov 3009ecc44f initial for JS strict mode 2018-03-08 18:33:42 +03:00
Andrew Dolgov c4a08e4ff0 remove mentions of deprecated.js 2017-12-05 07:09:01 +03:00
Andrew Dolgov 3f2a871421 upd: default css url if no theme 2017-12-03 13:10:25 +03:00
Andrew Dolgov 6bd13fc55f remove layout.css 2017-12-03 13:07:28 +03:00
Andrew Dolgov 5e68e24679 css/less updates 2017-12-03 12:50:07 +03:00
jr conlin b486510385 Add "viewport" meta to allow mobile devices ability to resize and display page. 2017-09-02 14:15:19 -07:00
Andrew Dolgov 7590f03961 feedtree.selectFeed: focus headlines-frame after selection 2017-05-12 08:05:35 +03:00
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 2017-02-09 23:04:34 +03:00
Andrew Dolgov e432b8fbe2 implement cache-busting for default theme.css
night theme: small fixes
2017-01-25 12:17:41 +03:00
Andrew Dolgov 6f84bf7b0a dojoConfig: use cacheBust 2017-01-22 13:43:32 +03:00
Andrew Dolgov 6293d3717c add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
2017-01-07 15:29:17 +03:00
Andrew Dolgov 546b419f52 catch plugin JS errors 2016-08-10 12:23:35 +03:00
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 2016-08-10 10:01:05 +03:00
Andrew Dolgov 2e68712261 set referrer policy to 'no-referrer' 2016-06-03 12:08:03 +03:00
Andrew Dolgov 7ac6ab4dda set referrer-policy to none 2016-06-01 16:21:03 +03:00
Andrew Dolgov 402073d6a1 remove headlines-tmp element 2015-07-13 01:29:42 +03:00
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
2015-07-07 15:59:32 +03:00
Andrew Dolgov b9634eb8b8 support loading themes from themes.local 2015-06-05 18:08:19 +03:00
Andrew Dolgov 755869ffbc remove unread first sorting: has issues, is pretty much adaptive anyway 2015-03-17 02:01:10 +03:00
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 2015-02-03 14:39:15 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
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>
2015-01-30 21:58:44 -05:00
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 2014-12-09 15:16:53 +03:00
Andrew Dolgov d9c93ebfdb tweak notifications; use css animations for notifications 2014-11-02 20:58:46 +03:00
Andrew Dolgov 8b91b0beb5 add ttrss version and init params to reports 2014-03-14 14:20:32 +04:00
Andrew Dolgov 6214a0768a reinstate scriptaculous controls (needed for ajax.autocomplete) 2014-01-28 15:31:41 +04:00
Andrew Dolgov f3479db384 add previously missed zoom.css
remove unused scriptaculous parts
2014-01-28 01:42:17 +04:00
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
2014-01-28 01:39:24 +04:00
Andrew Dolgov 1bffd1068f unify main and headlines toolbar 2014-01-27 22:03:42 +04:00
Andrew Dolgov 3684074387 use require_once for minifier 2013-07-31 15:05:05 +04:00
Andrew Dolgov 618e80ee5e hide collapse sidebar button by default 2013-07-15 15:00:36 +04:00
Andrew Dolgov baf3fcf93a use a different network error image 2013-07-10 14:02:32 +04:00
Andrew Dolgov 08820be70b add experimental floating title when scrolling long articles in combined mode 2013-06-05 22:20:22 +04:00
Andrew Dolgov 6938c03658 always include basic layout CSS file to prevent unworkable UI in case of a broken/incompatible theme 2013-05-20 16:16:34 +04:00
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
2013-05-19 21:22:01 +04:00
gitawego c8d3fd5b18 @FIXED dijit modules aren't cached in compressed mode 2013-05-14 20:27:23 +03:00
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov 8d388f321b add a simple JS-based hook host 2013-04-24 19:49:37 +04:00
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 2013-04-18 12:27:34 +04:00
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 2013-04-17 17:00:35 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 95437e9e07 tweak notify layout/display 2013-04-17 10:50:46 +04:00
Andrew Dolgov b68a266a73 remove no_cache_incantation() 2013-04-12 14:06:20 +04:00
Andrew Dolgov f3b2e7d41f add back sorting by title 2013-04-04 20:44:55 +04:00
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 2013-04-03 18:20:14 +04:00
Andrew Dolgov b7041615c4 fix mark as read dropdown not resetting 2013-04-02 18:50:54 +04:00
Andrew Dolgov c88e4a2af3 remove small_article_preview 2013-04-02 14:34:17 +04:00
Andrew Dolgov 97e2c731b8 move HOOK_TOOLBAR_BUTTON elements inside actionChooser 2013-04-02 08:45:51 +04:00
Daniel Andersson d94fba61c1 Load plugin JS last to enhance plugin capabilities 2013-04-01 21:08:04 +02:00
Andrew Dolgov ceb7847108 add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON 2013-04-01 18:06:09 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov c468531817 hide switch to digest from actions menu 2013-03-31 15:40:56 +04:00
Andrew Dolgov a57c814990 hide some obscure-ish (or having hotkeys) options from global Actions menu 2013-03-31 15:36:14 +04:00
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 2013-03-31 12:37:42 +04:00
Andrew Dolgov 22af123269 make toggling combined mode work without reload 2013-03-30 19:55:52 +04:00
Andrew Dolgov 5d40efc9b0 add ability to select CSS files in themes/ 2013-03-28 21:04:29 +04:00
Andrew Dolgov 56b61583a2 change order of oldest first/newest first 2013-03-28 20:52:55 +04:00
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 2013-03-28 20:51:06 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 2013-03-27 22:41:12 +04:00
Andrew Dolgov 127aaaa0f7 add has_note with mode 2013-03-27 21:35:16 +04:00
Andrew Dolgov 3b4c319d2c Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-03-26 22:38:31 +04:00
Andrew Dolgov d0c6dd29d1 add experimental easy installer 2013-03-26 22:38:05 +04:00
Andrew Dolgov a543e86d85 add redirect to digest on smartphones if mobile is missing 2013-03-26 20:31:30 +04:00
Andrew Dolgov 4aac835562 add back redirection to mobile plugin 2013-03-26 19:02:07 +04:00
Andrew Dolgov d8cfe1955f Revert "Removes redirection to mobile/"
This reverts commit a4d4bceb97.
2013-03-26 19:01:14 +04:00
Andrew Dolgov 2e4faaacff add unread_first view mode 2013-03-25 22:45:40 +04:00
Andrew Dolgov 2e828a4af6 add a button to show release notes before updating; remove obsolete elements 2013-03-25 21:47:38 +04:00
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 2013-03-25 16:09:05 +04:00
Andrew Dolgov bcbb2ec792 remove localized_js.php; integrate with other startup JS stuff 2013-03-25 12:45:27 +04:00