Adarnof
2bf133ceee
Corrections
2016-02-07 17:28:16 +00:00
Adarnof
2d2afa79eb
Added ability to manually trigger api refresh
...
Ignored cache databases
2016-02-07 11:40:11 +00:00
Adarnof
43eeee503f
Merge branch 'master' of https://github.com/R4stl1n/allianceauth
2016-02-07 10:33:33 +00:00
Mr McClain
28f5055eee
Removed Redundant Lieing Code
2016-02-07 15:13:07 -06:00
Adarnof
b988f4ad6f
Added ability to toggle assigning corp groups
2016-02-02 06:28:06 +00:00
Adarnof
3631b97567
Experimental fix for #229
2016-02-02 04:29:31 +00:00
Adarnof
cce661c17a
Use set_state function during api refresh
2016-01-31 18:11:01 +00:00
Adarnof
c50595303b
Corrected key validation
2016-01-31 18:02:20 +00:00
Adarnof
49d1b86566
Check apis during refresh by user state
2016-01-31 08:06:38 +00:00
Adarnof
cce940f9a2
Corrected form validation
...
Corrected logging comments
2015-12-11 14:02:15 +00:00
Adarnof
696483baa6
Updated API refresh to assign states properly
...
Corrected form comments
2015-12-11 13:28:51 +00:00
Adarnof
8978d8322e
Merge branch 'master' of https://github.com/R4stl1n/allianceauth into newcelery
2015-12-11 12:51:21 +00:00
Adarnof
d4b9186c61
API form validates by member and characters
...
Functions to determine membership level of user and eve characters
2015-12-11 12:50:30 +00:00
Adarnof
a641bd2b65
Fixes #220
...
Characters uppdate only when API key does not incur errors for #219
2015-12-10 14:47:30 +00:00
Adarnof
d486f979bb
Tolerate random 221 errors from API servers
...
Implements #185
2015-12-10 07:50:56 +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
5f70e68cc2
Typo.
2016-01-02 22:19:41 +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
Trent Bartlem
0fcc34ee23
#154 only sync TS3 if it's enabled
2016-01-02 16:19:37 +10: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
052dd10834
Fixes #126
2015-12-04 00:01:18 +00: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
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
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
c49804c95c
Corrected int-str comparison when decided to delete alliance models.
2015-11-28 00:45:57 +00:00
Adarnof
42e833b2e0
Corrects logic to create owner corp model with appropriate alliance, if applicable.
...
Properly gets corp alliance ID from api information when checking alliance models.
2015-11-27 23:59:08 +00:00
Adarnof
35277b7f33
Manual conflict resoltuion for pull request #98
2015-11-25 02:59:13 +00:00
Adarnof
f3d2a9cca5
Added logic to check if corp or alliance exists
...
Prevents errors in celery task from prevention execution
Addresses issues #68 and #93
2015-11-24 02:45:36 +00:00
Adarnof
0f19d95723
Corrected nested loop in run_corp_update
2015-11-14 09:58:22 +00:00
Adarnof
b36890ea9b
Moved alliance/corp blue status update logic within block verifying corp standings exist
2015-11-19 05:35:39 +00:00
Adarnof
d8f4cfb3c9
Corrected logic for handling no standings
2015-11-18 03:56:28 +00:00
Adarnof
cf634d77a4
improved alliance model deletion logic
2015-11-05 04:16:14 +00:00
Adarnof
0420bfb494
improved handling of corp/alliance model deletion
2015-11-05 02:25:12 +00:00
Adarnof
fd70fb8f03
Revision of hotfix for Issue #89
...
ensures alliance model exists before checking ID
2015-11-04 23:45:00 +00:00
Adarnof
c4f66e380a
Hotfix for Issue #89
...
Reworked logic to prevent comparison of NoneType alliance ID
2015-11-04 23:35:43 +00:00
Adarnof
8e3221e5ec
Added logic to handle missing objects during run_api_refresh
2015-11-06 23:22:47 +00:00
Adarnof
75676e7887
Corrected login in corp/alliance updates to prevent deletion of running alliance
2015-11-06 22:37:55 +00:00
Brett Costabile
db1f475cf4
Removed logging
...
Got rid of some logging I missed when cleaning up.
Also, a thumbs.db slipped past me somehow?
2015-11-05 23:09:41 -05:00
Brett Costabile
0914ac171f
Redundant query
...
That was dumb
2015-11-05 22:57:58 -05:00
Brett Costabile
15e959b265
Merged with R4stl1n master
...
Had to resolve a small conflict in email. Replaced mine with upstream.
2015-11-05 22:37:37 -05:00
Adarnof
2a05b42c01
Removed redundant function from tasks.py
...
Added Corp/Alliance name switching to base template.
Fixed logic error in corp application filtering for hrapplication views.
2015-11-06 03:22:21 +00:00
Adarnof
6c4520bf58
Update IS_BLUE authserviceinfo field during blue<->member transition
2015-11-04 19:54:14 +00:00
Adarnof
7ad37c2cd2
Corrected typo in run_api_refresh
2015-11-04 17:35:07 +00:00
Brett Costabile
c9958ebbb5
Removed all my logging
...
I'm done. Don't need this anymore.
2015-11-03 01:18:08 -05:00
Brett Costabile
b29d6bd7da
Don't need that
...
Testing
2015-11-02 23:55:20 -05:00