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

Dev #1

Merged
merged 13 commits into from Nov 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitignore
@@ -0,0 +1,20 @@
/app/config/parameters.yml
/build/
/phpunit.xml
/var/*
!/var/cache
/var/cache/*
!var/cache/.gitkeep
!/var/logs
/var/logs/*
!var/logs/.gitkeep
!/var/sessions
/var/sessions/*
!var/sessions/.gitkeep
!var/SymfonyRequirements.php
/vendor/
/web/bundles/

.idea/
*.*~
*.bak
17 changes: 17 additions & 0 deletions .travis.yml
@@ -0,0 +1,17 @@
language: php
php:
- "7.0"

services:
- memcached

before_script:
- phpenv config-add ./dev/travis/memcached.ini
- composer install

script:
- mkdir -p build/logs
- phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls
9 changes: 9 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,9 @@
CHANGELOG
=========

0.1.0 (2016-11-19)
------------------
* Prototype
* REST API: POST:job, GET:job
* Documentation
* Not implemented: UI, Email sending, Loggers, Command bus
15 changes: 15 additions & 0 deletions FEATURE.CANDIDATE.md
@@ -0,0 +1,15 @@
Feature Candidate
=================
Features that are nice to have. It's like a TODO for putting in issues list.

Id | Summary | Description
--- |--- | ---
1 | Add Event Source Log table | Create table to log all changing stage. It's the first stamp to Event Sourcing.
2 | Use LESS with Grant | Make design styles more flexible
3 | Add Jasmine unit tests running under Karma | Add front-end unit tests
4 | Minify static | Minify all static
5 | Add hypermedia to REST API | Explicitly for the situation when Published can not submit job due to moderation process. It helps keep front-end clear.
6 | Add loading test | To understand weak points
7 | Optimize DB | Fill DB with fake data and see how it's working
8 | Add protection for duplication Job submission | Prevent DoS attack
9 | Protect API by OAuth 2 | Prevent direct API access. Firstly generate auth token without registration. It will keep politics still.
8 changes: 8 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,8 @@
The MIT License (MIT)
Copyright (c) 2016 Sergii Pryz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.