Commit Graph

240 Commits

Author SHA1 Message Date
Florian Kellermann
1697928545 some small changes, just code style and removing unneccesary stuff 2022-04-25 22:39:22 +02:00
Linus E
d6dd5e567c added comment 2022-04-25 19:59:03 +02:00
Linus E
b6ab23c098 updated /help 2022-04-25 19:58:18 +02:00
Linus E
03c02aaabc added set admin function 2022-04-25 19:56:41 +02:00
Linus E
2ed419713b updated /users 2022-04-25 19:18:07 +02:00
Linus E
19caebcb36 small changes 2022-04-25 19:00:02 +02:00
Linus E
7785fd6368 fixed /start 2022-04-25 18:59:06 +02:00
Linus E
0f4d4e5624 removed small faults 2022-04-25 18:56:19 +02:00
Linus E
6c99548941 updated to isin and added comments 2022-04-25 18:50:29 +02:00
Linus E
6fae531c1c added comments in bot 2022-04-25 18:25:22 +02:00
Linus E
eab129fce8 added /me formatting 2022-04-25 18:03:23 +02:00
Linus E
d91d62e6f0 added comments for updater 2022-04-25 17:48:16 +02:00
Linus E
69164c655f added comments 2022-04-25 17:45:47 +02:00
Linus E
14963176cc Merge remote-tracking branch 'origin/main' into bot 2022-04-25 17:34:11 +02:00
Linus E
54dac881b5 Merge branch 'bot' of https://github.com/WebEngineering2/TelegramAktienBot into bot 2022-04-25 17:33:08 +02:00
Linus E
d163ba08f3 implemented News to scheduled User Update 2022-04-25 17:32:48 +02:00
6d8fb278fe Try to fix Dockerfiles 2022-04-25 17:15:07 +02:00
b68546b0e7 Try to fix Dockerfiles 2022-04-25 17:12:00 +02:00
Florian Kaiser
cfbcb84b2b
Merge pull request #76 from WebEngineering2/bot
Updated Dockerfiles to use second container for bot updates
2022-04-25 17:08:00 +02:00
566470ec12 Updated Dockerfiles to use second container for bot updates 2022-04-25 17:05:21 +02:00
NormalParameter
8aa792688b
Merge pull request #72 from WebEngineering2/dependabot/pip/telegram_bot/pytelegrambotapi-approx-eq-4.5.0
Update pytelegrambotapi requirement from ~=4.4.0 to ~=4.5.0 in /telegram_bot
2022-04-25 17:04:10 +02:00
dependabot[bot]
112784e702
Update pytelegrambotapi requirement in /telegram_bot
Updates the requirements on [pytelegrambotapi](https://github.com/eternnoir/pyTelegramBotAPI) to permit the latest version.
- [Release notes](https://github.com/eternnoir/pyTelegramBotAPI/releases)
- [Commits](https://github.com/eternnoir/pyTelegramBotAPI/compare/4.4.0...4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 09:46:24 +00:00
Florian Kellermann
78dfde7a86 new bot version 2022-04-25 08:05:30 +02:00
Florian Kellermann
cac5883b99 Better code documentation and removing unnecessary stuff 2022-04-21 10:06:08 +02:00
Florian Kellermann
fa8b511ef4 Scheduler working 2022-04-21 08:23:48 +02:00
Florian Kellermann
2b18e02623 update /update function 2022-04-20 11:03:21 +02:00
Linus E
7a4a8aaedc fixed case sensitive commands 2022-04-19 21:36:16 +02:00
Linus E
71fed7fd18 added formatting and adapted to isin 2022-04-19 21:08:47 +02:00
Florian Kellermann
76df6f27be Forgot one user id in the code 2022-04-19 08:30:25 +02:00
Florian Kellermann
6db3a7ce32 Update message working, regularity still needs implementation 2022-04-18 23:32:19 +02:00
Florian Kellermann
44c57aa881 Almost working, having some troubles with the blockers still 2022-04-18 17:11:02 +02:00
Florian Kellermann
689a8cb1fc Removed testfile 2022-04-17 13:27:25 +02:00
Florian Kellermann
1803bba222 Not working fully yet, still problems with scheduler, might try other module later 2022-04-17 13:26:12 +02:00
Linus E
26b41f2c94 fixing and debugging 2022-04-17 13:07:57 +02:00
Linus E
caa90a577f testing 2022-04-17 12:35:59 +02:00
Linus E
b06b024326 bot new commands and funcs + api updates 2022-04-17 12:20:53 +02:00
Linus E
543c51397e added transaction and portfolio commands 2022-04-17 11:57:28 +02:00
Linus E
5078660ce1 fixed dict errors 2022-04-17 11:21:49 +02:00
Linus E
acdd46780c added small error handling 2022-04-17 10:49:42 +02:00
Linus E
1095c63788 added scheduler 2022-04-12 11:33:53 +02:00
Linus E
c8d461b747 tested new methods 2022-04-12 11:33:21 +02:00
Linus E
561ce58d73 added new lib 2022-04-12 11:32:33 +02:00
Linus E
30bccbf238 added user funcs of api 2022-04-12 10:41:48 +02:00
Linus E
2e48d2a27e removed unused 2022-04-12 10:12:35 +02:00
Linus E
27858a3b59 added crontab put function 2022-04-12 10:08:41 +02:00
Florian Kellermann
813231449e Mistake corrected 2022-04-06 14:26:52 +02:00
Florian Kellermann
84754dd54f Update to bot_updates 2022-04-05 18:23:11 +02:00
Florian Kellermann
aee793deb4 creating sends from crontab in work 2022-04-05 15:17:04 +02:00
Florian Kellermann
5311c89193 minor updates 2022-04-05 15:12:51 +02:00
Florian Kellermann
7b99be9633 Updating contrab based on time is working, need api calls 2022-04-05 15:07:06 +02:00
Florian Kellermann
2c0bbe3111 Work in progress, need some communication first. Working on bot_updates 2022-04-05 14:12:12 +02:00
Florian Kellermann
40d444f36c bot-updates got a send to user function and will be working with crontab 2022-04-05 14:00:33 +02:00
Florian Kellermann
e85bbacdde Example and description of crontab syntax 2022-04-05 12:38:20 +02:00
Florian Kellermann
9d10b1a048 New file for regularly sending bot updates 2022-04-05 10:07:03 +02:00
Linus E
96e96b4612 updated functions, added fail handling and messages 2022-04-04 18:59:00 +02:00
Linus E
643c040b32 updated and added functions 2022-04-04 18:57:59 +02:00
Linus E
a2aed53bc8 api adress updated 2022-04-04 17:33:54 +02:00
Linus E
0b8ae845ed added max req params 2022-04-04 16:54:25 +02:00
Linus E
f2c9f6365e Merge remote-tracking branch 'origin/main' into bot 2022-04-04 16:41:22 +02:00
Florian Kellermann
cc70f8c478 share handler in api_handler 2022-04-04 16:38:15 +02:00
00e27ba776 Fixed Dockerfile 2022-04-04 16:10:37 +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
Rripped
6289e5dc71 added date parameter 2022-03-29 13:37:44 +02:00
Rripped
0aee85d718 bug fix 2022-03-29 12:29:13 +02:00
Rripped
4005e8dccf fetching news by keywords 2022-03-29 12:28:28 +02:00
Rripped
4bd53c0116 news working 2022-03-29 12:20:58 +02:00
Rripped
4afd1ab87b workaround for connection problems 2022-03-29 12:04:49 +02:00
Rripped
4c517998ba added funcs 2022-03-29 10:49:02 +02:00
Rripped
21d5d357b8 moved api handler in subfolder 2022-03-29 09:26:50 +02:00
Rripped
1ba19a219f small change 2022-03-29 08:49:32 +02:00
Rripped
456bba027b updated env example with bot creds 2022-03-29 08:44:40 +02:00
Rripped
bf8fdbf848 formatting and docu additions 2022-03-29 08:41:09 +02:00
Rripped
218f70f541 added status function 2022-03-29 08:31:58 +02:00
Linus E
c489e9ab46 added keywords from db (not working currently) 2022-03-28 19:39:37 +02:00
Linus E
4b23261bd1 api_handler functions completed (tbd: testing) 2022-03-28 18:55:52 +02:00
Linus E
8d5d777de6 implemented apihandler class and functions 2022-03-28 18:07:39 +02:00
dependabot[bot]
5c00652805
Update python-dotenv requirement in /telegram_bot
Updates the requirements on [python-dotenv](https://github.com/theskumar/python-dotenv) to permit the latest version.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-27 18:43:37 +00:00
d13ba5f5ef Updated README files, .gitignore and .env.example 2022-03-17 23:49:39 +01:00
Rripped
c6e992a3e2
Create README.md 2022-03-17 17:36:14 +01:00
NormalParameter
c452d23b47 github spinnt 2022-03-17 14:09:35 +01:00
NormalParameter
0f6991210b Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-17 14:08:32 +01:00
NormalParameter
458ef32eeb Update for merge 2022-03-17 14:07:45 +01:00
Florian Kellermann
2961bbb429 Welcome message for updates and change in json 2022-03-16 17:49:57 +01:00
Florian Kellermann
e4423a76b7 update function now getting share data from json and updating on all shares 2022-03-16 17:42:46 +01:00
Rripped
536bdf3bd6 added auto sources for news 2022-03-16 13:32:26 +01:00
Rripped
3b675cf7fc updated reqs and news sources 2022-03-16 12:58:58 +01:00
Rripped
a6da04ac03 Merge remote-tracking branch 'origin/main' into bot-features 2022-03-16 11:18:16 +01:00
Rripped
35c3d57b31 small changes 2022-03-16 11:17:43 +01:00
NormalParameter
4cffdece05
Merge pull request #3 from WebEngineering2/bot-features
Bot features
2022-03-16 10:43:16 +01:00
Florian Kellermann
f7a09e063c Changed requirements 2022-03-16 10:41:43 +01:00
f197b75744 Use python:3.10-slim 2022-03-16 10:41:13 +01:00
Florian Kellermann
1038a24093 Removed pandas 2022-03-16 10:39:29 +01:00
Rripped
c7e5005ed4 Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-16 10:02:42 +01:00
Rripped
df418fd93c edit reqs 2022-03-16 10:02:32 +01:00
Florian Kellermann
270667c6b5 C:/Program Files/Git/share inserted and working 2022-03-16 10:02:28 +01:00
Rripped
f28c0e69ef test 2022-03-16 09:47:50 +01:00
Florian Kellermann
267a7db04b hoffentlich geht es bei dir 2022-03-16 09:30:33 +01:00
Florian Kellermann
72e1b4bc50 Working again 2022-03-16 08:54:46 +01:00
Florian Kellermann
8ea805b8e9 NEw commit 2022-03-16 08:47:02 +01:00
NormalParameter
d91b98c47b Update 2022-03-15 15:04:08 +01:00
NormalParameter
32d45053ec Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-15 15:02:58 +01:00
NormalParameter
d12916abef Inserting correct comments 2022-03-15 15:02:01 +01:00
Linus E
725f9806b7 added news example 2022-03-15 14:54:17 +01:00
Linus E
af01a7e183 moved news_fetcher to new dir 2022-03-15 14:49:36 +01:00
Linus E
d3a99997b8 Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-15 14:43:14 +01:00
Linus E
416667adfb added function descriptions 2022-03-15 14:43:05 +01:00
NormalParameter
87ce7191a8 Version update 2022-03-15 14:37:49 +01:00
Linus E
c0d2b8a679 deleted debugbot 2022-03-15 14:36:04 +01:00
Linus E
05d2b37482 fixed errors 2022-03-15 14:24:11 +01:00
Linus E
edcb226c92 small changes 2022-03-15 14:01:33 +01:00
Linus E
e92e49d457 added new reqs 2022-03-15 13:54:29 +01:00
Linus E
46dd6c0332 added formatting and fetching by keywords 2022-03-15 13:54:08 +01:00
Linus E
50a4df4e71 made debugbot.py obsolete 2022-03-15 13:53:39 +01:00
Linus E
97db1e6139 Merge remote-tracking branch 'origin/main' into bot-features 2022-03-15 12:46:17 +01:00
Rripped
3342e60816 tested news api 2022-03-15 11:27:54 +01:00
Florian Kellermann
ebbd94497d Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-15 11:10:24 +01:00
Florian Kellermann
81ed181e42 Hallo 2022-03-15 11:10:12 +01:00
564517045f Fixed bot dockerfile 2022-03-15 10:50:00 +01:00
Rripped
ab650541d4 added libs 2022-03-15 10:48:36 +01:00
Rripped
51e3b89cda Merge branch 'bot-features' of https://github.com/WebEngineering2/TelegramAktienBot into bot-features 2022-03-15 10:43:36 +01:00
Rripped
6e710e702e small changes 2022-03-15 10:39:29 +01:00
Florian Kellermann
1033b54154 version update 2022-03-15 10:18:26 +01:00
Florian Kellermann
e7b22999df Started share fetcher and inserted yfianance in requirements 2022-03-15 10:17:55 +01:00
169dd41bcd Fixed bot dockerfile 2022-03-15 09:51:06 +01:00
Rripped
d2c6cb302d small changes 2022-03-15 09:15:12 +01:00
Linus Eickhoff
66b8ae5f34 header additions and req update 2022-03-15 09:05:28 +01:00
Linus Eickhoff
f1d3fd0050 created db_handler and fetchers 2022-03-15 08:55:12 +01:00
Linus Eickhoff
ca06985d51 added file headers and db_handler 2022-03-15 08:51:34 +01:00
NormalParameter
9d15fd6c68 Test 2022-03-14 17:14:20 +01:00
NormalParameter
fc42b1de4e Wrong file...lost 2022-03-13 13:35:50 +01:00
NormalParameter
84f9777e0f Bot should be working now 2022-03-13 13:20:39 +01:00
NormalParameter
554d0c8536 Created new debugging bot and fixed code in bot.py to be working again. Also inserted new functions 2022-03-13 11:34:36 +01:00
NormalParameter
f1bfb25d95 new bot functionality 2022-03-13 10:49:51 +01:00
NormalParameter
54d43b27c2 New bot funcionalities 2022-03-13 09:05:44 +01:00
032268f9b1 Update Dockerfile for bot 2022-03-12 20:17:06 +01:00
e8dce91c1e Update Dockerfile 2022-03-12 20:07:32 +01:00
b123e9973b Update Dockerfile 2022-03-12 20:05:46 +01:00
fdd7bc2d4c Use 2 docker containers for bot and webservice 2022-03-12 20:02:39 +01:00