[jira] [Commented] (JAMES-1823) quotaUpdater is invoked more than one time for a message addition or deletion

2016-09-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520031#comment-15520031
 ] 

ASF GitHub Bot commented on JAMES-1823:
---

GitHub user leepaul21 opened a pull request:

https://github.com/apache/james-project/pull/63

JAMES-1823 quotaUpdater is invoked more than one time for a message 
addition or deletion

I'm not sure if my solution is appropriate and on the right direction from 
the perspective of the system and its architecture because I don't fully 
understand it. My purpose in the patch is not to register the same listener 
duplicately in an instance of DefaultDelegatingMailboxListener. For this, I've 
added some code and data structure for checking duplication. If my solution 
isn't suitable for the whole system, you don't have to use it.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/leepaul21/james-project JAMES-1823

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/james-project/pull/63.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #63


commit 7b6fbadcdfcec9a872d3d19c6ca7060e1c7ac25e
Author: Dongho Lee 
Date:   2016-09-25T02:31:59Z

JAMES-1823 quotaUpdater is invoked more than one time for a message 
addition or deletion




> quotaUpdater is invoked more than one time for a message addition or deletion
> -
>
> Key: JAMES-1823
> URL: https://issues.apache.org/jira/browse/JAMES-1823
> Project: James Server
>  Issue Type: Bug
>  Components: MailStore & MailRepository
>Affects Versions: master
>Reporter: Paul Lee
> Fix For: master
>
> Attachments: DefaultDelegatingMailboxListener.java
>
>
> The following code snippet in 'init' method in 'StoreMailboxManager.java' is 
> executed multiple times such that the same quotaUpdater is registered as a 
> global listener more than once.
> if (quotaUpdater != null && quotaUpdater instanceof MailboxListener) {
> this.addGlobalListener((MailboxListener) quotaUpdater, null);
> }
> The above code is invoked multiple times by the below configuration in 
> 'spring-mailbox.xml'.
> 
> 
> The quota increase or decrease is currently being executed twice for each 
> message addition or deletion in our tests because the same quota updater is 
> registered twice by the above config. For example, if a message of 1MB is 
> appended to a mailbox, 'getCurrentStorage' method in 
> 'InMemoryCurrentQuotaManager.java' returns a size which is 2MBs larger than 
> before.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Website on GIT with gitpubsub

2016-09-24 Thread Eric Charles

Web site is now in GIT (trying to get it published with gitpubsub)

You can follow the progress on

https://issues.apache.org/jira/browse/INFRA-12204



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Re: Vote for James Logo

2016-09-24 Thread Eric Charles
To clarify, are you considering to launch a vote to choose between one 
of the 10 listed logos on the home page, or just getting approval on the 
last one?


To respect all our contributors, I would select all logos for which we 
have SVG source files as previously asked, and propose a vote to choose 
one of these.


On 16/09/16 13:48, Ioan Eugen Stan wrote:

Great, It looks nice.

I agree, we should make a decision and close the issue.

Thanks,


On 16.09.2016 11:57, Laura Royet wrote:

Hi everybody,

I have just proposed a new logo for the logo contest. It is up to date
with new Apache visual identity. I don’t know if anybody want to submit
another logo, the process is pending for some time now.
Could we just launch the vote now ?
Maybe we could include a « None of the above » choice to the vote to
make sure we don’t close this subject too fast and people that are not
satisfied by the situation could express their voice by this way ?

Thank youvery much for your involvement.

Regards,
Laura Royet



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Re: JAMES Acronym

2016-09-24 Thread Eric Charles

Yep, you got it.

We also considered some time ago moving from upper-case "JAMES" to "James".

No sure if we concluded with a consensus for this...

On 22/09/16 16:47, Laura Royet wrote:

Hi everyone,

I have finally found the answer in James website
(http://james.apache.org/server/archive/document_archive.html).
*JAMES* is the acronym for *Java Apache Mail Enterprise Server*.

Regards,

Laura


Le 19/09/2016 à 17:14, Laura Royet a écrit :

Hi everybody,

As I am currently working on the project of a marketing website for
James,
I am wondering if the name "*JAMES*" is an acronym for *JA*va *M*ail
*E*nterprise *S*erver ?

Thanks in advance for your help.

Regards,

laura







-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Re: Rename README.txt to README.md?

2016-09-24 Thread Eric Charles

Renaming is a good quick win.

Shall we write new documentation in markdown?

On 23/09/16 11:52, Matthieu Baechler wrote:

Thanks for the suggestion, it's some asciidoc actually, see
https://github.com/linagora/james-project/pull/416 .

The rendering is way better !


Regards,



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



james-project git commit: Ensure last logo-10 proposal is displayed on web site when clicked

2016-09-24 Thread eric
Repository: james-project
Updated Branches:
  refs/heads/master 3c8c176a0 -> 2bfe6ce59


Ensure last logo-10 proposal is displayed on web site when clicked


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/2bfe6ce5
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/2bfe6ce5
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/2bfe6ce5

Branch: refs/heads/master
Commit: 2bfe6ce593dbe4b6d0dee0d1c376405cd7f00a26
Parents: 3c8c176
Author: Eric Charles 
Authored: Sat Sep 24 10:23:40 2016 +0200
Committer: Eric Charles 
Committed: Sat Sep 24 10:23:40 2016 +0200

--
 src/site/resources/js/james/index.js | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/2bfe6ce5/src/site/resources/js/james/index.js
--
diff --git a/src/site/resources/js/james/index.js 
b/src/site/resources/js/james/index.js
index 4727e20..da302a7 100644
--- a/src/site/resources/js/james/index.js
+++ b/src/site/resources/js/james/index.js
@@ -75,6 +75,10 @@ function initIndexPage() {
 switchLogo('logo-call/james-logo-9.png');
 });
 
+$('#james-logo-10-preview').click(function() {
+switchLogo('logo-call/james-logo-10.png');
+});
+
 if (window.location.hash == '#logo') {
selectLogoTab();
 }


-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org