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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
49713240
Commit
49713240
authored
14 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
added the glue for emailing voters
parent
3702666f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
server_ui/__init__.py
+1
-0
1 addition, 0 deletions
server_ui/__init__.py
server_ui/glue.py
+1
-3
1 addition, 3 deletions
server_ui/glue.py
settings.py.sample
+1
-1
1 addition, 1 deletion
settings.py.sample
with
3 additions
and
4 deletions
server_ui/__init__.py
+
1
−
0
View file @
49713240
...
...
@@ -2,3 +2,4 @@
This django app is meant only to connect the pieces of Helios and Auth to present a clean UI
"""
import
glue
This diff is collapsed.
Click to expand it.
server_ui/glue.py
+
1
−
3
View file @
49713240
...
...
@@ -39,8 +39,6 @@ Your voter alias is : %s
# send it via the notification system associated with the auth system
user
.
send_message
(
subject
,
body
)
import
logging
logging
.
error
(
"
connecting the vote_cast signal
"
)
helios
.
signals
.
vote_cast
.
connect
(
vote_cast_send_message
)
def
election_tallied
(
election
,
**
kwargs
):
...
...
This diff is collapsed.
Click to expand it.
settings.py.sample
+
1
−
1
View file @
49713240
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