63 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
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
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
johanko
2dd531c2b7 Merge branch 'master' of https://github.com/R4stl1n/allianceauth into R4stl1n-master 2016-04-21 06:32:18 +00:00
Mr McClain
5025ab8ffe Pathfinder Integration (#394)
tested and working
2016-04-17 15:02:50 -05:00
Adarnof
e29c1d3295 Discourse (#377)
* Initial work on Discourse integration

* Views for discourse

* Discourse group updates
Correct password display

* Removed password functions
Changed delete to suspend user forever
Added unsuspend check to add_user
2016-04-17 14:17:32 -05:00
Mr McClain
6f8e478baf Evernus Alliance Market Integration (#369)
* Added SMF Forum Support

* removed comment

* Fixed bugs.

* removed unused SQL statement

* Fixed Grammer in debug code

* Fixed Null Bug

* Update operationmanagement.html

* fixed bug

* fixed error

* Users now show up on the posts correctly

* Evernus Alliance Market Integration

* removed duplicate function

* empty string handling
2016-04-07 20:46:14 -05:00
Mr McClain
cfe0e23430 SMF Forum Integration
* Added SMF Forum Support

* removed comment

* Fixed bugs.

* removed unused SQL statement

* Fixed Grammer in debug code

* Fixed Null Bug

* Update operationmanagement.html

* fixed bug

* fixed error

* Users now show up on the posts correctly
2016-04-06 20:32:02 -05:00
johanko
1770fc5548 Fleetup API manager and views 2016-04-06 13:11:15 +00:00
orbitroom
75459361dc Added IP Board 4 2016-03-30 04:04:14 -05:00
Adarnof
361e4a6409 Prompt users to join TS when creating account
- will allow groups to sync
 - add button to get back to this prompt
 - do not sync groups until joined server
Closes #331
2016-03-26 03:08:28 +00:00
orbitroom
2f5d6d4871 Added Enhancements to SRP Management 2016-03-24 18:36:46 -04:00
Adarnof
477e579eba Rewrote views to handle new models.
Everything works but comments.
2016-03-13 21:47:09 +00:00
Ydmir
a2438b2e16 Merged corpstats and membertracking. Added two new permissions, corp_apis and alliance_apis. 2016-02-26 00:15:10 +01:00
Mr McClain
80e8f9ca4d Update url schema 2016-02-24 12:06:55 -06:00
orbitroom
11b1f2fb0e Added Ability to Delete Notifications 2016-02-23 19:41:32 -05:00
Adarnof
5e2c828c3b Front-end notification system
Currently only creates notifications for logging events
Addresses #75
2016-02-13 21:53:43 +00:00
orbitroom
a3c3f002bc Added ability to edit structure timers 2016-02-11 22:03:16 -05:00
orbitroom
c19f6f5929 Added Ability to Edit Signatures 2016-02-11 19:04:11 -05:00
Mr McClain
4a08b6f67d Added missing url 2016-02-11 16:25:18 -06:00
orbitroom
1b938a536a Added ability to edit operations timers 2016-02-11 17:18:27 -05:00
Adarnof
2d2afa79eb Added ability to manually trigger api refresh
Ignored cache databases
2016-02-07 11:40:11 +00: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
1e86df3992 Fixed indentation for real... 2016-01-30 11:26:42 +01:00
Joakim Strandberg
2ce48c4796 Fixed indentation. 2016-01-28 23:30:08 +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
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
6fb70b3160 Added Fleet Operations Timer 2016-01-20 22:04:58 -05:00
Mr McClain
ce414a6965 typos fixed 2016-01-17 01:24:30 -06:00
Mr McClain
7e9033fd2a made it look pretty 2016-01-17 01:19:10 -06:00
Ydmir
030a0e9a8c Added search functionality to member list. 2016-01-15 22:54:53 +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
0586f0f6d5 Custom service passwords now available.
- mumble, phpbb, ipboard, jabber
Addresses an evemail request.
2016-01-06 06:56:00 +00:00
Adarnof
f6ef741e63 Added password change function as reset action. 2015-12-01 06:55:33 +00:00
Adarnof
57b44620cd Disabled Discord account reset until a proper mechanism can be thought up. 2015-12-01 06:23:18 +00:00
Adarnof
d9ffaa5e50 Initial work on reset discord account. 2015-11-30 23:41:44 +00:00
Adarnof
2da93d4410 Added required settings and context to render services page.
Added URLs for enabling and disabling Discord.
Added Discord section to services page.
2015-11-30 22:30:18 +00:00
tehfiend
17baf97f76 Fixed typo. 2015-02-08 22:59:15 -07:00
orbitroom
b72e49516f Added Fleet Fittings Page 2014-12-06 17:53:52 -05:00
Raynaldo Rivera
ebc966504e Added edit and fleet aar link to the srp management 2014-11-28 01:41:06 -07:00
Raynaldo Rivera
6c991dfce5 Added new features to srp app, including the total amounts for everything 2014-11-27 23:41:42 -07:00
Raynaldo Rivera
ab8efdb2c1 Added additional features suggested by ogopogomu 2014-11-26 22:58:07 -07: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
b806ab6755 Added Teamspeak3 support 2014-11-23 02:17:38 -07:00
Raynaldo Rivera
d52a0d5331 Updated hr management to actually be useful 2014-11-20 03:21:07 -07:00