You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2013/06/08 16:05:28 UTC
svn commit: r1490981 [2/3] - in /archiva/site-content: ./ developers/
errors/ jsui/
Modified: archiva/site-content/index.html
URL: http://svn.apache.org/viewvc/archiva/site-content/index.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/index.html (original)
+++ archiva/site-content/index.html Sat Jun 8 14:05:28 2013
@@ -9,7 +9,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Brett Porter" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva -
The Build Artifact Repository Manager</title>
@@ -207,7 +207,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -233,97 +233,151 @@
~ specific language governing permissions and limitations
~ under the License. -->
- <div class="newsBox">
- <div class="hero-unit">
+
+<div class="newsBox">
+
+<div class="hero-unit">
<span class="bignumber badge badge-warning">NEW</span>
- <p><b>1st Jun 2013 release of 1.4-M4 with user management new features see screenshots below
+
+<p><b>1st Jun 2013 release of 1.4-M4 with user management new features see screenshots below
and <a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/adminguide/redback-runtime-configuration.html">documentation</a></b></p>
</div>
</div>
- <div id="carousel-main">
+
+<div id="carousel-main">
- <div id="screenshots-carousel" class="carousel slide span10">
+
+<div id="screenshots-carousel" class="carousel slide span10">
<!-- Carousel items -->
- <div class="carousel-inner">
- <div class="item active">
+
+<div class="carousel-inner">
+
+<div class="item active">
<img src="http://archiva.apache.org/docs/1.4-M4/images/ldap-configuration.png" alt="" height="120px" />
- <div class="carousel-caption">
- <p>Dynamic LDAP Configuration.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/adminguide/redback-runtime-configuration.html">View all.</a></p>
+
+<div class="carousel-caption">
+
+<p>Dynamic LDAP Configuration.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/adminguide/redback-runtime-configuration.html">View all.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/ldap-group-roles-mapping.png" alt="" />
- <div class="carousel-caption">
- <p>Dynamic LDAP Group-Roles mapping Configuration.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/adminguide/redback-runtime-configuration.html">View all.</a></p>
+
+<div class="carousel-caption">
+
+<p>Dynamic LDAP Group-Roles mapping Configuration.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/adminguide/redback-runtime-configuration.html">View all.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/project-info.png" alt="" />
- <div class="carousel-caption">
- <p>Informative display for artifacts stored in the repository.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Informative display for artifacts stored in the repository.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/search-form.png" alt="" />
- <div class="carousel-caption">
- <p>User-friendly browsing interface, and powerful search functionalities.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>User-friendly browsing interface, and powerful search functionalities.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/search-results.png" alt="" />
- <div class="carousel-caption">
- <p>Filterable search results.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Filterable search results.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/browse.png" alt="" />
- <div class="carousel-caption">
- <p>Browse interface.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Browse interface.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/remote-proxy-cache.png" alt="" />
- <div class="carousel-caption">
- <p>Drag & drop remote proxies ordering.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Drag & drop remote proxies ordering.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/upload-files.png" alt="" />
- <div class="carousel-caption">
- <p>Drag & drop upload artifacts via UI.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Drag & drop upload artifacts via UI.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/tour/graphical-admin.png" alt="" />
- <div class="carousel-caption">
- <p>Comprehensive web-based administration interface.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Comprehensive web-based administration interface.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
- <div class="item">
+
+<div class="item">
<img src="http://archiva.apache.org/docs/1.4-M4/images/proxy-connectors-rules.png" alt="" />
- <div class="carousel-caption">
- <p>Bulk update of your black/while list when fetching remote repositories.</p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
- <p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
+
+<div class="carousel-caption">
+
+<p>Bulk update of your black/while list when fetching remote repositories.</p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/tour/index.html">View all.</a></p>
+
+<p><a class="externalLink" href="http://archiva.apache.org/docs/1.4-M4/index.html">View new documentation.</a></p>
</div>
</div>
@@ -334,8 +388,11 @@
<a name="carousel-next" class="right carousel-control" id="carousel-next">›</a>
</div>
</div>
- <div class="section"><h2>Apache Archiva™: The Build Artifact Repository Manager<a name="Apache_Archiva:_The_Build_Artifact_Repository_Manager"></a></h2>
- <p>
+
+<div class="section">
+<h2>Apache Archiva™: The Build Artifact Repository Manager<a name="Apache_Archiva:_The_Build_Artifact_Repository_Manager"></a></h2>
+
+<p>
Apache Archiva™ is an extensible repository management software that
helps taking care of your own personal or enterprise-wide build
artifact repository. It is the perfect companion for build tools such
@@ -344,25 +401,31 @@
and <a class="externalLink" href="http://ant.apache.org/">ANT</a>.
</p>
- <p>
+
+<p>
Archiva offers several capabilities, amongst which remote repository proxying,
security access management, build artifact storage, delivery, browsing, indexing
and usage reporting, extensible scanning functionality… and many more! Get the
latest updates, follow us on twitter <a class="externalLink" href="http://twitter.com/archiva">@archiva</a>.
</p>
- <p>
+
+<p>
And in case you were wondering, it is pronounced <i>ahr-kahy-vuh</i>, like <i>archive</i> but with an <i>a</i>!
</p>
- <div class="mainBox">
- <div class="hero-unit">
+
+<div class="mainBox">
+
+<div class="hero-unit">
<span class="bignumber badge badge-warning">1</span>
- <p>
+
+<p>
<a href="docs/1.3.6/tour/index.html">Take a look around</a>
</p>
- <p>
+
+<p>
<!-- Commenting out while we still don't have a live demo
Try out the live demo, or take a look at the screenshots in the feature walkthrough. -->
Take a look at the screenshots in the feature walkthrough.
@@ -370,14 +433,18 @@
<br style="clear: left" />
</div>
</div>
- <div class="mainBox">
- <div class="hero-unit">
+
+<div class="mainBox">
+
+<div class="hero-unit">
<span class="bignumber badge badge-warning">2</span>
- <p>
+
+<p>
<a href="download.html">Download Archiva</a>
</p>
- <p>
+
+<p>
<span class="expand" style="width: 200px; display: block; float: left;">
<img src="images/collapsed.gif" width="7" height="7" alt="" />
<b>Latest stable release:</b>
@@ -404,14 +471,18 @@
</div>
</div>
- <div class="mainBox">
- <div class="hero-unit">
+
+<div class="mainBox">
+
+<div class="hero-unit">
<span class="bignumber badge badge-warning">3</span>
- <p>
+
+<p>
<a href="docs/1.3.6/index.html">Documentation</a>
</p>
- <p>
+
+<p>
<img src="images/collapsed.gif" width="7" height="7" alt="" />
Simple out of the box configuration and <a href="docs/1.3.6/quick-start.html">quick start guide</a>
<br />
@@ -426,64 +497,98 @@
</p>
</div>
</div>
- <div class="mainBox">
- <div class="hero-unit">
+
+<div class="mainBox">
+
+<div class="hero-unit">
<span class="bignumber badge badge-warning">4</span>
- <p>
+
+<p>
<a href="get-involved.html">Get involved</a>
</p>
- <p>
+
+<p>
Get support from the <a href="mail-lists.html">mailing lists</a> and <a class="externalLink" href="http://cwiki.apache.org/confluence/display/ARCHIVA/">wiki</a>, file <a href="issue-tracking.html">issues</a>, and even <a href="get-involved.html">get involved</a> in the development.
</p>
<br style="clear: left" />
</div>
</div>
- <div>
- <div class="section"><h2>Videos<a name="Videos"></a></h2>
- <div class="section"><div class="section"><h4>Quick start<a name="Quick_start"></a></h4>
- <p align="center">
+
+<div>
+
+<div class="section">
+<h2>Videos<a name="Videos"></a></h2>
+
+<div class="section">
+<div class="section">
+<h4>Quick start<a name="Quick_start"></a></h4>
+
+<p align="center">
<iframe width="420" height="315" src="http://www.youtube.com/embed/kG349qooN8E" frameborder="0" allowfullscreen=""></iframe>
</p>
- </div><div class="section"><h4>Browsing/Uploading/Searching<a name="BrowsingUploadingSearching"></a></h4>
- <p align="center">
+ </div>
+<div class="section">
+<h4>Browsing/Uploading/Searching<a name="BrowsingUploadingSearching"></a></h4>
+
+<p align="center">
<iframe width="420" height="315" src="http://www.youtube.com/embed/y4DoLCfYR-A" frameborder="0" allowfullscreen=""></iframe>
</p>
</div>
</div></div></div>
- <div class="section"><h2>License<a name="License"></a></h2>
- <p>
+
+<div class="section">
+<h2>License<a name="License"></a></h2>
+
+<p>
Archiva is distributed under the <a class="externalLink" href="http://www.apache.org/licenses/">Apache License, version 2.0</a>
</p>
</div>
- <div class="section"><h2>Thanks<a name="Thanks"></a></h2>
- <p>
+
+<div class="section">
+<h2>Thanks<a name="Thanks"></a></h2>
+
+<p>
We would like to thank all the <a class="externalLink" href="http://www.apache.org/foundation/thanks.html">sponsors that provide financial assistance to the Apache Software Foundation</a>.
For more information on how you can support the foundation, see the <a class="externalLink" href="http://www.apache.org/foundation/sponsorship.html">sponsorship</a> page.
</p>
</div>
- <div class="section"><h2>Events<a name="Events"></a></h2>
- <div class="section"><h3>ApacheCon NA 2013<a name="ApacheCon_NA_2013"></a></h3>
- <p>
+
+<div class="section">
+<h2>Events<a name="Events"></a></h2>
+
+<div class="section">
+<h3>ApacheCon NA 2013<a name="ApacheCon_NA_2013"></a></h3>
+
+<p>
<a class="poweredBy" href="http://www.apache.org/events/current-event.html" title="ApacheCon">
<img src="http://www.apache.org/events/logos-banners/ApacheCon-2013-NorthAmerica/NA_square_20.png" class="poweredBy" alt="ApacheCon" title="Apache Con NA" />
</a>
</p>
</div></div>
- <div class="section"><h2>Resources<a name="Resources"></a></h2>
- <p>
+
+<div class="section">
+<h2>Resources<a name="Resources"></a></h2>
+
+<p>
Need more? Try some of these resources.
</p>
- <div>
- <div class="section"><h3>Books<a name="Books"></a></h3>
- <div style="margin-left: auto; margin-right: auto; text-align: center">
- <div style="float: left; width: 50%;">
- <p>
+
+<div>
+
+<div class="section">
+<h3>Books<a name="Books"></a></h3>
+
+<div style="margin-left: auto; margin-right: auto; text-align: center">
+
+<div style="float: left; width: 50%;">
+
+<p>
<a class="externalLink" href="http://www.packtpub.com/apache-maven-2-effective-implementations/book"><img src="images/books/apache_maven_2_effective_implementation.jpg" alt="" /></a><br />
<a class="externalLink" href="http://www.packtpub.com/apache-maven-2-effective-implementations/book">Apache Maven 2: Effective Implementation</a> (Maria Odea Ching, Brett Porter; September 2009)<br />
<span style="font-size: 0.8em">
@@ -491,8 +596,10 @@
</span>
</p>
</div>
- <div style="float: left; width: 50%;">
- <p>
+
+<div style="float: left; width: 50%;">
+
+<p>
<a class="externalLink" href="http://www.wakaleo.com/java-power-tools"><img src="images/books/java_power_tools.gif" alt="" /></a><br />
<a class="externalLink" href="http://www.wakaleo.com/java-power-tools">Java Power Tools</a> (John Smart; April 2008)<br />
<span style="font-size: 0.8em">
@@ -502,50 +609,79 @@
</div>
</div>
</div>
- <div style="clear: left">
- </div><div class="section"><h3>Articles, Presentations and Tutorials<a name="Articles_Presentations_and_Tutorials"></a></h3>
- <ul>
- <li>
+
+<div style="clear: left">
+ </div>
+<div class="section">
+<h3>Articles, Presentations and Tutorials<a name="Articles_Presentations_and_Tutorials"></a></h3>
+
+<ul>
+
+<li>
<a class="externalLink" href="http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=archiva">Archiva 1.1.1 Tutorial in Spanish!</a> - Video also available <a class="externalLink" href="http://www.adictosaltrabajo.com/detalle-noticia.php?noticia=61">here</a> - (Ángel García Jerez; September 2008)
</li>
</ul>
</div>
</div></div>
- <div id="dialogRelease" class="modal hide fade">
- <div class="modal-header">
+
+<div id="dialogRelease" class="modal hide fade">
+
+<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">[×]</button>
- <h1>Archiva 1.3.6</h1>
+
+<h1>Archiva 1.3.6</h1>
</div>
- <div class="modal-body">
- <p>
+
+<div class="modal-body">
+
+<p>
This is the recommended latest release of Archiva.
</p>
- <table border="0" class="table table-striped">
- <tr class="a">
- <th> </th>
- <th>Mirrors</th>
- <th>Checksum</th>
- <th>Signature</th>
+
+<table border="0" class="table table-striped">
+
+<tr class="a">
+
+<th> </th>
+
+<th>Mirrors</th>
+
+<th>Checksum</th>
+
+<th>Signature</th>
</tr>
- <tr class="b">
- <td>Archiva 1.3.6 Standalone</td>
- <td><a href="[preferred]archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip">zip</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip.md5">md5</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip.asc">asc</a></td>
+
+<tr class="b">
+
+<td>Archiva 1.3.6 Standalone</td>
+
+<td><a href="[preferred]archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip">zip</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip.md5">md5</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6-bin.zip.asc">asc</a></td>
</tr>
- <tr class="a">
- <td>Archiva 1.3.6 WAR</td>
- <td><a href="[preferred]archiva/1.3.6/binaries/apache-archiva-1.3.6.war">war</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6.war.md5">md5</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6.war.asc">asc</a></td>
+
+<tr class="a">
+
+<td>Archiva 1.3.6 WAR</td>
+
+<td><a href="[preferred]archiva/1.3.6/binaries/apache-archiva-1.3.6.war">war</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6.war.md5">md5</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.3.6/binaries/apache-archiva-1.3.6.war.asc">asc</a></td>
</tr>
</table>
</div>
- <div class="modal-footer">
- <div class="row">
- <div class="pull-rigth">
+
+<div class="modal-footer">
+
+<div class="row">
+
+<div class="pull-rigth">
<a href="docs/1.3.6/release-notes.html">Release Notes</a> | <a href="download.html">More downloads or change mirror.</a>
</div>
<!-- add mirror change option -->
@@ -575,36 +711,59 @@
</div>
</div>
</div>
- <div id="dialogPreview" class="modal hide fade">
- <div class="modal-header">
+
+<div id="dialogPreview" class="modal hide fade">
+
+<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">[×]</button>
- <h1>Archiva 1.4-M4</h1>
+
+<h1>Archiva 1.4-M4</h1>
</div>
- <div class="modal-body">
- <p>This is a preview of the next release of Archiva.</p>
- <table border="0" class="table table-striped">
- <tr class="a">
- <th> </th>
- <th>Mirrors</th>
- <th>Checksum</th>
- <th>Signature</th>
+
+<div class="modal-body">
+
+<p>This is a preview of the next release of Archiva.</p>
+
+<table border="0" class="table table-striped">
+
+<tr class="a">
+
+<th> </th>
+
+<th>Mirrors</th>
+
+<th>Checksum</th>
+
+<th>Signature</th>
</tr>
- <tr class="b">
- <td>Archiva 1.4-M4 Standalone</td>
- <td><a href="[preferred]archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip">zip</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip.md5">md5</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip.asc">asc</a></td>
+
+<tr class="b">
+
+<td>Archiva 1.4-M4 Standalone</td>
+
+<td><a href="[preferred]archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip">zip</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip.md5">md5</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4-bin.zip.asc">asc</a></td>
</tr>
- <tr class="a">
- <td>Archiva 1.4-M4 WAR</td>
- <td><a href="[preferred]archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war">war</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war.md5">md5</a></td>
- <td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war.asc">asc</a></td>
+
+<tr class="a">
+
+<td>Archiva 1.4-M4 WAR</td>
+
+<td><a href="[preferred]archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war">war</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war.md5">md5</a></td>
+
+<td><a class="externalLink" href="http://www.apache.org/dist/archiva/1.4-M4/binaries/apache-archiva-1.4-M4.war.asc">asc</a></td>
</tr>
</table>
</div>
- <div class="modal-footer">
- <p><a href="docs/1.4-M4/release-notes.html">Release Notes</a> | <a href="download.html">More downloads or change mirror.</a></p>
+
+<div class="modal-footer">
+
+<p><a href="docs/1.4-M4/release-notes.html">Release Notes</a> | <a href="download.html">More downloads or change mirror.</a></p>
</div>
</div>
Modified: archiva/site-content/integration.html
URL: http://svn.apache.org/viewvc/archiva/site-content/integration.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/integration.html (original)
+++ archiva/site-content/integration.html Sat Jun 8 14:05:28 2013
@@ -8,7 +8,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - Continuous Integration</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -204,7 +204,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -213,7 +213,17 @@
<div id="bodyColumn" >
- <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://jenkins-ci.org/">Jenkins</a>.</p></div><div class="section"><h2>Access<a name="Access"></a></h2><a name="Access"></a><p>The following is a link to the continuous integration system used by the project.</p><div class="source"><pre class="prettyprint"><a class="externalLink" href="https://builds.apache.org/view/A-F/view/Archiva/">https://builds.apache.org/view/A-F/view/Archiva/</a></pre></div></div><div class="section"><h2>Notifiers<a name="Notifiers"></a></h2><a name="Notifiers"></a><p>No notifiers are defined. Please check back at a later date.</p></div>
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a>
+<p>This project uses <a class="externalLink" href="http://jenkins-ci.org/">Jenkins</a>.</p></div>
+<div class="section">
+<h2>Access<a name="Access"></a></h2><a name="Access"></a>
+<p>The following is a link to the continuous integration system used by the project.</p>
+<div class="source">
+<pre><a class="externalLink" href="https://builds.apache.org/view/A-F/view/Archiva/">https://builds.apache.org/view/A-F/view/Archiva/</a></pre></div></div>
+<div class="section">
+<h2>Notifiers<a name="Notifiers"></a></h2><a name="Notifiers"></a>
+<p>No notifiers are defined. Please check back at a later date.</p></div>
</div>
</div>
Modified: archiva/site-content/issue-tracking.html
URL: http://svn.apache.org/viewvc/archiva/site-content/issue-tracking.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/issue-tracking.html (original)
+++ archiva/site-content/issue-tracking.html Sat Jun 8 14:05:28 2013
@@ -8,7 +8,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - Issue Tracking</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -204,7 +204,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -213,7 +213,14 @@
<div id="bodyColumn" >
- <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://www.atlassian.com/software/jira">JIRA</a> a J2EE-based, issue tracking and project management application.</p></div><div class="section"><h2>Issue Tracking<a name="Issue_Tracking"></a></h2><a name="Issue_Tracking"></a><p>Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.</p><div class="source"><pre class="prettyprint"><a class="externalLink" href="http://jira.codehaus.org/browse/MRM">http://jira.codehaus.org/browse/MRM</a></pre></div></div>
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a>
+<p>This project uses <a class="externalLink" href="http://www.atlassian.com/software/jira">JIRA</a> a J2EE-based, issue tracking and project management application.</p></div>
+<div class="section">
+<h2>Issue Tracking<a name="Issue_Tracking"></a></h2><a name="Issue_Tracking"></a>
+<p>Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.</p>
+<div class="source">
+<pre><a class="externalLink" href="http://jira.codehaus.org/browse/MRM">http://jira.codehaus.org/browse/MRM</a></pre></div></div>
</div>
</div>
Modified: archiva/site-content/jsui/generics-js.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/generics-js.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/generics-js.html (original)
+++ archiva/site-content/jsui/generics-js.html Sat Jun 8 14:05:28 2013
@@ -9,7 +9,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva -
Generics Javascript</title>
@@ -207,7 +207,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -239,16 +239,34 @@
<link rel="stylesheet" href="../css/jquery.fancybox-2.1.0.css" type="text/css" media="screen" />
<script type="text/javascript" src="../js/fancy-box-activation.js"></script>
- <ul><li><a href="#Generics_Javascript">Generics Javascript</a><ul><li><a href="#User_messages">User messages</a></li><li><a href="#Success_message">Success message</a></li><li><a href="#Error_message">Error message</a></li><li><a href="#Modal_Confirm_dialog">Modal Confirm dialog</a></li></ul></li></ul>
+
+<ul>
+<li><a href="#Generics_Javascript">Generics Javascript</a>
+<ul>
+<li><a href="#User_messages">User messages</a></li>
+<li><a href="#Success_message">Success message</a></li>
+<li><a href="#Error_message">Error message</a></li>
+<li><a href="#Modal_Confirm_dialog">Modal Confirm dialog</a></li></ul></li></ul>
- <div class="section"><h2>Generics Javascript<a name="Generics_Javascript"></a></h2>
- <p>Some common/generic javascript methods are available.</p>
- <div class="section"><h3>User messages<a name="User_messages"></a></h3>
- <p>A div "user-messages" is reserved for user messages.</p>
- </div><div class="section"><h3>Success message<a name="Success_message"></a></h3>
- <p>
+
+<div class="section">
+<h2>Generics Javascript<a name="Generics_Javascript"></a></h2>
+
+<p>Some common/generic javascript methods are available.</p>
+
+<div class="section">
+<h3>User messages<a name="User_messages"></a></h3>
+
+<p>A div "user-messages" is reserved for user messages.</p>
+ </div>
+<div class="section">
+<h3>Success message<a name="Success_message"></a></h3>
+
+<p>
Javascript function:
- </p><div class="source"><pre class="prettyprint">
+ </p>
+<div class="source">
+<pre>
displaySuccessMessage($.i18n.prop('managedrepository.added'));
// the second parameter is optionnal by default #user-messages id is used
displaySuccessMessage=function(text,idToAppend){
@@ -260,10 +278,15 @@ displaySuccessMessage=function(text,idTo
</div>
- <div class="section"><h3>Error message<a name="Error_message"></a></h3>
- <p>
+
+<div class="section">
+<h3>Error message<a name="Error_message"></a></h3>
+
+<p>
Javascript function:
- </p><div class="source"><pre class="prettyprint">
+ </p>
+<div class="source">
+<pre>
displayErrorMessage($.i18n.prop('managedrepository.added'));
// the second parameter is optionnal by default #user-messages id is used
displayErrorMessage=function(text,idToAppend){
@@ -275,10 +298,15 @@ displayErrorMessage=function(text,idToAp
</div>
- <div class="section"><h3>Modal Confirm dialog<a name="Modal_Confirm_dialog"></a></h3>
- <p>
+
+<div class="section">
+<h3>Modal Confirm dialog<a name="Modal_Confirm_dialog"></a></h3>
+
+<p>
Javascript function:
- </p><div class="source"><pre class="prettyprint">
+ </p>
+<div class="source">
+<pre>
/**
* open a confirm dialog based on bootstrap modal
* @param okFn callback function to call on ok confirm
Modified: archiva/site-content/jsui/i18n.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/i18n.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/i18n.html (original)
+++ archiva/site-content/jsui/i18n.html Sat Jun 8 14:05:28 2013
@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
<meta name="Date-Creation-yyyymmdd" content="20120119" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - i18n</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -206,7 +206,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -215,11 +215,29 @@
<div id="bodyColumn" >
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section"><h2>i18n management<a name="i18n_management"></a></h2><p>The js library <a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties">jquery-i18n-properties</a> is used for i18n.</p><p>On application loading, i18n properties are loaded by calling a REST services with the browser lang or with the requested language specified by the request parameter : ?request_lang=en.</p><p>This service will load properties in this order:</p><ul><li>redback properties in en then in specified language</li><li>archiva properties (from org/apache/archiva/i18n/default.properties) in en then in specified language</li></ul><div class="section"><h3>Javascript method<a name="Javascript_method"></a></h3><p>Simple i18n value without any value</p><div class="source"><pre class="prettyprint">Javascript code :
-$.i18n.prop("save") will return the value for key save</pre></div><p>You can pass some values too (sample for property managedrepository.deleted=Managed Repository " {0} " deleted. )</p><div class="source"><pre class="prettyprint">Javascript code :
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section">
+<h2>i18n management<a name="i18n_management"></a></h2>
+<p>The js library <a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties">jquery-i18n-properties</a> is used for i18n.</p>
+<p>On application loading, i18n properties are loaded by calling a REST services with the browser lang or with the requested language specified by the request parameter : ?request_lang=en.</p>
+<p>This service will load properties in this order:</p>
+<ul>
+<li>redback properties in en then in specified language</li>
+<li>archiva properties (from org/apache/archiva/i18n/default.properties) in en then in specified language</li></ul>
+<div class="section">
+<h3>Javascript method<a name="Javascript_method"></a></h3>
+<p>Simple i18n value without any value</p>
+<div class="source">
+<pre>Javascript code :
+$.i18n.prop("save") will return the value for key save</pre></div>
+<p>You can pass some values too (sample for property managedrepository.deleted=Managed Repository " {0} " deleted. )</p>
+<div class="source">
+<pre>Javascript code :
$.i18n.prop("managedrepository.deleted",managedRepository.name())
if managedRepository.name() is "foo"
-response will be Managed Repository " foo " deleted.</pre></div></div><div class="section"><h3>Missing properties<a name="Missing_properties"></a></h3><p>In case of missing property, the key is returned.</p></div></div>
+response will be Managed Repository " foo " deleted.</pre></div></div>
+<div class="section">
+<h3>Missing properties<a name="Missing_properties"></a></h3>
+<p>In case of missing property, the key is returned.</p></div></div>
</div>
</div>
Modified: archiva/site-content/jsui/index.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/index.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/index.html (original)
+++ archiva/site-content/jsui/index.html Sat Jun 8 14:05:28 2013
@@ -9,7 +9,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva -
Archiva Javascript application General design</title>
@@ -207,7 +207,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -240,11 +240,26 @@
<script type="text/javascript" src="../js/fancy-box-activation.js"></script>
- <ul><li><a href="#Archiva_Javascript_Web_Application">Archiva Javascript Web Application</a><ul><li><a href="#General_design">General design</a></li><li><a href="#Runtime_Properties">Runtime Properties</a></li><li><a href="#Used_Javascript_frameworks">Used Javascript frameworks</a></li><li><a href="#Sources_organisation">Sources organisation</a></li><li><a href="#js_directory">js directory</a></li><li><a href="#Start_page">Start page</a></li><li><a href="#Gridedit_model">Grid/edit model</a></li></ul></li></ul>
+
+<ul>
+<li><a href="#Archiva_Javascript_Web_Application">Archiva Javascript Web Application</a>
+<ul>
+<li><a href="#General_design">General design</a></li>
+<li><a href="#Runtime_Properties">Runtime Properties</a></li>
+<li><a href="#Used_Javascript_frameworks">Used Javascript frameworks</a></li>
+<li><a href="#Sources_organisation">Sources organisation</a></li>
+<li><a href="#js_directory">js directory</a></li>
+<li><a href="#Start_page">Start page</a></li>
+<li><a href="#Gridedit_model">Grid/edit model</a></li></ul></li></ul>
- <div class="section"><h2>Archiva Javascript Web Application<a name="Archiva_Javascript_Web_Application"></a></h2>
- <div class="section"><h3>General design<a name="General_design"></a></h3>
- <p>
+
+<div class="section">
+<h2>Archiva Javascript Web Application<a name="Archiva_Javascript_Web_Application"></a></h2>
+
+<div class="section">
+<h3>General design<a name="General_design"></a></h3>
+
+<p>
The goal is to have a "one page loading" javascript application.
<br />
For this the only html page will contains a div with id "main-content" this div will be populated
@@ -257,82 +272,125 @@
As we are not designer :-), the application will use the <a class="externalLink" href="http://twitter.github.com/bootstrap" target="_blank">twitter bootstrap css</a>.
</p>
</div>
- <div class="section"><h3>Runtime Properties<a name="Runtime_Properties"></a></h3>
- <p>The application is designed to use http cache mechanism for css, javascript. Except REST call to get datas which will never use cache as a query timestamp parameter is used.
+
+<div class="section">
+<h3>Runtime Properties<a name="Runtime_Properties"></a></h3>
+
+<p>The application is designed to use http cache mechanism for css, javascript. Except REST call to get datas which will never use cache as a query timestamp parameter is used.
But as this can cause issue in developpement phase, two system properties (disabled by default) prevent can prevent caching and/or help debuging
- </p><ul>
- <li>archiva.devMode=true/false: if true will add a timestamp query parameter for loading js and html templates.</li>
- <li>archiva.javascriptLog=true/false: will activate javascript log, method available with $.log(msg)</li>
- <li>archiva.logMissingI18n=true/false: will activate remote logging of missing i18n key in the servlet container log: INFO archivaMissingi18n.logger - missing i18n key : 'proxy-connectors.grid.managedrepo.title'</li>
+ </p>
+<ul>
+
+<li>archiva.devMode=true/false: if true will add a timestamp query parameter for loading js and html templates.</li>
+
+<li>archiva.javascriptLog=true/false: will activate javascript log, method available with $.log(msg)</li>
+
+<li>archiva.logMissingI18n=true/false: will activate remote logging of missing i18n key in the servlet container log: INFO archivaMissingi18n.logger - missing i18n key : 'proxy-connectors.grid.managedrepo.title'</li>
</ul>
</div>
- <div class="section"><h3>Used Javascript frameworks<a name="Used_Javascript_frameworks"></a></h3>
- <p>
+
+<div class="section">
+<h3>Used Javascript frameworks<a name="Used_Javascript_frameworks"></a></h3>
+
+<p>
We use some well known javascript framework librairies :
- </p><ul>
- <li><a class="externalLink" href="http://jquery.com/" target="_blank">jquery</a>.</li>
+ </p>
+<ul>
+
+<li><a class="externalLink" href="http://jquery.com/" target="_blank">jquery</a>.</li>
- <li><a class="externalLink" href="http://sammyjs.org" target="_blank">sammyjs for hash navigation</a></li>
+
+<li><a class="externalLink" href="http://sammyjs.org" target="_blank">sammyjs for hash navigation</a></li>
- <li><a class="externalLink" href="http://requirejs.org" target="_blank">requirejs</a> for template loading (see <a href="./template-loading.html">details</a>).</li>
+
+<li><a class="externalLink" href="http://requirejs.org" target="_blank">requirejs</a> for template loading (see <a href="./template-loading.html">details</a>).</li>
- <li><a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties" target="_blank">jquery-i18n-properties</a> for i18n loading (see <a href="./i18n.html">details</a>).</li>
+
+<li><a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties" target="_blank">jquery-i18n-properties</a> for i18n loading (see <a href="./i18n.html">details</a>).</li>
- <li><a class="externalLink" href="http://knockoutjs.com" target="_blank">knockoutjs</a> as we use a MVVM pattern (see <a href="./knockout-binding.html">knockout binding</a>).</li>
+
+<li><a class="externalLink" href="http://knockoutjs.com" target="_blank">knockoutjs</a> as we use a MVVM pattern (see <a href="./knockout-binding.html">knockout binding</a>).</li>
- <li><a class="externalLink" href="http://twitter.github.com/bootstrap/javascript.html" target="_blank">twitter bootstrap js</a> to magnify the ui.</li>
+
+<li><a class="externalLink" href="http://twitter.github.com/bootstrap/javascript.html" target="_blank">twitter bootstrap js</a> to magnify the ui.</li>
- <li><a class="externalLink" href="http://bassistance.de/jquery-plugins/jquery-plugin-validation" target="_blank">jquery validate</a> for form validation.</li>
+
+<li><a class="externalLink" href="http://bassistance.de/jquery-plugins/jquery-plugin-validation" target="_blank">jquery validate</a> for form validation.</li>
</ul>
</div>
- <div class="section"><h3>Sources organisation<a name="Sources_organisation"></a></h3>
- <p>
+
+<div class="section">
+<h3>Sources organisation<a name="Sources_organisation"></a></h3>
+
+<p>
Sources are located in <a class="externalLink" href="http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/" target="_blank">src/main/webapp</a> :
- </p><ul>
- <li>css</li>
- <li>images</li>
- <li>js</li>
+ </p>
+<ul>
+
+<li>css</li>
+
+<li>images</li>
+
+<li>js</li>
</ul>
- </div><div class="section"><h3>js directory<a name="js_directory"></a></h3>
- <p>
+ </div>
+<div class="section">
+<h3>js directory<a name="js_directory"></a></h3>
+
+<p>
Root directory contains external libraries.
</p>
- <p>
+
+<p>
archiva directory contains archiva js files with a subdirectory templates which contains templates
</p>
- <p>
+
+<p>
redback directory contains redback js files with a subdirectory templates which contains templates
</p>
</div>
- <div class="section"><h3>Start page<a name="Start_page"></a></h3>
- <p>
+
+<div class="section">
+<h3>Start page<a name="Start_page"></a></h3>
+
+<p>
The main page will load javascript files, load <a href="./i18n.html">i18n</a>, <a href="./template-loading.html">load templates</a> and insert menu.
<br />
This main page is divided in 3 parts:
- <p>
+
+<p>
<a href="../images/start-screen.png" class="single_image" title="Start Page">
<img src="../images/start-screen.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
Start Page
</a>
</p>
- <p>
- </p><ul>
- <li>#topbar-menu-container is populated with the template js/archiva/templates/topbar.html.</li>
- <li>#sidebar-content is populated with the template js/archiva/templates/menu.html.</li>
- <li>#main-content is the place where screen will appear.</li>
- <li>hidden #html-fragments will contains loaded templates.</li>
+
+<p>
+ </p>
+<ul>
+
+<li>#topbar-menu-container is populated with the template js/archiva/templates/topbar.html.</li>
+
+<li>#sidebar-content is populated with the template js/archiva/templates/menu.html.</li>
+
+<li>#main-content is the place where screen will appear.</li>
+
+<li>hidden #html-fragments will contains loaded templates.</li>
</ul>
- <p>
+
+<p>
Link are visible/hide depending on needed redback karmas.
You can configure redback operations needed for a link using the attribute redback-permissions in your html element
(by default element needed karma must be marked display: none):
- </p><div class="source"><pre class="prettyprint">
+ </p>
+<div class="source">
+<pre>
Support array: at least one operation is needed:
<div .... redback-permissions="{permissions: ['archiva-manage-users','archiva-manage-configuration']}" style="display: none">
@@ -345,17 +403,23 @@ Support single value:
</div>
- <div class="section"><h3>Grid/edit model<a name="Gridedit_model"></a></h3>
- <p>We use a tab/pill models to display grid of datas and edit/add form:
- </p><ul>
- <li>
+
+<div class="section">
+<h3>Grid/edit model<a name="Gridedit_model"></a></h3>
+
+<p>We use a tab/pill models to display grid of datas and edit/add form:
+ </p>
+<ul>
+
+<li>
One tab/pill display the grid
<a href="../images/repo-grids.png" class="single_image" title="Repositories Grid">
<img src="../images/repo-grids.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
Repositories Grid
</a>
</li>
- <li>
+
+<li>
One tab/pill display the edit/add form. <b>As we use knockout framework grid will be updated with new value from add/edit form automatically.</b>
<a href="../images/repo-edit.png" class="single_image" title="Repositories Edit/Add">
<img src="../images/repo-edit.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
Modified: archiva/site-content/jsui/knockout-binding.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/knockout-binding.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/knockout-binding.html (original)
+++ archiva/site-content/jsui/knockout-binding.html Sat Jun 8 14:05:28 2013
@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
<meta name="Date-Creation-yyyymmdd" content="20120119" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - Knockout binding</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -206,7 +206,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -215,7 +215,27 @@
<div id="bodyColumn" >
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section"><h2>Knockout binding<a name="Knockout_binding"></a></h2><p>Explanation on the managed repositories list/edit/add screen.</p><ul><li><a href="#Knockout_binding">Knockout binding</a><ul><li><a href="#Javascript_Beans">Javascript Beans</a></li><li><a href="#View_Model">View Model</a><ul><li><a href="#First_you_must_insert_your_template_in_the_main-content_div">First you must insert your template in the #main-content div</a></li><li><a href="#You_can_now_create_your_view_model.">You can now create your view model.</a></li><li><a href="#Grid_binding">Grid binding</a></li></ul></li><li><a href="#View_definition">View definition</a><ul><li><a href="#Binding_definition">Binding definition</a></li><li><a href="#Template_content">Template content</a></li></ul></li></ul></li></ul><div class="section"><h3>Javascript Beans<a name="Javascript_Beans"></a></h3><p>First you must map the json response on a Javascript bean (a bit borying task :-
) )</p><div class="source"><pre class="prettyprint">Java class with fields
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section">
+<h2>Knockout binding<a name="Knockout_binding"></a></h2>
+<p>Explanation on the managed repositories list/edit/add screen.</p>
+<ul>
+<li><a href="#Knockout_binding">Knockout binding</a>
+<ul>
+<li><a href="#Javascript_Beans">Javascript Beans</a></li>
+<li><a href="#View_Model">View Model</a>
+<ul>
+<li><a href="#First_you_must_insert_your_template_in_the_main-content_div">First you must insert your template in the #main-content div</a></li>
+<li><a href="#You_can_now_create_your_view_model.">You can now create your view model.</a></li>
+<li><a href="#Grid_binding">Grid binding</a></li></ul></li>
+<li><a href="#View_definition">View definition</a>
+<ul>
+<li><a href="#Binding_definition">Binding definition</a></li>
+<li><a href="#Template_content">Template content</a></li></ul></li></ul></li></ul>
+<div class="section">
+<h3>Javascript Beans<a name="Javascript_Beans"></a></h3>
+<p>First you must map the json response on a Javascript bean (a bit borying task :-) )</p>
+<div class="source">
+<pre>Java class with fields
public class ManagedRepository
//private String id;
@@ -246,8 +266,19 @@ mapping function (to map the json result
data.blockRedeployments,data.cronExpression,
data.scanned,data.daysOlder,data.retentionCount,data.deleteReleasedSnapshots,data.stageRepoNeeded);
}
-</pre></div><p><tt>NOTE to have access to field values you must now managedRepository.name() </tt></p></div><div class="section"><h3>View Model<a name="View_Model"></a></h3><div class="section"><h4>First you must insert your template in the #main-content div<a name="First_you_must_insert_your_template_in_the_main-content_div"></a></h4><div class="source"><pre class="prettyprint">// it's a jquery template as we do some i18n transformations
-$("#main-content").html($("#repositoriesMain").tmpl());</pre></div></div><div class="section"><h4>You can now create your view model.<a name="You_can_now_create_your_view_model."></a></h4><div class="source"><pre class="prettyprint">ManagedRepositoriesViewModel=function(){
+</pre></div>
+<p><tt>NOTE to have access to field values you must now managedRepository.name() </tt></p></div>
+<div class="section">
+<h3>View Model<a name="View_Model"></a></h3>
+<div class="section">
+<h4>First you must insert your template in the #main-content div<a name="First_you_must_insert_your_template_in_the_main-content_div"></a></h4>
+<div class="source">
+<pre>// it's a jquery template as we do some i18n transformations
+$("#main-content").html($("#repositoriesMain").tmpl());</pre></div></div>
+<div class="section">
+<h4>You can now create your view model.<a name="You_can_now_create_your_view_model."></a></h4>
+<div class="source">
+<pre>ManagedRepositoriesViewModel=function(){
//field which will receive values
this.managedRepositories=ko.observableArray([]);
// method which will edit an entry: an other view model is created
@@ -261,7 +292,13 @@ $("#main-content").html($(&quo
removeManagedRepository=function(managedRepository){
......
}
-}</pre></div></div><div class="section"><h4>Grid binding<a name="Grid_binding"></a></h4><p>The ManagedRepositoriesViewModel is used as it with a custom grid binding (knockout has a feature to create own binding so we use one called <tt>simpleGrid</tt> which will display grids.</p><p>Grid view initialisation code (some details omitted) :</p><div class="source"><pre class="prettyprint"> var managedRepositoriesViewModel = new ManagedRepositoriesViewModel();
+}</pre></div></div>
+<div class="section">
+<h4>Grid binding<a name="Grid_binding"></a></h4>
+<p>The ManagedRepositoriesViewModel is used as it with a custom grid binding (knockout has a feature to create own binding so we use one called <tt>simpleGrid</tt> which will display grids.</p>
+<p>Grid view initialisation code (some details omitted) :</p>
+<div class="source">
+<pre> var managedRepositoriesViewModel = new ManagedRepositoriesViewModel();
$.ajax("restServices/archivaServices/managedRepositoriesService/getManagedRepositories", {
type: "GET",
@@ -299,9 +336,26 @@ $("#main-content").html($(&quo
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-table").get(0));
}
}
- );</pre></div></div></div><div class="section"><h3>View definition<a name="View_definition"></a></h3><div class="section"><h4>Binding definition<a name="Binding_definition"></a></h4><p>We have applyed binding on the node with id "#managed-repositories-table". The binding definition is:</p><div class="source"><pre class="prettyprint"> <table class="bordered-table zebra-striped" id="managed-repositories-table"
+ );</pre></div></div></div>
+<div class="section">
+<h3>View definition<a name="View_definition"></a></h3>
+<div class="section">
+<h4>Binding definition<a name="Binding_definition"></a></h4>
+<p>We have applyed binding on the node with id "#managed-repositories-table". The binding definition is:</p>
+<div class="source">
+<pre> <table class="bordered-table zebra-striped" id="managed-repositories-table"
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
- </table></pre></div><ul><li>simpleGrid: gridViewModel = field name for the view model (see sample above)</li><li>simpleGridTemplate:'ko_managed-repositoriesGrid' = name of the template to use (see below)</li><li>pageLinksId:'managed-repositoriesPagination' = name of the template to use for pagination.</li><li>data:'managedRepositories' = fields which contains data to pass to pass to the template</li></ul></div><div class="section"><h4>Template content<a name="Template_content"></a></h4><p>Template used for grid display (some details omitted).</p><div class="source"><pre class="prettyprint"><script id='ko_managed-repositoriesGrid' type='text/x-jquery-tmpl'>
+ </table></pre></div>
+<ul>
+<li>simpleGrid: gridViewModel = field name for the view model (see sample above)</li>
+<li>simpleGridTemplate:'ko_managed-repositoriesGrid' = name of the template to use (see below)</li>
+<li>pageLinksId:'managed-repositoriesPagination' = name of the template to use for pagination.</li>
+<li>data:'managedRepositories' = fields which contains data to pass to pass to the template</li></ul></div>
+<div class="section">
+<h4>Template content<a name="Template_content"></a></h4>
+<p>Template used for grid display (some details omitted).</p>
+<div class="source">
+<pre><script id='ko_managed-repositoriesGrid' type='text/x-jquery-tmpl'>
<thead>
<tr>
// display read only fields defined in ko.simpleGrid.viewModel.columns (see above)
Modified: archiva/site-content/jsui/rest.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/rest.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/rest.html (original)
+++ archiva/site-content/jsui/rest.html Sat Jun 8 14:05:28 2013
@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
<meta name="Date-Creation-yyyymmdd" content="20120119" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - REST Services</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -206,7 +206,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -215,12 +215,48 @@
<div id="bodyColumn" >
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section"><h2>Expose Rest Services<a name="Expose_Rest_Services"></a></h2><p>The <a class="externalLink" href="http://cxf.apache.org">Apache CXF</a> is used to expose some classes/methods as REST Services.</p><p>Services use the standard interface/implementation pattern:</p><ul><li>interfaces and beans are located in archiva-rest-api maven module</li><li>implementation are located in archiva-rest-services maven module</li></ul><ul><li><a href="#Expose_Rest_Services">Expose Rest Services</a><ul><li><a href="#Steps_to_expose_your_class_as_a_REST_Service.">Steps to expose your class as a REST Service.</a><ul><li><a href="#Interface_and_data_beans">Interface and data beans</a><ul><li><a href="#Beans">Beans</a></li><li><a href="#JAXRS_annotations">JAXRS annotations</a></li></ul></li><li><a href="#CXFSpring_configuration">CXF/Spring configuration</a></li><li><a href="#Redback_security_annotation">Redback security annotation</a></li></ul></li>
</ul></li></ul><div class="section"><h3>Steps to expose your class as a REST Service.<a name="Steps_to_expose_your_class_as_a_REST_Service."></a></h3><p>Here all the steps to expose a new class as a REST service.</p><div class="section"><h4>Interface and data beans<a name="Interface_and_data_beans"></a></h4><p>All interfaces and data beans are added in the module archiva-rest-api:</p><ul><li>interface in the package: org.apache.archiva.rest.api.services .</li><li>data beans in the package: org.apache.archiva.rest.api.model .</li></ul><div class="section"><h5>Beans<a name="Beans"></a></h5><p>As we want to be able to expose result as json or xml type, all beans use javax.xml.bind.annotation root element :</p><div class="source"><pre class="prettyprint">@XmlRootElement( name = "artifact" )
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section">
+<h2>Expose Rest Services<a name="Expose_Rest_Services"></a></h2>
+<p>The <a class="externalLink" href="http://cxf.apache.org">Apache CXF</a> is used to expose some classes/methods as REST Services.</p>
+<p>Services use the standard interface/implementation pattern:</p>
+<ul>
+<li>interfaces and beans are located in archiva-rest-api maven module</li>
+<li>implementation are located in archiva-rest-services maven module</li></ul>
+<ul>
+<li><a href="#Expose_Rest_Services">Expose Rest Services</a>
+<ul>
+<li><a href="#Steps_to_expose_your_class_as_a_REST_Service.">Steps to expose your class as a REST Service.</a>
+<ul>
+<li><a href="#Interface_and_data_beans">Interface and data beans</a>
+<ul>
+<li><a href="#Beans">Beans</a></li>
+<li><a href="#JAXRS_annotations">JAXRS annotations</a></li></ul></li>
+<li><a href="#CXFSpring_configuration">CXF/Spring configuration</a></li>
+<li><a href="#Redback_security_annotation">Redback security annotation</a></li></ul></li></ul></li></ul>
+<div class="section">
+<h3>Steps to expose your class as a REST Service.<a name="Steps_to_expose_your_class_as_a_REST_Service."></a></h3>
+<p>Here all the steps to expose a new class as a REST service.</p>
+<div class="section">
+<h4>Interface and data beans<a name="Interface_and_data_beans"></a></h4>
+<p>All interfaces and data beans are added in the module archiva-rest-api:</p>
+<ul>
+<li>interface in the package: org.apache.archiva.rest.api.services .</li>
+<li>data beans in the package: org.apache.archiva.rest.api.model .</li></ul>
+<div class="section">
+<h5>Beans<a name="Beans"></a></h5>
+<p>As we want to be able to expose result as json or xml type, all beans use javax.xml.bind.annotation root element :</p>
+<div class="source">
+<pre>@XmlRootElement( name = "artifact" )
public class Artifact
implements Serializable
All services will be able to return json or xml
-@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )</pre></div></div><div class="section"><h5>JAXRS annotations<a name="JAXRS_annotations"></a></h5><p>As we use interfaces/implementations pattern jaxrs annotations are only in interfaces level.</p><div class="source"><pre class="prettyprint">@Path( "/managedRepositoriesService/" )
+@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )</pre></div></div>
+<div class="section">
+<h5>JAXRS annotations<a name="JAXRS_annotations"></a></h5>
+<p>As we use interfaces/implementations pattern jaxrs annotations are only in interfaces level.</p>
+<div class="source">
+<pre>@Path( "/managedRepositoriesService/" )
public interface ManagedRepositoriesService
{
// simple GET method no parameter
@@ -245,12 +281,20 @@ public interface ManagedRepositoriesServ
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
ManagedRepository addManagedRepository( ManagedRepository managedRepository )
- throws ArchivaRestServiceException;</pre></div></div></div><div class="section"><h4>CXF/Spring configuration<a name="CXFSpring_configuration"></a></h4><p>REST services implementations are marked with the Spring annotation @Service</p><div class="source"><pre class="prettyprint">package org.apache.archiva.rest.services;
+ throws ArchivaRestServiceException;</pre></div></div></div>
+<div class="section">
+<h4>CXF/Spring configuration<a name="CXFSpring_configuration"></a></h4>
+<p>REST services implementations are marked with the Spring annotation @Service</p>
+<div class="source">
+<pre>package org.apache.archiva.rest.services;
......
@Service( "managedRepositoriesService#rest" )
public class DefaultManagedRepositoriesService
extends AbstractRestService
- implements ManagedRepositoriesService</pre></div><p>Spring beans are declared as REST/CXF services in the Spring configuration</p><div class="source"><pre class="prettyprint"> <jaxrs:server id="archivaServices" address="/archivaServices">
+ implements ManagedRepositoriesService</pre></div>
+<p>Spring beans are declared as REST/CXF services in the Spring configuration</p>
+<div class="source">
+<pre> <jaxrs:server id="archivaServices" address="/archivaServices">
.....
<jaxrs:serviceBeans>
<ref bean="managedRepositoriesService#rest"/>
@@ -271,7 +315,10 @@ public class DefaultManagedRepositoriesS
base-package="org.apache.archiva.rest.services"/>
...
-</beans></pre></div><p>CXF servlet is declared as:</p><div class="source"><pre class="prettyprint"> <servlet>
+</beans></pre></div>
+<p>CXF servlet is declared as:</p>
+<div class="source">
+<pre> <servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>1</load-on-startup>
@@ -280,10 +327,18 @@ public class DefaultManagedRepositoriesS
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/restServices/*</url-pattern>
- </servlet-mapping></pre></div><p>So as it, REST services are availble in the following url <b>restServices/archivaServices/</b>.</p></div><div class="section"><h4>Redback security annotation<a name="Redback_security_annotation"></a></h4><p>Some REST methods need some karma, so to prevent anonymous access methods can be marked as it:</p><div class="source"><pre class="prettyprint">
+ </servlet-mapping></pre></div>
+<p>So as it, REST services are availble in the following url <b>restServices/archivaServices/</b>.</p></div>
+<div class="section">
+<h4>Redback security annotation<a name="Redback_security_annotation"></a></h4>
+<p>Some REST methods need some karma, so to prevent anonymous access methods can be marked as it:</p>
+<div class="source">
+<pre>
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
ManagedRepository addManagedRepository( ManagedRepository managedRepository )
- throws ArchivaRestServiceException;</pre></div><p>This method will need the current user to have the operation manage-configuration level.</p><p>For more details, have a look at <a class="externalLink" href="http://archiva.apache.org/redback/integration/rest.html">Redback REST</a>.</p></div></div></div>
+ throws ArchivaRestServiceException;</pre></div>
+<p>This method will need the current user to have the operation manage-configuration level.</p>
+<p>For more details, have a look at <a class="externalLink" href="http://archiva.apache.org/redback/integration/rest.html">Redback REST</a>.</p></div></div></div>
</div>
</div>
Modified: archiva/site-content/jsui/template-loading.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/template-loading.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/jsui/template-loading.html (original)
+++ archiva/site-content/jsui/template-loading.html Sat Jun 8 14:05:28 2013
@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Olivier Lamy" />
<meta name="Date-Creation-yyyymmdd" content="20120914" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - Javascript template loading</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -206,7 +206,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -215,7 +215,13 @@
<div id="bodyColumn" >
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section"><h2>Html/Javascript templates loading<a name="HtmlJavascript_templates_loading"></a></h2><p>Templates are loaded on application loaded and added in the hidden div <b>#html-fragments</b>.</p><p>They are loaded using requirejs and the text plugin.</p><p>archiva templates are loaded as it <tt>NOTE: the no cache is activated only on dev mode</tt></p><div class="source"><pre class="prettyprint">require(['jquery',"jquery.tmpl",'i18n',"utils","text!templates/archiva/menu.html",
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section">
+<h2>Html/Javascript templates loading<a name="HtmlJavascript_templates_loading"></a></h2>
+<p>Templates are loaded on application loaded and added in the hidden div <b>#html-fragments</b>.</p>
+<p>They are loaded using requirejs and the text plugin.</p>
+<p>archiva templates are loaded as it <tt>NOTE: the no cache is activated only on dev mode</tt></p>
+<div class="source">
+<pre>require(['jquery',"jquery.tmpl",'i18n',"utils","text!templates/archiva/menu.html",
"text!templates/archiva/generics.html",
"text!templates/archiva/modal.html",
"text!templates/archiva/repositories.html",
@@ -235,12 +241,23 @@
$.log("main-tmpl.js loaded");
}
}
-);</pre></div><div class="section"><h3>i18n in templates<a name="i18n_in_templates"></a></h3><div class="section"><h4>static templates<a name="static_templates"></a></h4><p>Some templates which are only simple html which only need i18n are executed immediatly.</p><p>Simply use:</p><div class="source"><pre class="prettyprint"> $.tmpl( menu, $.i18n.map ).appendTo("#html-fragments");
+);</pre></div>
+<div class="section">
+<h3>i18n in templates<a name="i18n_in_templates"></a></h3>
+<div class="section">
+<h4>static templates<a name="static_templates"></a></h4>
+<p>Some templates which are only simple html which only need i18n are executed immediatly.</p>
+<p>Simply use:</p>
+<div class="source">
+<pre> $.tmpl( menu, $.i18n.map ).appendTo("#html-fragments");
to get i18n values in your template you can use
${register} or ${$.i18n.prop('register')}
Note if you use the simple form ${register} and the property is not available, the template system will try to use if exists the function register
-</pre></div></div><div class="section"><h4>dynamic templates<a name="dynamic_templates"></a></h4><p>The others are only inserted in #html-fragments.</p></div></div></div>
+</pre></div></div>
+<div class="section">
+<h4>dynamic templates<a name="dynamic_templates"></a></h4>
+<p>The others are only inserted in #html-fragments.</p></div></div></div>
</div>
</div>
Modified: archiva/site-content/known-issues.html
URL: http://svn.apache.org/viewvc/archiva/site-content/known-issues.html?rev=1490981&r1=1490980&r2=1490981&view=diff
==============================================================================
--- archiva/site-content/known-issues.html (original)
+++ archiva/site-content/known-issues.html Sat Jun 8 14:05:28 2013
@@ -9,7 +9,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Date-Creation-yyyymmdd" content="20120119" />
- <meta name="Date-Revision-yyyymmdd" content="20130603" />
+ <meta name="Date-Revision-yyyymmdd" content="20130609" />
<meta http-equiv="Content-Language" content="en" />
<title>Archiva - Known Issues and Errata</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.1-SNAPSHOT.min.css" />
@@ -205,7 +205,7 @@
- <li id="publishDate" class="pull-right">Last Published: 03 Jun 2013</li>
+ <li id="publishDate" class="pull-right">Last Published: 09 Jun 2013</li>
</ul>
</div>
@@ -214,7 +214,9 @@
<div id="bodyColumn" >
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section"><h2>Known Issues and Errata<a name="Known_Issues_and_Errata"></a></h2><p>For a list of all JIRA issues reported against released versions of Archiva, see <a class="externalLink" href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+MRM+AND+resolution+%3D+Unresolved+and+affectedVersion+in+releasedVersions()"> JIRA</a>.</p></div>
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mi
ni/guide-apt-format.html --><div class="section">
+<h2>Known Issues and Errata<a name="Known_Issues_and_Errata"></a></h2>
+<p>For a list of all JIRA issues reported against released versions of Archiva, see <a class="externalLink" href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+MRM+AND+resolution+%3D+Unresolved+and+affectedVersion+in+releasedVersions()"> JIRA</a>.</p></div>
</div>
</div>