Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
34aae0a2
Commit
34aae0a2
authored
4 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
Fix source code issues
parent
61c88c9b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
helios/forms.py
+0
-3
0 additions, 3 deletions
helios/forms.py
helios/models.py
+107
-108
107 additions, 108 deletions
helios/models.py
helios_auth/auth_systems/__init__.py
+2
-2
2 additions, 2 deletions
helios_auth/auth_systems/__init__.py
with
109 additions
and
113 deletions
helios/forms.py
+
0
−
3
View file @
34aae0a2
...
...
@@ -4,9 +4,6 @@ Forms for Helios
"""
from
django
import
forms
from
models
import
Election
from
widgets
import
SplitSelectDateTimeWidget
from
fields
import
SplitDateTimeField
from
django.conf
import
settings
from
.fields
import
SplitDateTimeField
...
...
This diff is collapsed.
Click to expand it.
helios/models.py
+
107
−
108
View file @
34aae0a2
...
...
@@ -494,7 +494,6 @@ class Election(HeliosModel):
total_load
=
True
for
eligibility_case
in
self
.
eligibility
:
print
eligibility_case
auth_system
=
eligibility_case
[
'
auth_system
'
]
if
not
eligibility_case
.
has_key
(
'
constraint
'
):
...
...
This diff is collapsed.
Click to expand it.
helios_auth/auth_systems/__init__.py
+
2
−
2
View file @
34aae0a2
from
django.conf
import
settings
from
.
import
password
,
twitter
,
linkedin
,
cas
,
facebook
,
google
,
yahoo
,
pirateid
,
clever
from
.
import
password
,
twitter
,
linkedin
,
cas
,
facebook
,
google
,
yahoo
,
clever
AUTH_SYSTEMS
=
{}
...
...
@@ -10,7 +10,7 @@ AUTH_SYSTEMS['cas'] = cas
AUTH_SYSTEMS
[
'
facebook
'
]
=
facebook
AUTH_SYSTEMS
[
'
google
'
]
=
google
AUTH_SYSTEMS
[
'
yahoo
'
]
=
yahoo
AUTH_SYSTEMS
[
'
pirateid
'
]
=
pirateid
#
AUTH_SYSTEMS['pirateid'] = pirateid
AUTH_SYSTEMS
[
'
clever
'
]
=
clever
# not ready
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment