<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OpenNebula Sunstone: Cloud Operations Center</title>

    <!--[if IE]><link rel="shortcut icon" href="images/favicon.ico"><![endif]-->
    <link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon-precomposed.png">
    <link rel="icon" href="images/favicon.png">

    <% if session[:lang] %>
      <script src="locale/languages/<%= session[:lang] %>.js?v=<%= OpenNebula::VERSION %>" type="text/javascript"></script>
    <% end %>

    <% view = $views_config.view(session[:user], session[:user_gname], session[:default_view]) %>
    <% halt 500, "OpenNebula is unreachable" if view.nil? %>
    <script type="text/javascript">
      var csrftoken = '<%= session[:csrftoken] %>';
      var fireedge_token = '<%= session[:fireedge_token] %>';
      var is_fireedge_configured = <%= !$conf[:public_fireedge_endpoint].nil? && !$conf[:private_fireedge_endpoint].nil? %>
      var sunstone_fireedge_active = is_fireedge_configured;
      var view = JSON.parse('<%= view.to_json %>')
      var available_views = JSON.parse('["<%=
          $views_config.available_views(session[:user], session[:user_gname]).join('","')
        %>"]')
      var all_labels = JSON.parse('["<%=
          $views_config.get_all_labels(session[:user_gname]).join('","')
        %>"]')
      var all_views = JSON.parse('["<%=
          $views_config.get_all_views.join('","')
        %>"]')
      if ('<%= $conf[:addons] %>'){
        var addons = JSON.parse('<%= $conf[:addons].to_json %>');
      }
      var config = {
        'user_config' : {
          'lang' : '<%= session[:lang] %>',
          'vnc_wss' : '<%= session[:vnc_wss] %>',
          'table_order' : '<%= session[:table_order] %>',<commit_msg>M #~: fix urls fireedge for tests (#985)<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OpenNebula Sunstone: Cloud Operations Center</title>

    <!--[if IE]><link rel="shortcut icon" href="images/favicon.ico"><![endif]-->
    <link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon-precomposed.png">
    <link rel="icon" href="images/favicon.png">

    <% if session[:lang] %>
      <script src="locale/languages/<%= session[:lang] %>.js?v=<%= OpenNebula::VERSION %>" type="text/javascript"></script>
    <% end %>

    <% view = $views_config.view(session[:user], session[:user_gname], session[:default_view]) %>
    <% halt 500, "OpenNebula is unreachable" if view.nil? %>
    <script type="text/javascript">
      var csrftoken = '<%= session[:csrftoken] %>';
      var fireedge_token = '<%= session[:fireedge_token] %>';
      var is_fireedge_configured = <%=
        !$conf[:public_fireedge_endpoint].nil? &&
        !$conf[:private_fireedge_endpoint].nil? &&
        !$conf[:public_fireedge_endpoint].empty? &&
        !$conf[:private_fireedge_endpoint].empty?
      %>
      var sunstone_fireedge_active = is_fireedge_configured;
      var view = JSON.parse('<%= view.to_json %>')
      var available_views = JSON.parse('["<%=
          $views_config.available_views(session[:user], session[:user_gname]).join('","')
        %>"]')
      var all_labels = JSON.parse('["<%=
          $views_config.get_all_labels(session[:user_gname]).join('","')
        %>"]')
      var all_views = JSON.parse('["<%=
          $views_config.get_all_views.join('","')
        %>"]')
      if ('<%= $conf[:addons] %>'){
        var addons = JSON.parse('<%= $conf[:addons].to_json %>');
      }
      var config = {
        'user_config' : {
          'lang' : '<%= session[:lang] %>',
          'vnc_wss' : '<%= session[:vnc_wss] %>',
          'table_order' : '<%= session[:table_order] %>',
{'fraction_non_alphanumeric': 0.20994475138121546, 'fraction_numerical': 0.0037669512807634357, 'mean_word_length': 3.505656108597285, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4865367', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1331, 'n_words': 200}