29 Commits

Author SHA1 Message Date
Adarnof
ff5055f151 Prevent simultaneous execution of multiple group update tasks.
Prevents multiple group creation on services using group caching.
2016-11-05 16:58:23 -04: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
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
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
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
Adarnof
0b20f8f72b Update requirements.txt 2016-04-15 21:47:16 -04:00
Adarnof
a2c1ac6432 Merged requirements for update script 2016-03-23 04:27:40 +00:00
Adarnof
fd2988dc46 Removed requests caching in preparation of custom evewho caching manager.
Addresses #235
2016-02-11 17:46:41 +00:00
Adarnof
78f8a38b19 Removed built-in json package from requirements 2016-01-31 19:00:08 +00:00
Ydmir
185805ecc1 Added simple caching. 2016-01-30 11:27:26 +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
Mr McClain
eaa64b2bed Fixed Bug #186
Changed Packages for jabber
2016-01-16 16:57:27 -06:00
Adarnof
23168ded9e Updated requests version for #148 2015-12-23 07:31:44 +00:00
Adarnof
9b2934ae7a Corrected handling of group updates
Removed old openfire package from requirements
2015-12-22 22:39:38 +00:00
Adarnof
23c8d48fbe Adds REST API support to Openfire using git package per #144 2015-12-22 22:14:20 +00:00
Adarnof
8028749688 Added reqeuests package as requirement. 2015-12-03 02:17:23 +00:00
Brett Costabile
57a1c6aaaa Removed experimental setup
Alot of my experimental stuff for postgresql was causing issues, so I'm
removing that for a different project. This way I can get a clean setup
out.
2015-11-18 23:08:59 -05:00
Brett Costabile
c0f53218dc Merge remote-tracking branch 'refs/remotes/origin/master' into vagrant-tweaking 2015-11-18 01:06:22 -05:00
Brett Costabile
c22b02bab7 Fixing my mistake
I forgot to change this change back after an experiment in my TS3
branch.
2015-11-05 20:42:26 -05:00
Brett Costabile
f9ce0ff7c0 Postgres
Added lines to try and get posrgresql installed for testing.
Changed the required version of django back to 1.6.5 because 1.7.0
should not be in production.
2015-11-05 20:16:11 -05:00
Brett Costabile
b76bc2729c More random changes
Super disorganized here. Trying to get back to a working state
2015-11-01 16:41:16 -05:00
Brett Costabile
c86ba4990d Lots of changes, not tested
Pushing latest changes to run them by a few folks.
2015-05-28 01:23:45 -04:00
Raynaldo Rivera
b806ab6755 Added Teamspeak3 support 2014-11-23 02:17:38 -07:00
Raynaldo Rivera
f2b4ed3802 Added a fix to requirments.txt 2014-11-13 12:51:07 -07:00
Raynaldo Rivera
2a72281eb0 Added dependencies to the requirments.txt 2014-11-06 02:22:37 -07:00
trent bartlem
2d1bdedf11 remove duplicate requirement 2014-11-05 20:49:40 +10:00
trent bartlem
1137344e1c changed requirements.txt for xmpp 2014-11-04 19:34:13 +10:00
Trent Bartlem
b70b32dc3a Added xmpppy 2014-11-04 09:20:40 +10:00
Trent Bartlem
4923204f76 Added Vagrant support
Still needs to configure passwords etc, but it’s a lot easier to set up
now.
2014-11-03 17:11:34 +10:00