7991:866adc8c315b | 8043:0acf98cd089a |
---|---|
190 | 190 |
191 <p> | 191 <p> |
192 Class method to get the schemes not to be checked. | 192 Class method to get the schemes not to be checked. |
193 </p> | 193 </p> |
194 <dl> | 194 <dl> |
195 <dt>Returns:</dt> | 195 <dt>Return:</dt> |
196 <dd> | 196 <dd> |
197 list of schemes to be ignored | 197 list of schemes to be ignored |
198 </dd> | 198 </dd> |
199 </dl> | 199 </dl> |
200 <dl> | 200 <dl> |
209 | 209 |
210 <p> | 210 <p> |
211 Class method to check, if safe browsing is enabled. | 211 Class method to check, if safe browsing is enabled. |
212 </p> | 212 </p> |
213 <dl> | 213 <dl> |
214 <dt>Returns:</dt> | 214 <dt>Return:</dt> |
215 <dd> | 215 <dd> |
216 flag indicating the enabled state | 216 flag indicating the enabled state |
217 </dd> | 217 </dd> |
218 </dl> | 218 </dl> |
219 <dl> | 219 <dl> |
242 <dd> | 242 <dd> |
243 list of hashes to lookup | 243 list of hashes to lookup |
244 </dd> | 244 </dd> |
245 </dl> | 245 </dl> |
246 <dl> | 246 <dl> |
247 <dt>Returns:</dt> | 247 <dt>Return:</dt> |
248 <dd> | 248 <dd> |
249 names of threat lists hashes were found in | 249 names of threat lists hashes were found in |
250 </dd> | 250 </dd> |
251 </dl> | 251 </dl> |
252 <dl> | 252 <dl> |
281 <b>__showNotificationMessage</b>(<i>message, timeout=5</i>) | 281 <b>__showNotificationMessage</b>(<i>message, timeout=5</i>) |
282 | 282 |
283 <p> | 283 <p> |
284 Private method to show some message in a notification widget. | 284 Private method to show some message in a notification widget. |
285 </p> | 285 </p> |
286 <p> | |
287 If desktop notifications have been disabled, the message will | |
288 be shown in the status bar of the main window (either the main | |
289 web browser window or the eric main window) | |
290 </p> | |
291 <dl> | 286 <dl> |
292 | 287 |
293 <dt><i>message</i> (str)</dt> | 288 <dt><i>message</i> (str)</dt> |
294 <dd> | 289 <dd> |
295 message to be shown | 290 message to be shown |
342 <dd> | 337 <dd> |
343 SHA256 checksum as reported by the Google server | 338 SHA256 checksum as reported by the Google server |
344 </dd> | 339 </dd> |
345 </dl> | 340 </dl> |
346 <dl> | 341 <dl> |
347 <dt>Returns:</dt> | 342 <dt>Return:</dt> |
348 <dd> | 343 <dd> |
349 flag indicating equality | 344 flag indicating equality |
350 </dd> | 345 </dd> |
351 </dl> | 346 </dl> |
352 <dl> | 347 <dl> |
375 | 370 |
376 <p> | 371 <p> |
377 Public method to check, if the fair use wait period has expired. | 372 Public method to check, if the fair use wait period has expired. |
378 </p> | 373 </p> |
379 <dl> | 374 <dl> |
380 <dt>Returns:</dt> | 375 <dt>Return:</dt> |
381 <dd> | 376 <dd> |
382 flag indicating expiration | 377 flag indicating expiration |
383 </dd> | 378 </dd> |
384 </dl> | 379 </dl> |
385 <dl> | 380 <dl> |
408 <dd> | 403 <dd> |
409 platform type as defined in the v4 API | 404 platform type as defined in the v4 API |
410 </dd> | 405 </dd> |
411 </dl> | 406 </dl> |
412 <dl> | 407 <dl> |
413 <dt>Returns:</dt> | 408 <dt>Return:</dt> |
414 <dd> | 409 <dd> |
415 platform string | 410 platform string |
416 </dd> | 411 </dd> |
417 </dl> | 412 </dl> |
418 <dl> | 413 <dl> |
434 <dd> | 429 <dd> |
435 threat entry type as defined in the v4 API | 430 threat entry type as defined in the v4 API |
436 </dd> | 431 </dd> |
437 </dl> | 432 </dl> |
438 <dl> | 433 <dl> |
439 <dt>Returns:</dt> | 434 <dt>Return:</dt> |
440 <dd> | 435 <dd> |
441 threat entry string | 436 threat entry string |
442 </dd> | 437 </dd> |
443 </dl> | 438 </dl> |
444 <dl> | 439 <dl> |
460 <dd> | 455 <dd> |
461 threat type to get the message for | 456 threat type to get the message for |
462 </dd> | 457 </dd> |
463 </dl> | 458 </dl> |
464 <dl> | 459 <dl> |
465 <dt>Returns:</dt> | 460 <dt>Return:</dt> |
466 <dd> | 461 <dd> |
467 threat message | 462 threat message |
468 </dd> | 463 </dd> |
469 </dl> | 464 </dl> |
470 <dl> | 465 <dl> |
486 <dd> | 481 <dd> |
487 list of threat lists to get a message for | 482 list of threat lists to get a message for |
488 </dd> | 483 </dd> |
489 </dl> | 484 </dl> |
490 <dl> | 485 <dl> |
491 <dt>Returns:</dt> | 486 <dt>Return:</dt> |
492 <dd> | 487 <dd> |
493 list of threat messages, one per unique threat type | 488 list of threat messages, one per unique threat type |
494 </dd> | 489 </dd> |
495 </dl> | 490 </dl> |
496 <dl> | 491 <dl> |
512 <dd> | 507 <dd> |
513 threat list to get display string for | 508 threat list to get display string for |
514 </dd> | 509 </dd> |
515 </dl> | 510 </dl> |
516 <dl> | 511 <dl> |
517 <dt>Returns:</dt> | 512 <dt>Return:</dt> |
518 <dd> | 513 <dd> |
519 display string | 514 display string |
520 </dd> | 515 </dd> |
521 </dl> | 516 </dl> |
522 <dl> | 517 <dl> |
532 <p> | 527 <p> |
533 Public method to check, if we are in the process of updating the | 528 Public method to check, if we are in the process of updating the |
534 threat lists. | 529 threat lists. |
535 </p> | 530 </p> |
536 <dl> | 531 <dl> |
537 <dt>Returns:</dt> | 532 <dt>Return:</dt> |
538 <dd> | 533 <dd> |
539 flag indicating an update process is active | 534 flag indicating an update process is active |
540 </dd> | 535 </dd> |
541 </dl> | 536 </dl> |
542 <dl> | 537 <dl> |
558 <dd> | 553 <dd> |
559 URL to be checked | 554 URL to be checked |
560 </dd> | 555 </dd> |
561 </dl> | 556 </dl> |
562 <dl> | 557 <dl> |
563 <dt>Returns:</dt> | 558 <dt>Return:</dt> |
564 <dd> | 559 <dd> |
565 tuple containing the list of threat lists the URL was found in | 560 tuple containing the list of threat lists the URL was found in |
566 and an error message | 561 and an error message |
567 </dd> | 562 </dd> |
568 </dl> | 563 </dl> |
592 | 587 |
593 <p> | 588 <p> |
594 Public method to load or update the locally cached threat lists. | 589 Public method to load or update the locally cached threat lists. |
595 </p> | 590 </p> |
596 <dl> | 591 <dl> |
597 <dt>Returns:</dt> | 592 <dt>Return:</dt> |
598 <dd> | 593 <dd> |
599 flag indicating success and an error message | 594 flag indicating success and an error message |
600 </dd> | 595 </dd> |
601 </dl> | 596 </dl> |
602 <dl> | 597 <dl> |