-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from codeRIT/develop
master <- develop (2.2)
- Loading branch information
Showing
107 changed files
with
1,204 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "bundler" | ||
directory: "/" | ||
target-branch: "develop" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: "build(deps): " | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/website" | ||
target-branch: "develop" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: "build(deps): " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ on: | |
branches: | ||
- master | ||
- develop | ||
- '[0-9].[0-9]' | ||
- '[0-9].[0-9].[0-9]' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
WAIT=10 | ||
ATTEMPTS=300 | ||
ATTEMPTS=100 | ||
|
||
/users/sign_in Sign in to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
function eventCalendar() { | ||
return $('#calendar').fullCalendar({ | ||
defaultView: 'listYear', | ||
buttonText: { | ||
today: 'Today' | ||
}, | ||
eventRender: function (event, element, view) { | ||
element.find('.fc-event-dot').css('display', 'none'); | ||
if(event.description) { | ||
element.find('.fc-list-item-title').append('<div></div><span style="font-size: 12px">' + event.description + '</span>'); | ||
} | ||
if (event.location) { | ||
element.find('.fc-list-item-title').append('<div></div><span style="font-size: 12px"><b>Location: </b>' + event.location + '</span>'); | ||
} | ||
if (event.category) { | ||
element.find('.fc-list-item-title').append('<div></div><span style="font-size: 12px"><b>Category: </b>' + event.category + '</span>'); | ||
} | ||
}, | ||
events: { | ||
url: '/manage/events.json', | ||
success: function (response) { | ||
// due to "end" being a keyword in ruby and what fullcalender uses it is stored as finish and than it is | ||
// converted to "end" when sending it to fullcalendar | ||
response = JSON.parse(JSON.stringify(response).split('"finish":').join('"end":')); | ||
return response; | ||
} | ||
}, | ||
eventClick: function (info) { | ||
window.location = 'events/' + info.id; | ||
}, | ||
height: 'auto', | ||
}); | ||
} | ||
|
||
function clearCalendar() { | ||
$('#calendar').fullCalendar('delete'); | ||
$('#calendar').html(''); | ||
} | ||
|
||
document.addEventListener('turbolinks:load', function () { | ||
eventCalendar(); | ||
}); | ||
document.addEventListener('turbolinks:before-cache', clearCalendar); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
document.addEventListener('turbolinks:load', function () { | ||
$('.map-button').click(function (){ | ||
var map = $('#map'); | ||
if(map.is(':visible')){ | ||
map.hide(); | ||
$(this).html('Show Map'); | ||
} | ||
else{ | ||
map.show(); | ||
$(this).html('Hide Map'); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.