Commit Graph

812 Commits

Author SHA1 Message Date
evgeniy-st
62fbded6de added todo 2019-09-27 11:41:13 +03:00
Виктор Гладких
c7974a7511 Refactor authorization test 2019-09-27 11:33:49 +03:00
evgeniy-st
993e58d215 fix views after merge 2019-09-27 11:20:43 +03:00
Виктор Гладких
d115d30e82 Fix test authorization 2019-09-27 11:19:49 +03:00
Виктор Гладких
aa037d27f5 Double api 2019-09-27 10:43:24 +03:00
evgeniy-st
6806d0b216 Merge branch 'develop' into feature/refactor-establishments 2019-09-27 10:20:30 +03:00
evgeniy-st
403a60623a Merge branch 'develop' into feature/refactor-establishments 2019-09-27 10:05:15 +03:00
michail
962dc2f480 maybe it is solution 2019-09-27 12:01:30 +05:00
michail
9608fdb92a property was added to news model 2019-09-27 11:30:58 +05:00
michail
b1b9ab5ab2 First commit 2019-09-27 11:14:18 +05:00
littlewolf
44f792db0c Switch sorting 2019-09-27 07:58:21 +03:00
littlewolf
4f2bca78f9 Update tests
Update view
2019-09-27 07:52:57 +03:00
littlewolf
5793eaad32 Add queryset mixin
Switch view in urls/common
Add homepage view
Switch test
2019-09-26 20:17:50 +03:00
Anatoly
14ae75f088 gm-148: refactored news serializer 2019-09-26 18:38:57 +03:00
Kuroshini
87999830d1 Remove description from search results 2019-09-26 17:53:21 +03:00
Kuroshini
ae00c30fac Fix test 2019-09-26 17:50:07 +03:00
Kuroshini
fec3a2f6bc Reformat establishment elastic location for api 2019-09-26 17:46:07 +03:00
Kuroshini
e0d09486c2 Revert "address coordinates in get api queries"
This reverts commit f21b400
2019-09-26 17:40:35 +03:00
Kuroshini
2fe0ce86d3 Refactor elastic serializer 2019-09-26 17:40:09 +03:00
Kuroshini
441c16281d format api elastic results 2019-09-26 17:23:55 +03:00
Kuroshini
f21b4005aa address coordinates in get api queries 2019-09-26 16:39:30 +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
Anatoly
c4d8b89a8d gm-127: finished 2019-09-26 14:19:01 +03:00
Anatoly
0e0d6e318e GM-127: finished 2019-09-26 14:12:49 +03:00
Виктор Гладких
7c0e505798 commit changes 2019-09-26 11:48:05 +03:00
Виктор Гладких
40d9f2f2ed check 2019-09-26 11:45:26 +03:00
Dmitriy Kuzmenko
0fc89e7053 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-26 11:39:58 +03:00
Dmitriy Kuzmenko
6ea876cdc6 test small fix 2019-09-26 11:39:48 +03:00
Виктор Гладких
86d754f4bb validate json translated field 2019-09-26 11:38:37 +03:00
d.kuzmenko
9f83f42742 Merge branch 'notification-tests' into 'develop'
Add notification tests

See merge request gm/gm-backend!23
2019-09-26 08:35:03 +00: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
d.kuzmenko
169f0db834 Merge branch 'feature/location-tests' into 'develop'
Feature/location tests

See merge request gm/gm-backend!25
2019-09-26 08:33:57 +00:00
d.kuzmenko
2721071e4a Merge branch 'feature/fix-news-urls' into 'develop'
Fixed urls and tests for news

See merge request gm/gm-backend!26
2019-09-26 08:33:14 +00:00
d.kuzmenko
0e4b714d2f Merge branch 'feature/update-establishment-slug-urls' into 'develop'
Feature/update establishment slug urls

See merge request gm/gm-backend!29
2019-09-26 08:32:27 +00:00
d.kuzmenko
218787bec1 Merge branch 'hotfix/favorites-create' into 'develop'
Fix favorites creation by slug

See merge request gm/gm-backend!27
2019-09-26 08:31:52 +00:00
littlewolf
3279fce339 Update tests 2019-09-26 11:19:06 +03:00
Kuroshini
c2bd4b7da8 add slug && preview_image_url to search results 2019-09-25 19:58:25 +03:00
littlewolf
877d3d9e6a Fix test
Add todo to fix error
2019-09-25 19:44:33 +03:00
Anatoly
207e35feb1 GM-127: in progress 2019-09-25 19:39:37 +03:00
Kuroshini
d8dd1fd7d6 Fix carousel field types 2019-09-25 19:00:10 +03:00
littlewolf
cabee12fab Add comment tests
Add favorite tests
2019-09-25 18:58:52 +03:00
littlewolf
07a0f8e295 Temp commit 2019-09-25 17:34:11 +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
a2ade761b4 Update web urls 2019-09-25 14:04:52 +03:00
Anatoly
8766388256 fixed similar establishments 2019-09-25 13:16:02 +03:00
Anatoly
90c9e321f7 fixed similar establishments 2019-09-25 13:05:07 +03:00
Anatoly
0e643a1dfa Merge branch 'develop' of /home/a.feteleu/projects/gm-backend with conflicts. 2019-09-25 12:23:25 +03:00
michail
cf19904349 Fixed urls and tests for news 2019-09-25 13:17:24 +05:00
littlewolf
617beb652f Add test to modified item 2019-09-25 11:12:17 +03:00
littlewolf
6bbbd1d6fe Switch decorator to validate 2019-09-25 11:11:12 +03:00
littlewolf
2261875d3c Fix tests 2019-09-24 21:36:59 +03:00
littlewolf
c50bdc8637 Add city tests 2019-09-24 21:34:21 +03:00
littlewolf
7455d2c856 Add region tests 2019-09-24 21:30:59 +03:00
littlewolf
6b3558e3ac Add country tests 2019-09-24 21:28:11 +03:00
littlewolf
d62cee341c Add address tests 2019-09-24 21:03:50 +03:00
littlewolf
d006184b14 Fix update 2019-09-24 20:22:27 +03:00
littlewolf
a55695b120 Switch to decorator
Add update test
2019-09-24 20:12:09 +03:00
Anatoly
77d39954c3 added ordering to list of favorites 2019-09-24 17:54:22 +03:00
Kuroshini
ecdf2fcaa0 Change slugs and str url order 2019-09-24 16:45:36 +03:00
littlewolf
2f61df2c65 Add address CRUD tests 2019-09-24 16:20:04 +03:00
Виктор Гладких
7e5844a24f Fix test auth 2019-09-24 16:06:31 +03:00
michail
a83a62b26b Add notification tests 2019-09-24 17:32:18 +05:00
littlewolf
82d29d2795 Add signal 2019-09-24 15:17:08 +03:00
Виктор Гладких
9e47945f40 Merge branch 'develop' into account_test 2019-09-24 15:08:12 +03:00
Виктор Гладких
67a5f8b2f0 Test web account 2019-09-24 15:07:00 +03:00
Kuroshini
1534c9b09c Remove unique
(cherry picked from commit f793c20)
2019-09-24 14:51:51 +03:00
d.kuzmenko
d627df41c0 Merge branch 'feature/slugs-in-path' into 'develop'
Feature/slugs in path

See merge request gm/gm-backend!20
2019-09-24 11:05:37 +00:00
Виктор Гладких
28ae1ab8d1 Test reset password 2019-09-24 14:03:55 +03:00
littlewolf
eebd66fa27 Add tests to created_by and modified_by 2019-09-24 13:35:05 +03:00
Kuroshini
f49ea12108 Remove unnecessary field 2019-09-24 12:39:08 +03:00
Kuroshini
0b5e40640c Remove test url 2019-09-24 12:36:52 +03:00
evgeniy-st
33055df2ae GeoIP: update logger level 2019-09-24 12:31:52 +03:00
Kuroshini
65914659e5 Slugs serializers 2019-09-24 12:31:35 +03:00
Виктор Гладких
2ad2b3b56d Refactor 2019-09-24 12:13:39 +03:00
Kuroshini
d224c77a01 Fix issues with test && recreate migrations 2019-09-24 12:06:11 +03:00
d.kuzmenko
94f028ce68 Merge branch 'account_test' into 'develop'
Account test

See merge request gm/gm-backend!21
2019-09-24 08:28:54 +00:00
Виктор Гладких
b091da3f56 Fix 2019-09-24 11:07:07 +03:00
Kuroshini
2cc0d01d79 Fix issues after rebase 2019-09-24 10:38:04 +03:00
Kuroshini
73a858cc8c Slugs feature migrations 2019-09-24 10:38:04 +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
Виктор Гладких
199ca1fa77 Refactor test code 2019-09-24 10:25:44 +03:00
d.kuzmenko
fb93231650 Merge branch 'feature/translation-tests' into 'develop'
Add translation tests to model and API

See merge request gm/gm-backend!19
2019-09-24 06:52:32 +00:00
d.kuzmenko
160bc9e0ff Merge branch 'feature/favorites-tests' into 'develop'
Add favorites tests

See merge request gm/gm-backend!18
2019-09-24 06:49:57 +00:00
Виктор Гладких
7f630e9e94 Test web email confirm 2019-09-24 09:23:57 +03:00
Виктор Гладких
afce9493e9 Merge branch 'develop' into account_test 2019-09-24 09:09:53 +03:00
littlewolf
80701f27a9 Add translation tests to model and API 2019-09-23 18:02:25 +03:00
Виктор Гладких
22c237c3d7 add test confirm email 2019-09-23 18:01:06 +03:00
Виктор Гладких
70f9100813 Add test for change-password 2019-09-23 17:31:51 +03:00
evgeniy-st
b4320ab4a6 End of news may be None 2019-09-23 17:17:42 +03:00
evgeniy-st
fd265a397b Update NewsBaseSerializer 2019-09-23 16:53:33 +03:00
Виктор Гладких
31f6c2c53a Merge branch 'develop' into account_test 2019-09-23 16:47:25 +03:00
evgeniy-st
8f60937e4b Fix migration collection 2019-09-23 16:44:28 +03:00
evgeniy-st
83fddd63c3 fix migration establishment 2019-09-23 16:41:20 +03:00
Виктор Гладких
77b9d3f4a7 Test account 2019-09-23 16:38:57 +03:00
michail
b75ac46c88 Add favorites tests 2019-09-23 18:38:39 +05:00
Виктор Гладких
b57eb29b1c Merge branch 'develop' into account_test 2019-09-23 16:20:00 +03:00
Виктор Гладких
6e4d2f738f Test for /api/web/account/user/ 2019-09-23 16:18:36 +03:00
evgeniy-st
d424704cec fix migration 2019-09-23 16:13:48 +03:00
evgeniy-st
fdf2974ee5 Merge branch 'feature/refactor-news' into develop 2019-09-23 16:11:20 +03:00
evgeniy-st
009533d764 Tags & disable elasticsearch indexing 2019-09-23 16:06:40 +03:00
d.kuzmenko
524a2d814d Merge branch 'feature/collection-tests-api-status' into 'develop'
Feature/collection tests api status

See merge request gm/gm-backend!17
2019-09-23 12:51:28 +00:00
evgeniy-st
dc4b63d8b2 Refactor news 2019-09-23 15:35:37 +03:00
Виктор Гладких
23759974d9 Add account/user/ test for GET 2019-09-23 15:34:40 +03:00
littlewolf
eca921592d Fix guide parent 2019-09-23 15:28:59 +03:00
littlewolf
b4a2893fcd Add tests to guide 2019-09-23 15:27:38 +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
d.kuzmenko
0a96464f78 Merge branch 'feature/news-tests' into 'develop'
Add news tests

See merge request gm/gm-backend!14
2019-09-23 12:19:07 +00:00
d.kuzmenko
83f75a361e Merge branch 'feature/partner-tests' into 'develop'
Add partner tests

See merge request gm/gm-backend!15
2019-09-23 12:18:00 +00:00
Виктор Гладких
b69822444a Refactor tests for authorization 2019-09-23 15:06:55 +03:00
michail
06764d05e8 Add recipe tests 2019-09-23 16:21:48 +05:00
littlewolf
aedcd795a9 Fix establishment model 2019-09-23 14:21:05 +03:00
littlewolf
466c0f80d7 Add list read test
Add detail read test
2019-09-23 14:17:19 +03:00
Anatoly
2c43a37108 GM-125: Доработать авторизацию через FB 2019-09-23 12:49:14 +03:00
Anatoly
202aabf15e GM-124: added establishment migration 2019-09-23 12:40:27 +03: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
Anatoly
20766768d8 fixed establishment filter by geo 2019-09-23 10:12:14 +03:00
michail
b8c734f5e6 Add partner tests 2019-09-22 15:37:51 +05:00
michail
7729ab5653 Add news tests 2019-09-21 17:44:27 +05:00
Anatoly
07d17d5bf1 refactored similar establishment endpoint 2019-09-20 16:55:04 +03:00
littlewolf
eaac6ca885 Fix 2019-09-20 16:47:20 +03:00
littlewolf
4e495fa47d Remove debug 2019-09-20 16:42:35 +03:00
littlewolf
e39bc835fd Fix class name 2019-09-20 16:41:24 +03:00
littlewolf
0d7b26bbb2 Add update tests 2019-09-20 16:40:53 +03:00
littlewolf
85fef10eb3 Fix establishment tests 2019-09-20 16:28:23 +03:00
littlewolf
aaff7fd3ba Add schedule tests 2019-09-20 16:22:41 +03:00
littlewolf
2d8b30c3ee Add patch test to plates class 2019-09-20 16:10:51 +03:00
Anatoly
277c7ba2eb added field old_password to endpoint for change user password 2019-09-20 16:08:23 +03:00
littlewolf
7f973bbf52 Merge branch 'develop' into feature/establishment-tests-api-status 2019-09-20 16:00:39 +03:00
littlewolf
df0afc5653 Fix plates RUD view 2019-09-20 16:00:16 +03:00
littlewolf
2f74c63fd9 Fix plate tests
Add menu tests
2019-09-20 15:58:23 +03:00
Dmitriy Kuzmenko
1e1b09660d fix news_type 2019-09-20 15:55:37 +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
5f3947601a rename url path collection to collections, delete property in M2M field 2019-09-20 15:11:33 +03:00
littlewolf
e616d3970c Add class to test childs 2019-09-20 14:55:34 +03:00
littlewolf
ee93905556 Add phone tests 2019-09-20 14:49:04 +03:00
Anatoly
09c9d666b5 rename image_url to image, preview_image_url to preview_image 2019-09-20 14:42:34 +03:00
littlewolf
00d8f09881 Add email tests 2019-09-20 14:42:00 +03:00
littlewolf
49d2070544 Add establishment tests 2019-09-20 14:31:02 +03:00
Anatoly
2089ca067a chane FK to URLField in Collection model, added properties to field collections in Establishment model 2019-09-20 14:22:39 +03:00
Anatoly
413c93bead fixed problem with image, refactored favorites, collection 2019-09-20 13:35:59 +03:00
evgeniy-st
d2075a1bf8 Initial app Product 2019-09-20 12:13:26 +03:00
Sergey Melihov
2a79018f76 Merge branch 'feature/employee_crud' into 'develop'
Feature/employee crud

See merge request gm/gm-backend!11
2019-09-20 06:39:20 +00:00
evgeniy-st
e5f4c27495 Fix establishment search 2019-09-19 18:27:47 +03:00
evgeniy-st
2cb4d22a94 Add in_favorites into models 2019-09-19 18:18:19 +03:00
ВашÐВиктор ГладкихÐ
4a08abbfd9 employee test crd 2019-09-19 18:02:43 +03:00
Dmitriy Kuzmenko
b23a79775d add merge for migrations 2019-09-19 17:57:30 +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
ВашÐВиктор ГладкихÐ
d3238f50c2 add login test 2019-09-19 17:06:38 +03:00
Anatoly
00925b7e0a fixed tag list 2019-09-19 17:02:27 +03:00
Anatoly
1db37a7cee fixed tag list 2019-09-19 16:56:00 +03:00
Anatoly
8d94279dbc fixed migration for app advertisement, added choice to PlatformMixin 2019-09-19 16:46:33 +03:00
ВашÐВиктор ГладкихÐ
356ea9465b add get_tokkens and add cookies 2019-09-19 16:25:57 +03:00
ВашÐВиктор ГладкихÐ
3095b5940f modify base test for route 'employees' 2019-09-19 15:40:07 +03:00
ВашÐВиктор ГладкихÐ
4e47a5b7a4 add base test for route 'employees' 2019-09-19 15:33:23 +03:00
evgeniy-st
c85ec699f0 Merge branch 'feature/recipe' into develop 2019-09-19 14:56:26 +03:00
evgeniy-st
c26ca72f72 added in_favorites to recipe endpoints 2019-09-19 14:55:50 +03:00
Anatoly
306a6010e8 added merge migration 2019-09-19 14:37:01 +03:00
Anatoly
5f42039068 Merge branch 'feature/gm-80' into develop 2019-09-19 14:34:47 +03:00
Anatoly
24f364084e gm-80: refactored 2019-09-19 14:34:36 +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
Anatoly
09450a1ae5 gm-80: complete 2019-09-19 14:30:32 +03:00
evgeniy-st
cace6a7d3b Recipe list&detail api-endpoints 2019-09-19 14:22:40 +03:00
evgeniy-st
297f5daba8 Merge branch 'develop' into feature/recipe 2019-09-19 12:56:23 +03:00
evgeniy-st
140172a17d merge migrations 2019-09-19 12:55:58 +03:00
evgeniy-st
4de2ca4ef1 Recipe app&model 2019-09-19 11:57:58 +03:00
Anatoly
38ba443b47 gm-80: complete 2019-09-19 11:26:54 +03:00
ВашÐВиктор ГладкихÐ
fd0a491e89 Merge branch 'develop' into feature/employee_crud 2019-09-19 10:10:31 +03:00
Semyon Yekhmenin
e2e7734bf2 Feature/advertisements update 2019-09-19 07:05:32 +00: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
evgeniy-st
06c518501d fix migrations 2019-09-18 16:42:06 +03:00
evgeniy-st
8e0b19b8b0 ES. Establishment type & subtypes 2019-09-18 16:40:07 +03:00
evgeniy-st
4005fad64a Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-18 16:06:01 +03:00
evgeniy-st
4be007aade ES: geo spatial filter 2019-09-18 16:05:42 +03:00
Semyon Yekhmenin
28e8bac84e Added priority to site features 2019-09-18 12:51:39 +00:00
evgeniy-st
3f55e001cc ES. Establishment. filter by collection_type 2019-09-18 15:05:28 +03:00
Anatoly
6e7a617a67 Added field - vintage_year, absolute image_url to Carousel ListAPIView 2019-09-18 13:14:57 +03:00
Anatoly
af0c134957 Fixed docs 2019-09-18 12:16:32 +03:00
Anatoly
4a3e028c3a Fixed reset password 2019-09-18 11:50:39 +03:00
evgeniy-st
51d0ae0d60 Merge branch 'develop' into feature/elasticsearch-establishment-tags 2019-09-18 11:47:55 +03:00
evgeniy-st
39b2fc49b5 ES Establishment tags. indexing & search 2019-09-18 11:46:53 +03:00
Dmitriy Kuzmenko
20fe40010c Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-18 11:41:43 +03:00
Dmitriy Kuzmenko
e9bf129f82 add api locations for back office 2019-09-18 11:39:46 +03:00
Anatoly
61fc78eeb9 fixed cookie settings for stage server 2019-09-18 11:28:00 +03:00
Anatoly
784728d155 Facebook auth return user email; fixed URL in templates 2019-09-18 11:21:27 +03:00
evgeniy-st
2908286e6c price_level & toque_number settings 2019-09-18 10:50:00 +03:00
evgeniy-st
6e4e1b214d Merge branch 'develop' into feature/elasticsearch-establishment-address 2019-09-17 17:34:22 +03:00
evgeniy-st
e67d7767a1 Elasticsearch: establishment address. Filter by country_id, country_code 2019-09-17 17:33:07 +03:00
Dmitriy Kuzmenko
ccc1660e1f Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-17 17:16:48 +03:00
Dmitriy Kuzmenko
c3717ecfd9 merge transportation 2019-09-17 17:16:35 +03:00
Anatoly
69f1a5cf48 GM-73 added ordering 2019-09-17 17:16:21 +03:00
Dmitriy Kuzmenko
6d873d66a2 Merge remote-tracking branch 'origin/feature/establishment_transportation_field' into develop
# Conflicts:
#	apps/establishment/models.py
2019-09-17 17:07:29 +03:00
Anatoly
75f75ba3fd Merge branch 'develop' into feature/gm-73 2019-09-17 15:37:07 +03:00
Anatoly
27a1998dbc GM-73: Логика похожих ресторанов 2019-09-17 15:36:33 +03:00
Kuroshini
4ee6306efb Add transportation text field to establishment model 2019-09-17 13:47:41 +03:00
evgeniy-st
7a021a1435 update establishment search view 2019-09-16 17:56:51 +03:00
evgeniy-st
db5ff7afcd update settings, update establishment document 2019-09-16 11:21:14 +03:00
evgeniy-st
8e864d32b9 Merge branch 'develop' into feature/elasticsearch 2019-09-16 10:58:09 +03:00
Anatoly
0043b1a8c1 Merge branch 'feature/gm-25' into develop 2019-09-16 09:38:52 +03:00
Anatoly
306cb76e1c GM-25: Added comments 2019-09-16 09:35:20 +03:00
Anatoly
555aa9a4e1 GM-25: Получение главной зоны 2019-09-13 18:08:36 +03:00
Anatoly
30875958ea increase access token lifetime to 30 days and unregister unused models in admin page 2019-09-13 12:37:03 +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
Anatoly
1e650b9b1f replace ImageFields to URLFields in User model, refactored serializers that included this fields 2019-09-12 18:10:52 +03:00
Anatoly
e4eedd8af2 Merge remote-tracking branch 'origin/feature/nearest_restaurants' into develop
# Conflicts:
#	apps/establishment/views.py
2019-09-12 17:36:52 +03:00
Anatoly
f45ac7e7fe fixed establishment detail 2019-09-12 17:33:55 +03:00
Anatoly
c768228bc9 Merge branch 'feature/gm-26' into develop 2019-09-12 16:18:57 +03:00
Anatoly
1ee21edb8e added endpoint to retrieve establishment tags 2019-09-12 16:18:42 +03:00
Anatoly
075298f6ec refactored apps account, authorization, news, utils 2019-09-12 14:44:49 +03:00
Semyon
bdc2c327f6 Registered path for nearest establishments 2019-09-12 14:25:03 +03:00
Semyon
5943839eda Added view for nearest establishments 2019-09-12 14:24:48 +03:00
Anatoly
2c41e532c8 fixed ChangePasswordView 2019-09-12 09:33:09 +03:00
Anatoly
f8c795cd03 added redirect for ConfirmEmail and ResetPassword 2019-09-11 18:53:02 +03:00
Anatoly
cf884ed906 fixed UserSerializer, PasswordResetSerializer 2019-09-11 12:07:30 +03:00
Anatoly
434df203da fixed account detail 2019-09-10 18:03:01 +03:00
Anatoly
530ce38527 fixed account detail 2019-09-10 17:53:50 +03:00
Anatoly
7e468c539a change project settings 2019-09-10 15:35:24 +03:00
a.feteleu
cf1c10d6ec Revert "small refactoring favorites"
This reverts commit a4d7430379
2019-09-10 12:19:00 +00:00
Anatoly
500e470b39 Added CORSMiddleware 2019-09-10 15:01:10 +03:00
evgeniy-st
c58d3bae36 Tags indexing and search (by id) 2019-09-10 12:58:39 +03:00
Anatoly
a4d7430379 small refactoring favorites 2019-09-10 12:19:21 +03:00
Anatoly
0647c46292 GM-68: Реализовать метод возвращения списка избранного для пользователя 2019-09-10 12:00:32 +03:00
Anatoly
96ecdc69ca fixed UserSerializer 2019-09-10 09:45:48 +03:00
Anatoly
40605ff123 change flag is_active after authorization 2019-09-09 18:00:17 +03:00
Anatoly
89830ffdac small fix 2019-09-09 17:12:03 +03:00
Anatoly
64b101516d GM-81: Доарботать механизм авторизации при невалидированном email и изменении email 2019-09-09 15:45:51 +03:00
evgeniy-st
9fab4454a0 Establishment index 2019-09-09 15:39:31 +03:00
evgeniy-st
87efc50d94 translated field into serializer 2019-09-09 14:55:44 +03:00
Anatoly
efe1539dad Refactored ImageSerializer 2019-09-09 13:14:43 +03:00
Anatoly
808178d56c GM-70: Добавить пагинацию комментариев в карточке ресторанов 2019-09-09 13:12:48 +03:00
evgeniy-st
b326d7b8fd Overrided searchfilterbackend 2019-09-09 12:00:53 +03:00
Anatoly
273f74f911 added flag in_favorites in establishment 2019-09-09 11:37:57 +03:00
Anatoly
2f5240adfa GM-67: Внедрить передачу флага нахождения заведения в избранном пользователя 2019-09-09 11:36:17 +03:00
Anatoly
7577ad330c union favorites create/destroy in one endpoint 2019-09-09 10:47:38 +03:00
Anatoly
0f6786fb13 favorites refactoring 2019-09-09 10:25:34 +03:00
Anatoly
e6144d8f33 small fix 2019-09-09 09:25:38 +03:00
Anatoly
1848bafd64 added new model favorites 2019-09-06 17:55:17 +03:00
evgeniy-st
43804ae5ab some fixes 2019-09-06 17:34:21 +03:00
evgeniy-st
b6a3aa4264 update subscriber serializer 2019-09-06 14:54:11 +03:00
evgeniy-st
99011ba15a Initial search indexes app 2019-09-06 14:52:52 +03:00
Anatoly
e1d6455e81 added field cropped_image to User model 2019-09-06 13:47:37 +03:00
Anatoly
5449891394 added validation to UserSerializer 2019-09-06 11:55:56 +03:00
Anatoly
20921719d3 refactored account 2019-09-06 11:45:30 +03:00
Anatoly
742d700d3c refactored comments 2019-09-06 11:06:02 +03:00
Anatoly
411207868f added field newsletter to UserSerializer 2019-09-05 17:24:27 +03:00
Anatoly
defe6abf4c refactored account and authorization endpoints 2019-09-05 17:19:10 +03:00
Anatoly
111e859f74 refactored establishment serializers 2019-09-05 15:50:52 +03:00
Anatoly
a133cfe1dd added default value of is_main flag in comment section for establishments 2019-09-05 11:53:48 +03:00
Anatoly
3cac53c77d fixed comments in establishment list or detail endpoints 2019-09-05 10:32:44 +03:00
Anatoly
c6cbb9bd36 fixed return in establishment serializer last published review 2019-09-05 09:54:43 +03:00
Anatoly
605c81b33c replace comment model from establishment app, added new app comment 2019-09-04 18:47:06 +03:00
Anatoly
d085eb4abf Merge branch 'feature/authorization' into develop 2019-09-04 12:42:45 +03:00
Anatoly
5403f0d325 refactored: login, logout, refresh token, change email, confirm email, reset password endpoints 2019-09-04 12:42:23 +03:00
evgeniy-st
d094f055d2 fix counties endpoint 2019-09-04 11:21:31 +03:00
evgeniy-st
537735d193 sites endpoint 2019-09-04 10:35:37 +03:00
evgeniy-st
aa88721800 sites endpoint 2019-09-04 10:14:11 +03:00
Anatoly
09cf0f1a06 (In progress) refactored logout and refresh token endpoints 2019-09-03 18:59:11 +03:00
Anatoly
06e563b77a refactored authorization app 2019-09-03 16:48:06 +03:00
Anatoly
b20fe5e6fb update setup cookie for tokens 2019-09-03 16:25:44 +03:00
Anatoly
1b3eececf2 refactored authorization and account app 2019-09-02 15:44:37 +03:00
Anatoly
892159ccb6 Merge remote-tracking branch 'origin/develop' into feature/authorization 2019-09-02 13:52:53 +03:00
Anatoly
2f0b8ab90d added endpoint to change password 2019-09-02 13:47:42 +03:00
Anatoly
6d3b7b1921 fixed reset password view 2019-09-02 13:02:11 +03:00
evgeniy-st
a2ef5bbfd5 small refactor 2019-09-02 12:00:19 +03:00
Anatoly
3c7fc7a436 Merge remote-tracking branch 'origin/develop' into feature/authorization 2019-09-02 11:10:52 +03:00
Anatoly
664412d0f4 establishment list view - added filter by country code 2019-09-02 09:56:55 +03:00
Anatoly
e6b35c8d55 Merge remote-tracking branch 'origin/develop' into develop 2019-09-01 18:11:43 +03:00
Anatoly
e28435aba2 added preview image in establishment serializer 2019-09-01 18:11:09 +03:00
Dmitriy Kuzmenko
2f692bacf3 add migrate 2019-09-01 17:52:01 +03:00
Dmitriy Kuzmenko
e91a64ad6b add website 2019-09-01 17:51:13 +03:00
evgeniy-st
6d6e1169a4 extended establishment model (social) 2019-09-01 17:30:39 +03:00
Dmitriy Kuzmenko
082a8a1470 add fake best_price_menu 2019-09-01 17:22:53 +03:00
Dmitriy Kuzmenko
c85347b53a add menu 2019-09-01 16:18:17 +03:00
Anatoly
998204b7c5 added created field to comments serializer 2019-09-01 15:24:55 +03:00
evgeniy-st
45f990af4c update serializer 2019-09-01 15:07:27 +03:00
evgeniy-st
ef02e68c70 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-01 15:05:47 +03:00
evgeniy-st
0da20bbcd1 added awards to employee 2019-09-01 15:05:25 +03:00
Anatoly
a1fed35c69 Merge remote-tracking branch 'origin/develop' into develop 2019-09-01 15:02:38 +03:00
Anatoly
360f88d996 replace textfield with tjsonfield in model Review 2019-09-01 15:01:55 +03:00
evgeniy-st
ddabac60d1 Fix establishment retrieve view 2019-09-01 14:53:46 +03:00
evgeniy-st
abecc6f99a update migrations 2019-09-01 14:42:41 +03:00
evgeniy-st
48ac4cceab Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-09-01 14:33:43 +03:00
evgeniy-st
f10f6b23a0 Merge branch 'feature/employees' into develop 2019-09-01 14:33:25 +03:00
Anatoly
305da0e008 merge migrations 2019-09-01 14:31:42 +03:00
evgeniy-st
1b001f303a extended establishment api enpoint by attribute of 'employees' 2019-09-01 14:17:03 +03:00
Anatoly
21dd87e0ec Merge remote-tracking branch 'origin/develop' into features/comments
# Conflicts:
#	apps/establishment/models.py
#	apps/establishment/serializers.py
2019-09-01 14:14:38 +03:00
Anatoly
1494bbbf36 Merge branch 'feature/reviews' into develop
# Conflicts:
#	apps/establishment/admin.py
#	apps/establishment/models.py
#	apps/establishment/serializers.py
2019-09-01 14:09:37 +03:00
Anatoly
cd0f03f05d Merge remote-tracking branch 'origin/develop' into feature/reviews
# Conflicts:
#	apps/establishment/admin.py
#	apps/establishment/serializers.py
2019-09-01 14:06:17 +03:00
Dmitriy Kuzmenko
ef59216feb change contacts for est. 2019-09-01 13:39:01 +03:00
Anatoly
de8db655ed Merge remote-tracking branch 'origin/develop' into feature/reviews
# Conflicts:
#	apps/establishment/admin.py
#	apps/establishment/models.py
#	apps/establishment/serializers.py
2019-09-01 13:38:40 +03:00
Anatoly
3f90ef6dab fix merge 2019-09-01 13:29:17 +03:00
Anatoly
e8d4626cdb Merge remote-tracking branch 'origin/develop' into feature/reviews
# Conflicts:
#	apps/establishment/models.py
2019-09-01 13:26:55 +03:00
Anatoly
c1738478ab added new model Review 2019-09-01 13:24:37 +03:00
Dmitriy Kuzmenko
fc4facbf83 add contacts for establishments 2019-09-01 12:35:09 +03:00
Anatoly
0d4f080850 added new model - Comment 2019-09-01 12:30:00 +03:00
Anatoly
ba317f77b8 finish review model 2019-09-01 11:50:52 +03:00
Anatoly
c39b5dbf1d Merge branch 'develop' into feature/authorization 2019-08-30 17:57:13 +03:00
Anatoly
f8b87c4788 added endpoint to change an email 2019-08-30 17:56:35 +03:00
evgeniy-st
805bda3267 Extend establishment filterset 2019-08-30 17:25:07 +03:00
evgeniy-st
9e1bf5ba0e update news endpoint 2019-08-30 16:08:01 +03:00
evgeniy-st
9373137a29 remove throttling 2019-08-30 15:43:15 +03:00
evgeniy-st
7d7fa5e347 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-08-30 15:42:12 +03:00
evgeniy-st
2a8ffb16de Notification app & subscription 2019-08-30 15:40:53 +03:00
Anatoly
8fccd069ec added additional fields to review model 2019-08-30 15:30:41 +03:00
Anatoly
693577a524 Merge remote-tracking branch 'origin/develop' into feature/reviews 2019-08-30 12:03:19 +03:00
Anatoly
62ee83b1d4 refactored authorization 2019-08-30 11:53:19 +03:00
Anatoly
b7c1d6a48d added application review 2019-08-30 10:48:44 +03:00
Anatoly
46faf6ecee Merge remote-tracking branch 'origin/develop' into feature/establishment
# Conflicts:
#	apps/establishment/admin.py
#	apps/establishment/serializers.py
2019-08-29 18:19:57 +03:00
Anatoly
3aa1e92046 added table EstablishmentSchedule, added application timetable, added table Timetable 2019-08-29 17:59:09 +03:00
evgeniy-st
62da2ee114 api establishment-detail 2019-08-29 17:26:22 +03:00
Dmitriy Kuzmenko
2a16198a8b add award filter 2019-08-29 15:00:30 +03:00
Dmitriy Kuzmenko
e7c0490a4f Merge remote-tracking branch 'origin/develop' into develop 2019-08-29 14:52:08 +03:00
Dmitriy Kuzmenko
9a7052026b add metadata 2019-08-29 14:51:55 +03:00
Anatoly
8a234b6d8f added query search by title in news list endpoint 2019-08-29 12:52:46 +03:00
Anatoly
79edd6c51d fixed collection list and news list endpoints 2019-08-29 11:42:52 +03:00
Anatoly
1213b39e0d Merge branch 'feature/authorization' into develop 2019-08-29 11:40:24 +03:00
Anatoly
5598290456 refactored refresh-token endpoint 2019-08-29 11:40:00 +03:00
Anatoly
39e833ec1d added custom JWT authentication 2019-08-29 09:43:31 +03:00
evgeniy-st
e3ad562680 update news model 2019-08-28 18:30:35 +03:00
Dmitriy Kuzmenko
967c08864d Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-08-28 18:12:09 +03:00
Dmitriy Kuzmenko
b2a105198f fix translation 2019-08-28 18:11:56 +03:00
evgeniy-st
d9793b2056 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-08-28 18:03:09 +03:00
Dmitriy Kuzmenko
4a8053b231 Merge remote-tracking branch 'origin/develop' into develop 2019-08-28 17:54:12 +03:00
Dmitriy Kuzmenko
cb1ff8e410 add configuration 2019-08-28 17:53:52 +03:00
Anatoly
7a1d5e269c refactored ImageSerializer 2019-08-28 17:25:16 +03:00
Anatoly
dbb0cbc05e refactored endpoint to upload an image 2019-08-28 17:18:52 +03:00
evgeniy-st
c09b495bfd update Establishment serializer 2019-08-28 16:31:02 +03:00
evgeniy-st
e5989273dc Establishment add pagination 2019-08-28 15:41:17 +03:00
evgeniy-st
ba00bf1b00 Merge branch 'develop' into feature/establishment 2019-08-28 15:35:21 +03:00
evgeniy-st
1aef1a5bb1 Translation & establishment 2019-08-28 15:21:28 +03:00
Anatoly
4c448efc96 added field image_url to news list and collection list 2019-08-28 13:41:33 +03:00
Anatoly
6d95349a52 refactored logout endpoint 2019-08-28 13:14:57 +03:00
Anatoly
de0a1d6358 changed jwt login view (changed status code if user not found) 2019-08-28 12:58:33 +03:00
Anatoly
0db7b52df7 refactored remember flag in login 2019-08-28 12:54:17 +03:00
Anatoly
e22a54114b refactored collection app 2019-08-28 12:22:13 +03:00
Anatoly
0f6147c1dc Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	apps/collection/urls/common.py
2019-08-28 11:50:15 +03:00
Dmitriy Kuzmenko
253da87a99 URL refactoring 2019-08-28 11:35:38 +03:00
Dmitriy Kuzmenko
3d7727b4b4 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-08-28 10:15:29 +03:00
Dmitriy Kuzmenko
262e98b9e1 add awards 2019-08-28 10:15:17 +03:00
Anatoly
b5c50ff730 fixed serializers 2019-08-28 09:55:45 +03:00
evgeniy-st
f65b1caf9a Fix redirect settings 2019-08-28 09:49:50 +03:00
Anatoly
a35fbc4456 added endpoint to upload an images 2019-08-27 19:03:52 +03:00
Anatoly
2172972216 refactored gallery app 2019-08-27 18:58:40 +03:00
Anatoly
ce260a69aa Revert "added collection gallery; create migrations for models - collection, gallery, news; fixed models - news, collections"
This reverts commit 07333234
2019-08-27 18:18:58 +03:00
Anatoly
df2e60254e fixed migrations 2019-08-27 17:50:24 +03:00
Anatoly
ee619922fa fixed looped import 2019-08-27 17:26:43 +03:00
Anatoly
0733323486 added collection gallery; create migrations for models - collection, gallery, news; fixed models - news, collections 2019-08-27 17:15:09 +03:00
Anatoly
0baeeef302 Merge branch 'develop' into feature/gallery 2019-08-27 17:12:24 +03:00
evgeniy-st
c04771ca58 recalculate price level preview version 2019-08-27 16:53:05 +03:00
evgeniy-st
6667047537 establishment admin conf 2019-08-27 14:23:41 +03:00
evgeniy-st
910027d10f update establishment model, migrations 2019-08-27 14:23:11 +03:00
Anatoly
15c1950184 added application gallery 2019-08-27 13:02:54 +03:00
evgeniy-st
c942f00bd6 remove unused views 2019-08-27 12:36:48 +03:00
evgeniy-st
dcab146ede Merge branch 'develop' into feature/establishment 2019-08-27 12:35:25 +03:00
evgeniy-st
f82784cd19 update establishment-list endpoint 2019-08-27 12:33:16 +03:00
evgeniy-st
245158c431 update SiteSettings serializer 2019-08-26 18:29:02 +03:00
evgeniy-st
21985eb8bc Merge branch 'develop' into feature/establishment 2019-08-26 18:26:05 +03:00
evgeniy-st
f33fa21c0c update site feautures 2019-08-26 18:12:15 +03:00
evgeniy-st
bb284420c4 initial app 2019-08-26 18:07:01 +03:00
Anatoly
5edcd0afe9 replace image field with svg_image field, added validator, and change serializer 2019-08-26 17:39:03 +03:00
Anatoly
f0a84a9847 remove pagination from - advertisement, collection, partner lists 2019-08-26 15:55:18 +03:00
Anatoly
da52f38b7f added migrations, added ListAPI view endpoint 2019-08-26 15:27:33 +03:00
Anatoly
27468ded83 Merge branch 'develop' into feature/ad-blocks 2019-08-26 13:07:59 +03:00
Anatoly
6ac20fc4b2 uncommented endpoints for create/update/delete news app 2019-08-26 13:06:33 +03:00
Anatoly
6caea820da added application advertisement 2019-08-26 12:40:26 +03:00
Anatoly
610ecb6f35 Merge remote-tracking branch 'origin/develop' into feature/news-image 2019-08-26 11:51:37 +03:00
Anatoly
93bd8a59c4 added image field to Country model 2019-08-26 11:50:54 +03:00
Dmitriy Kuzmenko
0cb3971ea4 Merge remote-tracking branch 'origin/develop' into develop 2019-08-26 11:48:27 +03:00
Dmitriy Kuzmenko
966423ecec add Est app 2019-08-26 11:48:15 +03:00
Anatoly
d9f52891dc fixed auth exceptions 2019-08-26 10:53:22 +03:00
Anatoly
ae1971e76d Merge branch 'feature/partner' into develop 2019-08-23 17:06:53 +03:00
Anatoly
9c30affde4 added image field to PartnerList serializer 2019-08-23 17:06:37 +03:00
Anatoly
4e670b0a4a Merge branch 'feature/collections' into develop 2019-08-23 17:02:58 +03:00
Anatoly
9687a0ec3b added verbose names to collection app models 2019-08-23 17:02:18 +03:00
Anatoly
1de7a84d56 added new application partner, added new model Partner 2019-08-23 16:58:27 +03:00
Anatoly
6e12612192 Merge branch 'develop' into feature/partner 2019-08-23 16:34:24 +03:00
Anatoly
919c625bbc added flag on_top to model Collection, refactored CollectionList view 2019-08-23 16:30:28 +03:00
Anatoly
bb9d0653f1 added application partner 2019-08-23 16:19:44 +03:00
Dmitriy Kuzmenko
e2767af57d change ordering in NewsList view 2019-08-23 15:29:55 +03:00
Dmitriy Kuzmenko
1747525f0f added fields to model News, refactored NewsList queryset, added filters to NewsList view 2019-08-23 15:25:02 +03:00
Anatoly
1d18d654e3 updated reset-password method 2019-08-23 14:35:47 +03:00
Anatoly
2ebfc265e3 Merge branch 'feature/collections' into develop 2019-08-23 13:37:34 +03:00
Anatoly
97a0b6be97 change verbose name for model News 2019-08-23 13:35:14 +03:00
a.feteleu
be21cfaf77 Merge branch 'feature/news' into 'develop'
Feature/news

See merge request gm/gm-backend!1
2019-08-23 10:23:46 +00:00
Anatoly
e88fea10e7 added fields to model Collection, refactored Collection serializer, 2019-08-23 12:59:10 +03:00
Anatoly
eb07bff654 Merge remote-tracking branch 'origin/develop' into develop 2019-08-23 12:16:58 +03:00
Dmitriy Kuzmenko
0dba806f04 fixed method _put_data_in_cookies 2019-08-23 09:47:30 +03:00
Dmitriy Kuzmenko
f86a94274d put cookies in request, refactored JWTViewMixin, change endpoint to get news list 2019-08-23 09:42:31 +03:00
evgeniy-st
ef441ec2c2 update response determine-site 2019-08-22 17:35:34 +03:00
Anatoly
6558c84be9 added filter collection by country code from cookies 2019-08-22 14:55:57 +03:00