26 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
077531fa5a retain sanitized spaces
closes #465
2016-06-10 22:03:31 -04:00
Adarnof
921be2d73f sanitize single apostrophes 2016-05-11 13:11:57 -04:00
Mr McClain
490d1944de removed redundant code (#386)
* Update ipboard_manager.py

* Update market_manager.py

* Update mumble_manager.py

* Update openfire_manager.py

* Update phpbb3_manager.py

* Update smf_manager.py
2016-04-15 11:35:18 -05:00
Mr McClain
35e69847ea Escaped mysql character to prevent errors 2016-04-15 03:57:32 -05:00
Mr McClain
ab9423ec1f Fixed Security Issue (#380)
* fixed security issue

* fixed security issue

* fixed security issue

* fixed security issue

* fixed security issue

* fixed security issue
2016-04-14 10:12:00 -05:00
Mr McClain
321ea9cca3 Closes #379 2016-04-14 08:03:37 -05:00
Adarnof
060c15ec5f Delete phpbb user session and autologin when disabled
Clear phpbb user groups when disabled
Addresses #249
2016-02-08 15:36:20 +00:00
kallama
82f8141ff7 Eve avatar url as https
Eve avatar url should be https instead of http so you don't get a mixed content warning if you use https on your forum. The ultimate solution would be http/https agnostic with :// instead, but I don't know if that would work in this file.
2016-02-03 16:08:00 -08:00
Adarnof
2db7a71e9d Removed exc_info kwarg from logger.exception statements 2016-01-31 19:42:01 +00:00
Joeeigel
719898d4b2 Fixed casing on column names
I'm not sure how MySQL handles column names and if they are case
sensitive, so better to be safe than sorry.

I'm an MSSQL dev, we don't care in my world!
2016-01-08 02:12:42 +00:00
Joeeigel
7ab7125f45 Fixing invalid column name
We're using phpBB, not just "php"
2016-01-08 01:22:03 +00:00
Joeeigel
25eed75717 Added in clearing of user permissions on assigning groups 2016-01-08 01:20:15 +00: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
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
cd44f00881 Finished auditing service manager logging. 2015-12-30 11:22:40 +00:00
Adarnof
3f359ecae1 Logging added to all service managers.
Unrelated, getting ImportError when trying to start shell. I broke something.
2015-12-29 22:44:17 +00:00
Adarnof
810b626005 Corrected one last typo, I promise 2015-11-08 10:14:44 +00:00
Adarnof
ff46c1d4e9 Fixed broken function reference 2015-11-15 20:20:49 +00:00
Adarnof
1285fb6dfc Corrected SQL syntax 2015-11-15 20:19:52 +00:00
Adarnof
df487aa61e Corrected mismatched avatar sizes 2015-11-15 20:15:20 +00:00
Adarnof
0a24f3bad4 Enabled forum avatar images in phpbb set by main character id 2015-11-15 20:12:26 +00:00
Raynaldo Rivera
e7950a26f7 Added fix to phpbb3 when userid returns none. 2014-11-29 16:06:13 -07:00
Raynaldo Rivera
de34d35add Fixed issue where syncgroups were preventing other groups from being created if a service is added after. 2014-11-29 16:01:23 -07:00
Raynaldo Rivera
5c6ff84694 Fix for phpbb 3.1 breaks older versions 2014-11-19 18:42:22 -07:00
Raynaldo Rivera
1ed41ae043 Added IPBoard support 2014-11-17 08:40:25 -07:00