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

Add user tests for UserManager.py #867

Closed
wants to merge 331 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
2db2841
Merge branch 'develop' into refactor-apis-delcaration
vivonk Sep 15, 2018
d740ed2
Improve badges for the repository
sidhantnagpal Sep 22, 2018
d7db574
Standardize GitHub template files
sidhantnagpal Sep 22, 2018
41b4181
changing to uppercase
vivonk Sep 22, 2018
65377ed
Update token_utils.py
vivonk Sep 22, 2018
64c2b06
Update initializer.py
vivonk Sep 22, 2018
a5849e2
Update Download.py
vivonk Sep 22, 2018
bde2126
Update User.py
vivonk Sep 22, 2018
2569f91
Merge pull request #475 from vivonk/refactor-apis-delcaration
agentmilindu Sep 26, 2018
a55d19d
Add Download input field returns to untouched state when download is …
aakashbansal Sep 30, 2018
621fd77
Add files via upload
aakashbansal Sep 30, 2018
6e3b216
Delete ui-patch-1.gif
aakashbansal Sep 30, 2018
42df3c0
Merge pull request #485 from aakashbansal/ui-patch-1
vivonk Oct 1, 2018
405e554
Merge pull request #1 from scorelab/develop
aakashbansal Oct 1, 2018
281800d
Merge branch 'master' into patch-6
iammosespaulr Oct 2, 2018
753f40d
ui: username on navbar
Oct 2, 2018
3acaa93
readme update
Oct 2, 2018
0b53d45
Duplicate links removed when adding/deleting downloads
aakashbansal Oct 3, 2018
5322a68
Add Figlet & -h option
gaurav-diginix Oct 3, 2018
637d419
HTTP Status Code checked before locally deleting the download
aakashbansal Oct 3, 2018
7406b69
Merge branch 'develop' into 456-file-sharing-system
agentmilindu Oct 5, 2018
5dcfefd
Merge pull request #479 from vivonk/456-file-sharing-system
agentmilindu Oct 5, 2018
6736f3d
Fix -505 Add Cd Bassa Command
championpaddler Oct 6, 2018
865b7b2
Merge branch 'develop' into develop
agentmilindu Oct 6, 2018
8b69a86
Merge pull request #480 from sidhantnagpal/develop
agentmilindu Oct 6, 2018
b0a1b7b
ui buid passing
Oct 6, 2018
4fb8b4c
added package-lock
Oct 6, 2018
fb1eec1
Merge branch 'build' of https://github.com/VibhorCodecianGupta/Bassa …
agentmilindu Oct 6, 2018
6cce590
Add pylint to travis CI
Asutosh989 Feb 24, 2018
5df678f
Update .travis.yml
agentmilindu Jun 24, 2018
7dc2f61
Move testing into Dockers
agentmilindu Jun 24, 2018
70779fb
Improve Dockers
agentmilindu Jul 18, 2018
4e2cc36
Merge branch 'develop' into Fix-505
agentmilindu Oct 6, 2018
7aa33ac
Merge pull request #506 from sk9331657/Fix-505
agentmilindu Oct 6, 2018
296b272
Merge branch 'develop' into build
agentmilindu Oct 6, 2018
7ac2cf2
Add improvements to Docker based builds
agentmilindu Oct 6, 2018
3edd8e6
Merge branch 'develop' into docker-based-builds
agentmilindu Oct 7, 2018
d2d3e27
Merge branch 'develop' into master
agentmilindu Oct 7, 2018
b8925b3
Merge pull request #514 from scorelab/docker-based-builds
charithccmc Oct 7, 2018
f0fe454
Merge branch 'develop' into build
agentmilindu Oct 7, 2018
6e2e6d2
Merge pull request #512 from VibhorCodecianGupta/build
agentmilindu Oct 7, 2018
8a2c366
Merge branch 'develop' into CLI-Figlet-help-option
agentmilindu Oct 7, 2018
b357201
Merge branch 'develop' into duplicate-files-patch
agentmilindu Oct 7, 2018
a080776
Merge branch 'develop' into master
agentmilindu Oct 7, 2018
efc7bf4
Merge branch 'develop' into pylint
agentmilindu Oct 7, 2018
333c5a0
Merge branch 'develop' into patch-6
agentmilindu Oct 7, 2018
962a064
Merge pull request #439 from Asutosh989/pylint
agentmilindu Oct 7, 2018
2ca5dd5
Merge branch 'develop' into CLI-Figlet-help-option
gaurav-diginix Oct 8, 2018
551b6e3
Merge pull request #501 from hcktheheaven/CLI-Figlet-help-option
agentmilindu Oct 9, 2018
92bd6ce
Merge branch 'develop' into duplicate-files-patch
agentmilindu Oct 9, 2018
fcee31d
Merge branch 'develop' into master
agentmilindu Oct 9, 2018
80bb151
Merge pull request #493 from VibhorCodecianGupta/master
agentmilindu Oct 9, 2018
f76a6a5
Merge pull request #500 from aakashbansal/duplicate-files-patch
agentmilindu Oct 9, 2018
8ce6b58
Improve README.md (#507)
agentmilindu Oct 9, 2018
1842bc9
Reminder to get 'Go' from maintainers before a PR (#504)
agentmilindu Oct 9, 2018
14270c8
Update .travis.yml (#517)
agentmilindu Oct 10, 2018
4aaa960
Automate the DB initialization in dokcer-compose
gnomezgrave Oct 19, 2018
83df2d3
Update the SQL
gnomezgrave Oct 19, 2018
e6623a7
Updated the README.md to include the docker-compose up
gnomezgrave Oct 19, 2018
e845a25
Delete workspace.xml
gnomezgrave Oct 19, 2018
6b7570d
Reset the ports back.
gnomezgrave Oct 19, 2018
b0ba20d
Adding the script file.
gnomezgrave Oct 19, 2018
19a3530
Delete workspace.xml
gnomezgrave Oct 19, 2018
bba1929
Adding scripts to install AWS CLI
data1435 Oct 21, 2018
e586093
Replace the PW with root
gnomezgrave Oct 23, 2018
ddc620c
Working ECS cft not customized
data1435 Oct 25, 2018
8efa88f
Customizing cluster stack name
data1435 Oct 25, 2018
22ed37b
Adding ECS deploy script
data1435 Oct 25, 2018
0afbfad
README added for ECS deployment
data1435 Oct 25, 2018
e40f714
README updated
data1435 Oct 25, 2018
1fef03f
README updated for AWS deployment
data1435 Oct 25, 2018
450064b
Merge branch 'develop' into feature/aws
agentmilindu Oct 26, 2018
6fe907d
RDS CFT for Bassa DB deployment on AWS
data1435 Oct 26, 2018
cb3e5d8
Removing VPC from RDS
data1435 Oct 26, 2018
0963aa5
Revert "Removing VPC from RDS"
data1435 Oct 26, 2018
82258a6
RDS CFT is done
data1435 Oct 26, 2018
69ce711
Code cleaning
data1435 Oct 26, 2018
addaf59
Merge pull request #521 from scorelab/feature/Automate-DB-scripts-in-…
agentmilindu Oct 27, 2018
18cc758
Merge branch 'develop' into feature/aws
agentmilindu Oct 27, 2018
bdf1a54
Merge pull request #542 from dulajra/feature/aws
agentmilindu Oct 28, 2018
c4c739f
Merge branch 'develop' into feature/aws-rds
agentmilindu Oct 28, 2018
b3fd01c
Add .gitattributes file
ChaminW Oct 29, 2018
1408469
Merge pull request #559 from dulajra/feature/aws-rds
agentmilindu Oct 30, 2018
112b8f0
[#518] Add Kubernetes deployments scripts
agentmilindu Oct 30, 2018
d8abcf6
[#518] Making the Dockers and Kubernetes have same naming
agentmilindu Oct 30, 2018
92d299f
Add Ingress for routing requests to UI and API via a LB
agentmilindu Nov 1, 2018
4420327
Merge pull request #596 from scorelab/feature/#518-k8s-deployment-scr…
charithccmc Nov 1, 2018
081780f
Merge pull request #602 from scorelab/feature/#518-k8s-deployment-scr…
charithccmc Nov 1, 2018
6f29ac3
Added backers and sponsors on the README
monkeywithacupcake Nov 3, 2018
6ef72e1
server unit tests fixed
vibhorgupta-gh Nov 4, 2018
9a37c5e
empty fields
vibhorgupta-gh Dec 15, 2018
a793d26
removed css class
vibhorgupta-gh Dec 15, 2018
1c11af8
memory conservation
vibhorgupta-gh Dec 16, 2018
383e1f9
Positioned Buttons in AdminView
anuragparida Dec 21, 2018
936eca7
updating incorrect infos
vivonk Dec 22, 2018
5adde2a
Made the script Docker-compatible + Prevented version failures
angeryrohan Dec 22, 2018
257e8a4
[Changed IF condition]: Made the detection dynamic
angeryrohan Dec 27, 2018
c46b98b
Added shebang for Codacy Quality Test
angeryrohan Dec 27, 2018
f1bbf43
Merge branch 'develop' into master
agentmilindu Jan 7, 2019
a2ec9cf
Merge pull request #616 from VibhorCodecianGupta/master
agentmilindu Jan 7, 2019
318d78e
Merge branch 'develop' into mem
agentmilindu Jan 7, 2019
39ead95
Merge pull request #683 from VibhorCodecianGupta/mem
agentmilindu Jan 7, 2019
5ed1a51
Merge branch 'develop' into field
agentmilindu Jan 7, 2019
fa52ae6
Merge pull request #682 from VibhorCodecianGupta/field
agentmilindu Jan 7, 2019
dd28249
Merge branch 'develop' into patch-6
agentmilindu Jan 7, 2019
bb39fa9
Merge pull request #434 from iammosespaulr/patch-6
agentmilindu Jan 7, 2019
aa4e8af
Merge branch 'develop' into develop
agentmilindu Jan 7, 2019
72f8c55
Merge pull request #690 from rohancl/develop
agentmilindu Jan 7, 2019
608777c
Merge branch 'develop' into AdminView_ButtonPositioning
agentmilindu Jan 12, 2019
3604522
Merge pull request #687 from anuragparida/AdminView_ButtonPositioning
agentmilindu Jan 12, 2019
b2300da
Merge branch 'develop' into patch-2
agentmilindu Jan 27, 2019
41c91b5
Merge pull request #587 from ChaminW/patch-2
agentmilindu Jan 27, 2019
a802b8c
Merge branch 'develop' into opencollective
agentmilindu Jan 27, 2019
f5c7713
Merge pull request #615 from opencollective/opencollective
agentmilindu Jan 27, 2019
b2bc5f7
Update README.md
agentmilindu Jan 27, 2019
9e929cf
Update README.md
agentmilindu Jan 27, 2019
8d03a51
Merge branch 'master' into master
agentmilindu Jan 27, 2019
15ea682
Update package-list-aptget
agentmilindu Jan 27, 2019
4c5697a
Update package-list-pacman
agentmilindu Jan 27, 2019
d1b75fb
Merge branch 'master' of https://github.com/prabushitha/Bassa into pr…
agentmilindu Jan 27, 2019
41718ce
Merge branch 'prabushitha-master' into develop
agentmilindu Jan 27, 2019
8113ade
added scorelab name in license file
vivonk Feb 12, 2019
8eaf9e1
Merge branch 'develop' into license-file-changes
vivonk Mar 7, 2019
da9f058
Add console logging, Improve db config in README
xlight05 Mar 16, 2019
8db3861
Fix Signup bug
xlight05 Mar 20, 2019
3637742
Fix styling issues
xlight05 Mar 20, 2019
e26c4a8
Merge pull request #711 from xlight05/issue-signup-bug
vivonk Mar 21, 2019
ff31a78
Merge branch 'develop' into license-file-changes
vivonk Mar 21, 2019
6b9df6c
Merge pull request #705 from scorelab/license-file-changes
vivonk Mar 21, 2019
7d10d6c
Common setup shell script for linux distros and MacOS
kmehant Mar 24, 2019
99ccd5c
Merge branch 'develop' into issue-mysql-error
vivonk Mar 24, 2019
4e74549
Merge pull request #709 from xlight05/issue-mysql-error
vivonk Mar 24, 2019
47615f0
Common setup shell script for linux distros and MacOS
kmehant Mar 24, 2019
11d5ec3
Merge branch 'develop' of https://github.com/scorelab/Bassa into comm…
kmehant Mar 25, 2019
aeb38d3
Common setup shell script for linux distros and MacOS
kmehant Mar 25, 2019
f192c9a
Common setup shell script for linux distros and MacOS
kmehant Mar 25, 2019
8e73941
Updated dependecy installation in to seperate executable files
kmehant Mar 26, 2019
1292ff2
Attaching github link with Bassa logo on nav-bar.
demon-36 Mar 29, 2019
d4bd55a
Update README.md
avsingh999 Apr 1, 2019
bafe0d8
Merge pull request #715 from kmehant/common-setup-script
vivonk Apr 1, 2019
d8e0d97
Merge branch 'develop' into patch-2
vivonk Apr 1, 2019
7d22eab
Merge pull request #740 from avsingh999/patch-2
vivonk Apr 1, 2019
e9a9cb1
Merge branch 'develop' into patch-2
vivonk Apr 1, 2019
f1a3b5d
Merge pull request #737 from demon-36/patch-2
vivonk Apr 1, 2019
d938c58
Fixing create-schema.sh file
kmehant Apr 5, 2019
a44c7b1
Improved Travis CI builds for Bassa
kmehant Apr 7, 2019
8d2b7a3
setting up the base for React application using Create React App
singhrohan62 May 19, 2019
8a404c2
added Material-UI package in the React application
singhrohan62 May 19, 2019
2a793cc
modified manifest.json file, switched React icons to that of Bassa an…
singhrohan62 May 20, 2019
bd0699f
Updated and working version of development dockerfile for Bassa UI
kmehant May 21, 2019
89c910e
created static UI components for queued, completed lists and appbar
singhrohan62 May 25, 2019
c9b4262
Merge pull request #780 from singhrohan62/setup-react
agentmilindu May 26, 2019
8fb2018
made some tweaks in the Appbar component and removed useless index.js…
singhrohan62 May 26, 2019
dd2476c
Pulling Ubuntu bionic 18.04 in specific
kmehant May 27, 2019
f46e611
Added comments for better understanding
kmehant May 27, 2019
c17a9fd
Merge pull request #744 from kmehant/create-schema-file
agentmilindu May 29, 2019
5eb5e96
developed components: Dashboard, Completed and Queued
singhrohan62 May 31, 2019
4978881
removed useless imports in Dashboard
singhrohan62 May 31, 2019
a500e23
Defined endpoints for file compression feature
kmehant Jun 2, 2019
6221916
Fixed imports in sender.py and fetch aria2c server link from configur…
kmehant Jun 2, 2019
00cba3f
Updated docker-compose dev configuration for Bassa
kmehant Jun 2, 2019
02671f8
Common downloads folder for both Bassa API server and Aria2c RPC server
kmehant Jun 2, 2019
84be049
Containerize Aria2c RPC server using docker
kmehant Jun 4, 2019
727ae64
Changed config for Aria2c file
kmehant Jun 4, 2019
8fb08ef
remove unnecessary comments
kmehant Jun 4, 2019
d68f2b8
Shifted to alpine edge
kmehant Jun 4, 2019
c5d6641
Update build.js
demon-36 Jun 4, 2019
36d3668
Update admin.html
demon-36 Jun 4, 2019
50023da
Update table.html
demon-36 Jun 4, 2019
8f70021
Update dashboard.html
demon-36 Jun 4, 2019
845828b
Update DashCtrl.js
demon-36 Jun 4, 2019
48323d1
added tests for the implemented components
singhrohan62 Jun 9, 2019
3d06968
Update build.js
demon-36 Jun 12, 2019
bf2edac
Added production ready dockerfile for Bassa UI
kmehant Jun 12, 2019
73967ef
Updated using function arguments
kmehant Jun 16, 2019
08390d8
Dockerfile for Bassa API server with fixed linting
kmehant Jun 19, 2019
d6b9e74
Updated Dockerfile for Bassa API with linting
kmehant Jun 19, 2019
2cd5a3f
Modified setup script
kmehant Jun 19, 2019
1915835
Updating setup.sh
demon-36 Jun 20, 2019
34e21f5
Added fileminio.py
demon-36 Jun 20, 2019
5b66cfa
Update DownloadDaemon.py
demon-36 Jun 20, 2019
7a39499
Update AdminCtrl.js
demon-36 Jun 20, 2019
c6fff6e
Update AdminService.js
demon-36 Jun 20, 2019
fbb3f82
Update admin.html
demon-36 Jun 20, 2019
fa128ba
Merge pull request #788 from singhrohan62/setup-storybook-react
agentmilindu Jun 22, 2019
d7c0a73
Update AdminService.js
demon-36 Jun 22, 2019
4305bb8
Update DownloadDaemon.py
demon-36 Jun 22, 2019
d60807c
Update fileminio.py
demon-36 Jun 22, 2019
c0e91ff
created components Admin and Login with respective tests
singhrohan62 Jun 22, 2019
1e60117
fixed alignment of download and approve buttons in Completed and Admi…
singhrohan62 Jun 22, 2019
95b1933
Fixed comments
kmehant Jun 22, 2019
a10cd64
Update fileminio.py
demon-36 Jun 23, 2019
efde8f1
Update AdminService.js
demon-36 Jun 23, 2019
c3075b8
Merge pull request #807 from singhrohan62/setup-storybook-react
agentmilindu Jun 25, 2019
56b4c5e
added authentication and tested POST, GET requests in the React app
singhrohan62 Jun 28, 2019
072fe58
added env sample file and made changes according to Chathu's comment
singhrohan62 Jul 1, 2019
9ce7929
Written a UI dockerfile for development purpose
kmehant Jul 1, 2019
ecd41e3
Merge pull request #776 from kmehant/bassa-API-dockerfile
vivonk Jul 3, 2019
4bcd80e
Merge pull request #809 from singhrohan62/setup-storybook-react
agentmilindu Jul 4, 2019
f99fc5f
Updated language label for travis config
kmehant Jul 4, 2019
7728996
completed routing in the application and added GET requests for displ…
singhrohan62 Jul 4, 2019
c63602c
Merge pull request #812 from singhrohan62/setup-router-redux
agentmilindu Jul 6, 2019
60d7e79
Improvised dockerfile using node:alpine as base
kmehant Jul 18, 2019
f050a1a
completed adding of redux and handling asynchronous requests via redu…
singhrohan62 Jul 20, 2019
070a968
Fixes #820 and suggestions given by Milindu
singhrohan62 Jul 25, 2019
769f419
Integrate gunicorn WSGI with supervisord to Bassa API server
kmehant Jul 29, 2019
3af2695
Improve documentation for Bassa
kmehant Jul 29, 2019
696ffd2
Merge pull request #813 from kmehant/wsgi-gunicorn
vivonk Jul 29, 2019
42d4bc6
Merge pull request #792 from kmehant/fix-API-server
vivonk Jul 29, 2019
a3d613a
Update Download.py
demon-36 Jul 31, 2019
01cfa34
Update DownloadDaemon.py
demon-36 Jul 31, 2019
ce13597
Update DownloadManager.py
demon-36 Jul 31, 2019
79d4274
Update and rename fileminio.py to MinioHandler.py
demon-36 Jul 31, 2019
cc41117
Update Server.py
demon-36 Jul 31, 2019
d9ca92a
Update Bassa.sql
demon-36 Jul 31, 2019
fbc494f
Update AdminCtrl.js
demon-36 Jul 31, 2019
5afe11b
Update AdminService.js
demon-36 Jul 31, 2019
887231d
Update TableCtrl.js
demon-36 Jul 31, 2019
a0e882b
Update tableService.js
demon-36 Jul 31, 2019
bb30c81
Update admin.html
demon-36 Jul 31, 2019
f052aac
Update table.html
demon-36 Jul 31, 2019
4a4c335
Update setup.sh
demon-36 Jul 31, 2019
f7c4b37
Merge pull request #1 from demon-36/demon-36-minio-download-update
demon-36 Jul 31, 2019
668dd3c
Merge pull request #821 from kmehant/documentation-bassa
vivonk Aug 7, 2019
2c5724d
Merge pull request #782 from kmehant/bassaWeb-devDockerfile
vivonk Aug 7, 2019
9095e4b
Remove comment
kmehant Aug 8, 2019
30029c8
Merge pull request #797 from kmehant/prod-UI-dockerfile
vivonk Aug 11, 2019
871eb4d
Merge pull request #754 from kmehant/improved-travis-build
JaDogg Aug 12, 2019
e97bae9
Merge branch 'develop' into demon-36-minio_bassa
vivonk Aug 12, 2019
cbf3b62
Merge pull request #353 from padamchopra/database-python
vivonk Aug 12, 2019
b758966
Merge pull request #789 from kmehant/dockerfile-aria2c
vivonk Aug 12, 2019
f62da9a
Update MinioHandler.py
demon-36 Aug 13, 2019
5933843
Merge pull request #793 from kmehant/docker-compose-up
JaDogg Aug 13, 2019
4ca33fd
Update docker labels, production docker-compose and simple fixes. (#824)
kmehant Aug 16, 2019
54df487
made changes according to Chathu's comments and added 404 Not Found R…
singhrohan62 Aug 18, 2019
43a29ca
fixed codacy error
demon-36 Aug 21, 2019
6fea789
fixed codacy errors
demon-36 Aug 21, 2019
a2175c8
Merge pull request #808 from demon-36/demon-36-minio_bassa
JaDogg Aug 22, 2019
3f7355f
made changes according to Bhathiya's comments
singhrohan62 Aug 26, 2019
e42bb69
fixed codacy issues by removing console statements
singhrohan62 Aug 27, 2019
12e45f5
Merge pull request #817 from singhrohan62/setup-router-redux
agentmilindu Sep 1, 2019
348a21b
Merge pull request #794 from scorelab/demon-36-UI_fixes
JaDogg Sep 2, 2019
00ce530
Make documentation concise
kmehant Oct 20, 2019
1039cdd
Merge pull request #831 from kmehant/documentation-patch
agentmilindu Oct 20, 2019
28e041c
fix builds (#832)
selfisekai Dec 5, 2019
58d2e3c
Merge pull request #835 from selfisekai/fix-builds
kmehant Dec 10, 2019
d104d5b
Reference contribution guildlines wiki (#838)
kmehant Dec 24, 2019
74069dd
initial commit
carpecodeum Jan 12, 2020
af5f9d3
initial commit
carpecodeum Jan 12, 2020
5ccc38e
add user tests for usermanager.py
carpecodeum Jan 22, 2020
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
25 changes: 25 additions & 0 deletions .docker/volumes/mysql/create-schema.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

SCHEMA_DIR=/tmp/schema

mysql_exec=( mysql -uroot -p${MYSQL_ROOT_PASSWORD} )

if [[ -z "$BASSA_DB_NAME" ]]
then
echo "BASSA_DB_NAME is not defined."
exit 1
fi

echo "Creating database ${BASSA_DB_NAME}..."
echo "DROP DATABASE IF EXISTS ${BASSA_DB_NAME}; CREATE DATABASE ${BASSA_DB_NAME};" | "${mysql_exec[@]}" &> /dev/null

mysql_exec_in_db=("${mysql_exec[@]}" "${BASSA_DB_NAME}")

for sql_file in $SCHEMA_DIR/*
do
sql_file_name=$(basename $sql_file)
echo "Dumping file ${sql_file_name} to ${BASSA_DB_NAME}..."
"${mysql_exec_in_db[@]}" < ${sql_file} &> /dev/null
done

echo "Initial schema created!"
203 changes: 203 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
## GITATTRIBUTES
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################

## AUTO-DETECT
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto

# Source files
# ============
*.pxd text
*.py text
*.py3 text
*.pyw text
*.pyx text

# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pyc binary
*.pyd binary
*.pyo binary

## SOURCE CODE
*.bat text eol=crlf
*.coffee text
*.css text
*.htm text
*.html text
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.od text
*.onlydata text
*.php text
*.pl text
*.py text
*.rb text
*.sass text
*.scm text
*.scss text
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xml text
*.xhtml text

## DOCKER
*.dockerignore text
Dockerfile text

## DOCUMENTATION
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

## TEMPLATES
*.dot text
*.ejs text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.tmpl text
*.tpl text
*.twig text

## LINTERS
.csslintrc text
.eslintrc text
.htmlhintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## CONFIGS
*.bowerrc text
*.cnf text
*.conf text
*.config text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.htaccess text
*.npmignore text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

## GRAPHICS
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

## AUDIO
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## VIDEO
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

## ARCHIVES
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## FONTS
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

## EXECUTABLES
*.pyc binary


16 changes: 10 additions & 6 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior
#### Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
#### Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Solution
#### Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce (for bugs)
#### Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Context
#### Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment
#### Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Environment name and version (e.g. Chrome 39, node.js 5.4):
* Operating System and version (desktop or mobile):
* Link to your project:


# Pull Requests to this issue
If you are planning to create a PR for this issue, please make sure you first discuss with the maintainers of the project about ths issue well and get the 'Go' from them first.
14 changes: 7 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
#### Description
<!--- Describe your changes in detail -->

## Related Issue
#### Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context
#### Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
#### How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (In case of UI changes):
#### Screenshots (In case of UI changes):

## Types of changes
#### Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
#### Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# Created by https://www.gitignore.io/api/vim,node,python,sublimetext,visualstudiocode

### Mac Junk ###
.DS_Store

### Node ###
# Logs
logs
Expand Down Expand Up @@ -42,7 +45,7 @@ jspm_packages/

*.log
components/core/debug-server.log
downloads/


# UI
ui/dist
Expand Down Expand Up @@ -226,4 +229,9 @@ tags
!.vscode/extensions.json
.history

### IDEs

.idea/*
.vscode/*

# End of https://www.gitignore.io/api/vim,node,python,sublimetext,visualstudiocode
31 changes: 13 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
dist: trusty
language: node_js
node_js:
- "6.10.0"
python:
- "3.6"
language: minimal

sudo: required

services:
- docker

cache:
directories:
- ui/node_modules

before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.png)|(.)|^(LICENSE)|^(docs)|^(robots.txt)|^(package-list-yum)|^(package-list-pacman)|^(package-list-dnf)|^(package-list-brew)|^(package-list-aptget)|^(humans.txt)|^(docker-compose.yml)|^(docker-compose.dev.yml)|^(bassa)|^(.gitignore)|^(.gitattributes)|^(bassa-ui.yaml)|^(bassa-ingress.yaml)|^(bassa-api.yaml)|^(deploy_rds.sh)|^(rds-dev.json)|^(template.json)|^(setup-mysql.sh)|^(setup-database.sh)|^(create-schema.sh)|^(Bassa.sql)'
then
echo "Files changed not related to dockerfile, therefore travis build ends"
exit
fi

script:
- ./setup.sh
- cd ui && npm install && npm test
- cd $TRAVIS_BUILD_DIR
- cd components/core && python setup.py test
- docker build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` -t scoreucsc/bassa .
- docker build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` -t scoreucsc/bassa-ui ui
- docker build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` -t scoreucsc/bassa components/core

after_success:
- if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
docker push scoreucsc/bassa;
curl -X POST 'https://hooks.microbadger.com/images/scoreucsc/bassa/Wbi5zehDMooS3ri2bgC8LETGGuQ=';
docker push scoreucsc/bassa-ui;
curl -X POST 'https://hooks.microbadger.com/images/scoreucsc/bassa-ui/et6pa2aJq-tEvwFoW-PL8ixNxr0=';
fi

File renamed without changes.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

{project} Copyright (C) {year} {fullname}
Bassa Project Copyright (C) 2019 , ScoreLab
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
Loading