Commit Graph

99 Commits

Author SHA1 Message Date
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
40d3e3238d Standardization of json responses 2022-03-22 11:21:39 +01:00
bd5768527e Improve api for bot 2022-03-22 11:20:04 +01:00
a9effa751d Removed unnecessary requirements 2022-03-22 08:14:04 +01:00
1f31311b4e Set pool_recycle and pool_size to maybe fix database errors 2022-03-21 10:30:27 +01:00
9fa123489a Try to fix cors 2022-03-19 20:25:34 +01:00
dependabot[bot]
cc7aceb2fc
Bump pyjwt from 2.0.0 to 2.3.0 in /api
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.0.0 to 2.3.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.0.0...2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 23:13:30 +00:00
d13ba5f5ef Updated README files, .gitignore and .env.example 2022-03-17 23:49:39 +01:00
b0e3650757 Try to fix docs 2022-03-17 19:09:14 +01:00
0f32c85c7c Try to fix docs 2022-03-17 19:02:00 +01:00
ef25a702dd Try to fix cors 2022-03-17 17:54:32 +01:00
c13a980474 Updated docs 2022-03-17 17:51:40 +01:00
23e46635b3 Updated docs path #2 2022-03-17 17:36:54 +01:00
c750e4778d Updated docs path 2022-03-17 17:22:04 +01:00
ecc532b752 Extracted frontend from webservice to new directory
Updated directory structure
Updated .gitignore
2022-03-17 17:11:00 +01:00