Skip to content

Commit

Permalink
Updated namepsace
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin.schmick committed Aug 17, 2022
1 parent 63d080e commit d1157ef
Show file tree
Hide file tree
Showing 65 changed files with 216 additions and 216 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: bluefyn-international
github: always-open
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/bluefyn-international/report-engine/discussions/new?category=q-a
url: https://github.com/always-open/report-engine/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/bluefyn-international/report-engine/discussions/new?category=ideas
url: https://github.com/always-open/report-engine/discussions/new?category=ideas
about: Share ideas for new features
- name: Report a bug
url: https://github.com/bluefyn-international/report-engine/issues/new
url: https://github.com/always-open/report-engine/issues/new
about: Report a reproducable bug
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Security Policy

If you discover any security related issues, please email quentin.schmick@nathanjames.com instead of using the issue tracker.
If you discover any security related issues, please email qschmick@gmail.com instead of using the issue tracker.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) bluefyn-international <quentin.schmick@nathanjames.com>
Copyright (c) always-open <qschmick@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# General reporting engine for Laravel

[![Latest Version on Packagist](https://img.shields.io/packagist/v/bluefyn-international/report-engine.svg?style=flat-square)](https://packagist.org/packages/bluefyn-international/report-engine)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/bluefyn-international/report-engine/run-tests?label=tests)](https://github.com/bluefyn-international/report-engine/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/bluefyn-international/report-engine/Check%20&%20fix%20styling?label=code%20style)](https://github.com/bluefyn-international/report-engine/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/bluefyn-international/report-engine.svg?style=flat-square)](https://packagist.org/packages/bluefyn-international/report-engine)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/always-open/report-engine.svg?style=flat-square)](https://packagist.org/packages/always-open/report-engine)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/always-open/report-engine/run-tests?label=tests)](https://github.com/always-open/report-engine/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/always-open/report-engine/Check%20&%20fix%20styling?label=code%20style)](https://github.com/always-open/report-engine/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/always-open/report-engine.svg?style=flat-square)](https://packagist.org/packages/always-open/report-engine)

General reporting engine for Laravel

Expand All @@ -12,7 +12,7 @@ General reporting engine for Laravel
You can install the package via composer:

```bash
composer require bluefyn-international/report-engine
composer require always-open/report-engine
```

## Usage
Expand All @@ -28,8 +28,8 @@ the columns which will be output.
namespace App\Reports\User;

use App\Models\User;
use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Text;
use BluefynInternational\ReportEngine\ReportBase;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Text;
use AlwaysOpen\ReportEngine\ReportBase;
use Illuminate\Database\Query\Builder;

class UserReport extends ReportBase
Expand Down Expand Up @@ -279,7 +279,7 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [BluefynInternational](https://github.com/bluefyn-international)
- [AlwaysOpen](https://github.com/always-open)
- [All Contributors](../../contributors)

## License
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "bluefyn-international/report-engine",
"name": "always-open/report-engine",
"description": "General reporting engine for Laravel",
"keywords": [
"bluefyn-international",
"always-open",
"laravel",
"report-engine"
],
"homepage": "https://github.com/bluefyn-international/report-engine",
"homepage": "https://github.com/always-open/report-engine",
"license": "MIT",
"authors": [
{
"name": "BluefynInternational",
"email": "quentin.schmick@nathanjames.com",
"name": "AlwaysOpen",
"email": "qschmick@gmail.com",
"role": "Developer"
}
],
"require": {
"php": "^8.0.0|^8.1.0",
"spatie/laravel-package-tools": "^1.4.3",
"illuminate/contracts": "^9.0",
"bluefyn-international/sidekick": "^3.0",
"always-open/sidekick": "^3.0",
"brick/money": "^0.5.0",
"laravelcollective/html": "^6.2"
},
Expand All @@ -33,12 +33,12 @@
},
"autoload": {
"psr-4": {
"BluefynInternational\\ReportEngine\\": "src"
"AlwaysOpen\\ReportEngine\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"BluefynInternational\\ReportEngine\\Tests\\": "tests"
"AlwaysOpen\\ReportEngine\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -52,10 +52,10 @@
"extra": {
"laravel": {
"providers": [
"BluefynInternational\\ReportEngine\\ReportEngineServiceProvider"
"AlwaysOpen\\ReportEngine\\ReportEngineServiceProvider"
],
"aliases": {
"ReportEngine": "BluefynInternational\\ReportEngine\\ReportEngineFacade"
"ReportEngine": "AlwaysOpen\\ReportEngine\\ReportEngineFacade"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
verbose="true"
>
<testsuites>
<testsuite name="BluefynInternational Test Suite">
<testsuite name="AlwaysOpen Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/base-web.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="card-header">
<div id="filterContainer">
<div>
{!! \BluefynInternational\ReportEngine\ReportBase::rendersFilters($filterColumns) !!}
{!! \AlwaysOpen\ReportEngine\ReportBase::rendersFilters($filterColumns) !!}
</div>
<div>
<button id="download-csv">Download CSV</button>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/partials/empty-not-empty-filter.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class="custom-select report-filter-input"
onchange="document.getElementById('{{ $field }}_filter_action').value = this.selectedOptions[0].getAttribute('data-operator') || '';"
>
<option></option>
<option value="1" data-operator="{{ \BluefynInternational\ReportEngine\BaseFeatures\Filters\IsEmptyFilter::key() }}">Yes</option>
<option value="0" data-operator="{{ \BluefynInternational\ReportEngine\BaseFeatures\Filters\IsNotEmptyFilter::key() }}">No</option>
<option value="1" data-operator="{{ \AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsEmptyFilter::key() }}">Yes</option>
<option value="0" data-operator="{{ \AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsNotEmptyFilter::key() }}">No</option>
</select>
</div>
</div>
2 changes: 1 addition & 1 deletion resources/views/partials/enum-filter.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="col-md-3 mb-3">
<input type="hidden" id="{{ $field }}_filter_action" value="{{ \BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter::key() }}"/>
<input type="hidden" id="{{ $field }}_filter_action" value="{{ \AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter::key() }}"/>
<label class="my-1 mr-2" for="{{ $field }}_filter">{{ $label }}</label>
<div class="input-group mb-1">
<select id="{{ $field }}_filter" class="custom-select report-filter-input">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/partials/yes-no-filter.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class="custom-select report-filter-input"
onchange="document.getElementById('{{ $field }}_filter_action').value = this.selectedOptions[0].getAttribute('data-operator') || '';"
>
<option></option>
<option value="1" data-operator="{{ \BluefynInternational\ReportEngine\BaseFeatures\Filters\IsTrueFilter::key() }}">Yes</option>
<option value="0" data-operator="{{ \BluefynInternational\ReportEngine\BaseFeatures\Filters\IsFalseFilter::key() }}">No</option>
<option value="1" data-operator="{{ \AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsTrueFilter::key() }}">Yes</option>
<option value="0" data-operator="{{ \AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsFalseFilter::key() }}">No</option>
</select>
</div>
</div>
2 changes: 1 addition & 1 deletion src/BaseFeatures/ContextActions/BaseAction.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\ContextActions;
namespace AlwaysOpen\ReportEngine\BaseFeatures\ContextActions;

use Illuminate\Contracts\Support\Arrayable;

Expand Down
4 changes: 2 additions & 2 deletions src/BaseFeatures/Data/Cell.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use Throwable;

class Cell
Expand Down
12 changes: 6 additions & 6 deletions src/BaseFeatures/Data/Column.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Enum;
use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Text;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\BaseFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Enum;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Text;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\BaseFilter;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Query\Expression;
use Illuminate\Support\Arr;
Expand Down Expand Up @@ -324,7 +324,7 @@ public function aliasFrom()
/**
* @param string|Expression $column
*
* @return \BluefynInternational\ReportEngine\BaseFeatures\Data\Column
* @return \AlwaysOpen\ReportEngine\BaseFeatures\Data\Column
*/
public function setAliasFrom($column): self
{
Expand Down
2 changes: 1 addition & 1 deletion src/BaseFeatures/Data/Row.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data;

use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Collection;
Expand Down
2 changes: 1 addition & 1 deletion src/BaseFeatures/Data/Types/Bases/BaseType.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases;

use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
Expand Down
18 changes: 9 additions & 9 deletions src/BaseFeatures/Data/Types/Bases/NullableNumber.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases;

use BluefynInternational\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\IsEmptyFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\IsNotEmptyFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsEmptyFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\IsNotEmptyFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;

abstract class NullableNumber extends Number
{
Expand Down
14 changes: 7 additions & 7 deletions src/BaseFeatures/Data/Types/Bases/Number.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases;

use BluefynInternational\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;

abstract class Number extends BaseType
{
Expand Down
18 changes: 9 additions & 9 deletions src/BaseFeatures/Data/Types/DateTime.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;

Expand Down
4 changes: 2 additions & 2 deletions src/BaseFeatures/Data/Types/Decimal.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\Number as BaseNumber;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\Number as BaseNumber;

class Decimal extends BaseNumber
{
Expand Down
16 changes: 8 additions & 8 deletions src/BaseFeatures/Data/Types/Dollar.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\DoesNotEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\GreaterThanOrEqualFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\LessThanOrEqualFilter;
use Brick\Math\RoundingMode;
use Brick\Money\Money;
use Illuminate\Support\Arr;
Expand Down
6 changes: 3 additions & 3 deletions src/BaseFeatures/Data/Types/Enum.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\EqualsFilter;
use Illuminate\Support\Collection;

class Enum extends BaseType
Expand Down
10 changes: 5 additions & 5 deletions src/BaseFeatures/Data/Types/Html.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\ContainsFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\DoesNotContainFilter;
use BluefynInternational\ReportEngine\BaseFeatures\Filters\InFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\BaseType;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\ContainsFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\DoesNotContainFilter;
use AlwaysOpen\ReportEngine\BaseFeatures\Filters\InFilter;

class Html extends BaseType
{
Expand Down
4 changes: 2 additions & 2 deletions src/BaseFeatures/Data/Types/Integer.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace BluefynInternational\ReportEngine\BaseFeatures\Data\Types;
namespace AlwaysOpen\ReportEngine\BaseFeatures\Data\Types;

use BluefynInternational\ReportEngine\BaseFeatures\Data\Types\Bases\Number as BaseNumber;
use AlwaysOpen\ReportEngine\BaseFeatures\Data\Types\Bases\Number as BaseNumber;

class Integer extends BaseNumber
{
Expand Down
Loading

0 comments on commit d1157ef

Please sign in to comment.