Commit Graph

64 Commits

Author SHA1 Message Date
4e072323d2 Added file headers 2022-04-12 09:50:24 +02:00
85cd363c06 Always use the most recent share price 2022-04-07 12:40:55 +02:00
dependabot[bot]
d3cf0e0c37
Update yfinance requirement from ~=0.1.6 to ~=0.1.70 in /api
Updates the requirements on [yfinance](https://github.com/ranaroussi/yfinance) to permit the latest version.
- [Release notes](https://github.com/ranaroussi/yfinance/releases)
- [Changelog](https://github.com/ranaroussi/yfinance/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/ranaroussi/yfinance/compare/0.1.55...0.1.70)

---
updated-dependencies:
- dependency-name: yfinance
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 10:35:50 +00:00
Florian Kaiser
5a23ec936a
Merge pull request #42 from WebEngineering2/dependabot/pip/api/requests-approx-eq-2.27.1
Update requests requirement from ~=2.22.0 to ~=2.27.1 in /api
2022-04-06 12:35:25 +02:00
Florian Kaiser
c7d1fea455
Merge pull request #43 from WebEngineering2/dependabot/pip/api/faker-approx-eq-13.3.4
Update faker requirement from ~=4.0.0 to ~=13.3.4 in /api
2022-04-06 12:35:10 +02:00
cb7cc14529 Prevent "out of memory" issue 2022-04-06 12:34:03 +02:00
dependabot[bot]
90494dece3
Update faker requirement from ~=4.0.0 to ~=13.3.4 in /api
Updates the requirements on [faker](https://github.com/joke2k/faker) to permit the latest version.
- [Release notes](https://github.com/joke2k/faker/releases)
- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/joke2k/faker/compare/v4.0.0...v13.3.4)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 09:34:34 +00:00
dependabot[bot]
f64a6e0a07
Update requests requirement from ~=2.22.0 to ~=2.27.1 in /api
Updates the requirements on [requests](https://github.com/psf/requests) to permit the latest version.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.22.0...v2.27.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 09:34:26 +00:00
41dd16e81f Updated Dockerfile 2022-04-05 19:08:09 +02:00
081176cbc9 Return current price from database 2022-04-05 15:30:30 +02:00
695b7593be Save symbol price in database 2022-04-05 15:08:57 +02:00
852dedfc0c Script to generate random transactions 2022-04-05 12:38:06 +02:00
835beed17d Added cron field to database 2022-04-05 10:51:09 +02:00
29fea56bbf Try to fix database problems 2022-04-04 23:07:26 +02:00
11140aac97 Changed some file to test pipeline execution 2022-04-04 16:08:08 +02:00
75ea2671d4 Update healthcheck.sh 2022-04-04 16:05:55 +02:00
d6b663e8c8 Added comments to dockerfiles 2022-04-04 15:51:43 +02:00
2eb5fe133e Test pipeline 2022-04-04 15:11:07 +02:00
f7ece8e439 Test pipeline 2022-04-04 14:18:57 +02:00
14b5929c8d Test pipeline 2022-04-04 14:17:51 +02:00
4bfcbded0b Merge remote-tracking branch 'origin/main' 2022-04-04 14:10:45 +02:00
2aea0fe979 Try to fix database problems 2022-04-04 14:10:25 +02:00
Florian Kaiser
4379fac8d2
Update .env.example 2022-04-04 13:30:04 +02:00
dependabot[bot]
2900d953e5
Update flask requirement from ~=2.1.0 to ~=2.1.1 in /api
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 10:32:06 +00:00
Florian Kaiser
983c01f67d
Merge pull request #32 from WebEngineering2/api_tests
Added unit and functional tests
2022-03-30 11:14:04 +02:00
985f5158ae Updated requirements.txt 2022-03-30 11:11:14 +02:00
041cd16450 Fixed test config 2022-03-30 11:11:02 +02:00
1f2487f1c1 Refactoring 2022-03-30 11:10:48 +02:00
4b7dfa8afd Update README.md 2022-03-30 10:51:38 +02:00
21d2bc334c Tests
- Improved directory structure
- Added functional and unit tests
2022-03-30 10:46:54 +02:00
dependabot[bot]
80b2ebdaf9
Update flask requirement from ~=2.0.3 to ~=2.1.0 in /api
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.0.3...2.1.0)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 09:42:19 +00:00
482bf70756 increase token expiration for bot user 2022-03-28 17:56:59 +02:00
d4de5b8b04 Merge remote-tracking branch 'origin/main' 2022-03-28 17:51:17 +02:00
879423f7c7 Use user id instead of email 2022-03-28 17:51:10 +02:00
Florian Kaiser
75d856d53a
Merge pull request #28 from WebEngineering2/dependabot/pip/api/bcrypt-3.2.0
Bump bcrypt from 3.1.0 to 3.2.0 in /api
2022-03-28 10:54:52 +02:00
9c3edfeb8c Fixed bot account 2022-03-27 21:36:10 +02:00
5dd0cb0b51 Fixed binary is not serializable error #2 2022-03-27 21:21:20 +02:00
67e2a4c761 Fixed binary is not serializable error 2022-03-27 21:08:24 +02:00
dependabot[bot]
d1869cc883
Bump bcrypt from 3.1.0 to 3.2.0 in /api
Bumps [bcrypt](https://github.com/pyca/bcrypt) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/pyca/bcrypt/releases)
- [Changelog](https://github.com/pyca/bcrypt/blob/main/release.py)
- [Commits](https://github.com/pyca/bcrypt/compare/3.1.0...3.2.0)

---
updated-dependencies:
- dependency-name: bcrypt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-27 18:46:58 +00:00
48e97ea406 Updated api to use bcrypt 2022-03-27 20:42:11 +02:00
d19b38634a Updated schema.py 2022-03-27 20:12:45 +02:00
c338e8f959 Improved try-excepts 2022-03-27 20:03:11 +02:00
7d0fdb33fb Fixed imports #2 2022-03-27 18:19:51 +02:00
0fa5c8fb9a Fixed imports 2022-03-27 18:16:45 +02:00
62d66c1d6f Added endpoint to set telegram user id 2022-03-27 17:24:26 +02:00
12d59d69ff Changed database model 2022-03-27 17:23:33 +02:00
2ba8a9bd13 Check if user already exist 2022-03-27 10:55:48 +02:00
1fe1e0e9cf Create bot and admin user when creating tables 2022-03-27 10:42:53 +02:00
dependabot[bot]
ef0b680015
Bump python-dotenv from 0.19.2 to 0.20.0 in /api
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v0.19.2...v0.20.0)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 09:41:06 +00:00
769c8006ca Create database before request 2022-03-22 11:21:58 +01:00