Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon/screenshot: Support uploading to web services #308

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Commits on Jul 10, 2023

  1. daemon/screenshot: Support uploading to web services

    Resolves BuddiesOfBudgie#281.
    
    Initially support imgur, imagebin and 0x0. Based on cybre's
    screen shotshot applet but ported to libsoup3.
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    60e4981 View commit details
    Browse the repository at this point in the history
  2. daemon/screenshot: Rotate existing save-shot-symbolic svg for upload svg

    Previously we were using the cloud upload svg from breeze.
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    91a0b02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d81e15 View commit details
    Browse the repository at this point in the history
  4. daemon/screenshot: Remove imagebin support

    Service has been down for several weeks, unreliable
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7797cd3 View commit details
    Browse the repository at this point in the history
  5. workflows: Add libsoup-3.0-dev and libjson-glib-dev for CI

    meson: Lower libsoup3 requirement from 3.2.0 -> 3.0.7 for CI
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    19c55d5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c09005e View commit details
    Browse the repository at this point in the history
  7. daemon/screenshot_uploader: Rename uri to path in providers

    We're passing a filepath, not an uri
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    bb002d2 View commit details
    Browse the repository at this point in the history
  8. daemon/screenshot_uploader: Async upload

    Switch from using `send_and_read` to `send_and_read_async` and
    stick it in a loop.
    
    This unblocks the UI whilst a screenshot is uploading.
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    53b17eb View commit details
    Browse the repository at this point in the history
  9. daemon/screenshot_uploader: No more static methods, better code reuse

    - Make methods all non-static
    - Reuse provider strings more effectively
    - Prevent unneeded soup and json parser reinitialization
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6604364 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fb2749c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    16d7f97 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b8c27fc View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    81cc99b View commit details
    Browse the repository at this point in the history
  14. po: Remove manually added strings

    derp
    joebonrichie committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    492930a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    67de3a6 View commit details
    Browse the repository at this point in the history