Clean up readme and old code.

This commit is contained in:
James Cole 2021-03-28 10:37:01 +02:00
parent 7edc1a2571
commit 6401b5c9eb
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 17 additions and 77 deletions

View File

@ -15,24 +15,24 @@
<p align="center">
A free and open source personal finance manager
<br />
<a href="https://docs.firefly-iii.org/"><strong>Explore the docs »</strong></a>
<a href="https://docs.firefly-iii.org/"><strong>Explore the documentation</strong></a>
<br />
<br />
<a href="https://demo.firefly-iii.org/">View Demo</a>
<a href="https://demo.firefly-iii.org/">View the demo</a>
·
<a href="https://github.com/firefly-iii/firefly-iii/issues">Report Bug</a>
<a href="https://github.com/firefly-iii/firefly-iii/issues">Report a bug</a>
·
<a href="https://github.com/firefly-iii/firefly-iii/issues">Request Feature</a>
<a href="https://github.com/firefly-iii/firefly-iii/issues">Request a feature</a>
.
<a href="https://github.com/firefly-iii/firefly-iii/discussions">Ask questions</a>
</p>
[![Travis Build Status][build-shield]][build-url]
<!-- MarkdownTOC autolink="true" -->
- [About Firefly III](#about-firefly-iii)
- [Purpose](#purpose)
- [Features](#features)
- [Who's it for?](#-whos-it-for)
- [Who's it for?](#whos-it-for)
- [The Firefly III eco-system](#the-firefly-iii-eco-system)
- [Getting Started](#getting-started)
- [Contributing](#contributing)
@ -76,26 +76,26 @@ Firefly III is pretty feature packed. Some important stuff first:
The most exciting features are:
* Create [recurring transactions to manage your money](https://docs.firefly-iii.org/advanced-concepts/recurring)
* [Rule based transaction handling](https://docs.firefly-iii.org/advanced-concepts/rules) with the ability to create your own rules
* Create [recurring transactions to manage your money](https://docs.firefly-iii.org/advanced-concepts/recurring).
* [Rule based transaction handling](https://docs.firefly-iii.org/advanced-concepts/rules) with the ability to create your own rules.
Then the things that make you go "yeah OK, makes sense".
* A [double-entry](https://en.wikipedia.org/wiki/Double-entry_bookkeeping_system) bookkeeping system
* Save towards a goal using [piggy banks](https://docs.firefly-iii.org/advanced-concepts/piggies)
* View [income and expense reports](https://docs.firefly-iii.org/advanced-concepts/reports)
* A [double-entry](https://en.wikipedia.org/wiki/Double-entry_bookkeeping_system) bookkeeping system.
* Save towards a goal using [piggy banks](https://docs.firefly-iii.org/advanced-concepts/piggies).
* View [income and expense reports](https://docs.firefly-iii.org/advanced-concepts/reports).
And the things you would hope for but not expect:
* 2 factor authentication for extra security 🔒
* Supports [any currency you want](https://docs.firefly-iii.org/concepts/currencies), including crypto currencies such as ₿itcoin and Ξthereum
* 2 factor authentication for extra security 🔒.
* Supports [any currency you want](https://docs.firefly-iii.org/concepts/currencies), including crypto currencies such as ₿itcoin and Ξthereum.
* There is a [Docker image](https://docs.firefly-iii.org/installation/docker) and an [Heroku script](https://docs.firefly-iii.org/installation/third_parties).
And to organise everything:
* Clear views that should show you how you're doing
* Easy navigation through your records
* Lots of charts because we all love them
* Clear views that should show you how you're doing.
* Easy navigation through your records.
* Lots of charts because we all love them.
Many more features are listed in the [documentation](https://docs.firefly-iii.org/about-firefly-iii/introduction).

View File

@ -122,64 +122,4 @@ class UpdateControllerTest extends TestCase
return $configuration->generateAll();
}
/**
* @return array
*/
public function updateDataSet(): array
{
$faker = Factory::create();
$currencies = ['EUR', 'GBP', 'USD', 'HUF'];
$currencyCode = $currencies[rand(0, count($currencies) - 1)];
$set = [
'currency_id' => [
'id' => 1,
'fields' => [
'currency_id' => ['test_value' => (string)$faker->numberBetween(1, 10)],
],
'extra_ignore' => ['currency_code', 'currency_symbol'],
],
'currency_code' => [
'id' => 1,
'fields' => [
'currency_code' => ['test_value' => $currencyCode],
],
'extra_ignore' => ['currency_id', 'currency_symbol'],
],
'amount' => [
'id' => 1,
'fields' => [
'amount' => ['test_value' => number_format($faker->randomFloat(2, 10, 100), 2)],
],
'extra_ignore' => [],
],
'start' => [
'id' => 1,
'fields' => [
'start' => ['test_value' => $faker->dateTimeBetween('-2 year', '-1 year')->format('Y-m-d')],
],
'extra_ignore' => [],
],
'end' => [
'id' => 1,
'fields' => [
'end' => ['test_value' => $faker->dateTimeBetween('-1 year', 'now')->format('Y-m-d')],
],
'extra_ignore' => [],
],
'both' => [
'id' => 1,
'fields' => [
'start' => ['test_value' => $faker->dateTimeBetween('-2 year', '-1 year')->format('Y-m-d')],
'end' => ['test_value' => $faker->dateTimeBetween('-1 year', 'now')->format('Y-m-d')],
],
'extra_ignore' => [],
],
];
return $set;
}
}