chore: linting

This commit is contained in:
Daan Wijns 2024-01-09 11:12:25 +01:00
parent 4a898c3fe2
commit cd6be33ef3
4 changed files with 20 additions and 16 deletions

View file

@ -31,7 +31,7 @@ jobs:
permissions:
contents: write
pull-requests: write
actions: write
actions: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

View file

@ -2,26 +2,28 @@
## [2.5.0](https://github.com/WDaan/VueTorrent/compare/v2.4.0...v2.5.0) (2024-01-09)
### Features
* **RSS:** Allow edit feed URL (4.6.0+) ([#1433](https://github.com/WDaan/VueTorrent/issues/1433)) ([ade6def](https://github.com/WDaan/VueTorrent/commit/ade6defb826f3868532ac4d16ad0bdb2eec5a556))
- **RSS:** Allow edit feed URL (4.6.0+) ([#1433](https://github.com/WDaan/VueTorrent/issues/1433))
([ade6def](https://github.com/WDaan/VueTorrent/commit/ade6defb826f3868532ac4d16ad0bdb2eec5a556))
### Bug Fixes
* make info tab selectable [#1413](https://github.com/WDaan/VueTorrent/issues/1413) ([7e8cc9c](https://github.com/WDaan/VueTorrent/commit/7e8cc9cdbcaa741c2c91c79b8cb113587662174c))
* **sortBy:** Fix height overflow ([#1441](https://github.com/WDaan/VueTorrent/issues/1441)) ([b261d15](https://github.com/WDaan/VueTorrent/commit/b261d1547a966155740e47227d6e29c316e9136a))
* sticky add button [#1415](https://github.com/WDaan/VueTorrent/issues/1415) ([64c595e](https://github.com/WDaan/VueTorrent/commit/64c595eeac6e48d86c11ddc533122f1658c1b6a8))
- make info tab selectable [#1413](https://github.com/WDaan/VueTorrent/issues/1413) ([7e8cc9c](https://github.com/WDaan/VueTorrent/commit/7e8cc9cdbcaa741c2c91c79b8cb113587662174c))
- **sortBy:** Fix height overflow ([#1441](https://github.com/WDaan/VueTorrent/issues/1441))
([b261d15](https://github.com/WDaan/VueTorrent/commit/b261d1547a966155740e47227d6e29c316e9136a))
- sticky add button [#1415](https://github.com/WDaan/VueTorrent/issues/1415) ([64c595e](https://github.com/WDaan/VueTorrent/commit/64c595eeac6e48d86c11ddc533122f1658c1b6a8))
### Improvements
* **add-torrent:** Use scrollable dialog instead of manual infinite scroll ([#1442](https://github.com/WDaan/VueTorrent/issues/1442)) ([7288861](https://github.com/WDaan/VueTorrent/commit/7288861515ffb81d23ddcbce6446f0ad7726cab2))
* center login screen ([f773756](https://github.com/WDaan/VueTorrent/commit/f773756b163f3dae13076bfa4008ba9f3c905ca9))
* **dev:** Add MockProvider ([#1435](https://github.com/WDaan/VueTorrent/issues/1435)) ([f5524b7](https://github.com/WDaan/VueTorrent/commit/f5524b7d8b3c4e73369078636d8b67027f8f265b))
* **SpeedGraph:** Init values with null ([#1422](https://github.com/WDaan/VueTorrent/issues/1422)) ([51d58cf](https://github.com/WDaan/VueTorrent/commit/51d58cfc4962f3c4fcc71d9e65a09863f695e025))
* tweak torrent title ([0e67cea](https://github.com/WDaan/VueTorrent/commit/0e67cea318170000ec8fa00ac6918724f3ede999))
- **add-torrent:** Use scrollable dialog instead of manual infinite scroll ([#1442](https://github.com/WDaan/VueTorrent/issues/1442))
([7288861](https://github.com/WDaan/VueTorrent/commit/7288861515ffb81d23ddcbce6446f0ad7726cab2))
- center login screen ([f773756](https://github.com/WDaan/VueTorrent/commit/f773756b163f3dae13076bfa4008ba9f3c905ca9))
- **dev:** Add MockProvider ([#1435](https://github.com/WDaan/VueTorrent/issues/1435))
([f5524b7](https://github.com/WDaan/VueTorrent/commit/f5524b7d8b3c4e73369078636d8b67027f8f265b))
- **SpeedGraph:** Init values with null ([#1422](https://github.com/WDaan/VueTorrent/issues/1422))
([51d58cf](https://github.com/WDaan/VueTorrent/commit/51d58cfc4962f3c4fcc71d9e65a09863f695e025))
- tweak torrent title ([0e67cea](https://github.com/WDaan/VueTorrent/commit/0e67cea318170000ec8fa00ac6918724f3ede999))
## [2.4.0](https://github.com/WDaan/VueTorrent/compare/v2.3.0...v2.4.0) (2023-12-09)

View file

@ -413,6 +413,6 @@ onBeforeUnmount(() => {
<style>
.v-autocomplete .v-field:not(.v-field--focused) input {
display: none
display: none;
}
</style>

View file

@ -24,7 +24,9 @@ import IProvider from './IProvider'
export default class MockProvider implements IProvider {
private static instance: MockProvider
private static hashes: string[] = new Array(parseInt(import.meta.env.VITE_FAKE_TORRENTS_COUNT)).fill('').map(() => faker.string.hexadecimal({ length: 40, prefix: '', casing: 'lower' }))
private static hashes: string[] = new Array(parseInt(import.meta.env.VITE_FAKE_TORRENTS_COUNT))
.fill('')
.map(() => faker.string.hexadecimal({ length: 40, prefix: '', casing: 'lower' }))
private constructor() {}
@ -699,7 +701,7 @@ export default class MockProvider implements IProvider {
infohash_v1: hash,
infohash_v2: '',
last_activity: faker.number.int({ min: 0, max: 50 }),
magnet_uri: `magnet:?xt=urn:btih:${ hash }&dn=${ name }&tr=${ tracker }`,
magnet_uri: `magnet:?xt=urn:btih:${hash}&dn=${name}&tr=${tracker}`,
max_inactive_seeding_time: -1,
max_ratio: -1,
max_seeding_time: -1,