-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48d5d33
commit f7ff44b
Showing
63 changed files
with
782 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
@ConfigurationProperties(prefix="global") | ||
public class GlobalProperties implements Cloneable { | ||
|
||
/** | ||
* Chemin d'acces à l'application | ||
*/ | ||
private String rootUrl; | ||
private String domain; | ||
private String nexuUrl; | ||
|
@@ -28,6 +31,16 @@ public class GlobalProperties implements Cloneable { | |
private String version = ""; | ||
private String applicationEmail = "[email protected]"; | ||
private int hoursBeforeRefreshNotif = 24; | ||
/** | ||
* Choisir le fonctionnement des délégations : | ||
* <ul> | ||
* <li>0 : système de délégation désactivé</li> | ||
* <li>1 : le délégué ne peut signer qu'avec sa propre signature</li> | ||
* <li>2 : le délégué ne peut signer qu'avec la signature du mandant</li> | ||
* <li>2 : le mandant ne peut choisir la signature du délégué</li> | ||
* </ul> | ||
*/ | ||
private int shareMode = 0; | ||
|
||
public String getRootUrl() { | ||
return rootUrl; | ||
|
@@ -172,4 +185,12 @@ public int getHoursBeforeRefreshNotif() { | |
public void setHoursBeforeRefreshNotif(int hoursBeforeRefreshNotif) { | ||
this.hoursBeforeRefreshNotif = hoursBeforeRefreshNotif; | ||
} | ||
|
||
public int getShareMode() { | ||
return shareMode; | ||
} | ||
|
||
public void setShareMode(int shareMode) { | ||
this.shareMode = shareMode; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/org/esupportail/esupsignature/config/sms/SmsConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/main/java/org/esupportail/esupsignature/repository/UserPropertieRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
package org.esupportail.esupsignature.repository; | ||
|
||
import org.esupportail.esupsignature.entity.User; | ||
import org.esupportail.esupsignature.entity.UserPropertie; | ||
import org.esupportail.esupsignature.entity.WorkflowStep; | ||
import org.springframework.data.repository.CrudRepository; | ||
|
||
import java.util.List; | ||
|
||
public interface UserPropertieRepository extends CrudRepository<UserPropertie, Long> { | ||
List<UserPropertie> findByUserEppn(String userEppn); | ||
List<UserPropertie> findByWorkflowStep(WorkflowStep workflowStep); | ||
List<UserPropertie> findByUserEppnAndWorkflowStepId(String userEppn, Long workflowStepId); | ||
List<UserPropertie> findByUserAndWorkflowStepAndUsersIn(User user, WorkflowStep workflowStep, List<User> users); | ||
List<UserPropertie> findByUserAndTargetEmailAndWorkflowStep(User user, String targetEmail, WorkflowStep workflowStep); | ||
UserPropertie findByUserEppn(String userEppn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.