Compare commits

..

186 Commits
v1.2.0 ... main

Author SHA1 Message Date
ricoberger
bac50cb86e Update License 2026-01-15 12:59:13 +01:00
ricoberger
3e43029b96 Fix Readme 2026-01-15 12:57:35 +01:00
dependabot[bot]
b3e82b7a8e Bump the npm group in /supabase/email-templates with 6 updates (#283) 2025-10-31 15:16:22 +01:00
dependabot[bot]
2d3622487d Bump the npm group across 1 directory with 12 updates (#287) 2025-10-31 15:15:20 +01:00
dependabot[bot]
683f5b3369 Bump the github-actions group across 1 directory with 3 updates (#289) 2025-10-31 15:14:43 +01:00
Rico Berger
01250cfc35 Add Linting in CI and Fix Linting Errors (#281) 2025-07-27 15:58:48 +02:00
Rico Berger
e726b4b0ea Update Android Build Configuration (#280)
- Migrate Gradle build files from Groovy to Kotlin.
- Update target sdk version to `35`.
2025-07-27 15:50:13 +02:00
dependabot[bot]
648ed898d9 Bump the pub group across 1 directory with 25 updates (#279)
* Bump the pub group across 1 directory with 25 updates

Bumps the pub group with 23 updates in the /app directory:

| Package | From | To |
| --- | --- | --- |
| [carousel_slider](https://github.com/serenader2014/flutter_carousel_slider) | `5.0.0` | `5.1.1` |
| [file_picker](https://github.com/miguelpruivo/flutter_file_picker) | `10.1.2` | `10.2.0` |
| [flutter_launcher_icons](https://github.com/fluttercommunity/flutter_launcher_icons) | `0.14.3` | `0.14.4` |
| [flutter_lints](https://github.com/flutter/packages/tree/main/packages) | `5.0.0` | `6.0.0` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.7.6` | `0.7.7+1` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.4.5` | `2.4.6` |
| [html](https://github.com/dart-lang/tools/tree/main/pkgs) | `0.15.5` | `0.15.6` |
| [http](https://github.com/dart-lang/http/tree/master/pkgs) | `1.3.0` | `1.4.0` |
| [intl](https://github.com/dart-lang/i18n/tree/main/pkgs) | `0.19.0` | `0.20.2` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.46` | `0.10.4` |
| [just_audio_background](https://github.com/ryanheise/just_audio) | `0.0.1-beta.15` | `0.0.1-beta.17` |
| [just_audio_media_kit](https://github.com/Pato05/just_audio_media_kit) | `2.0.6` | `2.1.0` |
| [media_kit_libs_video](https://github.com/media-kit/media-kit) | `1.0.5` | `1.0.6` |
| [media_kit_video](https://github.com/media-kit/media-kit) | `1.2.5` | `1.3.0` |
| [msix](https://github.com/YehudaKremer/msix) | `3.16.8` | `3.16.9` |
| [provider](https://github.com/rrousselGit/provider) | `6.1.2` | `6.1.5` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `8.6.1` | `9.1.0` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.5.2` | `2.5.3` |
| [sign_in_with_apple](https://github.com/aboutyou/dart_packages) | `6.1.4` | `7.0.1` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.8.4` | `2.9.1` |
| [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) | `6.3.1` | `6.3.2` |
| [window_manager](https://github.com/leanflutter/window_manager) | `0.4.3` | `0.5.1` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.3.10` | `2.5.1` |



Updates `carousel_slider` from 5.0.0 to 5.1.1
- [Release notes](https://github.com/serenader2014/flutter_carousel_slider/releases)
- [Changelog](https://github.com/serenader2014/flutter_carousel_slider/blob/master/CHANGELOG.md)
- [Commits](https://github.com/serenader2014/flutter_carousel_slider/commits)

Updates `file_picker` from 10.1.2 to 10.2.0
- [Release notes](https://github.com/miguelpruivo/flutter_file_picker/releases)
- [Changelog](https://github.com/miguelpruivo/flutter_file_picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/miguelpruivo/flutter_file_picker/commits)

Updates `flutter_launcher_icons` from 0.14.3 to 0.14.4
- [Release notes](https://github.com/fluttercommunity/flutter_launcher_icons/releases)
- [Changelog](https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/flutter_launcher_icons/commits/v0.14.4)

Updates `flutter_lints` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_lints-v6.0.0/packages)

Updates `flutter_markdown` from 0.7.6 to 0.7.7+1
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.7.7/packages)

Updates `flutter_native_splash` from 2.4.5 to 2.4.6
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/compare/v2.4.5...v2.4.6)

Updates `html` from 0.15.5 to 0.15.6
- [Release notes](https://github.com/dart-lang/tools/releases)
- [Commits](https://github.com/dart-lang/tools/commits/html-v0.15.6/pkgs)

Updates `http` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/HEAD/pkgs)

Updates `intl` from 0.19.0 to 0.20.2
- [Release notes](https://github.com/dart-lang/i18n/releases)
- [Commits](https://github.com/dart-lang/i18n/commits/intl-v0.20.2/pkgs)

Updates `just_audio` from 0.9.46 to 0.10.4
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio-v0.9.46...just_audio-v0.10.4)

Updates `just_audio_background` from 0.0.1-beta.15 to 0.0.1-beta.17
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio_background-v0.0.1-beta.15...just_audio_background-v0.0.1-beta.17)

Updates `just_audio_media_kit` from 2.0.6 to 2.1.0
- [Changelog](https://github.com/Pato05/just_audio_media_kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pato05/just_audio_media_kit/compare/v2.0.6...v2.1.0)

Updates `media_kit` from 1.1.11 to 1.2.0
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Changelog](https://github.com/media-kit/media-kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/media-kit/media-kit/commits/media_kit_video-v1.2.0)

Updates `media_kit_libs_video` from 1.0.5 to 1.0.6
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Changelog](https://github.com/media-kit/media-kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/media-kit/media-kit/compare/media_kit_libs_ios_audio-v1.0.5...media_kit_libs_macos_audio-v1.0.6)

Updates `media_kit_video` from 1.2.5 to 1.3.0
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Changelog](https://github.com/media-kit/media-kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/media-kit/media-kit/commits/media_kit_libs_android_audio-v1.3.0)

Updates `msix` from 3.16.8 to 3.16.9
- [Release notes](https://github.com/YehudaKremer/msix/releases)
- [Changelog](https://github.com/YehudaKremer/msix/blob/main/CHANGELOG.md)
- [Commits](https://github.com/YehudaKremer/msix/compare/v3.16.8...v3.16.9)

Updates `provider` from 6.1.2 to 6.1.5
- [Commits](https://github.com/rrousselGit/provider/compare/provider-v6.1.2...provider-v6.1.5)

Updates `purchases_flutter` from 8.6.1 to 9.1.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.6.1...9.1.0)

Updates `shared_preferences` from 2.5.2 to 2.5.3
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.5.3/packages/shared_preferences)

Updates `sign_in_with_apple` from 6.1.4 to 7.0.1
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

Updates `supabase_flutter` from 2.8.4 to 2.9.1
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/HEAD/packages)

Updates `timeago` from 3.7.0 to 3.7.1
- [Commits](https://github.com/andresaraujo/timeago.dart/commits)

Updates `url_launcher` from 6.3.1 to 6.3.2
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.3.2/packages/url_launcher)

Updates `window_manager` from 0.4.3 to 0.5.1
- [Release notes](https://github.com/leanflutter/window_manager/releases)
- [Commits](https://github.com/leanflutter/window_manager/commits)

Updates `youtube_explode_dart` from 2.3.10 to 2.5.1
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.3.10...v2.5.1)

---
updated-dependencies:
- dependency-name: carousel_slider
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: file_picker
  dependency-version: 10.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: flutter_launcher_icons
  dependency-version: 0.14.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_lints
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-version: 0.7.7+1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-version: 2.4.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: html
  dependency-version: 0.15.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: http
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: intl
  dependency-version: 0.20.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: just_audio
  dependency-version: 0.10.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: just_audio_background
  dependency-version: 0.0.1-beta.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_media_kit
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: media_kit
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: media_kit_libs_video
  dependency-version: 1.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: media_kit_video
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: msix
  dependency-version: 3.16.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: provider
  dependency-version: 6.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-version: 2.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-version: 2.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: timeago
  dependency-version: 3.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: url_launcher
  dependency-version: 6.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: window_manager
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-version: 2.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version to 3.32.7

- Update Flutter version to 3.32.7
- Enable Swift Package Manager for iOS and macOS

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-07-27 15:23:10 +02:00
Rico Berger
a563562edb Update GitHub Action Runner for Windows (#278) 2025-07-26 14:42:02 +02:00
dependabot[bot]
a16599ef96 Bump the npm group in /landing with 5 updates (#277)
Bumps the npm group in /landing with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.2.4` | `2.2.6` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.0.8` | `24.1.0` |
| [eslint](https://github.com/eslint/eslint) | `9.30.0` | `9.32.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.3.4` | `15.4.4` |
| [next](https://github.com/vercel/next.js) | `15.3.4` | `15.4.4` |


Updates `@headlessui/react` from 2.2.4 to 2.2.6
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.6/packages/@headlessui-react)

Updates `@types/node` from 24.0.8 to 24.1.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.30.0 to 9.32.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.30.0...v9.32.0)

Updates `eslint-config-next` from 15.3.4 to 15.4.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.4.4/packages/eslint-config-next)

Updates `next` from 15.3.4 to 15.4.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.3.4...v15.4.4)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-version: 24.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-version: 9.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-version: 15.4.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-version: 15.4.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:28:06 +02:00
dependabot[bot]
30a69f4174 Bump the npm group in /supabase/email-templates with 2 updates (#276)
Bumps the npm group in /supabase/email-templates with 2 updates: [@react-email/components](https://github.com/resend/react-email/tree/HEAD/packages/components) and [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email).


Updates `@react-email/components` from 0.1.1 to 0.3.2
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/@react-email/components@0.3.2/packages/components/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/@react-email/components@0.3.2/packages/components)

Updates `react-email` from 4.0.17 to 4.2.4
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/react-email@4.2.4/packages/react-email/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/react-email@4.2.4/packages/react-email)

---
updated-dependencies:
- dependency-name: "@react-email/components"
  dependency-version: 0.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react-email
  dependency-version: 4.2.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:27:27 +02:00
ricoberger
008bf0bf6e Add CODEOWNERS File 2025-07-26 14:25:25 +02:00
dependabot[bot]
1dde1d2635 Bump brace-expansion from 2.0.1 to 2.0.2 in /supabase/email-templates (#270)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:17:14 +02:00
dependabot[bot]
f9e1526d54 Bump @eslint/plugin-kit from 0.3.1 to 0.3.3 in /landing (#275)
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite/tree/HEAD/packages/plugin-kit) from 0.3.1 to 0.3.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/plugin-kit/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/plugin-kit-v0.3.3/packages/plugin-kit)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-version: 0.3.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:16:41 +02:00
dependabot[bot]
1e2993305c Bump the npm group across 1 directory with 4 updates (#273)
Bumps the npm group with 4 updates in the /supabase/email-templates directory: [@react-email/components](https://github.com/resend/react-email/tree/HEAD/packages/components), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react), [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) and [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email).


Updates `@react-email/components` from 0.0.41 to 0.1.1
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/canary/packages/components/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/@react-email/components@0.1.1/packages/components)

Updates `@types/react` from 19.1.4 to 19.1.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.1.5 to 19.1.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `react-email` from 4.0.14 to 4.0.17
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/canary/packages/react-email/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/react-email@4.0.17/packages/react-email)

---
updated-dependencies:
- dependency-name: "@react-email/components"
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-version: 19.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-email
  dependency-version: 4.0.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:13:15 +02:00
dependabot[bot]
cc36e2a89a Bump the npm group across 1 directory with 10 updates (#272)
Bumps the npm group with 9 updates in the /landing directory:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.2.3` | `2.2.4` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.1.7` | `4.1.11` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.15.18` | `24.0.8` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.1.4` | `19.1.8` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.1.5` | `19.1.6` |
| [eslint](https://github.com/eslint/eslint) | `9.27.0` | `9.30.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.3.2` | `15.3.4` |
| [next](https://github.com/vercel/next.js) | `15.3.2` | `15.3.4` |
| [postcss](https://github.com/postcss/postcss) | `8.5.3` | `8.5.6` |



Updates `@headlessui/react` from 2.2.3 to 2.2.4
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.4/packages/@headlessui-react)

Updates `@tailwindcss/postcss` from 4.1.7 to 4.1.11
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.15.18 to 24.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.1.4 to 19.1.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.1.5 to 19.1.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 9.27.0 to 9.30.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.27.0...v9.30.0)

Updates `eslint-config-next` from 15.3.2 to 15.3.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.3.4/packages/eslint-config-next)

Updates `next` from 15.3.2 to 15.3.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.3.2...v15.3.4)

Updates `postcss` from 8.5.3 to 8.5.6
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.3...8.5.6)

Updates `tailwindcss` from 4.1.7 to 4.1.11
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-version: 24.0.8
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-version: 19.1.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-version: 9.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-version: 15.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-version: 15.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-version: 8.5.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-version: 4.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-26 14:12:52 +02:00
dependabot[bot]
e8c0048229 Bump the npm group in /landing with 9 updates (#265)
Bumps the npm group in /landing with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.2.2` | `2.2.3` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.1.5` | `4.1.7` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.15.3` | `22.15.18` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.1.2` | `19.1.4` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.1.3` | `19.1.5` |
| [eslint](https://github.com/eslint/eslint) | `9.25.1` | `9.27.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.3.1` | `15.3.2` |
| [next](https://github.com/vercel/next.js) | `15.3.1` | `15.3.2` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.1.5` | `4.1.7` |


Updates `@headlessui/react` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.3/packages/@headlessui-react)

Updates `@tailwindcss/postcss` from 4.1.5 to 4.1.7
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.7/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.15.3 to 22.15.18
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.1.2 to 19.1.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.1.3 to 19.1.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 9.25.1 to 9.27.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.27.0)

Updates `eslint-config-next` from 15.3.1 to 15.3.2
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.3.2/packages/eslint-config-next)

Updates `next` from 15.3.1 to 15.3.2
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.3.1...v15.3.2)

Updates `tailwindcss` from 4.1.5 to 4.1.7
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.7/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-version: 22.15.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-version: 19.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-version: 9.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-version: 15.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-version: 15.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-version: 4.1.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-17 16:48:33 +02:00
Rico Berger
6a1a21eec3 Update React Email (#264)
Update React Email to the latest version and add Dependabot
configuration to keep it up-to-date.
2025-05-17 16:42:10 +02:00
Rico Berger
2d838240fd Improve openUrl Function (#262)
Instead of using an external browser on Android, we are now using the
In-App-Browser to open all urls. For all other platforms we keep the
current behaviour and just set the launch mode explicitly, for the case
the the default is changed in the used package.
2025-05-11 11:11:00 +02:00
ricoberger
3a8308b66c Adjust Triggers for GitHub Actions 2025-05-03 15:50:20 +02:00
dependabot[bot]
a5ed230f90 Bump the npm group in /landing with 10 updates (#254)
Bumps the npm group in /landing with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.2.0` | `2.2.2` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.0.17` | `4.1.5` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.16` | `22.15.3` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.0.12` | `19.1.2` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.0.4` | `19.1.3` |
| [eslint](https://github.com/eslint/eslint) | `9.23.0` | `9.25.1` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.2.4` | `15.3.1` |
| [next](https://github.com/vercel/next.js) | `15.2.4` | `15.3.1` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.0.17` | `4.1.5` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.8.2` | `5.8.3` |


Updates `@headlessui/react` from 2.2.0 to 2.2.2
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.2/packages/@headlessui-react)

Updates `@tailwindcss/postcss` from 4.0.17 to 4.1.5
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.13.16 to 22.15.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.0.12 to 19.1.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.0.4 to 19.1.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 9.23.0 to 9.25.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.23.0...v9.25.1)

Updates `eslint-config-next` from 15.2.4 to 15.3.1
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.3.1/packages/eslint-config-next)

Updates `next` from 15.2.4 to 15.3.1
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.4...v15.3.1)

Updates `tailwindcss` from 4.0.17 to 4.1.5
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/tailwindcss)

Updates `typescript` from 5.8.2 to 5.8.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.2...v5.8.3)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-version: 22.15.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-version: 19.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-version: 9.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-version: 15.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-version: 15.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-version: 4.1.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-02 23:43:21 +02:00
Rico Berger
7b37aa749c Remove Drag Handles from Sources (#260)
Remove the drag handle icon from the sources. The icon was used together
with the `ReorderableDragStartListener` widget to sort the sources. This
can now be done without the icon, because we wrap the source card widget
within the `ReorderableDragStartListener` widget.
2025-05-02 23:41:05 +02:00
Rico Berger
74b11075cd Adjust Database Functions (#259)
- Set `search_path` for all database functions, as this is recommended
  by the Supabase security advisor
- Fix `items_delete` functions: The function was never working, which
  caused that we saved to many items for a source, which slowed down our
  performance
- Revoke execution rights for users for the `sources_delete_files` and
  `items_delete` functions
- Add E2E test, to check if users can call the database functions
2025-05-02 21:31:09 +02:00
Rico Berger
7d85dff1f7 Add E2E Test (#258) 2025-05-02 18:26:06 +02:00
Rico Berger
9ef3ce60ca Change Row Level Security (#257)
Change all defined row level security policies, to apply the new
performance recommendations by Supabase.

See https://supabase.com/docs/guides/database/database-advisors?queryGroups=lint&lint=0003_auth_rls_initplan
2025-05-02 17:25:34 +02:00
ricoberger
eb331f1540 Add Test Data to Landing Page for E2E Tests
This commit adds a RSS feed and test image to the landing page, which
can be used in the E2E tests.
2025-05-02 14:35:09 +02:00
ricoberger
4b9683d5b6 Format YAML Files 2025-05-01 08:14:39 +02:00
Rico Berger
8fc68951b0 Simplify Self Hosting of Edge Functions (#253)
Until now we had a `find` command to delete existing edge functions
before copying them for the self hosting set up. This command is now
removed, because we also moved the `main` function to the existing
functions directory and just not push it as function to Supabase.
2025-04-26 15:38:59 +02:00
Mr. T.
2270943066 Update README.md (#250)
git and find parameters changed

Signed-off-by: Mr. T. <28456716+DXorSX@users.noreply.github.com>
2025-04-26 15:05:25 +02:00
Rico Berger
c551d1635a Allow Importing / Exporting of Decks (#251)
It is now possible import and export decks. Decks can be imported from
OPML files. For each import a new deck is created. If the OPML file
contains nested `outline` tags, we will create one column for each
parent `outline` tag. Otherwise we will create a column named `Unknown`
and all sources to this column. When a deck is exported we will create
one `outline` tag for each column with it's sources as siblings.
2025-04-26 14:57:08 +02:00
Rico Berger
f100925eff [youtube] Fix Video Playback (#249)
Until now we only checkeed if we could fetch a video which contains the
video and audio of a YouTube video. Since this is not always the case we
are now also returning the videos which do not contains the audio and
fetching the corresponding audio file seperatly.
2025-04-24 22:30:02 +02:00
Rico Berger
48f504ede9 Add Self-Hosting Setup (#248)
* Add Self-Hosting Setup

* Add Self-Hosting Setup

Add Docker Compose set up to self-host FeedDeck.
2025-04-24 09:03:08 +02:00
Rico Berger
b8fdbf17a2 Rework Edge Functions (#247)
Instead of using an `import_map.json` file to define the versions for
dependencies, they are now defined directly within the import. Since the
`import_map.json` file should not be used anymore and instead a
`deno.json` file per function should be used, we decided to define them
directly with the code. The overhead compared to a `deno.json` file per
function shouldn't be that large and it makes using functions in a
self-hosted setup easier.
2025-04-23 17:00:21 +02:00
Rico Berger
6a3b481219 Allow Swiping Gestures to Switch Column (#246)
It is now possible to switch the column in a deck by swiping to the left
/ right.
2025-04-19 15:31:57 +02:00
Rico Berger
bf95846e6c Allow Re-Ordering of Sources in a Column (#245)
It is now possible to re-order sources in a column by dragging them into
a new position. To achieve this a new `position` field was added to the
`sources` column, which contains the index of the source in the column.
We also added a new `updateSourcePositions` function, which is used to
sort the sources locally and update `position` field in the database
afterwards. The dragging is handled via a `ReorderableListView` widget.
Last but not least the selection of sources from the database was
changed, so order them by the `position` column and if the column is
`null` by the `createdAt` data as it was before.
2025-04-19 15:08:55 +02:00
Rico Berger
2c712f6a07 Fix Flutter Deprecations (#244)
- Change `surfaceVariant` to `surfaceContainerHighest`
- Remove `library` statement
- Migrate from `dart:html` to `package:web/web.dart`
2025-04-19 11:34:40 +02:00
Rico Berger
61a30eaa06 Prefer content over description for Item Description (#243)
Until now, we always checked the `description` field of an item first to
get our description value. If the `description` field is present we
directly used it and never checked the `content` field.

Now we are checking the `content` field first and afterwards the
`description` field. This way by default the `content` field is used as
our description. This should be more common to get the full article text
when both fields are present in an RSS feed.

When both fields are present and the `description` field is longer then
the `content` field, we will still prefer the `description` field.
2025-04-19 10:53:05 +02:00
Rico Berger
a9b4bef96f Update Deno Version to 1.45.2 (#242)
* Update Deno Version to 1.45.2

Update Deno Version in the Docker image to version 1.45.2 and update the
`@supabase/supabase-js` dependency specified in the `import_map.json`
file.

**NOTES:**

- The current recommended approach for managing dependencies is using a
  `deno.json` file, which is currently not working locally and returns
  the following error:

```
serving the request with supabase/functions/add-or-update-source-v1
worker boot error: failed to create the graph: Relative import path "@supabase/supabase-js" not prefixed with / or ./ or ../
    at file:///Users/ricoberger/Documents/GitHub/feeddeck/feeddeck/supabase/functions/add-or-update-source-v1/index.ts:1:30
worker boot error: failed to create the graph: Relative import path "@supabase/supabase-js" not prefixed with / or ./ or ../
    at file:///Users/ricoberger/Documents/GitHub/feeddeck/feeddeck/supabase/functions/add-or-update-source-v1/index.ts:1:30
InvalidWorkerCreation: worker boot error: failed to create the graph: Relative import path "@supabase/supabase-js" not prefixed with / or ./ or ../
    at file:///Users/ricoberger/Documents/GitHub/feeddeck/feeddeck/supabase/functions/add-or-update-source-v1/index.ts:1:30
    at async UserWorker.create (ext:sb_user_workers/user_workers.js:139:15)
    at async Object.handler (file:///root/index.ts:157:22)
    at async respond (ext:sb_core_main_js/js/http.js:197:14) {
  name: "InvalidWorkerCreation"
}
```

- When using Deno v2 the dependencies via the `deno.json` file are
  working. To enable Deno v2 the following must be set in the
  `config.toml` file:

```
[edge_runtime]
deno_version = 2
```

- Deno v2 is currently only supported locally, see
  https://supabase.com/blog/supabase-edge-functions-deploy-dashboard-deno-2-1#deno-21-preview

- Once Deno v2 is supported in the hosted platform, we should switch
  from the `import_map.json` to `deno.json` to manage dependencies and
  update the existing dependencies.

* Fix Errors

- Replace `err.toString()` with just `err` when logging errors.
- Add new `blobToFile` function, to upload files to the Supabase
  storage, otherwise we receive the following error (https://github.com/feeddeck/feeddeck/actions/runs/14546547197/job/40812707871):

```
error: TS2345 [ERROR]: Argument of type 'Blob' is not assignable to parameter of type 'FileBody'.
  Type 'Blob' is missing the following properties from type 'File': lastModified, name, webkitRelativePath
        file,
        ~~~~
    at file:///home/runner/work/feeddeck/feeddeck/supabase/functions/_shared/feed/utils/uploadFile.ts:66:9
```
2025-04-19 09:10:43 +02:00
Rico Berger
4e0296e226 Update Flutter Version to 3.29.3 (#241) 2025-04-18 15:45:44 +02:00
dependabot[bot]
f4c755e131 Bump @types/node from 22.13.14 to 22.13.16 in /landing in the npm group (#237)
Bumps the npm group in /landing with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 22.13.14 to 22.13.16
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-18 15:23:40 +02:00
Rico Berger
ad0d214528 Update Flutter Version to 3.29.2 (#236) 2025-03-30 09:54:16 +02:00
dependabot[bot]
965c647b07 Bump the pub group in /app with 2 updates (#233)
* Bump the pub group in /app with 2 updates

Bumps the pub group in /app with 2 updates: [piped_client](https://github.com/KRTirtho/piped_client) and [purchases_flutter](https://github.com/RevenueCat/purchases-flutter).


Updates `piped_client` from 0.1.1 to 0.1.2
- [Changelog](https://github.com/KRTirtho/piped_client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KRTirtho/piped_client/commits)

Updates `purchases_flutter` from 8.6.0 to 8.6.1
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.6.0...8.6.1)

---
updated-dependencies:
- dependency-name: piped_client
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-03-30 09:38:35 +02:00
dependabot[bot]
2094b36384 Bump the npm group across 1 directory with 10 updates (#235)
Bumps the npm group with 9 updates in the /landing directory:

| Package | From | To |
| --- | --- | --- |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.0.9` | `4.0.17` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.8` | `22.13.14` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.20` | `10.4.21` |
| [eslint](https://github.com/eslint/eslint) | `9.21.0` | `9.23.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.2.0` | `15.2.4` |
| [next](https://github.com/vercel/next.js) | `15.2.3` | `15.2.4` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.0.0` | `19.1.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.0.10` | `19.0.12` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.0.0` | `19.1.0` |



Updates `@tailwindcss/postcss` from 4.0.9 to 4.0.17
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.17/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.13.8 to 22.13.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `autoprefixer` from 10.4.20 to 10.4.21
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.20...10.4.21)

Updates `eslint` from 9.21.0 to 9.23.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.21.0...v9.23.0)

Updates `eslint-config-next` from 15.2.0 to 15.2.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.2.4/packages/eslint-config-next)

Updates `next` from 15.2.3 to 15.2.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.3...v15.2.4)

Updates `react` from 19.0.0 to 19.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.1.0/packages/react)

Updates `@types/react` from 19.0.10 to 19.0.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 19.0.0 to 19.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.1.0/packages/react-dom)

Updates `tailwindcss` from 4.0.9 to 4.0.17
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.17/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-30 09:26:13 +02:00
dependabot[bot]
394e64d26b Bump next from 15.2.0 to 15.2.3 in /landing (#234)
Bumps [next](https://github.com/vercel/next.js) from 15.2.0 to 15.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.0...v15.2.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-30 09:19:00 +02:00
dependabot[bot]
a7c134e53c Bump the npm group in /supabase/email-templates (#230)
* Bump @babel/helpers from 7.25.0 to 7.26.10 in /supabase/email-templates

Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.25.0 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-03-16 15:04:53 +01:00
ricoberger
6cc79ef8c6 Fix Typo in GitHub Action 2025-03-16 14:50:17 +01:00
Rico Berger
842c78bf1d Maintenance: GitHub Actions (#231)
- Use `docker/metadata-action` GitHub Action to determine the tag for
  Docker images
- Add `changelog: changed` label to Dependabot PRs
- Adjust `version-resolver` for Release Drafter to use `patch` versions
  for PRs with `changelog: changed` label
2025-03-16 14:48:14 +01:00
dependabot[bot]
0218342f46 Bump the pub group in /app with 9 updates (#225)
* Bump the pub group in /app with 9 updates

Bumps the pub group in /app with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `6.3.3` | `6.4.0` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.4.4` | `2.4.5` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.44` | `0.9.46` |
| [just_audio_background](https://github.com/ryanheise/just_audio) | `0.0.1-beta.14` | `0.0.1-beta.15` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `8.1.4` | `8.3.0` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `8.4.4` | `8.6.0` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.5.1` | `2.5.2` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.8.3` | `2.8.4` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.3.6` | `2.3.10` |


Updates `app_links` from 6.3.3 to 6.4.0
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Commits](https://github.com/llfbandit/app_links/commits)

Updates `flutter_native_splash` from 2.4.4 to 2.4.5
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/compare/v2.4.4...v2.4.5)

Updates `just_audio` from 0.9.44 to 0.9.46
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio-v0.9.44...just_audio-v0.9.46)

Updates `just_audio_background` from 0.0.1-beta.14 to 0.0.1-beta.15
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio_background-v0.0.1-beta.14...just_audio_background-v0.0.1-beta.15)

Updates `package_info_plus` from 8.1.4 to 8.3.0
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.3.0/packages/package_info_plus)

Updates `purchases_flutter` from 8.4.4 to 8.6.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.4.4...8.6.0)

Updates `shared_preferences` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.5.2/packages/shared_preferences)

Updates `supabase_flutter` from 2.8.3 to 2.8.4
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/supabase_flutter-v2.8.4/packages)

Updates `youtube_explode_dart` from 2.3.6 to 2.3.10
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/v2.3.10/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.3.6...v2.3.10)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_background
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-03-16 14:26:32 +01:00
dependabot[bot]
432118ae47 Bump the npm group in /landing with 10 updates (#224)
Bumps the npm group in /landing with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.0.3` | `4.0.9` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.0` | `22.13.8` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.0.8` | `19.0.10` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.0.3` | `19.0.4` |
| [eslint](https://github.com/eslint/eslint) | `9.19.0` | `9.21.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.1.6` | `15.2.0` |
| [next](https://github.com/vercel/next.js) | `15.1.6` | `15.2.0` |
| [postcss](https://github.com/postcss/postcss) | `8.5.1` | `8.5.3` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.0.3` | `4.0.9` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.7.3` | `5.8.2` |


Updates `@tailwindcss/postcss` from 4.0.3 to 4.0.9
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.9/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.13.0 to 22.13.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.0.8 to 19.0.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.0.3 to 19.0.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 9.19.0 to 9.21.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.19.0...v9.21.0)

Updates `eslint-config-next` from 15.1.6 to 15.2.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.2.0/packages/eslint-config-next)

Updates `next` from 15.1.6 to 15.2.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.1.6...v15.2.0)

Updates `postcss` from 8.5.1 to 8.5.3
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.1...8.5.3)

Updates `tailwindcss` from 4.0.3 to 4.0.9
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.9/packages/tailwindcss)

Updates `typescript` from 5.7.3 to 5.8.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 14:08:05 +01:00
Rico Berger
f481f2ceb9 Update Flutter Version to 3.29.0 (#223) 2025-02-26 21:42:07 +01:00
dependabot[bot]
d768b0ffdf Bump the pub group in /app with 8 updates (#222)
* Bump the pub group in /app with 8 updates

Bumps the pub group in /app with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [flutter_launcher_icons](https://github.com/fluttercommunity/flutter_launcher_icons) | `0.14.2` | `0.14.3` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.7.4+1` | `0.7.6` |
| [http](https://github.com/dart-lang/http/tree/master/pkgs) | `1.2.2` | `1.3.0` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.42` | `0.9.44` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `8.1.2` | `8.1.4` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `8.4.0` | `8.4.4` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.3.4` | `2.5.1` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.8.2` | `2.8.3` |


Updates `flutter_launcher_icons` from 0.14.2 to 0.14.3
- [Release notes](https://github.com/fluttercommunity/flutter_launcher_icons/releases)
- [Changelog](https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/flutter_launcher_icons/commits)

Updates `flutter_markdown` from 0.7.4+1 to 0.7.6
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.7.6/packages)

Updates `http` from 1.2.2 to 1.3.0
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/http-v1.3.0/pkgs)

Updates `just_audio` from 0.9.42 to 0.9.44
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio-v0.9.42...just_audio-v0.9.44)

Updates `package_info_plus` from 8.1.2 to 8.1.4
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.1.4/packages/package_info_plus)

Updates `purchases_flutter` from 8.4.0 to 8.4.4
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.4.0...8.4.4)

Updates `shared_preferences` from 2.3.4 to 2.5.1
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.5.1/packages/shared_preferences)

Updates `supabase_flutter` from 2.8.2 to 2.8.3
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/gotrue-v2.8.3/packages)

---
updated-dependencies:
- dependency-name: flutter_launcher_icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-02-26 21:31:23 +01:00
dependabot[bot]
a0229d8ece Bump the npm group in /landing with 3 updates (#221)
Bumps the npm group in /landing with 3 updates: [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss).


Updates `@tailwindcss/postcss` from 4.0.0 to 4.0.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.3/packages/@tailwindcss-postcss)

Updates `@types/node` from 22.10.10 to 22.13.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `tailwindcss` from 4.0.0 to 4.0.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.3/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-26 20:59:25 +01:00
ricoberger
50ad24a7bc Update License 2025-01-26 15:56:15 +01:00
Rico Berger
76854e72df Update Landing Page (#220) 2025-01-26 15:35:26 +01:00
dependabot[bot]
88bbb9f56f Bump the npm group across 1 directory with 11 updates (#219)
Bumps the npm group with 11 updates in the /landing directory:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `22.10.10` |
| [eslint](https://github.com/eslint/eslint) | `9.14.0` | `9.19.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.0.3` | `15.1.6` |
| [next](https://github.com/vercel/next.js) | `15.1.2` | `15.1.6` |
| [postcss](https://github.com/postcss/postcss) | `8.4.47` | `8.5.1` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.3.1` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.12` | `19.0.8` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.3.1` | `19.0.0` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.3.1` | `19.0.3` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `3.4.14` | `4.0.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.7.3` |



Updates `@types/node` from 22.9.0 to 22.10.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.14.0 to 9.19.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.14.0...v9.19.0)

Updates `eslint-config-next` from 15.0.3 to 15.1.6
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.1.6/packages/eslint-config-next)

Updates `next` from 15.1.2 to 15.1.6
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.1.2...v15.1.6)

Updates `postcss` from 8.4.47 to 8.5.1
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.47...8.5.1)

Updates `react` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react)

Updates `@types/react` from 18.3.12 to 19.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom)

Updates `@types/react-dom` from 18.3.1 to 19.0.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `tailwindcss` from 3.4.14 to 4.0.0
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/next/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.0/packages/tailwindcss)

Updates `typescript` from 5.6.3 to 5.7.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.3)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 15:04:22 +01:00
dependabot[bot]
fb97f818b3 Bump cross-spawn from 7.0.3 to 7.0.6 in /landing (#208)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 15:00:23 +01:00
dependabot[bot]
2e3110e298 Bump nanoid from 3.3.7 to 3.3.8 in /landing (#211)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 14:59:54 +01:00
dependabot[bot]
a167d94165 Bump next and react-email in /supabase/email-templates (#218)
* Bump next and react-email in /supabase/email-templates

Removes [next](https://github.com/vercel/next.js). It's no longer used after updating ancestor dependency [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email). These dependencies need to be updated together.


Removes `next`

Updates `react-email` from 3.0.4 to 3.0.6
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/canary/packages/react-email/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/react-email@3.0.6/packages/react-email)

---
updated-dependencies:
- dependency-name: next
  dependency-type: indirect
- dependency-name: react-email
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-01-26 14:59:07 +01:00
dependabot[bot]
614a1b9ab9 Bump @eslint/plugin-kit from 0.2.2 to 0.2.3 in /landing (#206)
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/plugin-kit-v0.2.2...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 14:57:28 +01:00
dependabot[bot]
8f2008a179 Bump the pub group across 1 directory with 11 updates (#215)
* Bump the pub group across 1 directory with 11 updates

Bumps the pub group with 10 updates in the /app directory:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `6.3.2` | `6.3.3` |
| [flutter_launcher_icons](https://github.com/fluttercommunity/flutter_launcher_icons) | `0.14.1` | `0.14.2` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.4.2` | `2.4.4` |
| [just_audio_background](https://github.com/ryanheise/just_audio) | `0.0.1-beta.13` | `0.0.1-beta.14` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `8.1.1` | `8.1.2` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `8.2.1` | `8.4.0` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.3.3` | `2.3.4` |
| [sign_in_with_apple](https://github.com/aboutyou/dart_packages) | `6.1.3` | `6.1.4` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.8.0` | `2.8.2` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.3.5` | `2.3.6` |



Updates `app_links` from 6.3.2 to 6.3.3
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Commits](https://github.com/llfbandit/app_links/compare/6.3.2...6.3.3)

Updates `collection` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/dart-lang/core/releases)
- [Commits](https://github.com/dart-lang/core/commits/collection-v1.19.0/pkgs)

Updates `flutter_launcher_icons` from 0.14.1 to 0.14.2
- [Release notes](https://github.com/fluttercommunity/flutter_launcher_icons/releases)
- [Changelog](https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/flutter_launcher_icons/compare/v0.14.1...v0.14.2)

Updates `flutter_native_splash` from 2.4.2 to 2.4.4
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/compare/v2.4.2...v2.4.4)

Updates `just_audio_background` from 0.0.1-beta.13 to 0.0.1-beta.14
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio_background-v0.0.1-beta.13...just_audio_background-v0.0.1-beta.14)

Updates `package_info_plus` from 8.1.1 to 8.1.2
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.1.2/packages/package_info_plus)

Updates `purchases_flutter` from 8.2.1 to 8.4.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.2.1...8.4.0)

Updates `shared_preferences` from 2.3.3 to 2.3.4
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.3.4/packages/shared_preferences)

Updates `sign_in_with_apple` from 6.1.3 to 6.1.4
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

Updates `supabase_flutter` from 2.8.0 to 2.8.2
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/gotrue-v2.8.2/packages)

Updates `youtube_explode_dart` from 2.3.5 to 2.3.6
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.3.5...v2.3.6)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: collection
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: flutter_launcher_icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_background
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version to 3.27.3

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-01-26 14:55:22 +01:00
dependabot[bot]
0cc98b85b1 Bump next from 15.0.3 to 15.1.2 in /landing (#216)
Bumps [next](https://github.com/vercel/next.js) from 15.0.3 to 15.1.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.0.3...v15.1.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 14:54:39 +01:00
dependabot[bot]
b34497a6bc Bump next and react-email in /supabase/email-templates (#213)
* Bump next and react-email in /supabase/email-templates

Removes [next](https://github.com/vercel/next.js). It's no longer used after updating ancestor dependency [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email). These dependencies need to be updated together.


Removes `next`

Updates `react-email` from 3.0.2 to 3.0.4
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/canary/packages/react-email/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/react-email@3.0.4/packages/react-email)

---
updated-dependencies:
- dependency-name: next
  dependency-type: indirect
- dependency-name: react-email
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2025-01-26 14:52:02 +01:00
dependabot[bot]
504b88510c Bump the pub group in /app with 3 updates (#205)
* Bump the pub group in /app with 3 updates

Bumps the pub group in /app with 3 updates: [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus), [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) and [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences).


Updates `package_info_plus` from 8.1.0 to 8.1.1
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/HEAD/packages/package_info_plus)

Updates `purchases_flutter` from 8.1.6 to 8.2.1
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/8.1.6...8.2.1)

Updates `shared_preferences` from 2.3.2 to 2.3.3
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.3.3/packages/shared_preferences)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version to 3.24.4

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-11-10 15:46:34 +01:00
dependabot[bot]
481b5c6490 Bump the npm group in /landing with 4 updates (#204)
Bumps the npm group in /landing with 4 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint), [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) and [next](https://github.com/vercel/next.js).


Updates `@types/node` from 22.8.6 to 22.9.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.13.0 to 9.14.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.13.0...v9.14.0)

Updates `eslint-config-next` from 15.0.2 to 15.0.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.0.3/packages/eslint-config-next)

Updates `next` from 15.0.2 to 15.0.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.0.2...v15.0.3)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-10 15:31:38 +01:00
ricoberger
10278aefbb Update Dependabot Configuration 2024-11-10 15:20:53 +01:00
dependabot[bot]
9117344e82 Bump cookie and react-email in /supabase/email-templates (#203)
* Bump cookie and react-email in /supabase/email-templates

Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.2 and updates ancestor dependency [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email). These dependencies need to be updated together.


Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `react-email` from 2.1.6 to 3.0.2
- [Release notes](https://github.com/resend/react-email/releases)
- [Changelog](https://github.com/resend/react-email/blob/canary/packages/react-email/CHANGELOG.md)
- [Commits](https://github.com/resend/react-email/commits/react-email@3.0.2/packages/react-email)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: react-email
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update react-email

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-11-10 15:19:07 +01:00
dependabot[bot]
bb4a380a7c Bump the pub group across 1 directory with 24 updates (#199)
* Bump the pub group across 1 directory with 24 updates

Bumps the pub group with 20 updates in the /app directory:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `6.1.4` | `6.3.2` |
| [cached_network_image](https://github.com/Baseflow/flutter_cached_network_image) | `3.4.0` | `3.4.1` |
| [crypto](https://github.com/dart-lang/core/tree/main/pkgs) | `3.0.3` | `3.0.6` |
| [flutter_launcher_icons](https://github.com/fluttercommunity/flutter_launcher_icons) | `0.13.1` | `0.14.1` |
| [flutter_lints](https://github.com/flutter/packages/tree/main/packages) | `4.0.0` | `5.0.0` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.7.3+1` | `0.7.4+1` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.4.1` | `2.4.2` |
| [html](https://github.com/dart-lang/tools/tree/main/pkgs) | `0.15.4` | `0.15.5` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.39` | `0.9.42` |
| [just_audio_media_kit](https://github.com/Pato05/just_audio_media_kit) | `2.0.5` | `2.0.6` |
| [media_kit_libs_video](https://github.com/media-kit/media-kit) | `1.0.4` | `1.0.5` |
| [media_kit_video](https://github.com/media-kit/media-kit) | `1.2.4` | `1.2.5` |
| [msix](https://github.com/YehudaKremer/msix) | `3.16.7` | `3.16.8` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.30.2` | `8.1.6` |
| [rxdart](https://github.com/ReactiveX/rxdart) | `0.27.7` | `0.28.0` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.3.1` | `2.3.2` |
| [sign_in_with_apple](https://github.com/aboutyou/dart_packages) | `6.1.1` | `6.1.3` |
| [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) | `6.3.0` | `6.3.1` |
| [window_manager](https://github.com/leanflutter/window_manager) | `0.3.9` | `0.4.3` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.2.1` | `2.3.5` |



Updates `app_links` from 6.1.4 to 6.3.2
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Commits](https://github.com/llfbandit/app_links/compare/6.1.4...6.3.2)

Updates `cached_network_image` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/Baseflow/flutter_cached_network_image/releases)
- [Commits](https://github.com/Baseflow/flutter_cached_network_image/compare/v3.4.0...v3.4.1)

Updates `crypto` from 3.0.3 to 3.0.6
- [Release notes](https://github.com/dart-lang/core/releases)
- [Commits](https://github.com/dart-lang/core/commits/crypto-v3.0.6/pkgs)

Updates `flutter_cache_manager` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/Baseflow/flutter_cache_manager/releases)
- [Commits](https://github.com/Baseflow/flutter_cache_manager/compare/v3.4.0...v3.4.1)

Updates `flutter_launcher_icons` from 0.13.1 to 0.14.1
- [Release notes](https://github.com/fluttercommunity/flutter_launcher_icons/releases)
- [Changelog](https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/flutter_launcher_icons/compare/v0.13.1...v0.14.1)

Updates `flutter_lints` from 4.0.0 to 5.0.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_lints-v5.0.0/packages)

Updates `flutter_markdown` from 0.7.3+1 to 0.7.4+1
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.7.4/packages)

Updates `flutter_native_splash` from 2.4.1 to 2.4.2
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/commits/v2.4.2)

Updates `html` from 0.15.4 to 0.15.5
- [Release notes](https://github.com/dart-lang/tools/releases)
- [Commits](https://github.com/dart-lang/tools/commits/html-v0.15.5/pkgs)

Updates `just_audio` from 0.9.39 to 0.9.42
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/commits)

Updates `just_audio_media_kit` from 2.0.5 to 2.0.6
- [Changelog](https://github.com/Pato05/just_audio_media_kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pato05/just_audio_media_kit/compare/v2.0.5...v2.0.6)

Updates `media_kit` from 1.1.10+1 to 1.1.11
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Commits](https://github.com/media-kit/media-kit/commits)

Updates `media_kit_libs_video` from 1.0.4 to 1.0.5
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Commits](https://github.com/media-kit/media-kit/compare/media_kit_libs_ios_audio-v1.0.4...media_kit_libs_ios_audio-v1.0.5)

Updates `media_kit_video` from 1.2.4 to 1.2.5
- [Release notes](https://github.com/media-kit/media-kit/releases)
- [Commits](https://github.com/media-kit/media-kit/commits)

Updates `msix` from 3.16.7 to 3.16.8
- [Release notes](https://github.com/YehudaKremer/msix/releases)
- [Changelog](https://github.com/YehudaKremer/msix/blob/main/CHANGELOG.md)
- [Commits](https://github.com/YehudaKremer/msix/compare/v3.16.7...v3.16.8)

Updates `package_info_plus` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.1.0/packages/package_info_plus)

Updates `purchases_flutter` from 6.30.2 to 8.1.6
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.30.2...8.1.6)

Updates `rxdart` from 0.27.7 to 0.28.0
- [Release notes](https://github.com/ReactiveX/rxdart/releases)
- [Commits](https://github.com/ReactiveX/rxdart/compare/0.27.7...0.28.0)

Updates `shared_preferences` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.3.2/packages/shared_preferences)

Updates `sign_in_with_apple` from 6.1.1 to 6.1.3
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

Updates `supabase_flutter` from 2.5.11 to 2.8.0
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/supabase_flutter-v2.8.0/packages)

Updates `url_launcher` from 6.3.0 to 6.3.1
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.3.1/packages/url_launcher)

Updates `window_manager` from 0.3.9 to 0.4.3
- [Release notes](https://github.com/leanflutter/window_manager/releases)
- [Commits](https://github.com/leanflutter/window_manager/commits)

Updates `youtube_explode_dart` from 2.2.1 to 2.3.5
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.2.1...v2.3.5)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: cached_network_image
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: crypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_cache_manager
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_launcher_icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: flutter_lints
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: html
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_media_kit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: media_kit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: media_kit_libs_video
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: media_kit_video
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: msix
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: rxdart
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: url_launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: window_manager
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-11-10 15:11:12 +01:00
dependabot[bot]
62ac6d1ade Bump micromatch from 4.0.5 to 4.0.8 in /landing (#192)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-10 15:04:58 +01:00
dependabot[bot]
22ebd600b9 Bump the npm group across 1 directory with 11 updates (#200)
* Bump the npm group across 1 directory with 11 updates

Bumps the npm group with 11 updates in the /landing directory:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.1.2` | `2.2.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.0.2` | `22.8.6` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.3` | `18.3.12` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.3.0` | `18.3.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.19` | `10.4.20` |
| [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.13.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.2.5` | `15.0.2` |
| [next](https://github.com/vercel/next.js) | `14.2.5` | `15.0.2` |
| [postcss](https://github.com/postcss/postcss) | `8.4.40` | `8.4.47` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.7` | `3.4.14` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.5.4` | `5.6.3` |



Updates `@headlessui/react` from 2.1.2 to 2.2.0
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.0/packages/@headlessui-react)

Updates `@types/node` from 22.0.2 to 22.8.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.3.3 to 18.3.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.3.0 to 18.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `autoprefixer` from 10.4.19 to 10.4.20
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20)

Updates `eslint` from 8.57.0 to 9.13.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.13.0)

Updates `eslint-config-next` from 14.2.5 to 15.0.2
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.0.2/packages/eslint-config-next)

Updates `next` from 14.2.5 to 15.0.2
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.5...v15.0.2)

Updates `postcss` from 8.4.40 to 8.4.47
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.40...8.4.47)

Updates `tailwindcss` from 3.4.7 to 3.4.14
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.14)

Updates `typescript` from 5.5.4 to 5.6.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.3)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Import of Download Component

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-11-10 12:14:46 +01:00
dependabot[bot]
452177f993 Bump denoland/setup-deno from 1 to 2 in the github-actions group (#201)
Bumps the github-actions group with 1 update: [denoland/setup-deno](https://github.com/denoland/setup-deno).


Updates `denoland/setup-deno` from 1 to 2
- [Release notes](https://github.com/denoland/setup-deno/releases)
- [Commits](https://github.com/denoland/setup-deno/compare/v1...v2)

---
updated-dependencies:
- dependency-name: denoland/setup-deno
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-10 11:41:48 +01:00
Rico Berger
a6a54ac02e Update Flutter Version to 3.24.1 (#191) 2024-08-31 17:10:00 +02:00
Rico Berger
96eccb5503 [core] Update Flutter to Version 3.24.0 (#189)
Update Flutter to Version 3.24.0 and replace the deprecated `background`
and `onBackground` colors with `surface` and `onSurface`. Within this
migration we also adjusted the `onSecondary` color, so that the apps
look as before the update.
2024-08-09 14:06:53 +02:00
Rico Berger
43a8ebe513 [core] Fix App Listing Quality (#188)
Fix the quality of the app listing on Flathub, by adjusting the app
summary and changing the app icon. This should fix the following
warnings in the "App Listing Quality" report:

- App Icon: Doesn't fill too much or too little of the canvas
- Summary: No weird formatting or punctuation
2024-08-09 11:35:47 +02:00
ricoberger
63f7ab7bf6 Prepare v1.4.1 Release 2024-08-07 17:38:04 +02:00
Rico Berger
676ff316d7 [core] Fix Warnings and Regenerate Splash Screens (#186)
This commit fixes the following warnings for the web build:

```
Warning: In index.html:38: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead.
Warning: In index.html:60: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead.
```

To re-add the slash screen we alsow run the
`flutter pub run flutter_native_splash:create` command again, which also
updated the splash screens for iOS and Android.

Last but not least this commit also fixes the following warnings for the
Windows build:

```
windows/runner/flutter_window.cpp does not ensure the show window callback is called, updating.
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
```
2024-08-07 17:34:19 +02:00
Rico Berger
3eccb0bd4a [core] Fix Web Build (#185)
Fix web build be initializing `JustAudioMediaKit` only on Linux and
Windows where it is really used. The corresponding issue for the broken
web build can be found here
https://github.com/Pato05/just_audio_media_kit/issues/15.

To test the web build on every PR to avoid such issues, the CI/CD
pipeline for the web build is now also run on every PR. On PRs we skip
the upload to Cloudflare for the web build.
2024-08-06 17:05:26 +02:00
Rico Berger
351c61f613 [core] Fix Metadata for Flatpak (#184)
The Linux version of the app is distributed via Flatpak, this commit
fixes some issues shown in the validation on Flathub. This includes the
summary and branding color and the app icon which should be square
instead of round.
2024-08-06 14:27:09 +02:00
Rico Berger
333e762539 [core] Upload Raw Build in Windows CI/CD Pipeline (#183)
Upload the raw build of the app in the Windows CI/CD pipeline, so that
we can test the production build during a new release.

We also had to adjust the Windows runner to `windows-2019`, because the
build on `windows-latest` and `windows-2022` can not be startet after
downloading it.
2024-08-06 09:40:13 +02:00
Rico Berger
280a222210 [podcast] Fix Audio Playback on Windows and Linux (#182)
Fix the audio playback on Windows and Linux for the podcast player by
adding the missing initialization for `JustAudioMediaKit`.
2024-08-06 07:45:15 +02:00
ricoberger
4853eeb0a8 Add Verification File for Flathub 2024-08-04 18:21:27 +02:00
ricoberger
9e9bf01b5b Fix Issues in app.feeddeck.feeddeck.metainfo.xml File 2024-08-04 18:09:59 +02:00
ricoberger
8989442fc1 Update Description in README 2024-08-04 15:12:13 +02:00
ricoberger
befe5b5977 Prepare v1.4.0 Release 2024-08-04 14:38:08 +02:00
dependabot[bot]
11585f284c Bump the pub group in /app with 12 updates (#181)
* Bump the pub group in /app with 12 updates

Bumps the pub group in /app with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `6.1.3` | `6.1.4` |
| [flutter_cache_manager](https://github.com/Baseflow/flutter_cache_manager) | `3.3.2` | `3.4.0` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.4.0` | `2.4.1` |
| [http](https://github.com/dart-lang/http/tree/master/pkgs) | `1.2.1` | `1.2.2` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.38` | `0.9.39` |
| [just_audio_background](https://github.com/ryanheise/just_audio) | `0.0.1-beta.12` | `0.0.1-beta.13` |
| [just_audio_media_kit](https://github.com/Pato05/just_audio_media_kit) | `2.0.4` | `2.0.5` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `8.0.0` | `8.0.1` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.29.4` | `6.30.2` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.2.3` | `2.3.0` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.5.6` | `2.5.11` |
| [timeago](https://github.com/andresaraujo/timeago.dart) | `3.6.1` | `3.7.0` |


Updates `app_links` from 6.1.3 to 6.1.4
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Commits](https://github.com/llfbandit/app_links/compare/6.1.3...6.1.4)

Updates `flutter_cache_manager` from 3.3.2 to 3.4.0
- [Commits](https://github.com/Baseflow/flutter_cache_manager/compare/flutter_cache_manager_v3.3.2...v3.4.0)

Updates `flutter_native_splash` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/commits)

Updates `http` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/http-v1.2.2/pkgs)

Updates `just_audio` from 0.9.38 to 0.9.39
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio-v0.9.38...just_audio-v0.9.39)

Updates `just_audio_background` from 0.0.1-beta.12 to 0.0.1-beta.13
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio_background-v0.0.1-beta.12...just_audio_background-v0.0.1-beta.13)

Updates `just_audio_media_kit` from 2.0.4 to 2.0.5
- [Changelog](https://github.com/Pato05/just_audio_media_kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pato05/just_audio_media_kit/compare/v2.0.4...v2.0.5)

Updates `package_info_plus` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.0.1/packages/package_info_plus)

Updates `purchases_flutter` from 6.29.4 to 6.30.2
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.29.4...6.30.2)

Updates `shared_preferences` from 2.2.3 to 2.3.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.3.0/packages/shared_preferences)

Updates `supabase_flutter` from 2.5.6 to 2.5.11
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/supabase_flutter-v2.5.11/packages)

Updates `timeago` from 3.6.1 to 3.7.0
- [Commits](https://github.com/andresaraujo/timeago.dart/commits)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_cache_manager
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_background
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_media_kit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: timeago
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update `Podfile.lock`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-08-04 14:17:42 +02:00
dependabot[bot]
9503943b71 Bump the npm group in /landing with 8 updates (#180)
* Bump the npm group in /landing with 8 updates

Bumps the npm group in /landing with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.1.1` | `2.1.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.14.9` | `22.0.2` |
| [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.8.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.2.4` | `14.2.5` |
| [next](https://github.com/vercel/next.js) | `14.2.4` | `14.2.5` |
| [postcss](https://github.com/postcss/postcss) | `8.4.39` | `8.4.40` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.4` | `3.4.7` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.5.2` | `5.5.4` |


Updates `@headlessui/react` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.1.2/packages/@headlessui-react)

Updates `@types/node` from 20.14.9 to 22.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 8.57.0 to 9.8.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.8.0)

Updates `eslint-config-next` from 14.2.4 to 14.2.5
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.5/packages/eslint-config-next)

Updates `next` from 14.2.4 to 14.2.5
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.4...v14.2.5)

Updates `postcss` from 8.4.39 to 8.4.40
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.39...8.4.40)

Updates `tailwindcss` from 3.4.4 to 3.4.7
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.7/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.4...v3.4.7)

Updates `typescript` from 5.5.2 to 5.5.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.4)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert `eslint` Update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-08-04 14:10:17 +02:00
ricoberger
d38cf80818 Merge branch 'main' of github.com:feeddeck/feeddeck 2024-07-27 10:15:32 +02:00
ricoberger
3e03f15825 Update Dependencies for Email Templates 2024-07-27 10:15:06 +02:00
dependabot[bot]
99e0538596 Bump braces from 3.0.2 to 3.0.3 in /landing (#178)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 10:13:20 +02:00
dependabot[bot]
2a209519e1 Bump the npm group in /landing with 8 updates (#174)
* Bump the npm group in /landing with 8 updates

Bumps the npm group in /landing with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.0.4` | `2.1.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.13.0` | `20.14.9` |
| [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.6.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.2.3` | `14.2.4` |
| [next](https://github.com/vercel/next.js) | `14.2.3` | `14.2.4` |
| [postcss](https://github.com/postcss/postcss) | `8.4.38` | `8.4.39` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.3` | `3.4.4` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.4.5` | `5.5.2` |


Updates `@headlessui/react` from 2.0.4 to 2.1.1
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.1.1/packages/@headlessui-react)

Updates `@types/node` from 20.13.0 to 20.14.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 8.57.0 to 9.6.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.6.0)

Updates `eslint-config-next` from 14.2.3 to 14.2.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.4/packages/eslint-config-next)

Updates `next` from 14.2.3 to 14.2.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.3...v14.2.4)

Updates `postcss` from 8.4.38 to 8.4.39
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.38...8.4.39)

Updates `tailwindcss` from 3.4.3 to 3.4.4
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.4/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.3...v3.4.4)

Updates `typescript` from 5.4.5 to 5.5.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert `eslint` Update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-07-27 10:09:22 +02:00
dependabot[bot]
461dc6f384 Bump the pub group in /app with 6 updates (#176)
* Bump the pub group in /app with 6 updates

Bumps the pub group in /app with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `6.1.1` | `6.1.3` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.7.1` | `0.7.3` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.29.2` | `6.29.4` |
| [sign_in_with_apple](https://github.com/aboutyou/dart_packages) | `6.1.0` | `6.1.1` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.5.4` | `2.5.6` |
| [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) | `6.2.6` | `6.3.0` |


Updates `app_links` from 6.1.1 to 6.1.3
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Commits](https://github.com/llfbandit/app_links/compare/6.1.1...6.1.3)

Updates `flutter_markdown` from 0.7.1 to 0.7.3
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.7.3/packages)

Updates `purchases_flutter` from 6.29.2 to 6.29.4
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.29.2...6.29.4)

Updates `sign_in_with_apple` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

Updates `supabase_flutter` from 2.5.4 to 2.5.6
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/supabase_flutter-v2.5.6/packages)

Updates `url_launcher` from 6.2.6 to 6.3.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.3.0/packages/url_launcher)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: url_launcher
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-07-27 10:07:31 +02:00
dependabot[bot]
409aa51f1c Bump docker/build-push-action from 5 to 6 in the github-actions group (#175)
Bumps the github-actions group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/build-push-action` from 5 to 6
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 10:02:17 +02:00
Rico Berger
3620fcb5b0 [core] Wrap Actions in SafeArea Widget (#172)
With this commit we are wrapping all action widgets in a `SafeArea`
widget, to improve the alignment of the actions.
2024-06-08 18:30:04 +02:00
Rico Berger
ca7c22b0d7 Fix ESLint Dependency Mismatch (#171) 2024-06-08 18:20:26 +02:00
dependabot[bot]
318aeb4187 Bump the pub group across 1 directory with 17 updates (#167)
* Bump the pub group across 1 directory with 17 updates

Bumps the pub group with 16 updates in the /app directory:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `3.5.1` | `6.1.1` |
| [cupertino_icons](https://github.com/flutter/packages/tree/main/third_party/packages) | `1.0.6` | `1.0.8` |
| [flutter_cache_manager](https://github.com/Baseflow/flutter_cache_manager) | `3.3.1` | `3.3.2` |
| [flutter_lints](https://github.com/flutter/packages/tree/main/packages) | `3.0.2` | `4.0.0` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.6.22` | `0.7.1` |
| [html2md](https://github.com/jarontai/html2md) | `1.3.1` | `1.3.2` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.37` | `0.9.38` |
| [just_audio_background](https://github.com/ryanheise/just_audio) | `0.0.1-beta.11` | `0.0.1-beta.12` |
| [just_audio_media_kit](https://github.com/Pato05/just_audio_media_kit) | `2.0.2` | `2.0.4` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `6.0.0` | `8.0.0` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.24.0` | `6.29.2` |
| [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) | `2.2.2` | `2.2.3` |
| [sign_in_with_apple](https://github.com/aboutyou/dart_packages) | `6.0.0` | `6.1.0` |
| [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) | `6.2.5` | `6.2.6` |
| [window_manager](https://github.com/leanflutter/window_manager) | `0.3.8` | `0.3.9` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.1.0` | `2.2.1` |



Updates `app_links` from 3.5.1 to 6.1.1
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Changelog](https://github.com/llfbandit/app_links/blob/master/CHANGELOG.md)
- [Commits](https://github.com/llfbandit/app_links/compare/3.5.1...6.1.1)

Updates `cupertino_icons` from 1.0.6 to 1.0.8
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/cupertino_icons-v1.0.8/third_party/packages)

Updates `flutter_cache_manager` from 3.3.1 to 3.3.2
- [Commits](https://github.com/Baseflow/flutter_cache_manager/commits/flutter_cache_manager_v3.3.2)

Updates `flutter_lints` from 3.0.2 to 4.0.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_lints-v4.0.0/packages)

Updates `flutter_markdown` from 0.6.22 to 0.7.1
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.7.1/packages)

Updates `html2md` from 1.3.1 to 1.3.2
- [Changelog](https://github.com/jarontai/html2md/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jarontai/html2md/commits)

Updates `just_audio` from 0.9.37 to 0.9.38
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio-v0.9.37...just_audio-v0.9.38)

Updates `just_audio_background` from 0.0.1-beta.11 to 0.0.1-beta.12
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/compare/just_audio_background-v0.0.1-beta.11...just_audio_background-v0.0.1-beta.12)

Updates `just_audio_media_kit` from 2.0.2 to 2.0.4
- [Changelog](https://github.com/Pato05/just_audio_media_kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pato05/just_audio_media_kit/compare/v2.0.2...v2.0.4)

Updates `package_info_plus` from 6.0.0 to 8.0.0
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v8.0.0/packages/package_info_plus)

Updates `purchases_flutter` from 6.24.0 to 6.29.2
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.24.0...6.29.2)

Updates `shared_preferences` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.2.3/packages/shared_preferences)

Updates `sign_in_with_apple` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

Updates `supabase_flutter` from 2.3.4 to 2.5.4
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/supabase_flutter-v2.5.4/packages)

Updates `url_launcher` from 6.2.5 to 6.2.6
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.2.6/packages/url_launcher)

Updates `window_manager` from 0.3.8 to 0.3.9
- [Release notes](https://github.com/leanflutter/window_manager/releases)
- [Changelog](https://github.com/leanflutter/window_manager/blob/main/CHANGELOG.md)
- [Commits](https://github.com/leanflutter/window_manager/commits/v0.3.9)

Updates `youtube_explode_dart` from 2.1.0 to 2.2.1
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.1.0...v2.2.1)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: cupertino_icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_cache_manager
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_lints
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: html2md
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_background
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_media_kit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: url_launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: window_manager
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version and Podfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-06-08 17:59:59 +02:00
dependabot[bot]
1fb3bf63da Bump the npm group in /landing with 10 updates (#168)
Bumps the npm group in /landing with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `1.7.18` | `2.0.4` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.12.2` | `20.13.0` |
| [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.4.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.1.4` | `14.2.3` |
| [next](https://github.com/vercel/next.js) | `14.1.4` | `14.2.3` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.2.0` | `18.3.1` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.73` | `18.3.3` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.2.0` | `18.3.1` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.23` | `18.3.0` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.4.3` | `5.4.5` |


Updates `@headlessui/react` from 1.7.18 to 2.0.4
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.0.4/packages/@headlessui-react)

Updates `@types/node` from 20.12.2 to 20.13.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 8.57.0 to 9.4.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.4.0)

Updates `eslint-config-next` from 14.1.4 to 14.2.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.3/packages/eslint-config-next)

Updates `next` from 14.1.4 to 14.2.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.4...v14.2.3)

Updates `react` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

Updates `@types/react` from 18.2.73 to 18.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom)

Updates `@types/react-dom` from 18.2.23 to 18.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `typescript` from 5.4.3 to 5.4.5
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.5)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-08 16:59:05 +02:00
Rico Berger
aa5c4861db Revert "Bump the npm group in /landing with 10 updates (#165)" (#166)
This reverts commit a7c5afdd83.
2024-05-01 21:08:28 +02:00
dependabot[bot]
a7c5afdd83 Bump the npm group in /landing with 10 updates (#165)
Bumps the npm group in /landing with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `1.7.18` | `1.7.19` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.12.2` | `20.12.7` |
| [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.1.1` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.1.4` | `14.2.3` |
| [next](https://github.com/vercel/next.js) | `14.1.4` | `14.2.3` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.2.0` | `18.3.1` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.73` | `18.3.1` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.2.0` | `18.3.1` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.23` | `18.3.0` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.4.3` | `5.4.5` |


Updates `@headlessui/react` from 1.7.18 to 1.7.19
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.7.19/packages/@headlessui-react)

Updates `@types/node` from 20.12.2 to 20.12.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `eslint-config-next` from 14.1.4 to 14.2.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.3/packages/eslint-config-next)

Updates `next` from 14.1.4 to 14.2.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.4...v14.2.3)

Updates `react` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

Updates `@types/react` from 18.2.73 to 18.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom)

Updates `@types/react-dom` from 18.2.23 to 18.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `typescript` from 5.4.3 to 5.4.5
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.5)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 20:51:20 +02:00
Rico Berger
38fc655a53 [nitter] Disable Adding of new Sources (#163)
This commit disables the adding of new Nitter sources, because Nitter is
deprecated 😞 and adding new sources is not working anymore. Nitter
sources are also not updated anymore, because the update for Nitter
sources isn't working as well. To ensure that the Nitter sources are not
updated anymore the sources with type `nitter` are skipped in the
scheduler.

The Nitter source isn't removed completly, because we would also have to
cleanup the database and their might be items, which are bookmarked by
users.

See https://github.com/zedeus/nitter/issues/1155#issuecomment-1913361757
2024-04-06 17:22:27 +02:00
Rico Berger
4c34d33ac0 [x] Remove X Source (#162)
X (Twitter) was never supported and the code was never used to add a
source. We kept it in the hope that it will be possible again to use X
within the app. Since this isn't the case it is time to remove the code.
2024-04-06 13:00:12 +02:00
Rico Berger
eb9f84f650 [core] Update Flutter Version to 3.19.5 (#161) 2024-04-06 11:50:22 +02:00
dependabot[bot]
443e2db167 Bump the pub group in /app with 9 updates (#160)
* Bump the pub group in /app with 9 updates

Bumps the pub group in /app with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [app_links](https://github.com/llfbandit/app_links) | `3.5.0` | `3.5.1` |
| [flutter_lints](https://github.com/flutter/packages/tree/main/packages) | `3.0.1` | `3.0.2` |
| [flutter_markdown](https://github.com/flutter/packages/tree/main/packages) | `0.6.20+1` | `0.6.22` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.3.10` | `2.4.0` |
| [http](https://github.com/dart-lang/http/tree/master/pkgs) | `1.2.0` | `1.2.1` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `5.0.1` | `6.0.0` |
| [just_audio](https://github.com/ryanheise/just_audio) | `0.9.36` | `0.9.37` |
| [just_audio_media_kit](https://github.com/Pato05/just_audio_media_kit) | `2.0.1` | `2.0.2` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `5.0.1` | `6.0.0` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.22.0` | `6.24.0` |


Updates `app_links` from 3.5.0 to 3.5.1
- [Release notes](https://github.com/llfbandit/app_links/releases)
- [Changelog](https://github.com/llfbandit/app_links/blob/master/CHANGELOG.md)
- [Commits](https://github.com/llfbandit/app_links/commits/3.5.1)

Updates `flutter_lints` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_lints-v3.0.2/packages)

Updates `flutter_markdown` from 0.6.20+1 to 0.6.22
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_markdown-v0.6.22/packages)

Updates `flutter_native_splash` from 2.3.10 to 2.4.0
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/compare/v2.3.10...v2.4.0)

Updates `http` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/http-v1.2.1/pkgs)

Updates `package_info_plus` from 5.0.1 to 6.0.0
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v6.0.0/packages/package_info_plus)

Updates `just_audio` from 0.9.36 to 0.9.37
- [Release notes](https://github.com/ryanheise/just_audio/releases)
- [Commits](https://github.com/ryanheise/just_audio/commits)

Updates `just_audio_media_kit` from 2.0.1 to 2.0.2
- [Changelog](https://github.com/Pato05/just_audio_media_kit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pato05/just_audio_media_kit/compare/v2.0.1...v2.0.2)

Updates `package_info_plus` from 5.0.1 to 6.0.0
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v6.0.0/packages/package_info_plus)

Updates `purchases_flutter` from 6.22.0 to 6.24.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.22.0...6.24.0)

---
updated-dependencies:
- dependency-name: app_links
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_lints
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: just_audio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: just_audio_media_kit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Podfile.lock

* Update Java and Gradle Version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-04-01 18:33:26 +02:00
dependabot[bot]
347c570cde Bump the github-actions group with 1 update (#159)
Bumps the github-actions group with 1 update: [actions/configure-pages](https://github.com/actions/configure-pages).


Updates `actions/configure-pages` from 4 to 5
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/configure-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 17:18:29 +02:00
dependabot[bot]
f8e2fa6128 Bump the npm group in /landing with 9 updates (#158)
Bumps the npm group in /landing with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.11.24` | `20.12.2` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.61` | `18.2.73` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.19` | `18.2.23` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.18` | `10.4.19` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.1.1` | `14.1.4` |
| [next](https://github.com/vercel/next.js) | `14.1.1` | `14.1.4` |
| [postcss](https://github.com/postcss/postcss) | `8.4.35` | `8.4.38` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.1` | `3.4.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.3.3` | `5.4.3` |


Updates `@types/node` from 20.11.24 to 20.12.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.61 to 18.2.73
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.19 to 18.2.23
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `autoprefixer` from 10.4.18 to 10.4.19
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.18...10.4.19)

Updates `eslint-config-next` from 14.1.1 to 14.1.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.1.4/packages/eslint-config-next)

Updates `next` from 14.1.1 to 14.1.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.1...v14.1.4)

Updates `postcss` from 8.4.35 to 8.4.38
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.35...8.4.38)

Updates `tailwindcss` from 3.4.1 to 3.4.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.3)

Updates `typescript` from 5.3.3 to 5.4.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.3)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 17:18:06 +02:00
Rico Berger
9dbb979764 [core] Add Indexes to Improve Query Performance (#157)
Until now it could happen that the items for a column could not be
retrieved from the database, because of the set query timeout. In this
case we received the following error:

```
PostgrestException(message: canceling statement due to statement timeout, code: 57014, details: Internal Server Error, hint: null)
```

To fix this issue we added an `items_columnId_idx` index, so that the
items for a column are retrieved fast.

We also added some other useful indexes to improve the overall
performance of our queries.

Last but not least we also added an index to the `userId` columns as it
is recommended by Supabase to improve the performance of our RLS
policies.
2024-03-13 17:51:47 +01:00
dependabot[bot]
062db5d13a Bump the pub group in /app with 3 updates (#151)
* Bump the pub group in /app with 3 updates

Bumps the pub group in /app with 3 updates: [provider](https://github.com/rrousselGit/provider), [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) and [sign_in_with_apple](https://github.com/aboutyou/dart_packages).


Updates `provider` from 6.1.1 to 6.1.2
- [Commits](https://github.com/rrousselGit/provider/compare/provider-v6.1.1...provider-v6.1.2)

Updates `purchases_flutter` from 6.21.1 to 6.22.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.21.1...6.22.0)

Updates `sign_in_with_apple` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/aboutyou/dart_packages/releases)
- [Commits](https://github.com/aboutyou/dart_packages/commits)

---
updated-dependencies:
- dependency-name: provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: sign_in_with_apple
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version and Podfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-03-02 11:08:50 +01:00
dependabot[bot]
788c7c9440 Bump the npm group in /landing with 2 updates (#156)
Bumps the npm group in /landing with 2 updates: [autoprefixer](https://github.com/postcss/autoprefixer) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next).


Updates `autoprefixer` from 10.4.17 to 10.4.18
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.17...10.4.18)

Updates `eslint-config-next` from 14.1.0 to 14.1.1
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.1.1/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 00:50:41 +01:00
ricoberger
aed602c55e [core] Adjust Dependabot Configuration
Adjust the Dependabot configuration to not update the
`/supabase/email-templates` folder anymore. This is done, because
Dependabot couldn't handle the `package.json` and `package-lock.json`
file very well and always wants to delete some required stuff.

Since the folder only contains our email templates it is also not
critical if the dependencies are not up to date.
2024-03-02 00:45:39 +01:00
dependabot[bot]
24f4648274 Bump the docker group in /supabase/functions/_cmd with 1 update (#153)
Bumps the docker group in /supabase/functions/_cmd with 1 update: lukechannings/deno.


Updates `lukechannings/deno` from v1.40.3 to v1.40.5

---
updated-dependencies:
- dependency-name: lukechannings/deno
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 00:22:45 +01:00
dependabot[bot]
d29d601513 Bump the github-actions group with 1 update (#152)
Bumps the github-actions group with 1 update: [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `release-drafter/release-drafter` from 5 to 6
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 00:22:11 +01:00
dependabot[bot]
f21d38b080 Bump the npm-landing group in /landing with 6 updates (#150)
Bumps the npm-landing group in /landing with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.11.15` | `20.11.24` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.51` | `18.2.61` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.18` | `18.2.19` |
| [eslint](https://github.com/eslint/eslint) | `8.56.0` | `8.57.0` |
| [next](https://github.com/vercel/next.js) | `14.1.0` | `14.1.1` |
| [postcss](https://github.com/postcss/postcss) | `8.4.33` | `8.4.35` |


Updates `@types/node` from 20.11.15 to 20.11.24
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.51 to 18.2.61
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.18 to 18.2.19
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 8.56.0 to 8.57.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

Updates `next` from 14.1.0 to 14.1.1
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.0...v14.1.1)

Updates `postcss` from 8.4.33 to 8.4.35
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.33...8.4.35)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 00:21:33 +01:00
ricoberger
a0c64508c9 Update License 2024-02-25 16:36:47 +01:00
Rico Berger
11084f04e9 [core] Upgrade Flutter Version (#149)
Upgrade the used version of Flutter to 3.19.1 and all used packages to
their latest version.

For the Android Version of the app, we also had to adjust some files,
because of the "Deprecated imperative apply of Flutter's Gradle
plugins". The steps we had to run for this can be found at
https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply
2024-02-25 16:23:33 +01:00
dependabot[bot]
2a8aa5f3c1 Bump the npm-email-templates group in /supabase/email-templates with 2 updates (#115)
* Bump the npm-email-templates group

Bumps the npm-email-templates group in /supabase/email-templates with 2 updates: [@react-email/components](https://github.com/resend/react-email/tree/HEAD/packages/components) and [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email).


Updates `@react-email/components` from 0.0.11 to 0.0.14
- [Release notes](https://github.com/resend/react-email/releases)
- [Commits](https://github.com/resend/react-email/commits/v0.0.14/packages/components)

Updates `react-email` from 1.9.5 to 2.0.0
- [Release notes](https://github.com/resend/react-email/releases)
- [Commits](https://github.com/resend/react-email/commits/HEAD/packages/react-email)

---
updated-dependencies:
- dependency-name: "@react-email/components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-email-templates
- dependency-name: react-email
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm-email-templates
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump the npm-email-templates group

Bumps the npm-email-templates group in /supabase/email-templates with 2 updates: [@react-email/components](https://github.com/resend/react-email/tree/HEAD/packages/components) and [react-email](https://github.com/resend/react-email/tree/HEAD/packages/react-email).


Updates `@react-email/components` from 0.0.11 to 0.0.14
- [Release notes](https://github.com/resend/react-email/releases)
- [Commits](https://github.com/resend/react-email/commits/v0.0.14/packages/components)

Updates `react-email` from 1.9.5 to 2.0.0
- [Release notes](https://github.com/resend/react-email/releases)
- [Commits](https://github.com/resend/react-email/commits/HEAD/packages/react-email)

---
updated-dependencies:
- dependency-name: "@react-email/components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-email-templates
- dependency-name: react-email
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm-email-templates
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-02-24 09:09:40 +01:00
Rico Berger
c64b8026ae [core] Fix Blockquote Style (#148)
This commit fixes the style of blockquotes when we render the item
description as Markdown. Until now blockquotes had a weird blue
background, so that the text wasn't readable.

Now we are using the secondary color as background and we add a border on
the left site with the primary color.

We would also like to use italic as font family, but there is currently
a bug, so that the defined blockquote style is not applied. See
https://github.com/flutter/flutter/issues/81720
2024-02-23 18:39:10 +01:00
Rico Berger
ed76d85fd8 [core] Use Upstream just_audio_media_kit Version (#147)
Use the newest upstream version of the `just_audio_media_kit` package,
which removes the hard dependencies on the `media_kit_libs_linux` and
`media_kit_libs_windows_audio` packages, so that it shouldn't conflict
anymore with the usage of the `media_kit_libs_video` package.
2024-02-22 20:47:34 +01:00
Rico Berger
b2b3723ba8 [4chan] Improve Options Parsing (#146)
A 4chan source can now also be added via the RSS source type in the
Flutter app. If a user provides the RSS feed of an 4chan board, we check
if the url is related to 4chan and if this is the case, we use the 4chan
  instead of the RSS source type, similar to how it is handled for other
  sources like Medium, Reddit, etc.
2024-02-16 19:17:59 +01:00
Rico Berger
ca9ce54061 [mastodon] Add Support for Piped Videos (#145)
If a Mastodon post contains a Piped video it can now be played directly
within the app, similar to how it is handled for Nitter posts.
2024-02-14 19:01:56 +01:00
Rico Berger
8199c451b1 [reddit] Add Support for Piped Videos (#144)
If a Reddit post contains a Piped video it can now be played directly
within the app, similar to how it is handled in Nitter posts.
2024-02-14 19:00:51 +01:00
Rico Berger
66173d5a38 [lemmy] Add Support for Piped Videos (#143)
If a Lemmy post contains a Piped video it can now by played directly in
the app, similar to how it is handled for Nitter posts.
2024-02-14 18:59:14 +01:00
ricoberger
a5fba341d3 [core] Sort Imports 2024-02-14 18:36:54 +01:00
Rico Berger
689d3bd39b [4chan] Add Support for 4chan (#142)
This commit adds support for 4chan. This means that 4chan can be
selected as a new source type. When the 4chan source is selected a user
can select a board from which he wants to get the RSS feed.
2024-02-14 13:05:10 +01:00
Rico Berger
0b077ae973 [rss] Fix Image Parsing (#141)
The images of an RSS feed can now also start with `http://`, which is
necessary for some feeds.
2024-02-14 13:03:13 +01:00
Rico Berger
9a6bb033bf [core] Remove referer Check in image-proxy-v1 Function (#140) 2024-02-12 22:51:47 +01:00
ricoberger
7b84bab217 Prepare v1.3.0 Release 2024-02-12 19:51:12 +01:00
Rico Berger
1a56a8996e [core] Increase Update Interval for Reddit and Nitter (#138)
Reddit and Nitter are heavlily rate limited from time to time, to not
effect our premium users, by these limits, we decided to increase the
interval in which the Reddit and Nitter sources are updated for users
which are on the free tier.
2024-02-12 19:44:14 +01:00
Rico Berger
37bcc5e026 [nitter] Add Support for Piped Videos (#136)
The Nitter source now supports playing Piped Videos directly within the
app. For this we are checking if the Nitter post contains a piped.video
url and if this is the case we are using the newly added
`ItemPipedVideo` widget to render the video player, to allow users to
directly play the video within the app.

To support Piped videos we had to create a new `ItemPipedVideo` widget,
which is very similar to the `ItemYoutubeVideo` widget. This means on
the web version of FeedDeck we show the Video via an iframe and on the
other platforms via our `ItemVideoPlayer` widget. The main difference
between Piped and YouTube widget is the different client we use to fetch
the video urls. Besides the Piped API returns two different stream one
for the video and one for the audio, so that we had to add an additional
`audio` paramter to the `ItemVideoPlayer` widget, which allows us to
specify an additional audio source for a video.

NOTE: We had to add support for Piped, because Nitter automatically
converts the YouTube urls to the corresponding Piped urls.
2024-02-11 21:52:15 +01:00
Rico Berger
6a158f5176 [landing] Add Feature Images for Mobile Screens (#137)
Until now we always displayed the same feature images on the landing
page and it didn't matter if the user was on a desktop or mobile device.
This is now changed so that we display different images on mobile
devices (depending on the screen resolution).

Besides that we also moved the deprecated `themeColor` from the
`Metadata` to the `Viewport` and added it to all pages.

Last but not least we added some missing Android icons, which were
referenced in the `manifest.json` file, but where the icon didn't exist.
2024-02-11 21:26:47 +01:00
Rico Berger
0b7ca6cb14 [mastodon] Add Support for YouTube Videos (#135)
The Mastodon source supports YouTube Videos now. This means that if a
Mastodon post contains a link to a YouTube video as user can now
directly watch the video within the app.

If the post contains a video we render the YouTube video and the
description instead of the description, images and videos.
2024-02-10 21:25:16 +01:00
Rico Berger
303f78c3bc [reddit] Add Support for YouTube Videos (#134)
The Reddit source supports YouTube videos now. This means if a Reddit
post contains a link to a YouTube video, we render the video in the item
details, so that a user can directly watch the video.
2024-02-10 21:04:09 +01:00
ricoberger
c0c87e2c10 [core] Sort Imports 2024-02-10 20:43:18 +01:00
Rico Berger
babce57c80 [core] Fix Password Validations (#133)
This commit fixes the password validations. In #130 we introduced some
stronger password policies to forbid weak passwords, but forgot to
change it in all places. Now the same rules are also applying when a
user changes his password or resets his password.

During the sign in we do not use the same rules, to not block users
which have already signed up, with a password which doesn't match the
rules.
2024-02-10 15:31:56 +01:00
Rico Berger
ca5866ac13 [core] Add Continuous Delivery Workflow for Linux arm64 (#132)
Until now we had to manually build the app for Linux arm64 when we
created a new release. Now we are using ubicloud and the
`ubicloud-standard-2-arm` GitHub Action runner to build the app for
Linux arm64.
2024-02-10 14:58:27 +01:00
ricoberger
508e255c8b [core] Fix File 2024-02-06 21:05:40 +01:00
Rico Berger
aeeea4fd95 [core] Update macOS GitHub Action Runners (#131)
Update the used GitHub Action runners to `macos-14`, see
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
2024-02-02 17:36:46 +01:00
Rico Berger
6029ee539e [core] Forbid Weak Passwords (#130)
This commit improves our password policy, so that every user which signs
up must have a password with a minimum length of 8 characters, one upper
and lower case letter and one number.
2024-02-02 17:22:53 +01:00
Rico Berger
c9a596111c [rss] Do Not Remove HTML Tags (#129)
We do not remove HTML tags from the description of a RSS feed item
anymore, because:

- This didn't worked for all feeds, because we first removed the tags
  and then unescape the data, which didn't make sense
- We render the HTML to Makrdown in the frontend so that the description
  can contain HTML tags and is still properly rendered and in some case
  better rendered then before
2024-02-02 17:04:43 +01:00
Rico Berger
b8a73cc003 [core] Make Log Level Configurable (#128)
The log level is now configurable, via the `FEEDDECK_LOG_LEVEL`
environment variable. The environment variable can have the following
values: `debug`, `info`, `warning` or `error`.

With this change we also only log the response when getting and parsing
the feed fails when the log level is set to `debug`, also when the
actual message is still an error. This should reduce the noice in the
logs a lot and allows us to specially turn this on while debugging.
2024-02-02 16:52:14 +01:00
ricoberger
817eb4d9e8 [core] Update File 2024-02-02 16:06:44 +01:00
dependabot[bot]
20e3e736c2 Bump the docker group in /supabase/functions/_cmd with 1 update (#127)
Bumps the docker group in /supabase/functions/_cmd with 1 update: lukechannings/deno.


Updates `lukechannings/deno` from v1.40.2 to v1.40.3

---
updated-dependencies:
- dependency-name: lukechannings/deno
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 00:06:02 +01:00
dependabot[bot]
20352c0301 Bump the npm-landing group in /landing with 2 updates (#126)
Bumps the npm-landing group in /landing with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/node` from 20.11.13 to 20.11.15
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.48 to 18.2.51
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 00:05:29 +01:00
Rico Berger
e7b7000f46 [core] Add Open Link Action (#125)
This commit adds a new action to the menu shown when a user clicks
longer on the item in a column. The new "Open Link" action allows a user
to directly open the link of the item, so that the details modal must
not be opened anymore to open the link.
2024-01-31 21:09:34 +01:00
Rico Berger
fb3bec623a [core] Add Missing SafeArea Widget (#124)
Several widgets which where rendered within a modal bottom sheet didn't
used a `SafeArea` widget in the body of the `Scaffold` widget, so that
the action buttons on the bottom of the widget where not rendered in the
correct position.
2024-01-31 20:54:50 +01:00
dependabot[bot]
976c066004 Bump the pub group in /app with 2 updates (#121)
* Bump the pub group in /app with 2 updates

Bumps the pub group in /app with 2 updates: [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) and [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages).


Updates `purchases_flutter` from 6.18.0 to 6.19.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/6.19.0/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.18.0...6.19.0)

Updates `supabase_flutter` from 2.3.1 to 2.3.2
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/HEAD/packages)

---
updated-dependencies:
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Flutter Version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-01-31 20:28:49 +01:00
dependabot[bot]
304a9744a9 Bump the npm-landing group in /landing with 1 update (#120)
Bumps the npm-landing group in /landing with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 20.11.10 to 20.11.13
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 19:51:34 +01:00
Rico Berger
ee11cae8dc [landing] Add Lemmy Icon (#123)
Add an icon for Lemmy to the landing page. The new `lemmy` source type
was added in #94 and is now also added to the landing page for the next
release which should happen very soon.
2024-01-31 19:37:50 +01:00
Rico Berger
04314f116d [core] Fix Naming of Files (#122)
Fix the naming of some files: Instead of login we are always using the
term sign in and already renamed the `DesktopLoginManager` to
`DesktopSignInManager` in #106. During the renaming we forgot to rename
the file which is now done.

We also renamed the `sign_in_with_apple.dart` file to
`signin_with_apple.dart`, because the other files also do not contain an
underscore between sign and in.
2024-01-31 19:32:23 +01:00
ricoberger
b645244378 [core] Fix Assignees in Dependabot Configuration 2024-01-31 19:12:09 +01:00
dependabot[bot]
110ff56aa1 Bump the pub group in /app with 9 updates (#119)
* Bump the pub group in /app with 9 updates

Bumps the pub group in /app with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [cached_network_image](https://github.com/Baseflow/flutter_cached_network_image) | `3.3.0` | `3.3.1` |
| [flutter_native_splash](https://github.com/jonbhanson/flutter_native_splash) | `2.3.8` | `2.3.10` |
| [http](https://github.com/dart-lang/http/tree/master/pkgs) | `1.1.2` | `1.2.0` |
| [intl](https://github.com/dart-lang/i18n/tree/main/pkgs) | `0.18.1` | `0.19.0` |
| [purchases_flutter](https://github.com/RevenueCat/purchases-flutter) | `6.5.1` | `6.18.0` |
| [supabase_flutter](https://github.com/supabase/supabase-flutter/tree/main/packages) | `2.0.2` | `2.3.1` |
| [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) | `6.2.2` | `6.2.4` |
| [window_manager](https://github.com/leanflutter/window_manager) | `0.3.7` | `0.3.8` |
| [youtube_explode_dart](https://github.com/Hexer10/youtube_explode_dart) | `2.0.4` | `2.1.0` |


Updates `cached_network_image` from 3.3.0 to 3.3.1
- [Commits](https://github.com/Baseflow/flutter_cached_network_image/compare/v3.3.0...v3.3.1)

Updates `flutter_native_splash` from 2.3.8 to 2.3.10
- [Release notes](https://github.com/jonbhanson/flutter_native_splash/releases)
- [Changelog](https://github.com/jonbhanson/flutter_native_splash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonbhanson/flutter_native_splash/commits)

Updates `http` from 1.1.2 to 1.2.0
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/HEAD/pkgs)

Updates `intl` from 0.18.1 to 0.19.0
- [Release notes](https://github.com/dart-lang/i18n/releases)
- [Commits](https://github.com/dart-lang/i18n/commits/intl-v0.19.0/pkgs)

Updates `purchases_flutter` from 6.5.1 to 6.18.0
- [Release notes](https://github.com/RevenueCat/purchases-flutter/releases)
- [Changelog](https://github.com/RevenueCat/purchases-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RevenueCat/purchases-flutter/compare/6.5.1...6.18.0)

Updates `supabase_flutter` from 2.0.2 to 2.3.1
- [Changelog](https://github.com/supabase/supabase-flutter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supabase/supabase-flutter/commits/HEAD/packages)

Updates `url_launcher` from 6.2.2 to 6.2.4
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.2.4/packages/url_launcher)

Updates `window_manager` from 0.3.7 to 0.3.8
- [Release notes](https://github.com/leanflutter/window_manager/releases)
- [Changelog](https://github.com/leanflutter/window_manager/blob/main/CHANGELOG.md)
- [Commits](https://github.com/leanflutter/window_manager/commits)

Updates `youtube_explode_dart` from 2.0.4 to 2.1.0
- [Release notes](https://github.com/Hexer10/youtube_explode_dart/releases)
- [Changelog](https://github.com/Hexer10/youtube_explode_dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Hexer10/youtube_explode_dart/compare/v2.0.4...v2.1.0)

---
updated-dependencies:
- dependency-name: cached_network_image
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: flutter_native_splash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: intl
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: purchases_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: supabase_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
- dependency-name: url_launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: window_manager
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
- dependency-name: youtube_explode_dart
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Podfile.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2024-01-31 19:10:56 +01:00
ricoberger
bbbeb9524f [core] Remove Deprecate Edge Functions
This commit removes the deprecated edge functions `add-source-v1` and
`profile-v1` from the stage deployment.
2024-01-31 19:07:01 +01:00
Rico Berger
90fc7532ba [core] Add Client Side Scraping of Sources (#118)
It is now possible to add and update sources via client side scraping.
For that a new edge function `add-or-update-source-v1` was added and the
old `add-source-v1` function was deprecated.

The new function accepts a new `feedData` field, which can contain the
feed for a source. If the field is provided we will not try to get the
feed for a source within our edge function and instead use the provided
data.

Currently this function is only used to add a Reddit source. Later we
plan to extend it for other sources and want to use it to update source
via the app, when the source provider makes heavy use of rate limiting.
2024-01-30 21:59:42 +01:00
dependabot[bot]
fac622ef97 Bump the docker group in /supabase/functions/_cmd with 1 update (#114)
Bumps the docker group in /supabase/functions/_cmd with 1 update: lukechannings/deno.


Updates `lukechannings/deno` from v1.38.4 to v1.40.2

---
updated-dependencies:
- dependency-name: lukechannings/deno
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 21:49:44 +01:00
dependabot[bot]
e29b94a576 Bump the github-actions group with 4 updates (#110)
Bumps the github-actions group with 4 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [actions/configure-pages](https://github.com/actions/configure-pages), [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) and [actions/deploy-pages](https://github.com/actions/deploy-pages).


Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

Updates `actions/configure-pages` from 3 to 4
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v3...v4)

Updates `actions/upload-pages-artifact` from 2 to 3
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v2...v3)

Updates `actions/deploy-pages` from 2 to 4
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/configure-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-pages-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 21:49:03 +01:00
dependabot[bot]
911b3691b3 Bump the npm-landing group in /landing with 11 updates (#116)
Bumps the npm-landing group in /landing with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `1.7.17` | `1.7.18` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.10.1` | `20.11.10` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.39` | `18.2.48` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.17` | `18.2.18` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.16` | `10.4.17` |
| [eslint](https://github.com/eslint/eslint) | `8.54.0` | `8.56.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.0.3` | `14.1.0` |
| [next](https://github.com/vercel/next.js) | `14.0.3` | `14.1.0` |
| [postcss](https://github.com/postcss/postcss) | `8.4.31` | `8.4.33` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.3.5` | `3.4.1` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.3.2` | `5.3.3` |


Updates `@headlessui/react` from 1.7.17 to 1.7.18
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.7.18/packages/@headlessui-react)

Updates `@types/node` from 20.10.1 to 20.11.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.39 to 18.2.48
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.17 to 18.2.18
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `autoprefixer` from 10.4.16 to 10.4.17
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.16...10.4.17)

Updates `eslint` from 8.54.0 to 8.56.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.56.0)

Updates `eslint-config-next` from 14.0.3 to 14.1.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.1.0/packages/eslint-config-next)

Updates `next` from 14.0.3 to 14.1.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.3...v14.1.0)

Updates `postcss` from 8.4.31 to 8.4.33
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.31...8.4.33)

Updates `tailwindcss` from 3.3.5 to 3.4.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.5...v3.4.1)

Updates `typescript` from 5.3.2 to 5.3.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 21:48:09 +01:00
Rico Berger
3a84376223 Add Assignees to Dependabot Configuration (#113) 2024-01-30 19:41:03 +01:00
Rico Berger
0f5a8e44f1 [core] Add Additional Header for Web Deployment (#112)
This commit adds the `X-Content-Type-Options`, `X-Frame-Options` and
`Referrer-Policy` headers to the web deployment of FeedDeck via the
`_headers` file.

See https://developers.cloudflare.com/pages/configuration/headers/
2024-01-30 19:27:47 +01:00
Rico Berger
5753fb2714 Update Flutter to Version 3.16.5 (#106)
Update the used Flutter version to 3.16.5 and the used packages to their
latest version.

The Supabase package contained some breaking changes:
- `functionUrl` is not exported anymore, so that it must be generated by
  ourselfs
- `Provider` was renamed to `OAuthProvider`
- The `signInWithApple` method was removed and is now implemented by us
  via the `sign_in_with_apple` package.

We also renamed the `DesktopLoginManager` to `DesktopSignInManager` to
use the same naming as in other places of the app, where we are always
using sign in and not login.
2023-12-21 17:24:07 +01:00
ricoberger
4008660a35 [core] Fix deno test Commands in Contributing Guidelines 2023-12-20 09:47:27 +01:00
Rico Berger
1cb58e1e0f [core] Refactor Tools and add get-feed Tool (#105)
This commit refactors the existing tools, by moving the tools logic to a
new `tools.ts` file, so that the main `cmd.ts` file remains clear.

Besides that we also add a new tool `get-feed` which can be used to run
the `getFeed` function from the command line. The function is called
with a source and returns the generated source and items, as they are
saved in the database by the `add-source-v1` Supabase edge function.
2023-12-17 18:04:53 +01:00
ricoberger
08e9170a80 [nitter] Adjust Header Handling 2023-12-17 13:51:03 +01:00
Rico Berger
4198a5bac6 [core] Replace Deprecated serve Function (#104)
The used `serve` function from the `std/server` module is deprecated and
must be replaced with `Deno.serve`. This was done within this commit.
2023-12-17 12:37:00 +01:00
ricoberger
295ae13705 [core] Remove deno.lock File 2023-12-17 12:11:31 +01:00
Rico Berger
0894f0e777 [core] Improve Error Handling for Feed Edge Functions (#103)
This commit improve the error handling for the edge function to add a
new source and the worker, so that we get more insights why a request
fails. A user will now also get a more detailed error why a source could
not be added.
2023-12-17 12:10:04 +01:00
ricoberger
2966ecc651 [rss] Fix Test Name 2023-12-12 22:13:47 +01:00
Rico Berger
49c168b5b2 [core] Disable Right Click for Item Actions on Web (#102)
On the web the right click on an item to show the actions, doesn't work
properly, because the browsers right click menu will be shown first. So
it doesn't make sense to show also our right click menu.
2023-12-12 22:03:32 +01:00
Rico Berger
8e0017e928 [rss] Show Videos from RSS Feeds (#101)
If an RSS feed contains a video within the `attachments` field, the video
will now be added to the `options` field of the item. In the Flutter
code we then check if the video field is present in the options and show
the video instead of an image in the details view of the item.
2023-12-12 21:49:45 +01:00
Rico Berger
982add8fbb [core] Update Deno Modules (#100)
This commit updates all used Deno modules to their latest version.

Since some of the used modules / functions were deprecated we had to
adjust our encrypt / descrypt functions and the generation of the source
and item ids, where we have to use a new md5 function.
2023-12-12 20:32:44 +01:00
Rico Berger
8065e19c85 [rss] Parse Atom and RDF Feeds from Websites (#99)
Until now we only checked if a website contained a RSS feed which can be
used for FeedDeck. Now we are also checking if the website contains a
Atom or RDF feed when no RSS feed was found.

For this we are checking `link` tag with the `type="application/atom+xml"`
attribute or a link tag with the `type="application/rdf+xml"` attribute.
2023-12-12 20:22:30 +01:00
Rico Berger
9e59439226 [core] Add Tests for Sources (#98)
This commit adds tests for all available sources.

This commit also fixes the parsing of Atom feeds for the RSS source,
where the `dc:date` field must be used for the `publishedAt` field.
2023-12-12 18:50:29 +01:00
Rico Berger
5087c299d3 [core] Add Test Setup for Deno (#97)
This commit uses the "Continuous Integration" GitHub Action, to run
tests for the Deno code, which is used by the Supabase functions and our
Docker containers.

This commit also adds a first test so that the `deno test` command does
not fail.
2023-12-03 15:55:04 +01:00
Rico Berger
bddf5874d4 [core] Fix Converting of HTML to Plain Text in Description (#96)
This commit fixes the conversion of HTML to plain text in the
description for an item. Until now it could happen, that the there was
no whitespace between some words after the conversion. This is now fixed
so that there is always a whitespace between words in the plain text.
2023-12-02 17:58:44 +01:00
Rico Berger
6c469e5d0d [core] Improve ItemVideoPlayer Widget (#95)
This commit adds two improvements to the `ItemVideoPlayer` widget. These
improvements are:
1. The padding for the widget is now defined within the widget, so that
   is must not be defined in the parent widget. With this change the
   widget follows the styling of our other widgets like `ItemMedia`.
2. On iOS the quality selection had a large bottom padding, this is now
   fixed, by using a `Wrap` widget instead of a `ListView` like we are
   using in the other modal bottom sheets which are showing some
   actions.
2023-12-02 16:51:56 +01:00
Rico Berger
8c88ece3dc [lemmy] Add Support for Lemmy (#94)
This commit adds support to add Lemmy RSS feeds to FeedDeck. A user can
provide the url of an Lemmy instance, the url of a community or of an
user.

The special thing of the Lemmy source in opposite to the normal RSS
source is, that we parse the provided link form a feed item, to check if
it contains a image, video or YouTube url, to apply some special
formatting.
2023-12-02 15:52:50 +01:00
Rico Berger
eb28a44cc8 [core] Fix Index Reset for Tabs in Small Deck Layout (#93)
The index was not reset in the `DeckLayoutSmall` widget, when the user
selected a new deck in the settings widget. This was caused because the
`DefaultTabController` was not rebuild after a new deck was selected, so
that the `initialIndex` value was not used.

This is now fixed by adding a `key` to the `DefaultTabController`, which
corresponds to the selected deck. This means if the user selects a new
deck in the settings the widget will be rebuild and the initial selected
tab will be the first one. If a user selects the same deck or switches
between the small and large layout the tab will be the formerly selected
one.
2023-12-01 18:09:54 +01:00
ricoberger
240e9e93d9 [podcast] Add Comment for the _player.pause() Hack 2023-12-01 18:03:28 +01:00
dependabot[bot]
eebec73fd2 Bump the npm-email-templates group in /supabase/email-templates with 1 update (#89)
* Bump the npm-email-templates group

Bumps the npm-email-templates group in /supabase/email-templates with 1 update: [@react-email/components](https://github.com/resendlabs/react-email/tree/HEAD/packages/components).

- [Release notes](https://github.com/resendlabs/react-email/releases)
- [Changelog](https://github.com/resendlabs/react-email/blob/canary/docs/changelog.mdx)
- [Commits](https://github.com/resendlabs/react-email/commits/v0.0.11/packages/components)

---
updated-dependencies:
- dependency-name: "@react-email/components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-email-templates
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run `npm install`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ricoberger <mail@ricoberger.de>
2023-12-01 17:38:16 +01:00
dependabot[bot]
1b226791b4 Bump the pub group in /app with 1 update (#90)
Bumps the pub group in /app with 1 update: [msix](https://github.com/YehudaKremer/msix).

- [Release notes](https://github.com/YehudaKremer/msix/releases)
- [Changelog](https://github.com/YehudaKremer/msix/blob/main/CHANGELOG.md)
- [Commits](https://github.com/YehudaKremer/msix/compare/v3.16.6...v3.16.7)

---
updated-dependencies:
- dependency-name: msix
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 16:48:48 +01:00
dependabot[bot]
ad9885ce92 Bump the npm-landing group in /landing with 7 updates (#91)
Bumps the npm-landing group in /landing with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.8.10` | `20.10.1` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.33` | `18.2.39` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.14` | `18.2.17` |
| [eslint](https://github.com/eslint/eslint) | `8.52.0` | `8.54.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.0.1` | `14.0.3` |
| [next](https://github.com/vercel/next.js) | `14.0.1` | `14.0.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.2.2` | `5.3.2` |


Updates `@types/node` from 20.8.10 to 20.10.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.33 to 18.2.39
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.14 to 18.2.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 8.52.0 to 8.54.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.54.0)

Updates `eslint-config-next` from 14.0.1 to 14.0.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.0.3/packages/eslint-config-next)

Updates `next` from 14.0.1 to 14.0.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.1...v14.0.3)

Updates `typescript` from 5.2.2 to 5.3.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-landing
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-landing
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 16:44:20 +01:00
dependabot[bot]
16418ab205 Bump the docker group in /supabase/functions/_cmd with 1 update (#92)
Bumps the docker group in /supabase/functions/_cmd with 1 update: lukechannings/deno.


---
updated-dependencies:
- dependency-name: lukechannings/deno
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 16:38:50 +01:00
Rico Berger
d9d82a1679 [core] Add Test Setup for Flutter (#87)
This commit adds a new "Continuous Integration" GitHub Action, which is
used to run the tests for the Flutter app (and later also for Deno).
This commit also adds a first test, so that the GitHub Action does not
fail.

This PR also removes the Visual Studio Code and Neovim configurations
from the contribution guide, since I'm not using it anymore and for that
I do not want to maintain it any longer.
2023-11-30 21:49:49 +01:00
ricoberger
ff52516324 Prepare v1.2.1 Release 2023-11-30 18:03:33 +01:00
Rico Berger
abd3c24f68 [core] Remove Blank in Item Preview Description (#86)
This commit removes all blank lines in the item preview description, so
that we do not render a blank line as the last line. This was done to
improve the style of the item previews, which looked ugly when the last
line was a blank line.
2023-11-29 21:47:53 +01:00
Rico Berger
04ef618295 [core] Add Right Click Support for Item Actions (#85)
Until now it was only possible to show the actions for an item by
pressing longer on the item. Now a user can also right click on the item
to display the actions which feels a bit more natural on desktop
devices.
2023-11-29 21:14:27 +01:00
Rico Berger
a58c93be8a [podcast] Stop Audio Playback on Windows and Linux (#84)
On Windows and Linux it could happen that the audio playback for a
podcast wasn't stopped when the item details view for a podcast item was
closed.

This commit "fixes" the problem, by pausing the audio player, before the
widget is disposed.

This commit also fixes the condition when the background audio services
should be initialized in the `main.dart` file. Instead of the macOS
check, we checked for iOS twice.
2023-11-29 21:06:06 +01:00
Rico Berger
5a8d6b34c1 [medium] Extend Filter Words List (#83) 2023-11-29 20:09:34 +01:00
ricoberger
9233e4d373 [core] Fix 2023-11-26 20:07:18 +01:00
Rico Berger
6e50af16a7 [core] Fix build.gradle File for Android Release (#82)
The change introduced in #71 so that we can run the Android build in a
GitHub action, broke the `flutter build appbundle` command to build the
Android version for the Google Play store. This commit should fix this,
so that we can build the Android version in a GitHub Action and for
Google Play.
2023-11-26 19:40:54 +01:00
301 changed files with 21412 additions and 13464 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @ricoberger

1
.github/FUNDING.yml vendored
View File

@@ -1,2 +1,3 @@
---
github: [ricoberger]
custom: ["https://www.paypal.me/ricoberger"]

BIN
.github/assets/badge-app-store.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
.github/assets/badge-flathub.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
.github/assets/badge-google-play.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
.github/assets/badge-mac-app-store.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
.github/assets/badge-web.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
.github/assets/badge-windows-store.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,9 +1,14 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
assignees:
- "ricoberger"
labels:
- "changelog: changed"
groups:
github-actions:
patterns:
@@ -13,6 +18,10 @@ updates:
directory: "/app"
schedule:
interval: "monthly"
assignees:
- "ricoberger"
labels:
- "changelog: changed"
groups:
pub:
patterns:
@@ -22,6 +31,10 @@ updates:
directory: "/supabase/functions/_cmd"
schedule:
interval: "monthly"
assignees:
- "ricoberger"
labels:
- "changelog: changed"
groups:
docker:
patterns:
@@ -31,8 +44,12 @@ updates:
directory: "/landing"
schedule:
interval: "monthly"
assignees:
- "ricoberger"
labels:
- "changelog: changed"
groups:
npm-landing:
npm:
patterns:
- "*"
@@ -40,7 +57,11 @@ updates:
directory: "/supabase/email-templates"
schedule:
interval: "monthly"
assignees:
- "ricoberger"
labels:
- "changelog: changed"
groups:
npm-email-templates:
npm:
patterns:
- "*"

View File

@@ -1,3 +1,4 @@
---
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
version-template: "v$MAJOR.$MINOR.$PATCH"
@@ -15,15 +16,15 @@ version-resolver:
minor:
labels:
- "changelog: added"
- "changelog: changed"
patch:
labels:
- "changelog: changed"
- "changelog: fixed"
default: patch
category-template: "### $TITLE"
change-template: '- #$NUMBER: $TITLE @$AUTHOR'
change-template: "- #$NUMBER: $TITLE @$AUTHOR"
template: |
$CHANGES
replacers:
- search: ':warning:'
replace: ':warning: _Breaking change:_ :warning:'
- search: ":warning:"
replace: ":warning: _Breaking change:_ :warning:"

View File

@@ -1,3 +1,4 @@
---
name: Continuous Delivery
on:
@@ -5,35 +6,41 @@ on:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
jobs:
# The "Docker" job builds the Docker image and pushes it to the GitHub Container Registry. The job only runs when a
# commit is pushed to the main branch or a new tag is created.
# The "Docker" job builds the Docker image and pushes it to the GitHub
# Container Registry. The job only runs when a commit is pushed to the main
# branch or a new tag is created.
docker:
name: Docker
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
if:
github.ref == 'refs/heads/main' || (github.event_name == 'release' &&
github.event.action == 'published')
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set Docker Tag
id: tag
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo TAG=${GITHUB_REF:10} >> $GITHUB_ENV
else
echo TAG=main >> $GITHUB_ENV
fi
- name: Docker Metadata
id: metadata
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=semver,pattern={{raw}}
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
@@ -41,7 +48,7 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
username: ${{ github.repository_owner }}
@@ -50,26 +57,30 @@ jobs:
- name: Build and Push Docker Image
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
context: ./supabase/functions
file: ./supabase/functions/_cmd/Dockerfile
platforms: linux/amd64,linux/arm64/v8
tags: ghcr.io/${{ github.repository_owner }}/feeddeck:${{ env.TAG }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
# The "Supabase" job runs the database migrations and deploys all Supabase functions. The job only runs when a commit
# is pushed to the main branch or a new tag is created.
# The "Supabase" job runs the database migrations and deploys all Supabase
# functions. The job only runs when a commit is pushed to the main branch or
# a new tag is created.
supabase:
name: Supabase
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
if:
github.ref == 'refs/heads/main' || (github.event_name == 'release' &&
github.event.action == 'published')
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
@@ -87,19 +98,22 @@ jobs:
supabase db push
supabase functions deploy add-source-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy delete-user-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy generate-magic-link-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy profile-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy profile-v2 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-checkout-session-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy add-or-update-source-v1 --project-ref $PROJECT_ID
# supabase functions deploy add-source-v1 --project-ref $PROJECT_ID
supabase functions deploy delete-user-v1 --project-ref $PROJECT_ID
supabase functions deploy generate-magic-link-v1 --project-ref $PROJECT_ID
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref $PROJECT_ID
# supabase functions deploy profile-v1 --project-ref $PROJECT_ID
supabase functions deploy profile-v2 --project-ref $PROJECT_ID
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref $PROJECT_ID
supabase functions deploy stripe-create-checkout-session-v1 --project-ref $PROJECT_ID
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID
- name: Push Database Migration and Deploy Functions
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PROD_DB_PASSWORD }}
@@ -109,23 +123,30 @@ jobs:
supabase db push
supabase functions deploy add-source-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy delete-user-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy generate-magic-link-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy profile-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy profile-v2 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-checkout-session-v1 --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID --import-map supabase/functions/import_map.json
supabase functions deploy add-or-update-source-v1 --project-ref $PROJECT_ID
supabase functions deploy add-source-v1 --project-ref $PROJECT_ID
supabase functions deploy delete-user-v1 --project-ref $PROJECT_ID
supabase functions deploy generate-magic-link-v1 --project-ref $PROJECT_ID
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref $PROJECT_ID
supabase functions deploy profile-v1 --project-ref $PROJECT_ID
supabase functions deploy profile-v2 --project-ref $PROJECT_ID
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref $PROJECT_ID
supabase functions deploy stripe-create-checkout-session-v1 --project-ref $PROJECT_ID
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref $PROJECT_ID
# The "Web" job builds the Flutter web app and publishes it to Cloudflare Pages. The job only runs when a commit is
# pushed to the main branch or a new tag is created.
# The "Web" job builds the Flutter web app and publishes it to Cloudflare
# Pages. The job only runs on pull requests or when a commit is pushed to the
# main branch or a new tag is created.
#
# When the job runs on a pull request it only builds the app but doesn't
# upload the build to Cloudflare.
web:
name: Web
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
if:
github.event_name == 'pull_request' || github.ref == 'refs/heads/main' ||
(github.event_name == 'release' && github.event.action == 'published')
permissions:
contents: read
defaults:
@@ -134,7 +155,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
@@ -166,11 +187,12 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
@@ -183,6 +205,9 @@ jobs:
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
if:
github.ref == 'refs/heads/main' || (github.event_name == 'release' &&
github.event.action == 'published')
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -190,12 +215,15 @@ jobs:
directory: ./app/build/web
branch: main
# The "macOS" job builds the Flutter macOS app and uploads it to the GitHub release or the pull request. The job only
# runs for pull requests and when a new release is published.
# The "macOS" job builds the Flutter macOS app and uploads it to the GitHub
# release or the pull request. The job only runs for pull requests and when a
# new release is published.
macos:
name: macOS
runs-on: macos-latest
if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
runs-on: macos-14
if:
github.event_name == 'pull_request' || (github.event_name == 'release' &&
github.event.action == 'published')
permissions:
contents: write
defaults:
@@ -204,16 +232,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
@@ -222,6 +251,7 @@ jobs:
- name: Build
run: |
flutter config --enable-macos-desktop
flutter config --enable-swift-package-manager
FLUTTER_XCODE_CODE_SIGN_IDENTITY="" FLUTTER_XCODE_CODE_SIGNING_REQUIRED=NO flutter build macos --release --dart-define SUPABASE_URL=${{ secrets.SUPABASE_PROD_URL }} --dart-define SUPABASE_ANON_KEY=${{ secrets.SUPABASE_PROD_ANON_KEY }} --dart-define SUPABASE_SITE_URL=${{ secrets.SUPABASE_PROD_SITE_URL }} --dart-define GOOGLE_CLIENT_ID=${{ secrets.SUPABASE_PROD_GOOGLE_CLIENT_ID }}
- name: Package
@@ -230,7 +260,7 @@ jobs:
- name: Upload Artifacts (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: feeddeck-macos-universal.zip
path: app/build/macos/Build/Products/Release/feeddeck-macos-universal.zip
@@ -238,17 +268,22 @@ jobs:
- name: Upload Artifacts (Release)
uses: shogo82148/actions-upload-release-asset@v1
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/macos/Build/Products/Release/feeddeck-macos-universal.zip
# The "Linux" job builds the Flutter Linux app and uploads it to the GitHub release or the pull request. The job only
# runs for pull requests and when a new release is published.
linux:
name: Linux
# The "Linux (x86_64)" job builds the Flutter Linux app and uploads it to the
# GitHub release or the pull request. The job only runs for pull requests and
# when a new release is published.
linux-x86_64:
name: Linux (x86_64)
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
if:
github.event_name == 'pull_request' || (github.event_name == 'release' &&
github.event.action == 'published')
permissions:
contents: write
defaults:
@@ -257,25 +292,27 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install Packages
run: |
# Required for Flutter
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
# Required for Package "media_kit" which is used via "just_audio_media_kit" for Linux and Windows:
# Required for Package "media_kit" which is used via
# "just_audio_media_kit" for Linux and Windows:
# See: https://pub.dev/packages/media_kit and https://pub.dev/packages/just_audio_media_kit
sudo apt-get install -y libmpv-dev mpv
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
@@ -297,7 +334,7 @@ jobs:
- name: Upload Artifacts (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: feeddeck-linux-x86_64.tar.gz
path: app/build/feeddeck-linux-x86_64.tar.gz
@@ -305,17 +342,26 @@ jobs:
- name: Upload Artifacts (Release)
uses: shogo82148/actions-upload-release-asset@v1
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/feeddeck-linux-x86_64.tar.gz
# The "Windows" job builds the Flutter Windows app and uploads it to the GitHub release or the pull request. The job
# only runs for pull requests and when a new release is published.
windows:
name: Windows
runs-on: windows-latest
if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
# The "Linux (arm64)" job builds the Flutter Linux app and uploads it to the
# GitHub release or the pull request. The job only runs for pull requests and
# when a new release is published.
#
# NOTE: Normally this job should run for every pull request and when a new
# release is published, but since we have to pay for the
# "ubicloud-standard-2-arm" runner, we only run the job when a new release is
# published.
linux-arm64:
name: Linux (arm64)
runs-on: ubicloud-standard-2-arm
if: github.event_name == 'release' && github.event.action == 'published'
# if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
permissions:
contents: write
defaults:
@@ -324,16 +370,91 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install Packages
run: |
# Required for Flutter
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
# Required for Package "media_kit" which is used via
# "just_audio_media_kit" for Linux and Windows:
# See: https://pub.dev/packages/media_kit and https://pub.dev/packages/just_audio_media_kit
sudo apt-get install -y libmpv-dev mpv
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "master"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
flutter pub get
- name: Build
run: |
flutter config --enable-linux-desktop
flutter build linux --release --dart-define SUPABASE_URL=${{ secrets.SUPABASE_PROD_URL }} --dart-define SUPABASE_ANON_KEY=${{ secrets.SUPABASE_PROD_ANON_KEY }} --dart-define SUPABASE_SITE_URL=${{ secrets.SUPABASE_PROD_SITE_URL }} --dart-define GOOGLE_CLIENT_ID=${{ secrets.SUPABASE_PROD_GOOGLE_CLIENT_ID }}
- name: Package
run: |
cp linux/flatpak/app.feeddeck.feeddeck.desktop build/linux/arm64/release/bundle/
cp linux/flatpak/app.feeddeck.feeddeck.metainfo.xml build/linux/arm64/release/bundle/
cp linux/flatpak/app.feeddeck.feeddeck.svg build/linux/arm64/release/bundle/
cd build
cp -r linux/arm64/release/bundle/ feeddeck-linux-arm64
tar -czf feeddeck-linux-arm64.tar.gz feeddeck-linux-arm64
- name: Upload Artifacts (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v4
with:
name: feeddeck-linux-arm64.tar.gz
path: app/build/feeddeck-linux-arm64.tar.gz
if-no-files-found: error
- name: Upload Artifacts (Release)
uses: shogo82148/actions-upload-release-asset@v1
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/feeddeck-linux-arm64.tar.gz
# The "Windows" job builds the Flutter Windows app and uploads it to the
# GitHub release or the pull request. The job only runs for pull requests and
# when a new release is published.
windows:
name: Windows
runs-on: windows-latest
if:
github.event_name == 'pull_request' || (github.event_name == 'release' &&
github.event.action == 'published')
permissions:
contents: write
defaults:
run:
working-directory: "app"
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
@@ -343,50 +464,76 @@ jobs:
run: |
flutter config --enable-windows-desktop
flutter build windows --release --dart-define SUPABASE_URL=${{ secrets.SUPABASE_PROD_URL }} --dart-define SUPABASE_ANON_KEY=${{ secrets.SUPABASE_PROD_ANON_KEY }} --dart-define SUPABASE_SITE_URL=${{ secrets.SUPABASE_PROD_SITE_URL }} --dart-define GOOGLE_CLIENT_ID=${{ secrets.SUPABASE_PROD_GOOGLE_CLIENT_ID }}
- name: Create Archive
run: |
Compress-Archive -Path build/windows/x64/runner/Release/* -Destination feeddeck-windows-x86_64.zip
- name: Package
run: |
flutter pub run msix:create --output-path build --output-name feeddeck
cd build
7z a -tzip feeddeck-windows-x86_64.zip feeddeck.msix
7z a -tzip feeddeck-windows-x86_64-msix.zip feeddeck.msix
- name: Upload Artifacts (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: feeddeck-windows-x86_64.zip
path: app/build/feeddeck-windows-x86_64.zip
path: app/feeddeck-windows-x86_64.zip
if-no-files-found: error
- name: Upload Artifacts (Release)
uses: shogo82148/actions-upload-release-asset@v1
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/feeddeck-windows-x86_64.zip
asset_path: app/feeddeck-windows-x86_64.zip
# The "iOS" job builds the Flutter iOS app on every pull request. This is only used to test that the build of the iOS
# app works. The artifact of the build isn't uploaded / used.
- name: Upload Artifacts (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v4
with:
name: feeddeck-windows-x86_64-msix.zip
path: app/build/feeddeck-windows-x86_64-msix.zip
if-no-files-found: error
- name: Upload Artifacts (Release)
uses: shogo82148/actions-upload-release-asset@v1
if:
${{ github.event_name == 'release' && github.event.action ==
'published' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/feeddeck-windows-x86_64-msix.zip
# The "iOS" job builds the Flutter iOS app on every pull request. This is only
# used to test that the build of the iOS app works. The artifact of the build
# isn't uploaded / used.
ios:
name: iOS
runs-on: macos-latest
if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
runs-on: macos-14
if:
github.event_name == 'pull_request' || (github.event_name == 'release' &&
github.event.action == 'published')
defaults:
run:
working-directory: "app"
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
@@ -395,30 +542,38 @@ jobs:
- name: Build
run: |
flutter config --enable-ios
flutter config --enable-swift-package-manager
flutter build ipa --no-codesign --release --dart-define SUPABASE_URL=${{ secrets.SUPABASE_PROD_URL }} --dart-define SUPABASE_ANON_KEY=${{ secrets.SUPABASE_PROD_ANON_KEY }} --dart-define SUPABASE_SITE_URL=${{ secrets.SUPABASE_PROD_SITE_URL }} --dart-define GOOGLE_CLIENT_ID=${{ secrets.SUPABASE_PROD_GOOGLE_CLIENT_ID }}
# The "Android" job builds the Flutter Android app on every pull request. This is only used to test that the build of
# the Android app works. The artifact of the build isn't uploaded / used.
# The "Android" job builds the Flutter Android app on every pull request. This
# is only used to test that the build of the Android app works. The artifact
# of the build isn't uploaded / used.
android:
name: Android
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || (github.event_name == 'release' && github.event.action == 'published')
if:
github.event_name == 'pull_request' || (github.event_name == 'release' &&
github.event.action == 'published')
defaults:
run:
working-directory: "app"
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Java
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |

View File

@@ -0,0 +1,89 @@
---
name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
flutter:
name: Flutter
runs-on: ubuntu-latest
defaults:
run:
working-directory: "app"
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.32.7"
channel: "stable"
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path:
"${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Install Dependencies
run: |
flutter pub get
- name: Lint
run: |
dart analyze --fatal-infos
- name: Test
run: |
flutter test
deno:
name: Deno
runs-on: ubuntu-latest
env:
FEEDDECK_SUPABASE_URL: http://localhost:54321
FEEDDECK_SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
FEEDDECK_LOG_LEVEL: debug
FEEDDECK_SUPABASE_SERVICE_ROLE_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Supabase
uses: supabase/setup-cli@v1
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v1.45.2
- name: Start Supabase
run: |
echo "FEEDDECK_LOG_LEVEL=${FEEDDECK_LOG_LEVEL}" >> ./supabase/.env.test
echo "FEEDDECK_SUPABASE_URL=${FEEDDECK_SUPABASE_URL}" >> ./supabase/.env.test
echo "FEEDDECK_SUPABASE_ANON_KEY=${FEEDDECK_SUPABASE_ANON_KEY}" >> ./supabase/.env.test
echo "FEEDDECK_SUPABASE_SERVICE_ROLE_KEY=${FEEDDECK_SUPABASE_SERVICE_ROLE_KEY}" >> ./supabase/.env.test
supabase start
supabase db reset
supabase functions serve --no-verify-jwt --env-file supabase/.env.test &
psql postgresql://postgres:postgres@127.0.0.1:54322/postgres -c "UPDATE settings SET value='http://kong:8000' WHERE name='supabase_api_url'"
psql postgresql://postgres:postgres@127.0.0.1:54322/postgres -c "UPDATE settings SET value='${FEEDDECK_SUPABASE_SERVICE_ROLE_KEY}' WHERE name='supabase_service_role_key'"
- name: Lint
working-directory: "supabase/functions"
run: |
deno task lint
- name: Test
working-directory: "supabase/functions"
run: |
deno task test

View File

@@ -1,3 +1,4 @@
---
name: Release
on:
@@ -16,7 +17,7 @@ jobs:
steps:
- name: Update Changelog
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
with:
config-name: release.yaml
disable-autolabeler: true
@@ -37,17 +38,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: "20"
cache: npm
cache-dependency-path: landing/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Install Dependencies
run: |
@@ -58,7 +59,7 @@ jobs:
npm run build
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v4
with:
path: ./landing/out
@@ -78,4 +79,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

10
.gitignore vendored
View File

@@ -1,11 +1,11 @@
# Visual Studio Code Launch Configurations
.vscode/launch.json
# Neovim
.nvim.lua
# Visual Studio Code
.vscode
# Environment Variables
/supabase/.env.local
/supabase/.env.dev
/supabase/.env.stage
/supabase/.env.prod
# Deno
/coverage_deno

17
.vscode/settings.json vendored
View File

@@ -1,17 +0,0 @@
{
"deno.enable": true,
"deno.unstable": true,
"deno.lint": true,
"deno.enablePaths": [
"./supabase/functions"
],
"deno.importMap": "./supabase/functions/import_map.json",
"editor.formatOnSave": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
}
}

View File

@@ -57,16 +57,16 @@ check your installed version:
```sh
$ flutter --version
Flutter 3.16.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision db7ef5bf9f (9 days ago) • 2023-11-15 11:25:44 -0800
Engine • revision 74d16627b9
Tools • Dart 3.2.0 • DevTools 2.28.2
Flutter 3.29.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c236373904 (2 weeks ago) • 2025-03-13 16:17:06 -0400
Engine • revision 18b71d647a
Tools • Dart 3.7.2 • DevTools 2.42.3
$ deno --version
deno 1.36.4 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6
deno 1.40.2 (release, aarch64-apple-darwin)
v8 12.1.285.6
typescript 5.3.3
```
### Working with Flutter
@@ -79,131 +79,25 @@ required variables to the `flutter run` command:
./run.sh --device="chrome" --environment="local"
```
Alternative you can also run the project from Visual Studio Code or Neovim
with the following configuration files. Within the different configurations you
have to provide the following arguments:
`--dart-define SUPABASE_URL=<SUPABASE_URL>`,
`--dart-define SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>`,
`--dart-define SUPABASE_SITE_URL=<SUPABASE_SITE_URL>` and
`--dart-define GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>`.
To run the tests the following command can be used:
<details>
<summary>Visual Studio Code: `.vscode/launch.json`</summary>
```json
{
"version": "0.2.0",
"configurations": [
{
"name": "Local - Chrome",
"type": "dart",
"request": "launch",
"program": "app/lib/main.dart",
"args": [
"-d",
"chrome",
"--web-port",
"3000",
"--web-browser-flag=--disable-web-security",
"--dart-define",
"SUPABASE_URL=<SUPABASE_URL>",
"--dart-define",
"SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>",
"--dart-define",
"SUPABASE_SITE_URL=<SUPABASE_SITE_URL>",
"--dart-define",
"GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>"
]
},
{
"name": "Local - iOS Simulator",
"type": "dart",
"request": "launch",
"program": "app/lib/main.dart",
"args": [
"-d",
"iPhone 14 Pro Max",
"--dart-define",
"SUPABASE_URL=<SUPABASE_URL>",
"--dart-define",
"SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>",
"--dart-define",
"SUPABASE_SITE_URL=<SUPABASE_SITE_URL>",
"--dart-define",
"GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>"
]
},
{
"name": "Local - macOS",
"type": "dart",
"request": "launch",
"program": "app/lib/main.dart",
"args": [
"-d",
"macOS",
"--dart-define",
"SUPABASE_URL=<SUPABASE_URL>",
"--dart-define",
"SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>",
"--dart-define",
"SUPABASE_SITE_URL=<SUPABASE_SITE_URL>",
"--dart-define",
"GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>"
]
}
]
}
```sh
flutter test
```
</details>
To check the test coverage the `--coverage` flag can be added to the command and
an HTML report can be generated:
<details>
<summary>Neovim: `.nvim.lua`</summary>
```sh
flutter test --coverage
# To generate the HTML report lcov is required, which can be installed via Homebrew:
brew install lcov
```lua
require('flutter-tools').setup_project({
{
name = 'Local - Chrome',
flavor = 'debug',
target = 'lib/main.dart',
device = 'chrome',
dart_define = {
SUPABASE_URL = 'http://localhost:54321',
SUPABASE_ANON_KEY = '<SUPABASE_ANON_KEY'
SUPABASE_SITE_URL = '<SUPABASE_SITE_URL>',
GOOGLE_CLIENT_ID = '<GOOGLE_CLIENT_ID',
},
},
{
name = 'Local - iOS Simulator',
flavor = 'debug',
target = 'lib/main.dart',
device = 'iPhone 14 Pro Max',
dart_define = {
SUPABASE_URL = 'http://localhost:54321',
SUPABASE_ANON_KEY = '<SUPABASE_ANON_KEY'
SUPABASE_SITE_URL = '<SUPABASE_SITE_URL>',
GOOGLE_CLIENT_ID = '<GOOGLE_CLIENT_ID',
},
},
{
name = 'Local - Chrome',
flavor = 'debug',
target = 'lib/main.dart',
device = 'macOS',
dart_define = {
SUPABASE_URL = 'http://localhost:54321',
SUPABASE_ANON_KEY = '<SUPABASE_ANON_KEY'
SUPABASE_SITE_URL = '<SUPABASE_SITE_URL>',
GOOGLE_CLIENT_ID = '<GOOGLE_CLIENT_ID',
},
},
})
genhtml coverage/lcov.info -o coverage/html
open coverage/html/index.html
```
</details>
#### Sort all Imports
To sort all imports in the Dart code in a uniformly way you have to run the
@@ -336,6 +230,38 @@ cd supabase/functions/_cmd
docker-compose up --build
```
To build the Docker image, the following commands can be run:
```sh
docker build -f supabase/functions/_cmd/Dockerfile -t ghcr.io/feeddeck/feeddeck:latest supabase/functions
# To build the Docker image for another platform use the following:
docker buildx build --platform linux/amd64 -f supabase/functions/_cmd/Dockerfile -t ghcr.io/feeddeck/feeddeck:latest supabase/functions
# The Docker image can then be used to run the scheduler, worker or tools, e.g.
docker run ghcr.io/feeddeck/feeddeck:latest tools get-feed '{"type": "reddit", "options": {"reddit": "/r/kubernetes"}}'
```
To run the tests for our code, the following command can be used:
```sh
deno test --allow-env supabase/functions
```
To check the test coverage the `--coverage` flag can be added to the command and
an HTML report can be generated:
```sh
deno test --allow-env supabase/functions --coverage=coverage_deno
# To generate the HTML report lcov is required, which can be installed via Homebrew:
brew install lcov
deno coverage coverage_deno --lcov --output=coverage_deno/coverage_deno.lcov
genhtml -o coverage_deno/html coverage_deno/coverage_deno.lcov
open coverage_deno/html/index.html
```
## Hosting
FeedDeck uses Supabase as backend. For Supabase we can use
@@ -357,16 +283,17 @@ supabase secrets set --env-file supabase/.env
supabase secrets list
# Deploy all functions
supabase functions deploy add-source-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy delete-user-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy generate-magic-link-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy profile-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy profile-v2 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy stripe-create-checkout-session-v1 --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref <PROJECT-ID> --import-map supabase/functions/import_map.json
supabase functions deploy add-or-update-source-v1 --project-ref <PROJECT-ID>
supabase functions deploy add-source-v1 --project-ref <PROJECT-ID>
supabase functions deploy delete-user-v1 --project-ref <PROJECT-ID>
supabase functions deploy generate-magic-link-v1 --project-ref <PROJECT-ID>
supabase functions deploy image-proxy-v1 --no-verify-jwt --project-ref <PROJECT-ID>
supabase functions deploy profile-v1 --project-ref <PROJECT-ID>
supabase functions deploy profile-v2 --project-ref <PROJECT-ID>
supabase functions deploy revenuecat-webhooks-v1 --no-verify-jwt --project-ref <PROJECT-ID>
supabase functions deploy stripe-create-billing-portal-link-v1 --project-ref <PROJECT-ID>
supabase functions deploy stripe-create-checkout-session-v1 --project-ref <PROJECT-ID>
supabase functions deploy stripe-webhooks-v1 --no-verify-jwt --project-ref <PROJECT-ID>
```
Now we have to do some manual steps to finish the setup of our Supabase project:
@@ -458,21 +385,8 @@ Android, macOS, Windows and Linux if you do not want to use the official ones.
5. Build the app for Web by running `flutter build web`. The build can be found
at `app/build/web` and must be uploaded to your hosting provider.
6. Build the app for Linux by running `flutter build linux --release`. To build
the `arm64` version the following commands can be run on a Raspberry Pi. Once
the `feeddeck-linux-arm64.tar.gz` archive was created it can be uploaded to
the GitHub release.
```sh
cp linux/flatpak/app.feeddeck.feeddeck.desktop build/linux/arm64/release/bundle/
cp linux/flatpak/app.feeddeck.feeddeck.metainfo.xml build/linux/arm64/release/bundle/
cp linux/flatpak/app.feeddeck.feeddeck.svg build/linux/arm64/release/bundle/
cd build
cp -r linux/arm64/release/bundle/ feeddeck-linux-arm64
tar -czf feeddeck-linux-arm64.tar.gz feeddeck-linux-arm64
```
Update the `app.feeddeck.feeddeck.yml` file at
6. Build the app for Linux by running `flutter build linux --release`. Update
the `app.feeddeck.feeddeck.yml` file at
[github.com/flathub/app.feeddeck.feeddeck](https://github.com/flathub/app.feeddeck.feeddeck)
with the new release.

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 Rico Berger
Copyright (c) 2026 Rico Berger
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

View File

@@ -1,22 +1,25 @@
<div align="center">
<img src=".github/assets/icon.png" width="200" />
<br><br>
<img src=".github/assets/icon.png" width="200" />
<br><br>
**FeedDeck** is an open source RSS and social media feed reader, inspired by
TweetDeck. FeedDeck allows you to follow your favorite feeds in one place on all
platforms.
<p>
<a href="https://apps.apple.com/us/app/feeddeck/id6451055362" target="_blank"><img src=".github/assets/badge-app-store.svg" height="50"></a>
<a href="https://play.google.com/store/apps/details?id=app.feeddeck.feeddeck" target="_blank"><img src=".github/assets/badge-google-play.svg" height="50"></a>
<a href="https://app.feeddeck.app" target="_blank"><img src=".github/assets/badge-web.svg" height="50"></a>
<a href="https://apps.apple.com/us/app/feeddeck/id6451055362" target="_blank"><img src=".github/assets/badge-mac-app-store.svg" height="50"></a>
<a href="https://www.microsoft.com/store/apps/9NPHPGRRCT5H" target="_blank"><img src=".github/assets/badge-windows-store.svg" height="50"></a>
<a href="https://flathub.org/en/apps/app.feeddeck.feeddeck" target="_blank"><img src=".github/assets/badge-flathub.svg" height="50"></a>
</div>
<p align="center">
<a href="https://apps.apple.com/us/app/feeddeck/id6451055362" target="_blank"><img src=".github/assets/badge-app-store.png" height="50"></a>
<a href="https://play.google.com/store/apps/details?id=app.feeddeck.feeddeck" target="_blank"><img src=".github/assets/badge-google-play.png" height="50"></a>
<a href="https://app.feeddeck.app" target="_blank"><img src=".github/assets/badge-web.png" height="50"></a>
<a href="https://apps.apple.com/us/app/feeddeck/id6451055362" target="_blank"><img src=".github/assets/badge-mac-app-store.png" height="50"></a>
<a href="https://www.microsoft.com/store/apps/9NPHPGRRCT5H" target="_blank"><img src=".github/assets/badge-windows-store.png" height="50"></a>
<a href="https://flathub.org/en/apps/app.feeddeck.feeddeck" target="_blank"><img src=".github/assets/badge-flathub.png" height="50"></a>
</p>
<img src=".github/assets/screenshot.png" width="100%" />
<br><br>
<div align="center">
<img src=".github/assets/screenshot.png" width="100%" />
<br><br>
</div>
**FeedDeck** is an open source RSS and social media feed reader, inspired by
@@ -31,8 +34,8 @@ platforms. FeedDeck is written in [Flutter](https://flutter.dev/) and uses
- **RSS and Social Media Feeds:** Follow your favorite RSS and social media
feeds.
- **News:** Get the latest news from your favorite RSS feeds and Google News.
- **Social Media:** Follow your friends and favorite topics on Medium, Nitter,
Reddit, Tumblr and X.
- **Social Media:** Follow your friends and favorite topics on Medium, Reddit
and Tumblr.
- **GitHub:** Get your GitHub notifications and follow your repository
activities.
- **Podcasts:** Follow and listen to your favorite podcasts, via the built-in

8
app/.dockerignore Normal file
View File

@@ -0,0 +1,8 @@
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
/coverage

3
app/.gitignore vendored
View File

@@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/
# IntelliJ related
@@ -31,6 +33,7 @@ migrate_working_dir/
.pub-cache/
.pub/
/build/
/coverage
# Symbolication related
app.*.symbols

14
app/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM ghcr.io/cirruslabs/flutter:3.29.3 AS build
ARG SUPABASE_URL
ARG SUPABASE_ANON_KEY
ARG SUPABASE_SITE_URL
ARG GOOGLE_CLIENT_ID
RUN mkdir /app/
COPY . /app/
WORKDIR /app/
RUN flutter build web --release --dart-define SUPABASE_URL=${SUPABASE_URL} --dart-define SUPABASE_ANON_KEY=${SUPABASE_ANON_KEY} --dart-define SUPABASE_SITE_URL=${SUPABASE_SITE_URL} --dart-define GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
FROM nginx:1.26.3
COPY --from=build /app/build/web /usr/share/nginx/html

View File

@@ -5,6 +5,7 @@ gradle-wrapper.jar
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
.cxx/
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app

View File

@@ -1,91 +0,0 @@
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
applicationId "app.feeddeck.feeddeck"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion
minSdkVersion 21
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
if (project.hasProperty("keyStoreFile")) {
signingConfig signingConfigs.release
} else {
// For testing purposes we sign with dummy credentials if no key properties are given.
signingConfig signingConfigs.debug
}
}
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.android.gms:play-services-auth:20.6.0'
}

View File

@@ -0,0 +1,73 @@
import java.util.Properties
import java.io.FileInputStream
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}
val keystoreProperties = Properties()
val keystorePropertiesFile = rootProject.file("key.properties")
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
}
android {
namespace = "app.feeddeck.feeddeck"
compileSdk = flutter.compileSdkVersion
// Use 27.0.12077973 as NDK version instead of the default which is defined in ~/flutter/packages/flutter_tools/gradle/src/main/kotlin/FlutterExtension.kt
// ndkVersion = flutter.ndkVersion
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
defaultConfig {
// Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "app.feeddeck.feeddeck"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdk = 21
targetSdk = 35
versionCode = flutter.versionCode
versionName = flutter.versionName
}
signingConfigs {
create("release") {
if (keystorePropertiesFile.exists()) {
keyAlias = keystoreProperties["keyAlias"] as String
keyPassword = keystoreProperties["keyPassword"] as String
storeFile = keystoreProperties["storeFile"]?.let { file(it) }
storePassword = keystoreProperties["storePassword"] as String
}
}
}
buildTypes {
release {
if (keystorePropertiesFile.exists()) {
signingConfig = signingConfigs.getByName("release")
}
}
}
}
flutter {
source = "../.."
}
dependencies {
implementation("com.google.android.gms:play-services-auth:20.6.0")
// This is required for the "file_picker" Flutter package, because without the app crash when exporting a file with the following error:
// "java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/xml/stream/XMLResolver;"
implementation("javax.xml.stream:stax-api:1.0-2")
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -5,6 +5,10 @@
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your

View File

@@ -1,31 +0,0 @@
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

View File

@@ -0,0 +1,21 @@
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}

View File

@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true

View File

@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip

View File

@@ -1,11 +0,0 @@
include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

View File

@@ -0,0 +1,25 @@
pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.3" apply false
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
}
include(":app")

Binary file not shown.

View File

@@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>

View File

@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
platform :ios, '13.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -27,6 +27,9 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
flutter_ios_podfile_setup
Pod::PICKER_MEDIA = false
Pod::PICKER_AUDIO = false
target 'Runner' do
use_frameworks!
use_modular_headers!

View File

@@ -1,149 +1,64 @@
PODS:
- app_links (0.0.1):
- Flutter
- audio_service (0.0.1):
- Flutter
- audio_session (0.0.1):
- Flutter
- Flutter (1.0.0)
- flutter_native_splash (0.0.1):
- Flutter
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- just_audio (0.0.1):
- Flutter
- media_kit_libs_ios_video (1.0.4):
- Flutter
- media_kit_native_event_loop (1.0.0):
- Flutter
- media_kit_video (0.0.1):
- Flutter
- package_info_plus (0.4.5):
- purchases_flutter (9.1.0):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- purchases_flutter (6.4.0):
- Flutter
- PurchasesHybridCommon (= 8.0.0)
- PurchasesHybridCommon (8.0.0):
- RevenueCat (= 4.30.5)
- RevenueCat (4.30.5)
- screen_brightness_ios (0.1.0):
- Flutter
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- PurchasesHybridCommon (= 16.0.2)
- PurchasesHybridCommon (16.0.2):
- RevenueCat (= 5.33.1)
- RevenueCat (5.33.1)
- sign_in_with_apple (0.0.1):
- Flutter
- sqflite (0.0.3):
- Flutter
- FMDB (>= 2.7.5)
- url_launcher_ios (0.0.1):
- Flutter
- volume_controller (0.0.1):
- Flutter
- FlutterMacOS
- wakelock_plus (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
- Flutter
DEPENDENCIES:
- app_links (from `.symlinks/plugins/app_links/ios`)
- audio_service (from `.symlinks/plugins/audio_service/ios`)
- audio_session (from `.symlinks/plugins/audio_session/ios`)
- Flutter (from `Flutter`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- just_audio (from `.symlinks/plugins/just_audio/ios`)
- media_kit_libs_ios_video (from `.symlinks/plugins/media_kit_libs_ios_video/ios`)
- media_kit_native_event_loop (from `.symlinks/plugins/media_kit_native_event_loop/ios`)
- media_kit_video (from `.symlinks/plugins/media_kit_video/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- purchases_flutter (from `.symlinks/plugins/purchases_flutter/ios`)
- screen_brightness_ios (from `.symlinks/plugins/screen_brightness_ios/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- volume_controller (from `.symlinks/plugins/volume_controller/ios`)
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
SPEC REPOS:
trunk:
- FMDB
- PurchasesHybridCommon
- RevenueCat
EXTERNAL SOURCES:
app_links:
:path: ".symlinks/plugins/app_links/ios"
audio_service:
:path: ".symlinks/plugins/audio_service/ios"
audio_session:
:path: ".symlinks/plugins/audio_session/ios"
Flutter:
:path: Flutter
flutter_native_splash:
:path: ".symlinks/plugins/flutter_native_splash/ios"
just_audio:
:path: ".symlinks/plugins/just_audio/ios"
media_kit_libs_ios_video:
:path: ".symlinks/plugins/media_kit_libs_ios_video/ios"
media_kit_native_event_loop:
:path: ".symlinks/plugins/media_kit_native_event_loop/ios"
media_kit_video:
:path: ".symlinks/plugins/media_kit_video/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
purchases_flutter:
:path: ".symlinks/plugins/purchases_flutter/ios"
screen_brightness_ios:
:path: ".symlinks/plugins/screen_brightness_ios/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sign_in_with_apple:
:path: ".symlinks/plugins/sign_in_with_apple/ios"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
volume_controller:
:path: ".symlinks/plugins/volume_controller/ios"
:path: ".symlinks/plugins/sqflite/darwin"
wakelock_plus:
:path: ".symlinks/plugins/wakelock_plus/ios"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
SPEC CHECKSUMS:
app_links: 5ef33d0d295a89d9d16bb81b0e3b0d5f70d6c875
audio_service: f509d65da41b9521a61f1c404dd58651f265a567
audio_session: 4f3e461722055d21515cf3261b64c973c062f345
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
just_audio: baa7252489dbcf47a4c7cc9ca663e9661c99aafa
media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1
media_kit_native_event_loop: e6b2ab20cf0746eb1c33be961fcf79667304fa2a
media_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
purchases_flutter: a428f3e8ac54dfb499ff190efa99d6701094bc32
PurchasesHybridCommon: 80262c5ffe6621e3cf3812e6103170f6d7fbcb79
RevenueCat: c1e33f4e1f1fd239ba461652f02928e220becc31
screen_brightness_ios: 715ca807df953bf676d339f11464e438143ee625
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
volume_controller: 531ddf792994285c9b17f9d8a7e4dcdd29b3eae9
wakelock_plus: 8b09852c8876491e4b6d179e17dfe2a0b5f60d47
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
media_kit_libs_ios_video: 5a18affdb97d1f5d466dc79988b13eff6c5e2854
media_kit_video: 1746e198cb697d1ffb734b1d05ec429d1fcd1474
purchases_flutter: 818eabac676b9037ac7692d4bc48a52a10b276be
PurchasesHybridCommon: ae7a0a6e105ecdde3e8816a004e57f0a2a7b9261
RevenueCat: b0ed01125b05a45b8264a2951ad68acb61942038
sign_in_with_apple: c5dcc141574c8c54d5ac99dd2163c0c72ad22418
sqflite: c35dad70033b8862124f8337cc994a809fcd9fa3
wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03
PODFILE CHECKSUM: ec83c31511fbc978a9918c6fda235238118483f5
PODFILE CHECKSUM: a35dde46ea09af570b675187a949f5fa3bc82280
COCOAPODS: 1.14.2
COCOAPODS: 1.16.2

View File

@@ -15,6 +15,7 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -57,6 +58,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
11A5CB70E48EE53811F041B1 /* Pods_Runner.framework in Frameworks */,
55F35B592ABF74D1007331B3 /* StoreKit.framework in Frameworks */,
);
@@ -134,6 +136,9 @@
/* Begin PBXNativeTarget section */
97C146ED1CF9000F007C117D /* Runner */ = {
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
@@ -159,9 +164,12 @@
/* Begin PBXProject section */
97C146E61CF9000F007C117D /* Project object */ = {
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
);
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
@@ -348,7 +356,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -428,7 +436,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -477,7 +485,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -561,6 +569,18 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCLocalSwiftPackageReference section */
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
};
/* End XCLocalSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
isa = XCSwiftPackageProductDependency;
productName = FlutterGeneratedPluginSwiftPackage;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}

View File

@@ -0,0 +1,60 @@
{
"originHash" : "34b4b4fd64d12b3f877c43c5c1afbd609747cf0fa590d3e8fb35fc7cd91a1fa3",
"pins" : [
{
"identity" : "dkcamera",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKCamera",
"state" : {
"branch" : "master",
"revision" : "5c691d11014b910aff69f960475d70e65d9dcc96"
}
},
{
"identity" : "dkimagepickercontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKImagePickerController",
"state" : {
"branch" : "4.3.9",
"revision" : "0bdfeacefa308545adde07bef86e349186335915"
}
},
{
"identity" : "dkphotogallery",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKPhotoGallery",
"state" : {
"branch" : "master",
"revision" : "311c1bc7a94f1538f82773a79c84374b12a2ef3d"
}
},
{
"identity" : "sdwebimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "b62cb63bf4ed1f04c961a56c9c6c9d5ab8524ec6",
"version" : "5.21.1"
}
},
{
"identity" : "swiftygif",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kirualex/SwiftyGif.git",
"state" : {
"revision" : "4430cbc148baa3907651d40562d96325426f409a",
"version" : "5.4.5"
}
},
{
"identity" : "tocropviewcontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/TimOliver/TOCropViewController",
"state" : {
"revision" : "a634cb7cdfd580006e79a6e74e64417fe9e9783b",
"version" : "2.7.4"
}
}
],
"version" : 3
}

View File

@@ -1,10 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Prepare Flutter Framework Script"
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
@@ -26,6 +44,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
@@ -43,11 +62,13 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">

View File

@@ -0,0 +1,60 @@
{
"originHash" : "34b4b4fd64d12b3f877c43c5c1afbd609747cf0fa590d3e8fb35fc7cd91a1fa3",
"pins" : [
{
"identity" : "dkcamera",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKCamera",
"state" : {
"branch" : "master",
"revision" : "5c691d11014b910aff69f960475d70e65d9dcc96"
}
},
{
"identity" : "dkimagepickercontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKImagePickerController",
"state" : {
"branch" : "4.3.9",
"revision" : "0bdfeacefa308545adde07bef86e349186335915"
}
},
{
"identity" : "dkphotogallery",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKPhotoGallery",
"state" : {
"branch" : "master",
"revision" : "311c1bc7a94f1538f82773a79c84374b12a2ef3d"
}
},
{
"identity" : "sdwebimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "b62cb63bf4ed1f04c961a56c9c6c9d5ab8524ec6",
"version" : "5.21.1"
}
},
{
"identity" : "swiftygif",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kirualex/SwiftyGif.git",
"state" : {
"revision" : "4430cbc148baa3907651d40562d96325426f409a",
"version" : "5.4.5"
}
},
{
"identity" : "tocropviewcontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/TimOliver/TOCropViewController",
"state" : {
"revision" : "a634cb7cdfd580006e79a6e74e64417fe9e9783b",
"version" : "2.7.4"
}
}
],
"version" : 3
}

View File

@@ -1,7 +1,7 @@
import UIKit
import Flutter
@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,73 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>FeedDeck</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>feeddeck</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>app.feeddeck.feeddeck</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>FeedDeck</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>feeddeck</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>app.feeddeck.feeddeck</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UISupportsDocumentBrowser</key>
<true/>
</dict>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIStatusBarHidden</key>
<false/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

View File

@@ -18,6 +18,7 @@ import 'package:feeddeck/repositories/settings_repository.dart';
import 'package:feeddeck/utils/constants.dart';
import 'package:feeddeck/widgets/confirmation/confirmation.dart';
import 'package:feeddeck/widgets/home/home.dart';
import 'package:feeddeck/widgets/item/details/utils/item_audio_palyer/item_audio_player_init/item_audio_player_init.dart';
import 'package:feeddeck/widgets/reset_password/reset_password.dart';
/// Before we are calling [runApp] we have to ensure that the widget bindings
@@ -50,6 +51,9 @@ void main() async {
/// Initialize the [media_kit] packages, so that we can play audio and video
/// files.
MediaKit.ensureInitialized();
if (!kIsWeb && (Platform.isLinux || Platform.isWindows)) {
ItemAudioPlayerInit().init();
}
/// Initialize the [just_audio_background] package, so that we can play audio
/// files in the background.
@@ -57,7 +61,7 @@ void main() async {
/// We can not initialize the [just_audio_background] package on Windows and
/// Linux, because then the returned duration in the `_player.durationStream`
/// isn't working correctly in the [ItemAudioPlayer] widget.
if (kIsWeb || Platform.isAndroid || Platform.isIOS || Platform.isIOS) {
if (kIsWeb || Platform.isAndroid || Platform.isIOS || Platform.isMacOS) {
await JustAudioBackground.init(
androidNotificationChannelId: 'com.ryanheise.bg_demo.channel.audio',
androidNotificationChannelName: 'Audio playback',
@@ -87,12 +91,12 @@ void main() async {
class FeedDeckScrollBehavior extends MaterialScrollBehavior {
@override
Set<PointerDeviceKind> get dragDevices => {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
PointerDeviceKind.trackpad,
PointerDeviceKind.stylus,
PointerDeviceKind.unknown,
};
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
PointerDeviceKind.trackpad,
PointerDeviceKind.stylus,
PointerDeviceKind.unknown,
};
}
/// [onGenerateRoute] is used in `onGenerateRoute` and `onGenerateInitialRoutes`
@@ -115,15 +119,11 @@ Route onGenerateRoute(RouteSettings settings) {
),
);
case '/reset-password':
return MaterialPageRoute(
builder: (_) => const ResetPassword(),
);
return MaterialPageRoute(builder: (_) => const ResetPassword());
}
}
return MaterialPageRoute(
builder: (_) => const Home(),
);
return MaterialPageRoute(builder: (_) => const Home());
}
/// The [FeedDeckApp] is the root widget of the app. The widget is used to
@@ -155,8 +155,6 @@ class FeedDeckApp extends StatelessWidget {
onSecondary: Constants.onSecondary,
error: Constants.error,
onError: Constants.onError,
background: Constants.background,
onBackground: Constants.onBackground,
surface: Constants.surface,
onSurface: Constants.onSurface,
),
@@ -168,32 +166,26 @@ class FeedDeckApp extends StatelessWidget {
elevation: Constants.appBarElevation,
),
snackBarTheme: const SnackBarThemeData(
backgroundColor: Constants.surface,
contentTextStyle: TextStyle(
color: Constants.onSurface,
),
backgroundColor: Constants.secondary,
contentTextStyle: TextStyle(color: Constants.onSurface),
),
dialogTheme: const DialogTheme(
backgroundColor: Constants.background,
surfaceTintColor: Constants.background,
contentTextStyle: TextStyle(
color: Constants.onBackground,
),
dialogTheme: const DialogThemeData(
backgroundColor: Constants.surface,
surfaceTintColor: Constants.surface,
contentTextStyle: TextStyle(color: Constants.onSurface),
),
popupMenuTheme: const PopupMenuThemeData(
color: Constants.background,
surfaceTintColor: Constants.background,
textStyle: TextStyle(
color: Constants.onBackground,
),
color: Constants.surface,
surfaceTintColor: Constants.surface,
textStyle: TextStyle(color: Constants.onSurface),
),
drawerTheme: const DrawerThemeData(
backgroundColor: Constants.background,
surfaceTintColor: Constants.background,
backgroundColor: Constants.surface,
surfaceTintColor: Constants.surface,
),
bottomSheetTheme: const BottomSheetThemeData(
backgroundColor: Constants.background,
surfaceTintColor: Constants.background,
backgroundColor: Constants.surface,
surfaceTintColor: Constants.surface,
),
pageTransitionsTheme: const PageTransitionsTheme(
builders: {
@@ -206,8 +198,9 @@ class FeedDeckApp extends StatelessWidget {
),
),
scrollBehavior: FeedDeckScrollBehavior(),
onGenerateInitialRoutes: (initialRoute) =>
[onGenerateRoute(RouteSettings(name: initialRoute))],
onGenerateInitialRoutes: (initialRoute) => [
onGenerateRoute(RouteSettings(name: initialRoute)),
],
onGenerateRoute: (RouteSettings settings) =>
onGenerateRoute(settings),
),

View File

@@ -1,3 +1,5 @@
import 'package:xml/xml.dart';
import 'package:feeddeck/models/source.dart';
/// [FDColumn] is the model for a column in our app. The following fields are
@@ -26,11 +28,12 @@ class FDColumn {
id: data['id'],
name: data['name'],
position: data['position'],
sources: data.containsKey('sources') && data['sources'] != null
? List<FDSource>.from(
data['sources'].map((source) => FDSource.fromJson(source)),
)
: [],
sources:
data.containsKey('sources') && data['sources'] != null
? List<FDSource>.from(
data['sources'].map((source) => FDSource.fromJson(source)),
)
: [],
);
}
@@ -40,4 +43,34 @@ class FDColumn {
String identifier() {
return 'id: $id, sources: ${sources.map((source) => source.id).join(' ')}';
}
factory FDColumn.fromXml(XmlElement element) {
final sources = <FDSource>[];
element.findElements('outline').forEach((outline) {
final source = FDSource.fromXml(outline);
if (source.type != FDSourceType.none) {
sources.add(source);
}
});
return FDColumn(
id: '',
name: element.getAttribute('text') ?? 'Unknown',
position: 0,
sources: sources,
);
}
void toXml(XmlBuilder builder) {
builder.element(
'outline',
nest: () {
builder.attribute('text', name);
for (var i = 0; i < sources.length; i++) {
sources[i].toXml(builder);
}
},
);
}
}

View File

@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'package:xml/xml.dart';
import 'package:feeddeck/models/sources/github.dart';
import 'package:feeddeck/models/sources/googlenews.dart';
import 'package:feeddeck/models/sources/stackoverflow.dart';
@@ -8,8 +10,10 @@ import 'package:feeddeck/utils/fd_icons.dart';
/// [FDSourceType] is a enum value which defines the source type. A source can
/// have one of the following types:
/// - [fourchan]
/// - [github]
/// - [googlenews]
/// - [lemmy]
/// - [mastodon]
/// - [medium]
/// - [nitter]
@@ -19,7 +23,6 @@ import 'package:feeddeck/utils/fd_icons.dart';
/// - [rss]
/// - [stackoverflow]
/// - [tumblr]
/// - [x]
/// - [youtube]
///
/// The [none] value is not valid and just here as a fallback in case sth. odd
@@ -27,8 +30,10 @@ import 'package:feeddeck/utils/fd_icons.dart';
/// the list, so that we can loop though the types in a ListView / GridView
/// builder via `FDSourceType.values.length - 1`.
enum FDSourceType {
fourchan,
github,
googlenews,
lemmy,
mastodon,
medium,
nitter,
@@ -38,7 +43,6 @@ enum FDSourceType {
rss,
stackoverflow,
tumblr,
// x,
youtube,
none,
}
@@ -55,10 +59,14 @@ extension FDSourceTypeExtension on FDSourceType {
/// [toLocalizedString] returns a localized string for a source type.
String toLocalizedString() {
switch (this) {
case FDSourceType.fourchan:
return '4chan';
case FDSourceType.github:
return 'GitHub';
case FDSourceType.googlenews:
return 'Google News';
case FDSourceType.lemmy:
return 'Lemmy';
case FDSourceType.mastodon:
return 'Mastodon';
case FDSourceType.medium:
@@ -77,8 +85,6 @@ extension FDSourceTypeExtension on FDSourceType {
return 'StackOverflow';
case FDSourceType.tumblr:
return 'Tumblr';
// case FDSourceType.x:
// return 'X';
case FDSourceType.youtube:
return 'YouTube';
default:
@@ -89,10 +95,14 @@ extension FDSourceTypeExtension on FDSourceType {
/// [icon] returns the icon for a source.
IconData get icon {
switch (this) {
case FDSourceType.fourchan:
return FDIcons.fourchan;
case FDSourceType.github:
return FDIcons.github;
case FDSourceType.googlenews:
return FDIcons.googlenews;
case FDSourceType.lemmy:
return FDIcons.lemmy;
case FDSourceType.mastodon:
return FDIcons.mastodon;
case FDSourceType.medium:
@@ -111,8 +121,6 @@ extension FDSourceTypeExtension on FDSourceType {
return FDIcons.stackoverflow;
case FDSourceType.tumblr:
return FDIcons.tumblr;
// case FDSourceType.x:
// return FDIcons.x;
case FDSourceType.youtube:
return FDIcons.youtube;
default:
@@ -123,10 +131,14 @@ extension FDSourceTypeExtension on FDSourceType {
/// [bgColor] returns the background color for the source icon.
Color get bgColor {
switch (this) {
case FDSourceType.fourchan:
return const Color(0xff880000);
case FDSourceType.github:
return const Color(0xff000000);
case FDSourceType.googlenews:
return const Color(0xff4285f4);
case FDSourceType.lemmy:
return const Color(0xff00bc8c);
case FDSourceType.mastodon:
return const Color(0xff6364ff);
case FDSourceType.medium:
@@ -145,8 +157,6 @@ extension FDSourceTypeExtension on FDSourceType {
return const Color(0xffef8236);
case FDSourceType.tumblr:
return const Color(0xff34526f);
// case FDSourceType.x:
// return const Color(0xff000000);
case FDSourceType.youtube:
return const Color(0xffff0000);
default:
@@ -158,10 +168,14 @@ extension FDSourceTypeExtension on FDSourceType {
/// used toether with the [bgColor].
Color get fgColor {
switch (this) {
case FDSourceType.fourchan:
return const Color(0xffffffff);
case FDSourceType.github:
return const Color(0xffffffff);
case FDSourceType.googlenews:
return const Color(0xffffffff);
case FDSourceType.lemmy:
return const Color(0xffffffff);
case FDSourceType.mastodon:
return const Color(0xffffffff);
case FDSourceType.medium:
@@ -180,8 +194,6 @@ extension FDSourceTypeExtension on FDSourceType {
return const Color(0xffffffff);
case FDSourceType.tumblr:
return const Color(0xffffffff);
// case FDSourceType.x:
// return const Color(0xffffffff);
case FDSourceType.youtube:
return const Color(0xffffffff);
default:
@@ -226,20 +238,25 @@ class FDSource {
required this.icon,
});
String get prettyTitle => title.replaceAll(RegExp(r'(?! )\s+| \s+'), ' ');
factory FDSource.fromJson(Map<String, dynamic> data) {
return FDSource(
id: data['id'],
type: getSourceTypeFromString(data['type']),
title: data['title'],
options: data.containsKey('options') && data['options'] != null
? FDSourceOptions.fromJson(data['options'])
: null,
link: data.containsKey('link') && data['link'] != null
? data['link']
: null,
icon: data.containsKey('icon') && data['icon'] != null
? data['icon']
: null,
options:
data.containsKey('options') && data['options'] != null
? FDSourceOptions.fromJson(data['options'])
: null,
link:
data.containsKey('link') && data['link'] != null
? data['link']
: null,
icon:
data.containsKey('icon') && data['icon'] != null
? data['icon']
: null,
);
}
@@ -253,13 +270,55 @@ class FDSource {
'icon': icon,
};
}
factory FDSource.fromXml(XmlElement element) {
final type = getSourceTypeFromString(element.getAttribute('type') ?? '');
final text = element.getAttribute('text');
if (type == FDSourceType.none || text == null) {
return FDSource(
id: '',
type: FDSourceType.none,
title: '',
options: null,
link: null,
icon: null,
);
}
return FDSource(
id: '',
type: type,
title: text,
options: FDSourceOptions.fromXml(element),
link: null,
icon: null,
);
}
void toXml(XmlBuilder builder) {
builder.element(
'outline',
nest: () {
builder.attribute('type', type.toShortString());
builder.attribute('text', prettyTitle);
builder.attribute('htmlUrl', link);
if (options != null) {
options!.toXml(builder);
}
},
);
}
}
/// [FDSourceOptions] defines all options for the different source types which
/// are available.
class FDSourceOptions {
String? fourchan;
FDGitHubOptions? github;
FDGoogleNewsOptions? googlenews;
String? lemmy;
String? mastodon;
String? medium;
String? nitter;
@@ -269,12 +328,13 @@ class FDSourceOptions {
String? rss;
FDStackOverflowOptions? stackoverflow;
String? tumblr;
String? x;
String? youtube;
FDSourceOptions({
this.fourchan,
this.github,
this.googlenews,
this.lemmy,
this.mastodon,
this.medium,
this.nitter,
@@ -284,24 +344,34 @@ class FDSourceOptions {
this.rss,
this.stackoverflow,
this.tumblr,
this.x,
this.youtube,
});
factory FDSourceOptions.fromJson(Map<String, dynamic> responseData) {
return FDSourceOptions(
fourchan:
responseData.containsKey('fourchan') &&
responseData['fourchan'] != null
? responseData['fourchan']
: null,
github:
responseData.containsKey('github') && responseData['github'] != null
? FDGitHubOptions.fromJson(responseData['github'])
: null,
googlenews: responseData.containsKey('googlenews') &&
responseData['googlenews'] != null
? FDGoogleNewsOptions.fromJson(responseData['googlenews'])
: null,
mastodon: responseData.containsKey('mastodon') &&
responseData['mastodon'] != null
? responseData['mastodon']
: null,
googlenews:
responseData.containsKey('googlenews') &&
responseData['googlenews'] != null
? FDGoogleNewsOptions.fromJson(responseData['googlenews'])
: null,
lemmy:
responseData.containsKey('lemmy') && responseData['lemmy'] != null
? responseData['lemmy']
: null,
mastodon:
responseData.containsKey('mastodon') &&
responseData['mastodon'] != null
? responseData['mastodon']
: null,
medium:
responseData.containsKey('medium') && responseData['medium'] != null
? responseData['medium']
@@ -310,10 +380,11 @@ class FDSourceOptions {
responseData.containsKey('nitter') && responseData['nitter'] != null
? responseData['nitter']
: null,
pinterest: responseData.containsKey('pinterest') &&
responseData['pinterest'] != null
? responseData['pinterest']
: null,
pinterest:
responseData.containsKey('pinterest') &&
responseData['pinterest'] != null
? responseData['pinterest']
: null,
podcast:
responseData.containsKey('podcast') && responseData['podcast'] != null
? responseData['podcast']
@@ -322,20 +393,19 @@ class FDSourceOptions {
responseData.containsKey('reddit') && responseData['reddit'] != null
? responseData['reddit']
: null,
rss: responseData.containsKey('rss') && responseData['rss'] != null
? responseData['rss']
: null,
stackoverflow: responseData.containsKey('stackoverflow') &&
responseData['stackoverflow'] != null
? FDStackOverflowOptions.fromJson(responseData['stackoverflow'])
: null,
rss:
responseData.containsKey('rss') && responseData['rss'] != null
? responseData['rss']
: null,
stackoverflow:
responseData.containsKey('stackoverflow') &&
responseData['stackoverflow'] != null
? FDStackOverflowOptions.fromJson(responseData['stackoverflow'])
: null,
tumblr:
responseData.containsKey('tumblr') && responseData['tumblr'] != null
? responseData['tumblr']
: null,
x: responseData.containsKey('x') && responseData['x'] != null
? responseData['x']
: null,
youtube:
responseData.containsKey('youtube') && responseData['youtube'] != null
? responseData['youtube']
@@ -345,8 +415,10 @@ class FDSourceOptions {
Map<String, dynamic> toJson() {
return {
'fourchan': fourchan,
'github': github?.toJson(),
'googlenews': googlenews?.toJson(),
'lemmy': lemmy,
'mastodon': mastodon,
'medium': medium,
'nitter': nitter,
@@ -356,8 +428,58 @@ class FDSourceOptions {
'rss': rss,
'stackoverflow': stackoverflow?.toJson(),
'tumblr': tumblr,
'x': x,
'youtube': youtube,
};
}
factory FDSourceOptions.fromXml(XmlElement element) {
return FDSourceOptions(
fourchan: element.getAttribute('fourchan'),
github: FDGitHubOptions.fromXml(element),
googlenews: FDGoogleNewsOptions.fromXml(element),
lemmy: element.getAttribute('lemmy'),
mastodon: element.getAttribute('mastodon'),
medium: element.getAttribute('medium'),
nitter: element.getAttribute('nitter'),
pinterest: element.getAttribute('pinterest'),
podcast: element.getAttribute('podcast'),
reddit: element.getAttribute('reddit'),
rss: element.getAttribute('xmlUrl'),
stackoverflow: FDStackOverflowOptions.fromXml(element),
tumblr: element.getAttribute('tumblr'),
youtube: element.getAttribute('youtube'),
);
}
void toXml(XmlBuilder builder) {
if (fourchan != null) {
builder.attribute('fourchan', fourchan);
} else if (github != null) {
github!.toXml(builder);
} else if (googlenews != null) {
googlenews!.toXml(builder);
} else if (lemmy != null) {
builder.attribute('lemmy', lemmy);
} else if (mastodon != null) {
builder.attribute('mastodon', mastodon);
} else if (medium != null) {
builder.attribute('medium', medium);
} else if (nitter != null) {
builder.attribute('nitter', nitter);
} else if (pinterest != null) {
builder.attribute('pinterest', pinterest);
} else if (podcast != null) {
builder.attribute('podcast', podcast);
} else if (reddit != null) {
builder.attribute('reddit', reddit);
} else if (rss != null) {
builder.attribute('xmlUrl', rss);
} else if (stackoverflow != null) {
stackoverflow!.toXml(builder);
} else if (tumblr != null) {
builder.attribute('tumblr', tumblr);
} else if (youtube != null) {
builder.attribute('youtube', youtube);
}
}
}

View File

@@ -1,3 +1,5 @@
import 'package:xml/xml.dart';
/// [FDGitHubType] is an enum value which defines the type for the GitHub
/// source.
enum FDGitHubType {
@@ -88,31 +90,38 @@ class FDGitHubOptions {
factory FDGitHubOptions.fromJson(Map<String, dynamic> responseData) {
return FDGitHubOptions(
type: responseData.containsKey('type') && responseData['type'] != null
? getGitHubTypeFromString(responseData['type'])
: null,
participating: responseData.containsKey('participating') &&
responseData['participating'] != null
? responseData['participating']
: null,
repository: responseData.containsKey('repository') &&
responseData['repository'] != null
? responseData['repository']
: null,
user: responseData.containsKey('user') && responseData['user'] != null
? responseData['user']
: null,
organization: responseData.containsKey('organization') &&
responseData['organization'] != null
? responseData['organization']
: null,
queryName: responseData.containsKey('queryName') &&
responseData['queryName'] != null
? responseData['queryName']
: null,
query: responseData.containsKey('query') && responseData['query'] != null
? responseData['query']
: null,
type:
responseData.containsKey('type') && responseData['type'] != null
? getGitHubTypeFromString(responseData['type'])
: null,
participating:
responseData.containsKey('participating') &&
responseData['participating'] != null
? responseData['participating']
: null,
repository:
responseData.containsKey('repository') &&
responseData['repository'] != null
? responseData['repository']
: null,
user:
responseData.containsKey('user') && responseData['user'] != null
? responseData['user']
: null,
organization:
responseData.containsKey('organization') &&
responseData['organization'] != null
? responseData['organization']
: null,
queryName:
responseData.containsKey('queryName') &&
responseData['queryName'] != null
? responseData['queryName']
: null,
query:
responseData.containsKey('query') && responseData['query'] != null
? responseData['query']
: null,
);
}
@@ -127,4 +136,40 @@ class FDGitHubOptions {
'query': query,
};
}
factory FDGitHubOptions.fromXml(XmlElement element) {
return FDGitHubOptions(
type: getGitHubTypeFromString(element.getAttribute('githubType') ?? ''),
participating: element.getAttribute('githubParticipating') == 'true',
repository: element.getAttribute('githubRepository'),
user: element.getAttribute('githubUser'),
organization: element.getAttribute('githubOrganization'),
queryName: element.getAttribute('githubQueryName'),
query: element.getAttribute('githubQuery'),
);
}
void toXml(XmlBuilder builder) {
if (type != null) {
builder.attribute('githubType', type!.toShortString());
}
if (participating != null) {
builder.attribute('githubParticipating', participating);
}
if (repository != null) {
builder.attribute('githubRepository', repository);
}
if (user != null) {
builder.attribute('githubUser', user);
}
if (organization != null) {
builder.attribute('githubOrganization', organization);
}
if (queryName != null) {
builder.attribute('githubQueryName', queryName);
}
if (query != null) {
builder.attribute('githubQuery', query);
}
}
}

View File

@@ -1,9 +1,8 @@
import 'package:xml/xml.dart';
/// [FDGoogleNewsType] is an enum value which defines the type for the Google
/// News source.
enum FDGoogleNewsType {
url,
search,
}
enum FDGoogleNewsType { url, search }
/// [FDGoogleNewsTypeExtension] defines all extensions which are available for
/// the [FDGoogleNewsType] enum type.
@@ -61,25 +60,30 @@ class FDGoogleNewsOptions {
factory FDGoogleNewsOptions.fromJson(Map<String, dynamic> responseData) {
return FDGoogleNewsOptions(
type: responseData.containsKey('type') && responseData['type'] != null
? getGoogleNewsTypeFromString(responseData['type'])
: null,
url: responseData.containsKey('url') && responseData['url'] != null
? responseData['url']
: null,
type:
responseData.containsKey('type') && responseData['type'] != null
? getGoogleNewsTypeFromString(responseData['type'])
: null,
url:
responseData.containsKey('url') && responseData['url'] != null
? responseData['url']
: null,
search:
responseData.containsKey('search') && responseData['search'] != null
? responseData['search']
: null,
ceid: responseData.containsKey('ceid') && responseData['ceid'] != null
? responseData['ceid']
: null,
gl: responseData.containsKey('gl') && responseData['gl'] != null
? responseData['gl']
: null,
hl: responseData.containsKey('hl') && responseData['hl'] != null
? responseData['hl']
: null,
ceid:
responseData.containsKey('ceid') && responseData['ceid'] != null
? responseData['ceid']
: null,
gl:
responseData.containsKey('gl') && responseData['gl'] != null
? responseData['gl']
: null,
hl:
responseData.containsKey('hl') && responseData['hl'] != null
? responseData['hl']
: null,
);
}
@@ -93,4 +97,38 @@ class FDGoogleNewsOptions {
'hl': hl,
};
}
factory FDGoogleNewsOptions.fromXml(XmlElement element) {
return FDGoogleNewsOptions(
type: getGoogleNewsTypeFromString(
element.getAttribute('googlenewsType') ?? '',
),
url: element.getAttribute('googlenewsUrl'),
search: element.getAttribute('googlenewsSearch'),
ceid: element.getAttribute('googlenewsCeid'),
gl: element.getAttribute('googlenewsGl'),
hl: element.getAttribute('googlenewsHl'),
);
}
void toXml(XmlBuilder builder) {
if (type != null) {
builder.attribute('googlenewsType', type!.toShortString());
}
if (url != null) {
builder.attribute('googlenewsUrl', url);
}
if (search != null) {
builder.attribute('googlenewsSearch', search);
}
if (ceid != null) {
builder.attribute('googlenewsCeid', ceid);
}
if (gl != null) {
builder.attribute('googlenewsGl', gl);
}
if (hl != null) {
builder.attribute('googlenewsHl', hl);
}
}
}

View File

@@ -1,9 +1,8 @@
import 'package:xml/xml.dart';
/// [FDStackOverflowType] is an enum value which defines the type for the
/// StackOverflow source.
enum FDStackOverflowType {
url,
tag,
}
enum FDStackOverflowType { url, tag }
/// [FDStackOverflowTypeExtension] defines all extensions which are available for
/// the [FDStackOverflowType] enum type.
@@ -42,12 +41,7 @@ FDStackOverflowType getStackOverflowTypeFromString(String state) {
/// [FDStackOverflowSort] is an enum value which defines the available sort
/// properties for the [FDStackOverflowOptions]
enum FDStackOverflowSort {
newest,
active,
featured,
votes,
}
enum FDStackOverflowSort { newest, active, featured, votes }
/// [FDStackOverflowSortExtension] defines all extensions which are available
/// for the [FDStackOverflowSort] enum type.
@@ -100,27 +94,26 @@ class FDStackOverflowOptions {
String? tag;
FDStackOverflowSort? sort;
FDStackOverflowOptions({
this.type,
this.url,
this.tag,
this.sort,
});
FDStackOverflowOptions({this.type, this.url, this.tag, this.sort});
factory FDStackOverflowOptions.fromJson(Map<String, dynamic> responseData) {
return FDStackOverflowOptions(
type: responseData.containsKey('type') && responseData['type'] != null
? getStackOverflowTypeFromString(responseData['type'])
: null,
url: responseData.containsKey('url') && responseData['url'] != null
? responseData['url']
: null,
tag: responseData.containsKey('tag') && responseData['tag'] != null
? responseData['tag']
: null,
sort: responseData.containsKey('sort') && responseData['sort'] != null
? getStackOverflowSortFromString(responseData['sort'])
: null,
type:
responseData.containsKey('type') && responseData['type'] != null
? getStackOverflowTypeFromString(responseData['type'])
: null,
url:
responseData.containsKey('url') && responseData['url'] != null
? responseData['url']
: null,
tag:
responseData.containsKey('tag') && responseData['tag'] != null
? responseData['tag']
: null,
sort:
responseData.containsKey('sort') && responseData['sort'] != null
? getStackOverflowSortFromString(responseData['sort'])
: null,
);
}
@@ -132,4 +125,32 @@ class FDStackOverflowOptions {
'sort': sort?.toShortString(),
};
}
factory FDStackOverflowOptions.fromXml(XmlElement element) {
return FDStackOverflowOptions(
type: getStackOverflowTypeFromString(
element.getAttribute('stackoverflowType') ?? '',
),
url: element.getAttribute('stackoverflowUrl'),
tag: element.getAttribute('stackoverflowTag'),
sort: getStackOverflowSortFromString(
element.getAttribute('stackoverflowSort') ?? '',
),
);
}
void toXml(XmlBuilder builder) {
if (type != null) {
builder.attribute('stackoverflowType', type!.toShortString());
}
if (url != null) {
builder.attribute('stackoverflowUrl', url);
}
if (tag != null) {
builder.attribute('stackoverflowTag', tag);
}
if (sort != null) {
builder.attribute('stackoverflowSort', sort);
}
}
}

View File

@@ -10,11 +10,7 @@ import 'package:feeddeck/models/deck.dart';
import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/utils/api_exception.dart';
enum FDAppStatus {
uninitialized,
authenticated,
unauthenticated,
}
enum FDAppStatus { uninitialized, authenticated, unauthenticated }
/// [AppRepository] is the repository for our app. The repository is responsible
/// for managing the state of our app, this includes the authentication status
@@ -82,10 +78,7 @@ class AppRepository with ChangeNotifier {
///
/// If the user was signed in successfully, we run the same logic as in the
/// [init] function, to set the active deck for the user.
Future<void> signInWithPassword(
String email,
String password,
) async {
Future<void> signInWithPassword(String email, String password) async {
await Supabase.instance.client.auth.signInWithPassword(
email: email,
password: password,
@@ -115,9 +108,7 @@ class AppRepository with ChangeNotifier {
///
/// If the user was signed in successfully, we run the same logic as in the
/// [init] function, to set the active deck for the user.
Future<void> signInWithCallback(
Uri uri,
) async {
Future<void> signInWithCallback(Uri uri) async {
await Supabase.instance.client.auth.getSessionFromUrl(
uri,
storeSession: true,
@@ -145,17 +136,16 @@ class AppRepository with ChangeNotifier {
/// create a new deck for the user with the given name. After the deck was
/// created, the deck is set as the users active deck and the deck is added to
/// the list of decks.
Future<void> createDeck(
String name,
) async {
final data = await Supabase.instance.client
.from('decks')
.insert({
'name': name,
'userId': Supabase.instance.client.auth.currentUser!.id,
})
.select()
.single();
Future<void> createDeck(String name) async {
final data =
await Supabase.instance.client
.from('decks')
.insert({
'name': name,
'userId': Supabase.instance.client.auth.currentUser!.id,
})
.select()
.single();
final newDeck = FDDeck.fromJson(data);
@@ -178,17 +168,28 @@ class AppRepository with ChangeNotifier {
return List<FDDeck>.from(data.map((deck) => FDDeck.fromJson(deck)));
}
/// [getDecksWithNotifiy] uses the [getDecks] function to get a list of all
/// decks for the user, but instead of returning the decks it updates the
/// [_decks] property and calls all the registered listeners.
///
/// This function can be used to trigger an update of the decks when they are
/// created outside of the AppRepository, like it is done in the import
/// process.
Future<void> getDecksWithNotifiy() async {
final decks = await getDecks();
_decks = decks;
notifyListeners();
}
/// [updateDeck] is called to update a deck for the user. The function takes
/// a [deckId] and a [name] as parameters. The function calls the Supabase
/// client to update the name of the deck. After the deck was updated, the
/// deck is also updated in the list of decks.
Future<void> updateDeck(
String deckId,
String name,
) async {
Future<void> updateDeck(String deckId, String name) async {
await Supabase.instance.client
.from('decks')
.update({'name': name}).eq('id', deckId);
.update({'name': name})
.eq('id', deckId);
for (var i = 0; i < _decks.length; i++) {
if (_decks[i].id == deckId) {
@@ -205,9 +206,7 @@ class AppRepository with ChangeNotifier {
/// the deck. After the deck was deleted, the deck is also removed from the
/// list of decks. If the deleted deck was the active deck, the active deck is
/// set to `null`.
Future<void> deleteDeck(
String deckId,
) async {
Future<void> deleteDeck(String deckId) async {
await Supabase.instance.client.from('decks').delete().eq('id', deckId);
_decks.removeWhere((deck) => deck.id == deckId);
@@ -223,9 +222,7 @@ class AppRepository with ChangeNotifier {
/// to get the columns for the deck and all sources for each column. After the
/// columns and sources are fetched, the active deck is set to the provided
/// deckId and the columns and sources are stored in the repository.
Future<void> selectDeck(
String deckId,
) async {
Future<void> selectDeck(String deckId) async {
final columns = await getColumns(deckId);
for (final column in columns) {
column.sources = await getSources(column.id);
@@ -243,18 +240,18 @@ class AppRepository with ChangeNotifier {
/// function takes a [name] as parameter. The function calls the Supabase
/// client to create a new column for the active deck with the given name.
/// Finally the newly created column is added to the list of columns.
Future<void> createColumn(
String name,
) async {
final data = await Supabase.instance.client.from('columns').insert({
'deckId': _activeDeckId,
'userId': Supabase.instance.client.auth.currentUser!.id,
'name': name,
'position': _columns.length,
}).select();
Future<void> createColumn(String name) async {
final data =
await Supabase.instance.client.from('columns').insert({
'deckId': _activeDeckId,
'userId': Supabase.instance.client.auth.currentUser!.id,
'name': name,
'position': _columns.length,
}).select();
final newColumn =
List<FDColumn>.from(data.map((column) => FDColumn.fromJson(column)));
final newColumn = List<FDColumn>.from(
data.map((column) => FDColumn.fromJson(column)),
);
_columns.addAll(newColumn);
notifyListeners();
}
@@ -262,9 +259,7 @@ class AppRepository with ChangeNotifier {
/// [getColumns] is called to get all columns for the deck with the provided
/// [deckId]. The function calls the Supabase client to get all columns for
/// the deck. The function returns a list of [FDColumn]s.
Future<List<FDColumn>> getColumns(
String deckId,
) async {
Future<List<FDColumn>> getColumns(String deckId) async {
final data = await Supabase.instance.client
.from('columns')
.select('id, name, position')
@@ -276,9 +271,7 @@ class AppRepository with ChangeNotifier {
/// [deleteColumn] is called to delete a column with the provided [columnId].
/// The function calls the Supabase client to delete the column. After the
/// column was deleted, the column is also removed from the list of columns.
Future<void> deleteColumn(
String columnId,
) async {
Future<void> deleteColumn(String columnId) async {
await Supabase.instance.client.from('columns').delete().eq('id', columnId);
_columns.removeWhere((column) => column.id == columnId);
@@ -289,13 +282,11 @@ class AppRepository with ChangeNotifier {
/// The function takes a [name] as parameter. The function calls the Supabase
/// client to update the name of the column. After the column was updated, the
/// column is also updated in the list of columns.
Future<void> updateColumn(
String columnId,
String name,
) async {
Future<void> updateColumn(String columnId, String name) async {
await Supabase.instance.client
.from('columns')
.update({'name': name}).eq('id', columnId);
.update({'name': name})
.eq('id', columnId);
for (var i = 0; i < _columns.length; i++) {
if (_columns[i].id == columnId) {
@@ -311,22 +302,15 @@ class AppRepository with ChangeNotifier {
/// with the provided [index1] and [index2]. The function calls the Supabase
/// client to update the positions of the columns. After the columns were
/// updated, the columns are also updated in the list of columns.
Future<void> updateColumnPositions(
int index1,
int index2,
) async {
Future<void> updateColumnPositions(int index1, int index2) async {
await Supabase.instance.client
.from('columns')
.update({'position': _columns[index2].position}).eq(
'id',
_columns[index1].id,
);
.update({'position': _columns[index2].position})
.eq('id', _columns[index1].id);
await Supabase.instance.client
.from('columns')
.update({'position': _columns[index1].position}).eq(
'id',
_columns[index2].id,
);
.update({'position': _columns[index1].position})
.eq('id', _columns[index2].id);
final tmp = _columns[index1];
_columns[index1] = _columns[index2];
@@ -340,13 +324,19 @@ class AppRepository with ChangeNotifier {
/// [getSources] is called to get all sources for the column with the provided
/// [columnId]. The function calls the Supabase client to get all sources for
/// the column. The function returns a list of [FDSource]s.
Future<List<FDSource>> getSources(
String columnId,
) async {
///
/// The returned list of sources is ordered by the `position` field. Since the
/// position field was added later there might be columns where the field is
/// `null`, which will come after all columns with a `position`. The source
/// where the position is `null` will be ordered by the `createdAt` date. This
/// should retain the order as before the `position` field was added and
/// should also work for new sources, which are added without a position.
Future<List<FDSource>> getSources(String columnId) async {
final data = await Supabase.instance.client
.from('sources')
.select('id, type, title, options, link, icon')
.eq('columnId', columnId)
.order('position', ascending: true, nullsFirst: false)
.order('createdAt', ascending: true);
return List<FDSource>.from(data.map((source) => FDSource.fromJson(source)));
}
@@ -355,10 +345,7 @@ class AppRepository with ChangeNotifier {
/// The function calls the Supabase client to delete the source. After the
/// source was deleted, the source is also removed from the list of sources of
/// the column with the provided [columnId].
Future<void> deleteSource(
String columnId,
String sourceId,
) async {
Future<void> deleteSource(String columnId, String sourceId) async {
await Supabase.instance.client.from('sources').delete().eq('id', sourceId);
/// It could take some time before we can retrieve the items after a source
@@ -376,21 +363,33 @@ class AppRepository with ChangeNotifier {
}
/// [addSource] is called to add a source to the column with the provided
/// [columnId]. The function takes a [source] as parameter. The function calls
/// the `add-source-v1` edge function via the Supabase client to create the
/// source. When the source was created the newly returned source is added to
/// the list of sources of the column with the provided [columnId].
/// [columnId]. Next to [columnId] a user must also provide the [type] and
/// [options] for the source. The function calls the `add-or-update-source-v1`
/// edge function via the Supabase client to create the source. When the
/// source was created the newly returned source is added to the list of
/// sources of the column with the provided [columnId].
///
/// The optional [feedData] parameter is used to provide the feed data for the
/// source. This is can be used to scrape the source data via the client (app)
/// instead of the server (scheduler / worker).
Future<void> addSource(
String columnId,
FDSourceType type,
FDSourceOptions options,
) async {
FDSourceOptions options, [
String? feedData,
]) async {
final result = await Supabase.instance.client.functions.invoke(
'add-source-v1',
'add-or-update-source-v1',
body: {
'columnId': columnId,
'type': type.toShortString(),
'options': options.toJson(),
'source': {
'id': '',
'columnId': columnId,
'userId': '',
'type': type.toShortString(),
'title': '',
'options': options.toJson(),
},
'feedData': feedData,
},
);
@@ -411,4 +410,51 @@ class AppRepository with ChangeNotifier {
notifyListeners();
}
/// [updateSourcePositions] can be used to reorder the list of sources for a
/// column. To achieve this order the list of sources for the provided
/// [columnId] locally and update the `position` field of each source
/// afterwards in the database.
///
/// We have to check if the user drags a source from top to bottom ([start]
/// is lower then [current]) or from the bottom to the top ([start] is greater
/// then [current]), to apply a different logic for the reordering.
Future<void> updateSourcePositions(
String columnId,
int start,
int current,
) async {
final columnIndex = _columns.indexWhere((column) => column.id == columnId);
if (columnIndex == -1) {
return;
}
if (start < current) {
int end = current - 1;
FDSource startItem = _columns[columnIndex].sources[start];
int i = 0;
int local = start;
do {
_columns[columnIndex].sources[local] =
_columns[columnIndex].sources[++local];
i++;
} while (i < end - start);
_columns[columnIndex].sources[end] = startItem;
} else if (start > current) {
FDSource startItem = _columns[columnIndex].sources[start];
for (int i = start; i > current; i--) {
_columns[columnIndex].sources[i] = _columns[columnIndex].sources[i - 1];
}
_columns[columnIndex].sources[current] = startItem;
}
for (var i = 0; i < _columns[columnIndex].sources.length; i++) {
await Supabase.instance.client
.from('sources')
.update({'position': i})
.eq('id', _columns[columnIndex].sources[i].id);
}
notifyListeners();
}
}

View File

@@ -31,12 +31,7 @@ class ItemsFilters {
/// [ItemStateFilter] is a enum value which defines the state filter for items.
/// The filter can be [read], [unread] or [bookmarked]. The [none] filter is
/// used to return all items regardless if they are read, unread or bookmarked.
enum ItemStateFilter {
none,
read,
unread,
bookmarked,
}
enum ItemStateFilter { none, read, unread, bookmarked }
/// The [ToString] extension defines a [toShortString] function, which returns a
/// `String` which can be safely passed within a database query for the specifed
@@ -53,11 +48,7 @@ extension ToString on ItemStateFilter {
/// - [loading] during the time when the items are retrieved from our database
/// - [loadedLast] when there are no more items which can be loaded from the
/// database.
enum ItemsStatus {
loaded,
loading,
loadedLast,
}
enum ItemsStatus { loaded, loading, loadedLast }
/// [now] returns the current Unix timestamp in seconds.
int now() {
@@ -69,9 +60,7 @@ int now() {
/// initialized we have to call the [_init] function to load the items for the
/// provided column.
class ItemsRepository with ChangeNotifier {
ItemsRepository({
required this.column,
}) {
ItemsRepository({required this.column}) {
_init();
}
@@ -141,7 +130,7 @@ class ItemsRepository with ChangeNotifier {
/// selected source which is stored in the [_filters.sourceIdFilter]
/// field.
if (_filters.sourceIdFilter != '') {
filter = filter.eq('sourceId', sourceIdFilter);
filter = filter.eq('sourceId', _filters.sourceIdFilter);
}
filter = filter.lte('createdAt', _filters.createdAtFilter);
@@ -275,7 +264,8 @@ class ItemsRepository with ChangeNotifier {
try {
await Supabase.instance.client
.from('items')
.update({'isRead': read}).eq('id', itemId);
.update({'isRead': read})
.eq('id', itemId);
for (var i = 0; i < _items.length; i++) {
if (_items[i].id == itemId) {
_items[i].isRead = read;
@@ -305,7 +295,8 @@ class ItemsRepository with ChangeNotifier {
for (var i = 0; i < chunks.length; i++) {
await Supabase.instance.client
.from('items')
.update({'isRead': read}).in_('id', chunks[i]);
.update({'isRead': read})
.inFilter('id', chunks[i]);
for (var j = 0; j < _items.length; j++) {
if (chunks[i].contains(_items[j].id)) {
_items[j].isRead = read;
@@ -327,7 +318,8 @@ class ItemsRepository with ChangeNotifier {
try {
await Supabase.instance.client
.from('items')
.update({'isBookmarked': bookmarked}).eq('id', itemId);
.update({'isBookmarked': bookmarked})
.eq('id', itemId);
for (var i = 0; i < _items.length; i++) {
if (_items[i].id == itemId) {
_items[i].isBookmarked = bookmarked;
@@ -391,7 +383,7 @@ class ItemsRepositoryStore {
///
/// The best is to call the [set] function right before we call
/// `notifyListeners` in the repository.
set(
ItemsRepositoryStoreState set(
String columnId,
ItemsStatus status,
ItemsFilters filters,
@@ -407,7 +399,7 @@ class ItemsRepositoryStore {
/// [clear] deletes all the stored [_itemsRepositoryStoreStates] from the
/// store. This method can be used to clear the cache, e.g. when a user
/// changes the active deck or signes out.
clear() {
void clear() {
_itemsRepositoryStoreStates.clear();
}
}

View File

@@ -8,12 +8,10 @@ class Constants {
static const primary = Color(0xff49d3b4);
static const onPrimary = Color(0xff1f2229);
static const secondary = Color(0xff353a46);
static const onSecondary = Color(0xffe2e4e9);
static const onSecondary = Color(0xff49d3b4);
static const error = Color(0xffde4A40);
static const onError = Color(0xffe2e4e9);
static const background = Color(0xff1f2229);
static const onBackground = Color(0xffe2e4e9);
static const surface = Color(0xff353a46);
static const surface = Color(0xff1f2229);
static const onSurface = Color(0xffe2e4e9);
static const canvasColor = Color(0xff1f2229);
static const appBarBackgroundColor = Colors.transparent;
@@ -23,7 +21,7 @@ class Constants {
static const secondaryTextColor = Color(0xff9aa1b2);
static const dividerColor = Color(0xff2a2e38);
static const backgroundContainerBackgroundColor = Color(0xff14161a);
static const surfaceContainerBackgroundColor = Color(0xff14161a);
static const breakpoint = 600.0;
static const columnWidth = 352.0;

View File

@@ -56,15 +56,15 @@ const _htmlAuthFinished = '''
</html>
''';
/// The [DesktopLoginManager] is used to authenticate a user with the provided
/// The [DesktopSignInManager] is used to authenticate a user with the provided
/// OAuth [provider] on desktop platforms.
class DesktopLoginManager {
final supabase.Provider provider;
class DesktopSignInManager {
final supabase.OAuthProvider provider;
final Map<String, String>? queryParams;
HttpServer? redirectServer;
DesktopLoginManager({
DesktopSignInManager({
required this.provider,
required this.queryParams,
});

View File

@@ -1,7 +1,7 @@
import 'package:flutter/widgets.dart';
/// Flutter icons [FDIcons]
/// Copyright (C) 2023 by original authors @ fluttericon.com, fontello.com
/// Flutter icons FDIcons
/// Copyright (C) 2024 by original authors @ fluttericon.com, fontello.com
/// This font was generated by FlutterIcon.com, which is derived from Fontello.
///
/// To use this font, place it in your fonts/ directory and include the
@@ -63,4 +63,8 @@ class FDIcons {
IconData(0xe814, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData mastodon =
IconData(0xe815, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData lemmy =
IconData(0xe816, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData fourchan =
IconData(0xe817, fontFamily: _kFontFam, fontPackage: _kFontPkg);
}

View File

@@ -0,0 +1,55 @@
import 'package:http/http.dart' as http;
import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/utils/api_exception.dart';
/// [getFeed] returns the feed for the provided [sourceType] and [options]. It
/// can be used to fetch the feed for a source on the client side (app) instead
/// of via the corresponding `add-or-update-source-v1` edge function or via our
/// worker.
///
/// The functions for the different sources must implement the same parsing for
/// the source options as it is done in the edge function.
Future<String> getFeed(FDSourceType sourceType, FDSourceOptions options) async {
switch (sourceType) {
case FDSourceType.reddit:
return getFeedReddit(options.reddit);
default:
throw const ApiException('Unknown source type', 400);
}
}
/// [getFeedReddit] returns the feed for the provided [input]. It is used to
/// fetch the RSS feed for a Reddit source, which can be passed to the
/// `add-or-update-source-v1` edge function.
///
/// The function must implement the same parsing logic as it is done in the
/// `supabase/functions/_shared/feed/reddit.ts` file.
Future<String> getFeedReddit(String? input) async {
if (input == null || input.isEmpty) {
throw const ApiException('No input provided', 400);
}
String url = '';
try {
if (input.startsWith('/r/') || input.startsWith('/u/')) {
url = 'https://www.reddit.com$input.rss';
} else {
final inputUri = Uri.parse(input);
if (inputUri.host.endsWith('reddit.com')) {
if (input.endsWith('.rss')) {
url = input;
} else {
url = '$input.rss';
}
} else {
throw const ApiException('Invalid input', 400);
}
}
} catch (err) {
throw const ApiException('Invalid input', 400);
}
final response = await http.get(Uri.parse(url));
return response.body;
}

View File

@@ -4,24 +4,29 @@ import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:url_launcher/url_launcher.dart';
/// [openUrl] can be used to open the given [url] in the platforms default
/// browser.
/// [openUrl] can be used to open the given [url] in the specified launch mode.
/// For iOS and Android we are using the In-App-Browser to launch the url, for
/// all other platforms we are using the external browser.
///
/// On Android we are not using the default launch mode
/// (`LaunchMode.platformDefault`), because the opened In-App-Browser is very
/// limited, so that we decided to use `LaunchMode.externalApplication` to open
/// the url.
/// We do not have to check if the launch mode is really supported, because
/// `launchUrl` will fallback to a supported launch mode, when our preferred
/// mode is not supported.
Future<void> openUrl(String url) async {
var launchMode = LaunchMode.platformDefault;
if (!kIsWeb) {
if (Platform.isAndroid) {
launchMode = LaunchMode.externalApplication;
}
if (kIsWeb) {
launchMode = LaunchMode.externalApplication;
} else if (Platform.isAndroid) {
launchMode = LaunchMode.inAppBrowserView;
} else if (Platform.isIOS) {
launchMode = LaunchMode.inAppBrowserView;
} else if (Platform.isMacOS) {
launchMode = LaunchMode.externalApplication;
} else if (Platform.isLinux) {
launchMode = LaunchMode.externalApplication;
} else if (Platform.isWindows) {
launchMode = LaunchMode.externalApplication;
}
await launchUrl(
Uri.parse(url),
mode: launchMode,
);
await launchUrl(Uri.parse(url), mode: launchMode);
}

View File

@@ -0,0 +1,33 @@
import 'dart:convert';
import 'package:crypto/crypto.dart';
import 'package:sign_in_with_apple/sign_in_with_apple.dart';
import 'package:supabase_flutter/supabase_flutter.dart';
/// [signInWithApple] performs Apple sign in on iOS and macOS.
/// See https://supabase.com/docs/guides/auth/social-login/auth-apple?platform=flutter#using-native-sign-in-with-apple-in-flutter
Future<AuthResponse> signInWithApple() async {
final rawNonce = Supabase.instance.client.auth.generateRawNonce();
final hashedNonce = sha256.convert(utf8.encode(rawNonce)).toString();
final credential = await SignInWithApple.getAppleIDCredential(
scopes: [
AppleIDAuthorizationScopes.email,
AppleIDAuthorizationScopes.fullName,
],
nonce: hashedNonce,
);
final idToken = credential.identityToken;
if (idToken == null) {
throw const AuthException(
'Could not find ID Token from generated credential.',
);
}
return Supabase.instance.client.auth.signInWithIdToken(
provider: OAuthProvider.apple,
idToken: idToken,
nonce: rawNonce,
);
}

View File

@@ -164,6 +164,8 @@ class _CreateColumnState extends State<CreateColumn> {
padding: const EdgeInsets.all(Constants.spacingMiddle),
child: ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),

View File

@@ -101,7 +101,7 @@ class _ColumnLayoutHeaderState extends State<ColumnLayoutHeader> {
),
),
centerTitle: false,
backgroundColor: Constants.background,
backgroundColor: Constants.surface,
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -216,7 +216,7 @@ class _ColumnLayoutHeaderState extends State<ColumnLayoutHeader> {
width: double.infinity,
height: _showSettings,
decoration: const BoxDecoration(
color: Constants.backgroundContainerBackgroundColor,
color: Constants.surfaceContainerBackgroundColor,
),
padding: const EdgeInsets.all(Constants.spacingMiddle),
child: ColumnLayoutHeaderSettings(

View File

@@ -31,23 +31,22 @@ class _ColumnLayoutHeaderSettingsDeleteColumnState
/// [_showDeleteDialog] creates a new dialog, which is shown before the column
/// can be deleted. This is done to raise the awareness that the column,
/// sources and items which belongs to the column will also be deleted.
_showDeleteDialog() {
void _showDeleteDialog() {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
insetPadding: EdgeInsets.symmetric(
horizontal: MediaQuery.of(context).size.width >=
horizontal:
MediaQuery.of(context).size.width >=
(Constants.centeredFormMaxWidth +
2 * Constants.spacingMiddle)
? (MediaQuery.of(context).size.width -
Constants.centeredFormMaxWidth) /
2
Constants.centeredFormMaxWidth) /
2
: Constants.spacingMiddle,
),
title: const Text(
'Delete Column',
),
title: const Text('Delete Column'),
content: const Text(
'Do you really want to delete this column? This can not be undone and will also delete all sources, items and bookmarks related to this column.',
),
@@ -88,8 +87,10 @@ class _ColumnLayoutHeaderSettingsDeleteColumnState
});
try {
await Provider.of<AppRepository>(context, listen: false)
.deleteColumn(widget.column.id);
await Provider.of<AppRepository>(
context,
listen: false,
).deleteColumn(widget.column.id);
} catch (_) {
if (!mounted) return;
ScaffoldMessenger.of(context).showSnackBar(

View File

@@ -32,28 +32,66 @@ class ColumnLayoutHeaderSettingsSources extends StatefulWidget {
class _ColumnLayoutHeaderSettingsSourcesState
extends State<ColumnLayoutHeaderSettingsSources> {
/// [_proxyDecorator] is used to highlight the source which is currently
/// draged by the user.
Widget _proxyDecorator(Widget child, int index, Animation<double> animation) {
return Material(
elevation: 0,
color: Colors.transparent,
child: Stack(
children: [
Positioned(
top: 0,
left: 0,
right: 0,
bottom: 16,
child: Material(
borderRadius: BorderRadius.circular(16),
elevation: 24,
color: Colors.transparent,
),
),
child,
],
),
);
}
/// [_buildSourcesList] returns a list of all sources of the current column.
/// If the list of sources is empty it will return a [Container].
///
/// Each source in the list also contains a delete item, which can be used to
/// remove the source from the current column.
List<Widget> _buildSourcesList() {
Widget _buildSourcesList() {
if (widget.column.sources.isEmpty) {
return [Container()];
return Container();
}
List<Widget> columns = [];
return ReorderableListView.builder(
shrinkWrap: true,
buildDefaultDragHandles: false,
physics: const NeverScrollableScrollPhysics(),
onReorder: (int start, int current) {
final AppRepository appRepository = Provider.of<AppRepository>(
context,
listen: false,
);
for (var i = 0; i < widget.column.sources.length; i++) {
columns.add(
SourceListItem(
appRepository.updateSourcePositions(widget.column.id, start, current);
},
proxyDecorator: (Widget child, int index, Animation<double> animation) {
return _proxyDecorator(child, index, animation);
},
itemCount: widget.column.sources.length,
itemBuilder: (context, index) {
return SourceListItem(
key: Key(widget.column.sources[index].id),
columnId: widget.column.id,
source: widget.column.sources[i],
),
);
}
return columns;
sourceIndex: index,
source: widget.column.sources[index],
);
},
);
}
/// [_showAddSource] shows the [AddSource] widget within a modal bottom sheet
@@ -92,16 +130,16 @@ class _ColumnLayoutHeaderSettingsSourcesState
mainAxisAlignment: MainAxisAlignment.start,
children: [
ConstrainedBox(
constraints: const BoxConstraints(
maxHeight: 275,
),
constraints: const BoxConstraints(maxHeight: 275),
child: ListView(
padding: EdgeInsets.zero,
shrinkWrap: true,
children: [
..._buildSourcesList(),
_buildSourcesList(),
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),
@@ -114,9 +152,7 @@ class _ColumnLayoutHeaderSettingsSourcesState
),
label: const Text('Add Source'),
onPressed: () => _showAddSource(),
icon: const Icon(
Icons.add,
),
icon: const Icon(Icons.add),
),
],
),

View File

@@ -101,7 +101,7 @@ class _ColumnLayoutSearchState extends State<ColumnLayoutSearch> {
width: double.infinity,
height: _showFilters,
decoration: const BoxDecoration(
color: Constants.backgroundContainerBackgroundColor,
color: Constants.surfaceContainerBackgroundColor,
),
padding: const EdgeInsets.all(Constants.spacingMiddle),
child: Column(

View File

@@ -43,6 +43,8 @@ class _ConfirmationState extends State<Confirmation> {
case 'change-email-address':
return ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),
@@ -57,6 +59,8 @@ class _ConfirmationState extends State<Confirmation> {
case 'confirm-signup':
return ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),
@@ -71,6 +75,8 @@ class _ConfirmationState extends State<Confirmation> {
case 'reset-password':
return ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),

View File

@@ -179,6 +179,10 @@ class _CreateDeckState extends State<CreateDeck> {
decoration: const InputDecoration(
border: OutlineInputBorder(),
labelText: 'Name',
hintText: 'e.g. News',
hintStyle: TextStyle(
color: Constants.secondaryTextColor,
),
),
validator: (value) => _validateDeckName(value),
onFieldSubmitted: (value) => _createDeck(),
@@ -189,6 +193,8 @@ class _CreateDeckState extends State<CreateDeck> {
),
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),

View File

@@ -110,7 +110,7 @@ class _SelectDeckState extends State<SelectDeck> {
@override
Widget build(BuildContext context) {
return Container(
color: Constants.background,
color: Constants.surface,
child: SafeArea(
child: Scaffold(
body: Center(

View File

@@ -30,7 +30,7 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
/// [_openDrawer] opens the provided [widget] in the drawer of the scaffold,
/// by setting the [_drawer] state first and then opening the drawer.
_openDrawer(Widget widget) {
void _openDrawer(Widget widget) {
setState(() {
_drawer = widget;
});
@@ -63,20 +63,12 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
size: 32,
),
label: Container(
padding: const EdgeInsets.only(
top: Constants.spacingExtraSmall,
),
constraints: const BoxConstraints(
minWidth: 54,
maxWidth: 54,
),
padding: const EdgeInsets.only(top: Constants.spacingExtraSmall),
constraints: const BoxConstraints(minWidth: 54, maxWidth: 54),
child: Text(
Characters(column.name)
.replaceAll(
Characters(''),
Characters('\u{200B}'),
)
.toString(),
Characters(
column.name,
).replaceAll(Characters(''), Characters('\u{200B}')).toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 10,
@@ -91,10 +83,7 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
for (var i = widgets.length; i < 2; i++) {
widgets.add(
const NavigationRailDestination(
icon: Icon(
Icons.circle,
color: Colors.transparent,
),
icon: Icon(Icons.circle, color: Colors.transparent),
label: Text(''),
),
);
@@ -119,20 +108,13 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
child: RichText(
textAlign: TextAlign.center,
text: const TextSpan(
style: TextStyle(
color: Constants.onSurface,
fontSize: 14.0,
),
style: TextStyle(color: Constants.onSurface, fontSize: 14.0),
children: [
TextSpan(
text: 'Add you first column by clicking on the plus icon (',
),
WidgetSpan(
child: Icon(Icons.add, size: 14.0),
),
TextSpan(
text: ') in the sidebar on the left side.',
),
WidgetSpan(child: Icon(Icons.add, size: 14.0)),
TextSpan(text: ') in the sidebar on the left side.'),
],
),
),
@@ -200,10 +182,7 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
topRight: Radius.circular(Constants.spacingMiddle),
bottomRight: Radius.circular(Constants.spacingMiddle),
),
child: Drawer(
width: Constants.columnWidth,
child: _drawer,
),
child: Drawer(width: Constants.columnWidth, child: _drawer),
),
body: SafeArea(
child: Row(
@@ -211,7 +190,8 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
SingleChildScrollView(
child: ConstrainedBox(
constraints: BoxConstraints(
minHeight: MediaQuery.of(context).size.height -
minHeight:
MediaQuery.of(context).size.height -
MediaQuery.of(context).padding.top -
MediaQuery.of(context).padding.bottom,
),
@@ -222,7 +202,7 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
splashFactory: NoSplash.splashFactory,
),
child: NavigationRail(
backgroundColor: Constants.background,
backgroundColor: Constants.surface,
selectedIndex: null,
/// When a user selects a destination in the navigation
@@ -281,9 +261,7 @@ class _DeckLayoutLargeState extends State<DeckLayoutLarge> {
);
},
),
const SizedBox(
height: Constants.spacingMiddle,
),
const SizedBox(height: Constants.spacingMiddle),
],
),
),

View File

@@ -29,16 +29,15 @@ class DeckLayoutSmall extends StatelessWidget {
/// user before returning the index. If a column was deleted we reset the
/// index to 0.
int _getInitialIndex(BuildContext context, int columnsLength) {
final deckLayoutSmallInitialTabIndex = Provider.of<LayoutRepository>(
context,
listen: false,
).deckLayoutSmallInitialTabIndex;
final deckLayoutSmallInitialTabIndex =
Provider.of<LayoutRepository>(
context,
listen: false,
).deckLayoutSmallInitialTabIndex;
if (deckLayoutSmallInitialTabIndex >= columnsLength) {
Provider.of<LayoutRepository>(
context,
listen: false,
).deckLayoutSmallInitialTabIndex = 0;
Provider.of<LayoutRepository>(context, listen: false)
.deckLayoutSmallInitialTabIndex = 0;
return 0;
}
@@ -61,25 +60,20 @@ class DeckLayoutSmall extends StatelessWidget {
key: ValueKey(column.id),
height: 56,
icon: SourceIcon(
type: column.sources.isNotEmpty
? column.sources[0].type
: FDSourceType.none,
type:
column.sources.isNotEmpty
? column.sources[0].type
: FDSourceType.none,
icon: column.sources.isNotEmpty ? column.sources[0].icon : null,
size: 24,
),
iconMargin: const EdgeInsets.only(bottom: 0),
child: Container(
constraints: const BoxConstraints(
minWidth: 54,
maxWidth: 54,
),
constraints: const BoxConstraints(minWidth: 54, maxWidth: 54),
child: Text(
Characters(column.name)
.replaceAll(
Characters(''),
Characters('\u{200B}'),
)
.toString(),
Characters(
column.name,
).replaceAll(Characters(''), Characters('\u{200B}')).toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 10,
@@ -106,20 +100,13 @@ class DeckLayoutSmall extends StatelessWidget {
child: RichText(
textAlign: TextAlign.center,
text: const TextSpan(
style: TextStyle(
color: Constants.onSurface,
fontSize: 14.0,
),
style: TextStyle(color: Constants.onSurface, fontSize: 14.0),
children: [
TextSpan(
text: 'Add you first column by clicking on the plus icon (',
),
WidgetSpan(
child: Icon(Icons.add, size: 14.0),
),
TextSpan(
text: ') in the tab bar on the bottom.',
),
WidgetSpan(child: Icon(Icons.add, size: 14.0)),
TextSpan(text: ') in the tab bar on the bottom.'),
],
),
),
@@ -138,8 +125,17 @@ class DeckLayoutSmall extends StatelessWidget {
);
}
/// Return the TabBarView. Since it was requested in
/// https://github.com/feeddeck/feeddeck/issues/228 we removed the
/// `physics: const NeverScrollableScrollPhysics()` property, so that a user
/// can switch between tabs by swiping to the left and to the right.
///
/// After testing this didn't conflicted with the other scroll and swipe
/// gestures of the children, so it should be save to activate. In case this
/// doesn't workout well in the long term, we should re-add the `physics`
/// property to the widget.
return TabBarView(
physics: const NeverScrollableScrollPhysics(),
// physics: const NeverScrollableScrollPhysics(),
children: widgets,
);
}
@@ -149,6 +145,7 @@ class DeckLayoutSmall extends StatelessWidget {
AppRepository app = Provider.of<AppRepository>(context, listen: true);
return DefaultTabController(
key: ValueKey(app.activeDeckId),
initialIndex: _getInitialIndex(context, app.columns.length),
length: app.columns.length,
child: Scaffold(
@@ -156,10 +153,7 @@ class DeckLayoutSmall extends StatelessWidget {
child: Container(
decoration: const BoxDecoration(
border: Border(
top: BorderSide(
color: Constants.dividerColor,
width: 1,
),
top: BorderSide(color: Constants.dividerColor, width: 1),
),
),
child: Row(
@@ -169,21 +163,20 @@ class DeckLayoutSmall extends StatelessWidget {
child: Theme(
data: Theme.of(context).copyWith(
colorScheme: Theme.of(context).colorScheme.copyWith(
surfaceVariant: Colors.transparent,
),
surfaceContainerHighest: Colors.transparent,
),
),
child: TabBar(
isScrollable: true,
tabAlignment: TabAlignment.start,
dividerHeight: 0,
onTap: (int index) {
/// When the user clicks on a tab we update the index in
/// the [LayoutRepository] so that we can use it as
/// initial index when the widget is rebuild (e.g. when
/// a user switches between the large and small layout).
Provider.of<LayoutRepository>(
context,
listen: false,
).deckLayoutSmallInitialTabIndex = index;
Provider.of<LayoutRepository>(context, listen: false)
.deckLayoutSmallInitialTabIndex = index;
},
tabs: _buildTabs(context),
),
@@ -207,7 +200,7 @@ class DeckLayoutSmall extends StatelessWidget {
IconButton(
icon: const Icon(
Icons.add,
color: Constants.onSecondary,
color: Constants.onSurface,
),
onPressed: () {
showModalBottomSheet(
@@ -246,14 +239,15 @@ class DeckLayoutSmall extends StatelessWidget {
IconButton(
icon: const Icon(
Icons.settings,
color: Constants.onSecondary,
color: Constants.onSurface,
),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (BuildContext context) =>
const Settings(),
builder:
(BuildContext context) =>
const Settings(),
),
);
},
@@ -267,9 +261,7 @@ class DeckLayoutSmall extends StatelessWidget {
),
),
),
body: SafeArea(
child: _buildViews(context),
),
body: SafeArea(child: _buildViews(context)),
),
);
}

View File

@@ -169,6 +169,8 @@ class _FogotPasswordState extends State<FogotPassword> {
),
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),

View File

@@ -39,23 +39,25 @@ class _HomeState extends State<Home> {
});
if (!kIsWeb && (Platform.isIOS || Platform.isAndroid)) {
_appLinks.allUriLinkStream.listen((uri) {
_appLinks.uriLinkStream.listen((uri) {
if (uri
.toString()
.startsWith('app.feeddeck.feeddeck://signin-callback/')) {
Provider.of<AppRepository>(context, listen: false)
.signInWithCallback(uri)
.then((_) {
WidgetsBinding.instance.addPostFrameCallback((_) {
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (BuildContext context) => const DeckLayout(),
),
(route) => false,
);
});
}).catchError((_) {});
if (mounted) {
Provider.of<AppRepository>(context, listen: false)
.signInWithCallback(uri)
.then((_) {
WidgetsBinding.instance.addPostFrameCallback((_) {
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (BuildContext context) => const DeckLayout(),
),
(route) => false,
);
});
}).catchError((_) {});
}
}
});
}

View File

@@ -7,6 +7,8 @@ import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/repositories/items_repository.dart';
import 'package:feeddeck/utils/constants.dart';
import 'package:feeddeck/utils/openurl.dart';
import 'package:feeddeck/widgets/item/details/item_details_fourchan.dart';
import 'package:feeddeck/widgets/item/details/item_details_lemmy.dart';
import 'package:feeddeck/widgets/item/details/item_details_mastodon.dart';
import 'package:feeddeck/widgets/item/details/item_details_medium.dart';
import 'package:feeddeck/widgets/item/details/item_details_nitter.dart';
@@ -60,6 +62,12 @@ class ItemDetails extends StatelessWidget {
Widget _buildDetails() {
switch (source.type) {
case FDSourceType.fourchan:
return ItemDetailsFourChan(
item: item,
source: source,
);
/// Sources with type [FDSourceType.github] do not provide a details view,
/// because we directly open the link, when the user clicks on the
/// corresponding preview item.
@@ -71,6 +79,11 @@ class ItemDetails extends StatelessWidget {
/// corresponding preview item.
case FDSourceType.googlenews:
return Container();
case FDSourceType.lemmy:
return ItemDetailsLemmy(
item: item,
source: source,
);
case FDSourceType.mastodon:
return ItemDetailsMastodon(
item: item,
@@ -116,11 +129,6 @@ class ItemDetails extends StatelessWidget {
item: item,
source: source,
);
// case FDSourceType.x:
// return ItemDetailsX(
// item: item,
// source: source,
// );
case FDSourceType.youtube:
return ItemDetailsYoutube(
item: item,
@@ -195,6 +203,8 @@ class ItemDetails extends StatelessWidget {
padding: const EdgeInsets.all(Constants.spacingMiddle),
child: ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: Constants.secondary,
foregroundColor: Constants.onSecondary,
maximumSize: const Size.fromHeight(
Constants.elevatedButtonSize,
),
@@ -202,7 +212,7 @@ class ItemDetails extends StatelessWidget {
Constants.elevatedButtonSize,
),
),
label: const Text('Open link'),
label: const Text('Open Link'),
onPressed: () => _openUrl(item.link),
icon: const Icon(Icons.launch),
),

View File

@@ -2,13 +2,12 @@ import 'package:flutter/material.dart';
import 'package:feeddeck/models/item.dart';
import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/utils/constants.dart';
import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media_gallery.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_title.dart';
class ItemDetailsX extends StatelessWidget {
const ItemDetailsX({
class ItemDetailsFourChan extends StatelessWidget {
const ItemDetailsFourChan({
super.key,
required this.item,
required this.source,
@@ -23,6 +22,9 @@ class ItemDetailsX extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: [
ItemTitle(
itemTitle: item.title,
),
ItemSubtitle(
item: item,
source: source,
@@ -32,16 +34,6 @@ class ItemDetailsX extends StatelessWidget {
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
),
const SizedBox(
height: Constants.spacingExtraSmall,
),
ItemMediaGallery(
itemMedias: item.options != null && item.options!.containsKey('media')
? (item.options!['media'] as List)
.map((item) => item as String)
.toList()
: null,
),
],
);
}

View File

@@ -0,0 +1,90 @@
import 'package:flutter/material.dart';
import 'package:feeddeck/models/item.dart';
import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media.dart';
import 'package:feeddeck/widgets/item/details/utils/item_piped/item_piped_video.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_title.dart';
import 'package:feeddeck/widgets/item/details/utils/item_videos.dart';
import 'package:feeddeck/widgets/item/details/utils/item_youtube/item_youtube_video.dart';
class ItemDetailsLemmy extends StatelessWidget {
const ItemDetailsLemmy({
super.key,
required this.item,
required this.source,
});
final FDItem item;
final FDSource source;
/// [_buildMedia] builds the media widget for the item. The media widget can
/// display an image, a video or y YouTube video.
///
/// See the `getMedia` function in the `lemmy.ts` file, for a list of
/// extension which are a image / video.
Widget _buildMedia() {
if (item.media != null && item.media! != '') {
final mediaUrl = Uri.parse(item.media!);
if (mediaUrl.path.endsWith('.jpg') ||
mediaUrl.path.endsWith('.jpeg') ||
mediaUrl.path.endsWith('.png') ||
mediaUrl.path.endsWith('.gif')) {
return ItemMedia(
itemMedia: item.media,
);
}
if (mediaUrl.path.endsWith('.mp4')) {
return ItemVideoPlayer(
video: item.media!,
);
}
if (item.media!.startsWith('https://youtu.be/') ||
item.media!.startsWith('https://www.youtube.com/watch?') ||
item.media!.startsWith('https://m.youtube.com/watch?')) {
return ItemYoutubeVideo(
null,
item.media!,
);
}
if (item.media!.startsWith('https://piped.video/watch?v=') ||
item.media!.startsWith('https://piped.video/')) {
return ItemPipedVideo(
null,
item.media!,
);
}
}
return Container();
}
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: [
ItemTitle(
itemTitle: item.title,
),
ItemSubtitle(
item: item,
source: source,
),
_buildMedia(),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
),
],
);
}
}

View File

@@ -5,8 +5,10 @@ import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/utils/constants.dart';
import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media_gallery.dart';
import 'package:feeddeck/widgets/item/details/utils/item_piped/item_piped_video.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_videos.dart';
import 'package:feeddeck/widgets/item/details/utils/item_youtube/item_youtube_video.dart';
class ItemDetailsMastodon extends StatelessWidget {
const ItemDetailsMastodon({
@@ -18,6 +20,116 @@ class ItemDetailsMastodon extends StatelessWidget {
final FDItem item;
final FDSource source;
/// [_getYoutubeUrl] returns a YouTube url when the provided [description]
/// contains a YouTube link. If the [description] does not contain a YouTube
/// link, the function returns `null`.
String? _getYoutubeUrl(String description) {
final exp = RegExp(r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+');
final matches = exp.allMatches(description);
for (var match in matches) {
final url = description.substring(match.start, match.end);
if (url.startsWith('https://youtu.be/') ||
url.startsWith('https://www.youtube.com/watch?') ||
url.startsWith('https://m.youtube.com/watch?')) {
return url;
}
}
return null;
}
/// [_getPipedUrl] returns a Piped url when the provided [description]
/// contains a Piped link. If the [description] does not contain a Piped link,
/// the function returns `null`.
String? _getPipedUrl(String description) {
final exp = RegExp(r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+');
final matches = exp.allMatches(description);
for (var match in matches) {
final url = description.substring(match.start, match.end);
if (url.startsWith('https://piped.video/watch?v=') ||
url.startsWith('https://piped.video/')) {
return url;
}
}
return null;
}
/// [_buildDescription] builds the description widget for the item. If the
/// description contains a YouTube link, we render the [ItemYoutubeVideo]
/// and the [ItemDescription] widgets. If the description does not contain a
/// YouTube link, we render the [ItemDescription], [ItemMediaGallery] and
/// [ItemVideos] widget.
List<Widget> _buildDescription() {
final youtubeUrl =
item.description != null ? _getYoutubeUrl(item.description!) : null;
if (youtubeUrl != null) {
return [
ItemYoutubeVideo(
item.media,
youtubeUrl,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
];
}
final pipedUrl =
item.description != null ? _getPipedUrl(item.description!) : null;
if (pipedUrl != null) {
return [
ItemPipedVideo(
item.media,
pipedUrl,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
];
}
return [
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
const SizedBox(
height: Constants.spacingExtraSmall,
),
ItemMediaGallery(
itemMedias: item.options != null &&
item.options!.containsKey('media') &&
item.options!['media'] != null
? (item.options!['media'] as List)
.map((item) => item as String)
.toList()
: null,
),
ItemVideos(
videos: item.options != null &&
item.options!.containsKey('videos') &&
item.options!['videos'] != null
? (item.options!['videos'] as List)
.map((item) => item as String)
.toList()
: null,
),
];
}
@override
Widget build(BuildContext context) {
return Column(
@@ -28,32 +140,7 @@ class ItemDetailsMastodon extends StatelessWidget {
item: item,
source: source,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
),
const SizedBox(
height: Constants.spacingExtraSmall,
),
ItemMediaGallery(
itemMedias: item.options != null &&
item.options!.containsKey('media') &&
item.options!['media'] != null
? (item.options!['media'] as List)
.map((item) => item as String)
.toList()
: null,
),
ItemVideos(
videos: item.options != null &&
item.options!.containsKey('videos') &&
item.options!['videos'] != null
? (item.options!['videos'] as List)
.map((item) => item as String)
.toList()
: null,
),
..._buildDescription(),
],
);
}

View File

@@ -5,8 +5,8 @@ import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/utils/constants.dart';
import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media_gallery.dart';
import 'package:feeddeck/widgets/item/details/utils/item_piped/item_piped_video.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_title.dart';
class ItemDetailsNitter extends StatelessWidget {
const ItemDetailsNitter({
@@ -18,18 +18,37 @@ class ItemDetailsNitter extends StatelessWidget {
final FDItem item;
final FDSource source;
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: [
ItemTitle(
itemTitle: item.title,
),
ItemSubtitle(
item: item,
source: source,
/// [_getPipedUrl] returns a Piped url when the provided [description]
/// contains a Piped link. If the [description] does not contain a Piped link,
/// the function returns `null`.
String? _getPipedUrl(String description) {
final exp = RegExp(r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+');
final matches = exp.allMatches(description);
for (var match in matches) {
final url = description.substring(match.start, match.end);
if (url.startsWith('https://piped.video/watch?v=') ||
url.startsWith('https://piped.video/')) {
return url;
}
}
return null;
}
/// [_buildDescription] builds the description widget for the item. If the
/// description contains a Piped link, we render the [ItemPipedVideo] and the
/// [ItemDescription] widgets. If the description does not contain a Piped
/// link, we render the [ItemDescription] and [ItemMediaGallery] widget.
List<Widget> _buildDescription() {
final pipedUrl =
item.description != null ? _getPipedUrl(item.description!) : null;
if (pipedUrl != null) {
return [
ItemPipedVideo(
item.media,
pipedUrl,
),
ItemDescription(
itemDescription: item.description,
@@ -37,16 +56,40 @@ class ItemDetailsNitter extends StatelessWidget {
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
const SizedBox(
height: Constants.spacingExtraSmall,
),
ItemMediaGallery(
itemMedias: item.options != null && item.options!.containsKey('media')
? (item.options!['media'] as List)
.map((item) => item as String)
.toList()
: null,
];
}
return [
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
const SizedBox(
height: Constants.spacingExtraSmall,
),
ItemMediaGallery(
itemMedias: item.options != null && item.options!.containsKey('media')
? (item.options!['media'] as List)
.map((item) => item as String)
.toList()
: null,
),
];
}
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: [
ItemSubtitle(
item: item,
source: source,
),
..._buildDescription(),
],
);
}

View File

@@ -3,8 +3,10 @@ import 'package:flutter/material.dart';
import 'package:feeddeck/models/item.dart';
import 'package:feeddeck/models/source.dart';
import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_piped/item_piped_video.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_title.dart';
import 'package:feeddeck/widgets/item/details/utils/item_youtube/item_youtube_video.dart';
class ItemDetailsReddit extends StatelessWidget {
const ItemDetailsReddit({
@@ -16,6 +18,98 @@ class ItemDetailsReddit extends StatelessWidget {
final FDItem item;
final FDSource source;
/// [_getYoutubeUrl] returns a YouTube url when the provided [description]
/// contains a YouTube link. If the [description] does not contain a YouTube
/// link, the function returns `null`.
String? _getYoutubeUrl(String description) {
final exp = RegExp(r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+');
final matches = exp.allMatches(description);
for (var match in matches) {
final url = description.substring(match.start, match.end);
if (url.startsWith('https://youtu.be/') ||
url.startsWith('https://www.youtube.com/watch?') ||
url.startsWith('https://m.youtube.com/watch?')) {
return url;
}
}
return null;
}
/// [_getPipedUrl] returns a Piped url when the provided [description]
/// contains a Piped link. If the [description] does not contain a Piped link,
/// the function returns `null`.
String? _getPipedUrl(String description) {
final exp = RegExp(r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+');
final matches = exp.allMatches(description);
for (var match in matches) {
final url = description.substring(match.start, match.end);
if (url.startsWith('https://piped.video/watch?v=') ||
url.startsWith('https://piped.video/')) {
return url;
}
}
return null;
}
/// [_buildDescription] builds the description widget for the item. If the
/// description contains a YouTube link, we render the [ItemYoutubeVideo]
/// and the [ItemDescription] widgets. If the description contains a Piped
/// link, we render the [ItemPipedVideo] and the [ItemDescription] widget. If
/// the description does not contain a YouTube or Piped link, we only render
/// the [ItemDescription] widget.
///
/// If the description containes a YouTube link we also have to disable the
/// rendering of images within the [ItemDescription] widget.
List<Widget> _buildDescription() {
final youtubeUrl =
item.description != null ? _getYoutubeUrl(item.description!) : null;
if (youtubeUrl != null) {
return [
ItemYoutubeVideo(
item.media,
youtubeUrl,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
];
}
final pipedUrl =
item.description != null ? _getPipedUrl(item.description!) : null;
if (pipedUrl != null) {
return [
ItemPipedVideo(
item.media,
pipedUrl,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
disableImages: true,
),
];
}
return [
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
),
];
}
@override
Widget build(BuildContext context) {
return Column(
@@ -29,11 +123,7 @@ class ItemDetailsReddit extends StatelessWidget {
item: item,
source: source,
),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,
tagetFormat: DescriptionFormat.markdown,
),
..._buildDescription(),
],
);
}

View File

@@ -8,6 +8,7 @@ import 'package:feeddeck/widgets/item/details/utils/item_description.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media.dart';
import 'package:feeddeck/widgets/item/details/utils/item_subtitle.dart';
import 'package:feeddeck/widgets/item/details/utils/item_title.dart';
import 'package:feeddeck/widgets/item/details/utils/item_videos.dart';
class ItemDetailsRSS extends StatelessWidget {
const ItemDetailsRSS({
@@ -19,10 +20,23 @@ class ItemDetailsRSS extends StatelessWidget {
final FDItem item;
final FDSource source;
/// [_buildImage] renders the [item.media] when the [shouldBeRendered] is
/// `true`. If it is `false` an empty container is returned.
Widget _buildImage(bool shouldBeRendered) {
if (!shouldBeRendered) {
/// [_buildMedia] renders an image or video for the item. If the description
/// of the item contains an image we do not render the image, because it could
/// already be rendered via the description.
///
/// Videos are currently always rendered, because they will not be rendered,
/// by the [MarkdownBody] widget.
Widget _buildMedia() {
if (item.options != null &&
item.options!.containsKey('video') &&
item.options!['video'] != null) {
return ItemVideos(videos: [item.options!['video']]);
}
/// Check if the description of the RSS feed contains an image. If this is
/// the case we do not render the image from the [item.media] because the
/// image is already rendered in the [ItemDescription] widget.
if (parse(item.description).querySelectorAll('img').isNotEmpty) {
return Container();
}
@@ -33,12 +47,6 @@ class ItemDetailsRSS extends StatelessWidget {
@override
Widget build(BuildContext context) {
/// Check if the description of the RSS feed contains an image. If this is
/// the case we do not render the image from the [item.media] because the
/// image is already rendered in the [ItemDescription] widget.
final descriptionContainImage =
parse(item.description).querySelectorAll('img').isNotEmpty;
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
@@ -50,7 +58,7 @@ class ItemDetailsRSS extends StatelessWidget {
item: item,
source: source,
),
_buildImage(!descriptionContainImage),
_buildMedia(),
ItemDescription(
itemDescription: item.description,
sourceFormat: DescriptionFormat.html,

View File

@@ -65,6 +65,13 @@ class _ItemAudioPlayerState extends State<ItemAudioPlayer> {
@override
void dispose() {
/// We have to dispose the [_player] when the widget is disposed, otherwise
/// the audio will continue to play in the background.
///
/// On Linux and Windows the audio will continue to play even if the
/// [_player] is disposed, so that we also call the `pause` method of the
/// [_player] to stop the audio.
_player.pause();
_player.dispose();
super.dispose();
}

View File

@@ -0,0 +1,9 @@
import 'item_audio_player_init_stub.dart'
if (dart.library.io) 'item_audio_player_init_native.dart'
if (dart.library.html) 'item_audio_player_init_web.dart';
abstract class ItemAudioPlayerInit {
void init();
factory ItemAudioPlayerInit() => getItemAudioPlayerInit();
}

View File

@@ -0,0 +1,12 @@
import 'package:just_audio_media_kit/just_audio_media_kit.dart';
import 'item_audio_player_init.dart';
class ItemAudioPlayerInitNative implements ItemAudioPlayerInit {
@override
void init() {
JustAudioMediaKit.ensureInitialized();
}
}
ItemAudioPlayerInit getItemAudioPlayerInit() => ItemAudioPlayerInitNative();

View File

@@ -0,0 +1,5 @@
import 'item_audio_player_init.dart';
ItemAudioPlayerInit getItemAudioPlayerInit() => throw UnsupportedError(
'Can not ItemAudioPlayerInit without the packages dart:html or dart:io',
);

View File

@@ -0,0 +1,8 @@
import 'item_audio_player_init.dart';
class ItemAudioPlayerInitWeb implements ItemAudioPlayerInit {
@override
void init() {}
}
ItemAudioPlayerInit getItemAudioPlayerInit() => ItemAudioPlayerInitWeb();

View File

@@ -62,7 +62,7 @@ class _ItemAudioPlayerSeekBarState extends State<ItemAudioPlayerSeekBar> {
data: _sliderThemeData.copyWith(
thumbShape: HiddenThumbComponentShape(),
activeTrackColor: Constants.secondary,
inactiveTrackColor: Constants.backgroundContainerBackgroundColor,
inactiveTrackColor: Constants.surfaceContainerBackgroundColor,
),
child: ExcludeSemantics(
child: Slider(

View File

@@ -10,11 +10,7 @@ import 'package:feeddeck/widgets/utils/cached_network_image.dart';
/// The [DescriptionFormat] enum defines the source and target format of a
/// description.
enum DescriptionFormat {
html,
markdown,
plain,
}
enum DescriptionFormat { html, markdown, plain }
/// The [ItemDescription] widget displays the description of an item. The
/// provided [itemDescription] is converted from the [sourceFormat] to the
@@ -51,8 +47,10 @@ class ItemDescription extends StatelessWidget {
fontFamily: getMonospaceFontFamily(),
backgroundColor: Constants.secondary,
),
codeblockDecoration: const BoxDecoration(
codeblockDecoration: const BoxDecoration(color: Constants.secondary),
blockquoteDecoration: const BoxDecoration(
color: Constants.secondary,
border: Border(left: BorderSide(color: Constants.primary, width: 1)),
),
),
onTapLink: (text, href, title) {
@@ -60,15 +58,17 @@ class ItemDescription extends StatelessWidget {
_openUrl(href);
}
},
// TODO: The "flutter_markdown" package is deprecated and we have to
// replace it with an alternative.
// See: https://pub.dev/packages/flutter_markdown
// ignore: deprecated_member_use
imageBuilder: (uri, title, alt) {
if (disableImages == true) {
return Container();
}
return Container(
padding: const EdgeInsets.only(
bottom: Constants.spacingMiddle,
),
padding: const EdgeInsets.only(bottom: Constants.spacingMiddle),
child: MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector(
@@ -79,9 +79,7 @@ class ItemDescription extends StatelessWidget {
isDismissible: true,
useSafeArea: true,
backgroundColor: Colors.black,
constraints: const BoxConstraints(
maxWidth: double.infinity,
),
constraints: const BoxConstraints(maxWidth: double.infinity),
builder: (BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
@@ -99,9 +97,7 @@ class ItemDescription extends StatelessWidget {
top: Constants.spacingExtraSmall,
right: Constants.spacingExtraSmall,
child: IconButton(
icon: const Icon(
Icons.close,
),
icon: const Icon(Icons.close),
onPressed: () {
Navigator.of(context).pop();
},
@@ -132,10 +128,7 @@ class ItemDescription extends StatelessWidget {
return SelectableText(
content.trim(),
textAlign: TextAlign.left,
style: const TextStyle(
fontWeight: FontWeight.normal,
fontSize: 14,
),
style: const TextStyle(fontWeight: FontWeight.normal, fontSize: 14),
);
}
@@ -158,7 +151,9 @@ class ItemDescription extends StatelessWidget {
if (sourceFormat == DescriptionFormat.html &&
tagetFormat == DescriptionFormat.plain) {
return _buildPlain(
itemDescription!.replaceAll(RegExp(r'<[^>]*>|&[^;]+;'), ''),
itemDescription!
.replaceAll(RegExp(r'<[^>]*>|&[^;]+;'), ' ')
.replaceAll(RegExp('\\s+'), ' '),
);
}

View File

@@ -0,0 +1,18 @@
import 'package:flutter/material.dart';
import 'item_piped_video_stub.dart'
if (dart.library.io) 'item_piped_video_native.dart'
if (dart.library.html) 'item_piped_video_web.dart';
/// The [ItemPipedVideo] class implements a widget that displays a video from
/// Piped.
///
/// This is required because we are using different implementations for the web
/// and for all other target platforms (Android, iOS, macOS, Windows, Linux). On
/// the web we display the Piped video via an `iframe` element. On all other
/// platforms we are using the [piped_client] package to fetch the url of the
/// Piped video, which can then be displayed via our [ItemVideoPlayer] widget.
abstract class ItemPipedVideo implements StatefulWidget {
factory ItemPipedVideo(String? imageUrl, String videoUrl) =>
getItemPipedVideo(imageUrl, videoUrl);
}

View File

@@ -0,0 +1,125 @@
import 'package:flutter/material.dart';
import 'package:piped_client/piped_client.dart';
import 'package:feeddeck/widgets/item/details/utils/item_media.dart';
import 'package:feeddeck/widgets/item/details/utils/item_videos.dart';
import 'item_piped_video.dart';
/// The [ItemVideoQuality] class represents a list of video qualities for the
/// requested Piped video and the corresponding audio stream.
class ItemVideoQualitiesAndAudio {
const ItemVideoQualitiesAndAudio({
required this.qualities,
required this.audio,
});
final List<ItemVideoQuality> qualities;
final String audio;
}
/// [_getVideoId] returns the id of the provide video url, which can be used to
/// get the video streams via the Piped API.
String _getVideoId(String videoUrl) {
if (videoUrl.startsWith('https://piped.video/watch?v=')) {
return videoUrl.replaceFirst(
'https://piped.video/watch?v=',
'',
);
}
if (videoUrl.startsWith('https://piped.video/')) {
return videoUrl.replaceFirst(
'https://piped.video/',
'',
);
}
return videoUrl;
}
class ItemPipedVideoNative extends StatefulWidget implements ItemPipedVideo {
const ItemPipedVideoNative({
super.key,
required this.imageUrl,
required this.videoUrl,
});
final String? imageUrl;
final String videoUrl;
@override
State<ItemPipedVideoNative> createState() => _ItemPipedVideoNativeState();
}
class _ItemPipedVideoNativeState extends State<ItemPipedVideoNative> {
final piped = PipedClient();
late Future<ItemVideoQualitiesAndAudio> _futureFetchVideoAndAudioUrls;
/// [_fetchVideoAndAudioUrls] fetches the video and audio urls for the
/// requested Piped video. Since the video streams do not contain the audio
/// stream, we have to fetch the audio stream separately.
Future<ItemVideoQualitiesAndAudio> _fetchVideoAndAudioUrls() async {
final streams = await piped.streams(_getVideoId(widget.videoUrl));
return ItemVideoQualitiesAndAudio(
qualities: streams.videoStreams
.where(
(element) =>
element.mimeType == 'video/mp4' &&
element.format == PipedVideoStreamFormat.mp4,
)
.map(
(element) => ItemVideoQuality(
quality: element.quality,
video: element.url,
),
)
.toList(),
audio: streams.audioStreams
.where((element) => element.mimeType == 'audio/mp4')
.map((element) => element.url)
.first,
);
}
@override
void didChangeDependencies() {
super.didChangeDependencies();
setState(() {
_futureFetchVideoAndAudioUrls = _fetchVideoAndAudioUrls();
});
}
@override
Widget build(BuildContext context) {
return FutureBuilder(
future: _futureFetchVideoAndAudioUrls,
builder: (
BuildContext context,
AsyncSnapshot<ItemVideoQualitiesAndAudio> snapshot,
) {
if (snapshot.connectionState == ConnectionState.none ||
snapshot.connectionState == ConnectionState.waiting ||
snapshot.hasError ||
snapshot.data == null ||
snapshot.data!.qualities.isEmpty ||
snapshot.data!.audio.isEmpty) {
return ItemMedia(itemMedia: widget.imageUrl);
}
return ItemVideoPlayer(
video: snapshot.data!.qualities.first.video,
audio: snapshot.data!.audio,
qualities: snapshot.data!.qualities,
);
},
);
}
}
ItemPipedVideo getItemPipedVideo(String? imageUrl, String videoUrl) =>
ItemPipedVideoNative(
imageUrl: imageUrl,
videoUrl: videoUrl,
);

View File

@@ -0,0 +1,6 @@
import 'item_piped_video.dart';
ItemPipedVideo getItemPipedVideo(String? imageUrl, String videoUrl) =>
throw UnsupportedError(
'Can not ItemPipedVideo without the packages dart:html or dart:io',
);

View File

@@ -0,0 +1,84 @@
import 'dart:ui_web' as ui;
import 'package:flutter/material.dart';
import 'package:web/web.dart';
import 'package:feeddeck/utils/constants.dart';
import 'item_piped_video.dart';
/// [_convertVideoUrl] converts the video url to a format that can be used to
/// embed the video in an iframe.
String _convertVideoUrl(String videoUrl) {
if (videoUrl.startsWith('https://piped.video/watch?v=')) {
return videoUrl.replaceFirst(
'https://piped.video/watch?v=',
'https://piped.video/embed/',
);
}
if (videoUrl.startsWith('https://piped.video/')) {
return videoUrl.replaceFirst(
'https://piped.video/',
'https://piped.video/embed/',
);
}
return videoUrl;
}
class ItemPipedVideoWeb extends StatefulWidget implements ItemPipedVideo {
const ItemPipedVideoWeb({
super.key,
required this.imageUrl,
required this.videoUrl,
});
final String? imageUrl;
final String videoUrl;
@override
State<ItemPipedVideoWeb> createState() => _ItemPipedVideoWebState();
}
class _ItemPipedVideoWebState extends State<ItemPipedVideoWeb> {
final HTMLIFrameElement _iframeElement = HTMLIFrameElement();
@override
void initState() {
super.initState();
_iframeElement.src = _convertVideoUrl(widget.videoUrl);
_iframeElement.style.border = 'none';
_iframeElement.allowFullscreen = true;
ui.platformViewRegistry.registerViewFactory(
widget.videoUrl,
(int viewId) => _iframeElement,
);
}
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.only(bottom: Constants.spacingMiddle),
child: LayoutBuilder(
builder: (context, constraints) {
return Center(
child: SizedBox(
width: constraints.maxWidth,
height: constraints.maxWidth * 9.0 / 16.0,
child: HtmlElementView(
key: Key(widget.videoUrl),
viewType: widget.videoUrl,
),
),
);
},
),
);
}
}
ItemPipedVideo getItemPipedVideo(String? imageUrl, String videoUrl) =>
ItemPipedVideoWeb(imageUrl: imageUrl, videoUrl: videoUrl);

Some files were not shown because too many files have changed in this diff Show More