1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00
Go to file
David Bomba dac1aa88d5
Tests, Multi-DB support for incoming URLs (#2466)
* Tests for authentication

* Add db field to company table (required if we are doing jobs without an auth()->user() )

* Add Laravel Dusk for browser testing, add ability to set DB by incoming URL Hash
2018-10-24 21:24:09 +11:00
app Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
bootstrap Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
config Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
database Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
public Refactor constants, set active db connection in middleware, add socket.io dependencies (#2463) 2018-10-21 09:26:21 +11:00
resources Presenters, skinned views, model refactoring (#2464) 2018-10-22 23:04:37 +11:00
routes Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
storage Multi Auth - Multi DB (#2442) 2018-10-15 16:00:48 +11:00
tests Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
.editorconfig Initial commit 2018-10-04 20:10:43 +03:00
.env.example Refactor constants, set active db connection in middleware, add socket.io dependencies (#2463) 2018-10-21 09:26:21 +11:00
.env.travis Sign Up Scaffolding (#2453) 2018-10-17 23:26:27 +11:00
.gitattributes Initial commit 2018-10-04 20:10:43 +03:00
.gitignore Initial commit 2018-10-04 20:10:43 +03:00
.travis.yml Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
artisan Multi Auth - Multi DB (#2442) 2018-10-15 16:00:48 +11:00
codecov.yml add support for code coverage (#2417) 2018-10-05 21:51:06 +10:00
composer.json Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
composer.lock Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
package.json Refactor constants, set active db connection in middleware, add socket.io dependencies (#2463) 2018-10-21 09:26:21 +11:00
phpunit.xml Tests, Multi-DB support for incoming URLs (#2466) 2018-10-24 21:24:09 +11:00
README.md Exclude laravel from code coverage (#2425) 2018-10-05 22:59:26 +10:00
server.php Multi Auth - Multi DB (#2442) 2018-10-15 16:00:48 +11:00
webpack.mix.js Sign Up Scaffolding (#2453) 2018-10-17 23:26:27 +11:00

Sublime's custom image

Build Status codecov Codacy Badge

Invoice Ninja v 5.0 is coming soon!

We will be using the lessons learnt in Invoice Ninja 4.0 to build a bigger better platform to work from. If you would like to contribute to the project we will gladly accept contributions for code, user guides, bug tracking and feedback! Please consider the following guidelines prior to submitting a pull request:

Contribution guide.

Code Style to follow PSR-2 standards.

All methods names to be in CamelCase

All variables names to be in snake_case

Where practical code should be strongly typed, ie your methods must return a type ie

public function doThis() : void

PHP > 7.1 allows the return type Nullable so there should be no circumstance a type cannot be return by using the following:

public function doThat() ?:string

Please include tests with PRs to ensure your code works well and integrates with the rest of the project. Please ensure suitable unit/functional/acceptance tests are included to provide code coverage.