Bow-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 617 discussions
18 Feb '14
See <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/3/>
------------------------------------------
[...truncated 586 lines...]
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/i18n/nuiton-i18…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-digester/commons-d…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-io/commons-io/2.1/…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/jaxen/jaxen/1.1.1/jaxen-1.…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/commons-io/commons-io/2.1/… (160 KB at 2529.0 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/nuiton-utils/2.…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/eugene/eugene/2… (207 KB at 2295.0 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/maven-helper-pl…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/i18n/nuiton-i18… (62 KB at 656.8 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/commons-digester/commons-d… (146 KB at 1357.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/jaxen/jaxen/1.1.1/jaxen-1.… (222 KB at 1617.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/nuiton-utils/2.… (266 KB at 3318.1 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/maven-helper-pl… (115 KB at 530.0 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/eugene/eugene/2.4.2/eugene-2…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/i18n/nuiton-i18n/2.3.2/nuito…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-digester/commons-digester/2.0/c…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-io/commons-io/2.1/commons-io-2.…
[INFO] Downloading: http://repo.maven.apache.org/maven2/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/nuiton/i18n/nuiton-i18n/2.3.2/nuito… (62 KB at 869.6 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/2.3/nuiton-util…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/commons-digester/commons-digester/2.0/c… (146 KB at 1614.4 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/maven-helper-plugin/1.3/mave…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar (222 KB at 1846.6 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/2.3/nuiton-util… (266 KB at 2823.9 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/commons-io/commons-io/2.1/commons-io-2.… (160 KB at 525.8 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/nuiton/eugene/eugene/2.4.2/eugene-2… (207 KB at 402.6 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/nuiton/maven-helper-plugin/1.3/mave… (115 KB at 17.6 KB/sec)
[INFO] Process phase [zargo] for one entry.
[INFO] Expanding 1 xmi file(s) from <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/src/main/…>
[INFO] Will generate <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…>
[INFO] Generate one file in 54.684ms.
[INFO] Process phase [xmi] for one entry.
[INFO] Processing XSL tranformation on <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…> for 1 file(s).
[INFO] Will generate <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…>
INFO [pool-1-thread-1 for channel] (Resource.java:296) getURLs - search URLs pattern: .*/default-uml14.xmi in 70 urls in 868.511ms
INFO [pool-1-thread-1 for channel] (Resource.java:296) getURLs - search URLs pattern: .*/default-java.xmi in 70 urls in 507.645ms
[INFO] Generate one file in 2.192s.
[INFO] Process phase [model] for 2 entries.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyAccessStat.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyAuthorisation.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyGroup.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyI18n.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyLabel.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyToken.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyTreeNode.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
WARN [pool-1-thread-1 for channel] (ObjectModelReader.java:473) loadTagValue - Invalid tag value [org.nuiton.wikitty.entities.WikittyUser.class.tagvalue.version] : this tagvalue 'version' can not be apply on the given type 'class'.
INFO [pool-1-thread-1 for channel] (ObjectModelReader.java:274) loadModelProperties - 8 tag values were succesfull imported from <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ex…>
[INFO] Apply generator WikittyMetaTransformer
WARN [pool-1-thread-1 for channel] (WikittyMetaTransformer.java:89) validateModel - org.nuiton.wikitty.entities.void misses a "version" tagValue
WARN [pool-1-thread-1 for channel] (WikittyMetaTransformer.java:89) validateModel - org.chorem.bow.BowSearchPrefix misses a "version" tagValue
WARN [pool-1-thread-1 for channel] (WikittyMetaTransformer.java:89) validateModel - org.nuiton.wikitty.entities.WikittyHook misses a "version" tagValue
WARN [pool-1-thread-1 for channel] (WikittyMetaTransformer.java:89) validateModel - org.chorem.bow.Binary misses a "version" tagValue
WARN [pool-1-thread-1 for channel] (WikittyMetaTransformer.java:89) validateModel - org.nuiton.wikitty.entities.Wikitty misses a "version" tagValue
INFO [pool-1-thread-1 for channel] (WikittyContractGenerator.java:76) transformFromModel - 17 classes to process
WARN [pool-1-thread-1 for channel] (WikittyAbstractGenerator.java:270) addConstants - no version specified in model for org.chorem.bow.BowSearchPrefix using 1.0
WARN [pool-1-thread-1 for channel] (WikittyAbstractGenerator.java:270) addConstants - no version specified in model for org.nuiton.wikitty.entities.WikittyHook using 1.0
INFO [pool-1-thread-1 for channel] (WikittyImplementationGenerator.java:93) isGenerateImpl - Will not generate [org.nuiton.wikitty.entities.WikittyI18nImpl], there is some operations to manually implement
[INFO] Generate 20 files in 339.166ms.
[INFO] Add compile source root : <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…>
[INFO] Add resource root :Resource {targetPath: null, filtering: false, FileSet {directory: <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…,> PatternSet [includes: {}, excludes: {**/*.java}]}}
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy (copy) @ bow-ui ---
[INFO] Configured Artifact: org.chorem:bow-extension-chromium:1.3-SNAPSHOT:crx
[INFO] Copying bow-extension-chromium-1.3-SNAPSHOT.crx to <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/bo…>
[INFO]
[INFO] --- license-maven-plugin:1.5:update-project-license (attach-licenses) @ bow-ui ---
[INFO] Will create or update license file [agpl_v3] to <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/LICENSE.t…>
[INFO]
[INFO] --- license-maven-plugin:1.5:add-third-party (attach-licenses) @ bow-ui ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/gnu/caj…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/gnu/cajo/cajo/1.168/cajo-1…
[INFO] Downloading: http://repo.maven.apache.org/maven2/gnu/cajo/cajo/1.168/cajo-1.168.pom
[INFO] Load missing file <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/src/licen…>
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/asm/asm…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/asm/asm/3.1/asm-3.1-third-…
[INFO] Downloading: http://repo.maven.apache.org/maven2/asm/asm/3.1/asm-3.1-third-party.propert…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/asm/asm…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/asm/asm-commons/3.1/asm-co…
[INFO] Downloading: http://repo.maven.apache.org/maven2/asm/asm-commons/3.1/asm-commons-3.1-thi…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/com/goo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/com/google/guava/guava/14.…
[INFO] Downloading: http://repo.maven.apache.org/maven2/com/google/guava/guava/14.0.1/guava-14.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/com/h2d…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/com/h2database/h2/1.2.134/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/com/h2database/h2/1.2.134/h2-1.2.134-th…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/com/jge…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/com/jgeppert/struts2/jquer…
[INFO] Downloading: http://repo.maven.apache.org/maven2/com/jgeppert/struts2/jquery/struts2-jqu…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/commons…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-beanutils/commons-…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-beanutils/commons-beanutils/1.8…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/commons…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-codec/commons-code…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.8/commons…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/commons…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-fileupload/commons…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-fileupload/commons-fileupload/1…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/commons…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/commons-jxpath/commons-jxp…
[INFO] Downloading: http://repo.maven.apache.org/maven2/commons-jxpath/commons-jxpath/1.3/commo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/javassi…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/javassist/javassist/3.12.1…
[INFO] Downloading: http://repo.maven.apache.org/maven2/javassist/javassist/3.12.1.GA/javassist…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/javax/a…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/javax/activation/activatio…
[INFO] Downloading: http://repo.maven.apache.org/maven2/javax/activation/activation/1.1/activat…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/javax/m…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/javax/mail/mail/1.4.3/mail…
[INFO] Downloading: http://repo.maven.apache.org/maven2/javax/mail/mail/1.4.3/mail-1.4.3-third-…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/javax/s…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/javax/servlet/jsp-api/2.0/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/javax/servlet/jsp-api/2.0/jsp-api-2.0-t…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/javax/s…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/javax/servlet/servlet-api/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.5/servlet-a…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/ognl/og…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/ognl/ognl/3.0.1/ognl-3.0.1…
[INFO] Downloading: http://repo.maven.apache.org/maven2/ognl/ognl/3.0.1/ognl-3.0.1-third-party.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/opensym…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/opensymphony/sitemesh/2.4.…
[INFO] Downloading: http://repo.maven.apache.org/maven2/opensymphony/sitemesh/2.4.2/sitemesh-2.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/commons/commons…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.1/co…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/commons/commons…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-vfs2/2.0/com…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/httpcomponents/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/httpcomponents/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.3/…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/httpcomponents/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpmime/4.2.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/struts/struts2-…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/struts/struts2-config-browse…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/struts/struts2-…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/struts/struts2-core/2.2.3/st…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/struts/struts2-…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/struts/struts2-sitemesh-plug…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/struts/xwork/xw…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/struts/xwork/xwork-core/2.2.…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/velocity/veloci…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.5/veloci…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/apache/zookeeper/zooke…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/zookeeper/zookeeper/3.4.5/zo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/fre…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/freemarker/freemarker/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/freemarker/freemarker/2.3.16/freema…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/htm…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/htmlparser/htmlparser/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/htmlparser/htmlparser/1.6/htmlparse…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jbo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jboss/jboss-transactio…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/jboss-transaction-spi/7.0.0.C…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jbo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jboss/jbossts/jbossjta…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/jbossts/jbossjta/4.16.2.Final…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jbo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jboss/logging/jboss-lo…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.0.C…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jbo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jboss/logmanager/jboss…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/logmanager/jboss-logmanager/1…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jbo…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jboss/ws/jbossws-api/1…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/ws/jbossws-api/1.0.0.CR1/jbos…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/jso…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/jsoup/jsoup/1.7.2/jsou…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jsoup/jsoup/1.7.2/jsoup-1.7.2-third…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui… (929 B at 8.3 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/nuiton-utils/2.…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/nuiton-utils/2.… (929 B at 13.1 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/2.6.9/nuiton-ut…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/nuiton/nuiton-utils/2.6.9/nuiton-ut… (929 B at 3.8 KB/sec)
[INFO] Detects third party descriptor /var/local/forge/data/chorem.org/maven/repository/org/nuiton/nuiton-utils/2.6.9/nuiton-utils-2.6.9-third-party.properties
[INFO] Load missing file /var/local/forge/data/chorem.org/maven/repository/org/nuiton/nuiton-utils/2.6.9/nuiton-utils-2.6.9-third-party.properties
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/i18n/nuiton-i18…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/i18n/nuiton-i18n/2.3.1/nuito…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/web/nuiton-stru…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/web/nuiton-struts2/1.3/nuito…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty… (2 KB at 6.5 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/wikitty/wikitty-api/3.10/wik…
[INFO] Detects third party descriptor /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-api/3.10/wikitty-api-3.10-third-party.properties
[INFO] Load missing file /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-api/3.10/wikitty-api-3.10-third-party.properties
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty… (2 KB at 6.3 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/wikitty/wikitty-generators/3…
[INFO] Detects third party descriptor /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-generators/3.10/wikitty-generators-3.10-third-party.properties
[INFO] Load missing file /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-generators/3.10/wikitty-generators-3.10-third-party.properties
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty… (2 KB at 19.9 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/wikitty/wikitty-jdbc/3.10/wi…
[INFO] Detects third party descriptor /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-jdbc/3.10/wikitty-jdbc-3.10-third-party.properties
[INFO] Load missing file /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-jdbc/3.10/wikitty-jdbc-3.10-third-party.properties
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/nui…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/bow/org/nuiton/wikitty/wikitty… (2 KB at 6.3 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/nuiton/wikitty/wikitty-solr/3.10/wi…
[INFO] Detects third party descriptor /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-solr/3.10/wikitty-solr-3.10-third-party.properties
[INFO] Load missing file /var/local/forge/data/chorem.org/maven/repository/org/nuiton/wikitty/wikitty-solr/3.10/wikitty-solr-3.10-third-party.properties
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/par…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/parboiled/parboiled-co…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/parboiled/parboiled-core/1.0.2/parb…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/par…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/parboiled/parboiled-ja…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/parboiled/parboiled-java/1.0.2/parb…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/pos…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/postgresql/postgresql/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/postgresql/postgresql/9.2-1003-jdbc…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/slf…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/slf4j/jcl-over-slf4j/1…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/slf…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/slf4j/slf4j-api/1.6.1/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/slf…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/org/slf4j/slf4j-log4j12/1.…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/oro/oro…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/oro/oro/2.0.8/oro-2.0.8-th…
[INFO] Downloading: http://repo.maven.apache.org/maven2/oro/oro/2.0.8/oro-2.0.8-third-party.pro…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/xpp3/xp…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/xpp3/xpp3/1.1.4c/xpp3-1.1.…
[INFO] Downloading: http://repo.maven.apache.org/maven2/xpp3/xpp3/1.1.4c/xpp3-1.1.4c-third-part…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/xpp3/xp…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/bow/xpp3/xpp3_min/1.1.3.4.O/xp…
[INFO] Downloading: http://repo.maven.apache.org/maven2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.…
[INFO] Missing file <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/src/licen…> is up-to-date.
[WARNING] There is 1 dependencies with no license :
[WARNING] - gnu.cajo--cajo--1.168
[INFO] Writing third-party file to <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/target/ge…>
[INFO] Regenerate missing license file <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow-ui/ws/src/licen…>
[JENKINS] Archiving disabled
1
2
Author: tchemit
Date: 2014-02-18 11:44:14 +0100 (Tue, 18 Feb 2014)
New Revision: 370
Url: http://chorem.org/projects/bow/repository/revisions/370
Log:
make project release aware
Modified:
trunk/bow-ui/pom.xml
trunk/bow-ui/src/license/THIRD-PARTY.properties
Modified: trunk/bow-ui/pom.xml
===================================================================
--- trunk/bow-ui/pom.xml 2013-09-27 10:23:29 UTC (rev 369)
+++ trunk/bow-ui/pom.xml 2014-02-18 10:44:14 UTC (rev 370)
@@ -89,6 +89,11 @@
</dependency>
<dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.htmlparser</groupId>
<artifactId>htmlparser</artifactId>
</dependency>
Modified: trunk/bow-ui/src/license/THIRD-PARTY.properties
===================================================================
--- trunk/bow-ui/src/license/THIRD-PARTY.properties 2013-09-27 10:23:29 UTC (rev 369)
+++ trunk/bow-ui/src/license/THIRD-PARTY.properties 2014-02-18 10:44:14 UTC (rev 370)
@@ -24,16 +24,18 @@
# - The Apache Software License, Version 1.1
# - The Apache Software License, Version 2.0
# - The H2 License, Version 1.0
+# - The MIT License
# - http://asm.ow2.org/license.html
#-------------------------------------------------------------------------------
# Please fill the missing licenses for dependencies :
#
#
-#Tue Sep 24 20:10:26 CEST 2013
+#Tue Feb 18 11:37:07 CET 2014
asm--asm--3.1=http\://asm.ow2.org/license.html
asm--asm-commons--3.1=http\://asm.ow2.org/license.html
commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0
concurrent--concurrent--1.0=TECHNOLOGY LICENSE FROM SUN MICROSYSTEMS, INC.
+gnu.cajo--cajo--1.168=Lesser General Public License (LPGL)
javax.servlet--jsp-api--2.0=Common Development and Distribution License (CDDL) v1.0
javax.servlet--servlet-api--2.5=Common Development and Distribution License (CDDL) v1.0
javax.transaction--jta--1.1=COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) v1.0
1
0
16 Feb '14
See <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow/1/>
------------------------------------------
<===[JENKINS REMOTING CAPACITY]===> channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -DperformRelease
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] bow
[INFO] BOW :: Chromium extension
[INFO] BOW UI
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bow 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bow ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ bow ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ bow ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ bow ---
[INFO] Exporting server [redmine-chorem.org] username in ${redmine.username}
[INFO] Exporting server [redmine-chorem.org] privateKey in ${redmine.apiKey}
[INFO]
[INFO] --- license-maven-plugin:1.5:update-project-license (attach-licenses) @ bow ---
[INFO] Will create or update license file [agpl_v3] to <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow/ws/LICENSE.txt>
[INFO]
[INFO] --- license-maven-plugin:1.5:add-third-party (attach-licenses) @ bow ---
[WARNING] The goal is skip due to packaging 'pom'
[INFO]
[INFO] --- license-maven-plugin:1.5:update-file-header (update-file-header) @ bow ---
[INFO] Will search files to update from root <http://ci.chorem.org/jenkins/job/bow-nightly/org.chorem$bow/ws/src>
[INFO] Scan 13 files header done in 33.962ms.
[INFO] All files are up-to-date.
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ bow ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) @ bow ---
[JENKINS] Archiving disabled
1
2
27 Sep '13
Author: bpoussin
Date: 2013-09-27 12:23:29 +0200 (Fri, 27 Sep 2013)
New Revision: 369
Url: http://chorem.org/projects/bow/repository/revisions/369
Log:
- enhance favicon download
- don't try to take screenshot if not configured
Modified:
trunk/bow-ui/pom.xml
trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java
Modified: trunk/bow-ui/pom.xml
===================================================================
--- trunk/bow-ui/pom.xml 2013-09-26 18:18:46 UTC (rev 368)
+++ trunk/bow-ui/pom.xml 2013-09-27 10:23:29 UTC (rev 369)
@@ -179,12 +179,19 @@
<version>4.3</version>
</dependency>
+ <!-- used to call screenshot service and to get suggestion from search engine -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3</version>
</dependency>
-
+
+ <!-- used to parse html and extract favicon url -->
+ <dependency>
+ <groupId>org.jsoup</groupId>
+ <artifactId>jsoup</artifactId>
+ <version>1.7.2</version>
+ </dependency>
</dependencies>
<build>
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java 2013-09-26 18:18:46 UTC (rev 368)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java 2013-09-27 10:23:29 UTC (rev 369)
@@ -40,6 +40,8 @@
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
+import org.jsoup.Jsoup;
+import org.jsoup.nodes.Document;
import org.nuiton.wikitty.entities.Element;
import org.nuiton.wikitty.query.WikittyQuery;
import org.nuiton.wikitty.query.WikittyQueryMaker;
@@ -218,9 +220,11 @@
byte[] result = null;
try {
String ssu = BowConfig.getScreenshotURL();
- url = URLEncoder.encode(url, "UTF-8");
- String imageUrl = String.format(ssu, url);
- result = getImage(imageUrl);
+ if (StringUtils.isNotBlank(ssu)) {
+ url = URLEncoder.encode(url, "UTF-8");
+ String imageUrl = String.format(ssu, url);
+ result = getImage(imageUrl);
+ }
} catch (Exception eee) {
log.info("Can't encode URL: " + url, eee);
}
@@ -235,9 +239,22 @@
public static byte[] getFavicon(String urlString) {
byte[] result = null;
try {
- URL url = new URI(urlString).toURL();
- URL favURL = new URL(url.getProtocol(), url.getHost(), url.getPort(), "/favicon.ico");
- result = getImage(favURL.toExternalForm());
+ String favicon = null;
+
+ // on commence par rechercher le favicon specifie dans le head
+ Document doc = Jsoup.connect(urlString).get();
+ org.jsoup.nodes.Element link = doc.head().select("link[rel~=(shortcut icon|icon)]").first();
+ if (link != null) {
+ favicon = link.attr("abs:href");
+ }
+
+ // si rien n'est specifie dans le head, on recherche un /favicon.ico
+ if (favicon == null) {
+ URL url = new URI(urlString).toURL();
+ URL favURL = new URL(url.getProtocol(), url.getHost(), url.getPort(), "/favicon.ico");
+ favicon = favURL.toExternalForm();
+ }
+ result = getImage(favicon);
return result;
} catch (Exception eee) {
log.info("Can't parse URL: " + urlString, eee);
1
0
r368 - in trunk/bow-ui/src/main: java/org/chorem/bow java/org/chorem/bow/action/bookmark java/org/chorem/bow/action/preference resources resources/i18n webapp/WEB-INF/jsp webapp/WEB-INF/jsp/inc webapp/css webapp/img xmi
by bpoussin@users.chorem.org 26 Sep '13
by bpoussin@users.chorem.org 26 Sep '13
26 Sep '13
Author: bpoussin
Date: 2013-09-26 20:18:46 +0200 (Thu, 26 Sep 2013)
New Revision: 368
Url: http://chorem.org/projects/bow/repository/revisions/368
Log:
fixes #360: Check if the alias is correct
fixes #470: Take screenshot of bookmarked web page and use it as icon for bookmark
Added:
trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/ScreenshotAction.java
trunk/bow-ui/src/main/webapp/img/camera.png
Modified:
trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java
trunk/bow-ui/src/main/java/org/chorem/bow/BowConfig.java
trunk/bow-ui/src/main/java/org/chorem/bow/BowConfigOption.java
trunk/bow-ui/src/main/java/org/chorem/bow/BowUtils.java
trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/AddOrUpdateAction.java
trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/PreferenceBaseAction.java
trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/UpdateSiteAction.java
trunk/bow-ui/src/main/resources/i18n/bow-ui_en_GB.properties
trunk/bow-ui/src/main/resources/i18n/bow-ui_fr_FR.properties
trunk/bow-ui/src/main/resources/struts.xml
trunk/bow-ui/src/main/webapp/WEB-INF/jsp/home.jsp
trunk/bow-ui/src/main/webapp/WEB-INF/jsp/inc/bookmark.jsp
trunk/bow-ui/src/main/webapp/WEB-INF/jsp/preferences.jsp
trunk/bow-ui/src/main/webapp/css/bookmark.css
trunk/bow-ui/src/main/xmi/bow-model.zargo
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/BookmarkUtils.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -23,6 +23,9 @@
*/
package org.chorem.bow;
+import java.net.URI;
+import java.net.URL;
+import java.net.URLEncoder;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -30,6 +33,13 @@
import java.util.Date;
import java.util.Set;
+import org.apache.commons.io.IOUtils;
+import org.apache.http.HttpEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpGet;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.util.EntityUtils;
import org.nuiton.wikitty.entities.Element;
import org.nuiton.wikitty.query.WikittyQuery;
import org.nuiton.wikitty.query.WikittyQueryMaker;
@@ -199,4 +209,62 @@
return "";
}
+ /**
+ * retourne l'image du site passer en parametre
+ * @param url
+ * @return
+ */
+ public static byte[] getScreenshot(String url) {
+ byte[] result = null;
+ try {
+ String ssu = BowConfig.getScreenshotURL();
+ url = URLEncoder.encode(url, "UTF-8");
+ String imageUrl = String.format(ssu, url);
+ result = getImage(imageUrl);
+ } catch (Exception eee) {
+ log.info("Can't encode URL: " + url, eee);
+ }
+ return result;
+ }
+
+ /**
+ * retourne le favicon du site passe en parametre
+ * @param urlString
+ * @return
+ */
+ public static byte[] getFavicon(String urlString) {
+ byte[] result = null;
+ try {
+ URL url = new URI(urlString).toURL();
+ URL favURL = new URL(url.getProtocol(), url.getHost(), url.getPort(), "/favicon.ico");
+ result = getImage(favURL.toExternalForm());
+ return result;
+ } catch (Exception eee) {
+ log.info("Can't parse URL: " + urlString, eee);
+ }
+ return result;
+ }
+
+ protected static byte[] getImage(String url) {
+ byte[] result = null;
+ try {
+ log.debug("try to connect get image : " + url);
+
+ CloseableHttpClient httpclient = HttpClients.createDefault();
+ HttpGet httpGet = new HttpGet(url);
+ CloseableHttpResponse response = httpclient.execute(httpGet);
+
+ try {
+ HttpEntity entity = response.getEntity();
+ result = IOUtils.toByteArray(entity.getContent());
+ // ensure it is fully consumed
+ EntityUtils.consume(entity);
+ } finally {
+ response.close();
+ }
+ } catch (Exception eee) {
+ log.info("Can't get result for url: " + url, eee);
+ }
+ return result;
+ }
}
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/BowConfig.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/BowConfig.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/BowConfig.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -145,6 +145,28 @@
}
/**
+ * Get bow screenshot url server as string.
+ * Default bow applicationConfig will be used
+ *
+ * @return screenshot url
+ * @since 1.3
+ */
+ public static String getScreenshotURL() {
+ return getScreenshotURL(getConfig());
+ }
+
+ /**
+ * Get bow screenshot url server as string.
+ *
+ * @param config bow configuration
+ * @return screenshot url
+ * @since 1.3
+ */
+ public static String getScreenshotURL(ApplicationConfig config) {
+ return config.getOption(BowConfigOption.BOW_SCREENSHOT_URL.key);
+ }
+
+ /**
* Get bow smtp server as string.
* Default bow applicationConfig will be used
*
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/BowConfigOption.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/BowConfigOption.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/BowConfigOption.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -47,6 +47,10 @@
"alias.url",
_("bow.config.alias.url.description"),
"alias/", String.class, false, false),
+ BOW_SCREENSHOT_URL(
+ "bow.screenshot.url",
+ _("bow.config.bow.screenshot.url.description"),
+ "http://screenshotweb.codelutin.com/screenshotweb.cgi?URL=%s&FILENAME=screen…", String.class, false, false),
BOW_SMTPSERVER(
"bow.smtpServer",
_("bow.config.bow.smtpServer.description"),
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/BowUtils.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/BowUtils.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/BowUtils.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -33,6 +33,7 @@
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
+import org.apache.commons.codec.binary.Base64;
import org.nuiton.wikitty.query.WikittyQuery;
import org.nuiton.wikitty.query.WikittyQueryMaker;
@@ -40,9 +41,16 @@
public static final String BOW_DATE_SHORT_PATTERN = "yyyy/MM/dd";
- private BowUtils() {
+ /**
+ * public to use easily in jsp
+ */
+ public BowUtils() {
}
+ public static String toBase64(byte[] b) {
+ return Base64.encodeBase64String(b);
+ }
+
/**
* Retourne toujours une date valide. Si date est null, on prend la date
* du jour
@@ -66,8 +74,7 @@
* @return empty string or string without blank at begin and end
*/
public static String normalizeString(String s) {
- String result = StringUtils.defaultIfBlank(s, "");
- result = result.trim();
+ String result = StringUtils.trimToEmpty(s);
return result;
}
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/AddOrUpdateAction.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/AddOrUpdateAction.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/AddOrUpdateAction.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -23,11 +23,13 @@
*/
package org.chorem.bow.action.bookmark;
+import java.util.Date;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.chorem.bow.BookmarkUtils;
import org.chorem.bow.BowBookmark;
+import org.chorem.bow.BowBookmarkImpl;
import org.chorem.bow.BowProxy;
import org.chorem.bow.BowUser;
import org.chorem.bow.BowUtils;
@@ -135,115 +137,245 @@
return redirectTo;
}
+// @Override
+// public String execute() {
+// String result = SUCCESS;
+// try {
+// BowProxy proxy = getBowProxy();
+// BowBookmark bookmark = null;
+// BowBookmark bookmarkToModify = null;
+//
+// BowUser user = getBowSession().getUser();
+// String userId = user.getWikittyId();
+// if (StringUtils.isNotBlank(bookmarkId)) {
+// bookmarkToModify = proxy.restore(BowBookmark.class, bookmarkId);
+// }
+// if (log.isDebugEnabled()) {
+// log.debug("Change old wikitty: " + bookmarkToModify);
+// }
+//
+// // gere le cas d'une mise a jour ou d'un ajout via le formulaire
+// if (name != null) {
+// // Si l'alias prive souhaite est deja utilise on ne l'accept pas
+// // Si l'alias public souhaite est deja utilise on ne l'accept pas
+// // TODO sletellier 20110416 : return error message when public or private alias is already used
+// WikittyQuery privateAliasCriteria = null;
+// WikittyQuery publicAliasCriteria = null;
+// if (StringUtils.isNotEmpty(privateAlias)) {
+// privateAliasCriteria = new WikittyQueryMaker().and()
+// .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PRIVATEALIAS, privateAlias)
+// .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
+// .end().setLimit(0);
+// }
+// if (StringUtils.isNotEmpty(publicAlias)) {
+// publicAliasCriteria = new WikittyQueryMaker()
+// .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PUBLICALIAS, publicAlias)
+// .end().setLimit(0);
+// }
+// WikittyQueryResult<String>[] aliasResult = proxy.findAllByQuery(
+// privateAliasCriteria, publicAliasCriteria);
+//
+// if (aliasResult[0] != null && aliasResult[0].getTotalResult() > 0) {
+// if (bookmarkToModify == null) {
+// privateAlias = "";
+// } else {
+// privateAlias = bookmarkToModify.getPrivateAlias();
+// }
+// }
+// if (aliasResult[1] != null && aliasResult[1].getTotalResult() > 0) {
+// if (bookmarkToModify == null) {
+// publicAlias = "";
+// } else {
+// publicAlias = bookmarkToModify.getPublicAlias();
+// }
+// }
+//
+// if (bookmarkToModify == null) {
+// bookmark = BookmarkUtils.createBookmark(
+// link, name, tags, user, privateAlias, publicAlias, null);
+// } else {
+// BookmarkUtils.updateBookmark(
+// bookmarkToModify, name, link, tags, privateAlias, publicAlias);
+// }
+// } else { //This part is for the bookmark addition by script
+// if (nameAndTags != null) {
+// bookmark = BookmarkUtils.createBookmark(link, nameAndTags, user);
+// }
+// }
+// // si on a reussi a creer le bookmark, on regarde s'il ne faut pas
+// // le fusionner avec un deja existant
+// if (bookmark != null && !bookmark.getDescription().isEmpty()
+// && !bookmark.getOwner().isEmpty()) {
+//
+// // looking for already bookmark with same url, to fusion them
+// String link = bookmark.getLink();
+// WikittyQuery criteria = new WikittyQueryMaker().and()
+// .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_LINK, link)
+// .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
+// .end();
+// BowBookmark oldBookmark =
+// proxy.findByQuery(BowBookmark.class, criteria);
+// if (oldBookmark != null) {
+// // fusionne les descriptions et les tags
+// // par contre on prend le dernier privateAlias prive choisi par
+// // l'utilisateur s'il y en a un
+// String description = oldBookmark.getDescription();
+// if (!StringUtils.isEmpty(bookmark.getDescription())) {
+// description += "\n";
+// description += BowUtils.formatDate(
+// bookmark.getCreationDate()) + ": ";
+// description += bookmark.getDescription();
+// }
+//
+// oldBookmark.setDescription(description);
+// oldBookmark.addAllLabels(bookmark.getLabels());
+// String privateAlias = bookmark.getPrivateAlias();
+// if (!StringUtils.isEmpty(privateAlias)) {
+// oldBookmark.setPrivateAlias(privateAlias);
+// }
+//
+// bookmark = oldBookmark;
+// }
+//
+// }
+//
+// if (bookmark != null || bookmarkToModify != null) {
+// proxy.store(bookmark, bookmarkToModify); //Stores the bookmark if everything is ok
+// addActionMessage(_("bow.bookmark.add.successful"));
+// if (log.isDebugEnabled()) {
+// log.debug("Adding URL");
+// }
+// }
+// redirectTo = BowUtils.redirectTo(tagLine, fullTextLine);
+// } catch (Exception eee) {
+// result = ERROR;
+// addActionError(_("bow.error.internal"));
+// log.error(eee.getMessage(), eee);
+// }
+// return result;
+// }
+
@Override
public String execute() {
String result = SUCCESS;
try {
BowProxy proxy = getBowProxy();
BowBookmark bookmark = null;
- BowBookmark bookmarkToModify = null;
+ // gere le cas d'une mise a jour ou d'un ajout via le formulaire
+ if (name == null) {
+ // on est dans le cas ou l'ajout a ete fait par le scriptlet qui
+ // utilise une seul chaine pour name et tags, on decoupe
+ // et on continue normalement
+ nameAndTags = StringUtils.trimToEmpty(nameAndTags);
+ name = StringUtils.substringBeforeLast(nameAndTags, "|");
+ tags = StringUtils.substringAfterLast(nameAndTags, "|");
+ }
+
+
+ // on met toutes les valeurs dans le bon format
+ name = BowUtils.normalizeString(name);
+ link = BowUtils.normalizeUrl(link);
+ tags = BowUtils.normalizeString(tags);
+ privateAlias = BowUtils.normalizeString(privateAlias);
+ publicAlias = BowUtils.normalizeString(publicAlias);
+
+
BowUser user = getBowSession().getUser();
String userId = user.getWikittyId();
if (StringUtils.isNotBlank(bookmarkId)) {
- bookmarkToModify = proxy.restore(BowBookmark.class, bookmarkId);
- }
- if (log.isDebugEnabled()) {
- log.debug("Change old wikitty: " + bookmarkToModify);
- }
-
- // gere le cas d'une mise a jour ou d'un ajout via le formulaire
- if (name != null) {
- // Si l'alias prive souhaite est deja utilise on ne l'accept pas
- // Si l'alias public souhaite est deja utilise on ne l'accept pas
- // TODO sletellier 20110416 : return error message when public or private alias is already used
- WikittyQuery privateAliasCriteria = null;
- WikittyQuery publicAliasCriteria = null;
- if (StringUtils.isNotEmpty(privateAlias)) {
- privateAliasCriteria = new WikittyQueryMaker().and()
- .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PRIVATEALIAS, privateAlias)
- .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
- .end().setLimit(0);
+ // on modifie un bookmark existant et on a deja son id
+ bookmark = proxy.restore(BowBookmark.class, bookmarkId);
+ if (log.isDebugEnabled()) {
+ log.debug("Change old wikitty: " + bookmark);
}
- if (StringUtils.isNotEmpty(publicAlias)) {
- publicAliasCriteria = new WikittyQueryMaker()
- .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PUBLICALIAS, publicAlias)
- .end().setLimit(0);
+ } else {
+ WikittyQuery criteria = new WikittyQueryMaker().and()
+ .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_LINK, link)
+ .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
+ .end();
+ bookmark =
+ proxy.findByQuery(BowBookmark.class, criteria);
+ if (bookmark != null) {
+ // on modifie le bookmark qui a la meme url que celle a ajouter
+ // on fusionne les descriptions
+ String description = bookmark.getDescription();
+ name = description +"\n"
+ + BowUtils.formatDate(new Date()) + ": " + name;
+ // on fusionne les tags
+ tags += " " + BookmarkUtils.getBookmarkTagsString(bookmark);
}
- WikittyQueryResult<String>[] aliasResult = proxy.findAllByQuery(
- privateAliasCriteria, publicAliasCriteria);
+ }
- if (aliasResult[0] != null && aliasResult[0].getTotalResult() > 0) {
- if (bookmarkToModify == null) {
- privateAlias = "";
- } else {
- privateAlias = bookmarkToModify.getPrivateAlias();
- }
+ // on a pas retrouve de bookmark a modifier, on en cree un nouveau
+ if (bookmark == null) {
+ bookmark = new BowBookmarkImpl();
+ bookmark.setClick(0);
+ bookmark.setOwner(user);
+ bookmark.addReader(user); // only owner can read it
+ bookmark.setCreationDate(new Date());
+
+ if (user.getScreenshot()) {
+ // on essaie de prendre l'image du site que l'on ajoute
+ byte[] screenshot = BookmarkUtils.getScreenshot(link);
+ bookmark.setScreenshot(screenshot);
}
- if (aliasResult[1] != null && aliasResult[1].getTotalResult() > 0) {
- if (bookmarkToModify == null) {
- publicAlias = "";
- } else {
- publicAlias = bookmarkToModify.getPublicAlias();
- }
- }
- if (bookmarkToModify == null) {
- bookmark = BookmarkUtils.createBookmark(
- link, name, tags, user, privateAlias, publicAlias, null);
- } else {
- BookmarkUtils.updateBookmark(
- bookmarkToModify, name, link, tags, privateAlias, publicAlias);
+ if (user.getFavicon()) {
+ // on essaie de recuperer le favicone
+ byte[] favicone = BookmarkUtils.getFavicon(link);
+ bookmark.setFavicon(favicone);
}
- } else { //This part is for the bookmark addition by script
- if (nameAndTags != null) {
- bookmark = BookmarkUtils.createBookmark(link, nameAndTags, user);
+ } else {
+ if (log.isDebugEnabled()) {
+ log.debug("Change old bookmark: " + bookmark);
}
}
- // si on a reussi a creer le bookmark, on regarde s'il ne faut pas
- // le fusionner avec un deja existant
- if (bookmark != null && !bookmark.getDescription().isEmpty()
- && !bookmark.getOwner().isEmpty()) {
- // looking for already bookmark with same url, to fusion them
- String link = bookmark.getLink();
- WikittyQuery criteria = new WikittyQueryMaker().and()
- .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_LINK, link)
- .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
- .end();
- BowBookmark oldBookmark =
- proxy.findByQuery(BowBookmark.class, criteria);
- if (oldBookmark != null) {
- // fusionne les descriptions et les tags
- // par contre on prend le dernier privateAlias prive choisi par
- // l'utilisateur s'il y en a un
- String description = oldBookmark.getDescription();
- if (!StringUtils.isEmpty(bookmark.getDescription())) {
- description += "\n";
- description += BowUtils.formatDate(
- bookmark.getCreationDate()) + ": ";
- description += bookmark.getDescription();
- }
+ // on met a jour les infos
+ bookmark.setDescription(name);
+ bookmark.setLink(link);
+ bookmark.setLabels(BowUtils.getWords(tags));
- oldBookmark.setDescription(description);
- oldBookmark.addAllLabels(bookmark.getLabels());
- String privateAlias = bookmark.getPrivateAlias();
- if (!StringUtils.isEmpty(privateAlias)) {
- oldBookmark.setPrivateAlias(privateAlias);
- }
- bookmark = oldBookmark;
+ // Si l'alias prive souhaite est deja utilise on ne l'accept pas
+ // Si l'alias public souhaite est deja utilise on ne l'accept pas
+ if (StringUtils.isEmpty(privateAlias)) {
+ bookmark.setPrivateAlias("");
+ } else {
+ WikittyQuery privateAliasCriteria = new WikittyQueryMaker().and()
+ .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PRIVATEALIAS, privateAlias)
+ .eq(BowBookmark.FQ_FIELD_WIKITTYAUTHORISATION_OWNER, userId)
+ .end().setLimit(0);
+ WikittyQueryResult<String> aliasResult = proxy.findAllByQuery(
+ privateAliasCriteria);
+ if (aliasResult.getTotalResult() == 0) {
+ bookmark.setPrivateAlias(privateAlias);
+ } else {
+ addActionMessage(_("bow.alias.already.exists", privateAlias));
}
-
}
- if (bookmark != null || bookmarkToModify != null) {
- proxy.store(bookmark, bookmarkToModify); //Stores the bookmark if everything is ok
- addActionMessage(_("bow.bookmark.add.successful"));
- if (log.isDebugEnabled()) {
- log.debug("Adding URL");
+ if (StringUtils.isEmpty(publicAlias)) {
+ bookmark.setPublicAlias("");
+ } else {
+ WikittyQuery publicAliasCriteria = new WikittyQueryMaker()
+ .eq(BowBookmark.FQ_FIELD_BOWBOOKMARK_PUBLICALIAS, publicAlias)
+ .end().setLimit(0);
+ WikittyQueryResult<String> aliasResult = proxy.findAllByQuery(
+ publicAliasCriteria);
+ if (aliasResult.getTotalResult() == 0) {
+ bookmark.setPublicAlias(publicAlias);
+ } else {
+ addActionMessage(_("bow.alias.already.exists", publicAlias));
}
}
+
+ proxy.store(bookmark); //Stores the bookmark if everything is ok
+ addActionMessage(_("bow.bookmark.add.successful"));
+ if (log.isDebugEnabled()) {
+ log.debug("Adding URL");
+ }
redirectTo = BowUtils.redirectTo(tagLine, fullTextLine);
} catch (Exception eee) {
result = ERROR;
@@ -252,4 +384,5 @@
}
return result;
}
+
}
\ No newline at end of file
Added: trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/ScreenshotAction.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/ScreenshotAction.java (rev 0)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/ScreenshotAction.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -0,0 +1,103 @@
+/*
+ * #%L
+ * bow
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2010 - 2011 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
+package org.chorem.bow.action.bookmark;
+
+import org.apache.commons.lang3.ArrayUtils;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.chorem.bow.BookmarkUtils;
+import org.chorem.bow.BowBookmark;
+import org.chorem.bow.BowProxy;
+import org.chorem.bow.BowUtils;
+import org.chorem.bow.action.BowBaseAction;
+
+/**
+ * Met a jour le screenshot d'un bookmark
+ *
+ * @author poussin
+ */
+public class ScreenshotAction extends BowBaseAction {
+
+ private static final long serialVersionUID = 820566716695285561L;
+ private static final Log log = LogFactory.getLog(ScreenshotAction.class);
+
+ protected String id;
+
+ protected String redirectTo;
+
+ /** @return the id */
+ public String getId() {
+ return id;
+ }
+
+ /** @param id the bookmarkId to set */
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /** @return the redirectTo */
+ public String getRedirectTo() {
+ return redirectTo;
+ }
+
+ /** Removes a bookmark */
+ @Override
+ public String execute() {
+ if (StringUtils.isNotEmpty(id)) {
+ try {
+ BowProxy proxy = getBowProxy();
+ BowBookmark bookmark = proxy.restore(BowBookmark.class, id);
+ if (bookmark != null) {
+ boolean changed = false;
+ String link = bookmark.getLink();
+
+ // on essaie de prendre l'image
+ byte[] screenshot = BookmarkUtils.getScreenshot(link);
+ if (ArrayUtils.isNotEmpty(screenshot) ) {
+ bookmark.setScreenshot(screenshot);
+ changed = true;
+ addActionMessage(_("bow.bookmark.screenshot.updated.successful"));
+ }
+ // on essaie de recuperer le favicone
+ byte[] favicone = BookmarkUtils.getFavicon(link);
+ if (ArrayUtils.isNotEmpty(favicone)) {
+ bookmark.setFavicon(favicone);
+ changed = true;
+ addActionMessage(_("bow.bookmark.favicon.updated.successful"));
+ }
+
+ if (changed) {
+ proxy.store(bookmark);
+ }
+ }
+ } catch (Exception eee) {
+ addActionError(_("bow.error.internal"));
+ log.error("Can't do action", eee);
+ }
+ }
+ redirectTo = BowUtils.redirectTo(tagLine, fullTextLine);
+ return SUCCESS;
+ }
+}
\ No newline at end of file
Property changes on: trunk/bow-ui/src/main/java/org/chorem/bow/action/bookmark/ScreenshotAction.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision HeadURL
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/PreferenceBaseAction.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/PreferenceBaseAction.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/PreferenceBaseAction.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -78,6 +78,10 @@
protected String colors;
+ protected boolean screenshot;
+
+ protected boolean favicon;
+
protected String tagsNb;
protected String bookmarksHomePage;
@@ -132,6 +136,22 @@
this.colors = colors;
}
+ public boolean isScreenshot() {
+ return screenshot;
+ }
+
+ public void setScreenshot(boolean screenshot) {
+ this.screenshot = screenshot;
+ }
+
+ public boolean isFavicon() {
+ return favicon;
+ }
+
+ public void setFavicon(boolean favicon) {
+ this.favicon = favicon;
+ }
+
/** @return the tagsNb */
public String getTagsNb() {
return tagsNb;
@@ -308,6 +328,8 @@
}
setColors(user.getColors());
+ setScreenshot(user.getScreenshot());
+ setFavicon(user.getFavicon());
setTagsNb(String.valueOf(user.getTags()));
setBookmarksHomePage(String.valueOf(user.getBookmarks()));
}
Modified: trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/UpdateSiteAction.java
===================================================================
--- trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/UpdateSiteAction.java 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/java/org/chorem/bow/action/preference/UpdateSiteAction.java 2013-09-26 18:18:46 UTC (rev 368)
@@ -70,6 +70,9 @@
BowProxy proxy = session.getProxy();
BowUser preference = session.getUser();
+ preference.setScreenshot(screenshot);
+ preference.setFavicon(favicon);
+
preference.setColors(colors);
if (StringUtils.isNotBlank(tagsNb)) {
preference.setTags(Integer.valueOf(tagsNb));
Modified: trunk/bow-ui/src/main/resources/i18n/bow-ui_en_GB.properties
===================================================================
--- trunk/bow-ui/src/main/resources/i18n/bow-ui_en_GB.properties 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/resources/i18n/bow-ui_en_GB.properties 2013-09-26 18:18:46 UTC (rev 368)
@@ -15,9 +15,11 @@
bow.bookmark.add.successful=Bookmark successfully added
bow.bookmark.badFileFormat=Bad bookmarks file format \: unsuccessful import (expected Netscape-like bookmarks file)
bow.bookmark.description=Description
+bow.bookmark.favicon.updated.successful=
bow.bookmark.import.delete.successful=The imported bookmarks were deleted successfully
bow.bookmark.import.successful=The bookmarks were imported successfully
bow.bookmark.remove.successful=The bookmark was removed successfully
+bow.bookmark.screenshot.updated.successful=
bow.bookmark.tag.deleted=The tag was removed successfully
bow.bookmark.tags=Tags
bow.bookmark.update.successful=The bookmark was updated successfully
@@ -30,6 +32,7 @@
bow.config.bow.prefix.search.fulltext.description=
bow.config.bow.prefix.suggestion.alias.description=
bow.config.bow.prefix.suggestion.fulltext.description=
+bow.config.bow.screenshot.url.description=
bow.config.bow.smtpServer.description=smtp server address
bow.config.bow.url.description=Web server bow URL
bow.config.configFileName.description=bow configuration file
@@ -68,6 +71,8 @@
bow.mail.badFormat=Your email format is incorrect and therefore the email hasn't been sent
bow.mail.sendError=An error occurred while sending email
bow.opensearch.result=%s results
+bow.permanent.link.search=
+bow.permanent.link.suggestion=
bow.preference.opensearch.prefix.separator=OpenSeach prefix separator
bow.preferences.badCurrentPassword=Your current password is incorrect
bow.preferences.bookmarksHomePage=Number of bookmarks displayed on the home page
@@ -76,6 +81,7 @@
bow.preferences.currentPassword=Current password
bow.preferences.emailAldyExists=This email address is already linked with another account
bow.preferences.export.bookmarks=Export bookmarks
+bow.preferences.favicon=
bow.preferences.import.bookmarks=Import bookmarks
bow.preferences.import.submit=Import
bow.preferences.importExport=Import / Export
@@ -96,6 +102,7 @@
bow.preferences.opensearch.value=Value
bow.preferences.opensearch.web.search.prefix=Search on the Web
bow.preferences.regenPermToken=Regenerate permanent token
+bow.preferences.screenshot=
bow.preferences.searchEngineUrlResults=Search Engine URL Results ('{'searchTerms'}' will be replaced by your text)
bow.preferences.searchEngineUrlSuggestions=Search Engine URL Suggestions
bow.preferences.siteLook=Site look
@@ -157,6 +164,8 @@
bow.search.results.deleted=Search results deleted successfully
bow.search.submit=Search
bow.search.title=Search
+bow.temporary.link.search=
+bow.temporary.link.suggestion=
bow.token.generate.successful=The token has been regenerated successfully
popup.addurl.alias.private=Private alias
popup.addurl.alias.public=Public alias
Modified: trunk/bow-ui/src/main/resources/i18n/bow-ui_fr_FR.properties
===================================================================
--- trunk/bow-ui/src/main/resources/i18n/bow-ui_fr_FR.properties 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/resources/i18n/bow-ui_fr_FR.properties 2013-09-26 18:18:46 UTC (rev 368)
@@ -15,9 +15,11 @@
bow.bookmark.add.successful=Marque-page ajout\u00E9 avec succ\u00E8s
bow.bookmark.badFileFormat=Mauvais format de fichier de favoris \: import impossible (le format de type Netscape n'est pas support\u00E9)
bow.bookmark.description=Description
+bow.bookmark.favicon.updated.successful=
bow.bookmark.import.delete.successful=Les marque-pages import\u00E9s ont \u00E9t\u00E9 supprim\u00E9s avec succ\u00E8s
bow.bookmark.import.successful=Les marque-pages ont \u00E9t\u00E9 import\u00E9s avec succ\u00E8s
bow.bookmark.remove.successful=Le marque-page a \u00E9t\u00E9 supprim\u00E9 avec succ\u00E8s
+bow.bookmark.screenshot.updated.successful=
bow.bookmark.tag.deleted=Le tag a \u00E9t\u00E9 supprim\u00E9 avec succ\u00E8s
bow.bookmark.tags=Tags
bow.bookmark.update.successful=Le marque-page a \u00E9t\u00E9 mis \u00E0 jour avec succ\u00E8s
@@ -30,6 +32,7 @@
bow.config.bow.prefix.search.fulltext.description=
bow.config.bow.prefix.suggestion.alias.description=
bow.config.bow.prefix.suggestion.fulltext.description=
+bow.config.bow.screenshot.url.description=
bow.config.bow.smtpServer.description=Adresse du serveur de mail
bow.config.bow.url.description=Url public du serveur bow
bow.config.configFileName.description=Fichier de configuration de bow
@@ -68,6 +71,8 @@
bow.mail.badFormat=Votre adresse email est mal form\u00E9e \: aucun mail n''a pu \u00EAtre envoy\u00E9
bow.mail.sendError=Une erreur s''est produite lors de l''envoi du mail
bow.opensearch.result=%s r\u00E9sultats
+bow.permanent.link.search=
+bow.permanent.link.suggestion=
bow.preference.opensearch.prefix.separator=Separateur de pr\u00E9fix
bow.preferences.badCurrentPassword=Votre mot de passe actuel est incorrect
bow.preferences.bookmarksHomePage=Nombre de marque-pages affich\u00E9s
@@ -76,6 +81,7 @@
bow.preferences.currentPassword=Mot de passe actuel
bow.preferences.emailAldyExists=Cette addresse email est d\u00E9j\u00E0 utilis\u00E9e par un autre compte
bow.preferences.export.bookmarks=Exporter les marque-pages
+bow.preferences.favicon=
bow.preferences.import.bookmarks=Importer des marques-pages
bow.preferences.import.submit=Importer
bow.preferences.importExport=Import / Export
@@ -96,6 +102,7 @@
bow.preferences.opensearch.value=Valeur
bow.preferences.opensearch.web.search.prefix=Recherche Web
bow.preferences.regenPermToken=Reg\u00E9n\u00E9rer le token permanent
+bow.preferences.screenshot=
bow.preferences.searchEngineUrlResults=Search Engine URL Results ('{'searchTerms'}' sera remplac\u00E9 par votre recherche)
bow.preferences.searchEngineUrlSuggestions=Search Engine URL Suggestions
bow.preferences.siteLook=Pr\u00E9f\u00E9rences du site
@@ -157,6 +164,8 @@
bow.search.results.deleted=Les r\u00E9sultats de la recherche ont \u00E9t\u00E9 supprim\u00E9s avec succ\u00E8s
bow.search.submit=Rechercher
bow.search.title=Recherche
+bow.temporary.link.search=
+bow.temporary.link.suggestion=
bow.token.generate.successful=Le token a \u00E9t\u00E9 reg\u00E9n\u00E9r\u00E9 avec succ\u00E8s
popup.addurl.alias.private=Alias priv\u00E9
popup.addurl.alias.public=Alias public
Modified: trunk/bow-ui/src/main/resources/struts.xml
===================================================================
--- trunk/bow-ui/src/main/resources/struts.xml 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/resources/struts.xml 2013-09-26 18:18:46 UTC (rev 368)
@@ -132,6 +132,10 @@
<result name="error">/WEB-INF/jsp/home.jsp</result>
<result>/WEB-INF/jsp/home.jsp</result>
</action>
+ <action name="screenshotBookmark" class="org.chorem.bow.action.bookmark.ScreenshotAction">
+ <result name="error" type="redirect">${redirectTo}</result>
+ <result type="redirect">${redirectTo}</result>
+ </action>
<action name="removeBookmark" class="org.chorem.bow.action.bookmark.RemoveAction">
<result name="error" type="redirect">${redirectTo}</result>
<result type="redirect">${redirectTo}</result>
Modified: trunk/bow-ui/src/main/webapp/WEB-INF/jsp/home.jsp
===================================================================
--- trunk/bow-ui/src/main/webapp/WEB-INF/jsp/home.jsp 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/webapp/WEB-INF/jsp/home.jsp 2013-09-26 18:18:46 UTC (rev 368)
@@ -80,7 +80,7 @@
</div>
<div class="content">
<s:if test="searchResult.bookmarks.empty">
- <p class="nobookmarks"><s:text name="bow.bookmarks.noBookmarks" /></p>
+ <p class="nobookmarks"><s:text name="bow.bookmarks.noBookmarks" /></p>
</s:if>
<s:else>
<s:iterator value="searchResult.bookmarks" var="bookmark">
Modified: trunk/bow-ui/src/main/webapp/WEB-INF/jsp/inc/bookmark.jsp
===================================================================
--- trunk/bow-ui/src/main/webapp/WEB-INF/jsp/inc/bookmark.jsp 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/webapp/WEB-INF/jsp/inc/bookmark.jsp 2013-09-26 18:18:46 UTC (rev 368)
@@ -24,49 +24,92 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sj" uri="/struts-jquery-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"prefix="fn" %>
+<jsp:useBean id="bowUtils" class="org.chorem.bow.BowUtils"></jsp:useBean>
<div class="bookmark"
xmlns:s="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
xmlns:jsp="http://java.sun.com/JSP/Page">
<div class="bookmarkhead">
- <p class="date"><s:property value="#bookmark.creationDate"/></p>
- <s:a cssClass="alias" href="%{config.aliasUrl + #bookmark.wikittyId}.action"
- title="%{#bookmark.link}" target="_blank">
- a:<s:property value="%{#bookmark.privateAlias}" />
- </s:a>
- <s:if test="%{!#bookmark.publicAlias.empty}">
- <s:a cssClass="alias" href="%{config.aliasUrl + #bookmark.publicAlias}.action"
- title="%{#bookmark.link}" target="_blank">
- <s:property value="%{#bookmark.publicAlias}" />
- </s:a>
- </s:if>
- <s:url var="editBookmark" action="editBookmark" escapeAmp="true">
- <s:param name="id" value="%{#bookmark.wikittyId}" />
- <s:param name="tagLine" value="%{tagLine}" />
- <s:param name="fullTextLine" value="%{fullTextLine}" />
- <s:param name="order" value="%{order}"/>
- <s:param name="first" value="%{first}"/>
- </s:url>
- <s:a cssClass="edit" href="%{editBookmark}"/>
-
- <s:url var="removeBookmark" action="removeBookmark" escapeAmp="true">
- <s:param name="bookmarkId" value="%{#bookmark.wikittyId}" />
- <s:param name="tagLine" value="%{tagLine}" />
- <s:param name="fullTextLine" value="%{fullTextLine}" />
- <s:param name="order" value="%{order}"/>
- <s:param name="first" value="%{first}"/>
- </s:url>
- <s:a cssClass="supprim" href="%{removeBookmark}"
- onclick="return deleteConfirmation('%{#removeBookmark}','%{#bookmark.link}');"></s:a>
+ <span class="left">
+ <s:set var="favicon" value="#bookmark.favicon"/>
+ <c:if test="${fn:length(favicon) > 0}">
+ <img class="favicon" src="data:image/png;base64,${bowUtils.toBase64(favicon)}"/>
+ </c:if>
+ <c:if test="${fn:length(favicon) <= 0}">
+ <img src="img/ptit-livre.jpg"/>
+ </c:if>
+ </span>
+ <span class="left date"><s:property value="#bookmark.creationDate"/></span>
+ <span class="left">
+ <s:if test="%{!#bookmark.privateAlias.empty}">
+ <s:a cssClass="alias" href="%{config.aliasUrl + #bookmark.wikittyId}.action"
+ title="%{#bookmark.link}" target="_blank">
+ a:<s:property value="%{#bookmark.privateAlias}" />
+ </s:a>
+ </s:if>
+ </span>
+ <span class="left">
+ <s:if test="%{!#bookmark.publicAlias.empty}">
+ <s:a cssClass="alias" href="%{config.aliasUrl + #bookmark.publicAlias}.action"
+ title="%{#bookmark.link}" target="_blank">
+ a:<s:property value="%{#bookmark.publicAlias}" />
+ </s:a>
+ </s:if>
+ </span>
+ <span class="spacemax"></span>
+ <span class="right">
+ <s:url var="screenshotBookmark" action="screenshotBookmark" escapeAmp="true">
+ <s:param name="id" value="%{#bookmark.wikittyId}" />
+ <s:param name="tagLine" value="%{tagLine}" />
+ <s:param name="fullTextLine" value="%{fullTextLine}" />
+ <s:param name="order" value="%{order}"/>
+ <s:param name="first" value="%{first}"/>
+ </s:url>
+ <s:a cssClass="screenshotLink" href="%{screenshotBookmark}"/>
+ </span>
+ <span class="right">
+ <s:url var="editBookmark" action="editBookmark" escapeAmp="true">
+ <s:param name="id" value="%{#bookmark.wikittyId}" />
+ <s:param name="tagLine" value="%{tagLine}" />
+ <s:param name="fullTextLine" value="%{fullTextLine}" />
+ <s:param name="order" value="%{order}"/>
+ <s:param name="first" value="%{first}"/>
+ </s:url>
+ <s:a cssClass="edit" href="%{editBookmark}"/>
+ </span>
+ <span class="right">
+ <s:url var="removeBookmark" action="removeBookmark" escapeAmp="true">
+ <s:param name="bookmarkId" value="%{#bookmark.wikittyId}" />
+ <s:param name="tagLine" value="%{tagLine}" />
+ <s:param name="fullTextLine" value="%{fullTextLine}" />
+ <s:param name="order" value="%{order}"/>
+ <s:param name="first" value="%{first}"/>
+ </s:url>
+ <s:a cssClass="supprim" href="%{removeBookmark}"
+ onclick="return deleteConfirmation('%{#removeBookmark}','%{#bookmark.link}');"></s:a>
+ </span>
</div>
<div class="bookmarkcontenu">
<s:a title="%{#bookmark.link}" href="alias/%{#bookmark.wikittyId}.action" target="_blank">
- <div class="screenshot"></div>
+ <div class="screenshot">
+ <s:set var="screenshot" value="#bookmark.screenshot"/>
+ <c:if test="${fn:length(screenshot) > 0}">
+ <img src="data:image/png;base64,${bowUtils.toBase64(screenshot)}"/>
+ </c:if>
+ <c:if test="${fn:length(screenshot) <= 0}">
+ <img src="img/livreG.jpg"/>
+ </c:if>
+ </div>
</s:a>
<div class="click"><s:property value="%{#bookmark.click}" /></div>
<div class="description">
+ <p>
+ <s:a href="alias/%{#bookmark.wikittyId}.action"><s:property value="%{#bookmark.link}"/></s:a>
+ </p>
<h3><s:text name="bow.bookmark.description" /> :</h3>
<p>
<s:property value="%{#bookmark.description}"/>
Modified: trunk/bow-ui/src/main/webapp/WEB-INF/jsp/preferences.jsp
===================================================================
--- trunk/bow-ui/src/main/webapp/WEB-INF/jsp/preferences.jsp 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/webapp/WEB-INF/jsp/preferences.jsp 2013-09-26 18:18:46 UTC (rev 368)
@@ -25,12 +25,6 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
-<%--
-PreferenceBaseAction action = PreferenceBaseAction.getAction();
-PreferenceBaseAction.DefaultPrefix defaultAction = action.getDefaultAction();
-PreferenceBaseAction.DefaultPrefix defaultPrefix = action.getDefaultPrefix();
---%>
-
<html xmlns:s="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
xmlns:jsp="http://java.sun.com/JSP/Page">
<head>
@@ -51,6 +45,30 @@
<s:set var="temporaryToken" value="bowSession.getTemporaryToken()" />
<ul>
<li>
+ <s:a title="%{getText('bow.temporary.link.searchDescription')}"
+ href="openSearchResult.action?token=%{temporaryToken}&q={searchTerms}">
+ <s:text name="bow.temporary.link.search" />
+ </s:a>
+ </li>
+ <li>
+ <s:a title="%{getText('bow.permanent.link.searchDescription')}"
+ href="openSearchResult.action?token=%{permanentToken}&q={searchTerms}">
+ <s:text name="bow.permanent.link.search" />
+ </s:a>
+ </li>
+ <li>
+ <s:a title="%{getText('bow.temporary.link.suggestionDescription')}"
+ href="openSearchSuggestion.action?token=%{temporaryToken}&q={searchTerms}">
+ <s:text name="bow.temporary.link.suggestion" />
+ </s:a>
+ </li>
+ <li>
+ <s:a title="%{getText('bow.permanent.link.suggestionDescription')}"
+ href="openSearchSuggestion.action?token=%{permanentToken}&q={searchTerms}">
+ <s:text name="bow.permanent.link.suggestion" />
+ </s:a>
+ </li>
+ <li>
<s:a title="%{getText('bow.rightMenu.bookmark.temporaryLinkDescription')}"
href="javascript:var%20url=location.href;var%20nameAndTags=prompt('Entrez%20le%20nom%20du%20lien%20et%20la%20liste%20des%20tags%20sous%20la%20forme:%20name|tag1%20tag2%20tag3',%20document.title+'|');var%20link='%{config.bowUrl}addUrl.action?token=%{temporaryToken}&link='+encodeURIComponent(url)+'&nameAndTags='+encodeURIComponent(nameAndTags);var%20script=document.createElement('script');script.src=link;script.type='text/javascript';document.body.appendChild(script);void(0);">
<s:text name="bow.rightMenu.bookmark.temporaryLink" />
@@ -122,6 +140,12 @@
<s:form name="updateSitePref" action="updateSitePref" theme="simple">
<s:hidden name="removedPrefix" value="-1"/>
+ <s:text name="bow.preferences.screenshot"/><br/>
+ <s:checkbox name="screenshot" labelposition="left"/><br/>
+
+ <s:text name="bow.preferences.favicon"/><br/>
+ <s:checkbox name="favicon" labelposition="left"/><br/>
+
<s:text name="bow.preferences.tagsNb"/><br/>
<s:textfield name="tagsNb" labelposition="top"/><br/>
Modified: trunk/bow-ui/src/main/webapp/css/bookmark.css
===================================================================
--- trunk/bow-ui/src/main/webapp/css/bookmark.css 2013-09-25 05:36:58 UTC (rev 367)
+++ trunk/bow-ui/src/main/webapp/css/bookmark.css 2013-09-26 18:18:46 UTC (rev 368)
@@ -83,6 +83,16 @@
word-wrap:break-word;
}
+.spacemax {
+ width: 100%;
+}
+
+.bookmark .favicon {
+ width: 32px;
+ height: 32px;
+ float:left;
+}
+
.bookmark .bookmarkhead{
width:100%;
height:32px;
@@ -105,6 +115,16 @@
margin-top:10px;
}
+.bookmark .bookmarkhead .screenshotLink{
+ position:absolute;
+ margin-top: 10px;
+ top:0;
+ right:64px;
+ width:31px;
+ height:32px;
+ background:url('../img/camera.png') no-repeat;
+}
+
.bookmark .bookmarkhead .edit{
background:url('../img/edit.jpg') no-repeat;
width:31px;
@@ -128,8 +148,8 @@
font-weight:bold;
font-size:14px;
line-height:32px;
- padding-left:40px;
- background:url('../img/ptit-livre.jpg') no-repeat;
+ /*padding-left:40px;*/
+ /*background:url('../img/ptit-livre.jpg') no-repeat;*/
height:32px;
display:block;
text-decoration:none;
@@ -150,7 +170,7 @@
margin:5px 10px;
width:100px;
height:75px;
- background:url('../img/livreG.jpg') no-repeat;
+ /*background:url('../img/livreG.jpg') no-repeat;*/
}
.bookmark .description{
Added: trunk/bow-ui/src/main/webapp/img/camera.png
===================================================================
(Binary files differ)
Property changes on: trunk/bow-ui/src/main/webapp/img/camera.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: trunk/bow-ui/src/main/xmi/bow-model.zargo
===================================================================
(Binary files differ)
1
0
r367 - in trunk/bow-extension-chromium/src/main/webapp: . css
by bpoussin@users.chorem.org 25 Sep '13
by bpoussin@users.chorem.org 25 Sep '13
25 Sep '13
Author: bpoussin
Date: 2013-09-25 07:36:58 +0200 (Wed, 25 Sep 2013)
New Revision: 367
Url: http://chorem.org/projects/bow/repository/revisions/367
Log:
- remove old background.html (now background.js)
- change input text to textarea for description
Removed:
trunk/bow-extension-chromium/src/main/webapp/background.html
Modified:
trunk/bow-extension-chromium/src/main/webapp/css/extension.css
trunk/bow-extension-chromium/src/main/webapp/popup.html
trunk/bow-extension-chromium/src/main/webapp/popup.js
Deleted: trunk/bow-extension-chromium/src/main/webapp/background.html
===================================================================
--- trunk/bow-extension-chromium/src/main/webapp/background.html 2013-09-24 18:07:52 UTC (rev 366)
+++ trunk/bow-extension-chromium/src/main/webapp/background.html 2013-09-25 05:36:58 UTC (rev 367)
@@ -1,57 +0,0 @@
-<!--
- #%L
- bow
-
- $Id$
- $HeadURL$
- %%
- Copyright (C) 2010 CodeLutin
- %%
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- #L%
- -->
-<html>
- <head>
- <script>
- var tabInfos = new Array();
- var currentTabId;
-
- function getTabInfos() {
- return tabInfos[currentTabId];
- };
-
- // Called when the url of a tab changes.
- function showAction(tabId, changeInfo, tab) {
- // ... show the page action.
- chrome.pageAction.show(tabId);
- tabInfos[tabId] = {
- "title" : tab.title,
- "url" : tab.url
- };
- };
-
- // Listen for any changes to the URL of any tab.
- chrome.tabs.onUpdated.addListener(showAction);
-
- function updateCurrentTabId(tabId, selectInfo) {
- currentTabId = tabId;
- };
-
- // Listen for any tab selection changes.
- chrome.tabs.onSelectionChanged.addListener(updateCurrentTabId);
-
- </script>
- </head>
-</html>
-
Modified: trunk/bow-extension-chromium/src/main/webapp/css/extension.css
===================================================================
--- trunk/bow-extension-chromium/src/main/webapp/css/extension.css 2013-09-24 18:07:52 UTC (rev 366)
+++ trunk/bow-extension-chromium/src/main/webapp/css/extension.css 2013-09-25 05:36:58 UTC (rev 367)
@@ -66,3 +66,8 @@
text-align: center;
text-color: red;
}
+
+textarea {
+ width: 100%;
+ height: 100px;
+}
Modified: trunk/bow-extension-chromium/src/main/webapp/popup.html
===================================================================
--- trunk/bow-extension-chromium/src/main/webapp/popup.html 2013-09-24 18:07:52 UTC (rev 366)
+++ trunk/bow-extension-chromium/src/main/webapp/popup.html 2013-09-25 05:36:58 UTC (rev 367)
@@ -35,7 +35,7 @@
<label for="nameInput" id="nameInputLabel"></label>
</div>
<div class="inputs">
- <input id="nameInput" name="nameInput" type="text" />
+ <textarea id="nameInput" name="nameInput"></textarea>
</div>
<div class="labels">
<label for="aliasInput" id="aliasInputLabel"></label>
Modified: trunk/bow-extension-chromium/src/main/webapp/popup.js
===================================================================
--- trunk/bow-extension-chromium/src/main/webapp/popup.js 2013-09-24 18:07:52 UTC (rev 366)
+++ trunk/bow-extension-chromium/src/main/webapp/popup.js 2013-09-25 05:36:58 UTC (rev 367)
@@ -104,6 +104,7 @@
var buttons = document.getElementById("buttons");
buttons.innerHTML = chrome.i18n.getMessage("noTokenMessage");
}
+
}
function isEmpty(string) {
@@ -114,4 +115,4 @@
init();
document.getElementById('permanentTokenButton').addEventListener('click', bookmarkPermanent);
document.getElementById('sessionTokenButton').addEventListener('click', bookmarkSession);
-});
\ No newline at end of file
+});
1
0
The bow team is pleased to announce the bow-1.2 release!
bookmarks on web
Documentation of the project can be found here:
http://maven-site.chorem.org/bow
Changes
-------
Changes in this version include:
New features:
o migrate to wikitty 3.10 Issue: 497. Thanks to Benjamin Poussin. Resolved by bpoussin.
o Update to eugene 2.4.2 Issue: 463. Thanks to Éric Chatellier. Resolved by echatellier.
Fixed Bugs:
o Chrome extension must be upgraded to extension api version 2 Issue: 949. Thanks to Benjamin Poussin. Resolved by bpoussin.
o bug when we have ':' (separator mark) in search request Issue: 496. Thanks to Benjamin Poussin. Resolved by bpoussin.
o Migration error to 1.1 if SecurityService activate Issue: 452. Thanks to Benjamin Poussin. Resolved by bpoussin.
o Bad translation in migration version Issue: 453. Thanks to Benjamin Poussin. Resolved by bpoussin.
Changes:
o Use a maven specific group Issue: 902. Thanks to Tony Chemit. Resolved by tchemit.
o Updates mavenpom to 3.4.9 Issue: 903. Thanks to Tony Chemit. Resolved by tchemit.
Downloads
---------
No release file deployed. (all files are deployed in the maven repository)
Maven artifacts
---------------
Artifacts are deployed in nuiton maven repository
http://maven.nuiton.org/other-releases/
Have fun!
-bow team
1
0
24 Sep '13
Author: maven-release
Date: 2013-09-24 20:07:52 +0200 (Tue, 24 Sep 2013)
New Revision: 366
Url: http://chorem.org/projects/bow/repository/revisions/366
Log:
[maven-release-plugin] prepare for next development iteration
Modified:
trunk/bow-extension-chromium/pom.xml
trunk/bow-ui/pom.xml
trunk/pom.xml
Modified: trunk/bow-extension-chromium/pom.xml
===================================================================
--- trunk/bow-extension-chromium/pom.xml 2013-09-24 18:07:50 UTC (rev 365)
+++ trunk/bow-extension-chromium/pom.xml 2013-09-24 18:07:52 UTC (rev 366)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<artifactId>bow-extension-chromium</artifactId>
Modified: trunk/bow-ui/pom.xml
===================================================================
--- trunk/bow-ui/pom.xml 2013-09-24 18:07:50 UTC (rev 365)
+++ trunk/bow-ui/pom.xml 2013-09-24 18:07:52 UTC (rev 366)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<artifactId>bow-ui</artifactId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2013-09-24 18:07:50 UTC (rev 365)
+++ trunk/pom.xml 2013-09-24 18:07:52 UTC (rev 366)
@@ -10,7 +10,7 @@
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2</version>
+ <version>1.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>bow</name>
@@ -101,11 +101,11 @@
</modules>
<scm>
- <connection>scm:svn:http://svn.chorem.org/svn/bow/tags/bow-1.2</connection>
+ <connection>scm:svn:http://svn.chorem.org/svn/bow/trunk</connection>
<developerConnection>
- scm:svn:http://svn.chorem.org/svn/bow/tags/bow-1.2
+ scm:svn:http://svn.chorem.org/svn/bow/trunk
</developerConnection>
- <url>http://www.chorem.org/repositories/browse/bow/tags/bow-1.2</url>
+ <url>http://www.chorem.org/repositories/browse/bow/trunk</url>
</scm>
<distributionManagement>
<site>
1
0
Author: maven-release
Date: 2013-09-24 20:07:50 +0200 (Tue, 24 Sep 2013)
New Revision: 365
Url: http://chorem.org/projects/bow/repository/revisions/365
Log:
[maven-release-plugin] copy for tag bow-1.2
Added:
tags/bow-1.2/
1
0
24 Sep '13
Author: maven-release
Date: 2013-09-24 20:07:48 +0200 (Tue, 24 Sep 2013)
New Revision: 364
Url: http://chorem.org/projects/bow/repository/revisions/364
Log:
[maven-release-plugin] prepare release bow-1.2
Modified:
trunk/bow-extension-chromium/pom.xml
trunk/bow-ui/pom.xml
trunk/pom.xml
Modified: trunk/bow-extension-chromium/pom.xml
===================================================================
--- trunk/bow-extension-chromium/pom.xml 2013-09-24 18:05:27 UTC (rev 363)
+++ trunk/bow-extension-chromium/pom.xml 2013-09-24 18:07:48 UTC (rev 364)
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2-SNAPSHOT</version>
+ <version>1.2</version>
</parent>
<artifactId>bow-extension-chromium</artifactId>
Modified: trunk/bow-ui/pom.xml
===================================================================
--- trunk/bow-ui/pom.xml 2013-09-24 18:05:27 UTC (rev 363)
+++ trunk/bow-ui/pom.xml 2013-09-24 18:07:48 UTC (rev 364)
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2-SNAPSHOT</version>
+ <version>1.2</version>
</parent>
<artifactId>bow-ui</artifactId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2013-09-24 18:05:27 UTC (rev 363)
+++ trunk/pom.xml 2013-09-24 18:07:48 UTC (rev 364)
@@ -10,7 +10,7 @@
<groupId>org.chorem</groupId>
<artifactId>bow</artifactId>
- <version>1.2-SNAPSHOT</version>
+ <version>1.2</version>
<packaging>pom</packaging>
<name>bow</name>
@@ -101,11 +101,11 @@
</modules>
<scm>
- <connection>scm:svn:http://svn.chorem.org/svn/bow/trunk</connection>
+ <connection>scm:svn:http://svn.chorem.org/svn/bow/tags/bow-1.2</connection>
<developerConnection>
- scm:svn:http://svn.chorem.org/svn/bow/trunk
+ scm:svn:http://svn.chorem.org/svn/bow/tags/bow-1.2
</developerConnection>
- <url>http://www.chorem.org/repositories/browse/bow/trunk</url>
+ <url>http://www.chorem.org/repositories/browse/bow/tags/bow-1.2</url>
</scm>
<distributionManagement>
<site>
1
0