Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Frame-Options Header Not Set On Stackle App #191

Open
wants to merge 332 commits into
base: swagger-integration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
134cd8f
Merge pull request #48 from SidDevelop/patch-2
tharindupr Feb 14, 2018
1c6cd48
Merge pull request #49 from iammosespaulr/master
tharindupr Feb 14, 2018
11b2ce5
Merge pull request #53 from Kalyan3578/patch-1
tharindupr Feb 14, 2018
6bde226
Merge pull request #55 from kmehant/master
tharindupr Feb 14, 2018
3c18961
Merge pull request #61 from Kalyan3578/patch-2
tharindupr Feb 14, 2018
fc8d4c5
remove env from git
varunzxzx Feb 14, 2018
74e284b
seperating app and server
varunzxzx Feb 14, 2018
ec91da6
improve code quality
varunzxzx Feb 14, 2018
9179fdf
Merge pull request #73 from varunzxzx/remove-env
tharindupr Feb 15, 2018
8f0ba9e
error handling
varunzxzx Feb 15, 2018
26b58b8
Remove unused variables from server.js and properly indent and format…
bhavyaagg Feb 16, 2018
f884626
Update PR to improve Codacy Report
bhavyaagg Feb 16, 2018
84a2a83
Change var to const in server.js and www.js
bhavyaagg Feb 16, 2018
9bf3acb
Update routes.js to use const/let instead of var
bhavyaagg Feb 16, 2018
6c65787
Fix typos in issue_template
bhavyaagg Feb 16, 2018
b66a5d3
Add status codes to the response
bhavyaagg Feb 16, 2018
f81ec63
Update routes.js to send a response for every request
bhavyaagg Feb 16, 2018
5b9efad
Update PR to improve Codacy Report
bhavyaagg Feb 16, 2018
a1711e8
Update PR to improve Codacy Report-2
bhavyaagg Feb 16, 2018
80b8ff9
Update PR to improve Codacy Report
bhavyaagg Feb 16, 2018
94152e3
Update PR to improve Codacy Report
bhavyaagg Feb 16, 2018
2fefd58
Update PR to improve Codacy Report-2
bhavyaagg Feb 16, 2018
95309e8
Update PR to use 4 indents only
bhavyaagg Feb 17, 2018
f559b63
fixed session issue
nandunbandara Feb 17, 2018
badb040
create post related component creation and few changes in the auth se…
psnmissaka Feb 18, 2018
5660817
isAuthenticated function implementation moved before the call
nandunbandara Feb 18, 2018
168b68b
Merge pull request #72 from ntbandara3/master
psnmissaka Feb 18, 2018
561d9b8
Merge pull request #68 from iammosespaulr/patch-6
agentmilindu Feb 18, 2018
9bdcafd
Merge pull request #81 from bhavyaagg/fix-typo-issue-template
agentmilindu Feb 18, 2018
0026516
Merge pull request #77 from bhavyaagg/remove-unused-variables
psnmissaka Feb 18, 2018
e8b8f25
Merge branch 'master' into use-const-not-var
bhavyaagg Feb 19, 2018
27bbc26
Merge branch 'master' of https://github.com/scorelab/Stackle into upd…
bhavyaagg Feb 19, 2018
7009d01
Fix indentation issues
bhavyaagg Feb 19, 2018
94b3ff8
Merge pull request #1 from scorelab/master
nandunbandara Feb 19, 2018
f989f66
Update code for Codacy
bhavyaagg Feb 19, 2018
3fbefe9
Merge pull request #82 from bhavyaagg/reponse-codes
agentmilindu Feb 19, 2018
4f02cb7
Merge branch 'master' into use-const-not-var
bhavyaagg Feb 19, 2018
31bafd7
Merge branch 'master' into update-routes
bhavyaagg Feb 19, 2018
3323ac9
Provide error code in production
varunzxzx Feb 20, 2018
3c5be94
use node instead of nodemon in production
varunzxzx Feb 20, 2018
b4ca155
Merge pull request #79 from bhavyaagg/use-const-not-var
psnmissaka Feb 20, 2018
106eefb
Merge branch 'master' of https://github.com/scorelab/Stackle into upd…
bhavyaagg Feb 21, 2018
eaf6764
Merge branch 'update-routes' of https://github.com/bhavyaagg/Stackle …
bhavyaagg Feb 21, 2018
1a49dc2
Use const in Post model,
bhavyaagg Feb 21, 2018
2a651ed
Use const in Stack model,
bhavyaagg Feb 21, 2018
9b5187a
Use const in User model,
bhavyaagg Feb 21, 2018
ead3dac
Merge branch 'master' into model-user
bhavyaagg Feb 21, 2018
e04df3f
fixed error handling
varunzxzx Feb 21, 2018
393c245
Modularized the response configuration
AndrewJR350 Feb 22, 2018
51e8a33
fix codacy issue
varunzxzx Feb 22, 2018
7f8f20b
fixes with related to the previous commit
AndrewJR350 Feb 22, 2018
725caad
fixes with related to code quality
AndrewJR350 Feb 22, 2018
791595b
removed semicolon
AndrewJR350 Feb 22, 2018
15958d3
changed Schema name
AndrewJR350 Feb 22, 2018
3ee8084
switch back to subscribed_stacks
AndrewJR350 Feb 22, 2018
b4224d0
use gulp instead of grunt
nihalmpatel Feb 27, 2018
42e272d
Tested the All API End Points
AndrewJR350 Feb 27, 2018
681032f
removed .header LR padding.
nihalmpatel Feb 27, 2018
7fb0bd4
wrote input validation some API Call + included success status in ret…
AndrewJR350 Mar 2, 2018
f127f0e
input validation, added success status for all the API Endpoints
AndrewJR350 Mar 4, 2018
dd5b183
bug fix in comment on a post
AndrewJR350 Mar 4, 2018
1f57de4
solving minor issues in css, code refactoring in index
Mar 4, 2018
c4a7b2d
adding badges to readme
Mar 4, 2018
19ba78a
npm package badge
Mar 4, 2018
2bbf1a2
update readme
Mar 4, 2018
0353b61
Merge pull request #64 from iammosespaulr/patch-2
psnmissaka Mar 7, 2018
7ab263a
Merge pull request #66 from iammosespaulr/patch-4
psnmissaka Mar 7, 2018
de071d3
Merge pull request #75 from varunzxzx/fix-route
psnmissaka Mar 7, 2018
e62a16b
Merge pull request #103 from nihalmpatel/hotfix/navbar-update
psnmissaka Mar 7, 2018
f6ccdf1
Merge pull request #90 from varunzxzx/update-script
psnmissaka Mar 7, 2018
58a9834
Merge pull request #101 from nihalmpatel/hotfix/readme-update
psnmissaka Mar 7, 2018
c73da09
Merge pull request #104 from lakindu95/master
psnmissaka Mar 7, 2018
86839df
Merge branch 'master' into master
psnmissaka Mar 7, 2018
abd8c33
Merge pull request #63 from AdhyanDhull/master
psnmissaka Mar 7, 2018
edcea93
Revert "Minor changes"
psnmissaka Mar 7, 2018
687cfbe
Merge pull request #105 from scorelab/revert-104-master
psnmissaka Mar 7, 2018
57b10c8
Update app.js
psnmissaka Mar 7, 2018
228ecfd
Merge pull request #59 from shlokj/patch-1
psnmissaka Mar 8, 2018
2894367
Merge pull request #93 from bhavyaagg/model-user
psnmissaka Mar 8, 2018
63f54d4
Merge pull request #92 from bhavyaagg/model-stack
psnmissaka Mar 8, 2018
98007ee
Merge pull request #91 from bhavyaagg/model-post
psnmissaka Mar 8, 2018
359c2d5
fixed merged conflicts
AndrewJR350 Mar 8, 2018
07dd4d8
FIX WARNING FOR MONGOOSE CONNECTION
shivamarora96 Mar 9, 2018
a361216
Merge branch 'master' into update-routes
bhavyaagg Mar 10, 2018
40a767f
solving typo in center-box.css and update readme
Mar 11, 2018
f74e3cd
updating index.html
Mar 11, 2018
e254a90
Merge pull request #107 from shivamarora96/master
psnmissaka Mar 11, 2018
efa2715
Merge pull request #111 from lakindu95/master
psnmissaka Mar 11, 2018
6155e8c
Merge pull request #87 from ntbandara3/fix-session-mgt
psnmissaka Mar 11, 2018
df5a95e
Merge pull request #84 from bhavyaagg/update-routes
psnmissaka Mar 11, 2018
88eeb14
Added the Stackle logo in the README
psnmissaka Mar 11, 2018
9cc3a93
improved database connection logging
nihalmpatel Mar 12, 2018
8c4a362
Added mongoose validation.
nihalmpatel Mar 12, 2018
7bb74b2
Fixed merge conflicts and fixed the breaking changes in the front end
AndrewJR350 Mar 12, 2018
add1684
Merge pull request #94 from AndrewJR350/andrewjr350
psnmissaka Mar 12, 2018
e301380
Merge pull request #112 from nihalmpatel/master
psnmissaka Mar 14, 2018
8a19896
updating port to 8080
nihalmpatel Mar 14, 2018
8a756be
adding architecture
Mar 18, 2018
549be82
adding architecture local
Mar 18, 2018
136feda
adding tooltip, fixing corejs bug
Mar 18, 2018
3e1a237
added cors module
octalpixel Mar 18, 2018
65826ed
Commented Validation Lib Headers
octalpixel Mar 18, 2018
b1aa1fd
Merge pull request #117 from lakindu95/master
psnmissaka Mar 19, 2018
f38fc61
Merge pull request #119 from octalpixel/mj-edits
psnmissaka Mar 19, 2018
505513a
Merge pull request #114 from nihalmpatel/hotfix/apiendpoint-update
psnmissaka Mar 19, 2018
b5226e4
improving basic bugs
shivamarora96 Apr 28, 2018
4309e14
Package update in Stackle-API
psnmissaka May 2, 2018
eda9863
Removing unused library auth0-angular. Updated dotenv, express-jwt
psnmissaka May 2, 2018
f3745aa
Profile detail UI created
nandunbandara May 10, 2018
5bf50d2
Create Post UI created
nandunbandara May 11, 2018
9158f8d
Create post UI change: Added material components
nandunbandara May 11, 2018
0f4b1b8
Profile UI changes
nandunbandara May 12, 2018
c94b9b0
Common Feed and Post UI changes
nandunbandara May 13, 2018
c27645a
Merge branch 'angular2' into angular2
nandunbandara May 13, 2018
b881ba0
Structuring Routes #106
shivamarora96 May 16, 2018
84e411e
Merge pull request #1 from scorelab/master
shivamarora96 May 16, 2018
2f82151
Merge pull request #125 from shivamarora96/master
tharindupr May 18, 2018
eb359ee
conficts resolved
nandunbandara May 18, 2018
2b1e87a
Fixed merge conflict in travis.yml
nandunbandara May 18, 2018
913de6f
Fixed merge conflicts in server.js
nandunbandara May 18, 2018
87df6e8
Fixed merge conflict in routes.js
nandunbandara May 19, 2018
fe74608
Merge pull request #2 from scorelab/master
shivamarora96 May 19, 2018
95f8f0d
Structuring of Routes
shivamarora96 May 19, 2018
2085318
Merged branch master into master
shivamarora96 May 19, 2018
35f8412
Merge pull request #127 from shivamarora96/master
tharindupr May 21, 2018
3e6f1c0
Added UI elements to profile
nandunbandara May 23, 2018
5afc070
Sidebar style changes
nandunbandara May 23, 2018
87edcd6
Navigation and Side Bar changes
nandunbandara May 23, 2018
ef704ac
Set height in the description field
nandunbandara May 23, 2018
b0236ca
Removed double quotes
nandunbandara May 23, 2018
220e890
Post and Comments Structured
shivamarora96 May 25, 2018
5bda21f
Merge pull request #3 from scorelab/master
shivamarora96 May 25, 2018
b253966
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara May 31, 2018
de4db1f
Removed duplicate dependency imports
nandunbandara May 31, 2018
e765089
Fixed styling in top navigation bar
nandunbandara Jun 1, 2018
b124e37
Merge pull request #128 from shivamarora96/master
tharindupr Jun 3, 2018
6d209b9
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jun 3, 2018
dd8e04b
Merge pull request #4 from scorelab/master
shivamarora96 Jun 4, 2018
8e4ca4e
Stack and User Almost ready
shivamarora96 Jun 4, 2018
acc9616
User and Stack Routes Structured
shivamarora96 Jun 8, 2018
46dbf62
Get all subscribed stacks by user service implemented
nandunbandara Jun 12, 2018
bd86502
Changes made / User and Stack Structured
shivamarora96 Jun 14, 2018
3cef76b
Changed API endpoint URL
nandunbandara Jun 14, 2018
2709c67
Create Post implementations
nandunbandara Jun 14, 2018
8d683ac
Create Post issues fixed
nandunbandara Jun 14, 2018
c61aa89
Vote up and Vote down functions implemented
nandunbandara Jun 14, 2018
c252344
WIP: Post UI changes and vote function integrated
nandunbandara Jun 14, 2018
f23267c
Text wrap in description
nandunbandara Jun 14, 2018
e6b7df7
Commenting on posts implemented
nandunbandara Jun 15, 2018
aa9f4d6
Merge pull request #129 from shivamarora96/master
psnmissaka Jun 23, 2018
f510ddd
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jun 23, 2018
fe21655
Token Based OAuth 2.0 Github Added
shivamarora96 Jun 24, 2018
006b00f
NPM Packages Updated
shivamarora96 Jun 24, 2018
559bde0
Implemented profile information retreiving from github
nandunbandara Jun 27, 2018
6e628df
Fixed issue in profile
nandunbandara Jun 28, 2018
80319ce
Fixed issue in profile - _body in Response error
nandunbandara Jun 29, 2018
7c7083e
Merge branch 'angular2' of https://github.com/ntbandara3/Stackle into…
nandunbandara Jun 29, 2018
fc73bf1
Implemented snackbar messages for create post function
nandunbandara Jun 29, 2018
be8981a
Added required fields marks in the create post form
nandunbandara Jun 29, 2018
a975ec2
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jun 29, 2018
3076731
Fixed conflicts
nandunbandara Jun 29, 2018
1f7c026
Merge branch 'angular2' of https://github.com/ntbandara3/Stackle into…
nandunbandara Jun 30, 2018
937f3d5
Added progress bar when loading the profile info
nandunbandara Jun 30, 2018
fc75e68
Fixed issue in showSnackBar function
nandunbandara Jun 30, 2018
403e997
Merge branch 'angular2-profile' of https://github.com/ntbandara3/Stac…
nandunbandara Jun 30, 2018
5c3d057
Fixed issue in creating a post
nandunbandara Jun 30, 2018
19429cf
Removed console logs
nandunbandara Jun 30, 2018
1e739a3
Fixed issue in post detailed view
nandunbandara Jun 30, 2018
eedc279
Implemented voting on post and comments
nandunbandara Jun 30, 2018
42fd680
Comment UI enhancements
nandunbandara Jun 30, 2018
8ca277b
Fixed issue in comment voting function
nandunbandara Jul 1, 2018
fb6a77c
User Likes Array Added
shivamarora96 Jul 2, 2018
ffdfcb6
User Likes Array improved
shivamarora96 Jul 2, 2018
cc794eb
Replies Endpoints created
shivamarora96 Jul 3, 2018
fb5550c
Implemented creating a stack
nandunbandara Jul 3, 2018
47fbc96
Merge pull request #130 from ntbandara3/angular2
psnmissaka Jul 4, 2018
e77e2b5
PassportJS file Well Formated
shivamarora96 Jul 4, 2018
b0b10ae
Merge branch 'master' into master
shivamarora96 Jul 4, 2018
a6c5e57
Merged branch master into master
shivamarora96 Jul 4, 2018
a6c8cf7
AuthJS well formated
shivamarora96 Jul 4, 2018
c038f5c
Merge pull request #132 from shivamarora96/master
psnmissaka Jul 5, 2018
c628b06
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jul 5, 2018
2667089
Pulling changes from master to express branch (#5)
shivamarora96 Jul 6, 2018
9551c1d
Likes Array Of User in post and comment Improved
shivamarora96 Jul 6, 2018
3df6d21
Revert "Pulling changes from master to express branch (#5)"
shivamarora96 Jul 6, 2018
853259f
User Schema changes
shivamarora96 Jul 6, 2018
067e504
Merge branch 'master' into Express
shivamarora96 Jul 6, 2018
c08a474
Merge branch 'master' into Replies
shivamarora96 Jul 6, 2018
f83aebe
Merge pull request #134 from shivamarora96/Express
psnmissaka Jul 6, 2018
8099689
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jul 7, 2018
deb4965
View stacks and search pipe
nandunbandara Jul 7, 2018
3c3005e
Single stack view init
nandunbandara Jul 7, 2018
1e690ee
Merge branch 'master' into Replies
shivamarora96 Jul 8, 2018
d1e0a6a
Replies Apis Improved
shivamarora96 Jul 8, 2018
61f7640
Merge pull request #135 from shivamarora96/Replies
tharindupr Jul 9, 2018
34a36d5
PostLikes Array Added in Userschema .Comments and Replies Enpoints added
shivamarora96 Jul 15, 2018
c85455b
Merge branches 'angular2-stacks' and 'master' of https://github.com/n…
nandunbandara Jul 17, 2018
bdd0b25
Implemented the stack subscribe function
nandunbandara Jul 17, 2018
455bbb9
Adding post schema testcases
shivamarora96 Jul 23, 2018
919781a
Test cases for comment and post schema added
shivamarora96 Jul 24, 2018
48fb2d3
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Jul 25, 2018
c7947e1
Stack subscribe changes
nandunbandara Jul 25, 2018
e20a5f7
Comment and Stack Related TestCases Added
shivamarora96 Jul 25, 2018
eb124fa
TestCases fro POST, COMMENT and STACK added
shivamarora96 Jul 26, 2018
3219cda
Comment text validation implemented
nandunbandara Jul 28, 2018
e0248f8
Like API endpoint changes updated
nandunbandara Jul 28, 2018
7a0ec46
User subscription implemented
nandunbandara Jul 28, 2018
4bc917a
User TestCases Added
shivamarora96 Jul 30, 2018
1449df6
User TestCases Added
shivamarora96 Jul 30, 2018
c148aae
All the basic TestCases Added
shivamarora96 Jul 30, 2018
23a84d8
Merge pull request #138 from shivamarora96/test
tharindupr Aug 3, 2018
d1e0bd2
Merge branch 'master' into master
shivamarora96 Aug 3, 2018
589a351
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Aug 5, 2018
f7149a0
Merge pull request #136 from shivamarora96/master
psnmissaka Aug 8, 2018
6b7ddb0
User profile details from Auth0 login
nandunbandara Aug 9, 2018
0272833
user profile changes
nandunbandara Aug 9, 2018
5ef74a6
Merge pull request #1 from scorelab/master
shivamarora96 Aug 9, 2018
bfefa15
Beautifying Code
shivamarora96 Aug 9, 2018
c012a1c
Stack changes
nandunbandara Aug 10, 2018
f64d40a
Merge branch 'master' of https://github.com/scorelab/Stackle into ang…
nandunbandara Aug 12, 2018
a57edb1
Authentication integrated with callback in the frontend
nandunbandara Aug 13, 2018
e842cd9
User avatar and user setting on creating a post
nandunbandara Aug 13, 2018
dd9ab87
Fixed issue with loading stacks. Endpoint changed.
nandunbandara Aug 13, 2018
e70ce59
Implementation to load github app access in the same window.
nandunbandara Aug 13, 2018
6fc599f
Fixed issue in profile
nandunbandara Aug 13, 2018
d630138
Subscribed orgs in create post view
nandunbandara Aug 13, 2018
9fa4da1
View posts by org implemented
nandunbandara Aug 14, 2018
82ec86d
Navigate to subscribed stack implemented
nandunbandara Aug 14, 2018
7f51f0b
Post view formatting
nandunbandara Aug 14, 2018
b6023c0
Navigation to post fixed in org view
nandunbandara Aug 14, 2018
e8ee81c
Fixed issue in profile retrieval
nandunbandara Aug 14, 2018
f8977f4
Merge pull request #139 from shivamarora96/master
psnmissaka Aug 18, 2018
def2265
Fixed issues in code
nandunbandara Aug 21, 2018
95a70a2
ui fixes
Aug 25, 2018
03f9c57
profile avatar
Aug 25, 2018
fc33c23
Merge pull request #140 from ntbandara3/angular2-stacks
psnmissaka Sep 13, 2018
015eb34
fixed conflicts
Sep 15, 2018
0d80976
Merge pull request #144 from VibhorCodecianGupta/ui
psnmissaka Sep 19, 2018
cb38450
Removes old front-end app directory written with AngularJS
psnmissaka Sep 30, 2018
43a4c95
Updates setup instructions
psnmissaka Sep 30, 2018
3e17d36
Adds a temporary pull request template
psnmissaka Sep 30, 2018
c413f67
Merge pull request #145 from scorelab/dev
psnmissaka Sep 30, 2018
56bf43a
Update README.md
digitaldina Nov 28, 2018
b69b3ab
Add mongoDB installation instructions for linux
digitaldina Nov 28, 2018
deb1aef
Add terminal commands to mentioned distros
digitaldina Nov 28, 2018
43531a7
fix #153, fix #154
kartikpandey2 Dec 29, 2018
5d94a7e
Merge pull request #155 from kartikpandey2/master
shivamarora96 Jan 6, 2019
3205228
Merge pull request #152 from dinaelhanan/master
psnmissaka Feb 8, 2019
95be979
Added restart capability to database
kmehant Jun 25, 2019
d119391
Merge pull request #166 from kmehant/patch-1
psnmissaka Oct 31, 2019
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
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Fixes #XXXX
## Changes proposed in the pull request
*
## Impact
## Other information

Check if you have done the following before creating the PR
- [ ] console logs have been deleted
- [ ] No commented code (If commented the reasons are given)
10 changes: 10 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Before you describe your issue, idea or feature, please consider using this issue template.

## Type of issue:
- [ ] Bug / Error
- [ ] Idea / Feature
- [ ] Improvement detail

## Short description on the issue

## Possible fix
155 changes: 154 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,154 @@
stackle_app/package-lock.json
# Created by https://www.gitignore.io/api/java,node,linux,windows,angular

### Angular ###
## Angular ##
# compiled output
/dist
/tmp
/app/**/*.js
/app/**/*.js.map

# dependencies
/node_modules
/bower_components

# IDEs and editors
/.idea

# misc
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

#System Files
.DS_Store

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### Node ###
# Logs
logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env


### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/java,node,linux,windows,angular
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
language: node_js
script : stackle_api/server.js

node_js:
- "node"
install:
- cd stackle_api
- npm install
script : node server.js &
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
8 changes: 8 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Contributors
==============

Stackle is still new and it's a result of following people who contributed to it in many ways from concept to coding
* Charitha Madusanka [charithccmc](https://github.com/charithccmc)
* Tharindu Ranathunga [tharindupr](https://github.com/tharindupr)
* Milindu Sanoj Kumarage [agentMilindu](https://github.com/agentmilindu)
* Pasan Missaka [psnmissaka](https://github.com/psnmissaka)
41 changes: 41 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Prerequisites

Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**

- [ ] I am running the latest version
- [ ] I checked the documentation and found no answer
- [ ] I checked to make sure that this issue has not already been filed
- [ ] I'm reporting the issue to the correct repository (for multi-repository projects)

# Expected Behavior

Please describe the behavior you are expecting

# Current Behavior

What is the current behavior?

# Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

## Steps to Reproduce

Please provide detailed steps for reproducing the issue.

1. step 1
2. step 2
3. you get it...

## Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

* Firmware Version:
* Operating System:
* SDK version:
* Toolchain version:

## Failure Logs

Please include any relevant log snippets or files here.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {2017} {Sustainable Computing Research Lab}
Copyright {2018} {Sustainable Computing Research Lab}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
68 changes: 59 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
![Stackle](https://gdurl.com/66Sl)

[![Join the chat at https://gitter.im/scorelab/scorelab](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scorelab/scorelab?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/scorelab/stackle/master/LICENSE) [![Travis Build](https://api.travis-ci.org/scorelab/Stackle.svg?branch=master)](https://travis-ci.org/scorelab/Stackle)


# Introduction
Stackle is an web communication portal aimed at providing Open Source organizations a platform to have discussions on their GitHub projects and their issues. It provides GitHub integration which allows administrator of an organization to create a forum thread for the particular organization. Users signing in is able to view forums of the organizations they contribute to and engage in the forum discussions.
Stackle is a web communication portal aimed at providing Open Source organizations a platform to have discussions on their GitHub projects and their issues. It provides GitHub integration which allows the administrator of an organization to create a forum thread for the particular organization. Users signing in are able to view forums of the organizations they contribute to and engage in the forum discussions.

# Implementation Details
MEAN stack is used for developing Stackle.
- Front-End is developed using AngularJS
- Front-End is developed using Angular
- Back-end is handled by NodeJS using Express
- MongoDB is used as the databases for storing data related to stackle

# Architecture
Users interact with the application through the AngularJS front-end which communicates with Node-API to get and post data to the MongoDB server. The front-end also communicates with GitHub API to get data related to Users, repositories and organizations. Users can login to the application through auth0 login integrated to Stackle.
Users interact with the application through the Angular front-end which communicates with Node-API to get and post data to the MongoDB server. The front-end also communicates with GitHub API to get data related to Users, repositories and organizations. Users can login to the application through auth0 login integrated to Stackle.

![Architecture](./stackle_app/app/images/architecture.jpg)
***

# Setting Up the Project
Expand All @@ -29,20 +35,64 @@ These are the instructions on how to setup the project locally.

For more information refer the [MongoDB manual](https://docs.mongodb.com/manual/administration/install-community/) on installing MongoDB Community edtion.

### On Mac

1. Download the binary files for the desired release of MongoDB.
Download the binaries from the [MongoDB Download Center](www.mongodb.com/download-center).
2. Extract the files from the downloaded archive.
For example, from a system shell, you can extract through the tar command:
```tar -zxvf mongodb-osx-ssl-x86_64-3.6.3.tgz```
3. Copy the extracted archive to the target directory.
Copy the extracted folder to the location from which MongoDB will run.
```mkdir -p mongodb```
```cp -R -n mongodb-osx-ssl-x86_64-3.6.3/ mongodb```
4. Ensure the location of the binaries is in the PATH variable.
The MongoDB binaries are in the bin/ directory of the archive. To ensure that the binaries are in your PATH, you can modify your PATH.
For example, you can add the following line to your shell’s rc file (e.g. ~/.bashrc):
```export PATH=<mongodb-install-directory>/bin:$PATH```
Replace <mongodb-install-directory> with the path to the extracted MongoDB archive.

## On Linux
For Ubuntu,SUSE, and Debian systems, you can install mongoDB Community Edition using .deb packages. The process varies from distro to distro, so I suggest you visit the link below, select your distribution.

Ubuntu terminal command:
`sudo apt-get update
sudo apt-get install -y mongodb-org`
Debian terminal command:
`sudo apt-get update
sudo apt-get install -y mongodb-org`
SUSE terminal command:
`sudo zypper -n install mongodb-org`

https://docs.mongodb.com/manual/administration/install-on-linux/

## Stackle API
1. `cd` in to the **stackle_api** directory.
2. Run `npm install` to install the packages required.
3. once all the packages are installed run `npm start`
3. Once all the packages are installed run `npm start`

## Stackle App
1. `cd`in to the **stackle_app** directory
2. run `npm install` to install the packages required.
3. Once all the packages are installed, run `gulp serve`
Make sure you have the [angular-cli](https://cli.angular.io/) installed.
1. `cd` in to the **stackle-app** directory
2. Run `npm install` to install the packages required.
3. Once all the packages are installed, run `npm start` or `ng serve -o`

## Running Tests (Protractor)
1. Run `npm install -g protractor` to install protractor globally.
2. To get started with a Selenium Server, run
```
webdriver-manager update
webdriver-manager start
```
3. `cd` in to **root** directory and run `./ui-tests.sh`
4. To add more tests, edit **stackle_tests.js** located in **stackle_app**

# Running with Docker
1. Change the url in the database config file in stackle_api/config/database.js as `url : 'mongodb://mongo:27017/stackle'`
2. In the root of the Stackle directory, run `docker-compose build`
- If you are on Linux machine, execute the following steps to install compose.
```
sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```
3. Once build completes, run `docker-compose up`


Loading