2052 Commits

Author SHA1 Message Date
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) v2.0b1 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
af7a432f29 Include basic app installation instructions. 2017-12-14 18:01:47 -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
676e68a2bb
Update travis config 2017-12-04 13:30:23 +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
c4979a22dd Merge pull request #913 from Adarnof/sso_registration
Determine paths to commands using shutil
2017-10-25 19:20:36 -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
b95bb9aa6a Merge pull request #891 from Adarnof/sso_registration
Install using project template
2017-10-10 17:09:08 -04: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
1c1dfde2c4 Mention database migrations in update docs. 2017-10-05 15:06:34 -04:00
Adarnof
86e92941df Move default logging directory. 2017-10-05 14:35:25 -04:00
Adarnof
09b788fef6 Remove legacy settings documentation.
Settings are self-documented in the new install template.

Services install docs should be updated to indicate settings need to be added and how to configure them.
2017-10-05 12:50:51 -04:00
Adarnof
d54d80b0b8 Include updating instructions.
Tweak wording of install sections.
2017-10-05 12:48:33 -04:00
Adarnof
3ff29ba3b0 Do not check coverage of bin commands. 2017-10-05 11:08:43 -04:00
Adarnof
2efb45943c Do not check coverage of project template. 2017-10-05 11:00:32 -04:00
Adarnof
d43b8cf0e5 Update install docs to reflect new magical commands. 2017-10-05 03:10:27 -04:00
Basraah
5e8b5e1a15 Add files required for confusable_homoglyphs
Recreating them in CI was causing intermittent build stalls that were
almost impossible to debug.
2017-10-05 15:54:49 +10: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
f121ed4062 Merge branch 'v2-dev' of https://github.com/allianceauth/allianceauth into sso_registration 2017-10-04 23:43:57 -04: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