<commit_before><#import "templates/html-macros.inc.ftl" as html>
<@html.document title="Web Scripts - Dynamic Extensions" active="web-scripts">

  <h2>Annotation-based Web Scripts</h2>

  <#if (webScripts?size > 0) >
    <table class="web-script table table-striped table-bordered">
      <thead>
        <tr>
          <th class="method">
            Method
          </th>
          <th class="uri">
            URI
          </th>
          <th class="handler">
            Handler
          </th>
        </tr>
      </thead>
      <tbody>
        <#list webScripts as webScript>
          <tr>
            <td class="method">
              ${webScript.method}
            </td>
            <td class="uri">
              <ul>
                <#list webScript.uris as uri>
                  <li>${uri}</li>
                </#list>
              </ul>
            </td>
            <td class="handler">
              ${webScript.handler!'n/a'}
            </td>
          </tr>
        </#list>
      </tbody>
    </table>
  <#else>
    <p>No Web Scripts found.</p>
  </#if>

  <h2>Regular Web Scripts</h2>

  <p>
    Regular Web Scripts are listed in the <a href="${url.serviceContext}/">Alfresco Web Script index</a>.
    Note: annotation-based Web Scripts do not show up in the Alfresco Web Script index.
  </p><commit_msg>Web Script index now displays links for URIs.<commit_after><#import "templates/html-macros.inc.ftl" as html>
<@html.document title="Web Scripts - Dynamic Extensions" active="web-scripts">

  <h2>Annotation Web Scripts</h2>

  <#if (webScripts?size > 0) >
    <table class="web-script table table-striped table-bordered">
      <thead>
        <tr>
          <th class="method">
            Method
          </th>
          <th class="uri">
            URI
          </th>
          <th class="handler">
            Handler
          </th>
        </tr>
      </thead>
      <tbody>
        <#list webScripts as webScript>
          <tr>
            <td class="method">
              ${webScript.method}
            </td>
            <td class="uri">
              <ul>
                <#list webScript.uris as uri>
                  <li>
                    <a href="${url.serviceContext}${uri}">${uri}</a>
                  </li>
                </#list>
              </ul>
            </td>
            <td class="handler">
              ${webScript.handler!'n/a'}
            </td>
          </tr>
        </#list>
      </tbody>
    </table>
  <#else>
    <p>No Web Scripts found.</p>
  </#if>

  <h2>Regular Web Scripts</h2>

  <p>
    Regular Web Scripts are listed in the <a href="${url.serviceContext}/">Alfresco Web Script index</a>.
    Note: annotation-based Web Scripts do not show up in the Alfresco Web Script index.
  </p>
{'fraction_non_alphanumeric': 0.14703757225433525, 'fraction_numerical': 0.0036127167630057803, 'mean_word_length': 1.4701159678858162, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 97, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2503595', 'n_tokens_mistral': 875, 'n_tokens_neox': 845, 'n_words': 215}