Projects STRLCPY maigret Commits b9d303fd
🤬
  • Fixed HTML report images hiding for small screens + some minor fixes

  • Loading...
  • Soxoj committed 4 years ago
    b9d303fd
    1 parent d29e88d9
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    maigret/checking.py
    skipped 177 lines
    178 178   activate_fun(site, logger)
    179 179   except AttributeError:
    180 180   logger.warning(f'Activation method {method} for site {site.name} not found!')
     181 + except Exception as e:
     182 + logger.warning(f'Failed activation {method} for site {site.name}: {e}')
    181 183   
    182 184   # presense flags
    183 185   # True by default
    skipped 426 lines
  • ■ ■ ■ ■ ■
    maigret/resources/data.json
    skipped 23343 lines
    23344 23344   ],
    23345 23345   "checkType": "message",
    23346 23346   "errors": {
     23347 + "You have been banned": "IP ban",
    23347 23348   "The administrator has banned your IP address": "IP ban",
    23348 23349   "\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043d. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0437\u0430\u0439\u0442\u0438 \u043f\u043e\u0437\u0436\u0435.": "Server is overloaded"
    23349 23350   },
    skipped 50 lines
  • ■ ■ ■ ■
    maigret/resources/simple_report.tpl
    skipped 67 lines
    68 68   <div class="row-mb">
    69 69   <div class="col-md">
    70 70   <div class="card flex-md-row mb-4 box-shadow h-md-250">
    71  - <img class="card-img-right flex-auto d-none d-md-block" alt="Photo" style="width: 200px; height: 200px; object-fit: scale-down;" src="{{ v.status.ids_data.image or 'https://i.imgur.com/040fmbw.png' }}" data-holder-rendered="true">
     71 + <img class="card-img-right flex-auto d-md-block" alt="Photo" style="width: 200px; height: 200px; object-fit: scale-down;" src="{{ v.status.ids_data.image or 'https://i.imgur.com/040fmbw.png' }}" data-holder-rendered="true">
    72 72   <div class="card-body d-flex flex-column align-items-start" style="padding-top: 0;">
    73 73   <h3 class="mb-0" style="padding-top: 1rem;">
    74 74   <a class="text-dark" href="{{ v.url_main }}" target="_blank">{{ k }}</a>
    skipped 35 lines
Please wait...
Page is in error, reload to recover