Adarnof
3cdbff6b36
Merge branch 'esi' of https://github.com/r4stl1n/allianceauth into multitenant
2016-12-20 06:54:40 +00:00
Adarnof
54464c23cf
Begin removal of IS_CORP
2016-12-20 06:54:29 +00:00
Adarnof
2a87eed059
Reduce API calls to speed up API checks
2016-12-19 21:13:45 -05:00
Adarnof
55f349c35b
Remove legacy xml functions.
2016-12-19 21:07:45 -05:00
Adarnof
604808b195
Retrieve character objects from api keys.
2016-12-19 20:56:14 -05:00
Adarnof
ce35e72e44
Correct discourse group sync task calling.
2016-12-20 01:20:31 +00:00
Adarnof
8582584fd5
prevent redis connectionerror for async tasks
2016-12-19 17:33:11 -05:00
Adarnof
8379fdd7d5
Update corp/alliance models using adapters.
2016-12-17 20:51:59 -05:00
Adarnof
ec9b43b083
Allow different sources for EVE data types.
2016-12-17 14:46:02 -05:00
Adarnof
66240ad296
Standardize EVE datasource responses.
...
Remove alliance member count.
2016-12-16 22:13:29 -05:00
Adarnof
0fe5a1c5e3
Correct context processor for SSO address.
2016-12-16 17:43:44 -05:00
Adarnof
b514f8cbcc
Correct missing migration dependency.
2016-12-14 20:57:56 -05:00
Adarnof
4ee10e0c31
Additional permissions for non-api viewing.
...
Migration to convert permissions from old users.
2016-12-14 20:40:12 -05:00
Adarnof
a4a8852400
Replace rabbitmq with redis
...
Closes #592
v1.13
2016-12-14 08:28:58 -05:00
Adarnof
046ecce8a3
Merge branch 'lock' of https://github.com/R4stl1n/allianceauth
...
Conflicts:
services/managers/eve_api_manager.py
2016-12-13 20:31:13 -05:00
Adarnof
5f88e7e1a5
Correct permission check for showing APIs
2016-12-13 20:22:09 -05:00
Adarnof
5a9418d792
Visual indication of member registration.
2016-12-13 19:29:02 -05:00
Adarnof
02bd4570b0
Default to only available corpstats if no corp_id
2016-12-13 17:45:42 -05:00
Adarnof
6ba084c710
Cleanup FAT edit page tables with pagination.
...
Cleanup FAT statistics generation with smarter query.
2016-12-13 17:31:36 -05:00
Adarnof
6fd3c32ba0
Correct check if corputils is visible to user.
...
Add additional admin site permissions.
2016-12-13 17:30:06 -05:00
Adarnof
3d92e4c5c5
Perform first corpstats update on creation.
2016-12-13 16:26:20 -05:00
Adarnof
27fc8a373f
Pull corp memebrship data from ESI
2016-12-13 16:11:06 -05:00
Adarnof
32009fd3ff
Move FAT templates to app folder.
...
Provide feedback via messages.
2016-12-11 23:26:20 -05:00
Adarnof
b4b739ee61
FAT uses ESI tokens to get character location/ship
...
Closes #564
2016-12-11 22:10:36 -05:00
Adarnof
a630b5b397
Migrate to adarnauth-esi
2016-12-11 20:11:05 -05:00
Adarnof
961b26a3cb
default main char to current char if no user set
2016-11-25 11:14:19 -05:00
Adarnof
9db94e0ac8
correct corp stat display for user-less chars
...
As a result of api key sso validation, character models can be created without assigning a user. If this occurs and a user attempts to view that character's corp stats, the view is unable to determine a main character due to a not null constraing on the authservicesinfo user field. This checks to see if the character has an associated user, and if not, does not check for associated main characters.
Closes an issue @trustmeimlumi never opened.
2016-11-24 17:53:54 -05:00
Adarnof
f0a3df5659
correct typo preventing disabling of discourse
2016-11-19 15:13:07 -05:00
Adarnof
666490c169
correct celery start commands
2016-11-13 19:34:52 -05:00
Adarnof
b651ebed87
Discord bot requests administrator role.
...
Seeing as Discord can't get their roles system to work over the API, this is our only choice.
Closes #569
2016-11-13 17:18:26 -05:00
Adarnof
ea4fd12996
Respect max notification count for logging notifications.
...
Use a Q query to identify users for logging notifications. Should be much faster.
http://stackoverflow.com/questions/378303/how-to-get-a-list-of-all-users-with-a-specific-permission-group-in-django
Closes #576
2016-11-13 17:11:24 -05:00
Adarnof
97743cfe16
Prevent admin error when EveCharacter has no assigned user.
2016-11-13 16:51:15 -05:00
Adarnof
b4dc624b17
Correctly throw ApiInvalidError when API key deleted (222)
...
Do not assume keys are invalid on unrecognized codes.
Closes #574
2016-11-05 20:47:51 -04:00
Adarnof
ff5055f151
Prevent simultaneous execution of multiple group update tasks.
...
Prevents multiple group creation on services using group caching.
2016-11-05 16:58:23 -04:00
Basraah
dc4b4bbdf5
Wait until transaction completes to call group syncs ( #571 )
...
Prevents syncing of old groups when celery workers execute faster than db transactions can be completed.
2016-11-02 20:28:20 -04:00
Basraah
2d3055480c
Fix users cannot delete mumble account ( #567 )
...
Added helper method for checking a user exists
Added a check for already deleted mumble accounts
2016-11-01 23:25:55 -04:00
Adarnof
98e1689aab
Record API SSO status ( #568 )
...
Added sso_verified flag to EveApiKeyPair
Set sso_verified flag when user validates API key
Allow users to SSO validate existing API keys
2016-11-01 23:22:15 -04:00
Adarnof
e77c162fa0
API SSO, Beautification of Tables, and more. ( #562 )
...
# One Thousandth Commit 🎉 🎈 🎆 🍾
* Allow requiring API ownership validation by SSO.
Closes #163
* Add Discourse group name length restrictions.
* Redirect after api addition/deletion of main character
* Correct admin searching for removed discourse_username field in AuthServicesInfo
* Correct admin function to sync user Discourse groups
* Beautify tables by removing borders and hiding when empty.
*Add buttons on dead-end pages to return to originating view.
2016-10-27 23:28:00 -04:00
Adarnof
4ea7fdeaf2
Correct corputils permission handling around API display.
...
Now allows users with corp_apis permission to see some APIs when searching, if result is in corp.
Correct type mismatch when determining if user with corp_apis can see member list.
Correctly pull EveWho memberlist in corp mode when API missing from settings.py
Closes #552
2016-10-26 01:03:15 +00:00
Adarnof
f9dd03dc0f
Handle NoneType iteration errors on empty fleetup result.
...
Closes #558
2016-10-26 00:24:45 +00:00
Adarnof
6d2036e84b
Prevent errors when deleting users before joining TS3
...
Closes #554
2016-10-25 22:08:28 +00:00
Adarnof
00341f8a50
Delay new Discourse user group sync to allow request to complete.
...
Ensures Discourse creates user model to avoid 404s when calling API.
2016-10-25 21:59:58 +00:00
Adarnof
5ee65706cb
Correct discourse login for non-superusers.
...
Correct TS3 error handling.
Closes #554
2016-10-25 21:12:23 +00:00
Adarnof
4ff21b25c3
Discourse SSO ( #560 )
...
* Alter Discourse support to act as SSO provider.
Correct service group sync retry queueing.
* Correct default database enviroment variable names.
* Redirect to requested page after succesful login.
* Correct default redirect handling.
Correct attribute used to logout users on Discourse.
Improve logging messages to use parsed path on Discourse.
* Correct task retry syntax using bind=True.
Inherit from base exception so can catch TeamspeakErrors.
2016-10-25 14:52:12 -04:00
Adarnof
1daf77709d
Abort API refresh when API servers unreachable.
...
Sorry aboot today.
2016-10-21 20:39:00 -04:00
Adarnof
bba36d9ae0
Correct disable_market to not require external DB call
2016-10-21 13:47:29 +00:00
Adarnof
04a11b113a
Correct missing request arg for messages.
...
Correct disable_service tasks to remove password check.
Addresses #557
2016-10-21 13:04:05 +00:00
Adarnof
deb94c06fd
prevent error being raised on OK empty response
...
closes #554
2016-10-18 13:45:15 -04:00
Adarnof
e242b8cfec
correct dict unpacking of escape characters
...
closes #554
2016-10-18 13:16:17 -04:00
Sebastian
3704586ec9
changed user to allianceserver at supervisor templates. ( #553 )
...
* changed user to allianceserver at supervisor templates. this fixes supervisor: couldn't chdir to...
* deleted unnecessary row for discord
2016-10-18 10:33:11 -04:00