Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osw-web 0.7 add Chiness localization #8

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
84bd0bf
changes for commenting
lfaggioli Aug 24, 2010
f19a738
fix for displaying comments in the web console
lfaggioli Aug 30, 2010
95d6399
fix for displaying comments in the web console
lfaggioli Aug 30, 2010
934287a
limited the length of comment otherwise the gui hangs
lfaggioli Aug 31, 2010
7121952
increased comment length to 256 chars
lfaggioli Aug 31, 2010
a019d27
default OSW theme
lfaggioli Aug 31, 2010
bdcf20d
Merge remote branch 'lfaggioli/0.7' into 0.7
Sep 3, 2010
26e5b90
changes according the new AtomDomWriter
lfaggioli Sep 5, 2010
2c8ceea
small adjustments after merging with luca's repo
Sep 6, 2010
bac6235
more small adjustments
Sep 6, 2010
28d9f23
added a task to monitor status when posting a comment
Sep 8, 2010
f2c396c
handling of comments notifications improved. Seems to work across dif…
Sep 17, 2010
e0c774a
changed task bar messages for comments
Sep 20, 2010
bcfe36c
changes to use the in-memory model of the replies to update the UI up…
Sep 22, 2010
bd61f16
changes to refactor commenting
Oct 20, 2010
95568a1
initial pom
duck1123 Nov 4, 2010
234b25f
ignore target, semantic.cache, and WEB-INF/lib
duck1123 Sep 6, 2010
683ae08
move files into default locations for maven
duck1123 Nov 4, 2010
14c0609
remove osw-lib-java from list of dependencies
duck1123 Nov 9, 2010
5dc0dc6
update to the pom to reference the artifactory hosted at vodafonernd
Nov 15, 2010
72c1fcf
changes to support in-band registration
Nov 16, 2010
b0378b4
modified gitignore
Nov 16, 2010
a389c15
Merge branch 'commentingrefactor' into 0.7
Nov 16, 2010
6aacf54
adding French Local provided by Nicolas Derive
Nov 16, 2010
30e3b11
added corrections to the French Localization for single quotes which …
Nov 16, 2010
957e9e1
added Italian Localization provided by Luca Faggioli
Nov 16, 2010
f0b99bd
Added missing elements for Localization related to new features.
Nov 16, 2010
679ba67
add Chiness localization support
sevenearly Nov 21, 2010
ca260b5
add Chiness localization support
sevenearly Nov 21, 2010
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
Prev Previous commit
Next Next commit
fix for displaying comments in the web console
lfaggioli committed Aug 30, 2010
commit 95d639941fd5fe17cf87a68d939c92263adbcf43
Original file line number Diff line number Diff line change
@@ -18,9 +18,11 @@
*/
package org.onesocialweb.gwt.client.ui.widget.compose;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;

import org.onesocialweb.gwt.client.OswClient;
import org.onesocialweb.gwt.client.handler.PictureHandler;
@@ -251,8 +253,14 @@ private void postComment() {
entry.addAclRule(rule);
*/

//we assume that the comment should inherit the ACL Rules from the original message (parent message)
entry.setAclRules(parentActivity.getAclRules());
//TODO: we build the default ACL for now, but we need to fix this since
//comments cannot always be visible to Everyone
AclRule rule = service.getAclFactory().aclRule();
rule.addSubject(service.getAclFactory().aclSubject(null, AclSubject.EVERYONE));
rule.addAction(service.getAclFactory().aclAction(AclAction.ACTION_VIEW, AclAction.PERMISSION_GRANT));
List<AclRule> defaultRules = new ArrayList<AclRule>();
defaultRules.add(rule);
entry.setAclRules(defaultRules);

// we got everything we need -> clean up UI
reset();