28 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
Adarnof
e8888c1fe9 correct background sizing
closes #507
2016-07-21 14:18:00 -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
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
Mr McClain
f160165c00 im dumb 2016-04-29 18:45:12 -05:00
Mr McClain
5e5380f1f0 Added Pap links to menu 2016-04-29 18:43:46 -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
johanko
1770fc5548 Fleetup API manager and views 2016-04-06 13:11:15 +00:00
orbitroom
3fa18a585c Repurposed Signature Tracker for Wormhole use. 2016-03-08 16:37:38 -05:00
Ydmir
c852d3f8e2 Changed to only using two permissions. 2016-02-27 09:48:42 +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
Adarnof
f2b4622e98 Corrected missing notification icon 2016-02-14 00:01:18 +00:00
Adarnof
5e2c828c3b Front-end notification system
Currently only creates notifications for logging events
Addresses #75
2016-02-13 21:53:43 +00:00
Ydmir
62efad2b66 Merged changes in master. 2016-01-24 00:27:03 +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
orbitroom
5ececa6bfd Changed op timers to Structure Timer and Bug Fixes for Fleet Operations Timer 2016-01-20 22:24:07 -05:00
orbitroom
6fb70b3160 Added Fleet Operations Timer 2016-01-20 22:04:58 -05:00
Adarnof
49e2a67797 Merge pull request #198 from orbitroom/master
Added Signature / Wormhole Tracking Tool
2016-01-20 01:16:55 -05:00
Ydmir
b7c1c8469d Merge branch 'master' into corputils 2016-01-19 22:02:14 +01:00
Mr McClain
c08f3693fb Update base.html 2016-01-17 01:34:31 -06:00
Ydmir
030a0e9a8c Added search functionality to member list. 2016-01-15 22:54:53 +01:00
Ydmir
93c3d450af Fixed a reference bug. 2016-01-15 11:09:17 +01:00
orbitroom
c9e600dfee Added Signature Tracker
Added a tool to help track various sites and wormholes
2016-01-15 03:01:18 -06:00
Ydmir
786e573a0a Added initial corputils functionality, for auditing members in corporation mode. 2016-01-15 09:23:40 +01:00
Adarnof
229f34ca6a Allow blues to view hrapplications link in base.html
Addresses #181
2015-12-10 06:50:57 +00:00
Adarnof
c9f61e5def Added new permission model to view timer boards.
Enforced permission on base template for link to timerboard as well as view rendering.
Addresses #15
2015-11-28 01:53:21 +00:00
Adarnof
db7b6265e5 Moved templates to stock folder for uniformity.
Updated settings.py.example to reflect this.
2015-11-24 23:26:05 +00:00