diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 89fd679..4c04836 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ -github: sabeechen +github: juskalalie patreon: stephenbeechen custom: - - https://www.buymeacoffee.com/sabeechen + - https://www.buymeacoffee.com/juskalalie - https://www.paypal.com/paypalme/stephenbeechen - - https://github.com/sabeechen/hassio-filenio-backup/blob/master/donate-crypto.md + - https://github.com/juskalalie/hassio-filenio-backup/blob/master/donate-crypto.md diff --git a/.github/workflows/close_stale_issues.yml b/.github/workflows/close_stale_issues.yml index 57f5388..2de1630 100644 --- a/.github/workflows/close_stale_issues.yml +++ b/.github/workflows/close_stale_issues.yml @@ -20,5 +20,5 @@ jobs: days-before-issue-stale: 90 days-before-issue-close: 95 exempt-issue-labels: Do this next - exempt-assignees: sabeechen + exempt-assignees: juskalalie operations-per-run: 200 diff --git a/.github/workflows/prod_push.yaml b/.github/workflows/prod_push.yaml index f06c60d..05badc5 100644 --- a/.github/workflows/prod_push.yaml +++ b/.github/workflows/prod_push.yaml @@ -30,4 +30,4 @@ jobs: args: | --all \ --target dev/hassio-filenio-backup \ - --docker-hub "ghcr.io/sabeechen" + --docker-hub "ghcr.io/juskalalie" diff --git a/.github/workflows/staging_push.yml b/.github/workflows/staging_push.yml index b8239cd..8318fc4 100644 --- a/.github/workflows/staging_push.yml +++ b/.github/workflows/staging_push.yml @@ -31,6 +31,6 @@ jobs: - uses: actions/checkout@v4 with: path: staging - repository: sabeechen/hgdb-dev-staging + repository: juskalalie/hgdb-dev-staging - run: | python3 staging/update.py dev staging diff --git a/.github/workflows/test_staging_push.yml b/.github/workflows/test_staging_push.yml index 06fc84c..c45db39 100644 --- a/.github/workflows/test_staging_push.yml +++ b/.github/workflows/test_staging_push.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 with: path: staging - repository: sabeechen/hgdb-dev-staging + repository: juskalalie/hgdb-dev-staging persist-credentials: true token: ${{ secrets.STAGING_REPO_TOKEN }} @@ -45,7 +45,7 @@ jobs: args: | --all \ --target dev/hassio-filenio-backup \ - --docker-hub "ghcr.io/sabeechen" + --docker-hub "ghcr.io/juskalalie" - name: Publish Staging Addon Version run: | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 204d793..160d113 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## About the project -The project is mostly maintained by juskalalie@gmail.com, and is a fork from [the original Google Drive backup add-on](https://github.com/sabeechen/hassio-filenio-backup) from Stephen Beechen (stephen@beechens.com). Before digging in to this, you might be helpful to familiarize yourself with some of the technologies used in the project. +The project is mostly maintained by juskalalie@gmail.com, and is a fork from [the original Google Drive backup add-on](https://github.com/juskalalie/hassio-filenio-backup) from Stephen Beechen (stephen@beechens.com). Before digging in to this, you might be helpful to familiarize yourself with some of the technologies used in the project. - [Developing Addons for Home Assistant](https://developers.home-assistant.io/docs/add-ons) - Useful to understand how addons work. - [Python](https://www.python.org/) - The addon is written in Python 3.11 and makes heavy use of the asyncio framework. @@ -12,14 +12,14 @@ The project is mostly maintained by juskalalie@gmail.com, and is a fork from [th - [Docker](https://www.docker.com/) - All Home Assistant addons run in their own Docker container, and while you could certainly contribute without knowing much about it, knowledge of the basic commands will help. ## Approval Process - - Please only make PR's against the [dev branch](https://github.com/sabeechen/hassio-filenio-backup/tree/dev). Making a PR against master/main will result in an embarrassing song-and-dance where I ignore your PR for a little while, then ask you to remake it against dev, then ignore it again for a little while out of spite. Neither of us wants this, and you can avoid it by making it against dev in the first place. + - Please only make PR's against the [dev branch](https://github.com/juskalalie/hassio-filenio-backup/tree/dev). Making a PR against master/main will result in an embarrassing song-and-dance where I ignore your PR for a little while, then ask you to remake it against dev, then ignore it again for a little while out of spite. Neither of us wants this, and you can avoid it by making it against dev in the first place. - If you're making a small change that fixes a bug I'm going to approve your PR quickly and heap you with praise. If you make a huge change without talking to me first I'm going to review your PR slowly and move through it with suspicion. A spectrum exists between those two extremes. Please try to understand that I'm the one ultimately on the line for the addon's reputation. - Breaking up a large change into smaller manageable pieces make things easier. - You can reach out to me in any of these ways to talk about a change you're considering: - - Preferred: [File an issue on github](https://github.com/sabeechen/hassio-filenio-backup/issues) proposing your changes. + - Preferred: [File an issue on github](https://github.com/juskalalie/hassio-filenio-backup/issues) proposing your changes. - Next best: Email: stephen@beechens.com - - Acceptable but worst: Home Assistant Forums: [@sabeechen](https://community.home-assistant.io/u/sabeechen/summary) - - Any submissions to the dev branch get automatically built and pushed to a staging version of the addon that you can install using [this repository](https://github.com/sabeechen/hgdb-dev-staging). Its identical to the "Production" addon but talks to [https://dev.habackup.io](https://dev.habackup.io) instead of [https://habackup.io](https://habackup.io). + - Acceptable but worst: Home Assistant Forums: [@juskalalie](https://community.home-assistant.io/u/juskalalie/summary) + - Any submissions to the dev branch get automatically built and pushed to a staging version of the addon that you can install using [this repository](https://github.com/juskalalie/hgdb-dev-staging). Its identical to the "Production" addon but talks to [https://dev.habackup.io](https://dev.habackup.io) instead of [https://habackup.io](https://habackup.io). - Releases of the addon are made as-needed for bug fixes and new features. If you've made a signifigant change to the addon, you can expect me to communicate to you when you can expect to see it released. Important fixes will often demand an out-of-schedule rushed release. ## Setting up a Development Environment @@ -32,7 +32,7 @@ If the you open the repository folder in Visual Studio code with docker installe 3. Install a git client. I like [GitHub Desktop](https://desktop.github.com/) 4. Clone the project repository ``` - https://github.com/sabeechen/hassio-filenio-backup.git + https://github.com/juskalalie/hassio-filenio-backup.git ``` 5. Open Visual studio Code, go to the extension menu, and install the Desktop] (Python extension from Microsoft. It may prompt you to choose a Python interpreter (you want Python 3.11) and select a test framework (you want pytest). 6. File > Open Folder to open the cloned repository folder. @@ -53,16 +53,16 @@ Here are some pointers about how things work that might get you to where you wan ## Trying Out Changes -To try out changes locally during development, I've written a server that simulates Home Assistant, Supervisor, habackup.io, and Google Drive HTTP endpoints that the addon expects in [simulationserver.py](https://github.com/sabeechen/hassio-filenio-backup/blob/master/hassio-filenio-backup/dev/simulationserver.py). It’s a beast of a class and does a lot. It simulates the services for development and is also used to make unit tests work. +To try out changes locally during development, I've written a server that simulates Home Assistant, Supervisor, habackup.io, and Google Drive HTTP endpoints that the addon expects in [simulationserver.py](https://github.com/juskalalie/hassio-filenio-backup/blob/master/hassio-filenio-backup/dev/simulationserver.py). It’s a beast of a class and does a lot. It simulates the services for development and is also used to make unit tests work. To give it a shot, open up Visual Studio's "Run" Dialog and start up `Run Mock Backend Server`. Then also run one of these options: - `Run Addons (Dev Backends)` - This starts up the addon web server and connects it to the simulated Home Assistant, Supervisor, and Google Drive. All of the functionality of the addon is supported (creating/deleting backups, authenticating with Google drive, etc.). -- `Run Addons (Dev Drive)` - This should be unused by contributors, as its only used for testing prior to a release by @sabeechen. +- `Run Addons (Dev Drive)` - This should be unused by contributors, as its only used for testing prior to a release by @juskalalie. - `Run Addons (Real Drive)` - This uses a simulated Home Assistant and Supervisor, but connects to the real Google Drive. You'll have to use a real Google account to work with this configuration. ## The Staging Addon -Any submissions made to the dev branch (including PR's) get automatically built and deployed to a staging version of the addon. You can install this by adding the repository [https://github.com/sabeechen/hgdb-dev-staging](https://github.com/sabeechen/hgdb-dev-staging) to your home assistant machine. This addon is identical to what will be released with the next version of the addon but: +Any submissions made to the dev branch (including PR's) get automatically built and deployed to a staging version of the addon. You can install this by adding the repository [https://github.com/juskalalie/hgdb-dev-staging](https://github.com/juskalalie/hgdb-dev-staging) to your home assistant machine. This addon is identical to what will be released with the next version of the addon but: - It is a separate "App" in Google's perspective, so it can't see any backups created by the "Production" addon. - Its not reocmmended to run it along side the "Production" addon on the same machine (it see's the same backups). - It talks to [https://dev.habackup.io](https://dev.habackup.io) instead of [https://habackup.io](https://habackup.io) to authenticate with Google Drive. @@ -103,5 +103,5 @@ You should be able to run tests from within the Visual Studio tests tab. Make su ## Writing Tests -Test dependencies get injected by `pytest`, which are defined in the [conftest.py](https://github.com/sabeechen/hassio-filenio-backup/blob/master/hassio-filenio-backup/tests/conftest.py) file. This is responsible for starting the simulation server, mocking necessary classes, etc. -Most classes have their own test file in the [tests](https://github.com/sabeechen/hassio-filenio-backup/tree/master/hassio-filenio-backup/tests) directory. If you change anything in the code, you must also submit tests with your PR that verify that change. The only exception is that all the addon's JavaScript, I've never found a good way to do JavaScript tests. +Test dependencies get injected by `pytest`, which are defined in the [conftest.py](https://github.com/juskalalie/hassio-filenio-backup/blob/master/hassio-filenio-backup/tests/conftest.py) file. This is responsible for starting the simulation server, mocking necessary classes, etc. +Most classes have their own test file in the [tests](https://github.com/juskalalie/hassio-filenio-backup/tree/master/hassio-filenio-backup/tests) directory. If you change anything in the code, you must also submit tests with your PR that verify that change. The only exception is that all the addon's JavaScript, I've never found a good way to do JavaScript tests. diff --git a/README.md b/README.md index 43c903e..83eaf2c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## About A complete and easy way to back up Home Assistant to filen.io. -Based on [the original Google Drive backup add-on](https://github.com/sabeechen/hassio-filenio-backup) from Stephen Beechen. +Based on [the original Google Drive backup add-on](https://github.com/juskalalie/hassio-filenio-backup) from Stephen Beechen. This is for you if you want to quickly set up a backup strategy without much fuss. It doesn't require much familiarity with Home Assistant, its architecture, or filen.io. Detailed install instructions are provided below but you can just add this repo, click install and open the Web UI. It will tell you what to do and only takes a few simple clicks. [Detailed install instructions are below](#detailed-install-instructions) if that doesn't seem clear. @@ -31,10 +31,10 @@ This addon has been featured by %YOUR_FAVORITE_HA_YOUTUBER% and is often listed >This project requires financial support to make the Google Drive integration work, but it is free for you to use. You can join those helping to keep the lights on at: > ->[](https://www.buymeacoffee.com/sabeechen) +>[](https://www.buymeacoffee.com/juskalalie) >[](https://www.paypal.com/paypalme/stephenbeechen) >[](https://www.patreon.com/bePatron?u=4064183) ->[](https://github.com/sponsors/sabeechen) +>[](https://github.com/sponsors/juskalalie) >[](donate-crypto.md) >[](donate-crypto.md) >[](donate-crypto.md) @@ -44,7 +44,7 @@ This addon has been featured by %YOUR_FAVORITE_HA_YOUTUBER% and is often listed ### Detailed Install Instructions 1. Navigate in your Home Assistant frontend to Settings -> Add-ons -> Add-on Store (Bottom Right). -2. Click the 3-dots menu at upper right ... > Repositories and add this repository's URL: [https://github.com/sabeechen/hassio-filenio-backup](https://github.com/sabeechen/hassio-filenio-backup) +2. Click the 3-dots menu at upper right ... > Repositories and add this repository's URL: [https://github.com/juskalalie/hassio-filenio-backup](https://github.com/juskalalie/hassio-filenio-backup) @@ -151,7 +151,7 @@ You can add `"backup_time_of_day": "13:00"` to your add-on configuration to make ### Can I keep older backups for longer? -> This is just an overview of how to keep older backups longer. [See here](https://github.com/sabeechen/hassio-filenio-backup/blob/master/hassio-filenio-backup/GENERATIONAL_BACKUP.md) for a more in-depth explanation. +> This is just an overview of how to keep older backups longer. [See here](https://github.com/juskalalie/hassio-filenio-backup/blob/master/hassio-filenio-backup/GENERATIONAL_BACKUP.md) for a more in-depth explanation. The add-on can be configured to keep [generational backups](https://en.wikipedia.org/wiki/Backup_rotation_scheme) on daily, weekly, monthly, and yearly intervals instead of just deleting the oldest backup. This can be useful if, for example, you've made an erroneous change but haven't noticed for several days and all the backups before the change are gone. With a configuration setting like this... @@ -227,7 +227,7 @@ Maybe. You can encrypt your backups by giving a password in the add-on's options On a matter of principle, I only keep track of and store information necessary for the add-on to function. To the best of my knowledge the scope of this is: - You can opt-in to sending error reports from the add-on sent to a database maintained by me. This includes the full text of the error's stack trace, the error message, and the version of the add-on you're running. This helps notice problems with new releases but leaving it off (the default unless you turn it on) doesn't affect the functionality of the add-on in any way. -- Once authenticated with Google, your Google credentials are only stored locally on your Home Assistant instance. This isn't your actual username and password, only an opaque token returned from Google used to verify that you previously gave the Add-on permission to access your Google Drive. Your password is never seen by me or the add-on. You can read more about how authentication with Google is accomplished [here](https://github.com/sabeechen/hassio-filenio-backup/blob/master/hassio-filenio-backup/AUTHENTICATION.md). +- Once authenticated with Google, your Google credentials are only stored locally on your Home Assistant instance. This isn't your actual username and password, only an opaque token returned from Google used to verify that you previously gave the Add-on permission to access your Google Drive. Your password is never seen by me or the add-on. You can read more about how authentication with Google is accomplished [here](https://github.com/juskalalie/hassio-filenio-backup/blob/master/hassio-filenio-backup/AUTHENTICATION.md). - The add-on has access to the files in Google Drive it created, which is the 'Home Assistant Backups' folder and any backups it uploads. See the https://www.googleapis.com/auth/drive.file scope in the [Drive REST API v3 Documentation](https://developers.google.com/drive/api/v3/about-auth) for details, this is the only scope the add-on requests for your account. - Google stores a history of information about the number of requests, number of errors, and latency of requests made by this Add-on and makes a graph of that visible to me. This is needed because Google only gives me a certain quota for requests shared between all users of the add-on, so I need to be aware if someone is abusing it. - The Add-on is distributed as a Docker container hosted on Docker Hub, which is how almost all add-ons work. Docker keeps track of how many people have requested an image and makes that information publicly visible. diff --git a/donate-crypto.md b/donate-crypto.md index c7536fc..f4a141a 100644 --- a/donate-crypto.md +++ b/donate-crypto.md @@ -1,5 +1,5 @@ ## Contributing with Cryptocurrency -Below are the addresses and relevant QR Codes for contributiong to the project with Monreo, Ethereum and Bitcoin. Thank you for considering! If you'd like to donate using a currency not listed, make an [issue](https://github.com/sabeechen/hassio-filenio-backup/issues) so I can consider it. Cryptocurrency might be the purest way to contribute, because I have no way of knowing who you are. Your anonymous support is appreciated <3 +Below are the addresses and relevant QR Codes for contributiong to the project with Monreo, Ethereum and Bitcoin. Thank you for considering! If you'd like to donate using a currency not listed, make an [issue](https://github.com/juskalalie/hassio-filenio-backup/issues) so I can consider it. Cryptocurrency might be the purest way to contribute, because I have no way of knowing who you are. Your anonymous support is appreciated <3

###
diff --git a/hassio-google-drive-backup/AUTHENTICATION.md b/hassio-google-drive-backup/AUTHENTICATION.md index a6a664f..eae7631 100644 --- a/hassio-google-drive-backup/AUTHENTICATION.md +++ b/hassio-google-drive-backup/AUTHENTICATION.md @@ -1,7 +1,7 @@ # Authentication with Google Drive This document describes how the addon (Home Assistant Google Drive Backup) authenticates with Google Drive and stores your credentials. It's geared toward those who wish to know more detail and is not necessary to take advantage of the full features of the addon. The document is provided in the interest of providing full transparency into how the add-on works. I've tried to describe this as plainly as possible, but it is technical and therefore may not be understandable to everyone. Feedback on its clarity is appreciated. - > This document describes how authentication works if you use the big blue "AUTHENTICATE WITH GOOGLE DRIVE" button in the addon. If you're using [your own Google Drive credentials](https://github.com/sabeechen/hassio-filenio-backup/blob/master/LOCAL_AUTH.md), then none of this applies. + > This document describes how authentication works if you use the big blue "AUTHENTICATE WITH GOOGLE DRIVE" button in the addon. If you're using [your own Google Drive credentials](https://github.com/juskalalie/hassio-filenio-backup/blob/master/LOCAL_AUTH.md), then none of this applies. ## Your Credentials and the Needed Permission To have access to any information in Google Drive, Google's authentication servers must be told that the add-on has the permission. The add-on uses [Google Drive's Rest API (v3)](https://developers.google.com/drive/api/v3/about-sdk) for communication and requests the [drive.file](https://developers.google.com/drive/api/v3/about-auth) permission *scope*. This *scope* means the add-on has access to files and folders that the add-on created, but nothing else. It can't see files you've added to Google Drive through their web interface or anywhere else. Google Drive's Rest API allows the addon to periodically check what backups are uploaded and upload new ones if necessary by making requests over the internet. diff --git a/hassio-google-drive-backup/CHANGELOG.md b/hassio-google-drive-backup/CHANGELOG.md index 0b871b6..14cea98 100644 --- a/hassio-google-drive-backup/CHANGELOG.md +++ b/hassio-google-drive-backup/CHANGELOG.md @@ -1,6 +1,6 @@ ## v0.112.1 [2023-11-03] -- Added warnings about using the "Stop Addons" feature. I plan on removing this in the near future. If you'd like to keep the feature around, please give your feedback in [this GitHub issue](https://github.com/sabeechen/hassio-filenio-backup/issues/940). +- Added warnings about using the "Stop Addons" feature. I plan on removing this in the near future. If you'd like to keep the feature around, please give your feedback in [this GitHub issue](https://github.com/juskalalie/hassio-filenio-backup/issues/940). - When backups are stuck in the "pending" state, the addon now provides you with the Supervisor logs to help figure out whats wrong. - Added support for the "exclude Home Assistant database" options for automatic backups - Added configuration options to limit the speed of uploads to Google Drive diff --git a/hassio-google-drive-backup/DOCS.md b/hassio-google-drive-backup/DOCS.md index 16d4330..e4215ce 100644 --- a/hassio-google-drive-backup/DOCS.md +++ b/hassio-google-drive-backup/DOCS.md @@ -2,7 +2,7 @@ ## Installation -To install the add-on, first follow the installation steps from the [README on GitHub](https://github.com/sabeechen/hassio-filenio-backup#installation). +To install the add-on, first follow the installation steps from the [README on GitHub](https://github.com/juskalalie/hassio-filenio-backup#installation). ## Configuration @@ -132,11 +132,11 @@ When set, backups are created with a password. You can use a value from your sec ### Option: `backup_name` (default: "{type} Backup {year}-{month}-{day} {hr24}:{min}:{sec}") -Sets the name for new backups. Variable parameters of the form `{variable_name}` can be used to modify the name to your liking. A list of available variables is available [here](https://github.com/sabeechen/hassio-filenio-backup#can-i-give-backups-a-different-name). +Sets the name for new backups. Variable parameters of the form `{variable_name}` can be used to modify the name to your liking. A list of available variables is available [here](https://github.com/juskalalie/hassio-filenio-backup#can-i-give-backups-a-different-name). ### Option: `generational_*` -When set, older backups will be kept longer using a [generational backup scheme](https://en.wikipedia.org/wiki/Backup_rotation_scheme). See the [question here](https://github.com/sabeechen/hassio-filenio-backup#can-i-keep-older-backups-for-longer) for configuration options. +When set, older backups will be kept longer using a [generational backup scheme](https://en.wikipedia.org/wiki/Backup_rotation_scheme). See the [question here](https://github.com/juskalalie/hassio-filenio-backup#can-i-keep-older-backups-for-longer) for configuration options. ### Option: `exclude_folders` @@ -150,15 +150,15 @@ _Note_: Folders and add-ons must be identified by their "slug" name. It is recom ### Option: `enable_backup_stale_sensor` (default: True) -When false, the add-on will not publish the [binary_sensor.backups_stale](https://github.com/sabeechen/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) stale sensor. +When false, the add-on will not publish the [binary_sensor.backups_stale](https://github.com/juskalalie/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) stale sensor. ### Option: `enable_backup_state_sensor` (default: True) -When false, the add-on will not publish the [sensor.backup_state](https://github.com/sabeechen/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) sensor. +When false, the add-on will not publish the [sensor.backup_state](https://github.com/juskalalie/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) sensor. ### Option: `notify_for_stale_backups` (default: True) -When false, the add-on will send a [persistent notification](https://github.com/sabeechen/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) in Home Assistant when backups are stale. +When false, the add-on will send a [persistent notification](https://github.com/juskalalie/hassio-filenio-backup#how-will-i-know-this-will-be-there-when-i-need-it) in Home Assistant when backups are stale. --- @@ -202,4 +202,4 @@ When true, backups are always deleted after they've been uploaded to Google Driv ## FAQ -Read the [FAQ on GitHub](https://github.com/sabeechen/hassio-filenio-backup#faq). +Read the [FAQ on GitHub](https://github.com/juskalalie/hassio-filenio-backup#faq). diff --git a/hassio-google-drive-backup/README.md b/hassio-google-drive-backup/README.md index ad00599..8df6071 100644 --- a/hassio-google-drive-backup/README.md +++ b/hassio-google-drive-backup/README.md @@ -8,13 +8,13 @@ Quickly set up a backup strategy without much fuss. It doesn't require much fami >This project requires financial support to make the Google Drive integration work, but it is free for you to use. You can join those helping to keep the lights on at: > ->[](https://www.buymeacoffee.com/sabeechen) ->[](https://www.paypal.com/paypalme/stephenbeechen) ->[](https://www.patreon.com/bePatron?u=4064183) ->[](https://github.com/sponsors/sabeechen) ->[](https://github.com/sabeechen/hassio-filenio-backup/blob/master/donate-crypto.md) ->[](https://github.com/sabeechen/hassio-filenio-backup/blob/master/donate-crypto.md) ->[](https://github.com/sabeechen/hassio-filenio-backup/blob/master/donate-crypto.md) +>[](https://www.buymeacoffee.com/juskalalie) +>[](https://www.paypal.com/paypalme/stephenbeechen) +>[](https://www.patreon.com/bePatron?u=4064183) +>[](https://github.com/sponsors/juskalalie) +>[](https://github.com/juskalalie/hassio-filenio-backup/blob/master/donate-crypto.md) +>[](https://github.com/juskalalie/hassio-filenio-backup/blob/master/donate-crypto.md) +>[](https://github.com/juskalalie/hassio-filenio-backup/blob/master/donate-crypto.md) ### Features @@ -30,5 +30,5 @@ Quickly set up a backup strategy without much fuss. It doesn't require much fami - Comprehensive documentation. - _Most certainly_ doesn't mine bitcoin on your home automation server. Definitely no. -See the [README on GitHub](https://github.com/sabeechen/hassio-filenio-backup) for all the details, or just install the add-on and open the Web UI. +See the [README on GitHub](https://github.com/juskalalie/hassio-filenio-backup) for all the details, or just install the add-on and open the Web UI. The Web-UI explains everything you have to do. diff --git a/hassio-google-drive-backup/backup/const.py b/hassio-google-drive-backup/backup/const.py index 5e2ea4d..7e95342 100644 --- a/hassio-google-drive-backup/backup/const.py +++ b/hassio-google-drive-backup/backup/const.py @@ -49,7 +49,7 @@ PROP_NOTE = "note" DRIVE_FOLDER_URL_FORMAT = "https://drive.google.com/drive/u/0/folders/{0}" -GITHUB_ISSUE_URL = "https://github.com/sabeechen/hassio-filenio-backup/issues/new?labels[]=People%20Management&labels[]=[Type]%20Bug&title={title}&assignee=sabeechen&body={body}" +GITHUB_ISSUE_URL = "https://github.com/juskalalie/hassio-filenio-backup/issues/new?labels[]=People%20Management&labels[]=[Type]%20Bug&title={title}&assignee=juskalalie&body={body}" GITHUB_BUG_TEMPLATE = """ ###### Description: ``` diff --git a/hassio-google-drive-backup/backup/server/server.py b/hassio-google-drive-backup/backup/server/server.py index 90b7029..ec55e46 100644 --- a/hassio-google-drive-backup/backup/server/server.py +++ b/hassio-google-drive-backup/backup/server/server.py @@ -95,7 +95,7 @@ async def authorize(self, request: Request): raise self.logError(request, e) content = "The server encountered an error while processing this request: " + str(e) + "
" - content += "Please file an issue on Home Assistant Google Backup's GitHub page so I'm aware of this problem or attempt authorizing with Google Drive again." + content += "Please file an issue on Home Assistant Google Backup's GitHub page so I'm aware of this problem or attempt authorizing with Google Drive again." return Response(status=500, body=content) else: raise HTTPBadRequest() diff --git a/hassio-google-drive-backup/backup/static/index.jinja2 b/hassio-google-drive-backup/backup/static/index.jinja2 index 68bd742..7066830 100644 --- a/hassio-google-drive-backup/backup/static/index.jinja2 +++ b/hassio-google-drive-backup/backup/static/index.jinja2 @@ -46,7 +46,7 @@ Clicking this link authenticates you with an external domain maintained by the developer of this add-on (habackup.io). -
  • You can read this to understand what this means and why it's necessary. +
  • You can read this to understand what this means and why it's necessary.
  • By doing this you must agree to the Privacy Policy and Terms of Service @@ -83,7 +83,7 @@
    Follow the instructions + href="https://github.com/juskalalie/hassio-filenio-backup/blob/master/LOCAL_AUTH.md">instructions here to get your own client ID and client secret from Google's Cloud Console. This is a much more complicated and time consuming approach but doesn't require you to authenticate yourself with an external domain.
    diff --git a/hassio-google-drive-backup/backup/static/js/about.js b/hassio-google-drive-backup/backup/static/js/about.js index 72bceee..4176a8f 100644 --- a/hassio-google-drive-backup/backup/static/js/about.js +++ b/hassio-google-drive-backup/backup/static/js/about.js @@ -1,11 +1,11 @@ let contributorsLoaded = false; -const CONTRIBUTORS_API_URL = "https://api.github.com/repos/sabeechen/hassio-filenio-backup/contributors"; -const CONTRIBUTOR_COMMIT_URL = "https://github.com/sabeechen/hassio-filenio-backup/commits?author={AUTHOR}"; +const CONTRIBUTORS_API_URL = "https://api.github.com/repos/juskalalie/hassio-filenio-backup/contributors"; +const CONTRIBUTOR_COMMIT_URL = "https://github.com/juskalalie/hassio-filenio-backup/commits?author={AUTHOR}"; const CONTRIBUTORS_COUNT_TO_SHOW = 14; const EXTRA_CONTRIBUTORS = { - "sabeechen": "Original author. Did most of this.", + "juskalalie": "Original author. Did most of this.", "ericmatte": "Redesigned the UI with divine HTML and CSS wizardry.", "jhampson-dbre": "Fixed a really nasty timing bug.", }; diff --git a/hassio-google-drive-backup/backup/static/js/scripts.js b/hassio-google-drive-backup/backup/static/js/scripts.js index afb4274..adb43c7 100644 --- a/hassio-google-drive-backup/backup/static/js/scripts.js +++ b/hassio-google-drive-backup/backup/static/js/scripts.js @@ -819,7 +819,7 @@ function populateDnsInfo(target, data) { function populateGitHubInfo(target, error) { $('#generic_error_title', target).text(error.message); $('#generic_error_details', target).text(error.details); - $('#error_github_search', target).attr("href", "https://github.com/sabeechen/hassio-filenio-backup/issues?q=" + encodeURIComponent("\"" + error.message.replace("\"", "\\\"") + "\"")); + $('#error_github_search', target).attr("href", "https://github.com/juskalalie/hassio-filenio-backup/issues?q=" + encodeURIComponent("\"" + error.message.replace("\"", "\\\"") + "\"")); } function simulateError() { diff --git a/hassio-google-drive-backup/backup/static/layouts/partials/error-messages.jinja2 b/hassio-google-drive-backup/backup/static/layouts/partials/error-messages.jinja2 index 74abb48..b97e7a4 100644 --- a/hassio-google-drive-backup/backup/static/layouts/partials/error-messages.jinja2 +++ b/hassio-google-drive-backup/backup/static/layouts/partials/error-messages.jinja2 @@ -90,7 +90,7 @@
  • Make your backups smaller (see this + href="https://github.com/juskalalie/hassio-filenio-backup#will-this-fill-up-my-filenio-why-are-my-backups-so-big">this tip). You can also click the little info next to backups below to see which parts of them are taking up the most space. @@ -153,7 +153,7 @@
  • Make your backups smaller (see this tip)
  • {% endcall %} @@ -510,7 +510,7 @@

    Note: Google's authentication mechanisms require you to select your folder through an external domain, which is where the "Choose Folder" link will take you. - See here for details if you'd like to know more about why.

    {% endcall %} @@ -560,7 +560,7 @@

    Note: Google's authentication mechanisms require you to select your folder through an external domain, which is where the "choose folder" link below will take you. - See here for details if you'd like to know more about why.

    {% endcall %} @@ -602,7 +602,7 @@ @@ -222,7 +222,7 @@

    Google recently announced changes they're making to how their OAuth credentials are generated. You previously followed - these instructions to set up credentials + these instructions to set up credentials the add-on can use to upload to Google Drive. If you did that before March 16 2022, Google is going to make those credentials invalid in October of 2022. If you are affected this means that in October 2022 the add-on will be unable to authorize with Google Drive and your backups will not get uploaded.

    @@ -231,7 +231,7 @@

    If you are affected, you likely received an email from Google titled 'Migrate your OAuth out-of-band flow'. To make your credentials work, please follow the steps linked here to - make your credentials and reauthorize the addon. + make your credentials and reauthorize the addon. You don't need to follow all the steps exactly; you just need to modify what you have to match up with the instructions. In particular please ensure that: