132 Commits

Author SHA1 Message Date
Joeeigel
719898d4b2 Fixed casing on column names
I'm not sure how MySQL handles column names and if they are case
sensitive, so better to be safe than sorry.

I'm an MSSQL dev, we don't care in my world!
2016-01-08 02:12:42 +00:00
Joeeigel
7ab7125f45 Fixing invalid column name
We're using phpBB, not just "php"
2016-01-08 01:22:03 +00:00
Joeeigel
25eed75717 Added in clearing of user permissions on assigning groups 2016-01-08 01:20:15 +00:00
Adarnof
0586f0f6d5 Custom service passwords now available.
- mumble, phpbb, ipboard, jabber
Addresses an evemail request.
2016-01-06 06:56:00 +00:00
Adarnof
2c6ca5f273 Assign user to discordauthtoken for security
- prevents exploit of another user entering incorrect password for email yet passing validation using existing token mentioned in #146
 - does not protect against same user entering wrong password (I can live with this.)
Periodic task to remove invalid token every 2 hours
2016-01-05 22:53:52 +00:00
Adarnof
08cd2c1f1a Corrections for typos in logging.
Rephrased EveManager exceptions to reflect determination id is not of type rather than failure of function.
2016-01-03 20:08:44 +00:00
Adarnof
017b6bc7ce Lowered log level of api results to declutter logs. 2016-01-02 21:43:51 +00:00
Adarnof
b9125c3d5c Finished adding logging to service views and managers. 2015-12-30 15:29:27 +00:00
Adarnof
cd44f00881 Finished auditing service manager logging. 2015-12-30 11:22:40 +00:00
Adarnof
8b2b253c58 Adding missing brackets. 2015-12-29 23:00:06 +00:00
Adarnof
3f359ecae1 Logging added to all service managers.
Unrelated, getting ImportError when trying to start shell. I broke something.
2015-12-29 22:44:17 +00:00
Adarnof
087dc24344 Another correction to logging for discord manager. 2015-12-29 19:58:16 +00:00
Adarnof
ab7017094e Corrected logger string formatting for update groups. 2015-12-29 19:48:09 +00:00
Adarnof
604c08b3b7 Discord Auth Token caching implemented to work around rate limits.
Addresses #146
2015-12-29 19:36:28 +00:00
Adarnof
834cd8865e Added console logging output. 2015-12-28 20:21:17 +00:00
Adarnof
235385ce39 Added more logging to TS3 manager. 2015-12-28 18:07:14 +00:00
Adarnof
55fc69cf8d Basic logging for Discord account creation and database updating. 2015-12-28 06:50:13 +00:00
Adarnof
5d9a3b6b43 Removed unused exception handling from group update 2015-12-23 01:26:30 +00:00
Adarnof
0c4cda95d9 Added handling of empty group lists 2015-12-22 23:03:41 +00:00
Adarnof
307d577acf Added exception importing to catch custom exceptions from openfire-restapi package 2015-12-22 22:42:34 +00:00
Adarnof
9b2934ae7a Corrected handling of group updates
Removed old openfire package from requirements
2015-12-22 22:39:38 +00:00
Adarnof
23c8d48fbe Adds REST API support to Openfire using git package per #144 2015-12-22 22:14:20 +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
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
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
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
52eb5e0fd8 Removed commented code.
Addresses #104
2015-11-28 00:53:59 +00:00
Adarnof
0c1bf29dd3 Introduced new setting for broadcast service.
Changed broadcast logic to use broadcase openfire plugin.
Inital, untested commit.
2015-11-28 00:33:16 +00:00
Adarnof
20362625ea Corrected access mask logic to ensure required endpoints are available. 2015-11-27 00:18:00 +00:00