Ignore:
Timestamp:
Jul 28, 2010, 10:48:17 AM (14 years ago)
Author:
grum
Message:

bug:1686, feature:1718, feature:1719, feature:1688, feature:1692

  • Picture analysis finish with an Error 500 or with a problem of memory limit
  • Coding a DateTime class
  • Make JpegMetadata class tests images lighter
  • Improve performance when the database is filled
  • Add possibility for user to build their own tags
  • ajax management entirely rewritted
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/admin/amd_metadata_database.tpl

    r5959 r6722  
    3434  function getStatus()
    3535  {
    36     data=$.ajax(
    37       {
    38         type: "POST",
    39         url: "{/literal}{$datas.urlRequest}{literal}",
    40         async: false,
    41         data: { ajaxfct:"makeStatsGetStatus" }
    42       }
    43     ).responseText;
    44 
    45     list=data.split(";");
    46     $("#ianalyzestatus").html("<ul><li>"+list[0]+"</li><li>"+list[1]+"</li><li>"+list[2]+"</li></ul>");
     36    $.ajax(
     37      {
     38        type: "POST",
     39        url: "{/literal}{$datas.urlRequest}{literal}",
     40        async: true,
     41        data: { ajaxfct:"admin.makeStats.getStatus" },
     42        success: function (msg) {
     43          list=msg.split(";");
     44          $("#ianalyzestatus").html("<ul><li>"+list[0]+"</li><li>"+list[1]+"</li><li>"+list[2]+"</li></ul>");
     45        }
     46      }
     47    );
    4748  }
    4849
     
    103104        url: "{/literal}{$datas.urlRequest}{literal}",
    104105        async: true,
    105         data: { ajaxfct:"makeStatsGetList", selectMode:mode, numOfItems:NumberOfItemsPerRequest },
     106        data: { ajaxfct:"admin.makeStats.getList", selectMode:mode, numOfItems:NumberOfItemsPerRequest },
    106107        success: function(msg)
    107108          {
     
    133134    if(processAnalyze.step < processAnalyze.lists.length)
    134135    {
    135       tmp = $.ajax({
     136      $.ajax({
    136137        type: "POST",
    137138        url: "{/literal}{$datas.urlRequest}{literal}",
    138139        async: true,
    139         data: { ajaxfct:"makeStatsDoAnalyze", imagesList:processAnalyze.lists[processAnalyze.step] },
     140        data: { ajaxfct:"admin.makeStats.doAnalyze", imagesList:processAnalyze.lists[processAnalyze.step] },
    140141        success: function(msg)
    141142          {
     
    152153    {
    153154      // list completely processed
    154 
    155155      tmp = $.ajax({
    156156        type: "POST",
    157157        url: "{/literal}{$datas.urlRequest}{literal}",
    158158        async: false,
    159         data: { ajaxfct:"makeStatsConsolidation" }
     159        data: { ajaxfct:"admin.makeStats.consolidate" }
    160160       }).responseText;
    161 
    162161
    163162      processAnalyze.timeEnd = new Date();
    164163      timeElapsed=processAnalyze.timeEnd.getTime()-processAnalyze.timeStart.getTime();
    165 
    166164
    167165      $("#dialog")
Note: See TracChangeset for help on using the changeset viewer.