Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
7bcfd07
:white_check_mark: bug id sign/decline contract corrected
Sep 26, 2017
3262b30
:white_check_mark: bug id sign/decline contract corrected
Sep 26, 2017
469ddc6
Fix redirect to login if user is logged out
Sep 26, 2017
718dee1
correcting bugs
Sep 26, 2017
32793b1
Removed the .idea folder
Sep 26, 2017
59e9741
Removed SXP File
Sep 26, 2017
f20a261
minimal .gitignore
Sep 26, 2017
e38ebb2
fixing error
Sep 27, 2017
3d8f722
Merge pull request #2 from GiInfo/httptunnel_error
GiInfo Sep 27, 2017
4136f84
after correcting compiling error. missing class error appear
Sep 27, 2017
7c9cd70
Merge pull request #3 from GiInfo/missing_lib
GiInfo Sep 27, 2017
68b688d
ignoring 4 tests that do not impact running. should be corrected in t…
Sep 28, 2017
d12efda
ignoring 4 tests that do not impact running. should be corrected in t…
Sep 28, 2017
59d23b1
ignoring 4 tests that do not impact running. should be corrected in t…
Sep 28, 2017
b466122
ignoring 4 tests that do not impact running. should be corrected in t…
Sep 28, 2017
430654c
ignoring 4 tests that do not impact running. should be corrected in t…
Sep 28, 2017
8978fdf
Merge pull request #4 from GiInfo/ignoring_failing_test_for_jenkins
GiInfo Sep 28, 2017
5a25870
correcting isuserconnected and using sessionstorage. Adding partiesWi…
Nov 8, 2017
34a9f2c
update header contracts and color a different state of contract
Nov 8, 2017
1e55f77
Merge pull request #5 from GiInfo/traceWishes_and_isUserConnected
massinissaYousfi Nov 8, 2017
6d63156
Merge branch 'master' into massi
TiagoCortinhal Nov 8, 2017
73da50a
Merge pull request #6 from GiInfo/massi
TiagoCortinhal Nov 8, 2017
92dd0de
Melani commit
Nov 8, 2017
c4060fe
Update Corrige
Nov 8, 2017
8a76e9b
Try searching parties
Mimi-Siku Nov 12, 2017
126c5b2
Avant Fusion Travail Melanie avec la mienne
Nov 12, 2017
61a0863
better exchanges clauses
Mimi-Siku Nov 12, 2017
d378363
avant step2
Nov 12, 2017
630361d
adding error messages when submitting
Mimi-Siku Nov 12, 2017
e4ae54c
Erreur de gradle
Nov 13, 2017
cab9667
Merge branch 'ContratForm' of https://github.com/GiInfo/SXP into Cont…
Nov 13, 2017
6ec5aa1
messages for 2+ users
Nov 14, 2017
461d855
Code Commenter
Nov 15, 2017
44f13ea
reordering modalities done
Mimi-Siku Nov 17, 2017
7288ff0
add forum to contract
massinissaYousfi Nov 18, 2017
f5eb490
clean up the front-end code
Mimi-Siku Nov 18, 2017
302ba94
Clean the front code
Mimi-Siku Nov 18, 2017
a0b2556
Merge pull request #7 from GiInfo/two_and_more_messages
GiInfo Nov 19, 2017
7786b50
Merge pull request #8 from GiInfo/add_form_to_+2
TiagoCortinhal Nov 19, 2017
799bcf3
Revert "Merge pull request #4 from GiInfo/ignoring_failing_test_for_j…
Nov 19, 2017
30d0413
Merge branch 'master' into ContratForm2
Nov 19, 2017
b5afc93
local libs
Nov 19, 2017
2e7713f
Merge pull request #11 from GiInfo/two_and_more_messages
GiInfo Nov 19, 2017
e75c0a4
merge corrected
Nov 19, 2017
3e26c1f
Merge branch 'master' into ContratForm2
TiagoCortinhal Nov 19, 2017
7ae583c
Merge pull request #10 from GiInfo/ContratForm2
TiagoCortinhal Nov 19, 2017
f058183
corrected conflicts
Nov 19, 2017
7ad977e
Merge pull request #12 from GiInfo/correct_miss_conflicts
GiInfo Nov 19, 2017
e1ad963
missed the subscribe
Nov 19, 2017
ed13ef6
Merge pull request #13 from GiInfo/correct_miss_conflicts_2
GiInfo Nov 19, 2017
5aa4fcb
correction apres le 1er merge
Nov 19, 2017
12db52d
After 1ere merge
Nov 19, 2017
6a9bcc5
Merge branch 'master' of https://github.com/GiInfo/SXP
Nov 19, 2017
72a9458
Merge branch 'master' into tampon
GiInfo Nov 19, 2017
f677f78
Merge branch 'master' into tampon
GiInfo Nov 19, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ src/main/javascript/client/SXP*
/logs/
/simpleDb/
src/main/js/SXP-linux-x64/
src/main/js/SXP-darwin-x64/
src/main/js/node_modules/
certConfig.conf
keystore.jks
.cache*
derby.log
SXP.iml
/.idea/
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ tests:
except:
- master


deploy:
stage: deploy
script:
- ./deploy
#selenium:
# stage: test
# image: selenium/standalone-firefox
Expand Down
184 changes: 93 additions & 91 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jacoco {

//Adding Google java format and sonar pluggins for jdk >= 8
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
//classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.3.2"
if (JavaVersion.current() >= JavaVersion.VERSION_1_8) {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.1"
}
classpath "com.netflix.nebula:nebula-ospackage-plugin:3.+"
}
}
dependencies {
//classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.3.2"
if(JavaVersion.current()>= JavaVersion.VERSION_1_8){
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.1"
}
classpath "com.netflix.nebula:nebula-ospackage-plugin:3.+"
}
}

//apply plugin: "com.github.sherter.google-java-format"
if(JavaVersion.current()>= JavaVersion.VERSION_1_8){
apply plugin: "org.sonarqube"
if (JavaVersion.current() >= JavaVersion.VERSION_1_8) {
apply plugin: "org.sonarqube"
}


Expand All @@ -37,15 +37,17 @@ targetCompatibility = 1.7
repositories {
mavenCentral()
maven {

url 'http://www.janus-project.org/maven'
url uri('libs')

}
}
jar {
manifest {
attributes 'Implementation-Title': 'SXP network',
'Implementation-Version': 1.0
}
manifest {
attributes 'Implementation-Title': 'SXP network',
'Implementation-Version': 1.0
}
}

sourceSets.main.resources.srcDirs += ["src/main/resources"]
Expand All @@ -57,15 +59,15 @@ configurations {
}

//Define selenium sources and resources
sourceSets {
selenium {
sourceSets {
selenium {
java {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir file('src/selenium/java')
}
resources.srcDir file('src/selenium/resources')
}
}
}

//selenium task
Expand All @@ -75,28 +77,28 @@ task selenium(type: Test) {
testClassesDir = sourceSets.selenium.output.classesDir
classpath = sourceSets.selenium.runtimeClasspath
outputs.upToDateWhen { false }
// jvmArgs ""
// jvmArgs ""
}

test{
//exclude 'model/syncManager/**'
//exclude 'controller/**'
//exclude 'crypt/**'
//exclude 'model/entity/**'
//exclude 'model/validator/**'
//exclude 'network/**'
//exclude 'protocol/**'
//exclude 'rest/**'
//exclude 'util/**'
testLogging {
showStandardStreams = false
showExceptions = false
showStackTraces = false
}
if (System.getProperty('DEBUG', 'false') == 'true') {
test {
//exclude 'model/syncManager/**'
//exclude 'controller/**'
//exclude 'crypt/**'
//exclude 'model/entity/**'
//exclude 'model/validator/**'
//exclude 'network/**'
//exclude 'protocol/**'
//exclude 'rest/**'
//exclude 'util/**'

testLogging {
showStandardStreams = false
showExceptions = false
showStackTraces = false
}


if (System.getProperty('DEBUG', 'false') == 'true') {
jvmArgs '-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5006'
}
}
Expand Down Expand Up @@ -130,52 +132,53 @@ tasks.withType(Test) {
}

dependencies {
compile 'org.hibernate:hibernate-validator:5.2.4.Final'
compile 'org.apache.logging.log4j:log4j-api:2.1'
compile 'org.apache.logging.log4j:log4j-core:2.1'
compile 'org.apache.logging.log4j:log4j-1.2-api:2.1'
compile 'org.apache.logging.log4j:log4j-web:2.5'
compile 'org.eclipse.jetty:jetty-server:9.2+'
compile 'org.eclipse.jetty:jetty-servlet:9.2+'
compile 'org.eclipse.jetty:jetty-webapp:9.3+'

compile 'org.hibernate:hibernate-validator:5.2.4.Final'

compile 'org.apache.logging.log4j:log4j-api:2.1'
compile 'org.apache.logging.log4j:log4j-core:2.1'
compile 'org.apache.logging.log4j:log4j-1.2-api:2.1'
compile 'org.apache.logging.log4j:log4j-web:2.5'

compile 'org.eclipse.jetty:jetty-server:9.2+'
compile 'org.eclipse.jetty:jetty-servlet:9.2+'
compile 'org.eclipse.jetty:jetty-webapp:9.3+'
compile 'org.eclipse.jetty:jetty-util:9.2+'
//compile 'org.eclipse.jetty:apache-jsp:9.2+'
//compile 'org.eclipse.jetty:apache-jstl:9.2+'

compile 'org.apache.commons:commons-collections4:4.0'

compile 'org.glassfish.jersey.core:jersey-server:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-servlet-core:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-jetty-http:2.7'
compile 'org.glassfish.jersey.media:jersey-media-moxy:2.7'
compile 'javax:javaee-api:7.0'
compile 'org.apache.derby:derby:10.12.1.1'
compile 'org.eclipse.persistence:eclipselink:2.6.3-M1'
compile 'org.eclipse.persistence:javax.persistence:2.1.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.3'
compile fileTree(dir: './libs', include: '*.jar')
compile ('com.kenai.jxse:jxse:2.7')
{
// org.jboss.netty has moved to io.netty
exclude group: 'org.jboss.netty', module: 'httptunnel'
}
compile 'org.jdom:jdom2:2.0.6'
compile 'com.google.guava:guava:19.0'
compile 'org.shredzone.acme4j:acme4j-utils:0.8'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.3'

compile 'org.hibernate:hibernate-validator:5.3.3.Final'
compile 'javax.el:javax.el-api:2.2.4'
compile 'org.glassfish.web:javax.el:2.2.4'


testCompile 'org.apache.commons:commons-lang3:3.1'
testCompile fileTree(dir: './libs', include: 'loremipsum-1.0.jar')
testCompile group: 'junit', name: 'junit', version: '4.+'
//compile 'org.eclipse.jetty:apache-jsp:9.2+'
//compile 'org.eclipse.jetty:apache-jstl:9.2+'

compile 'org.apache.commons:commons-collections4:4.0'

compile 'org.glassfish.jersey.core:jersey-server:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-servlet-core:2.7'
compile 'org.glassfish.jersey.containers:jersey-container-jetty-http:2.7'
compile 'org.glassfish.jersey.media:jersey-media-moxy:2.7'
compile 'javax:javaee-api:7.0'
compile 'org.apache.derby:derby:10.12.1.1'
compile 'org.eclipse.persistence:eclipselink:2.6.3-M1'
compile 'org.eclipse.persistence:javax.persistence:2.1.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.3'
compile 'io.netty:netty-all:4.0.24.Final'
compile('com.kenai.jxse:jxse:2.7') {
exclude group: 'org.jboss.netty', module: 'httptunnel'

}
compile 'org.jdom:jdom2:2.0.6'
compile fileTree(dir: './libs', include: '*.jar')
compile 'com.google.guava:guava:19.0'
compile 'org.shredzone.acme4j:acme4j-utils:0.8'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.3'

compile 'org.hibernate:hibernate-validator:5.3.3.Final'
compile 'javax.el:javax.el-api:2.2.4'
compile 'org.glassfish.web:javax.el:2.2.4'


testCompile 'org.apache.commons:commons-lang3:3.1'
testCompile fileTree(dir: './libs', include: 'loremipsum-1.0.jar')
testCompile group: 'junit', name: 'junit', version: '4.+'

testCompile group: 'com.github.stefanbirkner', name: 'system-rules', version: '1.16.0'
testCompile group: 'org.json', name: 'json', version: '20160810'
seleniumCompile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.0.1'
Expand All @@ -184,20 +187,19 @@ dependencies {
configurations.all {
exclude group: "log4j", module: "log4j"
}

[compileJava, compileTestJava]*.options.collect {options ->
options.encoding = 'UTF-8'}

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
classpath {
downloadSources = true
downloadJavadoc = true
}
}

//Copy dependencies in the libs directory
task libs(type: Sync) {
from configurations.compile
from configurations.compile
//from configurations.runtime
from configurations.testCompile
from configurations.seleniumCompile
Expand Down
108 changes: 59 additions & 49 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,63 +1,73 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<html lang="{{ site.lang | default: " en-US" }}">

<head>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width,maximum-scale=2">
<meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">
<meta name="description"
content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">

<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="stylesheet" type="text/css" media="screen"
href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">

<title>{{ site.title | default: site.github.repository_name }}</title>
</head>

<body>
securely exchange anything, anywhere, with anyone.
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>

<!-- <h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1> -->
<a href="https://pja35.github.io/SXP/wiki/"><img src="/SXP/images/sxp.svg" height=108px width=622px /></a>
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>

{% if site.show_downloads %}
<section id="downloads">
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
</section>
{% endif %}
</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
</head>

<body>
securely exchange anything, anywhere, with anyone.
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>

<!-- <h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1> -->
<a href="https://pja35.github.io/SXP/wiki/"><img src="/SXP/images/sxp.svg" height=108px width=622px/></a>
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>

{% if site.show_downloads %}
<section id="downloads">
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
</section>
{% endif %}
</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
{{ content }}
</section>
</div>
</section>
</div>

<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
{% if site.github.is_project_page %}
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a
href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>

{% if site.google_analytics %}
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</footer>
</div>

{% if site.google_analytics %}
<script type="text/javascript">
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>
Loading