2227 Commits

Author SHA1 Message Date
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
6c3085f78c Added django core logging with default loglevel ERROR
Corrected logic for logging message in authentication/managers.py
2016-01-03 08:57:52 +00:00
Adarnof
583be5a72e Changed to rotating log file handler.
Added logging description in settings.py
Updated .gitignore to ignore rotated log files.

Logging adapted from http://stackoverflow.com/questions/14354066/django-log-rotating-and-log-file-ownership
2016-01-02 22:34:44 +00:00
Adarnof
5f70e68cc2 Typo. 2016-01-02 22:19:41 +00:00
Adarnof
c066629864 Corrected logging errors. 2016-01-02 22:15:38 +00:00
Adarnof
017b6bc7ce Lowered log level of api results to declutter logs. 2016-01-02 21:43:51 +00:00
Adarnof
a789edb3d8 Logging everywhere.
Corrected corp model updating logic to handle owning corp.
Corrected typecasting during api access mask comparison.
Removed error protection during user TS3 group updating to propogate errors.

Relevent issues:
Sorry for the spam.
2016-01-02 21:24:40 +00:00
Adarnof
9225896938 Merge branch 'master' of https://github.com/R4stl1n/allianceauth into more_logging
Conflicts:
	celerytask/tasks.py
2016-01-02 14:35:10 +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
b43902c178 Another tweak to logging settings. 2015-12-28 21:13:04 +00:00
Adarnof
834cd8865e Added console logging output. 2015-12-28 20:21:17 +00:00
Adarnof
d44d73d445 Corrected logging of services module. 2015-12-28 19:51:09 +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
ab4f00fc1e Merge branch 'master' of https://github.com/R4stl1n/allianceauth 2015-12-10 02:55:41 +00:00
Adarnof
cddedde26e Teamspeak group syncing now occurs once per database update rather than once per user per db update.
Reduces calls to teamspeak as per #134
2015-12-10 02:54:30 +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
e1a461a0cc Merge pull request #122 from TrentBartlem/patch-1
Syntax highlighting of .example file
2015-12-03 20:33:29 -05:00
Adarnof
052dd10834 Fixes #126 2015-12-04 00:01:18 +00:00
Trent Bartlem
586c4bf5cb *.py.example files are Python 2015-12-03 18:11:13 +10:00
Trent Bartlem
dcd17e7df8 Create .gitattributes 2015-12-03 18:09:44 +10:00
Trent Bartlem
206e923322 Syntax highlighting in vim, github 2015-12-03 17:58:41 +10:00
Trent Bartlem
a6ed320fd6 Create .gitignore 2015-12-03 17:52:18 +10:00
Adarnof
8028749688 Added reqeuests package as requirement. 2015-12-03 02:17:23 +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
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