1234 Commits

Author SHA1 Message Date
Adarnof
6e4562b0e6 Don't rely on manager in migration 2017-12-22 11:19:53 -05:00
Basraah
856f1e176a Fix copy paste error, add extra debug output 2017-12-22 11:35:49 +10:00
Adarnof
1653a57e7b Do not set request main character
Thanks @GhostMB
2017-12-21 19:28:39 -05:00
Adarnof
5f03e580c2
Make manager available in migrations
Thanks @mmolitor87
2017-12-21 15:37:54 -05:00
Adarnof
d370ae48a2
Full import path
Python doesn't want to play nice.
2017-12-21 15:32:42 -05:00
Adarnof
38baeba254
Load signals with app 2017-12-21 15:25:53 -05:00
Adarnof
478f9b9390
Fix typo
Thanks @mmolitor87
2017-12-21 15:20:20 -05:00
Adarnof
82ad3821c4
Avoid using model property in migration
https://stackoverflow.com/a/3315547

Thanks @mmolitor87
2017-12-21 15:15:01 -05:00
Adarnof
07afaf12d5
Fix bracket.
Thanks @mmolitor87
2017-12-21 14:13:16 -05:00
ghoti
2c98cbd020 Sort completed HR apps by create date (most recent first) (#930) 2017-12-20 18:03:27 -05:00
Adarnof
1fe9d18a1a Include confusable_homoglyphs data files.
django-registration currently requires confusable_homoglyphs~=2.0 which has problems retrieving these data files. Version 2.3.1 is expected to update the dependency to 3.0 which includes these with the package.
2017-12-15 12:43:31 -05:00
Adarnof
02a75a931a Correct corp_id argument 2017-12-15 11:28:54 -05:00
Adarnof
770aca923f Reorder migrations to allow updating from v1.15.6 2017-12-14 17:48:54 -05:00
Adarnof
d50a74c7c6 Correct project template celery usage. 2017-12-14 10:20:34 -05:00
Adarnof
fcd8554ea7 Define additional arguments for startproject
Allows project creation with Django 2.0
2017-12-14 00:24:22 -05:00
Adarnof
98da0723fc Correct install procedure for gunicorn.
Correct docs index links.
2017-12-14 00:24:10 -05:00
Basraah
f037d7fea6 Change celery tasks to shared task decorator 2017-12-11 00:26:07 +10:00
Basraah
c82d9c7722 Fix migration issue 2017-12-04 13:21:29 +10:00
Basraah
70c4b17518
[v2] Alliance and Corp Autogroups (#902)
* Add pseudo foreign keys to EveCharacter model

* Ensure populate alliance is called on create

* Add unit tests for model

* Add extra signal for state removal/addition

* Add unit tests for signals

* Add tests for manager

* Add migrations

* Add sync command to admin control

* Prevent whitespace being stripped from group names

* Add documentation
2017-12-04 12:52:05 +10:00
Adarnof
995a44de0a Case-insensitive group name to ID translation
Seems Discourse won't let you create `Group` if `group` already exists (`422 Name has already been taken`).

Thanks @huberfe
2017-11-17 18:13:18 -05:00
Adarnof
4f5fc18c66 Merge branch 'v2-dev-master-merge' of https://github.com/allianceauth/allianceauth into v2-dev 2017-11-17 18:00:30 -05:00
Adarnof
4a94f379b4 Correct issues with the SRP merge from v1 2017-11-17 17:29:01 -05:00
mmolitor87
fb4651b11f Change name of location of gunicorn log. (#920) 2017-11-15 13:51:47 -05:00
phaynu
f961db3130 Extending Choices for Questions in hrapplications to Allow Multiselect (#911)
An additional field at the question level defines whether the choices for the question are multi-select or not. The template will render the choices with radio buttons or checkboxes depending on multi-select. Multiple selected choices are saved with a line break between them.
2017-11-10 12:07:17 -05:00
Adarnof
c63464c4c9 Handle new zKillboard API format 2017-11-10 11:57:51 -05:00
Adarnof
cca8b26375 Handle FAT ZeroDivisionErrors 2017-11-10 11:52:22 -05:00
Adarnof
cd0afeca15 Disable SeAT accounts instead of deleting. (#915)
See eveseat/web@1abb402
2017-11-03 19:29:39 -04:00
Basraah
86362bb0dd Refactor mumble service (#914)
* Added in_organisation check to EveCharacter model

* Basic name formatter

* Switch mumble service to use name formatter

* Squash services migrations

* Add name to example service to allow it to be used in tests

* Add name formatter to services

* Add abstract views, model, form for services modules

* Refactor mumble service to new style

* Don't set credentials if setting a provided password

* Add success message to set password view
2017-11-03 16:52:45 -04:00
Adarnof
859c5b3fa1 Determine paths to commands using shutil
Change context names to avoid colliding with base command pythonpath option
2017-10-24 12:48:23 -04:00
Basraah
57a26b90cb Admin status panel for dashboard (#903) 2017-10-18 15:46:58 +10:00
Basraah
7fa45fa471 Add favicons and logo 2017-10-12 13:18:51 +10:00
Basraah
47b5b286d8 Uniform page titles 2017-10-12 10:20:40 +10:00
Basraah
ef37cb3ea5 Name generator/formatter (#897)
* Squash services migrations

* Add name to example service to allow it to be used in tests

* Add name formatter to services

* Add documentation
2017-10-11 12:34:31 +10:00
Adarnof
cfad4fa8a6 Pycharm refactor failed me. 2017-10-10 10:41:25 -04:00
Adarnof
3f33485ca9 Template supervisor conf.
Update docs to reflect simple installation.

Ensure allianceauth celery workers can find config file for development (doesn't work as celeryapp.py).
2017-10-10 00:29:57 -04:00
Adarnof
86e92941df Move default logging directory. 2017-10-05 14:35:25 -04:00
Adarnof
d43b8cf0e5 Update install docs to reflect new magical commands. 2017-10-05 03:10:27 -04:00
Adarnof
03447abf5c Update base settings with command. 2017-10-05 01:23:33 -04:00
Adarnof
c22d3a9967 Command line utility to create project.
Shamelessly stolen from wagtail.
2017-10-05 00:52:55 -04:00
Adarnof
5df3672f3b Merge branch 'v2-dev' of https://github.com/allianceauth/allianceauth into sso_registration 2017-10-05 00:36:37 -04:00
Adarnof
c68574efc3 Create project template for deployment. 2017-10-05 00:33:18 -04:00
Basraah
e5d76cbce8 Add night mode (#890)
* Split base template menus out

* Add toggle for night mode setting

* Add vertical flexbox row

Makes each col-* expand to fill the space created by the largest column.

* Use flexbox on main character and group panels

* Fix data table sort control clipping

* Build new css
2017-10-05 14:32:58 +10:00
Adarnof
111105d48b Restructure settings (#882)
* Refactor settings into importable base.

User deployment should use 'from allianceauth.settings.base import *' in their project settings.

* Restructure tests folder.
Remove DOMAIN setting.
Use localhost for services revoked emails.

* Add missing python3.4 typing requirement
typing is included python3.5+

* Remove legacy setup comments
Remove legacy update script
2017-10-05 13:12:49 +10:00
Basraah
d7cb1a2fab Use django-webtest for hanging tests instead of TestCase 2017-10-02 00:06:06 +10:00
Basraah
01d34b54eb N+1 query fixes 2017-10-01 20:55:15 +10:00
Basraah
f33f796421 Remove obsolete template tag 2017-10-01 19:23:43 +10:00
Basraah
0504be2441 Fix redirect URLs 2017-10-01 19:23:25 +10:00
Basraah
8864afd784 Resolve Dj20 compatibility issues
Temporarily use latest snapshot for esi for dj20

    Correct admin urls include

    Manually correct old ts3 table migration

    Remove obsolete services migrations

    Remove bootstrap pagination package

    Fix url namespacing
2017-09-28 14:47:06 +10:00
Basraah
11fca74fec Add required on_delete parameters for Dj2.0 compatibility 2017-09-28 12:32:33 +10:00
Basraah
fff2cd32d5 Update timerboard views
Adds basic unit tests
Changed to class based views
2017-09-27 19:12:07 +10:00