Commit graph

617 commits

Author SHA1 Message Date
calzoneman 15085fc6ae Minor fixes for v2.2
- If NO_WEBSOCKETS or USEROPTS.altsocket are true, don't use websockets
- Base resizing on an invisible div (some channels remove/hide #queue)
- Names are properly italicized when AFK
2013-08-04 11:44:48 -04:00
Calvin Montgomery 20f0d1c316 Clear afk timer when disconnecting 2013-08-01 22:47:38 -04:00
calzoneman 4937dca98e Ceil voteskip requirement instead of truncating 2013-08-01 16:11:11 -04:00
calzoneman 229f8a206a Fix rare case where paginator breaks 2013-08-01 15:20:50 -04:00
calzoneman 8f72854e38 Fix #238 2013-08-01 15:12:57 -04:00
calzoneman 329505de9d Revert "Forgot to add afk-timeout to config defaults"
This reverts commit b93f5584b6.
2013-08-01 09:45:14 -04:00
calzoneman b93f5584b6 Forgot to add afk-timeout to config defaults 2013-08-01 09:42:51 -04:00
calzoneman a1b39833ed (Hopefully) fix voteskip problems 2013-08-01 09:39:10 -04:00
Calvin Montgomery ba8730b722 A couple of voteskip fixes 2013-08-01 00:37:06 -04:00
Calvin Montgomery b9ccf05416 Merge branch 'master' into dev 2013-08-01 00:04:07 -04:00
Calvin Montgomery 103e01042e Fix voteskip calculation 2013-08-01 00:03:56 -04:00
Calvin Montgomery 90437e5ac2 Media retrieval refactor; first pass 2013-07-31 23:26:11 -04:00
Calvin Montgomery 7477c64ae2 v2.2 - IMPORTANT CONFIG CHANGED
config.js is now a module which loads configuration dynamically.
It automatically generates a file "cfg.json" with defaults.
Edit cfg.json and restart the server to apply.
2013-07-31 22:27:34 -04:00
Calvin Montgomery 971cb18c9f Update version 2013-07-31 22:27:08 -04:00
Calvin Montgomery ec1b28b8cd Merge branch 'dev' 2013-07-31 22:26:40 -04:00
calzoneman 008655e5bf Force linewrap on video title in Chrome 2013-07-31 11:13:32 -04:00
calzoneman 7d0de7b1ba Paginate library/search 2013-07-31 11:05:07 -04:00
calzoneman 2573218d55 Paginate channel ranks 2013-07-31 10:57:59 -04:00
calzoneman a4587ef53c Tweak user pagination 2013-07-31 10:47:23 -04:00
calzoneman 520697af86 Use paginator for actionlog 2013-07-31 10:45:15 -04:00
calzoneman e47c1abff7 Merge branch 'dev' of github.com:calzoneman/sync into dev 2013-07-31 10:27:09 -04:00
calzoneman 17b9353833 Switch pagination on users in ACP 2013-07-31 10:27:01 -04:00
Calvin Montgomery 48483efb02 Take care of obnoxious channel names and video titles 2013-07-30 23:36:18 -04:00
Calvin Montgomery 27b95fd856 Only record login-success for rank >= 255 2013-07-30 23:23:20 -04:00
Calvin Montgomery 49f7fb2e15 Change the way action log is queried 2013-07-30 23:21:32 -04:00
calzoneman 5a91a7ce21 Only change afkcount if afk state changes 2013-07-30 18:24:09 -04:00
calzoneman 36d3232d9f Strip URL query before logging 2013-07-30 12:26:08 -04:00
calzoneman 9194c341af HTTP Access Log 2013-07-30 09:43:58 -04:00
calzoneman d9c4c32c6d Handle #215, re-add multifilter editor 2013-07-30 09:27:13 -04:00
calzoneman fe2985e8dd Save playlists with cached data 2013-07-30 09:07:30 -04:00
calzoneman 17c733be44 Dedupe playlist option notification 2013-07-29 20:06:01 -04:00
calzoneman 995b92ebed Reset AFK timer when returning from being AFK 2013-07-29 20:02:31 -04:00
calzoneman ba26d9abbb Fix logger being closed inappropriately 2013-07-29 19:59:52 -04:00
calzoneman 687a561079 Fix logger dead handler 2013-07-29 19:32:51 -04:00
calzoneman 4c7da26f13 Add close() check 2013-07-29 18:16:11 -04:00
calzoneman 93dd730bde Add check to prevent write-after-end error 2013-07-29 18:13:06 -04:00
calzoneman 1df015b839 Would help if I imported the module 2013-07-28 19:47:55 -04:00
calzoneman ac75cf34ab Fix not autogenerating folders 2013-07-28 19:47:13 -04:00
calzoneman 77a57d24c1 Implement Auto-AFK (#192)
- Channel-configurable delay
- User is marked AFK if no chat messages are received before the delay expires
- User is marked un-AFK if a chat message is received or if the user voteskips
2013-07-28 17:58:22 -04:00
calzoneman 1150d03474 AFKers don't affect voteskip (#193) 2013-07-28 17:36:53 -04:00
calzoneman c50baef9c6 Change logger to stream, decode HTML messages
- Using a WritableStream instead of manually buffering is a good idea
- Chat messages are logged with HTML entities decoded (< instead of &lt;)
2013-07-28 17:25:06 -04:00
calzoneman 6899186600 Add cache TTL option; fixes 2013-07-28 17:10:35 -04:00
calzoneman d35ace1916 Fix #234 2013-07-28 14:10:47 -04:00
calzoneman 2fb28f4d43 Change config system 2013-07-28 11:49:29 -04:00
calzoneman 3932014ed0 Tried implementing Vimeo flash player, didn't fix problem 2013-07-28 10:49:12 -04:00
Calvin Montgomery ab671917f7 Send proper HTTP status code for failed files 2013-07-27 21:14:19 -04:00
calzoneman 149eeb6277 Add error message when socket fails 2013-07-27 16:42:42 -04:00
calzoneman 34e55d6fad Proper fix for path traversal 2013-07-27 11:06:49 -04:00
calzoneman 5dfd9ad310 Fix ACP unload channel bug 2013-07-27 10:52:17 -04:00
calzoneman 9084a1aa8c Fixes
- Add Channel.canonical_name to store lowercase
- Hopefully prevent future dangling playlists
- Disallow joining channels with names longer than 30 characters
2013-07-27 10:40:49 -04:00