Commit graph

101 commits

Author SHA1 Message Date
PCoder
e18188603a Decode username back to string from bytes after encode 2020-03-07 11:13:57 +05:30
PCoder
4441ba37ca Add migration: membership/migrations/0012_auto_20200306_1016.py 2020-03-06 15:48:02 +05:30
PCoder
af70824d6a Increase username charfield to 120 chars 2020-03-06 15:30:07 +05:30
PCoder
a995f418b2 Remove any non alphanum character present in email for username 2020-03-06 12:25:51 +05:30
PCoder
ea79fafb08 Handle unicodes in username + limit username length 2020-03-06 12:17:23 +05:30
PCoder
f539967a22 Set in_ldap even when resetting dummy credential 2020-03-06 00:01:27 +05:30
PCoder
d21c5837f7 Change ldap credentials which was set to dummy during migration 2020-03-05 22:40:59 +05:30
PCoder
f566aa8a2e Make VAT number a part of billing address 2019-12-21 08:43:34 +05:30
PCoder
c9de757bc7 Merge remote-tracking branch 'mainRepo/master' into feature/VAT_number 2019-12-21 08:19:23 +05:30
PCoder
034d2971cd Remove duplicate import 2019-12-18 21:33:02 +05:30
b382d9709f removed redundant migrations 2019-12-18 16:28:26 +05:00
PCoder
78f901c48a Simplify migrations 2019-12-18 16:24:27 +05:30
6c3f01003f remove search_base + fixed issue pointed out by mravi that results in different username in db and ldap 2019-12-18 15:19:47 +05:00
75b08cfbf8 Change password in db only if password change in ldap is successfull 2019-12-18 12:52:46 +05:00
PCoder
3efd6087e2 Add vat_number migration file 2019-12-17 22:08:55 +05:30
PCoder
e11882685f Add vat_number field to CustomUser 2019-12-17 22:07:57 +05:30
b52f2de8d7 now using hash func from utils.ldap_manager 2019-12-14 14:29:45 +05:00
2a1932e052 Added validator to allow only letters + spaces + hyphen, Normalizing usernames to ASCII 2019-12-13 20:37:30 +05:00
b4995336c6 username would consist of only alphanumerics, ldap fields are encoded in utf-8 2019-12-13 17:52:00 +05:00
c96aff16af username check added for ldap 2019-12-13 15:05:27 +05:00
3b9322b929 init commit 2019-12-10 22:53:50 +05:00
PCoder
a2635e6fb9 Update customuser add stripe import remark 2019-11-28 12:51:02 +05:30
PCoder
c40331fcc1 Add deleteduser model 2019-05-06 08:07:26 +02:00
PCoder
ba88bbf6bd Add migration to change user_id to customuser_id in legacy code
Pertains to djangocms_blog
2019-05-06 08:04:57 +02:00
PCoder
cf00ff6bd8 Attempt to merge master into task/3747/multiple_cards_support 2018-06-12 08:16:11 +02:00
PCoder
593c83aeee Autoformat membership/admin.py 2018-02-20 06:58:08 +01:00
M.Ravi
abf316da9e Add Change password functinality while editing a user via admin
site
2018-02-13 03:33:30 +01:00
M.Ravi
16add66ed8 Improve CustomUserAdmin
This is required for managing djangoCMS Users (page) and also
CustomUser via admin site.
2018-02-13 03:04:25 +01:00
M.Ravi
5e68fec29e Add is_staff setter method for CustomUser 2018-02-13 02:42:40 +01:00
M.Ravi
74f213e1d5 Set default value for validation_slug 2018-02-13 02:37:03 +01:00
PCoder
4a30438704 Update datacenterlight django.po 2017-11-27 08:38:10 +01:00
PCoder
273fa75d55 Fix PEP8 warnings 2017-11-26 01:12:16 +01:00
PCoder
7656caedcf Comment out code in test membership.tests.LoginTestCase 2017-11-25 22:30:53 +01:00
PCoder
7104d74bda membership.tests.LoginTestCase: Comment out asserts 2017-11-25 21:32:57 +01:00
PCoder
7e5cab2cc4 Fix PEP8 warnings 2017-10-28 22:44:58 +02:00
M.Ravi
ef9dc446db Use hasattr to check if a user already has a stripecustomer object 2017-10-26 15:00:54 +02:00
M.Ravi
8d2c120b43 Associate newly added card with customer from hosting 2017-10-26 12:29:16 +02:00
PCoder
600b549704 Handle case where a Stripe account may have been deleted via dashboard 2017-10-21 20:39:00 +02:00
Arvind Tiwari
452089e103 translation fix 2017-10-10 21:38:49 +05:30
M.Ravi
4add1af933 Fix flake8 warnings 2017-09-28 14:49:17 +02:00
M.Ravi
994ffaf117 Send account details in email 2017-09-22 12:01:09 +02:00
PCoder
e2cb70a697 first attempt at refatoring the user creating to order confirmaton page 2017-09-21 06:41:09 +05:30
M.Ravi
d481737518 Fixed subject of account activation email templates 2017-09-03 18:17:25 +02:00
PCoder
3be7fbe2ee Added name parameter for creating StripeCustomer and set description to this 2017-08-15 16:05:52 +05:30
Andrii Marynets
d2beef2032 Add parameter to function for TravisCI 2017-08-03 00:24:16 +03:00
Andrii Marynets
9f050467a1 Add flag is_superuser=True in CustomUserManager
Missing is_superuser=True was the reason why createsuperuser command did'n make user with all staff
2017-07-16 16:51:07 +03:00
siarheipuhach
a9c9f74aed Fixed PEP8 violations 2017-06-29 19:23:25 +03:00
Siarhei Puhach
fcc109b8f5 Merge branch 'master' into feature/flake8 2017-06-29 18:56:50 +03:00
Siarhei Puhach
edcfd3e9f4 Added Flake8 lib and fixed PEP8 violations 2017-06-29 17:34:40 +03:00
M.Ravi
aca831adac Resolved conflicts while merging pcoder-new_flow 2017-06-23 04:35:33 +05:30