forked from BIGGANI/Firefly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7,912 changed files
with
850,691 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<?php | ||
/** | ||
* An helper file for your Eloquent Models | ||
* Copy the phpDocs from this file to the correct Model, | ||
* And remove them from this file, to prevent double declarations. | ||
* | ||
* @author Barry vd. Heuvel <[email protected]> | ||
*/ | ||
|
||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'Account' | ||
* | ||
* @property integer $id | ||
* @property integer $user_id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property string $name | ||
* @property float $openingbalance | ||
* @property string $openingbalancedate | ||
* @property float $currentbalance | ||
* @property boolean $hidden | ||
* @property-read \User $user | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transfer[] $transfersto | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transfer[] $transfersfrom | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Balancemodifier[] $balancemodifiers | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transaction[] $transactions | ||
* @method static Account notHidden() | ||
*/ | ||
class Account {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'Balancemodifier' | ||
* | ||
* @property integer $id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property integer $account_id | ||
* @property string $date | ||
* @property float $balance | ||
* @property string $balance_encrypted | ||
* @property-read \Account $account | ||
* @method static Balancemodifier onDay($date) | ||
* @method static Balancemodifier beforeDay($date) | ||
*/ | ||
class Balancemodifier {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'Component' | ||
* | ||
* @property integer $id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property \Carbon\Carbon $deleted_at | ||
* @property integer $parent_component_id | ||
* @property string $type | ||
* @property string $name | ||
* @property integer $user_id | ||
* @property-read \Component $parentComponent | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Component[] $childrenComponents | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Limit[] $limits | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transaction[] $transactions | ||
* @property-read \User $user | ||
*/ | ||
class Component {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'limit' | ||
* | ||
* @property integer $id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property \Carbon\Carbon $deleted_at | ||
* @property integer $component_id | ||
* @property float $amount | ||
* @property string $date | ||
* @property-read \Component $component | ||
* @method static limit inMonth($date) | ||
*/ | ||
class Limit {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'Transaction' | ||
* | ||
* @property integer $id | ||
* @property integer $user_id | ||
* @property integer $account_id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property string $description | ||
* @property float $amount | ||
* @property string $date | ||
* @property boolean $ignore | ||
* @property boolean $mark | ||
* @property integer $beneficiary_idX | ||
* @property integer $budget_idX | ||
* @property integer $category_idX | ||
* @property boolean $assigned | ||
* @property-read \Account $account | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Component[] $components | ||
* @property-read \User $user | ||
* @method static Transaction inMonth($date) | ||
* @method static Transaction onDay($date) | ||
* @method static Transaction onDayOfMonth($date) | ||
* @method static Transaction betweenDates($start, $end) | ||
* @method static Transaction expenses() | ||
* @method static Transaction incomes() | ||
* @method static Transaction hasComponent($component) | ||
*/ | ||
class Transaction {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'Transfer' | ||
* | ||
* @property integer $id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property integer $user_id | ||
* @property integer $accountfrom_id | ||
* @property integer $accountto_id | ||
* @property string $description | ||
* @property float $amount | ||
* @property string $date | ||
* @property-read \Account $accountfrom | ||
* @property-read \Account $accountto | ||
* @property-read \User $user | ||
* @method static Transfer inMonth($date) | ||
*/ | ||
class Transfer {} | ||
} | ||
|
||
namespace { | ||
/** | ||
* An Eloquent Model: 'User' | ||
* | ||
* @property integer $id | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property \Carbon\Carbon $deleted_at | ||
* @property string $email | ||
* @property string $password | ||
* @property string $activation | ||
* @property string $reset | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Account[] $accounts | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Component[] $components | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transaction[] $transactions | ||
* @property-read \Illuminate\Database\Eloquent\Collection|\Transfer[] $transfers | ||
*/ | ||
class User {} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
application: nder-firefly-m3 | ||
version: 1 | ||
runtime: php | ||
api_version: 1 | ||
threadsafe: true | ||
|
||
handlers: | ||
- url: /favicon\.ico | ||
static_files: public/favicon.ico | ||
upload: public/favicon\.ico | ||
|
||
- url: /bootstrap | ||
static_dir: public/bootstrap | ||
|
||
- url: /img | ||
static_dir: public/img | ||
|
||
- url: /css | ||
static_dir: public/css | ||
|
||
- url: /js | ||
static_dir: public/js | ||
|
||
- url: /.* | ||
script: public/index.php | ||
login: required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Debug Mode | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When your application is in debug mode, detailed error messages with | ||
| stack traces will be shown on every error that occurs within your | ||
| application. If disabled, a simple generic error page is shown. | ||
| | ||
*/ | ||
|
||
'debug' => true, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application URL | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This URL is used by the console to properly generate URLs when using | ||
| the Artisan command line tool. You should set this to the root of | ||
| your application so that it is used when running Artisan tasks. | ||
| | ||
*/ | ||
|
||
'url' => 'http://localhost', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Timezone | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may specify the default timezone for your application, which | ||
| will be used by the PHP date and date-time functions. We have gone | ||
| ahead and set this to a sensible default for you out of the box. | ||
| | ||
*/ | ||
|
||
'timezone' => 'UTC', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Locale Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The application locale determines the default locale that will be used | ||
| by the translation service provider. You are free to set this value | ||
| to any of the locales which will be supported by the application. | ||
| | ||
*/ | ||
|
||
'locale' => 'en', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Encryption Key | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This key is used by the Illuminate encrypter service and should be set | ||
| to a random, 32 character string, otherwise these encrypted strings | ||
| will not be safe. Please do this before deploying an application! | ||
| | ||
*/ | ||
|
||
'key' => 'p8gHwoaLe2bA5D4xovWizovPNdGTZWf2', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Autoloaded Service Providers | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The service providers listed here will be automatically loaded on the | ||
| request to your application. Feel free to add your own services to | ||
| this array to grant expanded functionality to your applications. | ||
| | ||
*/ | ||
|
||
'providers' => array( | ||
|
||
'Illuminate\Foundation\Providers\ArtisanServiceProvider', | ||
'Illuminate\Auth\AuthServiceProvider', | ||
'Illuminate\Cache\CacheServiceProvider', | ||
'Illuminate\Session\CommandsServiceProvider', | ||
'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', | ||
'Illuminate\Routing\ControllerServiceProvider', | ||
'Illuminate\Cookie\CookieServiceProvider', | ||
'Illuminate\Database\DatabaseServiceProvider', | ||
'Illuminate\Encryption\EncryptionServiceProvider', | ||
'Illuminate\Filesystem\FilesystemServiceProvider', | ||
'Illuminate\Hashing\HashServiceProvider', | ||
'Illuminate\Html\HtmlServiceProvider', | ||
'Illuminate\Log\LogServiceProvider', | ||
'Illuminate\Mail\MailServiceProvider', | ||
'Illuminate\Database\MigrationServiceProvider', | ||
'Illuminate\Pagination\PaginationServiceProvider', | ||
'Illuminate\Queue\QueueServiceProvider', | ||
'Illuminate\Redis\RedisServiceProvider', | ||
'Illuminate\Remote\RemoteServiceProvider', | ||
'Illuminate\Auth\Reminders\ReminderServiceProvider', | ||
'Illuminate\Database\SeedServiceProvider', | ||
'Illuminate\Session\SessionServiceProvider', | ||
'Illuminate\Translation\TranslationServiceProvider', | ||
'Illuminate\Validation\ValidationServiceProvider', | ||
'Illuminate\View\ViewServiceProvider', | ||
'Illuminate\Workbench\WorkbenchServiceProvider', | ||
'Grumpydictator\Gchart\GchartServiceProvider', | ||
'Profiler\ProfilerServiceProvider', | ||
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',), /* | ||
), | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Service Provider Manifest | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The service provider manifest is used by Laravel to lazy load service | ||
| providers which are not needed for each request, as well to keep a | ||
| list of all of the services. Here, you may set its storage spot. | ||
| | ||
*/ | ||
|
||
'manifest' => storage_path().'/meta', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Class Aliases | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This array of class aliases will be registered when this application | ||
| is started. However, feel free to register as many as you wish as | ||
| the aliases are "lazy" loaded so they don't hinder performance. | ||
| | ||
*/ | ||
|
||
'aliases' => array( | ||
|
||
'App' => 'Illuminate\Support\Facades\App', | ||
'Artisan' => 'Illuminate\Support\Facades\Artisan', | ||
'Auth' => 'Illuminate\Support\Facades\Auth', | ||
'Blade' => 'Illuminate\Support\Facades\Blade', | ||
'Cache' => 'Illuminate\Support\Facades\Cache', | ||
'ClassLoader' => 'Illuminate\Support\ClassLoader', | ||
'Config' => 'Illuminate\Support\Facades\Config', | ||
'Controller' => 'Illuminate\Routing\Controller', | ||
'Cookie' => 'Illuminate\Support\Facades\Cookie', | ||
'Crypt' => 'Illuminate\Support\Facades\Crypt', | ||
'DB' => 'Illuminate\Support\Facades\DB', | ||
'Eloquent' => 'Illuminate\Database\Eloquent\Model', | ||
'Event' => 'Illuminate\Support\Facades\Event', | ||
'File' => 'Illuminate\Support\Facades\File', | ||
'Form' => 'Illuminate\Support\Facades\Form', | ||
'Hash' => 'Illuminate\Support\Facades\Hash', | ||
'HTML' => 'Illuminate\Support\Facades\HTML', | ||
'Input' => 'Illuminate\Support\Facades\Input', | ||
'Lang' => 'Illuminate\Support\Facades\Lang', | ||
'Log' => 'Illuminate\Support\Facades\Log', | ||
'Mail' => 'Illuminate\Support\Facades\Mail', | ||
'Paginator' => 'Illuminate\Support\Facades\Paginator', | ||
'Password' => 'Illuminate\Support\Facades\Password', | ||
'Queue' => 'Illuminate\Support\Facades\Queue', | ||
'Redirect' => 'Illuminate\Support\Facades\Redirect', | ||
'Redis' => 'Illuminate\Support\Facades\Redis', | ||
'Request' => 'Illuminate\Support\Facades\Request', | ||
'Response' => 'Illuminate\Support\Facades\Response', | ||
'Route' => 'Illuminate\Support\Facades\Route', | ||
'Schema' => 'Illuminate\Support\Facades\Schema', | ||
'Seeder' => 'Illuminate\Database\Seeder', | ||
'Session' => 'Illuminate\Support\Facades\Session', | ||
'SSH' => 'Illuminate\Support\Facades\SSH', | ||
'Str' => 'Illuminate\Support\Str', | ||
'URL' => 'Illuminate\Support\Facades\URL', | ||
'Validator' => 'Illuminate\Support\Facades\Validator', | ||
'View' => 'Illuminate\Support\Facades\View', | ||
|
||
), | ||
|
||
); |
Oops, something went wrong.