Commit Graph

364 Commits (0dfd2480d2deeb682ea4e7894d1b33e4f9e72cd4)

Author SHA1 Message Date
Hai Brenner 76d3fdeac2 Fixed the Selector classes.
Fixed the crypto classes to handle signatures as well.
Some more other fixes
2016-06-07 16:15:08 +03:00
arbel.peled ffac7c1e34 Fixed all of Tal's remarks.
Switched to using the predefined BoolValue Protobuf.
2016-06-02 14:48:48 +03:00
arbel.peled 229cbfd48f Fixed some subscription functionality of the CachedClient 2016-06-02 13:01:41 +03:00
arbel.peled fe209f6b5a Removed default testing for the Bulletin Board Client. 2016-06-02 10:39:29 +03:00
arbel.peled e2f3dbe6b2 Fixed some more issues (most have to do with concurrency).
Implemented close method for the SQLServer which renders it unusable until reinitialization.
Added test for Synchronizer for the case when the remote server is unavailable (test passes).
Still need to fix Batch digest and sign issue.
2016-06-02 10:38:31 +03:00
Arbel Deutsch Peled e91a48b5e1 Fixed a few bugs.
Changed H2 Query Provider to run in-memory.
2016-06-01 22:46:51 +03:00
arbel.peled 7c60e487cc Created a test for the Synchronizer.
Not passing yet.
2016-06-01 21:34:17 +03:00
arbel.peled 347e826f73 Working integrated version of Scanner WebApp
Fully testsed
Moved BoolMsg and IntMsg to Comm package (from BulletinBoardAPI)
2016-05-31 15:26:56 +03:00
Hai Brenner 94f3920e6d Many fixes, some are still only in temporary phase, according to what Arbel told me to do so far. 2016-05-23 14:43:01 +03:00
arbel.peled 061dc69fbc File rename 2016-05-05 17:01:00 +03:00
arbel.peled b934894bc5 Created Polling Station Scanner interface
Implemented Web App for the scanner
Not tested
2016-05-05 16:55:10 +03:00
Hai Brenner c04ed42dca possible future protobufs for handling category channel selection.
Summary:
The initial code for the voting booth.
Some things are still missing:
1. comments EVERYWHERE
2. an implementation for the encryptor (program crashes when trying to encrypt PlaintexBallot)
3. the OutputDevice class should become a thread, (runnable with a queue of commands as the UI component)

Test Plan: Currently only simply run it with another main class.

Reviewers: arbel.peled

Differential Revision: https://proj-cs.idc.ac.il/D3
2016-05-04 17:58:06 +03:00
Hai Brenner e042779b15 Initial code for the Voting Booth.
Still missing components:
1. An implementation of the encryptor (currently program crashes when trying to encrypt the PlaintextBallot)
2. The output device implementation should change to a runnable thread (with commands queue as the ui)

Also needs to add comments EVERYWHERE.
2016-05-04 17:46:05 +03:00
tzlil.gon e677355040 comments: 2016-04-17 09:09:13 +03:00
tzlil.gon b4e5040814 comments 2016-04-17 09:08:21 +03:00
arbel.peled 4c33e923b2 Implemented Synchronizer and Cached Client
Not tested yet
2016-04-16 19:50:09 +03:00
arbel.peled 9ed728fca7 Added message counting ability to the server (but not to the client)
Added synchronous CompleteBatch read by the client
Started implementing the synchronizer
Added support for null callbacks
2016-04-14 09:20:11 +03:00
Tal Moran 1f8df95895 More refactoring for tests and protocol -- user class now handles all messages synchronously (in the main thread); concurrency is now simpler) 2016-04-14 03:34:54 +03:00
arbel.peled 48b2b9efa2 Merge branch 'Cached-Client' of https://cs.idc.ac.il/rhodecode/meerkat/meerkat-java into Cached-Client 2016-04-13 10:38:43 +03:00
Arbel Deutsch Peled c806e7b32a Added Deletion to Bulletin Board Server and Local Client 2016-04-13 09:46:24 +03:00
Tal Moran c798e827dc More renaming and refactoring of DKG code 2016-04-12 02:21:46 +03:00
Tal Moran 78207532ec protobuf naming convention 2016-04-11 20:51:40 +03:00
Tal Moran d2373c09f2 Merge with master 2016-04-11 20:14:18 +03:00
Tal Moran 1ec02173e7 package renaming and protobuf moves 2016-04-11 19:48:36 +03:00
Arbel Deutsch Peled 67b01032d0 Merge branch 'Cached-Client' 2016-04-11 14:23:05 +03:00
Arbel Deutsch Peled e904caa74f Added certificates to version control 2016-04-11 14:21:36 +03:00
Arbel Deutsch Peled edfd47a98d Fixed H2 test time (by using a connection pool)
Added same fix to MySQL
Fixed and tested H2 SyncQuery
2016-04-11 14:13:26 +03:00
Arbel Deutsch Peled 07aecd5237 TimestampComparator name change 2016-04-11 12:26:02 +03:00
Arbel Deutsch Peled 857821c0e4 Adding one more file to version control 2016-04-11 12:17:05 +03:00
tzlil.gon d0951f8644 stop 2016-04-08 21:48:08 +03:00
tzlil.gon 3e1f59ec2b switch secret with share 2016-04-08 15:46:54 +03:00
tzlil.gon 5d564c834c generic group + wait instead of sleep 2016-04-08 15:04:07 +03:00
tzlil.gon 0ae9719bc5 generic group + wait instead of sleep 2016-04-08 15:03:32 +03:00
Tal Moran 4f608e813d Code review comments and channges 2016-04-05 15:36:00 +03:00
Tal Moran f5410bedf4 Typo fixes 2016-04-05 11:51:01 +03:00
Tal Moran 19e52344f5 Merged move to public qilin version 2016-04-05 11:49:34 +03:00
Tal Moran d99bf4123e Merge remote-tracking branch 'origin/master' into mixer 2016-04-05 11:32:19 +03:00
Tal Moran 6d6e4748b7 merge 2016-04-05 11:32:07 +03:00
tzlil.gon 5670739e49 tested version 2016-03-30 12:44:04 +03:00
Arbel Deutsch Peled 49c1e2c178 Added missing files to version control 2016-03-27 20:11:09 +03:00
Arbel Deutsch Peled e56312d38b Local Client supports subsrciptions 2016-03-22 10:16:46 +02:00
tzlil.gon 5f45c1f6d6 tested with malicious users 2016-03-22 00:49:21 +02:00
Arbel Deutsch Peled a7699086d8 Local Client for testing (without subscription yet)
Partial implementation of subscriptions.
Some bug fixes.
2016-03-21 20:32:57 +02:00
tzlil.gon e27fddcf0c mixing test passed 2016-03-20 19:18:23 +02:00
tzlil.gon b7e543e5e8 simple rerandomize test 2016-03-20 16:15:43 +02:00
tzlil.gon e4a33af4d4 abort message 2016-03-18 14:20:47 +02:00
Hai Brenner d1bc0d7c84 Some small changes according to code review 2016-03-18 10:22:05 +02:00
Hai Brenner 0fa5d4094a yet another take on the VB interfaces.
Interfaces were now shortened even more.
Many changes were made according to Arbel's instructions.
Most important change is now that the controller passes ALL questions for UI
to ask voter, instead of chunks of questions and back-and-forth messages
between the controller and UI which were always quite redundant.
2016-03-13 15:35:58 +02:00
Hai Brenner 15453a772d Changes made in the initial interfaces for further code review.
1. Especially tried to fix the callback mechanism I previously used.
2. 'long sessionID' changed to 'int requestId'
3. Introduced a generic class VotingBoothResult
4. Quite some other local changes
2016-03-02 19:52:17 +02:00
tzlil.gon cc7e138a43 redesigned mail handler 2016-03-01 16:49:55 +02:00