Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ec1e01a
Separazione Casi d'Uso
casual4free-svg Sep 18, 2014
fba829d
Ulteriore separazione Casi d'Uso
casual4free-svg Sep 18, 2014
a32607b
.gitignore aggiunto da nettobenso
casual4free-svg Sep 18, 2014
34c3d66
Created the GenericSelector<T>
casual4free-svg Sep 18, 2014
a7a54c2
package revision
casual4free-svg Sep 18, 2014
613a4a1
Sessione first coding
casual4free-svg Sep 18, 2014
ed1f357
CicloDiAnalisi coding:
casual4free-svg Sep 19, 2014
9f25ab0
Aggiunta dei form per il ciclo di analisi e la gestione delle sessioni
Sep 19, 2014
32c6630
Aggiunta dei form per il ciclo di analisi e la gestione delle sessioni
Sep 19, 2014
ec1232d
CHECK
Sep 20, 2014
c5ddedc
CicloDiAnalisi linked
casual4free-svg Sep 20, 2014
bf0dbff
edit Sessione
casual4free-svg Sep 20, 2014
36d80ee
edit Sessione
Sep 20, 2014
10737cb
Compilazione casella di testo messaggio parzialmente decifrato stronzi
Sep 20, 2014
fe2dadb
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
Sep 20, 2014
53b7465
sync
casual4free-svg Sep 20, 2014
5552816
sync
casual4free-svg Sep 20, 2014
6d17d56
sync
Sep 20, 2014
684f6f0
Working update
casual4free-svg Sep 20, 2014
acbe8b5
Sep 21, 2014
220d4c8
Rispristina sessione di lavoro and package reduction
casual4free-svg Sep 21, 2014
d2b5fce
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
Sep 21, 2014
b575b74
primo adattamento ai DSD
casual4free-svg Sep 22, 2014
f3f64be
bugfix and various
casual4free-svg Sep 22, 2014
8c41b22
Eliminata classe Session.java con tute le relative dipendenze
Sep 22, 2014
e37d628
DSD upload
casual4free-svg Sep 22, 2014
6f8c2c4
bug fix
Sep 22, 2014
7302f2d
Debugging and other
casual4free-svg Dec 12, 2014
a324c0c
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
Dec 12, 2014
64bda2f
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
casual4free-svg Dec 12, 2014
7fcdc20
Ora è possibile salvare i messaggi come bozza ed inviarli in un secon…
Dec 13, 2014
6ccfc81
Aggiunta interfaccia DettagliMessaggio, per leggere completamente il …
Dec 13, 2014
3a7c39c
Piccoli miglioramenti.
Dec 14, 2014
67db5f3
Aggiunta classe di test
Dec 14, 2014
a66f770
Aggiunta classe di test
Dec 21, 2014
f9edf9e
added use cryptohelper
Feb 5, 2015
c04d811
ok Here I am
Feb 5, 2015
5c61f7d
modifica parti della mappatura
alerosso Feb 5, 2015
e23c098
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
alerosso Feb 5, 2015
bcafc77
fixed form sostituzione semplice
Feb 5, 2015
bfadda6
Jan 8, 2015
20f330a
fixato lancio eccezione al ripristino della sessione
Feb 6, 2015
c63bb7f
prima bozza cifratura a parola chiave
Feb 6, 2015
bbbb1ed
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
Feb 6, 2015
17db3a6
quasi finita classe di test
Feb 6, 2015
dd7534e
Test junit completo e funzionante (alla fineho usato la classe Studen…
Feb 6, 2015
b664518
sistemato qualche chiusura finestra
Feb 8, 2015
66e6e77
Merge origin/GUI_analisi_sessione into GUI_analisi_sessione
Feb 8, 2015
fce6507
Davide patches merged
Feb 8, 2015
2689e9a
tolto...
Feb 8, 2015
dc467c1
davide commit
Feb 9, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/dist/
/nbproject/private/
/build/
153 changes: 77 additions & 76 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -1,76 +1,77 @@
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=CryptoHelper
application.vendor=user
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# Files in build.classes.dir which should be excluded from distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/CryptoHelper.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
includes=**
jar.compress=false
javac.classpath=\
${libs.MySQLDriver.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.7
javac.target=1.7
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=progetto_sas.Progetto_SAS
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
# Space-separated list of JVM arguments used when running the project.
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-prop.name=value:
run.jvmargs=
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=CryptoHelper
application.vendor=user
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# Files in build.classes.dir which should be excluded from distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/CryptoHelper.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
includes=**
jar.compress=false
javac.classpath=\
${libs.MySQLDriver.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.7
javac.target=1.7
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}:\
${libs.junit_4.classpath}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=GUI.Main
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
# Space-separated list of JVM arguments used when running the project.
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-prop.name=value:
run.jvmargs=
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
13 changes: 13 additions & 0 deletions src/DatabaseDUMPS/Sessione.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

--
-- Struttura della tabella `Sessione`
--

CREATE TABLE IF NOT EXISTS `Sessione` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique ID',
`userId` int(11) NOT NULL COMMENT 'user ID',
`key` varchar(255) NOT NULL COMMENT 'Human Readable key',
`sessione` blob NOT NULL COMMENT 'The serialized Session object',
PRIMARY KEY (`id`),
UNIQUE KEY `userId` (`userId`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
1 change: 1 addition & 0 deletions src/DatabaseDUMPS/cd0e9af6-d876-4478-9594-47c5f205ede1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
159 changes: 159 additions & 0 deletions src/DatabaseDUMPS/cryptohelper.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generato il: Set 18, 2014 alle 22:57
-- Versione del server: 5.5.38-0ubuntu0.14.04.1
-- Versione PHP: 5.5.9-1ubuntu4.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `cryptohelper`
--

-- --------------------------------------------------------

--
-- Struttura della tabella `messaggio`
--

CREATE TABLE IF NOT EXISTS `messaggio` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_mittente` int(11) NOT NULL,
`id_destinatario` int(11) NOT NULL,
`testo` varchar(120) NOT NULL,
`testoCifrato` varchar(120) NOT NULL,
`lingua` varchar(120) NOT NULL,
`titolo` varchar(120) NOT NULL,
`bozza` tinyint(1) NOT NULL,
`letto` tinyint(1) NOT NULL,
`idsistemacifratura` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `id_mittente` (`id_mittente`),
KEY `id_destinatario` (`id_destinatario`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;

--
-- Dump dei dati per la tabella `messaggio`
--

INSERT INTO `messaggio` (`id`, `id_mittente`, `id_destinatario`, `testo`, `testoCifrato`, `lingua`, `titolo`, `bozza`, `letto`, `idsistemacifratura`) VALUES
(19, 1, 3, 'bellaaaaaaaaaaaaa!!!!', 'bellaaaaaaaaaaaaa', 'Italiano', 'titoloDiProva', 0, 0, 0),
(20, 1, 2, 'ciao bob qui tutto a posto', 'rxp~ q~q ??x ????~ p ~??~', 'null', 'titoloDiProva', 0, 0, 0),
(21, 1, 2, 'ciao', 'rxp~', 'Italiano', 'titoloDiProva', 0, 0, 0);

-- --------------------------------------------------------

--
-- Struttura della tabella `proposta`
--

CREATE TABLE IF NOT EXISTS `proposta` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_mittente` varchar(120) NOT NULL,
`id_destinatario` varchar(120) NOT NULL,
`idsistemacifratura` int(11) NOT NULL,
`stato` varchar(120) NOT NULL,
`notificata` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_mittente` (`id_mittente`),
KEY `user_destinatario` (`id_destinatario`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;

--
-- Dump dei dati per la tabella `proposta`
--

INSERT INTO `proposta` (`id`, `id_mittente`, `id_destinatario`, `idsistemacifratura`, `stato`, `notificata`) VALUES
(7, '1', '2', 5, 'accettata', NULL),
(8, '1', '3', 6, 'accettata', NULL),
(9, '1', '2', 7, 'accettata', NULL),
(10, '2', '3', 8, 'rifiutata', NULL);

-- --------------------------------------------------------

--
-- Struttura della tabella `Sessione`
--

CREATE TABLE IF NOT EXISTS `Sessione` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique ID',
`userId` int(11) NOT NULL COMMENT 'user ID',
`key` varchar(255) NOT NULL COMMENT 'Human Readable key',
`session` blob NOT NULL COMMENT 'The serialized Session object',
PRIMARY KEY (`id`),
UNIQUE KEY `userId` (`userId`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Struttura della tabella `sistemacifratura`
--

CREATE TABLE IF NOT EXISTS `sistemacifratura` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`chiave` varchar(120) NOT NULL,
`metodo` varchar(120) NOT NULL,
`idcreatore` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;

--
-- Dump dei dati per la tabella `sistemacifratura`
--

INSERT INTO `sistemacifratura` (`id`, `chiave`, `metodo`, `idcreatore`) VALUES
(5, '15', 'Sistema di cesare', 1),
(6, '0', 'Sistema di cesare', 1),
(7, 'ciaao', 'Parola chiave', 1),
(8, '30', 'Sistema di cesare', 2);

-- --------------------------------------------------------

--
-- Struttura della tabella `user`
--

CREATE TABLE IF NOT EXISTS `user` (
`id` int(120) NOT NULL AUTO_INCREMENT,
`username` varchar(120) NOT NULL,
`password` varchar(120) NOT NULL,
`nome` varchar(120) DEFAULT NULL,
`cognome` varchar(120) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dump dei dati per la tabella `user`
--

INSERT INTO `user` (`id`, `username`, `password`, `nome`, `cognome`) VALUES
(1, 'roberto', 'root', NULL, NULL),
(2, 'bob', 'root', NULL, NULL),
(3, 'davide', 'prova', NULL, NULL);

--
-- Limiti per le tabelle scaricate
--

--
-- Limiti per la tabella `messaggio`
--
ALTER TABLE `messaggio`
ADD CONSTRAINT `messaggio_ibfk_1` FOREIGN KEY (`id_mittente`) REFERENCES `user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `messaggio_ibfk_2` FOREIGN KEY (`id_destinatario`) REFERENCES `user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Loading