Commit Graph

350 Commits

Author SHA1 Message Date
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