Commit Graph

2451 Commits

Author SHA1 Message Date
Kuroshini
0607a56739 Revert "possible fix for similar distilleries"
This reverts commit 2197863
2020-01-15 16:47:04 +03:00
Anatoly
59c9c06d64 fix transfer location 2020-01-15 16:46:12 +03:00
Kuroshini
21978639bd possible fix for similar distilleries 2020-01-15 16:40:29 +03:00
alex
677d67cbc5 Merge remote-tracking branch 'origin/develop' into develop 2020-01-15 15:03:48 +03:00
alex
63cc029ce3 subscriptions read only 2020-01-15 15:03:38 +03:00
Anatoly
8f206f2a9c remove city gallery 2020-01-15 14:20:51 +03:00
Kuroshini
42885e8b4c International carousel 2020-01-15 13:45:22 +03:00
dormantman
7533579172 Added short weekday to tag filters 2020-01-15 13:24:53 +03:00
Anatoly
8cb0f51802 fix transfer command transfer_city_gallery, add field image to City model, fix serializer CityDetailSerializer 2020-01-15 13:22:54 +03:00
Anatoly
32ad122d9a set priority in Feature model as blank, and remove uniqueness constrait 2020-01-15 13:22:54 +03:00
alex
e4123d3ce9 preview_image to establishment and product type and subtype 2020-01-15 10:47:18 +03:00
a.gorbunov
7bc998ca94 fix regex for find images 2020-01-15 06:57:59 +00:00
a.gorbunov
210070b7cf fix regex for find images 2020-01-15 06:45:42 +00:00
alex
19b9e636c1 phones for cascade establishment 2020-01-15 09:20:09 +03:00
dormantman
660a46b895 Added short weekday to model 2020-01-15 01:10:52 +03:00
dormantman
67ab06022f Added short translated weekday for timetable 2020-01-15 01:01:27 +03:00
alex
0cf62353be fix role field 2020-01-14 22:06:53 +03:00
alex
9bd40b0191 Merge remote-tracking branch 'origin/develop' into develop 2020-01-14 22:04:25 +03:00
alex
1c4e141383 fix import error for role serializer 2020-01-14 22:04:11 +03:00
Kuroshini
24f0c25a3d Merge branch 'feature/auto-username' into develop
# Conflicts:
#	apps/utils/methods.py
2020-01-14 22:01:57 +03:00
dormantman
42190e0e28 Fix for front auth 2020-01-14 21:57:57 +03:00
Kuroshini
2492000ae6 try to fix issue w/ filters 2020-01-14 21:30:21 +03:00
Kuroshini
da9f393a52 try to fix issue w/ filters 2020-01-14 21:28:29 +03:00
dormantman
d2c03b0f37 Merge remote-tracking branch 'origin/feature/auto-username' into develop 2020-01-14 21:17:17 +03:00
Anatoly
6541070d1c Merge branch 'develop' into feature/navigation-bar
# Conflicts:
#	apps/main/serializers.py
2020-01-14 19:06:59 +03:00
Anatoly
5c95c4923f refactored roles, refactored response for User detail view 2020-01-14 18:40:30 +03:00
dormantman
49673d64af Added automatic username creation 2020-01-14 18:20:57 +03:00
a.gorbunov
c110dc3b96 optimize collection images 2020-01-14 18:18:17 +03:00
Kuroshini
440a263ea5 verbose news optimize command fix 2020-01-14 17:34:33 +03:00
Kuroshini
3f19699e1d supress issues w/ news images compression 2020-01-14 17:32:13 +03:00
dormantman
6dda459cc8 Fixed user authenticated 2020-01-14 17:18:41 +03:00
a.gorbunov
710eb274ed remove debug info. Cleanup code. Set default quality 2020-01-14 17:17:55 +03:00
Kuroshini
77cca6c6d7 resize photos 2020-01-14 17:17:55 +03:00
a.gorbunov
ba4c6901f9 quality calculate 2020-01-14 17:17:55 +03:00
a.gorbunov
e70e1d0a67 thumbnail alias for images in news description 2020-01-14 17:17:55 +03:00
anton
0672bcaef9 command for optimize news images 2020-01-14 17:17:55 +03:00
dormantman
d3d4578bc7 Auto creating subscriber 2020-01-14 17:13:45 +03:00
Олег Хаятов
b2d70ddbf0 Merge branch 'bug/similar_products' into 'develop'
fix sort by product type

See merge request gm/gm-backend!205
2020-01-14 14:06:09 +00:00
a.gorbunov
7c9d9e8ed1 filter by location 2020-01-14 13:51:01 +00:00
a.gorbunov
9edd3fef18 cleanup code 2020-01-14 13:48:55 +00:00
a.gorbunov
5e5d2832cd fix sort by product type 2020-01-14 13:39:25 +00:00
dormantman
a447dfa471 Added method subscribe with code 2020-01-14 15:59:50 +03:00
Dmitriy Kuzmenko
9aeedff81e Merge branch 'develop' into phone_list 2020-01-14 15:59:46 +03:00
Dmitriy Kuzmenko
b5eb5e89b8 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2020-01-14 15:41:13 +03:00
Dmitriy Kuzmenko
11b55e9f4c change chosen tag functional 2020-01-14 15:40:49 +03:00
Kuroshini
1ed384ded2 fix issue w/ tags translations 2020-01-14 14:44:15 +03:00
Dmitriy Kuzmenko
bc1a9ac496 add merge migrations 2020-01-14 10:56:49 +03:00
Dmitriy Kuzmenko
387f96b8bf Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2020-01-14 10:53:53 +03:00
Dmitriy Kuzmenko
fb00c7c3a3 add chosen tag 2020-01-14 10:53:43 +03:00
dormantman
da1fa9d83a Added agenda creating 2020-01-13 18:59:01 +03:00
Anatoly
c1186dd597 added field - "distillery_types" to ES, change country field properties in TagCategory model 2020-01-13 17:07:42 +03:00
alex
35d9f37fab fix serializer 2020-01-13 15:47:50 +03:00
alex
605a3e12e1 phone_list field create and update 2020-01-13 15:44:51 +03:00
dormantman
fdb0892377 Update unsubscribe url 2020-01-13 15:32:40 +03:00
dormantman
3506f6b2f0 Change templates 2020-01-13 14:34:11 +03:00
dormantman
9999096320 Added actions mailing 2020-01-13 14:01:58 +03:00
dormantman
469a246f49 Added subscribes notification 2020-01-13 13:37:19 +03:00
Kuroshini
2deb4b3b7f some code improvements 2020-01-13 12:47:07 +03:00
dormantman
114304b3c9 Reformat builder method 2020-01-13 12:45:52 +03:00
dormantman
bb7cd98b98 Added news locale check 2020-01-13 12:45:52 +03:00
dormantman
f048cf2e17 Mailing fixed 2020-01-13 12:45:52 +03:00
dormantman
6c47fb404b Fix news mailing 2020-01-13 12:45:52 +03:00
Kuroshini
3d030c91fe Merge remote-tracking branch 'origin/develop' into develop 2020-01-13 12:12:15 +03:00
Kuroshini
28c674702c fix news state update 2020-01-13 12:12:01 +03:00
alex
d6345f27e2 establishment menu currency id 2020-01-13 11:56:04 +03:00
Anatoly
b2f3e1f96b added field - "distillery_types" in establishment list, detail and similar list view 2020-01-13 11:50:54 +03:00
alex
d1572cbb56 rm publish filter from BO establishment api 2020-01-13 11:25:22 +03:00
Kuroshini
2c888d1c3a default ordering for BO establishments search 2020-01-13 11:16:02 +03:00
dormantman
62a66a80fb Added agenda validation in all methods 2020-01-11 07:56:21 +03:00
dormantman
bcf73897c8 Added agenda validation 2020-01-11 07:49:50 +03:00
dormantman
6e91a2ef92 Added non-required field agenda for methods 2020-01-11 07:27:37 +03:00
Kuroshini
dabc63647d fix 2020-01-10 19:56:53 +03:00
Kuroshini
8450e48d39 remove pagination 2020-01-10 19:42:44 +03:00
Kuroshini
591b67477f subscribe info fix 2020-01-10 19:36:09 +03:00
Kuroshini
41660933db ordering for backoffice establishments 2020-01-10 18:43:26 +03:00
Kuroshini
e1d417a9e6 add created establishment field to ES 2020-01-10 18:36:57 +03:00
Anatoly
0a3fe15e9c small refactoring (/.../establishments/slug/{slug}/similar/artisans/distilleries to /.../establishments/slug/{slug}/similar/producers/distilleries) 2020-01-10 17:25:27 +03:00
Anatoly
db8917e7af added two endpoints: /.../establishments/slug/{slug}/similar/producers/food/, /.../establishments/slug/{slug}/similar/artisans/distilleries/ 2020-01-10 17:25:27 +03:00
Олег Хаятов
de35a1c0d5 Merge branch 'feature/news-subscription' into 'develop'
Added unsubscribe action

See merge request gm/gm-backend!198
2020-01-10 13:16:21 +00:00
dormantman
2800f2f158 Fix unsubscribe bug 2020-01-10 16:11:10 +03:00
alex
989e9f9465 last country 2020-01-10 15:57:36 +03:00
Kuroshini
e8538d4fc2 unique slugs even in the same news object 2020-01-10 15:22:17 +03:00
Anatoly
23f8c0bbcd added field address_id to request data in /api/back/establishments/
in Establishment make as mandatory field address
2020-01-10 14:40:54 +03:00
alex
a16e76e393 last_ip middleware 2020-01-10 14:34:52 +03:00
alex
6ad4e0d46f last_ip 2020-01-10 14:27:00 +03:00
Kuroshini
a925d2f623 create est with address id #2 2020-01-10 14:04:11 +03:00
Kuroshini
c22fb3fb5c create est with address id 2020-01-10 14:01:59 +03:00
Anatoly
75e4077917 refactored structure of XML-document 2020-01-10 13:06:17 +03:00
dormantman
fcfebcd952 Added unsubscribe action 2020-01-09 19:46:12 +03:00
Anatoly
963e0597dc set username as non-required field on registration stage
(https://dev-krd.atlassian.net/browse/GM-304)
2020-01-09 17:57:10 +03:00
Dmitriy Kuzmenko
807f8b4169 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2020-01-09 17:47:26 +03:00
Dmitriy Kuzmenko
5041798020 add pagination for employee 2020-01-09 17:47:09 +03:00
alex
989d0d4abd Merge remote-tracking branch 'origin/develop' into develop 2020-01-09 16:29:45 +03:00
alex
30e25c2da0 fix EmployeeBackSerializers 2020-01-09 16:29:33 +03:00
Anatoly
a59016944c Merge branch 'develop' into feature/guides 2020-01-09 15:00:58 +03:00
Anatoly
b457ffe975 small changes 2020-01-09 14:59:29 +03:00
Kuroshini
fa8b4d6d97 chosen tags for recipes 2020-01-09 13:48:38 +03:00
Kuroshini
33a616ab96 fix transfer translation for news 2020-01-09 13:08:59 +03:00
Kuroshini
2bceb0b309 Merge branch 'feature/news-subscription' into develop 2020-01-09 11:49:53 +03:00
Kuroshini
0f8cf72cd8 Merge branch 'feature/news-subscription' into develop 2020-01-09 11:49:24 +03:00
dormantman
140cc6cfa5 Reformat sending mail structure 2019-12-31 16:09:04 +03:00
alex
54c3e452e2 bo search news 2019-12-31 09:20:50 +03:00
dormantman
241012da42 Added prefetch optimize 2019-12-31 05:29:48 +03:00
dormantman
d4e993abee Added country field 2019-12-31 05:13:36 +03:00
Kuroshini
7edd836a75 helping hand representation 2019-12-31 01:22:45 +03:00
Kuroshini
146f34cebe Merge branch 'feature/news-subscription' into develop
# Conflicts:
#	apps/notification/models.py
#	apps/notification/serializers/common.py
2019-12-31 00:41:20 +03:00
Kuroshini
af8febbe45 subscription work out #2 2019-12-30 23:41:58 +03:00
Kuroshini
3a6476fb06 subscriptions work out 2019-12-30 22:44:58 +03:00
dormantman
93aea70d29 Added saving date 2019-12-30 22:44:58 +03:00
dormantman
797d3a3973 Optimize 2019-12-30 22:44:58 +03:00
dormantman
e772663f44 Fix subsribtions 2019-12-30 22:44:58 +03:00
dormantman
e33418dfe6 Fix unsubscribe 2019-12-30 22:44:58 +03:00
dormantman
8567a818c7 Added corrections migrate 2019-12-30 22:44:58 +03:00
dormantman
54d1b7742f Reformat structure 2019-12-30 22:44:58 +03:00
dormantman
8108471c8e Added migrations 2019-12-30 22:44:58 +03:00
dormantman
ec00b3a24f Added correct creating subscribe 2019-12-30 22:44:58 +03:00
dormantman
08f675cdbc Added model Subscribe 2019-12-30 22:44:58 +03:00
dormantman
a8f053a646 Added last subscribe/unsubscribe dates 2019-12-30 22:44:58 +03:00
Kuroshini
fc215129ed subscriptions work out 2019-12-30 22:26:18 +03:00
dormantman
974e0ce8fe Added saving date 2019-12-30 22:23:16 +03:00
dormantman
25e118cf0b Optimize 2019-12-30 22:23:16 +03:00
dormantman
13022ed476 Fix subsribtions 2019-12-30 22:23:16 +03:00
dormantman
d9f1da1e49 Fix unsubscribe 2019-12-30 22:23:16 +03:00
dormantman
a76efac4a8 Added corrections migrate 2019-12-30 22:23:16 +03:00
dormantman
fe330e4270 Reformat structure 2019-12-30 22:23:16 +03:00
dormantman
449e0675fa Added migrations 2019-12-30 22:23:16 +03:00
dormantman
7baf022a77 Added correct creating subscribe 2019-12-30 22:23:16 +03:00
dormantman
eac841f41f Added model Subscribe 2019-12-30 22:23:16 +03:00
dormantman
fb91383be5 Added last subscribe/unsubscribe dates 2019-12-30 22:23:16 +03:00
Anatoly
d3c723eb43 intermediate commit 2019-12-30 19:07:06 +03:00
Anatoly
e56f801e14 Merge branch 'develop' into feature/guides 2019-12-30 18:16:24 +03:00
Anatoly
1468e5cdde intermediate commit 2019-12-30 18:15:55 +03:00
Kuroshini
ad21b6eb24 transfer tags with translations 2019-12-30 17:31:09 +03:00
alex
ca6a57f012 Merge remote-tracking branch 'origin/develop' into develop 2019-12-30 16:38:51 +03:00
alex
6b52feffd8 fix similar_artisans_producers 2019-12-30 16:38:42 +03:00
Dmitriy Kuzmenko
b27e032f15 change update index for Establishment 2019-12-30 16:36:00 +03:00
Anatoly
cb6834b3c0 Merge branch 'develop' into feature/guides 2019-12-30 13:23:28 +03:00
Anatoly
2827374911 intermediate commit 2019-12-30 13:22:57 +03:00
d.kuzmenko
700d8b5286 Merge branch 'feature/fix-location-sort' into 'develop'
Add order

See merge request gm/gm-backend!189
2019-12-30 07:45:00 +00:00
a.feteleu
8f2ae21aa0 fix swagger 2019-12-30 10:43:20 +03:00
Dmitriy Kuzmenko
e2d71fca8f Merge branch 'develop' into feature/guides 2019-12-27 18:00:20 +03:00
Dmitriy Kuzmenko
ccd9f717df Merge remote-tracking branch 'origin/feature/guides' into feature/guides
# Conflicts:
#	apps/utils/export.py
2019-12-27 17:59:20 +03:00
Dmitriy Kuzmenko
d09776c8fa add xml 2019-12-27 17:57:16 +03:00
Anatoly
151c017561 see changes 2019-12-27 17:49:56 +03:00
alex
dbdeef8642 Merge remote-tracking branch 'origin/develop' into develop 2019-12-27 17:39:57 +03:00
alex
c9d36ebd1a fix product es 2019-12-27 17:39:47 +03:00
Kuroshini
768a01e119 return in_favorites flag 2019-12-27 17:39:05 +03:00
d.kuzmenko
c32c950260 Merge branch 'feature/profile' into 'develop'
Feature/profile

See merge request gm/gm-backend!190
2019-12-27 13:57:31 +00:00
Виктор Гладких
4e82d5275a Fix 2019-12-27 16:55:01 +03:00
Kuroshini
ea20d6d4c1 remove lookups from subtypes 2019-12-27 16:52:10 +03:00
Виктор Гладких
ab5bb5c190 Merge branch 'develop' into feature/profile 2019-12-27 16:35:57 +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
Anatoly
f42f571053 see changes 2019-12-27 15:59:15 +03:00
Kuroshini
57c7f0dcdf fix ES 2019-12-27 15:56:37 +03:00
Kuroshini
57be30fa0e fix es establishments serializer 2019-12-27 14:49:35 +03:00
Anatoly
b41c185a65 see changes 2019-12-27 14:46:36 +03:00
alex
ae486d81fa city filter for establishment 2019-12-27 14:32:09 +03:00
alex
32ae1856b6 preview_image to establishment and product type and subtype 2019-12-27 12:42:45 +03:00
alex
b958e0b597 preview_image fix 2019-12-27 11:16:38 +03:00
alex
e3d7618c62 preview_image to establishment and product type and subtype 2019-12-27 09:47:48 +03:00
Kuroshini
8abb582e49 fix patch news BO 2019-12-26 19:23:28 +03:00
Kuroshini
0da58133fc Fix news patch 2019-12-26 18:34:59 +03:00
Dmitriy Kuzmenko
02d0112d8b add export for guides 2019-12-26 18:11:48 +03:00
alex
396921fa75 fix GM-318 2019-12-26 16:02:17 +03:00
Kuroshini
7648e478f5 allow city main image changing 2019-12-26 15:00:05 +03:00
littlewolf
2651ad1a29 Add order 2019-12-26 14:19:26 +03:00
alex
668bc92b97 fix print 2019-12-26 10:45:17 +03:00
alex
0152538333 author for review text 2019-12-26 10:33:27 +03:00
Anatoly
1189b6ff58 see changes 2019-12-26 10:24:08 +03:00
Anatoly
cbe03b2f5a Merge branch 'develop' into feature/guides 2019-12-25 22:16:48 +03:00
Anatoly
986936fdf5 Merge remote-tracking branch 'origin/feature/guides' into feature/guides
# Conflicts:
#	apps/collection/views/back.py
2019-12-25 22:15:22 +03:00
Anatoly
d9df886b98 added guide type field, added tasks, refactored GuideElement model, added endpoint, 2019-12-25 22:14:35 +03:00
Kuroshini
ac2dc2344e try to fix issue w/ news elastic update 2019-12-25 18:50:59 +03:00
Kuroshini
f3c48281d4 back office news reformat 2019-12-25 18:09:58 +03:00
d.kuzmenko
61eca800fc Merge branch 'review_users' into 'develop'
Review users

See merge request gm/gm-backend!188
2019-12-25 12:54:11 +00:00
alex
d173664750 rm comments 2019-12-25 15:35:55 +03:00
Dmitriy Kuzmenko
d7c7880860 add counter for public_mark and change Guid serializer 2019-12-25 15:19:43 +03:00
Kuroshini
cd194b79bd fix artisans chosen tags 2019-12-25 14:05:48 +03:00
Kuroshini
432873da31 fix main_image for news
(cherry picked from commit 8ca213a)
2019-12-25 13:48:32 +03:00
alex
bc0db915be author for review text 2019-12-25 09:15:36 +03:00
alex
8a34ef6477 Merge remote-tracking branch 'origin/develop' into review_users 2019-12-25 09:15:13 +03:00
littlewolf
670da807af Fix fake country flag 2019-12-24 14:10:47 +03:00
alex
92e5f7a40b signals for text field 2019-12-24 13:40:27 +03:00
Anatoly
65746b1cd0 Merge branch 'develop' into feature/guides
# Conflicts:
#	apps/collection/models.py
2019-12-24 12:33:39 +03:00
Anatoly
62e12d8570 Merge remote-tracking branch 'origin/feature/fix-country-region-city-transfer' into feature/fix-country-region-city-transfer
# Conflicts:
#	apps/location/models.py
2019-12-24 12:25:42 +03:00
Anatoly
d9e45702ec merge 2019-12-24 12:24:13 +03:00
Anatoly
858b6f3544 Merge branch 'develop' into feature/fix-country-region-city-transfer
# Conflicts:
#	apps/location/models.py
#	apps/transfer/serializers/news.py
#	apps/utils/models.py
2019-12-24 12:10:16 +03:00
littlewolf
d4c2af9d65 Fix country 2019-12-24 11:53:46 +03:00
alex
069a2ad2a8 review text author model 2019-12-24 11:35:20 +03:00
littlewolf
0c2dacb3bf Merge branch 'develop' into feature/fix-country-region-city-transfer
# Conflicts:
#	apps/location/models.py
#	apps/transfer/serializers/news.py
#	apps/utils/models.py
2019-12-24 11:03:08 +03:00
alex
18d6c10120 footer links 2019-12-24 10:29:48 +03:00
Anatoly
db5c879459 refactored method to get similar list on entities (see todo: establishment/models.py) 2019-12-23 17:53:48 +03:00
Semyon Yekhmenin
28331e5274 Implemented filtering carousel entries by country code when country code specified and international carousel when not 2019-12-23 14:39:45 +00:00
Dmitriy Kuzmenko
63304aa2d1 add merge migrations 2019-12-23 17:16:33 +03:00
d.kuzmenko
cd7ba1996d Merge branch 'feature/collection-slugs' into 'develop'
Feature/collection slugs

See merge request gm/gm-backend!181
2019-12-23 14:09:27 +00:00
Dmitriy Kuzmenko
6e35713772 add merge migrations 2019-12-23 17:07:49 +03:00
Dmitriy Kuzmenko
2580b9f218 Merge branch 'develop' into feature/collection-slugs
# Conflicts:
#	requirements/base.txt
2019-12-23 16:57:24 +03:00
d.kuzmenko
56ed5432e3 Merge branch 'fix/file-upload-size' into 'develop'
Fixed upload size limit

See merge request gm/gm-backend!161
2019-12-23 13:50:35 +00:00
Semyon Yekhmenin
3ff7246bea Feature/subscription types 2019-12-23 13:50:09 +00:00