mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
one and only one empty line at the end of the file
This commit is contained in:
parent
8c3df89d52
commit
a99a375375
@ -14,3 +14,5 @@ repos:
|
|||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
exclude: \.(min\.css|min\.js|po|mo)$
|
exclude: \.(min\.css|min\.js|po|mo)$
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
exclude: \.(min\.css|min\.js|po|mo)$
|
||||||
|
1
LICENSE
1
LICENSE
@ -337,4 +337,3 @@ proprietary programs. If your program is a subroutine library, you may
|
|||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Lesser General
|
library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
|
||||||
|
@ -43,4 +43,3 @@ AUTHENTICATION_ADMIN_USERS_MAX_GROUPS = \
|
|||||||
|
|
||||||
AUTHENTICATION_ADMIN_USERS_MAX_CHARS = \
|
AUTHENTICATION_ADMIN_USERS_MAX_CHARS = \
|
||||||
_clean_setting('AUTHENTICATION_ADMIN_USERS_MAX_CHARS', 5)
|
_clean_setting('AUTHENTICATION_ADMIN_USERS_MAX_CHARS', 5)
|
||||||
|
|
||||||
|
@ -39,4 +39,3 @@ class AutogroupsConfigAdmin(admin.ModelAdmin):
|
|||||||
admin.site.register(AutogroupsConfig, AutogroupsConfigAdmin)
|
admin.site.register(AutogroupsConfig, AutogroupsConfigAdmin)
|
||||||
admin.site.register(ManagedCorpGroup)
|
admin.site.register(ManagedCorpGroup)
|
||||||
admin.site.register(ManagedAllianceGroup)
|
admin.site.register(ManagedAllianceGroup)
|
||||||
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
|
|
||||||
|
|
@ -7,4 +7,3 @@ class FatlinkForm(forms.Form):
|
|||||||
fleet = forms.CharField(label=_("Fleet Name"), max_length=50)
|
fleet = forms.CharField(label=_("Fleet Name"), max_length=50)
|
||||||
duration = forms.IntegerField(label=_("Duration of fat-link"), required=True, initial=30, min_value=1,
|
duration = forms.IntegerField(label=_("Duration of fat-link"), required=True, initial=30, min_value=1,
|
||||||
max_value=2147483647, help_text=_('minutes'))
|
max_value=2147483647, help_text=_('minutes'))
|
||||||
|
|
||||||
|
@ -30,4 +30,3 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
||||||
|
@ -122,4 +122,3 @@ def get_hooks(name):
|
|||||||
"""
|
"""
|
||||||
register_all_hooks()
|
register_all_hooks()
|
||||||
return _hooks.get(name, [])
|
return _hooks.get(name, [])
|
||||||
|
|
||||||
|
@ -4,4 +4,3 @@ from django.apps import AppConfig
|
|||||||
class PermissionsToolConfig(AppConfig):
|
class PermissionsToolConfig(AppConfig):
|
||||||
name = 'allianceauth.permissions_tool'
|
name = 'allianceauth.permissions_tool'
|
||||||
label = 'permissions_tool'
|
label = 'permissions_tool'
|
||||||
|
|
||||||
|
@ -30,4 +30,3 @@ class NameFormatConfig(models.Model):
|
|||||||
return '%s: %s' % (
|
return '%s: %s' % (
|
||||||
self.service_name, ', '.join([str(x) for x in self.states.all()])
|
self.service_name, ', '.join([str(x) for x in self.states.all()])
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ class DiscourseUser(models.Model):
|
|||||||
permissions = (
|
permissions = (
|
||||||
("access_discourse", u"Can access the Discourse service"),
|
("access_discourse", u"Can access the Discourse service"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -64,4 +64,3 @@ class DiscourseTasks:
|
|||||||
def get_username(user):
|
def get_username(user):
|
||||||
from .auth_hooks import DiscourseService
|
from .auth_hooks import DiscourseService
|
||||||
return NameFormatter(DiscourseService(), user).format_name()
|
return NameFormatter(DiscourseService(), user).format_name()
|
||||||
|
|
||||||
|
@ -94,4 +94,3 @@ def discourse_sso(request):
|
|||||||
# Redirect back to Discourse
|
# Redirect back to Discourse
|
||||||
url = '%s/session/sso_login' % settings.DISCOURSE_URL
|
url = '%s/session/sso_login' % settings.DISCOURSE_URL
|
||||||
return redirect('%s?%s' % (url, query_string))
|
return redirect('%s?%s' % (url, query_string))
|
||||||
|
|
||||||
|
@ -102,4 +102,3 @@ def deactivate_ips4(request):
|
|||||||
logger.error("Unsuccessful attempt to deactivate IPS4 for user %s" % request.user)
|
logger.error("Unsuccessful attempt to deactivate IPS4 for user %s" % request.user)
|
||||||
messages.error(request, _('An error occurred while processing your IPSuite4 account.'))
|
messages.error(request, _('An error occurred while processing your IPSuite4 account.'))
|
||||||
return redirect("services:services")
|
return redirect("services:services")
|
||||||
|
|
||||||
|
@ -78,4 +78,3 @@ class MumbleTasks:
|
|||||||
logger.debug("Updating ALL mumble display names")
|
logger.debug("Updating ALL mumble display names")
|
||||||
for mumble_user in MumbleUser.objects.exclude(username__exact=''):
|
for mumble_user in MumbleUser.objects.exclude(username__exact=''):
|
||||||
MumbleTasks.update_display_name.delay(mumble_user.user.pk)
|
MumbleTasks.update_display_name.delay(mumble_user.user.pk)
|
||||||
|
|
||||||
|
@ -8,4 +8,3 @@ from ...admin import ServicesUserAdmin
|
|||||||
class OpenfireUserAdmin(ServicesUserAdmin):
|
class OpenfireUserAdmin(ServicesUserAdmin):
|
||||||
list_display = ServicesUserAdmin.list_display + ('username',)
|
list_display = ServicesUserAdmin.list_display + ('username',)
|
||||||
search_fields = ServicesUserAdmin.search_fields + ('username', )
|
search_fields = ServicesUserAdmin.search_fields + ('username', )
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ def disable_user(user):
|
|||||||
for svc in ServicesHook.get_services():
|
for svc in ServicesHook.get_services():
|
||||||
if svc.service_active_for_user(user):
|
if svc.service_active_for_user(user):
|
||||||
svc.delete_user(user)
|
svc.delete_user(user)
|
||||||
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
default_app_config = 'allianceauth.srp.apps.SRPConfig'
|
default_app_config = 'allianceauth.srp.apps.SRPConfig'
|
||||||
|
|
||||||
|
@ -58,4 +58,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@ zkillboard
|
|||||||
.. automodule:: allianceauth.eveonline.evelinks.zkillboard
|
.. automodule:: allianceauth.eveonline.evelinks.zkillboard
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
|
|
||||||
|
@ -27,4 +27,3 @@ app.conf.ONCE = {
|
|||||||
|
|
||||||
# Load task modules from all registered Django app configs.
|
# Load task modules from all registered Django app configs.
|
||||||
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
|
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user