22 Commits

Author SHA1 Message Date
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
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
Joakim Strandberg
b190b8e191 Adding "Paplink" feature (#401)
* Initial testing of paplink functionality. More fancy interfaces coming.

* Removed a invalid view reference.

* Added a link on the front page.

* Fixed some bad references and incorrect in game browser header usages.

* Started work on statistics-pages.

* Added an initial modify-paplink page where the pap itself can be deleted and characters removed.

* Added a very simple statistics page. Also some name change for ~reasons~.

* Small but crucial fix of syntax.

* Added personal statistics page.

* Corputils page now include fatlinkstats.

* Added link to the personal statistics page. Moved other buttons for clarity.

* Removed some unused code and imports

* Added more statistics, and all corps in alliance are now visible even if no paps are registered.

* Now requesting trust for the right domain. And some redundant imports and commented lines are removed.
2016-04-29 18:00:45 -05:00
Ydmir
23eec8e9a5 Fixes a discrepancy between corp and alliance mode, causing all characters to appear double in corporation mode. 2016-04-04 23:35:22 +02:00
Ydmir
8ae5c7b13f Members of blue corp can now see their own corp-page in corputils if they have the corp_api permission. 2016-04-01 07:29:42 +02:00
Ydmir
293907df56 Registered characters not found on EveWho will now be displayed. The unregistered characters count is also corrected and a note added when there is a discrepancy between the number of people in corp and the number in EveWho 2016-03-30 23:13:53 +02:00
orbitroom
0e15cc2ece Added Error Handling for ApiKeyPairs 2016-02-28 02:16:31 -05:00
Ydmir
c852d3f8e2 Changed to only using two permissions. 2016-02-27 09:48:42 +01:00
Ydmir
8a321992ad Utils-view defaults to showing the corporation of the requester, if in the alliance. Also renamed some variables. 2016-02-26 08:48:25 +01:00
Ydmir
a2438b2e16 Merged corpstats and membertracking. Added two new permissions, corp_apis and alliance_apis. 2016-02-26 00:15:10 +01:00
Ydmir
9041f0e7c7 Handling missing settings.CORP_ID in alliance mode, and api-scope error in corporation mode. Also fixing visual on the corputilsearchview. 2016-01-31 11:29:54 +01:00
Ydmir
24a4412038 Modified appearance somewhat and fixed search. 2016-01-27 22:35:35 +01:00
Ydmir
e401964a1c Removed some legacy. 2016-01-27 19:57:46 +01:00
Ydmir
29e5790ec7 Now the search function works in alliance mode as well, searching the corp that is currently active. Also, the select corporation is nicer now. 2016-01-25 23:19:28 +01:00
Ydmir
bd7bbc9339 Added portraits in the list, because why not. 2016-01-24 22:32:54 +01:00
Ydmir
986816fdc7 Now sending the character model to the rendering instead of the character names so more info is available. 2016-01-24 21:47:24 +01:00
Ydmir
25b89fdecb Expanded functionality to full alliance support. The design may leave some things to wish for... 2016-01-24 00:13:58 +01:00
Ydmir
39a77829db Added new permission. 2016-01-23 01:11:10 +01:00
Ydmir
f4eac57b0f Users without a selected main character is not a problem anymore. Main will be listed as "User: [username]" and will be highlighted. Also added a row showing corp of main character. 2016-01-22 21:25:30 +01:00
Ydmir
030a0e9a8c Added search functionality to member list. 2016-01-15 22:54:53 +01:00
Ydmir
cc3d176533 Now characters are listed in sorted order. 2016-01-15 14:23:17 +01:00
Ydmir
786e573a0a Added initial corputils functionality, for auditing members in corporation mode. 2016-01-15 09:23:40 +01:00