443 Commits

Author SHA1 Message Date
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
4c27452bf9 Added error handling for missing character model. 2015-12-02 06:09:20 +00:00
Adarnof
93699bc69c Merge pull request #118 from Adarnof/celeryfix
More celery fixes.
2015-12-02 00:59:29 -05:00
Adarnof
f899a76b5f Addresses #110
Corrected logic attempting to retrieve data from nonexistant character model.
Also added logic to create character models for new characters on existing API keys.
2015-12-02 05:57:33 +00:00
Adarnof
58bcddc431 Merge pull request #117 from Adarnof/hrapplicationfix
Added error handling for missing corp models.
2015-12-01 23:53:18 -05:00
Adarnof
627dbcf210 Added text indicating a Discord account is needed and link to site. 2015-12-02 04:51:10 +00:00
Adarnof
c85882fa74 Added error handling for missing corp models.
Addresses #116 and more unreported.
2015-12-02 04:46:30 +00:00
Adarnof
57aca60cdf Merge pull request #113 from Adarnof/discord
Discord Support
2015-12-01 23:23:38 -05:00
Adarnof
f342569f16 Corrected reference to wrong manager in group creation. 2015-12-02 04:22:48 +00:00
Adarnof
286910059b Moved syncgroup deletion into block ensuring user was deleted. 2015-12-02 03:57:54 +00:00
Adarnof
7e371e34f8 Hid Discord user ID as it adds nothing and can confuse members. 2015-12-02 03:31:12 +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
ae38f8f01f Corrected parameter checked for Discord account activation. 2015-12-02 01:08:15 +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
Brett Costabile
44b88b8b0f Merge pull request #115 from Kaezon/new-distro-vagrant
New distro vagrant
2015-12-01 19:52:32 -05:00
Brett Costabile
948d705fe8 changed distro
Swapped ubuntu/precise32 for hashicorp/presice64
Seems to be way faster for setup.
2015-12-01 19:50:47 -05:00
Brett Costabile
c0986abf4a Merge remote-tracking branch 'refs/remotes/R4stl1n/master' 2015-12-01 19:01:39 -05: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
57b44620cd Disabled Discord account reset until a proper mechanism can be thought up. 2015-12-01 06:23:18 +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
45e91f3b1f Removed duplicate entry of discord row in services list. 2015-12-01 04:26:18 +00:00
Adarnof
4ac7c4249c Updated AuthServiceInfoManager to update correct fields. 2015-12-01 04:15:43 +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
05eb59789f Merge https://github.com/R4stl1n/allianceauth into discord 2015-12-01 01:34:36 +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
7001071820 Deleted unnecessary discord client. 2015-12-01 00:27:59 +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
2da93d4410 Added required settings and context to render services page.
Added URLs for enabling and disabling Discord.
Added Discord section to services page.
2015-11-30 22:30:18 +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
765fcb52de Added required settings to example settings.py
Added additional fields in authserviceinfos to represent username and uid
2015-11-30 21:53:49 +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
4383e9314d Corrected missing header for delete_invite 2015-11-30 04:00:31 +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
Adarnof
617ac5e0f5 Merge pull request #108 from Adarnof/scrub
Validate usernames during registration.
2015-11-29 16:31:54 -05:00
Adarnof
8cfcd8b618 Merge pull request #109 from Adarnof/timerboard
Modified timer model to include objective status
2015-11-29 16:31:33 -05:00
Adarnof
5bc0892dae Modified timer model to include objective status. 2015-11-29 04:30:15 +00:00
Adarnof
b5a4b4980a Scrubs usernames on registration allowing only letters, numbers and underscores.
Should prevent issue #46 from appearing on new installs.
2015-11-29 01:57:35 +00:00
Adarnof
d14ec57575 Merge branch 'master' of https://github.com/R4stl1n/allianceauth 2015-11-28 06:28:57 +00:00
Adarnof
ba73c4c465 Updated startup script to collect static and evolve as needed. 2015-11-28 06:28:30 +00:00
Adarnof
7e6e5bbfb7 Merge pull request #107 from Adarnof/broadcast
Broadcast Plugin Support
2015-11-28 00:43:15 -05:00