8000 Allow custom events URL via GITHUB_EVENTS_URL. by erikzaadi · Pull Request #26 · debugger22/github-audio · GitHub
[go: up one dir, main page]

Skip to content
Open
Changes from 1 commit
Commits
8000
Show all changes
100 commits
Select commit Hold shift + click to select a range
f25712b
Writing null to client
debugger22 Sep 30, 2016
e95e5c8
Add shebang
debugger22 Sep 30, 2016
ce2a922
Correct shebang
debugger22 Sep 30, 2016
ee81ef6
Use nodejs in shebang
debugger22 Sep 30, 2016
33acf4c
Add logger and fix architecture
debugger22 Sep 30, 2016
33fcc98
Fix URL issue
debugger22 Sep 30, 2016
f8103d2
Use window.location.href for hostname
debugger22 Sep 30, 2016
498a43b
Fix socket URL
debugger22 Sep 30, 2016
756b6e3
Fix url
debugger22 Sep 30, 2016
2f5dafe
Fix unsafe script issue
debugger22 Sep 30, 2016
987ab82
Fix url issue
debugger22 Sep 30, 2016
9160a17
Add sounds/static-files and soem tweaks
debugger22 Sep 30, 2016
3c1ee95
Change default port back to 8000
debugger22 Sep 30, 2016
3f054ad
Fix favicon path
debugger22 Sep 30, 2016
6866448
Beautify data and save connected users in redis
debugger22 Sep 30, 2016
f657906
Add helmet to the app
debugger22 Sep 30, 2016
9a1dbb2
Use helmet for properly applying security headers
debugger22 Sep 30, 2016
bc96573
Explicitly disable x-powered-by header
debugger22 Sep 30, 2016
290ba5a
Start working on client"
debugger22 Sep 30, 2016
3e5e222
Font size fixes
debugger22 Sep 30, 2016
610442c
Add odometer for connected users' animation
debugger22 Sep 30, 2016
6e52faa
Start playing sounds
debugger22 Oct 1, 2016
387112e
Circle drawing stating to work
debugger22 Oct 1, 2016
cba3eca
Add colorsnode server --port=8000 💄
debugger22 Oct 1, 2016
8cd078f
Add google-analytics
debugger22 Oct 1, 2016
6037c2e
More cleanup and bug fixes
debugger22 Oct 1, 2016
7be7e1b
Add social buttons and some cleanup 💄
debugger22 Oct 1, 2016
21b15aa
Tweak params to improve music
debugger22 Oct 1, 2016
3577ac6
Remove debug port no
debugger22 Oct 1, 2016
5fb28d4
No active listeners
debugger22 Oct 1, 2016
6fe61c1
set buffer: true in Howl to fix issues on Android and iOS
debugger22 Oct 1, 2016
c24ebe9
Add mute/unmute feature
debugger22 Oct 1, 2016
bdb0834
Enable active users
debugger22 Oct 1, 2016
f1b6f77
Add ProTip
debugger22 Oct 1, 2016
8b9923e
Add tags in the tweet data
debugger22 Oct 1, 2016
72f2720
Reduce default volume
debugger22 Oct 1, 2016
40d1a43
Change mute icons and speed up music a little
debugger22 Oct 2, 2016
98713cd
Fix a typo in README
debugger22 Oct 2, 2016
7f3fa20
Use minified d3 and socket
debugger22 Oct 2, 2016
4e0fb59
No need to initialize connected_users with 0
debugger22 Oct 2, 2016
fa60c7d
Disable horizontal scrolling and some UI fixes for mobile. Increase q…
debugger22 Oct 2, 2016
7e5ef62
Don't make social buttons fixed
debugger22 Oct 2, 2016
3ab7239
Make area fit to screen
andrewda Oct 2, 2016
71322c0
Merge pull request #4 from andrewda/screen-size
debugger22 Oct 2, 2016
577b402
Some improvements to graphics
debugger22 Oct 2, 2016
d1ca1d9
Remove overflo-y:scroll
debugger22 Oct 3, 2016
f502894
Add media links to README
debugger22 Oct 3, 2016
eb771c2
Remove text shadow
debugger22 Oct 3, 2016
77680c6
Oops! Put the shadows back
debugger22 Oct 3, 2016
9528621
Remove html of decayed events
debugger22 Oct 3, 2016
2fa2e88
Disable setting area height using CSS
debugger22 Oct 3, 2016
a3d107f
Give credit to listen-to-wikipedia in README
debugger22 Oct 4, 2016
8d5b6b9
Add voume control closes #2
debugger22 Oct 4, 2016
2191f04
Fix formatting in README
debugger22 Oct 4, 2016
1975558
Add slaported to README
debugger22 Oct 4, 2016
14de07d
Fix volume slider touch on mobile devices
debugger22 Oct 4, 2016
2a8deed
Update README.md
chaudharyprakash Oct 4, 2016
07fa551
Add About section
debugger22 Oct 4, 2016
2270c3f
Hide events remaining text by default
debugger22 Oct 4, 2016
3321235
Hide visibility text by default
debugger22 Oct 4, 2016
e1170da
Merge pull request #12 from chaudharyprakash/patch-1
debugger22 Oct 4, 2016
a5d203d
Use CloudFront for sounds
debugger22 Oct 4, 2016
196f837
Merge branch 'master' of https://github.com/debugger22/github-audio
debugger22 Oct 4, 2016
203a79f
Fix issue with safari
debugger22 Oct 4, 2016
06e6421
Fix syntax error on Old Safari. Thanks to @Cardoso222
debugger22 Oct 4, 2016
b36c285
Add function to ignore events
mcornella Oct 5, 2016
ed47067
Add easter egg to only play closed PRs
mcornella Oct 5, 2016
b7d9d60
Remove mute button contents
debugger22 Oct 5, 2016
53c8f33
Try to fix sound issue on iPhone
debugger22 Oct 5, 2016
f24b881
Revert sound hack for iPhone. Didn't work! :/
debugger22 Oct 5, 2016
b7e7aa7
Merge pull request #18 from mcornella/patch-1
debugger22 Oct 5, 2016
79b2d91
Remove mute leftovers
debugger22 Oct 5, 2016
143c1c2
Merge branch 'master' of https://github.com/debugger22/github-audio
debugger22 Oct 5, 2016
aaa0961
Initiate ULTIMATE_DREAM_KILLER to avoid errors
debugger22 Oct 5, 2016
aa87aaf
Filter events before playing instead of before queuing
mcornella Oct 5, 2016
d31b9c8
Merge pull request #19 from mcornella/patch-1
debugger22 Oct 5, 2016
e4d1dce
Increase the queue size to 1000; new users won't miss events
debugger22 Oct 5, 2016
31ec3b0
Merge branch 'master' of https://github.com/debugger22/github-audio
debugger22 Oct 5, 2016
d4c8907
Hide easter egg in plain sight :smiling_imp:
mcornella Oct 5, 2016
723b5c5
Merge pull request #20 from mcornella/patch-1
debugger22 Oct 5, 2016
ad1b98e
Add a missing T in ULTIMATE_DREAM_KILLER
debugger22 Oct 5, 2016
1548d8a
Add twitter follow button
debugger22 Oct 5, 2016
6f9e54e
Merge branch 'master' of https://github.com/debugger22/github-audio
debugger22 Oct 5, 2016
e0b6990
optimiz 10BC0 e png images using zopflipng
PeterDaveHello Oct 6, 2016
b6c99cb
Merge pull request #23 from PeterDaveHello/image-optimize
debugger22 Oct 6, 2016
a1b0a6c
use minified odometer.js on CDNJS to benefit from http/2
PeterDaveHello Oct 6, 2016
8a88284
Merge pull request #22 from PeterDaveHello/odometer.js-cdnjs
debugger22 Oct 6, 2016
a2a13f2
Get rid of ugly loading
debugger22 Oct 7, 2016
60609a2
Don't limit events except push events
debugger22 Oct 7, 2016
fff14e7
Remove an unused variable
debugger22 Oct 7, 2016
7e51f39
Add ref. to ULTIMATE_DREAM_KILLER
debugger22 Oct 7, 2016
ae5b203
Add a feature to filter out events of specified repos/orgs
debugger22 Oct 7, 2016
c4a763a
Always draw irrespective of screen visibility
debugger22 Oct 7, 2016
c1cfa27
Merge pull request #25 from debugger22/feat-filter-org/user
debugger22 Oct 7, 2016
b0c1b0e
Don't always draw but draw when filter is on irrespective of the scre…
debugger22 Oct 7, 2016
684dd31
Fix syntax error
debugger22 Oct 7, 2016
1486338
Allow custom events URL via GITHUB_EVENTS_URL.
erikzaadi Oct 8, 2016
52865a2
Don't fail miserably when disconnected from Github API
erikzaadi Oct 9, 2016
3210cb4
Add gravatar support
erikzaadi Oct 9, 2016
9540ae8
Revert port as per 75451ca
erikzaadi Oct 10, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Explicitly disable x-powered-by header
  • Loading branch information
debugger22 committed Sep 30, 2016
commit bc96573d8fa78c407dea7ad94c2a95d539f39719
9 changes: 6 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ if(isDev)
else
logger.appStarted(port);

// Apply security middlewares
app.use(helmet());

// Remove x-powered-by header
app.disable('x-powered-by');

// server static files
app.use('/static', express.static('app'));

Expand All @@ -40,9 +46,6 @@ app.get('/', function (req, res) {
res.sendFile(path.resolve('app/index.html'));
});

// Apply security middlewares
app.use(helmet());

// Set number of connected users to 0
redis_client.set('connected_users', 0);

Expand Down
0