mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
34b737c842
27
.travis.yml
27
.travis.yml
@ -63,19 +63,20 @@ before_script:
|
|||||||
- curl -L http://ninja.dev:8000/update
|
- curl -L http://ninja.dev:8000/update
|
||||||
|
|
||||||
script:
|
script:
|
||||||
#- php ./vendor/codeception/codeception/codecept run --html --debug
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance APICest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance APICest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance CheckBalanceCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance CheckBalanceCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance ClientCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance ClientCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance CreditCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance CreditCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceDesignCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance InvoiceDesignCest.php
|
#- php ./vendor/codeception/codeception/codecept run acceptance OnlinePaymentCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run acceptance OnlinePaymentCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance PaymentCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance PaymentCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance TaskCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance TaskCest.php
|
#- php ./vendor/codeception/codeception/codecept run --debug acceptance TaxRatesCest.php
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance TaxRatesCest.php
|
|
||||||
#- php ./vendor/codeception/codeception/codecept run--debug acceptance GoProCest.php
|
- sed -i 's/NINJA_DEV=true/NINJA_PROD=true/g' .env
|
||||||
|
- php ./vendor/codeception/codeception/codecept run acceptance GoProCest.php
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- cat storage/logs/laravel.log
|
- cat storage/logs/laravel.log
|
||||||
|
@ -72,7 +72,7 @@ class Utils
|
|||||||
|
|
||||||
public static function requireHTTPS()
|
public static function requireHTTPS()
|
||||||
{
|
{
|
||||||
if (Request::root() === 'http://ninja.dev') {
|
if (Request::root() === 'http://ninja.dev:8000') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,8 +418,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
$expense->save();
|
$expense->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($item['product_key']) {
|
if ($productKey = trim($item['product_key'])) {
|
||||||
$productKey = trim($item['product_key']);
|
|
||||||
if (\Auth::user()->account->update_products && ! strtotime($productKey)) {
|
if (\Auth::user()->account->update_products && ! strtotime($productKey)) {
|
||||||
$product = Product::findProductByKey($productKey);
|
$product = Product::findProductByKey($productKey);
|
||||||
if (!$product) {
|
if (!$product) {
|
||||||
|
10
readme.md
10
readme.md
@ -8,13 +8,9 @@
|
|||||||
[](https://travis-ci.org/invoiceninja/invoiceninja)
|
[](https://travis-ci.org/invoiceninja/invoiceninja)
|
||||||
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
### Referral Program
|
### Affiliates Programs
|
||||||
* $100 per signup paid over 3 years - [Learn more](https://www.invoiceninja.com/referral-program/)
|
* Referral: $100 per signup paid over 3 years - [Learn more](https://www.invoiceninja.com/referral-program/)
|
||||||
|
* Reseller: 10% of revenue
|
||||||
### Reseller Program
|
|
||||||
There are two options:
|
|
||||||
* 10% of revenue
|
|
||||||
* $1,000 for a site limited to 1,000 users
|
|
||||||
|
|
||||||
### Installation Options
|
### Installation Options
|
||||||
* [Self-Host Zip](https://www.invoiceninja.com/knowledgebase/self-host/) - Free
|
* [Self-Host Zip](https://www.invoiceninja.com/knowledgebase/self-host/) - Free
|
||||||
|
@ -260,8 +260,9 @@
|
|||||||
|
|
||||||
function showSearch() {
|
function showSearch() {
|
||||||
$('#search').typeahead('setQuery', '');
|
$('#search').typeahead('setQuery', '');
|
||||||
$('#search-form').show();
|
|
||||||
$('#navbar-options').hide();
|
$('#navbar-options').hide();
|
||||||
|
$('#search-form').show();
|
||||||
|
|
||||||
if (window.hasOwnProperty('searchData')) {
|
if (window.hasOwnProperty('searchData')) {
|
||||||
$('#search').focus();
|
$('#search').focus();
|
||||||
} else {
|
} else {
|
||||||
@ -299,7 +300,7 @@
|
|||||||
$(".alert-hide").fadeOut();
|
$(".alert-hide").fadeOut();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|
||||||
$('#search').blur(function(){
|
$('#search').blur(function(event){
|
||||||
hideSearch();
|
hideSearch();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -354,6 +355,7 @@
|
|||||||
// Focus the search input if the user clicks forward slash
|
// Focus the search input if the user clicks forward slash
|
||||||
$('body').keypress(function(event) {
|
$('body').keypress(function(event) {
|
||||||
if (event.which == 47) {
|
if (event.which == 47) {
|
||||||
|
event.preventDefault();
|
||||||
showSearch();
|
showSearch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -74,6 +74,7 @@ class TaxRatesCest
|
|||||||
// check total is right before saving
|
// check total is right before saving
|
||||||
$I->see("\${$total}");
|
$I->see("\${$total}");
|
||||||
$I->click('Save');
|
$I->click('Save');
|
||||||
|
$I->wait(1);
|
||||||
$I->see($clientEmail);
|
$I->see($clientEmail);
|
||||||
|
|
||||||
// check total is right after saving
|
// check total is right after saving
|
||||||
|
Loading…
x
Reference in New Issue
Block a user