Commit Graph

252 Commits

Author SHA1 Message Date
Виктор Гладких
5ecb5d214b Old role migrate1 2019-12-03 15:24:02 +03:00
Виктор Гладких
f5d5ce922f Old role migrate 2019-12-03 15:23:41 +03:00
Dmitriy Kuzmenko
637903e613 fix scheduler 2019-12-03 15:15:02 +03:00
Виктор Гладких
6d9686b64a Fix error 2019-12-02 15:12:17 +03:00
Виктор Гладких
806a7d63e4 Migrate 2019-11-22 11:43:22 +03:00
Anatoly
617552841f refactored product, fix transfer and etc., see changelist 2019-11-21 09:58:43 +03:00
alex
46d4898428 user back api test 2019-11-20 09:11:17 +03:00
Anatoly
9975f3f3b5 added bo endpoints for product notes 2019-11-19 18:28:53 +03:00
alex
a8cc734d20 back user api 2019-11-19 17:48:20 +03:00
alex
a1d5feb8dc poroduct in_fav 2019-11-14 18:23:42 +03:00
alex
906ca921f5 in_favorites news 2019-11-13 19:33:09 +03:00
Виктор Гладких
7d9b6d1f30 Add category tag for products 2019-11-12 15:01:12 +03:00
Dmitriy Kuzmenko
7617981259 change command for migration of users 2019-11-11 15:29:31 +03:00
Виктор Гладких
b8d9a1344b Add hash password 2019-11-08 16:31:43 +03:00
Виктор Гладких
be0412ffae Fix url 2019-11-08 11:42:40 +03:00
Виктор Гладких
251d29c461 Add image url 2019-11-08 11:29:45 +03:00
Виктор Гладких
37ba1a1c39 Edit help message 2019-11-07 17:03:14 +03:00
Виктор Гладких
ba6d18d202 Fix account migration 2019-11-07 17:01:26 +03:00
alex
9b16f46215 migrate identities 2019-11-06 15:12:33 +03:00
alex
a372d29677 refactor comment migration 2019-11-06 14:24:14 +03:00
Kuroshini
19c7ce4c51 Send confirmation to new email #3 2019-11-05 21:49:57 +03:00
Kuroshini
70f86c792b New email templates 2019-11-05 21:33:38 +03:00
Kuroshini
be48bff5ae Send confirmation to new email 2019-11-05 18:56:11 +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
Anatoly
03c75efece gm-259, gm-260, gm-261 2019-10-29 17:16:39 +03:00
Dmitriy Kuzmenko
e270131679 Merge branch 'develop' into origin/migration_fix 2019-10-29 15:27:40 +03:00
Dmitriy Kuzmenko
97f75dfc05 add filter accounts for existing users 2019-10-29 14:32:51 +03:00
littlewolf
338c4a4901 Add migration 2019-10-29 12:16:18 +03:00
littlewolf
72c6545a34 Add old_id to account_user 2019-10-29 11:30:33 +03:00
Dmitriy Kuzmenko
72713badff remove print from tests 2019-10-25 11:04:40 +03:00
alex
cd294961e0 Merge remote-tracking branch 'origin/develop' into feature/migration 2019-10-25 10:00:25 +03:00
Виктор Гладких
df52c8a582 Add merged migrations 2019-10-24 15:34:35 +03:00
Semyon Yekhmenin
74b2b52ee1 Added currency to establishment model 2019-10-24 11:06:58 +00:00
alex
0adac058c5 Merge remote-tracking branch 'origin/feature/develop_ci' into feature/migrate-news
# Conflicts:
#	apps/gallery/models.py
#	requirements/base.txt
2019-10-24 13:11:05 +03:00
a.feteleu
2756529c7f fix migrations in userroles 2019-10-24 11:34:00 +03:00
a.feteleu
7e93aafc3f added merge migrations 2019-10-23 17:05:37 +03:00
Anatoly
7dbf594809 Merge branch 'develop' into feature/gm-148
# Conflicts:
#	apps/account/tasks.py
2019-10-23 15:54:21 +03:00
Anatoly
fd2c1e0ca6 Merge remote-tracking branch 'origin/feature/gm-148' into feature/gm-148
# Conflicts:
#	apps/news/models.py
#	apps/news/serializers.py
#	apps/news/views.py
#	project/settings/production.py
2019-10-23 15:37:14 +03:00
Anatoly
6a9f11e989 merge from develop 2019-10-23 15:31:04 +03:00
Sergey Melihov
883f94c80a Merge branch 'feature/password-changed-notification' into 'develop'
Feature/password changed notification

See merge request gm/gm-backend!58
2019-10-23 11:51:15 +00:00
Anatoly
90e53d738d Merge branch 'develop' into feature/gm-148
# Conflicts:
#	apps/main/models.py
#	apps/news/admin.py
#	apps/news/models.py
#	apps/news/serializers.py
#	apps/news/views.py
#	project/settings/base.py
#	project/settings/production.py
#	requirements/base.txt
2019-10-23 12:00:58 +03:00
michail
6dd4e1af33 Merge branch 'feature/migrate-city-objects' of ssh://gl.id-east.ru:222/gm/gm-backend into feature/migrate-city-objects 2019-10-23 12:18:39 +05:00
michail
9e6d01b1bd prototype for transfer account 2019-10-23 12:18:25 +05:00
littlewolf
f09bd5996a Merge branch 'develop' into feature/migrate-city-objects
# Conflicts:
#	project/settings/base.py
#	requirements/base.txt
2019-10-23 09:27:42 +03:00
evgeniy-st
6c195bc185 Merge branch 'develop' into feature/gm-148 2019-10-21 20:26:31 +03:00
Виктор Гладких
264e7bcb2a Fix conflict 2019-10-21 14:43:14 +03:00
Виктор Гладких
c012f969af Add RestaurantReviewer role 2019-10-17 16:17:17 +03:00
Виктор Гладких
766fdcdad5 Add reviewer manager 2019-10-16 15:18:31 +03:00
Виктор Гладких
9fd89bf812 Add establishment manager role 2019-10-16 11:40:51 +03:00
Виктор Гладких
86692019d1 Add Country admin to views 2019-10-16 10:14:23 +03:00
Kuroshini
9c09f000fb Password changed notification email 2019-10-15 16:32:47 +03:00
Виктор Гладких
ff7df815f4 Fix country_id 2019-10-15 15:20:44 +03:00
Виктор Гладких
e8d0045cec Merge branch 'develop' into feature/GM-176_standard_user 2019-10-15 15:17:15 +03:00
Anatoly
f86b7d489f fix merge 2019-10-15 12:23:13 +03:00
Anatoly
2d830b2821 Merge branch 'feature/gm-192' into feature/gm-148
# Conflicts:
#	apps/news/models.py
#	apps/news/serializers.py
#	apps/news/views.py
2019-10-15 12:08:23 +03:00
Anatoly
6f6717efdc Merge branch 'develop' into feature/gm-192
# Conflicts:
#	apps/account/views/common.py
#	project/urls/back.py
2019-10-15 11:47:14 +03:00
michail
54cfccbcbe the fix of types fields in all apps 2019-10-15 13:23:31 +05:00
Anatoly
228cb72c36 Merge branch 'develop' into feature/gm-148 2019-10-14 18:19:46 +03:00
Виктор Гладких
1bd3cc9170 1 2019-10-14 17:32:34 +03:00
Kuroshini
fb4cf25dce Fix empty email after creating account 2019-10-14 16:43:59 +03:00
Kuroshini
8eaf611d7e Reverting migration 2019-10-14 16:02:02 +03:00
Kuroshini
6fa0051c93 Revert "Password reset confirmation mechanics"
This reverts commit 71528d8
2019-10-14 15:53:40 +03:00
Виктор Гладких
7b4553663c Fix 2019-10-14 15:45:41 +03:00
Виктор Гладких
b3eac3666b Standart user, guest. 2019-10-14 14:48:13 +03:00
Anatoly
9e237d4657 removed endpoint to display a list of tags by establishment id, added instead filter to filter tags by establishment id 2019-10-14 11:40:03 +03:00
d.kuzmenko
1f6bf819e8 Merge branch 'feature/roles' into 'develop'
Feature/roles

See merge request gm/gm-backend!50
2019-10-14 07:09:18 +00:00
evgeniy-st
0d7104eace Merge branch 'develop' into feature/gm-192 2019-10-11 16:44:54 +03:00
Anatoly
868a3c1b78 added merge migration 2019-10-11 16:36:34 +03:00
Anatoly
32d56ffe83 Merge branch 'develop' into feature/gm-148 2019-10-11 16:34:06 +03:00
Виктор Гладких
a6c56a4bf1 Fix and refactor 2019-10-11 14:49:32 +03:00
Kuroshini
114d159449 fix tests 2019-10-11 13:46:08 +03:00
Kuroshini
71528d8a28 Password reset confirmation mechanics 2019-10-10 20:49:35 +03:00
Kuroshini
c920628574 Don't change email until user confirms it 2019-10-10 17:42:29 +03:00
littlewolf
0e474a16ea Merge remote-tracking branch 'origin/feature/migrate-city-objects' into feature/migrate-city-objects 2019-10-10 09:04:01 +03:00
Виктор Гладких
7ed976dec0 Test 2019-10-09 16:28:14 +03:00
michail
4cc9fabd73 edited transfer.py for notification, account, establishment 2019-10-09 17:43:48 +05:00
Виктор Гладких
48ca13803e Pre test permission comment 2019-10-09 14:44:01 +03:00
littlewolf
22d2396c6b Merge branch 'develop' into feature/migrate-city-objects
# Conflicts:
#	docker-compose.yml
#	project/settings/base.py
2019-10-09 07:54:15 +03:00
Anatoly
d321866dc2 gm-192: in progress 2019-10-08 15:38:35 +03:00
Виктор Гладких
eeba02c2ae test role 2019-10-08 15:26:39 +03:00
Виктор Гладких
e66a6bcbfa Fix models 2019-10-08 10:18:51 +03:00
Виктор Гладких
7925febc77 Models role 2019-10-08 09:57:47 +03:00
michail
4e96d09513 added transfer.py to account, comment and review 2019-10-07 14:34:24 +05:00
Anatoly
eaa1795f0c Merge branch 'develop' into feature/gm-148
# Conflicts:
#	apps/authorization/tasks.py
2019-10-04 14:00:06 +03:00
Anatoly
af0e6af5c4 refactored email reconfirm view 2019-10-04 13:48:48 +03:00
Anatoly
4890e00b95 gm-148: refactored 2019-10-04 11:50:29 +03:00
Anatoly
ae4d6c3ccd Merge branch 'develop' into feature/gm-148
# Conflicts:
#	apps/news/models.py
#	apps/news/serializers.py
2019-10-02 15:46:35 +03:00
evgeniy-st
ca9475b182 refactor this feature 2019-10-02 12:35:01 +03:00
Anatoly
d9635a8599 gm-148: refactored 2019-10-02 10:16:32 +03:00
Виктор Гладких
7e5844a24f Fix test auth 2019-09-24 16:06:31 +03:00
Виктор Гладких
67a5f8b2f0 Test web account 2019-09-24 15:07:00 +03:00
Виктор Гладких
28ae1ab8d1 Test reset password 2019-09-24 14:03:55 +03:00
Виктор Гладких
2ad2b3b56d Refactor 2019-09-24 12:13:39 +03:00
Виктор Гладких
b091da3f56 Fix 2019-09-24 11:07:07 +03:00
Виктор Гладких
199ca1fa77 Refactor test code 2019-09-24 10:25:44 +03:00
Виктор Гладких
7f630e9e94 Test web email confirm 2019-09-24 09:23:57 +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
Виктор Гладких
77b9d3f4a7 Test account 2019-09-23 16:38:57 +03: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
Виктор Гладких
23759974d9 Add account/user/ test for GET 2019-09-23 15:34:40 +03:00
Виктор Гладких
b69822444a Refactor tests for authorization 2019-09-23 15:06:55 +03:00
Anatoly
277c7ba2eb added field old_password to endpoint for change user password 2019-09-20 16:08:23 +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
4a3e028c3a Fixed reset password 2019-09-18 11:50:39 +03:00
Anatoly
784728d155 Facebook auth return user email; fixed URL in templates 2019-09-18 11:21:27 +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
075298f6ec refactored apps account, authorization, news, utils 2019-09-12 14:44:49 +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
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
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
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
5403f0d325 refactored: login, logout, refresh token, change email, confirm email, reset password endpoints 2019-09-04 12:42:23 +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
1b3eececf2 refactored authorization and account app 2019-09-02 15:44:37 +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
Anatoly
3c7fc7a436 Merge remote-tracking branch 'origin/develop' into feature/authorization 2019-09-02 11:10:52 +03:00
Anatoly
0d4f080850 added new model - Comment 2019-09-01 12:30:00 +03:00
Anatoly
f8b87c4788 added endpoint to change an email 2019-08-30 17:56:35 +03:00
Anatoly
62ee83b1d4 refactored authorization 2019-08-30 11:53:19 +03:00
Anatoly
5598290456 refactored refresh-token endpoint 2019-08-29 11:40:00 +03:00
Dmitriy Kuzmenko
253da87a99 URL refactoring 2019-08-28 11:35:38 +03:00
Anatoly
1d18d654e3 updated reset-password method 2019-08-23 14:35:47 +03:00
Anatoly
c03a3f9d4f fixed PasswordResetSerializer 2019-08-20 16:32:53 +03:00
Anatoly
a51a686600 added parameter to development settings; added "email_confirmed" flag to user admin page 2019-08-20 16:06:40 +03:00
Anatoly
047803bf43 added endpoint to account app; added "email_confirmed" field to User model; refactored auth app; 2019-08-20 15:43:59 +03:00
Anatoly
556e9ea564 version 0.0.21: added endpoints to reset password, added endpoint to finish signing up, move some tasks to celery, added templates 2019-08-20 11:10:07 +03:00
Anatoly
d5a14ef8c2 version 0.0.11: added new model and CRUD endpoints to them; refactored auth app 2019-08-15 11:59:10 +03:00
Anatoly
cc04a50709 version 0.0.5.12: refactored authorization app (added JWT support) 2019-08-13 14:14:18 +03:00
Anatoly
0a35f06ff5 version 0.0.5.11: refactored and setup CORS 2019-08-12 15:06:38 +03:00
Anatoly
7c27757874 version 0.0.5.8: fixed method to reset password (until without confirmation), unfinished confirm method 2019-08-11 20:51:50 +03:00
Anatoly
cfc6e05595 version 0.0.5.7: added method to reset password (until without confirmation) 2019-08-11 19:53:36 +03:00
Anatoly
4fbee551c3 version 0.0.5.6: added method to sign up 2019-08-10 19:18:55 +03:00
Anatoly
687b4d3a82 version 0.0.5.5: added method to logout, refactored existed serializers and views a lot 2019-08-10 13:43:00 +03:00
Anatoly
cb3fbcac93 version 0.0.5.4: added endpoints to login with username or email, refactored auth serializers, added project exceptions, refactored base settings 2019-08-09 22:10:13 +03:00
Anatoly
22f2de94f2 version 0.0.5.1: added integration with facebook, refactored a lot 2019-08-09 09:56:16 +03:00