Commit Graph

415 Commits

Author SHA1 Message Date
alex
1c04703c77 fix test and news type 2019-12-23 15:39:54 +03:00
Kuroshini
50d0997569 Merge remote-tracking branch 'origin/bug/bind-author-news' into develop 2019-12-23 15:17:32 +03:00
dormantman
1849166bae Fix author bug 2019-12-23 15:12:27 +03:00
Kuroshini
61c1f92c2c change serializer for news photo binding 2019-12-23 13:56:10 +03:00
alex
f6dac3cbcd fix news test 2019-12-23 12:33:31 +03:00
dormantman
9e7a950088 Set code style 2019-12-23 12:13:13 +03:00
alex
7525e6ceef Merge branch 'nes_transfer' into develop 2019-12-23 11:55:05 +03:00
alex
17fdc7705e news transfer fin 2019-12-23 11:53:34 +03:00
Anatoly
cc7125b468 added image url to es 2019-12-23 09:19:16 +03:00
alex
56b2b243da Merge remote-tracking branch 'origin/develop' into nes_transfer 2019-12-23 08:28:28 +03:00
Kuroshini
660c8e791b tags translation 2019-12-20 19:08:53 +03:00
alex
2499c0406d news transfer serializer 2019-12-20 16:19:04 +03:00
Kuroshini
8e20424b78 bo creation & modification news info 2019-12-20 14:32:09 +03:00
Kuroshini
de648454c7 news to carousel 2019-12-19 17:30:02 +03:00
Kuroshini
f884d8303f carousel news item creation fix 2019-12-19 17:20:51 +03:00
Kuroshini
794ac84838 must of the week logic 2019-12-19 17:04:56 +03:00
Kuroshini
bfd8044b47 remove must_of_the_week field 2019-12-19 16:48:50 +03:00
Kuroshini
6924452569 fix news image binding 2019-12-19 15:12:49 +03:00
Kuroshini
f070ed8175 BO title is nullable now 2019-12-19 14:54:21 +03:00
Kuroshini
67597c4fd4 Completely remove news start field 2019-12-18 19:21:35 +03:00
Kuroshini
6de33d82b0 news publication date & time are separate now 2019-12-18 18:58:55 +03:00
Kuroshini
3876a6b885 Revert "news creation extra kwargs possible fix"
This reverts commit b9a652a
2019-12-18 15:03:31 +03:00
Kuroshini
b9a652aeb6 news creation extra kwargs possible fix 2019-12-18 15:02:19 +03:00
Kuroshini
44c2616efe must of the week is compulsory argument for news creation now 2019-12-18 14:59:20 +03:00
Kuroshini
a8003dc1cc fix issue with news creation 2019-12-18 14:56:47 +03:00
Kuroshini
2a0d153be5 remove filtering news by locale 2019-12-18 14:52:49 +03:00
Kuroshini
53387886cd must of the week 2019-12-17 23:13:57 +03:00
Kuroshini
b469770ff0 news active logic depended on activated descriptions 2019-12-17 20:01:36 +03:00
Kuroshini
41f6b8c930 return copied from model after duplication 2019-12-17 18:11:32 +03:00
Anatoly
5d69f2a5e7 Merge branch 'develop' into feature/guides 2019-12-17 15:21:27 +03:00
alex
d29a46c1a5 news by_locale 2019-12-17 15:13:16 +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
Kuroshini
7608fcb527 fix #2 2019-12-17 14:22:08 +03:00
Kuroshini
89f8fcf73e fix 2019-12-17 14:20:21 +03:00
Kuroshini
f36713ab02 description to locale is required now 2019-12-17 14:14:21 +03:00
Kuroshini
73f0dd13a5 duplicates fix 2019-12-17 14:00:52 +03:00
Kuroshini
b34ab11fd8 description news availability management from BO 2019-12-16 23:48:55 +03:00
Kuroshini
0a25ec3e7c news duplication info 2019-12-16 23:16:19 +03:00
Kuroshini
e68142bf2e BO news list by country 2019-12-16 18:43:15 +03:00
Kuroshini
f4fff47d68 return news object after binding #2 2019-12-16 17:04:52 +03:00
Kuroshini
cf001b3aab return news object after binding 2019-12-16 17:02:45 +03:00
Kuroshini
fcf3999d3d news duplication date 2019-12-12 16:51:55 +03:00
Kuroshini
bd3dd47742 slugs news 2019-12-12 16:27:40 +03:00
Kuroshini
755f007d25 clone news API method 2019-12-12 16:09:43 +03:00
Kuroshini
60f6c8d811 fix migrations 2019-12-11 19:15:19 +03:00
Kuroshini
370f9cc7ce remove wrong migration 2019-12-11 18:26:29 +03:00
Kuroshini
90f75c6da5 update news gallery 2019-12-11 17:54:53 +03:00
Kuroshini
f182ec4981 remove wrong unique constraint 2019-12-11 17:07:29 +03:00
Kuroshini
165509bc64 update news_gallery model 2019-12-11 15:13:06 +03:00
Kuroshini
907a9365e1 fix multislug news update 2019-12-11 12:14:23 +03:00
Kuroshini
043fcb262b fix test #2 2019-12-10 23:30:07 +03:00
Kuroshini
ecef1a217a fix some test 2019-12-10 22:10:37 +03:00
Kuroshini
401abc568c news unique slug creation 2019-12-10 20:04:23 +03:00
Kuroshini
c90f8302ee fix news indexing 2019-12-10 19:29:11 +03:00
Kuroshini
c1bb7c9b79 News multilang slug (ES) 2019-12-10 19:23:40 +03:00
Kuroshini
4010c9fede News multilang slugs (model && views) 2019-12-10 19:16:19 +03:00
Anatoly
7d40471084 intermediate commit 2019-12-10 17:44:29 +03:00
Kuroshini
3b85e927a1 BO title field 2019-12-10 15:39:53 +03:00
Kuroshini
351d492012 command to remove relative news description images 2019-12-06 15:45:46 +03:00
Dmitriy Kuzmenko
b6d0815ed0 add news author migration 2019-12-03 09:59:11 +03:00
Kuroshini
fccffa93e3 Order news by -start 2019-12-02 12:45:58 +03:00
Kuroshini
a102b68173 News start field is nullable now 2019-11-29 16:22:02 +03:00
Semyon Yekhmenin
883b214d74 Added is_international property to news 2019-11-27 12:49:33 +00:00
Виктор Гладких
420c673afd Fix 2019-11-25 16:52:27 +03:00
alex
17f67d020a back carousel api and test 2019-11-25 15:00:53 +03:00
alex
49e5e4ea91 test establishment and news carousel 2019-11-25 09:38:50 +03:00
alex
fa183bfc92 carousel back api url 2019-11-22 17:00:43 +03:00
alex
7e878956e3 carousel api for news 2019-11-22 16:22:31 +03:00
Виктор Гладких
e3420d571e Contentpage permission in news 2019-11-22 16:05:02 +03:00
Виктор Гладких
376c8cdff3 State test news with contentpage permission 2019-11-22 16:00:59 +03:00
Виктор Гладких
e0352b7d93 Back news permissions 2019-11-22 15:46:59 +03:00
alex
429825804a create destroy mixin 2019-11-22 15:07:50 +03:00
Semyon Yekhmenin
120e686be6 Changed in_favorites field to read only 2019-11-22 11:46:24 +00:00
evgeniy-st
04d6412f39 Merge branch 'develop' into feature/in_favorites 2019-11-21 18:18:09 +03:00
evgeniy-st
35b6a66c85 In favorites 2019-11-21 18:12:52 +03:00
Semyon Yekhmenin
4209b38d93 Fixed is_published filed type in serializer 2019-11-21 14:46:56 +00:00
Semyon Yekhmenin
98e140b0c4 Feature/news web view update 2019-11-21 14:12:22 +00:00
Anatoly
617552841f refactored product, fix transfer and etc., see changelist 2019-11-21 09:58:43 +03:00
Semyon Yekhmenin
7d8e4c96f1 Added filter by type for bo news list 2019-11-19 12:13:43 +00:00
Kuroshini
f6e5f84889 fix issue w/ empty tags 2019-11-18 22:41:14 +03:00
Kuroshini
5c4c4c60c3 ES as separate server 2019-11-18 20:12:58 +03:00
Anatoly
0d2f961ad5 added temporary potential bug (change auto_crop_images dict names for News) 2019-11-17 21:52:07 +03:00
Anatoly
62c4ab8d74 added temporary potential bug (change auto_crop_images dict names for News) 2019-11-17 20:39:03 +03:00
Anatoly
a8b3c9aa63 refactored galleries, added transfer script 2019-11-17 14:22:30 +03:00
Олег Хаятов
ae53a18e08 Merge branch 'feature/filter-favs-by-tag' into 'develop'
Filters for news favorites

See merge request gm/gm-backend!133
2019-11-15 15:51:09 +00:00
Kuroshini
153ccd7bd9 International news 2019-11-15 18:25:40 +03:00
alex
71dd52c194 news in_favs nested fix 2019-11-15 15:28:27 +03:00
Dmitriy Kuzmenko
4a53cca6c0 Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop 2019-11-15 12:15:03 +03:00
Dmitriy Kuzmenko
41c842e224 change review transfer 2019-11-15 12:14:53 +03:00
alex
0dbb2c64cd fix new in_fav detail 2019-11-15 10:46:21 +03:00
Dmitriy Kuzmenko
956467e999 add view count to news serializer 2019-11-15 00:26:14 +03:00
d.kuzmenko
c644cbfd64 Merge branch 'feature/transfer-page-counters' into 'develop'
Add rating.views_count transfer

See merge request gm/gm-backend!134
2019-11-14 21:09:26 +00:00
littlewolf
726610d147 Update to onetoone
Update rating annotation
Add migrations
2019-11-14 23:44:49 +03:00
littlewolf
4e72487558 Add rating.views_count transfer 2019-11-14 20:54:14 +03:00
Kuroshini
843230b641 Filters for news favorites 2019-11-14 20:02:09 +03:00
alex
322af9efef fix news in_fav 2019-11-14 17:07:31 +03:00
alex
906ca921f5 in_favorites news 2019-11-13 19:33:09 +03:00
Kuroshini
ebf31f8492 Order news in search results 2019-11-13 17:11:47 +03:00
Anatoly
8cf50ff2cd added endpoints for back office and refactored a little 2019-11-13 12:07:02 +03:00
Semyon Yekhmenin
fe6f9953d8 Added mobile news endpoints 2019-11-12 13:12:10 +00:00
Kuroshini
d3ab910fba Filter recipes news 2019-11-12 15:10:50 +03:00
alex
0b157244e0 Merge remote-tracking branch 'origin/feature/favorite-news' into develop 2019-11-12 08:51:55 +03:00
Dmitriy Kuzmenko
ec96c32453 fix product type 2019-11-12 02:28:33 +03:00
alex
d853960d2e create, delete, get favorite news 2019-11-05 17:52:36 +03:00
evgeniy-st
83bab7f383 remove hardcoded news 2019-11-05 15:59:28 +03:00
Dmitriy Kuzmenko
c5e96a7ad8 fix retrieve 2019-11-04 20:33:35 +03:00
Kuroshini
9d087b53ee Hardcode for presentation 2019-11-04 18:18:46 +03:00
Kuroshini
4dd06f772f Use old ids for demonstration 2019-11-04 15:30:59 +03:00
Dmitriy Kuzmenko
55c24c400b change news tag command 2019-11-04 11:49:57 +03:00
Dmitriy Kuzmenko
888e18b9b1 change news tag command 2019-11-04 11:35:13 +03:00
Dmitriy Kuzmenko
b37b634f59 change news tag command 2019-11-04 11:09:15 +03:00
Dmitriy Kuzmenko
8e61071759 add news tag command 2019-11-03 20:33:45 +03:00
Anatoly
4f89d7603e change translation mechanics 2019-11-03 17:00:47 +03:00
Anatoly
10fb4ee0dd small fix 2019-11-03 01:40:45 +03:00
Anatoly
201dd40193 fixed related news, but in future need refactoring 2019-11-03 01:32:46 +03:00
Anatoly
c14ab722a1 change field parameter in model Guide (gm-241) 2019-11-03 00:25:03 +03:00
alex
7e503f617e merge migrations 2019-10-30 20:15:19 +03:00
alex
962d24f737 Merge branch 'migration_fix' into develop
# Conflicts:
#	apps/establishment/admin.py
#	apps/transfer/models.py
2019-10-30 20:04:02 +03:00
Anatoly
414ad72ed3 Revert "modified NewsImageSerializer, in future needs refactoring"
This reverts commit 776b500d
2019-10-30 20:01:19 +03:00
Anatoly
776b500d19 modified NewsImageSerializer, in future needs refactoring 2019-10-30 19:59:12 +03:00
a.feteleu
d31bb9b495 merge migrations 2019-10-30 19:19:40 +03:00
Dmitriy Kuzmenko
638bafe4a6 Merge remote-tracking branch 'origin/develop' into origin/migration_fix
# Conflicts:
#	apps/establishment/admin.py
#	project/settings/base.py
2019-10-30 19:12:59 +03:00
Dmitriy Kuzmenko
03ee9c1279 Merge remote-tracking branch 'origin/origin/migration_fix' into origin/migration_fix
# Conflicts:
#	apps/transfer/serializers/news.py
2019-10-30 18:52:56 +03:00
Dmitriy Kuzmenko
58be2491a5 create command for establishment tags 2019-10-30 18:47:13 +03:00
alex
4343060c74 Merge branch 'migration_fix' into HEAD 2019-10-30 15:49:32 +03:00
alex
8c3306628e news transfer 2019-10-30 15:48:32 +03:00
alex
c521839389 news refactor 2019-10-30 13:53:12 +03:00
evgeniy-st
00bcd6c205 added merge migrations 2019-10-30 11:59:19 +03:00
evgeniy-st
e371fdceea Merge branch 'develop' into migration_fix 2019-10-30 11:50:30 +03:00
Anatoly
5675f23fae fixed BaseModelAdminMixin 2019-10-29 18:12:52 +03:00
Dmitriy Kuzmenko
8fd14f2f44 Merge remote-tracking branch 'origin/origin/feature/migrate-etablishment' into origin/migration_fix 2019-10-29 15:27:19 +03:00
Anatoly
8cf2cebe85 added BaseModelAdminMixin 2019-10-29 14:01:27 +03:00
alex
dc11fb055f fix news and paris establishments 2019-10-29 12:34:08 +03:00
Dmitriy Kuzmenko
411bef5272 change admin for news 2019-10-29 10:30:08 +03:00
alex
4e0f3c9a4d with address 2019-10-28 10:59:28 +03:00
alex
49dbc9c72e Merge remote-tracking branch 'origin/migrate-location-app' into origin/feature/migrate-etablishment 2019-10-28 10:22:33 +03:00
alex
16f06ce2f1 fix news slug 2019-10-26 22:02:38 +03:00
littlewolf
7e757aa63f Merge branch 'origin/feature/migration' into migrate-location-app
# Conflicts:
#	apps/gallery/models.py
#	apps/location/transfer_data.py
#	apps/transfer/management/commands/transfer.py
#	project/settings/base.py
#	requirements/base.txt
2019-10-26 08:45:12 +03:00
Anatoly
7d0acba51b added to same_theme and should_read preview_image_url, added UniqueConstraint to NewsGallery model 2019-10-25 16:18:16 +03:00
evgeniy-st
174e580c20 Merge branch 'feature/search-by-type' into develop 2019-10-25 16:07:38 +03:00
evgeniy-st
d4fe5ebd2d search by type & subtype 2019-10-25 16:06:52 +03:00
Виктор Гладких
b7831b9739 Fix IsContentPageManager 2019-10-25 15:25:35 +03:00
alex
0f595ee40b merge migrations 2019-10-25 12:07:02 +03:00
alex
cd294961e0 Merge remote-tracking branch 'origin/develop' into feature/migration 2019-10-25 10:00:25 +03:00
littlewolf
95b5d4ad99 Merge branch 'develop' into migrate-location-app
# Conflicts:
#	apps/gallery/models.py
#	requirements/base.txt
2019-10-25 09:54:03 +03:00
Dmitriy Kuzmenko
66ddfb455b fix tests 2019-10-24 22:19:59 +03:00
Anatoly
81cdaa5c89 added image_url & preview_image_url to NewsDocument 2019-10-24 19:53:09 +03:00
Anatoly
84fb0aec70 change field parameter in model Guide (gm-241) 2019-10-24 16:42:08 +03:00
alex
a667655c09 pprint 2019-10-24 15:32:47 +03:00
Semyon Yekhmenin
2b9c9d14ef Added temporary stub for international news logic (hardcoded news id's) 2019-10-24 12:21:59 +00:00