Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
add copyright headers, add license and authors files
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 20, 2016
1 parent a947764 commit faf3532
Show file tree
Hide file tree
Showing 51 changed files with 1,473 additions and 1 deletion.
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
David Ruescas <david AT agoravoting DOT com>
Félix Robles Elvira <felix AT agoravoting DOT com>
Eduardo Robles Elvira <edulix AT agoravoting DOT com>
661 changes: 661 additions & 0 deletions LICENSE.AGPL3

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of agora-mixnet.
// Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

// agora-mixnet is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License.

// agora-mixnet is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.

// You should have received a copy of the GNU Lesser General Public License
// along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

scalaVersion := "2.11.8"

lazy val akkaVersion = "2.4.4"
Expand Down
15 changes: 15 additions & 0 deletions project/assembly.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
// This file is part of agora-mixnet.
// Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

// agora-mixnet is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License.

// agora-mixnet is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.

// You should have received a copy of the GNU Lesser General Public License
// along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.1")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.2")
15 changes: 15 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of agora-mixnet.
// Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

// agora-mixnet is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License.

// agora-mixnet is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.

// You should have received a copy of the GNU Lesser General Public License
// along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.2")

Expand Down
15 changes: 15 additions & 0 deletions shell_utils/create_election.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
#!/usr/bin/env python3

# This file is part of agora-mixnet.
# Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

# agora-mixnet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License.

# agora-mixnet is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public License
# along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

import requests
import sys
import json
Expand Down
15 changes: 15 additions & 0 deletions shell_utils/tally_election.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
#!/usr/bin/env python3

# This file is part of agora-mixnet.
# Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

# agora-mixnet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License.

# agora-mixnet is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public License
# along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

import requests
import sys
import json
Expand Down
15 changes: 15 additions & 0 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# This file is part of agora-mixnet.
# Copyright (C) 2015-2016 Agora Voting SL <[email protected]>

# agora-mixnet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License.

# agora-mixnet is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public License
# along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.

master.max-chunk-size=200
master.send-delay-ms=0
master.min-chunk=4
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/CryptoTest.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package app

import ch.bfh.unicrypt.crypto.keygenerator.interfaces.KeyPairGenerator
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/Demo.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

import shapeless._
import nat._
import com.typesafe.config.ConfigFactory
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/ElectionAuthority.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package app

import scala.util.{Try, Success, Failure}
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/Trustees.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package app

import scala.collection.mutable.{ Map => MutableMap }
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/Verifier.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package app

import java.nio.ByteOrder
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/BoardReader.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import app._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/ElectionDTOData.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import shapeless._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/ElectionStateMaintainer.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import shapeless._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/ElectionSubscriber.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import shapeless._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/GetType.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import shapeless._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/MaintainerWrapper.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import shapeless._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/accumulator/PostOffice.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package accumulator

import app._
Expand Down
17 changes: 17 additions & 0 deletions src/main/scala/controllers/Router.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/**
* This file is part of agora-mixnet.
* Copyright (C) 2015-2016 Agora Voting SL <[email protected]>
* agora-mixnet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License.
* agora-mixnet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with agora-mixnet. If not, see <http://www.gnu.org/licenses/>.
**/

package controllers

import akka.actor.ActorSystem
Expand Down
Loading

0 comments on commit faf3532

Please sign in to comment.