1291 Commits

Author SHA1 Message Date
Adarnof
44de49cbb0 Refactor settings into importable base.
User deployment should use 'from allianceauth.settings.base import *' in their project settings.
2017-09-28 17:28:02 -04:00
Basraah
ef26cdbbee Improve support for milliseconds backoff 2017-09-26 09:14:58 +10:00
Adarnof
168ab569b9 Increase tested retry after
Apparently tests take longer than 200ms to evaluate here.
2017-09-26 09:14:51 +10:00
Adarnof
b418abc7c8 Retry after in milliseconds
Closes #874
2017-09-26 09:14:32 +10:00
Basraah
280ddb336e Change to use tox to manage unit tests 2017-09-25 17:25:28 +10:00
Basraah
d93f36a180 Ensure populate alliance is called on create 2017-09-25 10:15:13 +10:00
Basraah
941bcd3cd1 Fix allow failures format 2017-09-23 18:47:06 +10:00
Basraah
7591db3168 Add experimental support for Dj2.0 2017-09-23 18:40:25 +10:00
Basraah
e68c840dad CSS Fixes and cleanup
Improves bootstrap compatibility, allowing for dropping in theme CSS.
Also improves responsive design but still has a ways to go.
2017-09-23 18:03:43 +10:00
Basraah
45f7b7d962 Fix broken query 2017-09-23 17:50:53 +10:00
Adarnof
1bf8b6079d Load receivers on ready 2017-09-22 22:49:14 -04:00
Basraah
c59565c038 Removed unused context processor vars 2017-09-23 11:33:06 +10:00
Basraah
53d7916772 Move context processor 2017-09-23 11:32:32 +10:00
Basraah
7beec38881 Move templates and fix namespacing
Move base template

    Refactor services urls and templates

    Refactor groupmanagement urls and templates

    Refactor notifications urls and templates
2017-09-23 06:48:51 +10:00
Basraah
b130cc6c8e Update install docs 2017-09-22 09:57:58 +10:00
Basraah
f8488208fb Documentation updates 2017-09-21 18:07:01 +10:00
Basraah
2efaf40370 Update readme 2017-09-21 16:21:25 +10:00
Basraah
75b99148c6 Remove vagrant config
It's very badly out of date making it very evident it' no longer being
used.
2017-09-21 16:16:39 +10:00
Basraah
f36b038010 Remove EveManager, refactor into model managers
Lots of unused methods removed.
Unit tests added for those that are left.
2017-09-21 14:56:40 +10:00
Basraah
f84de28338 Remove seat API sync 2017-09-21 14:56:21 +10:00
Adarnof
2d92cd6cb2 Minimize swagger spec files. 2017-09-20 01:29:16 -04:00
Adarnof
1a8d163d45 Remove XML provider.
Remove caching provider - ESI calls are cached according to expiry headers now.
Remove evelink as a requirement.
Initialize API response objects using kwargs.

I won't miss XML.
2017-09-19 20:55:26 -04:00
Basraah
954f36dae6 Remove services migrations 2017-09-20 08:11:51 +10:00
Basraah
76ab835347 Add base app, remove explicit template loading 2017-09-20 07:42:47 +10:00
Adarnof
5f4e873f4a Merge pull request #870 from ghoti/v2-dev
settings.py.example fixes
2017-09-19 10:29:39 -04:00
Mike
889fcfd0e0 settings.py.example fixes 2017-09-19 05:00:05 -04:00
Basraah
0326836544 Migrate mumble authenticator to its own repo (#869) 2017-09-19 12:27:14 +10:00
Basraah
18f64b0357 Remove IPBoard3 support (#868) 2017-09-19 11:35:35 +10:00
Basraah
786859294d Restructure Alliance Auth package (#867)
* Refactor allianceauth into its own package

* Add setup

* Add missing default_app_config declarations

* Fix timerboard namespacing

* Remove obsolete future imports

* Remove py2 mock support

* Remove six

* Add experimental 3.7 support and multiple Dj versions

* Remove python_2_unicode_compatible

* Add navhelper as local package

* Update requirements
2017-09-19 09:46:40 +10:00
Basraah
d10580b56b Remove py2 CI 2017-09-18 09:08:54 +10:00
Adarnof
2b51a98d27 Return missing requirement 2017-09-17 19:04:24 -04:00
Adarnof
96c4309230 Add unit tests to CorpUtils 2017-09-17 18:57:08 -04:00
Adarnof
5ce5f37867 Periodic checks of character ownership hashes.
Fix migration naming from merge.
2017-09-17 02:31:46 -04:00
Adarnof
02f2968ee5 Merge branch 'master' of https://github.com/Adarnof/allianceauth into sso_registration
# Conflicts:
#	alliance_auth/__init__.py
#	corputils/models.py
#	corputils/views.py
#	eveonline/tasks.py
#	fleetactivitytracking/views.py
#	hrapplications/admin.py
#	requirements.txt
2017-09-17 01:36:05 -04:00
Adarnof
eee6a9132d Use local swagger spec files (#866)
Allows auth to keep working if CCP changes "latest" definition.
Requires adarnauth-esi>=1.4
2017-09-17 01:08:02 -04:00
Basraah
9d90af4a3d Fixes #865 & adds unit tests 2017-09-13 20:16:07 +10:00
Adarnof
72305de2d8 Correct username hashing on py3 2017-09-13 00:29:59 -04:00
Adarnof
8f58f76001 Stop using v3(dev) Alliance resource
It keeps changing.
2017-09-12 20:16:15 -04:00
Adarnof
a969b6117b Fix missing operation in v3 alliance resource 2017-09-12 12:34:43 -04:00
Basraah
97762119b3 Remove .idea folder 2017-09-12 11:33:42 +10:00
Adarnof
4bdead5ef2 Version bump to v1.15.4 v1.15.4 2017-09-11 20:52:07 -04:00
Adarnof
8987cf2199 Use Django's cache framework for service group names (#857)
Use django-redis-cache backend for locking get_or_set
No longer require group-related tasks to be locked to one simultaneous execution.
Remove legacy service group cache models.

Truncate Discord nicknames to 32 characters
Correct Discourse group name extension using only valid leading characters.
Prevent name slicing from ending with illegal character

Closes #801
Closes #847
Closes #835
Closes #852
2017-09-11 20:42:13 -04:00
Basraah
27c9b09116 Add encoding declaration to prevent #819 2017-09-11 12:59:13 +10:00
Adarnof
0ac0f71fef Correct SeAT API logic (#860)
* Do not attempt to change user email on SeAT if unchanged.
This prevents HTTP422 from being raised on password resets.

*Delete users on deactivation.
The existing disable user logic does nothing and results in a HTTP500.
It's safe to delete users entirely - the API keys are retained.

Fixes #844
2017-09-08 13:42:35 -04:00
Adarnof
c1547cab8b Fix that state deletion bug. Thanks @basraah
Also sets state to guest on inactivation, and reassesses on reactivation. With a unit test to boot!
2017-09-06 23:00:12 -04:00
Basraah
3f454743a9 Openfire group names fix (#859)
* Force lowercase group names

* Fix comparison of group names

* Sanitise group name for broadcast message
2017-09-05 13:12:27 -04:00
Basraah
c2f12eed26 Fixes #753 2017-09-05 14:46:38 +10:00
Basraah
1b1b692ac0 Add missing block tag 2017-09-03 09:09:48 +10:00
mmolitor87
dc8ed2d510 Supervisor celery simplification (#849)
Combines celery confs under one process group for easy restarting. Updates docs to reflect new commands.
2017-09-01 15:43:54 -04:00
Basraah
049c1c66aa Make Fleet-up datetimes timezone aware (#856)
Additionally fix logger depreciation warnings
2017-09-01 15:41:45 -04:00