Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Bump lodash from 4.17.15 to 4.17.21 in /lambda #24

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b2df480
updated cache module
studioph Nov 21, 2019
c5aa76d
Initial linter file to check directories for JS files to lint
ChristopherBilg Nov 21, 2019
ceb39db
Formatted hello-world/ using jshint
ChristopherBilg Nov 21, 2019
7828d95
Formatted lambda/node_modules/banner/ using jshint
ChristopherBilg Nov 21, 2019
93cdce1
Formatted lambda/node_modules/models/ using jshint
ChristopherBilg Nov 21, 2019
388bc95
Formatted lambda/test/ using jshint
ChristopherBilg Nov 21, 2019
e0271fb
Formatted s3/clientScripts/ using jshint
ChristopherBilg Nov 21, 2019
8271c6e
Made the linter bash script more modular
ChristopherBilg Nov 21, 2019
19bc85b
Updated the gitignore to include locally installed node modules
ChristopherBilg Nov 22, 2019
5f842ef
Fixed bug where empty columns collapsed.
coizioc Nov 22, 2019
4e24bff
Merge pull request #17 from 3296f19temple/front-end
ChristopherBilg Nov 22, 2019
0d51f44
Merge branch 'master' into code-formatting
ChristopherBilg Nov 22, 2019
91a8dd5
refactored banner module and tests
studioph Nov 27, 2019
8ce8379
updated gitignore
studioph Nov 27, 2019
670b4cb
reorganized tests
studioph Nov 27, 2019
4235709
updated modules to use strict mode
studioph Nov 27, 2019
6c9859b
added campus filtering in DB query
studioph Nov 27, 2019
1b439f8
updated upload script
studioph Nov 27, 2019
e807905
fixed error in db query
studioph Nov 27, 2019
e07cd3e
fixed undeclared variables error
studioph Nov 27, 2019
a080ac6
added lambdas for database update
studioph Nov 27, 2019
bfd5909
generated cache modules for update lambdas
studioph Nov 27, 2019
e80ff3c
drafted delegation lambda
studioph Nov 27, 2019
da9e36a
modified cache
studioph Nov 27, 2019
1177024
refactored test suite
studioph Nov 28, 2019
12f3871
added upload scripts for update lambdas
studioph Nov 28, 2019
dff84d4
Fixed bug that would allow undefined argument to constructor
studioph Nov 28, 2019
c13e1f6
Merge pull request #19 from 3296f19temple/db_update
studioph Nov 28, 2019
472e4dd
added open section ccondition to database query
studioph Nov 28, 2019
b7349d4
Merge pull request #18 from 3296f19temple/cleanup
ChristopherBilg Nov 30, 2019
8b51009
Merge branch 'master' into code-formatting
ChristopherBilg Nov 30, 2019
cec1879
Added filtering by day
davissamuel Dec 1, 2019
1f6c3ca
Activated first schedule by default
davissamuel Dec 1, 2019
19b4b0d
Merge pull request #20 from 3296f19temple/code-formatting
voiceofpaul Dec 1, 2019
e0355e7
Merge branch 'master' of https://github.com/3296f19temple/schedulemak…
davissamuel Dec 1, 2019
5d36d78
Added filter by time
davissamuel Dec 1, 2019
e684d14
Filtering by day and time work together
davissamuel Dec 2, 2019
d94b2a1
Put filter related javascript in a seperate file
davissamuel Dec 2, 2019
0ff45a2
Minor spacing changes
davissamuel Dec 2, 2019
07a77ed
Merge pull request #21 from 3296f19temple/filter_options
voiceofpaul Dec 2, 2019
605c9d8
Added getClasses().
coizioc Dec 2, 2019
67aafd8
Allowed users to search by course title as well as name.
coizioc Dec 2, 2019
6a41363
Added classes.json
coizioc Dec 2, 2019
83e08a9
Allowed users to search by course title as well as by course name.
coizioc Dec 2, 2019
732f3dd
Merge branch 'master' of https://github.com/3296f19temple/schedulemak…
coizioc Dec 2, 2019
c68edb6
Merge pull request #22 from 3296f19temple/front-end
voiceofpaul Dec 2, 2019
2f8faa1
Added support for multiple campuses in query and POST request.
coizioc Dec 4, 2019
372bd75
Merge pull request #23 from 3296f19temple/front-end
ChristopherBilg Dec 6, 2019
6327888
Update README.md
studioph Dec 15, 2019
3a93ae3
Bump lodash from 4.17.15 to 4.17.21 in /lambda
dependabot[bot] Mar 17, 2022
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ lambda/node_modules/.bin
hello-world/out.json
test.js
test.json
package-lock.json
node_modules/
scratch.js
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ScheduleMaker ReadME
[Click here for the link to the app (v1)](http://schedule-maker.s3-website.us-east-2.amazonaws.com/)
# This repo will be archived and view-only. Future development will take place in the new dedicated repos for each functionality.

[Click here for the Updated Project Proposal](https://github.com/3296f19temple/schedulemaker/blob/master/Proposal.md)

## Project Documentation Overview
Expand Down
31 changes: 18 additions & 13 deletions hello-world/cache.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
/*jshint esversion: 8 */

/**
* @module Cache
* Controls the state of global objects representing connections to AWS services that can be reused throughout invokations.
* @module Cache
* Controls the state of global objects representing connections to AWS services that can be reused throughout invokations.
* If the variable does not exist in the namespace, it is instantiated and then reused upon subsequent executions in the same container.
*/
module.exports = (params={S3:{endpoint: 'http://localhost:4572', s3ForcePathStyle: true, credentials: {accessKeyId: 'foo', secretAccessKey: 'bar'}},
DocumentClient:{endpoint: 'http://localhost:4569'}, region: 'us-east-1'}) => {
var PARAMS = {S3: {endpoint: 'http://localhost:4572', s3ForcePathStyle: true, credentials: {accessKeyId: 'foo', secretAccessKey: 'bar'}},
DocumentClient: {endpoint: 'http://localhost:4569'}, region: 'us-east-1'};

module.exports = (params = PARAMS) => {
var aws = null;
if (!aws){
var aws = require('aws-sdk');
aws = require('aws-sdk');
}

var documentclient = null;
if (!documentclient){
var documentclient = new aws.DynamoDB.DocumentClient(params.DocumentClient);
documentclient = new aws.DynamoDB.DocumentClient(params.DocumentClient);
}

var s3 = null;
if (!s3){
var s3 = new aws.S3(params.S3);
}

return {
S3: s3,
DocumentClient: documentclient
s3 = new aws.S3(params.S3);
}

}
return {
S3: s3,
DocumentClient: documentclient
};
};
5 changes: 3 additions & 2 deletions hello-world/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*jshint esversion: 8 */

/**
* Load the caching module if it doesn't exist in the namespace
*/
Expand Down Expand Up @@ -55,5 +57,4 @@ exports.handler = async function(event, context){
return error;
}

}

};
2 changes: 1 addition & 1 deletion lambda/node_modules/aws-sdk

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 73 additions & 30 deletions lambda/node_modules/banner/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 17 additions & 11 deletions lambda/node_modules/conversions/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions lambda/node_modules/scheduler/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions lambda/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions lambda/scheduler/cache.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
'use strict';

/**
* @module Cache
* Controls the state of global objects representing connections to AWS services that can be reused throughout invokations.
* If the variable does not exist in the namespace, it is instantiated and then reused upon subsequent executions in the same container.
*/
module.exports = function(){

if (!aws){
var aws = require('aws-sdk');
}

if (!documentclient){
var aws = require('aws-sdk');
var documentclient = new aws.DynamoDB.DocumentClient();
}

Expand Down
Loading