Commit Graph

68 Commits

Author SHA1 Message Date
Alf Hammerseth
e54a27b6d9 Add cleanup of var and scoping with even more cleanup 2019-11-17 00:01:53 +01:00
Alf Hammerseth
33e6220e43 add comment cleanup and add globals 2019-11-16 21:13:45 +01:00
Alf Hammerseth
54b745ec68 Add even more cleanup 2019-11-16 17:19:14 +01:00
Alf Hammerseth
120553eac4 Add linting and unused cleanup 2019-11-16 15:16:34 +01:00
Kasper Rynning-Tønnesen
6ed67ffee6 Prettified som more files and fixed some logging of missing files so they are more similar in fashion 2019-07-26 08:46:03 +02:00
Kasper Rynning-Tønnesen
07e44ec947 Started preliminary testing with local api-key. So far working.
- Need to fix response statuscodes
- Need to test when strict not enabled
- Need to test why sIO is not working
- Need to test with userpassword
- Need to add a secret way of storing allowed api-key
2019-01-18 17:35:33 +01:00
Kasper Rynning-Tønnesen
03ca6a9f77 Fix/total listeners disabled chat (#458)
* Testing some leavers

* Logging before and after namechange

* Testing callback even on chat disabled

* Fixed issue with channels with disabled chat not adding to total listeners

* Fixed potential issue with joining a channel with disabled chat broadcasts it
2019-01-15 19:04:08 +01:00
Kasper Rynning-Tønnesen
5086fb56e6 Update functions.js 2018-12-28 22:45:51 +01:00
Kasper Rynning-Tønnesen
695a4f3648 Reword skipping in channel, allowing the whole channel to be skipped each second 2018-09-29 10:36:44 +02:00
Kasper Rynning-Tønnesen
5ab5f0f079 Added function for timing out playlist adds when not logged in 2018-09-28 12:24:37 +02:00
Kasper Rynning-Tønnesen
2117f839ac Merge branch 'master' into feature/disable-chat 2018-09-27 12:08:20 +02:00
Kasper Rynning-Tønnesen
c136199269 Better hiding of passwords, hiding cookie-logins better 2018-09-26 22:33:33 +02:00
Kasper Rynning-Tønnesen
7ab5d4f399 Removed logging after finding issue with channels and leaves 2018-09-26 20:09:54 +02:00
Kasper Rynning-Tønnesen
f19992060e More data 2018-09-26 19:57:51 +02:00
Kasper Rynning-Tønnesen
8d3dd93436 Logging left-channel also 2018-09-26 19:56:28 +02:00
Kasper Rynning-Tønnesen
f08f63edfc Updated a small part for logging 2018-09-26 19:42:17 +02:00
Kasper Rynning-Tønnesen
3e3ef4d6d2 Better nice-fail if files are missing, and more correctly start non-clustered run 2018-09-25 12:26:55 +02:00
Kasper Rynning-Tønnesen
5593c5272a Fix for functions not existing in functions file 2018-09-23 19:57:14 +02:00
Kasper Rynning-Tønnesen
0a205ed714 Sending GUID/session based on connection if no cookie exists for socket.io 2018-09-22 18:25:18 +02:00
Kasper Rynning-Tønnesen
9f1e7ca347 Not logging debug-messages for forcing chat-name 2018-09-22 17:25:03 +02:00
Kasper Rynning-Tønnesen
e17d3a5bf3 Fixed issue with names on leave remaining for some reason and trying fix for users without name 2018-09-21 15:52:52 +02:00
Kasper Rynning-Tønnesen
0f8f175aa0 Feature of /who and seeing the people in the channel 2018-09-20 16:31:14 +02:00
Kasper Rynning-Tønnesen
7466ef7f61 Moved left_channel function to functions file, and sending icon for leaving/joining channel also 2018-09-20 15:31:37 +02:00
Kasper Rynning-Tønnesen
d6cd183db3 Added fix for total_viewers count error 2018-09-04 12:45:16 +02:00
Kasper Rynning-Tønnesen
47e45c5b19 Improved how naming works on join
- XXXX changed name to YYYY doesn't happen if the user already is signed in
- Signs automatically in on frontpage join
2018-09-01 13:04:40 +02:00
Kasper Rynning-Tønnesen
327e69076c Correctly remove name from users online on leave 2018-08-30 14:54:46 +02:00
Kasper Rynning-Tønnesen
85de9944a5 Adding a failsafe for rndName and how seeding works on crash 2018-08-29 13:49:34 +02:00
Kasper Rynning-Tønnesen
b66f70415c More persistent chat-names, and server handling of chat-names instead of client sending empty namechange request on join 2018-08-28 14:33:01 +02:00
Kasper Rynning-Tønnesen
b135c1390c More clever way of detecting if a name should be removed when user leaves 2018-08-28 13:18:22 +02:00
Kasper Rynning-Tønnesen
7f22ff2b1d Moved SoundCloud api-key out to different config file and fixed some list-naming issues that was caused with filter.clean was performed after list-name was encoded. Closes #362 2018-08-01 16:53:26 +02:00
Kasper Rynning-Tønnesen
15112141e0 Added another fallback for id's being empty when chromecasting 2018-06-05 12:49:51 +02:00
Kasper Rynning-Tønnesen
25aca3eed3 Cleaning up logs, now working chromecast on private channel 2018-06-05 11:55:22 +02:00
Kasper Rynning-Tønnesen
031af8fe84 Created a forever loop 2018-06-05 11:07:49 +02:00
Kasper Rynning-Tønnesen
b55607ec1d Sending more values to get chromecast to think it is the mobile phone 2018-06-05 11:02:03 +02:00
Kasper Rynning-Tønnesen
afde001e8e Trying the flowthrough 2018-06-05 10:52:45 +02:00
Kasper Rynning-Tønnesen
b1c7d26605 Typo.. 2018-06-05 10:38:09 +02:00
Kasper Rynning-Tønnesen
bddb623787 Trying a failsafe on the cookie_id 2018-06-05 10:37:12 +02:00
Kasper Rynning-Tønnesen
bc16ce4398 Uncommented a feature 2018-06-05 10:24:09 +02:00
Kasper Rynning-Tønnesen
dde19f2225 Forgot length of element 2018-06-04 23:55:52 +02:00
Kasper Rynning-Tønnesen
200ec58773 Logging more testing to see if data is set correctly 2018-06-04 23:54:16 +02:00
Kasper Rynning-Tønnesen
2b6aee218f Sending list with also 2018-06-04 23:48:40 +02:00
Kasper Rynning-Tønnesen
82d8c0c300 Forgot to export function 2018-06-04 23:46:42 +02:00
Kasper Rynning-Tønnesen
89add8c90e Trying way of emulating cookies for chromecast 2018-06-04 23:45:25 +02:00
Kasper Rynning-Tønnesen
82ac25c5d2 Multi-word channel-names and API-fixes
- Spaces and signs allowed in channel-name
- Added missing functioncalls in RESTApi
2018-05-31 14:45:21 +02:00
Kasper Rynning-Tønnesen
b971074788 Prettier JSON and less globally exposed variables 2018-05-30 14:19:10 +02:00
Kasper Rynning-Tønnesen
9b1e91783e Soundcloud-player + soundcloud-search added 2018-05-03 14:27:54 +02:00
Kasper Rynning-Tønnesen
3f4662d90e Update in refreshing viewers in playlist 2018-04-27 13:25:37 +02:00
Kasper Rynning-Tønnesen
6bac97c15f Fixed issue with localmode 2018-04-06 17:50:25 +02:00
Kasper Rynning-Tønnesen
c245ec80ff Removed some dependencies 2018-04-06 13:16:10 +02:00
Kasper Rynning-Tønnesen
859062204c Added functionality to add songs from another channel 2018-03-21 15:01:14 +01:00