31 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
Mr McClain
ad7ace872f Merge pull request #330 from orbitroom/master
Fixed Bug #329
2016-03-25 13:00:57 -05:00
orbitroom
bd3b8fbf20 Fixed Bug #329 2016-03-25 13:57:23 -04:00
Adarnof
9faf16fece List completed applications for superuser 2016-03-24 17:46:55 +00:00
Adarnof
a425d32405 Implement additional requests in #305 2016-03-23 03:47:24 +00:00
Adarnof
8cecb1a517 Pull apis correctly 2016-03-14 23:16:50 +00:00
Adarnof
0d8ef642b6 Include blank comment form for personal view
- prevents issues with broken permissions breaking template rendering
2016-03-14 00:57:16 +00:00
Adarnof
33771a6018 Corrected application filtering for non-superuser 2016-03-14 00:49:29 +00:00
Adarnof
ed11884a0b Correctly display comments
still unable to make comment form render
2016-03-13 21:59:54 +00:00
Adarnof
477e579eba Rewrote views to handle new models.
Everything works but comments.
2016-03-13 21:47:09 +00:00
orbitroom
59a26e48fd Corrected API display in application view 2016-03-06 20:48:29 -05:00
Adarnof
3507275e9d Revamped hrapplications permissions
- new approve, reject permissions for applications
 - respect built-in add, delete permissions for HRApplications and HRApplicationComments
 - auth.hr_management permission required to view applications section
Populate application APIs from user's eveapikeypair set
 - enforces API key validity
 - respects addition and removal of keys by applicant
Addresses #293 and #191
2016-03-06 23:27:00 +00:00
Adarnof
0807bc98a3 Shorthand notify command
Notifications on API key update failures
Notifications on application status updates
Notifications on services disabled
2016-02-17 22:30:43 +00:00
Ydmir
786e573a0a Added initial corputils functionality, for auditing members in corporation mode. 2016-01-15 09:23:40 +01:00
Adarnof
37abac3c02 Fixed errors in logging. 2016-01-06 22:08:52 +00:00
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
c066629864 Corrected logging errors. 2016-01-02 22:15:38 +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
4c27452bf9 Added error handling for missing character model. 2015-12-02 06:09:20 +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
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
2c98b5e4a6 Re-added corp choice to HRApplicationsw 2015-09-20 03:34:29 +00:00
Adarnof
e98bc36a9c Removed all dependency on alliance membership
Renamed permission 'alliance_member' 'member'
Renamed multiple variables in settings.py and associated handlers in util

Maybe it still works?
2015-09-17 04:42:36 +00:00
Tyler274
9d295edbf7 no message 2015-01-30 21:49:11 -05:00
Tyler274
e615239620 Revert "Fix for hr_application bug"
This reverts commit b19c81a1cba48057a5dccab632091a015fc56ffb.
2015-01-30 21:47:19 -05:00
Tyler274
b19c81a1cb Fix for hr_application bug 2015-01-29 00:05:05 -05:00
Raynaldo Rivera
cce15d1667 Added srp program features, updated hr applications to support adding a "mark in progress" 2014-11-26 22:09:57 -07:00
Raynaldo Rivera
d52a0d5331 Updated hr management to actually be useful 2014-11-20 03:21:07 -07:00
Raynaldo Rivera
884d39c148 Added the task to auto update corp and alliance info 2014-11-01 23:07:20 -07:00
Raynaldo Rivera
19e19d89e4 Reformatted code for easy reading. 2014-10-26 16:47:21 -07:00
Raynaldo Rivera
6e99823252 Adding begginings of hrapplications 2014-10-24 21:08:34 -07:00