Commit Graph

72 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 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
ahmadbilalkhalid 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
ahmadbilalkhalid 75b08cfbf8 Change password in db only if password change in ldap is successfull 2019-12-18 12:52:46 +05:00
PCoder e11882685f Add vat_number field to CustomUser 2019-12-17 22:07:57 +05:30
ahmadbilalkhalid b52f2de8d7 now using hash func from utils.ldap_manager 2019-12-14 14:29:45 +05:00
ahmadbilalkhalid 2a1932e052 Added validator to allow only letters + spaces + hyphen, Normalizing usernames to ASCII 2019-12-13 20:37:30 +05:00
ahmadbilalkhalid b4995336c6 username would consist of only alphanumerics, ldap fields are encoded in utf-8 2019-12-13 17:52:00 +05:00
ahmadbilalkhalid c96aff16af username check added for ldap 2019-12-13 15:05:27 +05:00
ahmadbilalkhalid 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 cf00ff6bd8 Attempt to merge master into task/3747/multiple_cards_support 2018-06-12 08:16:11 +02: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 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
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
M.Ravi 165dfa49ab Fixed __proxy__ to string conversion issue 2017-06-23 01:42:37 +05:30
M.Ravi e5929b8f76 Removed call to refresh_from_db as it was wrongly used 2017-06-23 00:15:47 +05:30
M.Ravi d4e7eb9511 Added CustomUser model reload code 2017-06-22 23:48:14 +05:30
M.Ravi b4c3172a4d Added send_email flag to send/not send email on user registration. Added get_random_password method to CustomUser 2017-06-22 13:22:14 +05:30
M.Ravi c50b2455c2 Separated email subject for translation 2017-06-20 23:45:25 +05:30
M.Ravi 17dd810945 Now we get dcl_text and dcl support email from settings 2017-06-19 12:30:37 +05:30
Pcoder 8dfcca8264 Fixed name for dcl 2017-06-16 00:47:09 +05:30
M.Ravi 2ec2b6980a Updated the CustomUser.register method so that we can handle register differently for digitalglarus and dcl 2017-06-11 05:19:56 +05:30
Levi 3da05e8025 Finished responsive issues 2016-12-19 09:33:15 -05:00
Levi 1a8b5e69a0 Fixed issue 2624, Creating command to charge all members for their membership month, Fixing bug on make charge membership command, Added language activation for make charge command 2016-10-01 17:17:46 -05:00
Levi e3d1761d45 Now booking is only for users with memberships. Added method to know if a membership is active or not. Added new formula for booking pricing. handling border cases when an user want to book. Added booking order detail view. Added booking order detail html. 2016-09-05 19:45:45 -05:00
Levi 4352094680 Added ‘view virtual machine plan ’ permission, Added ‘delete virtual machine plan’ permission , Added ‘view hosting order’ permission 2016-07-10 22:08:51 -05:00
Levi a8b9e02ea5 started hosting permissions 2016-06-26 14:50:48 -05:00