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

Torrent search: Fix for Safari on iOS. #235

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

josteink
Copy link
Contributor

keyup.enter event does not seem to trigger for Safari on iOS. Trigger update-code on blur-event too to workaround.

Tested on local bitmagnet installation and seems to work fine.

This fixes #117.

keyup.enter event does not seem to trigger for Safari on iOS.
Trigger update-code on blur-event too to workaround.

This fixes bitmagnet-io#117.
@mgdigital
Copy link
Collaborator

Thanks for this! Please could you rebuild the embedded UI with npm run build -- -c embedded?

@josteink
Copy link
Contributor Author

Sure. Like this?

@mgdigital
Copy link
Collaborator

Yep, thanks!

@mgdigital mgdigital merged commit 7902b93 into bitmagnet-io:main Mar 30, 2024
9 checks passed
@josteink josteink deleted the feature/safari-ios-fix branch March 30, 2024 09:56
truecharts-admin added a commit to truecharts/charts that referenced this pull request May 5, 2024
… v0.8.0@c638773 by renovate (#21612)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/bitmagnet-io/bitmagnet](https://togithub.com/bitmagnet-io/bitmagnet)
| minor | `0.7.14` -> `v0.8.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>bitmagnet-io/bitmagnet
(ghcr.io/bitmagnet-io/bitmagnet)</summary>

###
[`v0.8.0`](https://togithub.com/bitmagnet-io/bitmagnet/releases/tag/v0.8.0)

[Compare
Source](https://togithub.com/bitmagnet-io/bitmagnet/compare/v0.7.14...v0.8.0)

#### Classifier reimplementation

The classifier has been re-implemented and now uses a DSL allowing for
full customisation. Several bugs have also been fixed, and a preparatory
database migration for search ordering has been added.

The classifier documentation can be found at
https://bitmagnet.io/tutorials/classifier.html.

#### Build reimplementation

The build has been re-implemented using
https://github.com/goreleaser/goreleaser, thanks to
[@&#8203;KyleSanderson](https://togithub.com/KyleSanderson). A number of
new platform-specific build artifacts are now available.

#### Seeders/Leechers bug

There has somehow been a bug present, since day 1, whereby seeders and
leechers were being swapped by the DHT crawler! This is fixed in 0.8.x.
The first beta included a migration that would fix existing data, but
the query just takes too long (for larger indexes), and so it has been
removed from the migration.

Until now, no-one noticed - but If you care and would like to fix this
in your index, you can run the following query, replacing the time with
the time at which you did the 0.8.x upgrade. Be warned, this query may
take a while for larger indexes! In time, much of the data will
naturally fix itself anyway as the S/L numbers get re-scraped by the
crawler when the torrent is re-discovered.

```sql
update torrents_torrent_sources set seeders = leechers, leechers = seeders where source = 'dht' and  updated_at < '2024-04-30 00:00:00+00';
```

#### What's Changed

- Create FUNDING.yml by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#219
- Fix angular cli version by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#220
- Torrent search: Fix for Safari on iOS. by
[@&#8203;josteink](https://togithub.com/josteink) in
[bitmagnet-io/bitmagnet#235
- Classifier rewrite by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#213
- Fix slow migration of published_at field by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#240
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#241
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#242
- Keep a default placeholder value for published_at to avoid a breaking
change by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#243
- Add an order by updated_at column, as there may be many records with
the same published_at by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#244
- Add orphans option to reprocess command by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#245
- Use budgeted count for reprocess by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#246
- Bump golang.org/x/net from 0.20.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#239
- Bump express from 4.18.2 to 4.19.2 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#236
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#231
- Bump follow-redirects from 1.15.5 to 1.15.6 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#221
- Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#218
- Add Nix shell and refactor actions by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#249
- Use goreleaser for build process
([#&#8203;212](https://togithub.com/bitmagnet-io/bitmagnet/issues/212))
by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#216
- Upgrade dependencies by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#250
- Don't run GHCR action on main by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#251
- Fix docsite plugin by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#252

#### New Contributors

- [@&#8203;josteink](https://togithub.com/josteink) made their first
contribution in
[bitmagnet-io/bitmagnet#235
- [@&#8203;KyleSanderson](https://togithub.com/KyleSanderson) made their
first contribution in
[bitmagnet-io/bitmagnet#212

**Full Changelog**:
bitmagnet-io/bitmagnet@v0.7.14...v0.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enter button not recognised in search input on iOS
2 participants