Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Dolgov 353ee40378 shorten_expanded: remove loading=lazy on the js side instead 2021-03-10 17:51:06 +03:00
Andrew Dolgov 668b0ac7a6 shorten_expanded: no need to hook on HOOK_SANITIZE anymore 2021-03-10 16:34:27 +03:00
Andrew Dolgov 5bc47451e1 shorten_expanded: increase timeout 2021-03-10 15:08:36 +03:00
Andrew Dolgov 36ad46e60d * shorten_expanded: use promises instead of a timeout hack
* normalize some icon colors
2021-03-10 14:57:03 +03:00
Andrew Dolgov 20a844085f hide version for bundled plugins because it's meaningless; for everything else support showing version using git (if about[0] is null) 2021-03-01 12:11:42 +03:00
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 2021-02-18 21:51:18 +03:00
Andrew Dolgov 6e06fe2885 shorten_expanded: fix for posts without attachments 2021-02-16 08:31:24 +03:00
Andrew Dolgov 82adb01307 render enclosures on the client 2021-02-15 14:10:46 +03:00
Andrew Dolgov 43bd3394c3 shorten_expanded: remove loading=lazy from images if enabled 2020-12-11 09:22:30 +03:00
Andrew Dolgov 5e77d0062b use intersection observer to unpack visible articles, remove Headlines.unpackVisible() 2020-05-13 07:28:13 +03:00
Andrew Dolgov 7adf937936 shorten_expanded: use dojo button, don't break attachment dropdown, other fixes 2018-12-07 22:56:34 +03:00
Andrew Dolgov a2e06410c2 shorten_expanded: call unpackVisible() because there might be new stuff from below if current is shortened 2018-12-05 08:13:47 +03:00
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 2018-12-03 13:38:13 +03:00
Andrew Dolgov 8359ca6dad combined mode (and more) css class name updates 2018-11-30 15:48:17 +03:00
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 2018-11-30 13:51:54 +03:00
Andrew Dolgov dbb4cdbe36 plugins: run eslint const/let fixes 2018-11-30 08:39:45 +03:00
Andrew Dolgov df0115fc7a shorten_expanded: also hide embedded attachments behind wrapper 2018-09-21 08:14:55 +03:00
Andrew Dolgov 21ce7d9ec0 update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
2017-04-26 20:57:36 +03:00
Andrew Dolgov f6d2787a8e plugins: use require() to hook into dojo 2016-08-10 12:22:55 +03:00
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 2016-08-10 10:01:05 +03:00
Andrew Dolgov 6fd79b12a5 update shorten_expanded to allow other JS hooks to process article, duh 2015-07-31 13:42:39 +03:00
Andrew Dolgov 3cea4a4b75 go back to fixed wrapper height because dynamic one breaks layout in chrome :( 2015-07-07 16:52:43 +03:00
Andrew Dolgov 0cf910991e shorten_expanded: shorten based on window height not preset value 2015-07-07 16:43:22 +03:00
Andrew Dolgov 2fdbff069f add experimental plugin to shorten articles which are too damn long in expanded cdm 2013-07-31 18:58:56 +04:00