Commit Graph

421 Commits

Author SHA1 Message Date
Kuroshini
1a6828b53e fix news ordering 2020-01-21 15:48:37 +03:00
Kuroshini
5ef58b8202 news ordering 2020-01-21 15:15:32 +03:00
Kuroshini
f026cfceba fix rud for inactive news 2020-01-20 14:53:13 +03:00
Kuroshini
9ce5f89d74 try to fix issue w/ news images optimization 2020-01-20 14:18:56 +03:00
Anton Gorbunov
9debe8beef Merge branch 'bug/optimize-collection-images' into 'develop'
fix regexp for find images

See merge request gm/gm-backend!225
2020-01-20 10:58:16 +00:00
a.gorbunov
a31763c550 fix regexp for find images 2020-01-20 10:58:00 +00:00
Kuroshini
a9c1e5b154 in favorites for news 2020-01-20 13:51:25 +03:00
a.gorbunov
df601e3234 optimize news images 2020-01-20 10:42:16 +00:00
a.gorbunov
20a96e1e51 optimize news images 2020-01-20 10:40:34 +00:00
Олег Хаятов
4ae40dc78d Merge branch 'feature/preview-news' into 'develop'
Added new route preview/slug/<slug>/

See merge request gm/gm-backend!219
2020-01-17 14:24:50 +00:00
Ruslan Stepanov
903bdbb39d Merge branch 'develop' into 'feature/agenda-back-office'
# Conflicts:
#   apps/news/serializers.py
2020-01-17 11:12:30 +00:00
dormantman
a0fdef69b6 Fixed conditions for news methods 2020-01-16 21:16:08 +03:00
dormantman
6c624115e6 Added agenda validate to update method 2020-01-16 20:36:19 +03:00
Kuroshini
783e2e5931 cascade create agenda 2020-01-16 16:40:17 +03:00
dormantman
ad43e4a5f9 Added new route preview/slug/<slug>/ 2020-01-16 15:47:01 +03:00
Anatoly
017308da95 refactored news transfer 2020-01-16 14:20:07 +03:00
Kuroshini
0b261330e6 some news optimizations 2020-01-16 11:19:41 +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
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
da1fa9d83a Added agenda creating 2020-01-13 18:59:01 +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
28c674702c fix news state update 2020-01-13 12:12:01 +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
e8538d4fc2 unique slugs even in the same news object 2020-01-10 15:22:17 +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
Kuroshini
7edd836a75 helping hand representation 2019-12-31 01:22:45 +03:00
dormantman
e772663f44 Fix subsribtions 2019-12-30 22:44:58 +03:00
dormantman
13022ed476 Fix subsribtions 2019-12-30 22:23:16 +03:00
Kuroshini
ad21b6eb24 transfer tags with translations 2019-12-30 17:31:09 +03:00
Kuroshini
768a01e119 return in_favorites flag 2019-12-27 17:39:05 +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
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
Kuroshini
432873da31 fix main_image for news
(cherry picked from commit 8ca213a)
2019-12-25 13:48:32 +03:00
Dmitriy Kuzmenko
6e35713772 add merge migrations 2019-12-23 17:07:49 +03:00
Semyon Yekhmenin
9e19a8fc97 Feature/news event model update 2019-12-23 13:45:47 +00:00
alex
e4dada0d1d news transfer fix add tags 2019-12-23 16:01:47 +03:00
alex
14b8d16e90 news transfer fix 2019-12-23 15:54:58 +03:00
alex
cbca13093f fix news type 2019-12-23 15:43:27 +03:00
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