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

Bump eventsource from 1.0.7 to 1.1.1 in /client #132

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b72a69f
Update dependencies (#20)
Feb 2, 2017
12f25bc
Show user info in frontend side (#34)
Feb 2, 2017
1e769da
Update the new repo name (#40)
Feb 3, 2017
ce2e4e2
Update django-cors-headers from 2.0.1 to 2.0.2 (#42)
pyup-bot Feb 7, 2017
10e97a7
Update djangorestframework from 3.5.3 to 3.5.4 (#43)
pyup-bot Feb 10, 2017
6f21cc9
Update django-extensions from 1.7.6 to 1.7.7 (#44)
pyup-bot Feb 25, 2017
0e9a169
Update README (#46)
Feb 28, 2017
781b7cb
Add Docker files to client and server (#41)
Mar 1, 2017
fe039c0
Update ng-cli (#48)
Mar 1, 2017
df74da5
Update pip versions (#51)
May 6, 2017
3e998dd
Update client dependencies (#52)
May 6, 2017
dc1afba
Finish Docker Swarm (#54)
Jul 16, 2017
c3e9e85
Add logging to ELK stack (#57)
Jul 16, 2017
c196f5e
Fix a typo in README file (#62)
Jul 16, 2017
e8d2f95
Update dependencies (#63)
Jul 16, 2017
47719a6
Add stress-test with locustio (#64)
Jul 16, 2017
32809c0
Add an Django Admin section (#67)
Jul 17, 2017
fd4529b
Add permissions to API (#68)
Jul 22, 2017
8afd134
Backup PostgreSQL automatically (#69)
Jul 29, 2017
3a061b1
Final things before release (#71)
Jul 29, 2017
453cd18
Add the project logo to README file
Jul 30, 2017
e0ec185
Update PayPal badge (#74)
Aug 2, 2017
f514bcc
Fix a typo in README.md file
Aug 9, 2017
83782aa
Create a Code of Conduct document
Aug 12, 2017
2b4d25f
Update ngrx (#75)
Aug 19, 2017
3970b48
Remove sw npm script because there is none after upgrade to ng-cli 1.…
Aug 22, 2017
0e5a32c
Fix nginx args location and edit README file
Sep 13, 2017
97671cf
Switch travis-ci environment
Sep 13, 2017
6f6e1d9
Upgrade client (#83)
Jun 12, 2018
36dfac4
Change backend to Sanic project(#85)
Jun 13, 2018
9e8c85a
Update github templates, and project logo (#87)
Jun 13, 2018
e38fae1
Show data on client (#93)
Jun 14, 2018
277d520
Update project (#98)
Oct 8, 2019
7bf3089
Move to kubernetes (#100)
Oct 24, 2019
c6e0e04
Bump eventsource from 1.0.7 to 1.1.1 in /client
dependabot[bot] Jun 1, 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
46 changes: 46 additions & 0 deletions .github/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/
23 changes: 23 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Contribution

So, you want to start contribute, Great!

1. First step is to clone the repo (`git clone https://github.com/nirgn975/Angular-Sanic-Seed-Project.git`)

2. Take yourself an issue (or talk with a team member to get one). Create a new branch (`git branch -b <issue_number>-<optional_text>`), and start working on it.

Example of a branch name `18-fix_server_docker`.

3. After you do your first commit create a PR (Pull Request) (you can do it from github GUI, Pycharm/Webstorm under _VCS -> Git -> Create Pull Request_, atom/ vscode, or even the command line) and if you don't finish the PR yet (what I assume is true because it's only the first commit) write `WIP` (stand for "Work In Progress") in the title.

Example: `WIP: Create Docker image..`
Please add a link to the issue in the body of the PR (write hashtag with the issue number).
Example: `#11`

4. Before you finish you PR (Pull Request) make sure all the tests are pass in `Travis`. If some of them are failed, fix your code or tests (depends on the issue).

5. When you finish, remove the `WIP` from the title and assign it to `@nirgn975`, and write some text like "@nirgn975 Ready for review" (when you mention him like that, GitHub will send a notification to that person).

6. Please go through [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/) and [Angular Style Guide](https://angular.io/styleguide) before submitting a PR.

7. Wait for code review and HAVE FUN!
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**This is a ...** (check one with "x")
```
[ ] Bug report
[ ] Feature request
[ ] Clarification on the documentation
```

**Current behavior**


**What is the expected behavior?** (if you know how it should behave)
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
**What kind of change does this PR introduce?** (check _one_ with "x")
```
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Docs related changes
[ ] Other... Please describe:
```

**Link to the open issue**:


**Other information**:
249 changes: 249 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
# Created by https://www.gitignore.io/api/python,django,node,sass,virtualenv,jetbrains

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
.venv/
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject


### Django ###
*.pyc
db.sqlite3
media


### Node ###
# Logs
logs
npm-debug.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

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules
jspm_packages

# 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



### Sass ###
.sass-cache/
*.css.map


### VirtualEnv ###
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json


### JetBrains ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml

# Sensitive or high-churn files:
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml

# Gradle:
.idea/gradle.xml
.idea/libraries

# Mongo Explorer plugin:
.idea/mongoSettings.xml

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### JetBrains Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr


### OSX ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# End of https://www.gitignore.io/api/python,django,node,sass,virtualenv,jetbrains
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
matrix:
include:
- language: python
python: 3.7
env:
- DB_URI="postgres://postgres:@localhost:5432/assp"
- DB_NAME="assp"
- DB_USER="postgres"
- DB_PASSWORD=""
- DB_PORT="5432"
- HOST="0.0.0.0"
- PORT="8000"
- LOG_LEVEL="info"
- ENV="development"
services:
- postgresql
before_script:
- cd server && pip install coverage pycodestyle python-dotenv
- pip install -r requirements.txt
- psql -c 'create database assp;' -U postgres
script:
- python -m unittest
- pycodestyle --show-source --max-line-length=120 --show-pep8 .

- language: node_js
node_js:
- v12
services:
- xvfb
addons:
chrome: stable
before_install:
- npm install -g npm@latest codecov
- export DISPLAY=:99.0
install:
- cd client && npm install
script:
- npm run lint
- npm run test
- npm run build
- npm run e2e
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016, Nir Galon and contributors.
Copyright (c) 2018, Nir Galon and contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
Loading