From 7227de059826409e71e16b6514c6c8f095023eeb Mon Sep 17 00:00:00 2001 From: Christian Corsano Date: Sun, 24 Feb 2008 18:46:33 +0000 Subject: [PATCH] Corrections travail en groupe --- .../WEB-INF/applicationContextAcegi.xml | 15 +- .../WEB-INF/classes/messages.properties | 3 + .../WebContent/WEB-INF/decorators/main.jsp | 6 +- .../WEB-INF/decorators/usermenu.jsp | 27 +-- .../WebContent/WEB-INF/jsp/addConference.jsp | 10 +- .../WebContent/WEB-INF/jsp/addConference2.jsp | 2 +- .../WebContent/WEB-INF/jsp/addConference3.jsp | 2 +- .../WebContent/WEB-INF/jsp/addConference4.jsp | 5 +- .../WebContent/WEB-INF/jsp/addConference5.jsp | 10 +- YACOSWeb/WebContent/WEB-INF/jsp/admin.jsp | 11 +- .../WEB-INF/jsp/delegateArticle.jsp | 15 +- .../WEB-INF/jsp/dispatchArticle.jsp | 16 +- .../WebContent/WEB-INF/jsp/listConference.jsp | 2 + YACOSWeb/WebContent/WEB-INF/jsp/loginFull.jsp | 2 +- YACOSWeb/WebContent/WEB-INF/jsp/main.jsp | 10 +- YACOSWeb/WebContent/WEB-INF/jsp/userBoard.jsp | 176 +++++++++--------- YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml | 6 +- .../WebContent/javascripts/yacos/admin.js | 57 ++++-- YACOSWeb/WebContent/login.jsp | 4 +- YACOSWeb/WebContent/stylesheets/base.css | 54 +++--- YACOSWeb/src/org/yacos/auth/UserDetails.java | 4 + .../controller/DelegateArticleController.java | 6 + .../controller/ListEvaluationController.java | 2 +- .../org/yacos/web/admin/AdminController.java | 54 +++++- .../org/yacos/web/admin/DWRPersonBean.java | 69 +++++++ .../controller/AddConferenceController.java | 9 +- .../SUserRegistrationController.java | 3 + .../web/system/session/SessionService.java | 19 ++ .../yacos/web/system/session/YACOSUtils.java | 30 +++ 29 files changed, 438 insertions(+), 191 deletions(-) create mode 100644 YACOSWeb/src/org/yacos/web/admin/DWRPersonBean.java diff --git a/YACOSWeb/WebContent/WEB-INF/applicationContextAcegi.xml b/YACOSWeb/WebContent/WEB-INF/applicationContextAcegi.xml index ed7047f..b0c4c59 100644 --- a/YACOSWeb/WebContent/WEB-INF/applicationContextAcegi.xml +++ b/YACOSWeb/WebContent/WEB-INF/applicationContextAcegi.xml @@ -103,23 +103,24 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem /secure/**=ROLE_ADMIN,ROLE_AUTHOR,ROLE_PCMEMBER /secure/**=IS_AUTHENTICATED_REMEMBERED /listarticle.htm=ROLE_CHAIRMAN - /managearticle.htm=ROLE_USER + /managearticle.htm=ROLE_AUTHOR /registeruser.htm=ROLE_ANONYMOUS,ROLE_USER /submissionarticle.htm=ROLE_USER /choosepreference.htm=ROLE_PCMEMBER - /dispatcharticlelist.htm=ROLE_PCMEMBER - /dispatcharticle.htm=ROLE_PCMEMBER + /conflictlist.htm=ROLE_CHAIRMAN + /dispatcharticle.htm=ROLE_CHAIRMAN + /delegatearticle.htm=ROLE_PCMEMBER /addconference.htm=ROLE_CHAIRMAN,ROLE_CONFERENCE_CREATOR /evaluation.htm=ROLE_PCMEMBER,ROLE_REFEREE /createreport.htm=ROLE_PCMEMBER,ROLE_REFEREE - /listconference.htm=ROLE_USER /validatearticle.htm=ROLE_CHAIRMAN /validateorreject.htm=ROLE_CHAIRMAN - /listevaluation.htm=ROLE_USER + /listevaluation.htm=ROLE_PCMEMBER,ROLE_REFEREE /download.htm=ROLE_USER - /deletearticle.htm=ROLE_AUTHOR,ROLE_CHAIRMAN,ROLE_ADMIN - /listreport.htm=ROLE_PCMEMBER,ROLE_REFEREE,ROLE_CHAIRMAN + /deletearticle.htm=ROLE_AUTHOR + /listreport.htm=ROLE_USER /detailarticle.htm=ROLE_USER + /admin.htm=ROLE_ADMIN /**=IS_AUTHENTICATED_ANONYMOUSLY diff --git a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties index 7a258d9..bd1a53d 100644 --- a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties +++ b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties @@ -18,9 +18,11 @@ home.referee=I am a program committee member. How Yacos can help me ? home.referee.txt=If you are the chairman, a PC member or simply a referee, thanks to yacos you can follow articles posted by authors.
As chairman, you can dispatch articles to your members for review and rating, manage your conference, the deadlines...
As the PC member or referee, you can review an article, post your comments and rate it, express your preference toward the submitted articles,... home.youknow=So now you know... home.link.choose=Choose one conference +home.link.userBoard=Go to your dashboard connected.noconference.title=No conference selected connected.noconference.warning=You must choose a conference to access all your features : +connected.noconference.warning=Or you can see a recap of your current involvement in the conferences available in the system : article.post.noconference=You must choose a conference before post or edit an article. conference.detail.description=Description @@ -207,6 +209,7 @@ dispatch.title=Dispatch the articles to the members # Conference Form step=Step ({0}/{1}) +conference.remainingTokens=You have {0} tokens left to create new conferences.
\n You can ask to the admin if you need more. conference.help.step1= conference.help.step2=This step is used to define some dates like the starting date for the conference.
\nYou just have to click on a field and the calendar will appear. conference.help.step3=Here you can add some constraints at your conference like the number of pages by articles or the type of file you want the authors to use. diff --git a/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp b/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp index 9bf0edf..a195a9a 100644 --- a/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp +++ b/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp @@ -6,7 +6,7 @@ - + <fmt:message key="title" /> @@ -14,7 +14,7 @@ diff --git a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp index 9bf1c58..2e7e55f 100644 --- a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp +++ b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp @@ -15,20 +15,21 @@ -