24 Commits

Author SHA1 Message Date
Adarnof
55fc69cf8d Basic logging for Discord account creation and database updating. 2015-12-28 06:50:13 +00:00
Adarnof
d7e336d8b6 Attempted hotfix for #134 and likely #127
Reverts #119 in an attempt to prevent infinite group creation on Discord server.
2015-12-04 22:10:07 +00:00
Adarnof
f0a70a1d05 Removed incomplete function.
Closes #120.
2015-12-02 17:24:20 +00:00
Adarnof
b08cfd7409 Intelligently produces group listing. Halves the time required to create account.
Closes #119
2015-12-02 06:39:24 +00:00
Adarnof
f342569f16 Corrected reference to wrong manager in group creation. 2015-12-02 04:22:48 +00:00
Adarnof
b9db6fc38c Reduced number of api calls to improve response time. 2015-12-02 03:22:18 +00:00
Adarnof
563967bf0d Updated form to a password input for security.
DiscordManager now strips groups before kicking. This prevents server owners from keeping groups if they connect account with auth.
2015-12-02 01:39:06 +00:00
Adarnof
a388e2595e Cleaned up redundant functions. 2015-12-02 01:18:59 +00:00
Adarnof
8442ec1f55 Changed discord account handling. Now requests email and password and grabs UID via API.
UID is stored in authserviceinfo model and used as required.
2015-12-02 01:02:13 +00:00
Adarnof
ec1b17df25 Dissociates user account from email address when deleting service. 2015-12-01 07:56:13 +00:00
Adarnof
f6ef741e63 Added password change function as reset action. 2015-12-01 06:55:33 +00:00
Adarnof
9e72422639 Corrected typo in register_user function preventing succesful registration. 2015-12-01 06:13:06 +00:00
Adarnof
54d216bdf0 Changed how user account deletions are handled.
Now bans/unbans account as necessary.
2015-12-01 04:50:14 +00:00
Adarnof
7461501d41 Corrected parameter list for user registration. 2015-12-01 04:28:17 +00:00
Adarnof
c009420536 Included Discord in disable_services from common_task.
Changed how user accounts in discord are handled: endpoint accepts password and email.
Accounts are created with a password(random) and their user email. Need to activate account through link in email.
2015-12-01 04:12:50 +00:00
Adarnof
90522a5053 Changed default group permission to:
- Read Messages
 - Send Messages
 - Embed Links
 - Read Message History
 - Connect
 - Speak
 - Use Voice Activity
2015-12-01 03:25:48 +00:00
Adarnof
bec690ad51 Deletes invites once user registered as Discord ignores max_age right now. 2015-12-01 00:42:04 +00:00
Adarnof
728a18b763 Corrected default invite parameters to increase security: 5 minute lifetime, 1 use. 2015-12-01 00:37:54 +00:00
Adarnof
d3c8189c92 Corrected Discord user deletion logic.
Fixed Discord account reset.
2015-11-30 23:51:39 +00:00
Adarnof
d9ffaa5e50 Initial work on reset discord account. 2015-11-30 23:41:44 +00:00
Adarnof
a6447d3596 Added link to discord server to services page.
Corrected handling of user deletion to return true if account absent on server.
2015-11-30 23:01:44 +00:00
Adarnof
34a27ba885 Added syncgroup logic to celery tasks.
Wrote request handles for enabling and disabling discord user.
2015-11-30 22:08:17 +00:00
Adarnof
c51b8c77e6 Consolidated API manager and service manager.
Initial service functions added to DiscordManager.
2015-11-30 21:47:06 +00:00
Adarnof
7e05054854 Initial work on Discord integration.
Manually created REST API manager as per the documented functions.
Attempting to integrade discord-py wrapper, unsuccesful thusfar.
Addresses #88
2015-11-30 03:44:38 +00:00