Commit Graph

232 Commits

Author SHA1 Message Date
henningxtro
26ba21156a
BETTERZON-58 (#53)
* BETTERZON-58: Basic Functionality with scrapy

* Added independent crawler function, yielding price

* moved logic to amazon.py

* .

* moved scrapy files to unused folder

* Added basic amazon crawler using beautifulsoup4

* Connected Api to Crawler

* Fixed string concatenation for sql statement in getProductLinksForProduct

* BETTERZON-58: Fixing SQL insert

* BETTERZON-58: Adding access key verification

* BETTERZON-58: Fixing API endpoint of the crawler
- The list of products in the API request was treated like a string and henceforth, only the first product has been crawled

* Added another selector for price on amazon (does not work for books)

Co-authored-by: root <root@DESKTOP-ARBPL82.localdomain>
Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
Co-authored-by: Patrick <50352812+Mueller-Patrick@users.noreply.github.com>
2021-05-19 00:46:14 +02:00
Patrick
3ae68b3df3
BETTERZON-95: Adding API endpoint for getting, inserting and updating contact persons (#52) 2021-05-18 21:14:00 +02:00
Patrick
8f17ae7896
BETTERZON-98: Adding API endpoint for adding price entries as a registered vendor manager (#51) 2021-05-18 00:40:24 +02:00
Patrick
16ed1070c2
BETTERZON-97: Adding API endpoint to get all products listed by a specific vendor (#50) 2021-05-18 00:24:00 +02:00
Patrick
061d1a46e0
BETTERZON-94: Adding API endpoint to deactivate price listings as a vendor manager (#48) 2021-05-16 13:11:22 +02:00
Patrick
b185e4e5e3
BETTERZON-93: Adding API endpoint to get managed shops (#47) 2021-05-16 12:28:11 +02:00
Patrick
cb55cae692
BETTERZON-100: Switching to cookies for session management (#46)
* BETTERZON-100: Switching session handling to cookies

* BETTERZON-100: Some code reformatting

* BETTERZON-100: Some more code reformatting
2021-05-13 18:47:50 +02:00
Patrick
5cc91654c3
BETTERZON-99: Adding some basic cucumber tests (#45) 2021-05-13 16:42:55 +02:00
Patrick
0be394fc1d
BETTERZON-92: Adding API endpoint to edit (update) price alarms (#44) 2021-05-13 00:48:56 +02:00
Patrick
cd0c11dbc7
BETTERZON-91: Adding API endpoint to GET all price alarms for the currently logged in user (#43) 2021-05-13 00:29:01 +02:00
Patrick
f333bbfc05
BETTERZON-90: Adding API endpoint for creating price alarms (#42) 2021-05-12 23:57:24 +02:00
Patrick
3874957d5a
BETTERZON-89: Refactoring / Reformatting and adding unit tests (#41) 2021-05-10 20:11:45 +02:00
Patrick
08de32770d
Adding Codacy code quality badge to README 2021-05-07 09:20:53 +02:00
Patrick
2f74519da3
BETTERZON-76: Adding method descriptions for backend service methods (#40) 2021-05-05 23:20:57 +02:00
Patrick
e1da64cac3
BETTERZON-77: Changing error behavior as the previous behavior cloud have opened up security vulnerabilities (#38) 2021-05-03 19:51:46 +02:00
Patrick
816036dbdf
BETTERZON-84: Adding service method to check if a session is valid (#37) 2021-05-03 16:29:25 +02:00
Patrick
a42c7da9a5
BETTERZON-79: Adding API endpoint for logging in (#36) 2021-05-03 15:14:22 +02:00
Patrick
e9d03b9cbb
BETTERZON-83: FE unit testing (#35)
* BETTERZON-83: Making pre-generated unit tests work

* BETTERZON-83: Writing unit tests for angular to improve code coverage
2021-05-02 15:58:47 +02:00
Patrick
a3ac897818
BETTERZON-75: User registration API endpoint (#34)
* BETTERZON-75: Adding backend functions to enable user registration

* BETTERZON-75: Adding regex to check email and username
2021-04-29 09:42:34 +02:00
Patrick
f7c045b5a3
BETTERZON-73: Adding API endpoint that returns the lowest non-amazon prices for a given list of product ids (#32) 2021-04-29 09:41:11 +02:00
henningxtro
9e9b442f35
BETTERZON-58: Basic Functionality with scrapy (#33) 2021-04-28 22:24:13 +02:00
Patrick
197c39a61d
Merge pull request #31 from Mueller-Patrick/develop
Master Deployment for API changes
2021-04-17 12:34:10 +02:00
21d5294a57 Merge branch 'develop' of https://github.com/Mueller-Patrick/Betterzon into develop 2021-04-17 12:04:08 +02:00
87756fdd65 Adding new ACs as PNG 2021-04-17 12:04:04 +02:00
Patrick
2159792e59 Update AC_Administration.drawio 2021-04-17 12:01:00 +02:00
Patrick
5a0db8534e Added AC_Administration.drawio 2021-04-17 11:58:02 +02:00
Patrick
ea84f681ed Update AC_AddProducts.drawio 2021-04-17 11:55:11 +02:00
Patrick
d9e8f33753 Added AC_AddProducts.drawio 2021-04-17 11:44:02 +02:00
Patrick
432b63b6e4
BETTERZON-70: Adding API endpoint to get details for a list of products (#30) 2021-04-17 11:35:19 +02:00
Patrick
57962a7973
Updating Crawler UC diagram 2021-04-16 08:52:51 +02:00
Patrick
8a17decddb Update AC_Crawler.drawio 2021-04-16 08:49:57 +02:00
Patrick
610808ad03
BETTERZON-59: Adding crawler basic framework (#29) 2021-04-14 21:51:36 +02:00
Patrick
f5fd1825d7
BETTERZON-56: Adding crawler load-balancing script (#28) 2021-04-14 18:52:22 +02:00
henningxtro
04d12955cd
Merge pull request #27 from Mueller-Patrick/BETTERZON-57
BETTERZON-57: Adding utility sql functions
2021-04-13 21:15:51 +02:00
fafacdd942 BETTERZON-57: Adding utility sql functions 2021-04-13 21:10:02 +02:00
Patrick
aaf829f090
Merge pull request #26 from Mueller-Patrick/develop
Master Deployment Construction #1
2021-04-08 11:29:35 +02:00
Reboooooorn
632491c33d
BETTERZON-31, BETTERZON-50 (#25)
* BETTERZON-31, dependencies.

* BETTERZON-31: Fixing dependencies

* BETTERZON-31,
BETTERZON-50

info popover and footer had been changed.

Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
2021-04-08 11:28:05 +02:00
55a019d217
BETTERZON-49 (#24)
* BETTERZON-49: Creating Dockerfile

* BETTERZON-49: Added minimal Flask API as Docker container

Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
2021-04-07 23:34:08 +02:00
Patrick
4d4a391f38
BETTERZON-37: Adding cookie notice popup (#23) 2021-04-07 09:43:32 +02:00
Patrick
1b1cdb59f6
BETTERZON-48: Adding API functionality to get best available deals (#20) 2021-04-05 16:34:11 +02:00
Patrick
997b68abf4
Merge pull request #21 from Mueller-Patrick/BETTERZON-36
BETTERZON-36: Adding imprint and privacy policy
2021-04-05 16:32:05 +02:00
Patrick
4a37fd3619
Merge branch 'develop' into BETTERZON-36 2021-04-05 16:30:29 +02:00
Patrick
2dfa4e9a96
BETTERZON-53: Styling clickable stuff on hover (#22) 2021-04-05 16:30:17 +02:00
30f613c18a BETTERZON-53: Styling clickable stuff on hover 2021-04-05 13:40:55 +02:00
fa4a14b6ad BETTERZON-36: Adding imprint and privacy policy 2021-04-05 12:56:21 +02:00
a4b8af7d64 Merge branch 'develop' of https://github.com/Mueller-Patrick/Betterzon into develop 2021-04-01 11:38:40 +02:00
8055f811d7 BETTERZON-49: Adding module .iml 2021-04-01 11:38:03 +02:00
bebf1b1236 BETTERZON-49: Adding module .iml 2021-04-01 11:37:20 +02:00
Patrick
be50069bc0
Merge pull request #19 from Mueller-Patrick/BETTERZON-48
BETTERZON-49: Creating Module for Crawler
2021-04-01 10:35:44 +02:00
05d4795f9d BETTERZON-49: Creating Module for Crawler 2021-04-01 10:34:35 +02:00