Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
schedules-legacy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
schedules-legacy
Commits
fc0d3743
Commit
fc0d3743
authored
Dec 24, 2016
by
Mark Stenglein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update headers on files to make them more descriptive
parent
90141ab1
Pipeline
#687
failed with stage
in 42 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
22 deletions
+49
-22
app.js
app.js
+7
-5
routes/api/v1.js
routes/api/v1.js
+10
-5
routes/docs.js
routes/docs.js
+12
-6
routes/index.js
routes/index.js
+11
-6
test/standard_test.js
test/standard_test.js
+9
-0
No files found.
app.js
View file @
fc0d3743
// Mason SRCT: Schedules Application Main File
// - This is the main file for the schedules app, which loads in all of the
// configuration and routing files. Essentially, any other file eventually
// leads here.
// - Take care with this file, it can hurt if you mess it up.
/*
* Mason SRCT: Schedules Application Main File
* - This is the main file for the schedules app, which loads in all of the
* configuration and routing files. Essentially, any other file eventually
* leads here.
* - Take care with this file, it can hurt if you mess it up.
*/
// Load in the different packages
require
(
'
app-module-path
'
).
addPath
(
__dirname
)
...
...
routes/api/v1.js
View file @
fc0d3743
// ////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules API v1
// - This API supports the Schedules project at schedules.gmu.edu as the backend
// data source for the application sent on the front end.
// ////////////////////////////////////////////////////////////////////////////
/*
* Schedules by Student Run Computing and Technology
*
* routes/api/v1.js
*
* This API supports the Schedules project at schedules.gmu.edu as the backend
* data source for the application as well as any other third party apps.
*
* iCal Generation is handled on a separate file.
*/
var
express
=
require
(
'
express
'
)
var
router
=
express
.
Router
()
...
...
routes/docs.js
View file @
fc0d3743
// //////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Documentation Routes
// - This routing file is for the documentation behind the scheduels app
// - Most of these should really just be basic render functions without anything
// more complex that that.
// //////////////////////////////////////////////////////////////////////////////
/*
* Schedules by Student Run Computing and Technology
*
* routes/docs.js
*
* This routing file is for the documentation behind the application.
*
* Most of these should be basic renders of static templates that don't change.
*
* TODO: Look into just having these served by nginx on it's own?
*/
var
express
=
require
(
'
express
'
)
var
router
=
express
.
Router
()
var
config
=
require
(
'
config
'
)
...
...
routes/index.js
View file @
fc0d3743
// //////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Main App Routes
// - This routing file describes the main front-end's routing.
// - This serves the root page as well as parses preset url's generated by the
// application
// //////////////////////////////////////////////////////////////////////////////
/*
* Schedules by Student Run Computing and Technology
*
* routes/index.js
*
* This routing file describes the main front end's routing.
*
* Serves as the root page as well as parsing the preset url's generated by the
* application.
*/
var
express
=
require
(
'
express
'
)
var
router
=
express
.
Router
()
var
config
=
require
(
'
config
'
)
...
...
test/standard_test.js
View file @
fc0d3743
/*
* Schedules by Student Run Computing and Technology
*
* tests/standard_test.js
*
* This file describes the linting test to make sure that the project stays
* nice looking.
*/
/* global it describe */
describe
(
'
standardjs linting
'
,
function
()
{
this
.
timeout
(
20000
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment