Commit Graph

2905 Commits

Author SHA1 Message Date
a.gorbunov
a23c50a130 available_for_events not required 2020-02-04 12:53:08 +00:00
Kirill
6030b438a0 filtration only in moderation v2 2020-02-04 15:50:57 +03:00
Kuroshini
5aa74ff7c9 fix positions by establishment type/subtype 2020-02-04 15:42:15 +03:00
Олег Хаятов
9982c2ca77 Merge branch 'bug-published_comments_not_displayed_v2' into 'develop'
published_comments_not_displayed

See merge request gm/gm-backend!260
2020-02-04 12:13:44 +00:00
Anatoly
b286bbb1fa added migrations, refactored establishment serializers 2020-02-04 15:07:58 +03:00
Kirill
f3a5605111 filtration only in moderation 2020-02-04 15:05:59 +03:00
Kuroshini
11cd688851 merge migrations 2020-02-04 14:36:33 +03:00
Олег Хаятов
d5b5149fb0 Merge branch 'feature/establishment_fields' into 'develop'
added new fields

See merge request gm/gm-backend!259
2020-02-04 11:34:44 +00:00
a.gorbunov
26b76c0b8c Optimize query 2020-02-04 11:31:13 +00:00
a.gorbunov
990b15f1d7 added new fields 2020-02-04 11:11:52 +00:00
Anatoly
d0311ec974 fix field name in serializer 2020-02-04 13:28:11 +03:00
Kuroshini
8820988196 fix establishment slugification 2020-02-04 13:27:35 +03:00
Kuroshini
056fbb4eed fix issue w/ transliterated name 2020-02-04 12:54:14 +03:00
Kuroshini
6811a5b6c0 establishment slug from index_name 2020-02-04 12:41:53 +03:00
Anatoly
25e829e629 added filtering by establishment id in /api/back/collections/guides/all/ 2020-02-04 12:11:56 +03:00
Anatoly
04c6948539 added endpoint /api/back/collections/guides/all/,
revert pagination in /api/back/collections/guides/
2020-02-04 11:36:46 +03:00
Anatoly
9bfba9af70 refactored a little guide list view 2020-02-04 10:50:52 +03:00
Anatoly
7cbfeb9845 added filtering by country code 2020-02-04 10:40:22 +03:00
Anatoly
87686abbb7 disable counter for guide elements 2020-02-04 10:40:22 +03:00
Kuroshini
223f5217a2 sort positions 2020-02-03 21:23:02 +03:00
Kuroshini
94272609bf show correct positions for establishment 2020-02-03 20:57:04 +03:00
Kuroshini
b1cf952679 positions by establishment type/subtype list 2020-02-03 20:00:24 +03:00
Олег Хаятов
122680af0b Merge branch 'bug-country_code_filtration' into 'develop'
bug-country_code_filtration

See merge request gm/gm-backend!258
2020-02-03 16:33:09 +00:00
dormantman
65ace7fb88 Added nullable 2020-02-03 19:18:50 +03:00
Kirill
fd6aced51e filtration by country code 2020-02-03 19:18:23 +03:00
Kuroshini
b4cdb2dc5b positions are binded to est type/subtype 2020-02-03 19:16:33 +03:00
Kuroshini
ab2affe305 fix transliterated name 2020-02-03 18:04:27 +03:00
Kuroshini
bf0a0b42a9 some fixes & migrations 2020-02-03 17:56:05 +03:00
Anatoly
400b5ac402 change display_country_code type of returning value, refactored create guide method, added filtering award type list, change name of username_random -> string_random 2020-02-03 17:16:40 +03:00
alex
4d52ec57c4 Merge remote-tracking branch 'origin/develop' into develop 2020-02-03 16:57:09 +03:00
alex
2a9ef2c704 refactor location transfer 1 2020-02-03 16:57:00 +03:00
Kuroshini
28253d74c4 remove currency code 2020-02-03 16:11:11 +03:00
Kuroshini
b062d0b729 refactor plates 2020-02-03 16:09:25 +03:00
Kuroshini
084db83c92 menu update/delete 2020-02-03 14:55:03 +03:00
Kuroshini
b1b3e923b7 create menu item for establishment 2020-02-03 14:37:17 +03:00
Anatoly
831b043a48 refactored serializers that retrieving phone numbers 2020-02-03 14:13:45 +03:00
Anatoly
6c7b7ff19e fix permissions 2020-02-03 13:14:00 +03:00
Anatoly
a5bc5e98d1 refactored serializers that retrieving phone numbers 2020-02-03 13:11:13 +03:00
Anatoly
15b8241213 refactored serializers that retrieving phone numbers 2020-02-03 13:11:13 +03:00
alex
3c56b0c061 refactor account transfer 2020-02-03 12:32:53 +03:00
Олег Хаятов
33942b70b5 Merge branch 'bug-only_waiting_comments_v2' into 'develop'
bug-only_waiting_comments_v2

See merge request gm/gm-backend!256
2020-02-03 09:00:25 +00:00
Anatoly
227b3746ca fix city transfer 2020-02-03 11:03:38 +03:00
Kirill
8d8a5f50fb move comments filtration from model to view 2020-02-03 10:46:44 +03:00
Олег Хаятов
2dc1674f81 Merge branch 'bug-collections_sorting' into 'develop'
bug-collections_sorting

See merge request gm/gm-backend!255
2020-02-03 07:21:39 +00:00
Kuroshini
287c538294 dish update-delete 2020-02-01 16:01:40 +03:00
Kuroshini
662a1427cd dish create view 2020-02-01 15:34:45 +03:00
Kuroshini
1876ca8c6d backoffice wine for establishment 2020-02-01 14:53:35 +03:00
Kuroshini
804164833a fix typo 2020-02-01 14:02:29 +03:00
Kuroshini
cbad99e3ac read file name 2020-02-01 13:58:42 +03:00
Kuroshini
8488449cca card and wines getter 2020-02-01 13:32:20 +03:00
Kuroshini
a9ad3ef7e7 card_and_wines get method 2020-01-31 21:19:32 +03:00
dormantman
f67c8b08a5 Alter comment validator 2020-01-31 20:50:08 +03:00
Kuroshini
2f4bda9a3a fix comments mark transfer 2020-01-31 20:32:18 +03:00
dormantman
a544810cac Alter location field 2020-01-31 19:10:40 +03:00
Kuroshini
1794de6d15 news transfer fix 2020-01-31 18:52:19 +03:00
Kuroshini
45f09094f8 try to return recipes 2020-01-31 18:45:20 +03:00
Anatoly
8df96716cc added endpoint to add/remove establishment from guide 2020-01-31 18:25:25 +03:00
Kirill
97588f1efc change start to created sorting 2020-01-31 17:57:31 +03:00
Kuroshini
202b8c8d96 menu type #2 2020-01-31 17:08:08 +03:00
Kuroshini
2e0cfabbce menu type 2020-01-31 17:06:38 +03:00
Kuroshini
cfba383940 refactored menu models 2020-01-31 17:01:05 +03:00
Олег Хаятов
6d9983ad3f Merge branch 'feature/agenda-fields' into 'develop'
Added fields separation

See merge request gm/gm-backend!254
2020-01-31 13:23:22 +00:00
dormantman
77129ec7ce Alter serializer transliterated_name field 2020-01-31 15:48:24 +03:00
dormantman
b309d69079 Alter serializer location field 2020-01-31 15:44:44 +03:00
dormantman
1f887b3367 Added fields separation 2020-01-31 15:33:25 +03:00
Anatoly
b518faaf8b added DEFAULT_CALLING_CODE_ANTILLES_GUYANE_WEST_INDIES param, refactored serializers 2020-01-31 14:52:35 +03:00
Kuroshini
e008e7f2a1 remove not sent menus 2020-01-31 14:40:02 +03:00
Anatoly
421ec5c73c refactored serializer 2020-01-31 13:50:42 +03:00
Kuroshini
4a1e0a347c remove pagination for tag categories in BO 2020-01-31 13:47:50 +03:00
Anatoly
08831de43a refactored a little 2020-01-31 13:43:44 +03:00
Anatoly
095cc2cb91 fix 2020-01-31 13:38:07 +03:00
Anatoly
fb1eee3e4c added hardcoded calling number for Antilles Guyane West Indies islands 2020-01-31 13:36:41 +03:00
Anatoly
11e037f699 modified permissions for tags 2020-01-31 13:21:00 +03:00
Anatoly
2544f8ef5b added flag is_superuser to UserDetailView 2020-01-31 13:06:03 +03:00
Anton Gorbunov
ac53543dc7 Merge branch 'bug/fix-related-objects-for-collections' into 'develop'
check before get related_objects

See merge request gm/gm-backend!252
2020-01-31 08:49:15 +00:00
a.gorbunov
4ba2edecd0 check before get related_objects 2020-01-31 08:48:36 +00:00
Kuroshini
c6413c7493 subtypes for establishment back 2020-01-31 11:42:44 +03:00
Anatoly
57cf90c631 added merge migrations 2020-01-31 11:35:49 +03:00
Anatoly
45f65658f0 added "status" field to Establishment model, refactored serializers and filters associated with field "is_publish", modified transfer 2020-01-31 11:34:06 +03:00
alex
d3bf68ab09 add_confirmed_at command 2020-01-31 11:25:38 +03:00
alex
c3cc87507e confirmed at for csv users 2020-01-31 09:03:15 +03:00
dormantman
982a52ab96 Added guides binding objects 2020-01-31 04:29:50 +03:00
Kuroshini
22ee06403f menu create 2020-01-31 01:04:39 +03:00
dormantman
4d2d08a6f4 Added auto type 2020-01-31 00:35:51 +03:00
Kuroshini
f83c7273d2 smol fixes 2020-01-31 00:27:40 +03:00
Kuroshini
10620ac881 fix set uploaded files #2 2020-01-31 00:16:52 +03:00
Kuroshini
47f8905832 fix set uploaded files 2020-01-31 00:16:52 +03:00
Kuroshini
ae9d505e3d create and update 2020-01-31 00:16:52 +03:00
Kuroshini
39cdd18392 fix serializer 2020-01-31 00:16:52 +03:00
Kuroshini
e1b3908e00 serializer for menu uploads BO 2020-01-31 00:16:15 +03:00
dormantman
a0408204a1 Added MenuFiles serializer 2020-01-31 00:13:15 +03:00
dormantman
fbed631f40 Merge branch 'feature/menus-for-dima' of https://gl.id-east.ru/gm/gm-backend into feature/menus-for-dima
 Conflicts:
	apps/establishment/serializers/back.py
2020-01-30 22:25:25 +03:00
dormantman
5aa831ee3c Added MenuFiles serializer 2020-01-30 22:16:11 +03:00
Kuroshini
3e0c05c541 fix serializer 2020-01-30 22:11:07 +03:00
Kuroshini
62eb5b0ccb get menus method 2020-01-30 22:06:56 +03:00
Kuroshini
a6fc88fdb9 lunch & diner fields 2020-01-30 21:55:20 +03:00
dormantman
07cfcb08d7 Added uploads to menu 2020-01-30 21:49:31 +03:00
dormantman
b94e933cb1 Added migration 2020-01-30 20:58:45 +03:00
dormantman
14d9b32479 Revert serializer/routes/view/model 2020-01-30 20:45:07 +03:00
Kuroshini
bf941d8755 fix agenda migration 2020-01-30 19:48:21 +03:00
Kuroshini
9d62c062bb migration for agenda 2020-01-30 19:45:13 +03:00
Kuroshini
3b8a28d599 agenda address is string now 2020-01-30 19:43:38 +03:00
Anatoly
ced3abe3cf added command to set the calling code for countries, modified setup_clean_db transfer, modified serializers 2020-01-30 17:57:53 +03:00
Kuroshini
ac606d14f8 swagger 2020-01-30 17:16:15 +03:00
alex
d60e46419b Merge remote-tracking branch 'origin/develop' into develop 2020-01-30 17:01:39 +03:00
alex
40fa4c543b roles for user csv 2020-01-30 17:01:27 +03:00
Kuroshini
442e26cfe4 partners web 2020-01-30 16:37:48 +03:00
Anatoly
e6de2cc4f9 fix method 2020-01-30 16:28:32 +03:00
Anatoly
7541909390 added merge migration 2020-01-30 16:19:15 +03:00
Anatoly
13cc40c19c added transfer for table - a la cartes 2020-01-30 16:17:30 +03:00
Kuroshini
973ad80073 filter partners and sponsors 2020-01-30 16:12:17 +03:00
Kuroshini
f8aab86f3c fix serializer 2020-01-30 15:45:51 +03:00
Kuroshini
1e126d3b1f migraion for partners 2020-01-30 15:44:33 +03:00
Kuroshini
632233d930 partners remastered (moved fields to binding table) 2020-01-30 15:43:25 +03:00
dormantman
f05fab8329 Reformat establishment back serializer 2020-01-30 15:07:46 +03:00
alex
ca29e9b02a Merge remote-tracking branch 'origin/develop' into develop 2020-01-30 14:42:37 +03:00
alex
ce919b54d0 user roles for csv 2020-01-30 14:42:27 +03:00
Anatoly
469a80339a replaced checking is_staff on is_superuser 2020-01-30 14:33:11 +03:00
alex
d6b8c6191d country name for csv users 2020-01-30 14:07:28 +03:00
Anton Gorbunov
ab8a4845d8 Merge branch 'feature/back-collections-list' into 'develop'
remove pagination

See merge request gm/gm-backend!248
2020-01-30 10:37:22 +00:00
a.gorbunov
eabb550f62 remove pagination 2020-01-30 10:36:22 +00:00
alex
1b353c48da Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	apps/account/views/back.py
2020-01-30 13:18:08 +03:00
alex
57dd5cb521 user list csv export 2020-01-30 13:15:39 +03:00
Anatoly
21b0786daf fix city model 2020-01-30 13:11:19 +03:00
Anatoly
7378d6d253 Merge branch 'feature/roles' into develop 2020-01-30 13:08:26 +03:00
Anatoly
ca5440d431 refactored roles 2020-01-30 12:50:14 +03:00
Kuroshini
c69bc05156 fix products serializer 2020-01-30 12:17:23 +03:00
alex
13968b3ed7 type read only 2020-01-30 11:21:14 +03:00
alex
8137bf0f68 fix establishment socials read_only 2020-01-30 11:09:12 +03:00
Anatoly
25c63b8097 Merge branch 'develop' into feature/roles
# Conflicts:
#	apps/account/models.py
#	apps/collection/views/back.py
#	apps/comment/views/back.py
#	apps/establishment/models.py
#	apps/establishment/views/back.py
#	apps/news/views.py
#	apps/partner/views/back.py
2020-01-30 10:56:46 +03:00
Anatoly
57e63111fb intermediate commit 2020-01-30 10:28:01 +03:00
Kuroshini
a2e200b48d fix typing 2020-01-29 22:53:28 +03:00
Kuroshini
2d5be7bfac Merge branch 'feature/cascade-update-roles' into develop 2020-01-29 22:49:56 +03:00
Kuroshini
62c25ac737 simplify code 2020-01-29 22:49:36 +03:00
a.gorbunov
f3ca4a8de9 place method to user class 2020-01-29 18:20:21 +00:00
Kuroshini
8eb828e309 partners remastered (sotring and optimization improvement) 2020-01-29 20:44:42 +03:00
Kuroshini
5ad32ad8aa partner bind/unbind 2020-01-29 19:59:11 +03:00
Kuroshini
0261deb5df get partners by establishment 2020-01-29 19:18:17 +03:00
Олег Хаятов
0e7fd39d37 Merge branch 'feature/bo-menus' into 'develop'
Feature/bo menus

See merge request gm/gm-backend!247
2020-01-29 15:54:44 +00:00
dormantman
e9646acfe1 Add migration 2020-01-29 18:38:15 +03:00
Kuroshini
007ba58f7a partners create/fetch view 2020-01-29 18:22:58 +03:00
dormantman
19cf1b07d6 Added rud finding 2020-01-29 18:19:28 +03:00
Kuroshini
042d749d77 added pictures route && removed partners pictures duplicates 2020-01-29 17:53:25 +03:00
Kuroshini
6dd14ab80d transfer partners 2020-01-29 17:46:59 +03:00
Kuroshini
38d2e002b7 partners transfer 2020-01-29 17:16:42 +03:00
Kuroshini
65b0b56c71 transfer partners 2020-01-29 17:15:12 +03:00
Kuroshini
917e500838 partners transfer 2020-01-29 17:07:06 +03:00
Kuroshini
869aa7b4f4 partners transfer 2020-01-29 17:02:58 +03:00
Kuroshini
45acfa37c9 partners transfer 2020-01-29 17:00:19 +03:00
Anatoly
302e22045e fixes 2020-01-29 16:59:16 +03:00
Kuroshini
4fde19d23e fix partner transfer 2020-01-29 16:53:04 +03:00
dormantman
a6db15ed50 Added menu dishes 2020-01-29 16:11:53 +03:00
Kuroshini
28d4a5ae42 reorganize partner models 2020-01-29 15:21:51 +03:00
dormantman
bcc5f2da51 Added menus method 2020-01-29 15:17:15 +03:00
Kuroshini
63fa81385e western_name creation 2020-01-29 14:41:34 +03:00
Kuroshini
fb3e8e5d71 hide remove news 2020-01-29 12:28:31 +03:00
a.gorbunov
6a6d623ef3 update roles list 2020-01-29 09:03:45 +00:00
Kuroshini
f58ac2a1cc partners 2020-01-28 23:21:16 +03:00
Kuroshini
8806bc4e33 fix transfer script 2020-01-28 21:27:45 +03:00
Kuroshini
24f4abc76d fix transfer partners 2020-01-28 21:18:25 +03:00
Kuroshini
d2e28f519a fix migration 2020-01-28 21:00:02 +03:00
Kuroshini
577098e6ca partners changed relation 2020-01-28 20:58:54 +03:00
Kuroshini
8b014a7923 finally fix issue w/ news patch 2020-01-28 19:24:27 +03:00
alex
d9ff3227dc address read only 2020-01-28 18:54:27 +03:00
dormantman
e067e8e793 Added menu upload files 2020-01-28 18:29:02 +03:00
Anatoly
61d2f6ec46 added filter - establishment_id, refactored guide counters 2020-01-28 17:52:49 +03:00
Kuroshini
4604c81ede change news states 2020-01-28 17:50:46 +03:00
Anton Gorbunov
a0aad97a4d Merge branch 'feature/tune-comment-method' into 'develop'
fix route

See merge request gm/gm-backend!245
2020-01-28 13:57:07 +00:00
a.gorbunov
121b917096 fix route 2020-01-28 13:56:32 +00:00
Олег Хаятов
2b0663b702 Merge branch 'bug/establishment-fields' into 'develop'
Bug/establishment fields

See merge request gm/gm-backend!244
2020-01-28 13:35:15 +00:00
dormantman
191c168c99 Added migrations 2020-01-28 15:49:50 +03:00
dormantman
56b5af1291 Added district_name field 2020-01-28 15:49:00 +03:00
dormantman
d0e75ca07c Added instagram/western_name fields 2020-01-28 15:46:23 +03:00
Олег Хаятов
d2926e487f Merge branch 'feature/tune-comment-method' into 'develop'
tune get comments method

See merge request gm/gm-backend!243
2020-01-28 12:38:52 +00:00
a.gorbunov
a0a6e98fa6 resolve comments 2020-01-28 12:32:18 +00:00
a.gorbunov
028b8475b7 slug from content object 2020-01-28 12:16:18 +00:00
dormantman
3b7b778a8e Change sending subscription searcher 2020-01-28 15:09:57 +03:00
a.gorbunov
8f752ae6a0 tune get comments method 2020-01-28 12:05:30 +00:00
Kuroshini
4c7088abbc fix news again... 2020-01-28 14:58:41 +03:00
Kuroshini
baeb7e5b93 fix news update 2020-01-28 14:55:13 +03:00
Anatoly
236b532d98 refactored permission classes 2020-01-28 14:54:14 +03:00
Kuroshini
475de626ce fix news update 2020-01-28 14:50:51 +03:00
dormantman
e89f04dee4 Added serializer parent region 2020-01-28 14:44:54 +03:00
alex
0dd86e53cc Merge remote-tracking branch 'origin/develop' into develop 2020-01-28 14:37:04 +03:00
alex
193f1655e4 email cascade establishment 2020-01-28 14:36:54 +03:00
Kuroshini
cec7a58338 fix typo 2020-01-28 13:25:52 +03:00
alex
65a6feb4b2 Merge remote-tracking branch 'origin/develop' into develop 2020-01-28 12:49:53 +03:00
alex
a02a52f2b0 menu dishes gallery api 2020-01-28 12:49:45 +03:00
Kuroshini
029cd36b98 localized cities #7 2020-01-28 12:35:30 +03:00
alex
c0f3aca532 menu gallery 2020-01-28 12:16:56 +03:00
Kuroshini
781779d54a localized cities #6 2020-01-27 23:30:17 +03:00
Kuroshini
5c75b0a3ac localized cities #5 2020-01-27 23:24:01 +03:00
Kuroshini
faeec9b4f2 localized cities #4 2020-01-27 23:22:53 +03:00
Kuroshini
e1b2c74988 localized cities #3 2020-01-27 23:19:25 +03:00
Kuroshini
ff34d66854 localized cities #2 2020-01-27 23:15:48 +03:00
Kuroshini
468527bc0e localized cities #1 2020-01-27 23:13:22 +03:00
Олег Хаятов
a8fc46ed60 Merge branch 'feature/employees-params' into 'develop'
Feature/employees params

See merge request gm/gm-backend!240
2020-01-27 19:25:47 +00:00
dormantman
bb38bb3393 Change api view method 2020-01-27 22:22:17 +03:00
Kuroshini
4b0ef25baf roles for email changing #2 2020-01-27 21:53:18 +03:00
Kuroshini
4cfe613739 roles for email changing 2020-01-27 21:47:04 +03:00