[jboss-cvs] jboss-seam/examples/wiki/src/etc ...

Christian Bauer christian at hibernate.org
Tue Nov 13 08:04:18 EST 2007


  User: cbauer  
  Date: 07/11/13 08:04:18

  Modified:    examples/wiki/src/etc  import-prod.sql
  Log:
  Upgraded to AS 4.2.2, reduced recommended session timeout
  
  Revision  Changes    Path
  1.16      +2 -2      jboss-seam/examples/wiki/src/etc/import-prod.sql
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: import-prod.sql
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/import-prod.sql,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- import-prod.sql	24 Sep 2007 08:23:24 -0000	1.15
  +++ import-prod.sql	13 Nov 2007 13:04:18 -0000	1.16
  @@ -84,7 +84,7 @@
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NS_THREAD, NS_LEFT, NS_RIGHT, DISPLAY_POSITION) values  (3, 'DIRECTORY', 1, 1, 3, 1, 0, 'LaceWiki Home', 'LaceWikiHome', true, '2005-06-27 13:45:00', '2005-06-27 13:45:00', 0, 0, 1, 4, 7, 1)
   insert into NODE_DIRECTORY (DIRECTORY_ID, DEFAULT_DOCUMENT_ID) values (3, null)
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NS_THREAD, NS_LEFT, NS_RIGHT, DISPLAY_POSITION)  values (4, 'DOCUMENT', 1, 1, 3, 3, 0, 'Welcome!', 'Welcome', true,'2005-06-27 13:45:00', '2005-06-27 13:45:00', 0, 0, 1, 5, 6, 0)
  -insert into NODE_DOCUMENT (DOCUMENT_ID, CONTENT, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM, PLUGINS_USED) values (4, 'You need to login as /admin/ with password /admin/ to change settings.@@LF@@@@LF@@Do not forget to change the admin password!', true, false, false, '')
  +insert into NODE_DOCUMENT (DOCUMENT_ID, CONTENT, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM, ENABLE_COMMENTS_ON_FEEDS, MACROS) values (4, 'You need to login as /admin/ with password /admin/ to change settings.@@LF@@@@LF@@Do not forget to change the admin password!@@LF@@@@LF@@If you haven't updated it already, change the base URL of your installation in the administration screen.', true, false, false, false, '')
   update NODE_DIRECTORY set DEFAULT_DOCUMENT_ID = 4 where DIRECTORY_ID = 3
   
   -- Help documents
  @@ -95,7 +95,7 @@
   insert into NODE_DIRECTORY (DIRECTORY_ID, DEFAULT_DOCUMENT_ID) values (71, null)
   
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NS_THREAD, NS_LEFT, NS_RIGHT, DISPLAY_POSITION) values  (72, 'DOCUMENT', 1, 1, 70, 71, 0, 'Wiki Text Markup', 'WikiTextMarkup', true, '2007-04-01 13:02:03', '2007-04-01 13:02:03', 1000, 0, 1, 10, 11, 0)
  -insert into NODE_DOCUMENT (DOCUMENT_ID, CONTENT, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM, PLUGINS_USED) values (72, 'Most content on this website (blogs, blog comments, wiki pages, user profiles) is rendered using the [Seam Text=>http://docs.jboss.com/seam/latest/reference/en/html/text.html] engine. If you are creating content, it helps to know a few simple tricks.@@LF@@@@LF@@++ Basic formatting@@LF@@@@LF@@You can emphasize words using /italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.@@LF@@@@LF@@`You can emphasize words using @@LF@@/italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.`@@LF@@@@LF@@But if you really want to type a special character such as \/, \* or \+, you need to escape it with a \\.@@LF@@@@LF@@`But if you really want to type a special character @@LF@@such as \/, \* or \+, you need to escape it with a \\.`@@LF@@@@LF@@Alternatively, you can use special characters freely inside |monospace text|.@@LF@@@@LF@@`Alternatively, you!
  can use special characters freely @@LF@@inside |monospace text|.`@@LF@@@@LF@@++ Block formatting@@LF@@@@LF@@Of course, you can also use "inline quotes".@@LF@@@@LF@@"And block quotes."@@LF@@@@LF@@And split text across several paragraphs.@@LF@@@@LF@@`Of course, you can also use "inline quotes".@@LF@@@@LF@@"And block quotes."@@LF@@@@LF@@And split text across several paragraphs.`@@LF@@@@LF@@You can create@@LF@@@@LF@@= unorderedlists@@LF@@= of stuff@@LF@@= like this@@LF@@@@LF@@or@@LF@@@@LF@@# numbered lists@@LF@@# of other things@@LF@@@@LF@@`You can create@@LF@@@@LF@@= unordered lists@@LF@@= of stuff@@LF@@= like this@@LF@@@@LF@@or@@LF@@@@LF@@# numbered lists@@LF@@# of other things`@@LF@@@@LF@@A third option for embedding text that uses special characters is to use a code block, delimited by backticks. For example:@@LF@@@@LF@@`for (int i=0; i<100; i++) {@@LF@@   log.info("Hello world!");@@LF@@}`@@LF@@@@LF@@+ Here is a first-level heading@@LF@@@@LF@@Here is a normal paragraph.@@L!
 F@@@@LF@@++ Here is a second-level heading@@LF@@@@LF@@And another para
graph.@@LF@@@@LF@@`+ Here is a first-level heading@@LF@@@@LF@@Here is a normal paragraph.@@LF@@@@LF@@++ Here is a second-level heading@@LF@@@@LF@@And another paragraph.`@@LF@@@@LF@@++ Links@@LF@@@@LF@@The wiki has powerful handling for links. @@LF@@@@LF@@You can create a simple link to [=>http://hibernate.org] or attach the link to [some text=>http://hibernate.org].@@LF@@@@LF@@`You can create a simple link to [=>http://hibernate.org] @@LF@@or attach the link to [some text=>http://hibernate.org].`@@LF@@@@LF@@You can easily link to [=>wiki://2359] which is actually [this page=>wiki://2359] or to [any other page=>wiki://1449] on the wiki.@@LF@@@@LF@@<pre>You can easily link to \[\=\>Seam Text\] which is actually @@LF@@\[this page\=\>Seam Text\] or to \[any other page\=\>Bloggers\|Gavin\] @@LF@@on the wiki.</pre>@@LF@@@@LF@@You can embed images like this:@@LF@@@@LF@@[=>wiki://2280]@@LF@@@@LF@@<pre>\[\=\>Bloggers\|Copper Ridge\]</pre>@@LF@@@@LF@@You can even link to a [Hibernate !
 JIRA issue=>hhh://2702], or a [Seam JIRA issue=>jbseam://1920].@@LF@@@@LF@@`You can even link to a [Hibernate JIRA issue=>hhh://2702], @@LF@@or a [Seam JIRA issue=>jbseam://1920].`@@LF@@@@LF@@++ Embedded HTML@@LF@@@@LF@@You can even use <i>many</i> HTML tags directly, but <b>not</b> tags that would create a security vulnerability!@@LF@@@@LF@@`You can even use <i>many</i> HTML tags directly, @@LF@@but <b>not</b> tags that would create a @@LF@@security vulnerability!`', true, false, false, '')
  +insert into NODE_DOCUMENT (DOCUMENT_ID, CONTENT, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM, ENABLE_COMMENTS_ON_FEEDS, MACROS) values (72, 'Most content on this website (blogs, blog comments, wiki pages, user profiles) is rendered using the [Seam Text=>http://docs.jboss.com/seam/latest/reference/en/html/text.html] engine. If you are creating content, it helps to know a few simple tricks.@@LF@@@@LF@@++ Basic formatting@@LF@@@@LF@@You can emphasize words using /italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.@@LF@@@@LF@@`You can emphasize words using @@LF@@/italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.`@@LF@@@@LF@@But if you really want to type a special character such as \/, \* or \+, you need to escape it with a \\.@@LF@@@@LF@@`But if you really want to type a special character @@LF@@such as \/, \* or \+, you need to escape it with a \\.`@@LF@@@@LF@@Alternatively, you can use special characters freely inside |monospace text|.@@LF@@@@LF@!
 @`Alternatively, you can use special characters freely @@LF@@inside |monospace text|.`@@LF@@@@LF@@++ Block formatting@@LF@@@@LF@@Of course, you can also use "inline quotes".@@LF@@@@LF@@"And block quotes."@@LF@@@@LF@@And split text across several paragraphs.@@LF@@@@LF@@`Of course, you can also use "inline quotes".@@LF@@@@LF@@"And block quotes."@@LF@@@@LF@@And split text across several paragraphs.`@@LF@@@@LF@@You can create@@LF@@@@LF@@= unorderedlists@@LF@@= of stuff@@LF@@= like this@@LF@@@@LF@@or@@LF@@@@LF@@# numbered lists@@LF@@# of other things@@LF@@@@LF@@`You can create@@LF@@@@LF@@= unordered lists@@LF@@= of stuff@@LF@@= like this@@LF@@@@LF@@or@@LF@@@@LF@@# numbered lists@@LF@@# of other things`@@LF@@@@LF@@A third option for embedding text that uses special characters is to use a code block, delimited by backticks. For example:@@LF@@@@LF@@`for (int i=0; i<100; i++) {@@LF@@   log.info("Hello world!");@@LF@@}`@@LF@@@@LF@@+ Here is a first-level heading@@LF@@@@LF@@Here is a !
 normal paragraph.@@LF@@@@LF@@++ Here is a second-level heading@@LF@@@@
LF@@And another paragraph.@@LF@@@@LF@@`+ Here is a first-level heading@@LF@@@@LF@@Here is a normal paragraph.@@LF@@@@LF@@++ Here is a second-level heading@@LF@@@@LF@@And another paragraph.`@@LF@@@@LF@@++ Links@@LF@@@@LF@@The wiki has powerful handling for links. @@LF@@@@LF@@You can create a simple link to [=>http://hibernate.org] or attach the link to [some text=>http://hibernate.org].@@LF@@@@LF@@`You can create a simple link to [=>http://hibernate.org] @@LF@@or attach the link to [some text=>http://hibernate.org].`@@LF@@@@LF@@You can easily link to [=>wiki://2359] which is actually [this page=>wiki://2359] or to [any other page=>wiki://1449] on the wiki.@@LF@@@@LF@@<pre>You can easily link to \[\=\>Seam Text\] which is actually @@LF@@\[this page\=\>Seam Text\] or to \[any other page\=\>Bloggers\|Gavin\] @@LF@@on the wiki.</pre>@@LF@@@@LF@@You can embed images like this:@@LF@@@@LF@@[=>wiki://2280]@@LF@@@@LF@@<pre>\[\=\>Bloggers\|Copper Ridge\]</pre>@@LF@@@@LF@@You can even l!
 ink to a [Hibernate JIRA issue=>hhh://2702], or a [Seam JIRA issue=>jbseam://1920].@@LF@@@@LF@@`You can even link to a [Hibernate JIRA issue=>hhh://2702], @@LF@@or a [Seam JIRA issue=>jbseam://1920].`@@LF@@@@LF@@++ Embedded HTML@@LF@@@@LF@@You can even use <i>many</i> HTML tags directly, but <b>not</b> tags that would create a security vulnerability!@@LF@@@@LF@@`You can even use <i>many</i> HTML tags directly, @@LF@@but <b>not</b> tags that would create a @@LF@@security vulnerability!`', true, false, false, false, '')
   
   -- More MySQL magic!
   set session sql_mode=''
  
  
  



More information about the jboss-cvs-commits mailing list