[xwiki-notifications] [Issue] Created: (XWIKI-1944) delete right does not allow non-creators to delete a document
delete right does not allow non-creators to delete a document --- Key: XWIKI-1944 URL: http://jira.xwiki.org/jira/browse/XWIKI-1944 Project: XWiki Platform Issue Type: Bug Components: Authentication and Rights Management Reporter: Jerome Velociter Currently XWiki right service does not allow users that are not creators of a document to delete it with only the delete right allowed on that document, they must, to be able to actually delete it, have the admin right allowed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6338 - xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki
Author: vmassol Date: 2007-12-11 11:21:23 +0100 (Tue, 11 Dec 2007) New Revision: 6338 Modified: xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java Log: XWIKI-1928: XWiki returns invalid URLs when the server port is not defined (i.e. when it's 80) Merged from trunk (rev 6308) Modified: xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java === --- xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java 2007-12-10 15:20:31 UTC (rev 6337) +++ xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java 2007-12-11 10:21:23 UTC (rev 6338) @@ -3785,7 +3785,7 @@ String server = serverobject.getStringValue(server); if (server != null) { int mode = serverobject.getIntValue(secure); -int port = context.getURL().getPort(); +int port = (context.getURL().getPort() == -1) ? 80 : context.getURL().getPort(); if (mode == 1) { if (port != 443) { serverurl = https://; + server + : + port + /; ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Created: (XASCH-10) The scheduler starts one quartz thread per virtual wiki. It should only start one
The scheduler starts one quartz thread per virtual wiki. It should only start one - Key: XASCH-10 URL: http://jira.xwiki.org/jira/browse/XASCH-10 Project: XWiki Scheduler Application Issue Type: Improvement Components: Plugin Affects Versions: 1.1.1 Reporter: Jerome Velociter Fix For: 1.2 on plugin virtual init, the scheduler starts a new quartz thread. virtual mode should instead share the quartz thread between all intances -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XASCH-10) The scheduler starts one quartz thread per virtual wiki. It should only start one
[ http://jira.xwiki.org/jira/browse/XASCH-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerome Velociter updated XASCH-10: -- Fix Version/s: 1.2 The scheduler starts one quartz thread per virtual wiki. It should only start one - Key: XASCH-10 URL: http://jira.xwiki.org/jira/browse/XASCH-10 Project: XWiki Scheduler Application Issue Type: Improvement Components: Plugin Affects Versions: 1.1.1 Reporter: Jerome Velociter Assigned To: Jerome Velociter Fix For: 1.2 on plugin virtual init, the scheduler starts a new quartz thread. virtual mode should instead share the quartz thread between all intances -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWIKI-1944) delete right does not allow non-creators to delete a document
[ http://jira.xwiki.org/jira/browse/XWIKI-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerome Velociter updated XWIKI-1944: Attachment: XWIKI-1944_trunk.patch delete right does not allow non-creators to delete a document --- Key: XWIKI-1944 URL: http://jira.xwiki.org/jira/browse/XWIKI-1944 Project: XWiki Platform Issue Type: Bug Components: Authentication and Rights Management Reporter: Jerome Velociter Attachments: XWIKI-1944_trunk.patch, XWIKI-1944_xwiki-core-1.1.patch Currently XWiki right service does not allow users that are not creators of a document to delete it with only the delete right allowed on that document, they must, to be able to actually delete it, have the admin right allowed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWIKI-1944) delete right does not allow non-creators to delete a document
[ http://jira.xwiki.org/jira/browse/XWIKI-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerome Velociter updated XWIKI-1944: Attachment: XWIKI-1944_xwiki-core-1.1.patch delete right does not allow non-creators to delete a document --- Key: XWIKI-1944 URL: http://jira.xwiki.org/jira/browse/XWIKI-1944 Project: XWiki Platform Issue Type: Bug Components: Authentication and Rights Management Reporter: Jerome Velociter Attachments: XWIKI-1944_trunk.patch, XWIKI-1944_xwiki-core-1.1.patch Currently XWiki right service does not allow users that are not creators of a document to delete it with only the delete right allowed on that document, they must, to be able to actually delete it, have the admin right allowed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6339 - in xwiki-platform/web: branches/xwiki-web-1.2/standard/src/main/webapp/tiny_mce trunk/standard/src/main/webapp/tiny_mce
Author: sdumitriu Date: 2007-12-11 13:06:16 +0100 (Tue, 11 Dec 2007) New Revision: 6339 Modified: xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/tiny_mce/tiny_mce.js xwiki-platform/web/trunk/standard/src/main/webapp/tiny_mce/tiny_mce.js Log: XWIKI-1939: In the attach files form, a - in the attachment title file generate a #45 Fixed. Patch submitted by Raluca Morosan, applied without changes. Modified: xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/tiny_mce/tiny_mce.js === --- xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/tiny_mce/tiny_mce.js 2007-12-11 10:21:23 UTC (rev 6338) +++ xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/tiny_mce/tiny_mce.js 2007-12-11 12:06:16 UTC (rev 6339) @@ -3673,6 +3673,7 @@ htm = tinyMCE.regexpReplace(htm, #59;, ;, gi); htm = tinyMCE.regexpReplace(htm, #34;, quot;, gi); htm = tinyMCE.regexpReplace(htm, #94;, ^, gi); + htm = tinyMCE.regexpReplace(htm, #45;, -, gi); if (this.formElement) this.formElement.value = htm; Modified: xwiki-platform/web/trunk/standard/src/main/webapp/tiny_mce/tiny_mce.js === --- xwiki-platform/web/trunk/standard/src/main/webapp/tiny_mce/tiny_mce.js 2007-12-11 10:21:23 UTC (rev 6338) +++ xwiki-platform/web/trunk/standard/src/main/webapp/tiny_mce/tiny_mce.js 2007-12-11 12:06:16 UTC (rev 6339) @@ -3673,6 +3673,7 @@ htm = tinyMCE.regexpReplace(htm, #59;, ;, gi); htm = tinyMCE.regexpReplace(htm, #34;, quot;, gi); htm = tinyMCE.regexpReplace(htm, #94;, ^, gi); + htm = tinyMCE.regexpReplace(htm, #45;, -, gi); if (this.formElement) this.formElement.value = htm; ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Closed: (XWIKI-1939) In the attach files form, a - in the attachment title file generate a #45
[ http://jira.xwiki.org/jira/browse/XWIKI-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergiu Dumitriu closed XWIKI-1939. -- Resolution: Fixed Fixed in rev. 6339 Patch applied without changes. In the attach files form, a - in the attachment title file generate a #45 -- Key: XWIKI-1939 URL: http://jira.xwiki.org/jira/browse/XWIKI-1939 Project: XWiki Platform Issue Type: Bug Components: Editor - WYSIWYG Affects Versions: 1.2 RC1 Reporter: Raluca Morosan Assigned To: Raluca Morosan Priority: Minor Fix For: 1.2 RC2 Attachments: dash-in-attachments-titles.patch Scenario: 1. Open WISIWYG editor 2. Click the Insert an Attachment Link button 3. Browse - Choose a file - Attach the file 4. Insert the Attachment Link title with a - (for example: test-file) 5. Click the Insert button 6. SaveView -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWIKI-1939) In the attach files form, a - in the attachment title file generate a #45
[ http://jira.xwiki.org/jira/browse/XWIKI-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergiu Dumitriu updated XWIKI-1939: --- Fix Version/s: 1.2 RC2 Affects Version/s: 1.2 RC1 Priority: Minor (was: Major) In the attach files form, a - in the attachment title file generate a #45 -- Key: XWIKI-1939 URL: http://jira.xwiki.org/jira/browse/XWIKI-1939 Project: XWiki Platform Issue Type: Bug Components: Editor - WYSIWYG Affects Versions: 1.2 RC1 Reporter: Raluca Morosan Assigned To: Raluca Morosan Priority: Minor Fix For: 1.2 RC2 Attachments: dash-in-attachments-titles.patch Scenario: 1. Open WISIWYG editor 2. Click the Insert an Attachment Link button 3. Browse - Choose a file - Attach the file 4. Insert the Attachment Link title with a - (for example: test-file) 5. Click the Insert button 6. SaveView -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Created: (XWIKI-1945) Data truncation reported in some environments
Data truncation reported in some environments - Key: XWIKI-1945 URL: http://jira.xwiki.org/jira/browse/XWIKI-1945 Project: XWiki Platform Issue Type: Bug Components: Storage Affects Versions: 1.2 RC1 Environment: mysql Reporter: Sergiu Dumitriu Attachments: XWIKI-1945-exception.log Some users reported the following error when installing XWiki with mysql: java.sql.BatchUpdateException: Data truncation: Out of range value adjusted for column 'XWD_MINOREDIT' at row 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWIKI-1945) Data truncation reported in some environments
[ http://jira.xwiki.org/jira/browse/XWIKI-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergiu Dumitriu updated XWIKI-1945: --- Attachment: XWIKI-1945-exception.log Data truncation reported in some environments - Key: XWIKI-1945 URL: http://jira.xwiki.org/jira/browse/XWIKI-1945 Project: XWiki Platform Issue Type: Bug Components: Storage Affects Versions: 1.2 RC1 Environment: mysql Reporter: Sergiu Dumitriu Attachments: XWIKI-1945-exception.log Some users reported the following error when installing XWiki with mysql: java.sql.BatchUpdateException: Data truncation: Out of range value adjusted for column 'XWD_MINOREDIT' at row 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWIKI-1945) Data truncation reported in some environments
[ http://jira.xwiki.org/jira/browse/XWIKI-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergiu Dumitriu updated XWIKI-1945: --- Fix Version/s: 1.2 RC2 Assignee: Sergiu Dumitriu Data truncation reported in some environments - Key: XWIKI-1945 URL: http://jira.xwiki.org/jira/browse/XWIKI-1945 Project: XWiki Platform Issue Type: Bug Components: Storage Affects Versions: 1.2 RC1 Environment: mysql Reporter: Sergiu Dumitriu Assigned To: Sergiu Dumitriu Fix For: 1.2 RC2 Attachments: XWIKI-1945-exception.log Some users reported the following error when installing XWiki with mysql: java.sql.BatchUpdateException: Data truncation: Out of range value adjusted for column 'XWD_MINOREDIT' at row 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Commented: (XWIKI-1879) Unknown column 'xwikidocum0_.XWD_MINOREDIT' in 'field list' exceptions
[ http://jira.xwiki.org/jira/browse/XWIKI-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20071 ] Sergiu Dumitriu commented on XWIKI-1879: See XWIKI-1945 Unknown column 'xwikidocum0_.XWD_MINOREDIT' in 'field list' exceptions Key: XWIKI-1879 URL: http://jira.xwiki.org/jira/browse/XWIKI-1879 Project: XWiki Platform Issue Type: Bug Components: Storage Affects Versions: 1.2 M2 Reporter: Vincent Massol Assigned To: Sergiu Dumitriu When we start xwiki.org all works fine but after some time we start getting hundreds if not thousands of exceptions like the one below. Restarting XWiki (not the database!) removes them. {noformat} 10:05:15,874 [http-8080-28] WARN web.XWikiAction - Uncaught exception: Error number 3202 in 3: Exception while reading document XWiki.RafTest Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-562379421] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.RafTest Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-562379421] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:469) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:158) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:985) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1019) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3984) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'xwikidocum0_.XWD_MINOREDIT' in 'field list' at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) at com.mysql.jdbc.Connection.execSQL(Connection.java:3256) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139) at org.hibernate.loader.Loader.getResultSet(Loader.java:1669) at org.hibernate.loader.Loader.doQuery(Loader.java:662) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.loadEntity(Loader.java:1785) at
[xwiki-notifications] [Issue] Created: (XE-161) XWiki.Result page has multiwiki problems
XWiki.Result page has multiwiki problems Key: XE-161 URL: http://jira.xwiki.org/jira/browse/XE-161 Project: XWiki Enterprise Issue Type: Bug Components: Search Application Affects Versions: 1.2 RC1 Reporter: Thomas Mortagne - hasAccesLevel is not made in the correct wiki - lot of doc fullName in place of prefixedFullName used -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XE-161) XWiki.Result page has multiwiki problems
[ http://jira.xwiki.org/jira/browse/XE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mortagne updated XE-161: --- Assignee: Thomas Mortagne XWiki.Result page has multiwiki problems Key: XE-161 URL: http://jira.xwiki.org/jira/browse/XE-161 Project: XWiki Enterprise Issue Type: Bug Components: Search Application Affects Versions: 1.2 RC1 Reporter: Thomas Mortagne Assigned To: Thomas Mortagne - hasAccesLevel is not made in the correct wiki - lot of doc fullName in place of prefixedFullName used -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Commented: (XWIKI-1945) Data truncation reported in some environments
[ http://jira.xwiki.org/jira/browse/XWIKI-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20073 ] Sergiu Dumitriu commented on XWIKI-1945: Found this: http://webomania.wordpress.com/2006/10/01/out-of-range-value-adjusted-for-column-error/ This means that a quick fix would be to do what is said in the blog post, define the sql_mode variable in my.cnf The proper fix would be to see why isn't the query generated by hibernate valid... Data truncation reported in some environments - Key: XWIKI-1945 URL: http://jira.xwiki.org/jira/browse/XWIKI-1945 Project: XWiki Platform Issue Type: Bug Components: Storage Affects Versions: 1.2 RC1 Environment: mysql Reporter: Sergiu Dumitriu Assigned To: Sergiu Dumitriu Fix For: 1.2 RC2 Attachments: XWIKI-1945-exception.log Some users reported the following error when installing XWiki with mysql: java.sql.BatchUpdateException: Data truncation: Out of range value adjusted for column 'XWD_MINOREDIT' at row 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Created: (XWATCH-82) Article number in the feed tree is not set to 0 when all articles are read
Article number in the feed tree is not set to 0 when all articles are read -- Key: XWATCH-82 URL: http://jira.xwiki.org/jira/browse/XWATCH-82 Project: XWiki Watch Issue Type: Bug Components: Other Affects Versions: 1.0M2 Reporter: Anca Paula Luca It is because the query for unread articles takes into account only the feeds that have at least one unread article. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Assigned: (XWATCH-82) Article number in the feed tree is not set to 0 when all articles are read
[ http://jira.xwiki.org/jira/browse/XWATCH-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anca Paula Luca reassigned XWATCH-82: - Assignee: Anca Paula Luca Article number in the feed tree is not set to 0 when all articles are read -- Key: XWATCH-82 URL: http://jira.xwiki.org/jira/browse/XWATCH-82 Project: XWiki Watch Issue Type: Bug Components: Other Affects Versions: 1.0M2 Reporter: Anca Paula Luca Assigned To: Anca Paula Luca It is because the query for unread articles takes into account only the feeds that have at least one unread article. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6340 - xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client
Author: lucaa Date: 2007-12-11 17:24:12 +0100 (Tue, 11 Dec 2007) New Revision: 6340 Modified: xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Config.java xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Watch.java Log: Restored the way reloading the article number was made (i.e. as a background job, without displaying the loading dialog) Modified: xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Config.java === --- xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Config.java 2007-12-11 12:06:16 UTC (rev 6339) +++ xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Config.java 2007-12-11 16:24:12 UTC (rev 6340) @@ -138,12 +138,11 @@ public void refreshArticleNumber() { // Load the article counts -watch.getDataManager().getArticleCount(new XWikiAsyncCallback(watch) { +watch.getDataManager().getArticleCount(new AsyncCallback() { public void onFailure(Throwable throwable) { // Silent error } public void onSuccess(Object result) { -super.onSuccess(result); // Update the article list with the current results updateArticleNumbers((List) result); watch.getUserInterface().refreshData(feedtree); Modified: xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Watch.java === --- xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Watch.java 2007-12-11 12:06:16 UTC (rev 6339) +++ xwiki-products/xwiki-watch/trunk/web/src/main/java/com/xpn/xwiki/watch/client/Watch.java 2007-12-11 16:24:12 UTC (rev 6340) @@ -250,8 +250,6 @@ */ public void refreshArticleList() { userInterface.refreshData(articlelist); -//refresh article number which will refresh the feedtree as well. -config.refreshArticleNumber(); newArticlesMonitoring.stopBlinking(); } @@ -291,6 +289,8 @@ getFilterStatus().setFeed(feed); getFilterStatus().setGroup(null); getFilterStatus().setStart(0); +//also refresh the tree, to set the current selected feed +refreshFeedTree(); refreshArticleList(); } ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6341 - xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchQueries
Author: lucaa Date: 2007-12-11 17:46:05 +0100 (Tue, 11 Dec 2007) New Revision: 6341 Modified: xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchQueries/ArticleNumber Log: XWATCH-82: updated the ArticleNumber query to return all the feeds, including the one with 0 unread articles. Modified: xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchQueries/ArticleNumber === --- xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchQueries/ArticleNumber 2007-12-11 16:24:12 UTC (rev 6340) +++ xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchQueries/ArticleNumber 2007-12-11 16:46:05 UTC (rev 6341) @@ -53,5 +53,5 @@ tags/ /property /object -contentselect entry.feedname, count(*) from XWiki.FeedEntryClass as entry, XWikiDocument as doc, BaseObject as obj where doc.fullName=obj.name and obj.id=entry.id and doc.web='${request.space}' and (entry.read is null or entry.read=0) group by entry.feedname/content +contentselect entry.feedname, sum(1-coalesce(entry.read,0)) from XWiki.FeedEntryClass as entry, XWikiDocument as doc, BaseObject as obj where doc.fullName=obj.name and obj.id=entry.id and doc.web='${request.space}' group by entry.feedname/content /xwikidoc ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Closed: (XWATCH-82) Article number in the feed tree is not set to 0 when all articles are read
[ http://jira.xwiki.org/jira/browse/XWATCH-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume closed XWATCH-82. --- Fix Version/s: 1.0M3 Resolution: Fixed Article number in the feed tree is not set to 0 when all articles are read -- Key: XWATCH-82 URL: http://jira.xwiki.org/jira/browse/XWATCH-82 Project: XWiki Watch Issue Type: Bug Components: Other Affects Versions: 1.0M2 Reporter: Anca Paula Luca Assigned To: Anca Paula Luca Fix For: 1.0M3 It is because the query for unread articles takes into account only the feeds that have at least one unread article. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Reopened: (XWIKI-564) Export pages in HTML, in a zip file
[ http://jira.xwiki.org/jira/browse/XWIKI-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mortagne reopened XWIKI-564: --- Temporary directory created to create the zip package is not deleted. Export pages in HTML, in a zip file --- Key: XWIKI-564 URL: http://jira.xwiki.org/jira/browse/XWIKI-564 Project: XWiki Platform Issue Type: New Feature Components: Packaging Affects Versions: 1.0 B1 Reporter: Vincent Massol Assigned To: Thomas Mortagne Fix For: 1.3 M1 It would be nice to offer the possibility of exporting rendered xwiki pages as HTML. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-43) Press review publishing to a blog
[ http://jira.xwiki.org/jira/browse/XWATCH-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-43: Fix Version/s: 1.0M4 (was: 1.0M3) Press review publishing to a blog - Key: XWATCH-43 URL: http://jira.xwiki.org/jira/browse/XWATCH-43 Project: XWiki Watch Issue Type: New Feature Components: Press Review Affects Versions: 1.0M1 Reporter: Ludovic Dubost Fix For: 1.0M4 1) Press Review to a blog should work first to a XWiki blog 2) In the PRess Review Wizard a Blog This button is added next to html, pdf... 3) the output is a static list that can easily be embedded into a blog post -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6342 - xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/export/html
Author: tmortagne Date: 2007-12-11 17:55:44 +0100 (Tue, 11 Dec 2007) New Revision: 6342 Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/export/html/HtmlPackager.java Log: XWIKI-564: Export pages in HTML, in a zip file * Temporary directory created to create the zip package is not deleted. Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/export/html/HtmlPackager.java === --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/export/html/HtmlPackager.java 2007-12-11 16:46:05 UTC (rev 6341) +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/export/html/HtmlPackager.java 2007-12-11 16:55:44 UTC (rev 6342) @@ -176,9 +176,43 @@ // Finish zip file zos.finish(); zos.flush(); + +// Delete temporary directory +deleteDirectory(tempdir); } /** + * Delete a directory and all with all it's content. + * + * @param directory the directory to delete. + */ +private static void deleteDirectory(File directory) +{ +if (!directory.isDirectory()) { +return; +} + +File[] files = directory.listFiles(); + +if (files == null) { +return; +} + +for (int i = 0; i files.length; ++i) { +File file = files[i]; + +if (file.isDirectory()) { +deleteDirectory(file); +continue; +} + +file.delete(); +} + +directory.delete(); +} + +/** * Add skin to the package in sub-directory skins. * * @param skinName the name of the skin. ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-20) Display recent comments in Watch user interface
[ http://jira.xwiki.org/jira/browse/XWATCH-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-20: Fix Version/s: 1.0M4 (was: 1.0M3) Display recent comments in Watch user interface --- Key: XWATCH-20 URL: http://jira.xwiki.org/jira/browse/XWATCH-20 Project: XWiki Watch Issue Type: New Feature Components: Other Affects Versions: 1.0M1 Reporter: Ludovic Dubost Fix For: 1.0M4 1) a panel entry at the bottom left of the page (under the group list) shows the 5 last comments along with their author name, its date and the name of the concerned feed. 2) a all comments link let the user see the full list of comments, initially sorted by date. This page uses the new filterable table available in XWiki to provide for more flexibility. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-50) Create an Extract field just above the comments field (article view)
[ http://jira.xwiki.org/jira/browse/XWATCH-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-50: Fix Version/s: 1.0M4 (was: 1.0M3) Create an Extract field just above the comments field (article view) -- Key: XWATCH-50 URL: http://jira.xwiki.org/jira/browse/XWATCH-50 Project: XWiki Watch Issue Type: Improvement Components: Article List, Press Review Affects Versions: 1.0M2 Reporter: Guillaume Priority: Critical Fix For: 1.0M4 1) You can append an extract (copy paste) or a summary (typed) of the article you've read to that article 2) It is possible to edit this field easily by clicking again (the same way you can edit tags) 3) This extract / summary field can be displayed below the article when generating the Press Review This field is different from the comments field for the following reason: while comments are about starting a discussion, the extract field would be a place where to put a summary of the article that would remain on the wiki (specifically in the case of articles that become private after a few days) In the context of Wiki integration this would provide a space on article pages to enrich their content directly at the source. Extract fields would have to be searchable. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-15) Allow to configure press reviews
[ http://jira.xwiki.org/jira/browse/XWATCH-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-15: Fix Version/s: 1.0M4 (was: 1.0M3) Allow to configure press reviews Key: XWATCH-15 URL: http://jira.xwiki.org/jira/browse/XWATCH-15 Project: XWiki Watch Issue Type: Task Components: Press Review Affects Versions: 1.0M1 Reporter: Ludovic Dubost Priority: Minor Fix For: 1.0M4 It should be possible to configure different format of press reviews -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Assigned: (XWATCH-49) Clicking on a word in text analysis launches a search on that word
[ http://jira.xwiki.org/jira/browse/XWATCH-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume reassigned XWATCH-49: --- Assignee: Anca Paula Luca Clicking on a word in text analysis launches a search on that word -- Key: XWATCH-49 URL: http://jira.xwiki.org/jira/browse/XWATCH-49 Project: XWiki Watch Issue Type: Improvement Components: Analysis Affects Versions: 1.0M2 Reporter: Guillaume Assigned To: Anca Paula Luca Fix For: 1.0M3 1) Clicking on a word in the text analysis launches a search on that word 2) a small icon next to each word let people choose to make this word a Keyword (opens the keyword wizard with the keyword name already filled in) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Assigned: (XWATCH-37) Add the PREVIOUS / NEXT buttons at the bottom of the reader too
[ http://jira.xwiki.org/jira/browse/XWATCH-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume reassigned XWATCH-37: --- Assignee: Anca Paula Luca Add the PREVIOUS / NEXT buttons at the bottom of the reader too --- Key: XWATCH-37 URL: http://jira.xwiki.org/jira/browse/XWATCH-37 Project: XWiki Watch Issue Type: Improvement Affects Versions: 1.0M2 Reporter: Guillaume Assigned To: Anca Paula Luca Priority: Minor Fix For: 1.0M3 Simply adding those 2 buttons at the bottom of the feed list while keeping those at the top. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-38) When a feed does not have a favicon it displays an image missing error
[ http://jira.xwiki.org/jira/browse/XWATCH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-38: Description: The suggested solution is to retrieve the favicon on the server and check wether a favicon is available or not. If no favicon is available, we should provide a standard one (maybe a nice XWiki favicon as the one on XWiki.com) was:The suggested solution was to retrieve the favicon on the server, check wether there were a favicon or not and act subsequently. When a feed does not have a favicon it displays an image missing error -- Key: XWATCH-38 URL: http://jira.xwiki.org/jira/browse/XWATCH-38 Project: XWiki Watch Issue Type: Bug Components: Article List Affects Versions: 1.0M2 Reporter: Guillaume Fix For: 1.0M3 The suggested solution is to retrieve the favicon on the server and check wether a favicon is available or not. If no favicon is available, we should provide a standard one (maybe a nice XWiki favicon as the one on XWiki.com) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Assigned: (XWATCH-38) When a feed does not have a favicon it displays an image missing error
[ http://jira.xwiki.org/jira/browse/XWATCH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume reassigned XWATCH-38: --- Assignee: Anca Paula Luca When a feed does not have a favicon it displays an image missing error -- Key: XWATCH-38 URL: http://jira.xwiki.org/jira/browse/XWATCH-38 Project: XWiki Watch Issue Type: Bug Components: Article List Affects Versions: 1.0M2 Reporter: Guillaume Assigned To: Anca Paula Luca Fix For: 1.0M3 The suggested solution is to retrieve the favicon on the server and check wether a favicon is available or not. If no favicon is available, we should provide a standard one (maybe a nice XWiki favicon as the one on XWiki.com) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XWATCH-41) Portal Mode
[ http://jira.xwiki.org/jira/browse/XWATCH-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume updated XWATCH-41: Fix Version/s: 1.0M4 (was: 1.0M3) Portal Mode --- Key: XWATCH-41 URL: http://jira.xwiki.org/jira/browse/XWATCH-41 Project: XWiki Watch Issue Type: Improvement Components: Press Review Affects Versions: 1.0M2 Reporter: Guillaume Fix For: 1.0M4 The aim would be to add a portal setting that people could choose to activate to create a space where a list of articles generated from the press review would be publicly available. 1) When the portal setting is activated all generated press reviews (PDF, HTML, RSS) are public pages -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Closed: (XWIKI-564) Export pages in HTML, in a zip file
[ http://jira.xwiki.org/jira/browse/XWIKI-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mortagne closed XWIKI-564. - Resolution: Fixed Export pages in HTML, in a zip file --- Key: XWIKI-564 URL: http://jira.xwiki.org/jira/browse/XWIKI-564 Project: XWiki Platform Issue Type: New Feature Components: Packaging Affects Versions: 1.0 B1 Reporter: Vincent Massol Assigned To: Thomas Mortagne Fix For: 1.3 M1 It would be nice to offer the possibility of exporting rendered xwiki pages as HTML. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Created: (XWATCH-83) Implement an model-based and event based refresh mechanism for XWiki Watch ui
Implement an model-based and event based refresh mechanism for XWiki Watch ui - Key: XWATCH-83 URL: http://jira.xwiki.org/jira/browse/XWATCH-83 Project: XWiki Watch Issue Type: Task Components: Other Affects Versions: 1.0M2 Reporter: Anca Paula Luca The current mechanism of getting data from the wiki and displaying it in the feed reader interface should be replaced with a new one that would meet the following requirements: - allow a model based user interface: right now, some widgets are extracting their own data in from the wiki and only display it, without storing it in a model. The advantages of a model based approach would be the deletion of all DataManager calls in the ui and the possibility of optimized interface updates based on old data and newly fetched one - in the current implementation, there is high coupling between widgets and the controller (Watch): the controller refreshes widgets and widgets refresh each other on various changes of the data. We need an event based mechanism: the controller published data changes events and the widgets subscribe to these events and update accordingly. - there are various places in the code where data or ui refresh is requested, other than the controller and there should be none. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Created: (XE-162) Permission Rights
Permission Rights -- Key: XE-162 URL: http://jira.xwiki.org/jira/browse/XE-162 Project: XWiki Enterprise Issue Type: Bug Components: Administration Application Affects Versions: 1.2 RC1 Environment: Windows XP, Internal Database Reporter: Mattia Colagrossi If you Deny View permission and deny also the edit and Admin permission (all the checkboxes have the red deny symbol) that user/ group of user GRANT those permission and COULD view, edit and admin the entire wiki. To solve it, just deny the view permission and DON'T deny the others, due to they are AUTOMATICALLY denied. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6343 - xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross
Author: sdumitriu Date: 2007-12-11 19:22:12 +0100 (Tue, 11 Dec 2007) New Revision: 6343 Modified: xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm Log: XWIKI-1917: Document does not exist message always displays the content of the recycle bin, even when empty Fixed. Merged from [EMAIL PROTECTED] (Thought I committed this in the 1.2 branch, too) Modified: xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm === --- xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm 2007-12-11 16:55:44 UTC (rev 6342) +++ xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm 2007-12-11 18:22:12 UTC (rev 6343) @@ -1,9 +1,9 @@ ### Show list of deleted documents #set($dds=$xwiki.getDeletedDocuments($tdoc.getFullName(), $tdoc.getLanguage())) -#if($dds) -center +#if($dds ($dds.size() 0)) +div class=centered p$msg.get(core.recyclebin.showlistmsg)/p -table +table class=centered thead tr th$msg.get(core.recyclebin.deleter)/td @@ -29,5 +29,5 @@ #end /tbody /table -/center +/div #end ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] [Issue] Updated: (XECLIPSE-84) Invalid version displayed when editing a page
[ http://jira.xwiki.org/jira/browse/XECLIPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Mancinelli updated XECLIPSE-84: - Attachment: XECLIPSE-84.patch Patch to fix the issue Invalid version displayed when editing a page - Key: XECLIPSE-84 URL: http://jira.xwiki.org/jira/browse/XECLIPSE-84 Project: XWiki Eclipse Integration Issue Type: Bug Affects Versions: 1.0.1 Reporter: Vincent Massol Attachments: Picture 1.png, XECLIPSE-84.patch See attachment -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ___ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications
[xwiki-notifications] r6344 - in xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt: client server
Author: dward Date: 2007-12-11 22:54:44 +0100 (Tue, 11 Dec 2007) New Revision: 6344 Modified: xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/client/Constants.java xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java Log: - CURRIKI-1161 - Replace Default collection with Favorites collection - Favorites collection must always exist (or be created if it doesn't) - Favorites collection has ICT value resource_collection by default Modified: xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/client/Constants.java === --- xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/client/Constants.java 2007-12-11 18:22:12 UTC (rev 6343) +++ xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/client/Constants.java 2007-12-11 21:54:44 UTC (rev 6344) @@ -115,7 +115,7 @@ obj.className='+ MIMETYPE_CLASS + ' + and doc.fullName=obj.name; -public static final String DEFAULT_COLLECTION_PAGE = Default; +public static final String DEFAULT_COLLECTION_PAGE = Favorites; public static final String ROOT_COLLECTION_PAGE = WebHome; Modified: xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java === --- xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java 2007-12-11 18:22:12 UTC (rev 6343) +++ xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java 2007-12-11 21:54:44 UTC (rev 6344) @@ -170,13 +170,11 @@ createRootCollection(space, context); } -/* CURRIKI-816 - No longer create DEFAULT collection when creating another collection if (!pageName.equals(Constants.DEFAULT_COLLECTION_PAGE)){ if (!isDefaultCollectionExists(space)){ createDefaultCollection(space); } } -*/ Document doc; if (pageName.equals(Constants.DEFAULT_COLLECTION_PAGE)){ @@ -202,14 +200,17 @@ obj.set(Constants.ASSET_CATEGORY_PROPERTY, Constants.CATEGORY_COLLECTION, context); obj.set(Constants.ASSET_TITLE_PROPERTY, pageTitle, context); if (doc.getName().equals(Constants.DEFAULT_COLLECTION_PAGE)){ -String username = context.getUser(); -XWikiDocument userdoc = context.getWiki().getDocument(username, context); -BaseObject userobj = userdoc.getObject(XWiki.XWikiUsers); -pageTitle = userobj.getStringValue(first_name) + 's + context.getMessageTool().get(default_collection); +pageTitle = context.getMessageTool().get(mycurriki.favorites.collection.title); obj.setStringValue(Constants.ASSET_TITLE_PROPERTY, pageTitle); +pageTitle = context.getMessageTool().get(mycurriki.favorites.collection.description); obj.setLargeStringValue(Constants.ASSET_DESCRIPTION_PROPERTY, pageTitle); obj.setIntValue(Constants.ASSET_HIDE_FROM_SEARCH_PROPERTY, 1); +// we select the Resource: Reference Collection ICT value +List ictList = new ArrayList(); +ictList.add(resource_collection); + obj.setDBStringListValue(Constants.ASSET_INSTRUCTIONAL_COMPONENT_PROPERTY, ictList); + // we select the Other the education level List eduList = new ArrayList(); eduList.add(na); @@ -362,31 +363,10 @@ String user = context.getUser(); String space = Coll_+user.replaceFirst(XWiki., ); -/* CURRIKI-816 - * No longer create DEFAULT collection automatically if any other collection exists - * but create it if one does not exist - */ if (!isRootCollectionExists(space, context)){ createDefaultCollection(space); -} else { -XWikiDocument doc = context.getWiki().getDocument(space+.+Constants.ROOT_COLLECTION_PAGE, context); -if (doc.getObjectNumbers(Constants.SUBASSET_CLASS) == 0){ -createDefaultCollection(space); -} else { -// Work around a bug XWIKI-1624 -// TODO: Remove the work-around once XWIKI-1624 is fixed -List subAssets = doc.getObjects(Constants.SUBASSET_CLASS); -Iterator i = subAssets.iterator(); -int count = 0; -while (i.hasNext() count == 0){ -if (i.next() != null){ -count++; -} -} -if (count == 0){ -createDefaultCollection(space); -} -