KKlochko
|
91e3b3234f
|
Refactor to use InformativeValidators instead of ModelValidation.
continuous-integration/drone/push Build is passing
|
2023-09-08 14:01:36 +03:00 |
|
KKlochko
|
5c40bc6bf3
|
Refactor to use UserInformativeValidatorByMatrixUserNameFactory.
continuous-integration/drone/push Build is passing
|
2023-09-07 18:38:03 +03:00 |
|
KKlochko
|
85bd79e59c
|
Add InformativeValidatorFactory and MessageFactory for User.
continuous-integration/drone/push Build is passing
|
2023-09-06 17:21:05 +03:00 |
|
KKlochko
|
c592931101
|
Add UserValidatorByMatrixUserName.
continuous-integration/drone/push Build is passing
|
2023-09-05 18:05:43 +03:00 |
|
KKlochko
|
32cc601868
|
Add CityInformativeValidatorByNameFactory.
continuous-integration/drone/push Build is passing
|
2023-09-04 20:34:26 +03:00 |
|
KKlochko
|
4c1e0bec07
|
Refactor InformativeValidators to move the modules into Validators.
continuous-integration/drone/push Build is passing
|
2023-09-03 11:54:39 +03:00 |
|
KKlochko
|
9244aa11bc
|
Add CityValidatorByName.
continuous-integration/drone/push Build is passing
|
2023-09-02 20:48:29 +03:00 |
|
KKlochko
|
4b3bf81c76
|
Refactor ValidatorByNameFactories to use MessageByNameFactory.
continuous-integration/drone/push Build is passing
|
2023-09-01 12:22:34 +03:00 |
|
KKlochko
|
02cdb1f792
|
Add MessageFactory, MessageByNameFactory.
|
2023-09-01 12:22:08 +03:00 |
|
KKlochko
|
2b37a4c2e7
|
Refactor ValidatorByNameFactories of Company and Item models.
continuous-integration/drone/push Build is passing
|
2023-08-31 13:05:49 +03:00 |
|
KKlochko
|
c415a77272
|
Add InformativeValidatorByNameFactory.
|
2023-08-31 13:02:00 +03:00 |
|
KKlochko
|
b43759f3f4
|
Refactor Validators.
continuous-integration/drone/push Build is passing
|
2023-08-30 17:28:24 +03:00 |
|
KKlochko
|
f85bc047b8
|
Refactor to use CompanyInformativeValidatorByNameFactory.
continuous-integration/drone/push Build is passing
|
2023-08-29 17:02:59 +03:00 |
|
KKlochko
|
a37992c2e9
|
Add CompanyInformativeValidatorByNameFactory.
|
2023-08-29 17:00:28 +03:00 |
|
KKlochko
|
36a803131e
|
Refactor to use ItemInformativeValidatorByNameFactory.
continuous-integration/drone/push Build is passing
|
2023-08-28 14:28:14 +03:00 |
|
KKlochko
|
9a83b398c0
|
Add ItemInformativeValidatorByNameFactory.
continuous-integration/drone/push Build is passing
|
2023-08-28 14:17:17 +03:00 |
|
KKlochko
|
e057d2de27
|
Add EmptyNameValidator and ItemValidatorByName.
|
2023-08-27 20:31:26 +03:00 |
|
KKlochko
|
3ffc82ee7c
|
Refactor InformativeValidator.
|
2023-08-27 20:25:43 +03:00 |
|
KKlochko
|
7662d98bce
|
Add Informative Validators.
continuous-integration/drone/push Build is passing
|
2023-08-26 20:30:25 +03:00 |
|
KKlochko
|
da847273b8
|
Update Validators to extend ABC instead of implementing interface.
|
2023-08-26 19:55:27 +03:00 |
|
KKlochko
|
a4c0b3463b
|
Add a validator interface, UpperRangeValidator and OkValidator.
continuous-integration/drone/push Build is passing
|
2023-08-25 20:48:23 +03:00 |
|
KKlochko
|
4430b04f11
|
Add UserAddress model.
continuous-integration/drone/push Build is passing
|
2023-08-24 17:58:33 +03:00 |
|
KKlochko
|
66b8373da3
|
Add the test for BaseMessages.
continuous-integration/drone/push Build is passing
|
2023-08-21 16:54:28 +03:00 |
|
KKlochko
|
8fda7eae83
|
Refactor the validation tests and remove example test.
continuous-integration/drone/push Build is failing
|
2023-08-21 14:48:57 +03:00 |
|
KKlochko
|
8c62393d3f
|
Add ItemValidationByName.
continuous-integration/drone/push Build is passing
|
2023-08-20 11:14:23 +03:00 |
|
KKlochko
|
c9974b007a
|
Add UserValidationByMatrixUsername.
continuous-integration/drone/push Build is passing
|
2023-08-19 12:19:24 +03:00 |
|
KKlochko
|
1a7c585aa7
|
Add CityValidationByName.
continuous-integration/drone/push Build is passing
|
2023-08-18 13:20:09 +03:00 |
|
KKlochko
|
f437d777a5
|
Add ValidationByName and CompanyValidationByName.
continuous-integration/drone/push Build is passing
|
2023-08-17 19:22:10 +03:00 |
|
KKlochko
|
135f4c0c93
|
Refactor the Company and its validator test.
continuous-integration/drone/push Build is passing
|
2023-08-16 18:12:29 +03:00 |
|
KKlochko
|
c22945926c
|
Refactor the City, Company and their tests.
continuous-integration/drone/push Build is passing
|
2023-08-16 17:47:22 +03:00 |
|
KKlochko
|
a4938eb099
|
Add tests for City methods.
continuous-integration/drone/push Build is failing
|
2023-08-15 13:16:16 +03:00 |
|
KKlochko
|
394f821d35
|
Refactor the City and its tests.
|
2023-08-15 13:15:24 +03:00 |
|
KKlochko
|
6db3465407
|
Refactor the User validator.
continuous-integration/drone/push Build is passing
|
2023-08-14 20:45:57 +03:00 |
|
KKlochko
|
41acdd861b
|
Update the order method to update the cart's status to DONE.
continuous-integration/drone/push Build is passing
|
2023-06-22 11:20:00 +03:00 |
|
KKlochko
|
2851fe86bb
|
Add the order method and its route.
continuous-integration/drone/push Build is passing
|
2023-06-22 11:06:10 +03:00 |
|
KKlochko
|
8dcb580393
|
Add the authenticated API fetcher and sender.
continuous-integration/drone/push Build is passing
|
2023-06-22 11:04:42 +03:00 |
|
KKlochko
|
e178d1c8b4
|
Update the ApiFetcher to have option to get a field or get the JSON.
|
2023-06-22 10:59:10 +03:00 |
|
KKlochko
|
6c13fe7d7d
|
Add the method to get cart items as the JSON array.
|
2023-06-22 10:58:21 +03:00 |
|
KKlochko
|
2b8d6e3062
|
Fix README.
continuous-integration/drone/push Build is passing
|
2023-06-21 15:38:15 +03:00 |
|
KKlochko
|
e840ead1ea
|
Update the README.
continuous-integration/drone/push Build is passing
|
2023-06-21 15:23:50 +03:00 |
|
KKlochko
|
59c48d1984
|
Add the docker files.
continuous-integration/drone/push Build is passing
|
2023-06-21 15:22:03 +03:00 |
|
KKlochko
|
f944a67a24
|
Add license.
continuous-integration/drone/push Build is passing
|
2023-06-20 21:35:21 +03:00 |
|
KKlochko
|
db70255f4f
|
Fix CategoryItemAPI->saveMap to save items with parents.
continuous-integration/drone/push Build is passing
|
2023-06-20 20:29:24 +03:00 |
|
KKlochko
|
387858a2de
|
Refactor the index page in the CategoryController.
|
2023-06-20 20:28:12 +03:00 |
|
KKlochko
|
87c921c3e3
|
Add the index page to show the cart's items.
continuous-integration/drone/push Build is passing
|
2023-06-20 20:26:01 +03:00 |
|
KKlochko
|
028dcbddd1
|
Update CategoryResource to show only item templates.
|
2023-06-20 20:18:10 +03:00 |
|
KKlochko
|
38f99d0a84
|
Add the route to show cart items.
|
2023-06-20 20:15:21 +03:00 |
|
KKlochko
|
78c197549d
|
Add a resource and a collection for show CartItem.
|
2023-06-20 20:13:44 +03:00 |
|
KKlochko
|
d5cd9f4096
|
Fix the getters in Cart model for a city, a company.
continuous-integration/drone/push Build is passing
|
2023-06-20 17:34:35 +03:00 |
|
KKlochko
|
d584379888
|
Refactor names for the Company, Category, User APIs and tests.
continuous-integration/drone/push Build is passing
|
2023-06-20 15:29:31 +03:00 |
|
KKlochko
|
4d8506a3a4
|
Refactor names for the Cart API and its tests.
continuous-integration/drone/push Build is passing
|
2023-06-20 15:22:45 +03:00 |
|
KKlochko
|
5e88be6760
|
Update the index page to show only city's companies.
continuous-integration/drone/push Build is passing
|
2023-06-20 10:38:09 +03:00 |
|
KKlochko
|
e2cf7d4199
|
Update the method, saveMap, for CompanyAPI to save a city as parent.
|
2023-06-20 10:35:51 +03:00 |
|
KKlochko
|
b371ac2773
|
Add a getter for companies in City model.
|
2023-06-20 10:33:22 +03:00 |
|
KKlochko
|
8850d43575
|
Fix the addItemIds method in Cart model.
continuous-integration/drone/push Build is passing
|
2023-06-19 22:09:16 +03:00 |
|
KKlochko
|
5b0a1ee8f6
|
Fix methods to add/remove items from the Cart.
continuous-integration/drone/push Build is failing
|
2023-06-19 21:55:48 +03:00 |
|
KKlochko
|
50d39c7e9b
|
Add methods to City model to add, remove Company by id.
|
2023-06-19 21:55:10 +03:00 |
|
KKlochko
|
118b9bb74c
|
Add methods to City model to get, add, remove Companies by ids.
|
2023-06-19 21:54:42 +03:00 |
|
KKlochko
|
f7214205d8
|
Add Pivot table for the relationship between Cities and Companies.
|
2023-06-19 21:47:23 +03:00 |
|
KKlochko
|
962b423d0d
|
Add tests for the addItem method, that add an item to a Cart.
continuous-integration/drone/push Build is passing
|
2023-06-19 20:32:11 +03:00 |
|
KKlochko
|
7636ae4715
|
Fix Cart.getItem() method.
|
2023-06-19 20:31:02 +03:00 |
|
KKlochko
|
fd4a4bf5ea
|
Add the addItem method, that add an item to a Cart, and its route.
|
2023-06-19 20:24:14 +03:00 |
|
KKlochko
|
6bb99c7f70
|
Add the clone method for Item model.
continuous-integration/drone/push Build is passing
|
2023-06-19 18:13:35 +03:00 |
|
KKlochko
|
ada0abd69d
|
Add the count field to Item model.
|
2023-06-19 18:12:57 +03:00 |
|
KKlochko
|
563254c725
|
Add getItem to Cart model.
|
2023-06-19 18:11:28 +03:00 |
|
KKlochko
|
e91b808a0f
|
Add a method to check that an item in a cart.
|
2023-06-19 18:10:54 +03:00 |
|
KKlochko
|
73b45084b7
|
Refactor the Cart method names.
|
2023-06-19 18:08:34 +03:00 |
|
KKlochko
|
23b0f0477a
|
Update the index page for companies to show using the User data.
continuous-integration/drone/push Build is passing
|
2023-06-19 15:51:57 +03:00 |
|
KKlochko
|
57dd0c1660
|
Update the index page for categories to show company's categories.
|
2023-06-19 15:50:30 +03:00 |
|
KKlochko
|
3daf18f5c3
|
Add CategotyItemAPI, ItemAPI to get items from DotsAPI.
|
2023-06-19 15:36:12 +03:00 |
|
KKlochko
|
5d0c12fac1
|
Add parent as an argument to the saveMap method for DotsAPI classes.
|
2023-06-19 15:34:10 +03:00 |
|
KKlochko
|
6e8a34112a
|
Add tests for the Item.isBelong method.
continuous-integration/drone/push Build is passing
|
2023-06-19 15:32:31 +03:00 |
|
KKlochko
|
a7dbea1d79
|
Add getCategory, getCompany, isBelong methods to Item model.
|
2023-06-19 15:31:33 +03:00 |
|
KKlochko
|
751921e83f
|
Add tests for the Item validations.
continuous-integration/drone/push Build is passing
|
2023-06-19 15:11:21 +03:00 |
|
KKlochko
|
aedb4d5949
|
Add the validation for Item that returns message for requests.
|
2023-06-19 15:10:47 +03:00 |
|
KKlochko
|
65fa84344e
|
Update CategoryResource to show items of categories.
|
2023-06-19 15:06:23 +03:00 |
|
KKlochko
|
3eff14173b
|
Add getters to Cart model to get its City or Company.
|
2023-06-19 15:05:37 +03:00 |
|
KKlochko
|
e0ec4f1efa
|
Add foreign keys to field in Category, Item models.
|
2023-06-19 15:04:02 +03:00 |
|
KKlochko
|
90edc9bdf4
|
Add tests for the selectCompany method.
continuous-integration/drone/push Build is passing
|
2023-06-18 18:49:15 +03:00 |
|
KKlochko
|
b3d7815f59
|
Add the selectCompany method and its route.
|
2023-06-18 18:48:12 +03:00 |
|
KKlochko
|
399eab4cad
|
Refactor the name for the test to select another city in CartTest.
|
2023-06-18 18:45:57 +03:00 |
|
KKlochko
|
3fe7287e06
|
Refactor the Cart model.
Moved the dropItems above its first usage.
|
2023-06-18 18:42:40 +03:00 |
|
KKlochko
|
d90f017cbe
|
Add the getItemIds in the Cart to get ids of items.
|
2023-06-18 18:41:14 +03:00 |
|
KKlochko
|
a8559a52c6
|
Add the setCompany method in the Cart model.
|
2023-06-18 18:34:19 +03:00 |
|
KKlochko
|
8cdd2f2bbe
|
Add tests for the Company validations.
|
2023-06-18 18:32:58 +03:00 |
|
KKlochko
|
65280168a4
|
Update CartTest to remove the temporary cart.
continuous-integration/drone/push Build is passing
|
2023-06-18 17:41:12 +03:00 |
|
KKlochko
|
b71073d81d
|
Update the CompanySeeder to have a second company.
|
2023-06-18 17:38:58 +03:00 |
|
KKlochko
|
fd4a37c36a
|
Add the validation for Company that returns message for requests.
|
2023-06-18 17:37:14 +03:00 |
|
KKlochko
|
76f6c699aa
|
Fix the method, isEmpty, in the Cart model.
|
2023-06-18 17:35:09 +03:00 |
|
KKlochko
|
0c2f6355cf
|
Add methods to add and remove Items from a Cart.
|
2023-06-18 17:34:23 +03:00 |
|
KKlochko
|
e4f003f074
|
Add the route for the select city action.
continuous-integration/drone/push Build is failing
|
2023-06-18 16:39:18 +03:00 |
|
KKlochko
|
c0bfcd07c7
|
Add CartController, the selectCity method and its test.
continuous-integration/drone/push Build is failing
|
2023-06-18 16:34:25 +03:00 |
|
KKlochko
|
9d6a64d919
|
Add tests for the City and User validations.
continuous-integration/drone/push Build is passing
|
2023-06-18 16:21:29 +03:00 |
|
KKlochko
|
2d4fb6a59b
|
Add the validation for City, User that returns message for requests.
|
2023-06-18 16:17:35 +03:00 |
|
KKlochko
|
814eb18028
|
Update the setCity method in the Cart model.
|
2023-06-18 16:15:22 +03:00 |
|
KKlochko
|
33e35fa692
|
Update the CitySeeder to have a second city.
|
2023-06-18 16:12:47 +03:00 |
|
KKlochko
|
3fd0d3bce8
|
Add execution seeders to the migrations in the CI/CD configuration.
|
2023-06-18 16:09:50 +03:00 |
|
KKlochko
|
d4f3072169
|
Add test models to the seeders.
continuous-integration/drone/push Build is passing
|
2023-06-18 11:26:01 +03:00 |
|
KKlochko
|
0430a2bed1
|
Update the factories for City and User models.
|
2023-06-18 11:25:07 +03:00 |
|
KKlochko
|
07a5ec44cc
|
Update Company and Item models to have image as nullable field.
|
2023-06-18 11:23:57 +03:00 |
|