Skip to content

Commit

Permalink
Merge branch 'dev' at 1.6.0-alpha.
Browse files Browse the repository at this point in the history
Features:
  New logo and favicon.
  New default album art.
  Song plays, skips, and votes are logged in db for future statistics.

Fixes:
  Fix crash that occurs on successful skipvote while no song is playing.

Upgrades:
  Updated sequelize to 2.0.3.
  • Loading branch information
dag10 committed Mar 9, 2015
2 parents f41ad19 + 08c8477 commit 8608299
Show file tree
Hide file tree
Showing 60 changed files with 7,096 additions and 1,363 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ the database.

Installing Plugins
--
To install music sources such as YouTube, follow the instructions on the
[Installing Music Sources](https://github.com/dag10/DJ/wiki/Installing-Music-Sources)
To install music sources such as Soundcloud, follow the instructions on the
[Installing Music Source Plugins](https://github.com/dag10/DJ/wiki/Installing-Music-Source-Plugins)
section of the wiki.

Updating
Expand Down
38 changes: 32 additions & 6 deletions config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,35 @@ module.exports = {
},

auth: {
// Method of authentication (only available mode is 'dev').
method: 'dev'
// Method of authentication (options are 'dev' or 'ldap').
method: 'dev',

// Settings relating to the LDAP method of authentication.
ldap: {
// If true, create full name by joining first and last.
strictFullName: true,

// URL of LDAP server, with protocol and optionally a port.
// No trailing slash.
baseURL: 'ldap://ldap.csh.rit.edu',

// Base dn for user searches.
dnBase: 'ou=Users,dc=csh,dc=rit,dc=edu',

// DN format for auth. Put %username% where the username will be.
dnFormat: 'uid=%username%,ou=Users,dc=csh,dc=rit,dc=edu',

// Filter for searching for the user. Put %username% as a placeholder.
filter: '(&(objectclass=houseMember)(uid=%username%))',

// Attributes for fetching name info from a found user entry.
// Required: firstName, lastName, fullName.
attributes: {
firstName: 'givenName',
lastName: 'sn',
fullName: 'cn'
}
}
},

db: {
Expand All @@ -72,20 +99,19 @@ module.exports = {
song_sources: {
// List of song source packages installed in the node_modules directory.
external_modules: [
//'cshdj-youtube'
//'cshdj-soundcloud'
],

// Optional configuration objects for a song source.
configurations: {
//'cshdj-youtube': { }
//'cshdj-soundcloud': { }
},

// The order of song sources to display in search results, and the
// maximum number of results to show per source.
// Again, youtube is just a placeholder for future sources.
results_format: {
upload: 6
//'cshdj-youtube': 4
//'cshdj-soundcloud': 4
}
}

Expand Down
Binary file added images/csh_dj_favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 0 additions & 77 deletions images/csh_dj_large.svg

This file was deleted.

Loading

0 comments on commit 8608299

Please sign in to comment.