Commit Graph

220 Commits

Author SHA1 Message Date
Kuroshini
c22fb3fb5c create est with address id 2020-01-10 14:01:59 +03:00
alex
30e25c2da0 fix EmployeeBackSerializers 2020-01-09 16:29:33 +03:00
Dmitriy Kuzmenko
e2d71fca8f Merge branch 'develop' into feature/guides 2019-12-27 18:00:20 +03:00
Виктор Гладких
660d60e656 Lite refactor 2019-12-27 16:30:31 +03:00
Виктор Гладких
caa17bf9f4 Serialize employee with positions, public_mark and establishment 2019-12-27 16:13:22 +03:00
alex
e3d7618c62 preview_image to establishment and product type and subtype 2019-12-27 09:47:48 +03:00
Dmitriy Kuzmenko
02d0112d8b add export for guides 2019-12-26 18:11:48 +03:00
Anatoly
f576825a71 Merge branch 'develop' into feature/guides
# Conflicts:
#	apps/collection/models.py
#	apps/establishment/models.py
#	apps/establishment/views/web.py
#	apps/product/views/common.py
#	requirements/base.txt
2019-12-23 13:11:05 +03:00
Anatoly
7452f0bef0 intermediate commit 2019-12-23 12:38:13 +03:00
Anatoly
72e5d723db added default image for type/subtype 2019-12-20 17:27:04 +03:00
Anatoly
471239983e Merge branch 'develop' into feature/guides
# Conflicts:
#	apps/collection/views/back.py
#	apps/transfer/models.py
2019-12-17 14:47:26 +03:00
Dmitriy Kuzmenko
bd6f8a47a1 add api for establishment admin 2019-12-13 11:02:37 +03:00
Anatoly
7d40471084 intermediate commit 2019-12-10 17:44:29 +03:00
Kuroshini
0f11a47a79 rest category & rest cuisine for favs
(cherry picked from commit 79a70fb)
2019-12-09 16:48:50 +03:00
Kuroshini
912431690d rename attrs #2 2019-12-09 15:21:39 +03:00
d.kuzmenko
29d05929ff Merge branch 'fix/backoffice-slug-url' into 'develop'
Fix/backoffice slug url

See merge request gm/gm-backend!169
2019-12-06 11:15:16 +00:00
alex
99e2b060f8 Merge remote-tracking branch 'origin/develop' into develop 2019-12-06 14:12:59 +03:00
alex
e08296c52d address to product detail web api 2019-12-06 14:12:26 +03:00
Kuroshini
91b528feb9 tags for establishments 2019-12-06 14:03:14 +03:00
Kuroshini
1e0044cbd1 artisans tags for favs
(cherry picked from commit 7081e52)
2019-12-05 12:12:08 +03:00
Anatoly
9dc8e34e3a Merge branch 'develop' into feature/transfer-guide
# Conflicts:
#	apps/establishment/models.py
#	apps/establishment/serializers/common.py
2019-12-04 20:16:21 +03:00
Anatoly
29ff10fb4b added wine origins 2019-12-04 20:13:09 +03:00
Kuroshini
f44a4bb29d Establishments favs type 2019-12-04 19:37:05 +03:00
Kuroshini
69b40f21b7 last comment for mobile establishment detail 2019-12-04 18:26:03 +03:00
Kuroshini
dee353199d add schedule to establishments list 2019-12-04 17:31:02 +03:00
dormantman
a81f3f079a Changed url id to slug in back-office 2019-12-04 13:37:49 +03:00
Kuroshini
e40156908b Artisan category tags for establishments 2019-12-02 21:38:21 +03:00
Kuroshini
140ba040e7 Extra fields for establishments 2019-12-02 21:26:55 +03:00
Kuroshini
3b05a552aa Tz field for establishments
(cherry picked from commit a537f04)
2019-12-02 18:37:16 +03:00
Semyon Yekhmenin
1711057cee Feature/bo establishment employee features 2019-11-25 12:15:51 +00:00
alex
17f67d020a back carousel api and test 2019-11-25 15:00:53 +03:00
Semyon Yekhmenin
e565406729 Feature/bo employee update 2019-11-22 14:21:25 +00:00
alex
a5d5dc1335 establishment carousel web and mobile api 2019-11-22 17:13:41 +03:00
Anatoly
1a1a2a2d24 added bo endpoints for establishment notes 2019-11-20 09:43:45 +03:00
Anatoly
484a9a3250 added field - average price to model Product and transfer command 2019-11-19 17:37:23 +03:00
Anatoly
012d2dcb23 added validation to Company serializer 2019-11-18 17:58:46 +03:00
Anatoly
0d9d45bcc5 added model Product and bo endpoints 2019-11-18 17:58:46 +03:00
Kuroshini
9212f85ee5 Visible tags for establishments 2019-11-18 15:15:33 +03:00
Anatoly
dce951c4f9 Merge branch 'develop' into feature/establishment-gallery
# Conflicts:
#	apps/product/serializers/common.py
2019-11-17 14:25:41 +03:00
Anatoly
a8b3c9aa63 refactored galleries, added transfer script 2019-11-17 14:22:30 +03:00
Kuroshini
cc67499601 Fix wines db queries 2019-11-16 18:32:38 +03:00
alex
78e42550c1 add address to establishment similar and collection establishment 2019-11-16 16:57:26 +03:00
Semyon Yekhmenin
73f20bd2e8 Added type and subtypes fields with index names in establishment list view 2019-11-15 13:06:17 +00:00
Semyon Yekhmenin
36b47a6cba Added establishment subtype to product view 2019-11-15 09:13:28 +00:00
Kuroshini
2367fec098 Use establishment type product serializer w/ index name 2019-11-15 00:28:00 +03:00
Kuroshini
5718955ba8 Index name for products establishment 2019-11-14 22:31:21 +03:00
Semyon Yekhmenin
b60ed7c7d5 Added establishment type to product view 2019-11-14 14:33:49 +00:00
alex
e49d62de5d social choice api and test 2019-11-14 09:53:36 +03:00
Kuroshini
57a4498ba1 Add schedule to establishment list serializer 2019-11-12 15:11:32 +03:00
Kuroshini
521d7f19f3 Add city name field to establishment api representations 2019-11-12 15:11:32 +03:00
Anatoly
46662398e4 refactored detail and list view of products 2019-11-11 19:19:18 +03:00
evgeniy-st
4573233e45 fix 2019-11-07 17:04:26 +03:00
evgeniy-st
497451cb3e Added tags to Establishment back-office serializers 2019-11-07 17:01:27 +03:00
evgeniy-st
c17f9ce820 Remove name_translated from establishment. Added AddressDetailSerializer
to EstablishmentRUDView
2019-11-06 14:16:10 +03:00
evgeniy-st
661f6fb395 Added fields to Establishment model: index_name, tranliterated_name 2019-11-06 11:25:38 +03:00
evgeniy-st
273478a7cb add address to establishmentRUDSerializer 2019-11-05 16:57:07 +03:00
Dmitriy Kuzmenko
b3345d612a renge_menu and carte 2019-11-04 02:25:04 +03:00
Kuroshini
d4792cb342 Geo subtypes 2019-10-30 14:34:07 +03:00
e.stoyushko
c9edaaa654 Merge branch 'feature/geo-type-index-name' into 'develop'
Feature/geo type index name

See merge request gm/gm-backend!84
2019-10-30 07:31:50 +00:00
Kuroshini
a0aa503cfa Add index_name type field to geo 2019-10-29 20:56:41 +03:00
Anatoly
03c75efece gm-259, gm-260, gm-261 2019-10-29 17:16:39 +03:00
Semyon Yekhmenin
e1e0f1e997 Added index_name in employee position 2019-10-25 13:41:53 +00:00
evgeniy-st
8a8986246f Merge branch 'bugfix/kuroshini' into develop 2019-10-24 16:19:10 +03:00
evgeniy-st
128488b5ee some bugfixes 2019-10-24 16:17:37 +03:00
Semyon Yekhmenin
74b2b52ee1 Added currency to establishment model 2019-10-24 11:06:58 +00:00
Kuroshini
d5609e4cb8 Works now filter first part 2019-10-23 17:29:00 +03:00
evgeniy-st
9d4c483f51 clean models (tags) 2019-10-15 18:25:09 +03:00
evgeniy-st
60cdec99e0 refactor tags 2019-10-15 17:17:03 +03:00
Anatoly
cb762ce746 added param to attr for Establoishment model and small refactoring, boost queries 2019-10-11 18:26:13 +03:00
Anatoly
ddb3eec679 finished endpoint to get tags by establishment type and subtype 2019-10-11 15:41:31 +03:00
Anatoly
f83b735eb3 changed files 2019-10-10 15:10:43 +03:00
Anatoly
74fa1fc014 Merge branch 'develop' into feature/gm-192 2019-10-09 16:21:50 +03:00
Anatoly
2191a505a5 refactored EstablishmentBase serializer 2019-10-09 14:11:53 +03:00
Anatoly
ca5f588466 fix elastic document, fix prefetch and select related 2019-10-09 12:53:35 +03:00
Anatoly
d321866dc2 gm-192: in progress 2019-10-08 15:38:35 +03:00
Kuroshini
4c960c8abf Booking (squashed commit) 2019-10-01 18:25:57 +03:00
evgeniy-st
e42f4d061c refactor address 2019-10-01 18:07:04 +03:00
evgeniy-st
f034377405 fix establishment serializer 2019-10-01 15:11:14 +03:00
evgeniy-st
051957c7cf Refactor JSON Validation 2019-10-01 13:03:59 +03:00
e.stoyushko
1798978cf7 Merge branch 'feature/establishment-award' into 'develop'
Feature/establishment award

See merge request gm/gm-backend!40
2019-09-30 13:53:59 +00:00
Kuroshini
33478580aa Review fixes 2019-09-30 16:40:46 +03:00
Kuroshini
019ac97d19 Add vintage year to detail 2019-09-30 13:50:17 +03:00
d.kuzmenko
8745c57f84 Merge branch 'bugfix/bunch-of-fixes' into 'develop'
Bugfix/bunch of fixes

See merge request gm/gm-backend!38
2019-09-30 07:57:12 +00:00
Kuroshini
4d113a6916 Fix all test 2019-09-27 22:06:46 +03:00
Kuroshini
d71ed0c1de Fix lot/lat x/y mapping && address serialization 2019-09-27 19:44:00 +03:00
evgeniy-st
403a60623a Merge branch 'develop' into feature/refactor-establishments 2019-09-27 10:05:15 +03:00
Anatoly
f1eec96ce8 Merge branch 'develop' into feature/gm-127
# Conflicts:
#	apps/establishment/models.py
#	apps/establishment/urls/common.py
2019-09-26 14:29:39 +03:00
Виктор Гладких
40d9f2f2ed check 2019-09-26 11:45:26 +03:00
Виктор Гладких
86d754f4bb validate json translated field 2019-09-26 11:38:37 +03:00
d.kuzmenko
e0f71d2646 Merge branch 'feature/add-base-attributes-autouse' into 'develop'
Feature/add base attributes autouse

See merge request gm/gm-backend!24
2019-09-26 08:34:38 +00:00
Anatoly
207e35feb1 GM-127: in progress 2019-09-25 19:39:37 +03:00
evgeniy-st
f18c18110c Refactor some establishment serializer 2019-09-25 15:32:45 +03:00
Kuroshini
f38924db42 Fix favorites creation by slug 2019-09-25 14:09:24 +03:00
littlewolf
a55695b120 Switch to decorator
Add update test
2019-09-24 20:12:09 +03:00
Kuroshini
1534c9b09c Remove unique
(cherry picked from commit f793c20)
2019-09-24 14:51:51 +03:00
Kuroshini
65914659e5 Slugs serializers 2019-09-24 12:31:35 +03:00
Kuroshini
6420a676df create slugs manually 2019-09-24 10:38:04 +03:00
Kuroshini
1ce71fdcdc slugs for news & establishments 2019-09-24 10:38:04 +03:00
evgeniy-st
83fddd63c3 fix migration establishment 2019-09-23 16:41:20 +03:00
d.kuzmenko
a0ff8eae56 Merge branch 'feature/establishment-tests-api-status' into 'develop'
Feature/establishment tests api status

See merge request gm/gm-backend!13
2019-09-23 12:20:13 +00:00
Anatoly
217c11b970 GM-124: Доработать модель establishment-а 2019-09-23 12:29:08 +03:00
littlewolf
9f89deb23b Fix establishment RUD serializer 2019-09-23 11:16:22 +03:00
littlewolf
7f973bbf52 Merge branch 'develop' into feature/establishment-tests-api-status 2019-09-20 16:00:39 +03:00
littlewolf
014931d2c4 Add plate tests
Add is_publish to serializer
Add TODO for is_publish
2019-09-20 15:39:53 +03:00
Anatoly
193ecfba7a fixed comments 2019-09-20 15:38:20 +03:00
Anatoly
09c9d666b5 rename image_url to image, preview_image_url to preview_image 2019-09-20 14:42:34 +03:00
Anatoly
413c93bead fixed problem with image, refactored favorites, collection 2019-09-20 13:35:59 +03:00
Dmitriy Kuzmenko
5a36613c97 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	apps/establishment/urls/back.py
2019-09-19 17:19:40 +03:00
Dmitriy Kuzmenko
2164e30aef chnage image field to image_url in establishments 2019-09-19 17:18:08 +03:00
Anatoly
2ce69eb003 added establishment tag identifier to TagListAPIView 2019-09-19 17:10:18 +03:00
Anatoly
a09d6b28f1 Merge branch 'feature/gm-80' into develop
# Conflicts:
#	apps/establishment/serializers/back.py
2019-09-19 14:32:10 +03:00
ВашÐВиктор ГладкихÐ
fd0a491e89 Merge branch 'develop' into feature/employee_crud 2019-09-19 10:10:31 +03:00
Semyon Yekhmenin
f700491d42 Added employee position priority 2019-09-19 07:02:45 +00:00
Anatoly
540a819f94 gm-80: in progress 2019-09-18 18:46:24 +03:00
ВашÐВиктор ГладкихÐ
a1ea35fce1 CRUD logic for employee 2019-09-18 18:12:49 +03:00
Semyon Yekhmenin
bb5e294d6e Fixed preview image crop 2019-09-18 13:52:09 +00:00
Kuroshini
4ee6306efb Add transportation text field to establishment model 2019-09-17 13:47:41 +03:00
Dmitriy Kuzmenko
15f02b72ca add email and phone api for establishments 2019-09-13 12:20:36 +03:00
Dmitriy Kuzmenko
10d9b52bec Merge remote-tracking branch 'origin/develop' into feature/backoffice 2019-09-12 18:27:04 +03:00
Dmitriy Kuzmenko
efac785248 add api for estab, social, plates, menu 2019-09-12 18:24:21 +03:00