189 Commits

Author SHA1 Message Date
Adarnof
a309a733d6 Hide alliance logo when main character has none. 2017-01-03 18:33:30 -05:00
Adarnof
c205bff99f Remove references to optional SSO configuration 2017-01-02 20:55:12 -05:00
Adarnof
56082848a7 EVE Swagger Interface (#591)
FAT uses ESI tokens to get character location/ship
 - closes #564

 Pull corp memebrship data from ESI

Additional permissions for non-api viewing.
 - migration to convert permissions from old users.

Standardize EVE datasource responses.
 - allow different sources for EVE data types.

Allow empty values for character alliance id and name

Allow multiple corps and alliances to be considered 'members'
2017-01-02 20:50:21 -05:00
Adarnof
2f5529b582 Remove refernces to optional SSO configuration 2016-12-29 18:34:21 -05:00
Adarnof
04f2731517 Multitenant
Closes #604
2016-12-29 18:10:43 -05:00
Adarnof
71c1054328 EVE Swagger Interface
Closes #591

Conflicts:
	authentication/views.py
	eveonline/views.py
	stock/templates/public/characternotexisting.html
2016-12-29 17:53:33 -05:00
Adarnof
917707027e Correct navbar highlighting for group management 2016-12-29 17:49:40 -05:00
Adarnof
03aab76ab9 Group system overhaul
Closes #588
2016-12-29 17:42:10 -05:00
Adarnof
1e523d762e Remove references to legacy character management.
Correct group name spacing.
2016-12-29 17:41:00 -05:00
Adarnof
33e481fb12 Replace API Key page with Dashboard profile
Closes #582
2016-12-29 17:13:07 -05:00
Adarnof
16a4ed9bf2 Correct site name template syntax 2016-12-21 23:40:45 -05:00
Sebastian
286cb9e1d1 added citadels and engineering complexes to timerboard (#602) 2016-12-20 22:59:02 -05:00
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
4ee10e0c31 Additional permissions for non-api viewing.
Migration to convert permissions from old users.
2016-12-14 20:40:12 -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
Basraah
83b62525eb Added support for group leaders to manage groups 2016-12-05 21:49:12 +10:00
Basraah
5fb64d8c06 Switched to use navactive for menu highlighting 2016-12-05 14:35:08 +10:00
Basraah
bf345361b2 Refactor Group extension models into a single OneToOne model
Added group leader field
2016-12-04 23:05:04 +10:00
Basraah
42def30c91 Include requestable groups other than open 2016-12-04 09:21:43 +10:00
Basraah
25dadf81f6 Add open/hidden group membership display and remove 2016-12-03 21:45:55 +10:00
Basraah
2dd75b5100 Switched styling to warning, added tooltip 2016-11-24 10:56:36 +10:00
Basraah
eb6d7e9d9a Improve layout on small display resolutions 2016-11-23 22:35:08 +10:00
Basraah
1c4d2533b1 Replace API key management w/ ported profile page
Shows characters on each API key, main character, API key
status and the user groups.
2016-11-23 21:17:44 +10: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
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
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
Adarnof
a14c90fd6d Remove old admin staticfiles
Closes #551
2016-10-17 09:55:14 -04:00
Adarnof
1b4f5e4e88 Adarnof's Little Things (#547)
* Port to Django 1.10
Initial migrations for current states of all models. Requires faking to retain data.
Removed all references to render_to_response, replacing with render shortcut.
Same for HttpResponseRedirect to render shortcut.
Corrected notification signal import to wait for app registry to finish loading.

* Correct typos from render conversion

* Modify models to suppress Django field warnings

* Script for automatic database conversion
 - fakes initial migrations to preserve data
Include LOGIN_URL setting

* Correct context processor import typo

* Removed pathfinder support.
Current pathfinder versions require SSO, not APIs added to database.
Conditionally load additional database definitions only if services are enabled.
Prevents errors when running auth without creating all possible databases.

* Condense context processors

* Include Django 1.10 installation in migrate script
Remove syncdb/evolve, replace with migrate for update script

* Replaced member/blue perms with user state system
Removed sigtracker
Initial migrations for default perms and groups
Removed perm bootstrapping on first run

* Clean up services list

* Remove fleet fittings page

* Provide action feedback via django messaging
Display unread notification count
Correct left navbar alignment

* Stop storing service passwords.
Provide them one time upon activation or reset.
Closes #177

* Add group sync buttons to admin site
Allow searcing of AuthServicesInfo models
Display user main character

* Correct button CSS to remove underlines on hover

* Added bulk actions to notifications
Altered notification default ordering

* Centralize API key validation.
Remove unused error count on API key model.
Restructure API key refresh task to queue all keys per user and await completion.
Closes #350

* Example configuration files for supervisor.
Copy to /etc/supervisor/conf.d and restart to take effect.
Closes #521
Closes #266

* Pre-save receiver for member/blue state switching
Removed is_blue field
Added link to admin site

* Remove all hardcoded URLs from views and templates
Correct missing render arguments
Closes #540

* Correct celeryd process directory

* Migration to automatically set user states.
Runs instead of waiting for next API refresh cycle. Should make the transition much easier.

* Verify service accounts accessible to member state

* Restructure project to remove unnecessary apps.
(celerytask, util, portal, registraion apps)
Added workarounds for python 3 compatibility.

* Correct python2 compatibility

* Check services against state being changed to

* Python3 compatibility fixes

* Relocate x2bool py3 fix

* SSO integration for logging in to existing accounts.

* Add missing url names for fleetup reverse

* Sanitize groupnames before syncing.

* Correct trailing slash preventing url resolution

* Alter group name sanitization to allow periods and hyphens

* Correct state check on pre_save model for corp/alliance group assignment

* Remove sigtracker table from old dbs to allow user deletion

* Include missing celery configuration

* Teamspeak error handling

* Prevent celery worker deadlock on async group result wait

* Correct active navbar links for translated urls.
Correct corp status url resolution for some links.
Remove DiscordAuthToken model.
2016-10-16 18:01:14 -04:00
Adarnof
c14e0aecef load translations 2016-07-27 14:39:45 -04:00
Adarnof
e8888c1fe9 correct background sizing
closes #507
2016-07-21 14:18:00 -04:00
moriartyj
7e4d411685 Changed timerboard to Future/Past timers (#503) 2016-07-18 14:07:22 -04:00
Adarnof
c2c03de22a convert newlines in comment text to <br> 2016-07-15 10:43:55 -04:00
Adarnof
f9f2b97241 correct references to Application.approved field 2016-07-13 12:14:59 -04:00
Adarnof
12da00f9c4 translate \n to <br> in responses 2016-07-11 16:06:33 +00:00
Adarnof
fb57bd224d load i18n for translations 2016-07-05 18:15:01 -04:00
Csaba Turek
2074c40569 Character tab Translating error under Doctrines (#495) 2016-07-05 09:28:25 -04:00
RichterSR
a6ff3c48b1 404 error when selecting doctrin/fitting (#492)
This fix will resolve the 404 (Page not found) error due to a missing "/" in the URL from different links.
2016-07-04 20:23:23 -04:00
Geabo
1b12230cef Update index.html (#490)
Line 47 missing double quote.
2016-07-04 20:22:34 -04:00
moriartyj
cb3dd1f393 Mumble uses alliance ticker for BLUES (#479)
* Mumble uses alliance ticker for BLUES

* Move alliance ticker section for blues

* Fixed Reviewer translated link
2016-06-26 10:18:48 -04:00
iAddz
c9e490a5c5 Added German Translations (#406)
* Added German Translations

Translated using
https://docs.djangoproject.com/en/1.9/topics/i18n/translation/

Added language drop down menu's for base.html, registration & login
pages

Known issues:
* Translated items in whtracker>create signature remain translated when
posted
* No date/time localisation for Fleet/Structure timers

* Added time locale

Added date/time locale to
*Structure Timers
*Fleet Timers
*Fleet timer form datetimepicker.js

Fixed a bug where the bootstrap label didn't show up when making a
structure timer using the translated form

Missed some base.html translations

* Small translation error

Some obscure SRP strings went unnoticed for context review

* FAT & Fleet-up German Translations

+ a fix in settings.py.example

The only small thing not done is German Date/Time locale for Fleet-up

* Compiled de/django.po
2016-06-16 22:54:04 +00:00
Adarnof
1fd423e20f Discord OAuth Integration (#468)
* Implement Discord OAuth
 - extend group caching to Discord
 - use bot token to manipulate api
 - migrate to official API
Addresses #419

* Remove virtualenv wrapper

* Discord OAuth integration playtest corrections
Closes #419
2016-06-13 00:16:27 +00:00
Meletis Flevarakis
e6b08fca88 XenForo integration initial version (#459)
* XenForo integration beta

* Removing debug loggers
2016-06-11 21:22:58 +00:00
Adarnof
1af4b7e43c correct permission checked for sigtracker link
addresses #456
2016-06-06 00:02:17 -04:00
Adarnof
59a5105e5a Hide links if no permission to view
Hides sigtracker and optimer, links if user doesn't have the view permission.
Addresses #432
2016-05-26 22:48:06 -04:00
Joakim Strandberg
20fdcc5b31 More statistics features for Fatlink (#423)
* Fixed a bug with links not registering correctly when undocked. Also removed some typos.

* Adding functionality to view individual members stats as an admin, to see ships flown, and paps created, if any. Also correcting a incorrectly sorted table, and a faulty link.
2016-05-05 02:18:35 -05:00