Commit Graph

265 Commits

Author SHA1 Message Date
calzoneman a5c297365c Fixes; implement /clear command 2013-05-23 00:03:37 -04:00
calzoneman 4e364f45a6 Add permissions editor; fixes for bans 2013-05-22 15:38:16 -04:00
calzoneman 12c1f4acf8 Fix sort error for connection log 2013-05-22 10:56:27 -04:00
calzoneman f8b0b06caf Add username bans, tweak ban interface 2013-05-21 12:17:01 -04:00
calzoneman 505c628eb9 Tweak bans 2013-05-19 17:23:35 -04:00
calzoneman ea9132624a Fix index.html to work in non-root directories 2013-05-19 13:34:14 -04:00
calzoneman cf2e1213a9 Give feedback when a queue fails 2013-05-19 13:06:39 -04:00
calzoneman 01fc746334 Implement #137 2013-05-19 12:56:13 -04:00
calzoneman 3e2683642e Fix ACP 2013-05-17 19:04:39 -04:00
calzoneman 886834e822 Fix broken URLs from last commit 2013-05-17 18:56:11 -04:00
calzoneman 6dc0a33bda Separate ports for webserver and socketio
It came to my attention today that some firewalls block websocket traffic on port 80.  For this reason, I have split out the webserver and socket.io traffic to 2 different ports.
In config.js, IO_PORT is the socket.io port.  This should NOT be port 80.  WEBSERVER_PORT is the port that the built in webserver will bind to (can be port 80, but this requires root permissions).
You will connect to yourhostname:WEBSERVER_PORT, and use yourhostname:IO_PORT as IO_URL.
2013-05-17 18:39:49 -04:00
calzoneman 66fbbb77ce Add Justin.tv support 2013-05-17 14:39:58 -04:00
calzoneman 79ec535358 Improve chat button 2013-05-17 13:36:58 -04:00
calzoneman 8671edd106 Add option for send button in chat 2013-05-17 11:23:11 -04:00
calzoneman 767cfdd76e Improve announcements; remove debug console.log 2013-05-16 22:48:37 -04:00
calzoneman 8da604fd8a Solve #130 2013-05-16 22:39:33 -04:00
calzoneman a8d8f346d4 Add editors for CSS and JS 2013-05-15 11:34:27 -04:00
calzoneman b3cb87aab6 Add a little note about emoticon filters 2013-05-15 10:44:15 -04:00
calzoneman 91e3049e61 I could swear I fixed announcements before 2013-05-14 22:32:59 -04:00
calzoneman 25a2c053e9 Fix login page to load user theme 2013-05-14 18:07:55 -04:00
calzoneman ad54cffee1 Make it clear that custom css/js are URLs 2013-05-14 17:50:05 -04:00
calzoneman c1c3e4c47f Add ustream support 2013-05-14 17:22:47 -04:00
calzoneman e45489b77c Fix polls not autoscrolling chat 2013-05-14 13:15:58 -04:00
calzoneman ce99233596 Reduce amount of data sent in media updates 2013-05-14 11:35:11 -04:00
calzoneman 69550c7a51 Fix errors when video is hidden 2013-05-14 11:19:03 -04:00
calzoneman d0b3f9014a Make links unaffected by chat filters 2013-05-13 19:54:52 -04:00
calzoneman 4fe8ab164d Fix leader function 2013-05-13 19:44:51 -04:00
calzoneman 22b10e3ffa Implement #123 2013-05-13 18:05:01 -04:00
calzoneman 59fa9aa029 Fix video height inconsistency on fluid layout 2013-05-13 16:15:12 -04:00
calzoneman 4620fb2d56 Add unregistration for channel admins 2013-05-13 15:41:29 -04:00
calzoneman 27cfbcb61a Fix #121 2013-05-13 15:06:09 -04:00
calzoneman 46fa93c35d Update help.html 2013-05-13 11:51:34 -04:00
calzoneman 12c2ef8669 Fix race condition for fluid layout 2013-05-12 22:13:28 -04:00
calzoneman b98a785740 More modal fixes 2013-05-12 22:11:32 -04:00
calzoneman a6fff1c849 Fixes 2013-05-12 21:37:03 -04:00
calzoneman c7e63391f6 Add fluid layout option 2013-05-12 21:15:05 -04:00
calzoneman b00e63b622 Fix #119 2013-05-12 20:46:28 -04:00
calzoneman ebe48798fe Implement user profiles
Existing installations will have to apply the following SQL:
```sql
ALTER TABLE `registrations` ADD `profile_image` VARCHAR( 255 ) NOT NULL ,
ADD `profile_text` TEXT NOT NULL
```
2013-05-12 20:41:02 -04:00
calzoneman c6446d6f84 Begin working on profiles 2013-05-12 16:15:39 -04:00
calzoneman d9ed665540 Show page title in channel list 2013-05-12 11:46:19 -04:00
calzoneman 3af35cb268 Add links to playlist entries and the index page 2013-05-12 11:41:14 -04:00
calzoneman 161c8517b2 Change icons for next and temp, update help.html 2013-05-11 18:15:48 -04:00
calzoneman 369517945b Implement #106 2013-05-11 15:21:14 -04:00
calzoneman 2622aaac41 Implement #107 2013-05-11 15:12:51 -04:00
calzoneman aba806018c Add Total row to channellist 2013-05-11 14:53:33 -04:00
calzoneman 0f2c17b828 Fix #105 2013-05-10 18:06:58 -04:00
calzoneman dd67179fd4 Variable sync accuracy 2013-05-10 16:31:04 -04:00
calzoneman bafce39107 Show timestamps on continued messages 2013-05-09 21:12:01 -04:00
calzoneman ab2118da48 Implement #101 2013-05-09 17:59:02 -04:00
calzoneman 6168523a1c Refactor callbacks 2013-05-09 12:05:39 -04:00
calzoneman d102ca8815 Fix #95, Fix #96 2013-05-06 11:24:55 -05:00
calzoneman 703ac3ce4f Add temporary videos 2013-05-04 17:54:28 -05:00
calzoneman 62e80cec63 Add password change (#88) 2013-05-04 13:01:04 -05:00
calzoneman 27c1f78dbd Add banlist to acp 2013-05-04 12:30:38 -05:00
calzoneman 622788f7e7 Implement #91 2013-05-04 11:53:07 -05:00
calzoneman e524fca989 Add logviewer to ACP 2013-05-03 15:53:10 -05:00
calzoneman e62a02673c Fix #82 2013-05-02 22:02:25 -05:00
calzoneman cecb5db6c7 Fix #81 2013-05-02 21:56:31 -05:00
calzoneman 1d90ea48d2 Implement #78 (as an option) 2013-05-02 10:25:39 -05:00
calzoneman dbf41e3499 Fix old style URL redirect 2013-05-01 18:17:19 -05:00
calzoneman b36fd3518e Fix index.html 2013-05-01 17:57:59 -05:00
calzoneman 288da92e6f Remove login from index.html since it's unnecessary 2013-05-01 17:54:55 -05:00
calzoneman 41de5c5d7a Add homepage channel list 2013-05-01 17:49:34 -05:00
calzoneman 5b7eed3541 Sort usernames in connection log 2013-05-01 17:24:07 -05:00
calzoneman d8894f0280 Add timestamps (optional) to chat messages 2013-05-01 16:03:03 -05:00
calzoneman 3600a3114a Transition channel page away from index.html 2013-05-01 13:39:01 -05:00
calzoneman 7a2f3efcff Fix #74 2013-05-01 13:03:03 -05:00
calzoneman ab3dd208c3 Alert on wrong credentials (#76) 2013-05-01 13:02:06 -05:00
calzoneman 6a3e248ea5 Add donation link to footer 2013-04-30 17:09:30 -05:00
calzoneman f76b509430 Pressing enter on media URL queues next 2013-04-30 11:15:03 -05:00
calzoneman b0cc87e193 Add site footer 2013-04-30 11:13:06 -05:00
calzoneman 130d22a754 Add multiple chat filter editor 2013-04-30 11:09:32 -05:00
calzoneman 9bc712c003 Mask user IPs for nonadmins 2013-04-29 20:01:46 -05:00
calzoneman d43f39caa1 Better channel bans 2013-04-29 18:59:51 -05:00
calzoneman 4b0e920dc6 Begin improving filters 2013-04-29 12:29:31 -05:00
calzoneman 9350ef6d75 Change some permissions to channel admins (#67) 2013-04-29 11:26:01 -05:00
calzoneman 184fbcd971 Fix #66 2013-04-29 11:08:06 -05:00
calzoneman 794f26af22 Fix invalid sessions causing a half-logged in state 2013-04-28 20:51:56 -05:00
calzoneman bdfd7ad3dc Less hackish fix for boolean cookies 2013-04-28 17:36:06 -05:00
calzoneman 1cc005b55b Fix option cookies 2013-04-28 17:26:45 -05:00
calzoneman 7f7ae16138 Add JWPlayer support 2013-04-28 17:06:58 -05:00
calzoneman 4bdbac3dbd Fix synchtube layout, add placeholder text, fix alignment issue 2013-04-28 13:48:22 -05:00
calzoneman 406988aef1 Allow chaining for /m 2013-04-28 13:04:15 -05:00
calzoneman 8d6b228f8f Add user options menu 2013-04-28 12:57:08 -05:00
calzoneman 89f7e26450 Minor fixes 2013-04-28 12:14:52 -05:00
calzoneman fb702934f1 Fix the regex matching invalid channel names 2013-04-27 20:54:23 -05:00
calzoneman 7c9d9c7ab1 Work on another layout option, fix footer 2013-04-27 18:49:39 -05:00
calzoneman 9e884ac116 Fix slight layout glitch, work on dark theme 2013-04-27 15:55:08 -05:00
calzoneman d168c8fff7 Add guest login, tweak button visibility 2013-04-27 12:55:17 -05:00
calzoneman 654ce1e886 Fix channelwidget.html 2013-04-27 11:54:35 -05:00
calzoneman 52d9663eb7 Moderators can remove videos from the library 2013-04-27 11:48:36 -05:00
calzoneman a15cda4b6d last one I promise 2013-04-26 12:56:25 -05:00
calzoneman 838792c59b This better fix this 2013-04-26 12:55:01 -05:00
calzoneman b9c280ae39 Double fix channellist.html because I didn't read 2013-04-26 12:53:06 -05:00
calzoneman d1b06413ee Fix channellist page to use session login 2013-04-26 12:47:26 -05:00
calzoneman 6eaa97ccb8 Hide embedded player while login modal is active 2013-04-26 12:28:02 -05:00
calzoneman 84fb4214d7 Fix cross-domain issues 2013-04-25 23:57:46 -05:00
calzoneman 087f612b37 Bugfixes for last commit
- Fix race condition for login frame
- Fix guest logins
2013-04-25 23:04:51 -05:00
calzoneman 3a7acd0526 Implement new session system
I replaced the old login system with a more secure one.
Instead of storing cookies containing the username and plaintext password, the password
is submitted once to obtain a session hash, which is valid for a given length of time.
Registering and logging in is now done via an iframe, which prevents custom javascript from having access to the password field.
Site admins need to run the following SQL before updating, or else all of your logins/registrations will fail:

ALTER TABLE `registrations` ADD `session_hash` VARCHAR( 64 ) NOT NULL ,
ADD `expire` BIGINT NOT NULL
2013-04-25 22:50:12 -05:00
calzoneman db2e5e20b9 Add small copyright notice to bottom of index.html 2013-04-25 20:01:34 -05:00