Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make catcher great again! #234

Draft
wants to merge 149 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
7e6605a
allow setting explicit SMTP username when it is not the same as email…
solidmetanoia Feb 7, 2022
91c3d2b
updating with EmailAutoHandler parameter info
solidmetanoia Feb 7, 2022
c9c523d
Update Gradle wrapper
ThexXTURBOXx Nov 13, 2022
0b71e86
Update example dependencies
ThexXTURBOXx Nov 13, 2022
77b194c
Update device_info_plus
ThexXTURBOXx Nov 13, 2022
01e48b4
Bump version
ThexXTURBOXx Nov 13, 2022
5ccf7c0
Update dependencies
ThexXTURBOXx Jan 27, 2023
c52263f
Also update dio
ThexXTURBOXx Mar 1, 2023
fb886f1
Update dio properly
ThexXTURBOXx Mar 1, 2023
e7b435a
Update sentry
ThexXTURBOXx Mar 22, 2023
8f2caed
Fix Stack Trace sent to Sentry
ThexXTURBOXx Apr 17, 2023
6093fef
Fix Flutter 3.10-pre implementation
ThexXTURBOXx Apr 17, 2023
d0e8c8e
Better README
ThexXTURBOXx Apr 17, 2023
e65b3ff
Update Changelog
ThexXTURBOXx Apr 17, 2023
f94d5b9
Migrate namespace declaration
ThexXTURBOXx Apr 20, 2023
9c5e501
Update dependencies
ThexXTURBOXx May 10, 2023
5c91db2
Fix SDK 3.x support
ThexXTURBOXx May 12, 2023
75e3cc6
Update constraints
ThexXTURBOXx May 31, 2023
ae44d0b
Fix implementation
ThexXTURBOXx May 31, 2023
0b62fd6
Update dependencies and Flutter again
ThexXTURBOXx Aug 25, 2023
e97dffb
Migrate to new CirrusLabs containers
ThexXTURBOXx Aug 26, 2023
354108c
Fix removed command
ThexXTURBOXx Aug 26, 2023
195420f
Update Gradle again
ThexXTURBOXx Sep 19, 2023
b09892d
Support older Gradle versions again
ThexXTURBOXx Sep 19, 2023
817be99
Update SDK versions
ThexXTURBOXx Sep 19, 2023
52d7cb8
Update task registration
ThexXTURBOXx Sep 19, 2023
8452322
Update example dependencies
ThexXTURBOXx Sep 19, 2023
8100870
Update russian localization_options.dart
Alexqwesa Sep 23, 2023
767eaff
Rebrand to Catcher 2
ThexXTURBOXx Sep 26, 2023
cd1d4af
Remove unnecessary file
ThexXTURBOXx Sep 26, 2023
c73f8a1
Add files back
ThexXTURBOXx Sep 26, 2023
351d7b2
Fix other things as well
ThexXTURBOXx Sep 26, 2023
93cee71
Fix pub badge
ThexXTURBOXx Sep 26, 2023
11981d4
Add funding
ThexXTURBOXx Sep 26, 2023
e74f778
Add disclaimer
ThexXTURBOXx Sep 26, 2023
87961c9
Add security policy
ThexXTURBOXx Sep 26, 2023
3aebf0b
Add alpha migration guide
ThexXTURBOXx Sep 29, 2023
5865f9b
Better issue templates
ThexXTURBOXx Sep 29, 2023
81d25d5
Add missing thing to migration guide
ThexXTURBOXx Sep 29, 2023
5b6b6b5
Bump version and add changelog
ThexXTURBOXx Sep 29, 2023
93a0a22
Better ignores
ThexXTURBOXx Sep 29, 2023
4c5b34f
Merge remote-tracking branch 'solidmetanoia/master'
ThexXTURBOXx Sep 29, 2023
b0b49de
Bump version and add changelog
ThexXTURBOXx Sep 29, 2023
f41843f
Reformat CI file
ThexXTURBOXx Sep 30, 2023
7be5bb3
Add CI badge to README
ThexXTURBOXx Sep 30, 2023
eb411da
Bump version and add changelog
ThexXTURBOXx Oct 8, 2023
a6968ff
Update dependencies and fix lint
ThexXTURBOXx Oct 26, 2023
621170b
Add additional error handlers
ThexXTURBOXx Oct 26, 2023
c653310
Add Flutter version to issue template
ThexXTURBOXx Oct 27, 2023
c97de37
Change initialisation order
ThexXTURBOXx Oct 27, 2023
6860883
Add more documentation
ThexXTURBOXx Oct 27, 2023
06901f3
Bump version and add changelog
ThexXTURBOXx Oct 27, 2023
baaa600
Improve documentation
ThexXTURBOXx Oct 28, 2023
9eb615e
Add error resilience to calls to 3rd party libraries
ThexXTURBOXx Oct 28, 2023
877bc27
Bump version and add changelog
ThexXTURBOXx Oct 28, 2023
3bce9fa
Fix example and bump its dependencies
ThexXTURBOXx Oct 28, 2023
77fcfb8
Even more error resilience for 3rd party libraries
ThexXTURBOXx Oct 28, 2023
fa69ee6
Bump version and add changelog
ThexXTURBOXx Oct 28, 2023
7b98fcc
Remove unnecessary entry from issue template
ThexXTURBOXx Oct 28, 2023
181a370
Fix null path for screenshot manager
narumi147 Oct 28, 2023
72bf3ee
Cleanup in many places
ThexXTURBOXx Oct 28, 2023
d7e2f4a
Bump version and add changelog
ThexXTURBOXx Oct 28, 2023
6332f27
Migrate bug reports to forms
ThexXTURBOXx Nov 2, 2023
040e6f6
Update to Flutter 3.16.0
ThexXTURBOXx Nov 18, 2023
9d60396
Allow new package_info_plus versions
ThexXTURBOXx Nov 22, 2023
d0d9d0f
Ignore WillPopScope deprecations for now
ThexXTURBOXx Nov 22, 2023
021fb9d
Bump version and add changelog
ThexXTURBOXx Nov 22, 2023
e1eb953
Add arabic LocalizationOptions
m7mdra Nov 28, 2023
79268b9
Merge upstream changes
ThexXTURBOXx Dec 10, 2023
fa1492f
Merge remote-tracking branch 'm7mdra/ar-localization_options'
ThexXTURBOXx Dec 10, 2023
d2d96d5
Merge remote-tracking branch 'Alexqwesa/patch-1'
ThexXTURBOXx Dec 10, 2023
48be104
Bump version and add changelog
ThexXTURBOXx Dec 10, 2023
4ecb2dc
Fix stacktrace in console handler
MilovdZee Dec 17, 2023
c18ab90
Fix stacktrace in console handler
ThexXTURBOXx Dec 17, 2023
9238700
Bump version and add changelog
ThexXTURBOXx Dec 17, 2023
16a1b30
Changelog:
anilaydinn Dec 27, 2023
18901c2
Changelog:
anilaydinn Dec 27, 2023
487a890
Clean up report mode support checking
ThexXTURBOXx Jan 6, 2024
9221cb5
add screenshot support for Slack Handler
Jan 17, 2024
e14ab21
add screenshot support for Slack Handler
Jan 18, 2024
6eef6ac
Optimise screenshot handling on Slack
ThexXTURBOXx Jan 22, 2024
d159d58
Add arabic localization options to README
ThexXTURBOXx Jan 22, 2024
0f72b49
Merge remote-tracking branch 'anilaydinn/add-turkish-localization-opt…
ThexXTURBOXx Jan 22, 2024
e99d8a4
Bump version and add changelog
ThexXTURBOXx Jan 22, 2024
ed209a6
Adding support to send screenshot to sentry event logging
Jan 26, 2024
ec96989
Cleaning up screenshot file after submission to sentry
Jan 27, 2024
9917110
Adding runZonedGuarded for web platform to catch asynchronous excepti…
Jan 28, 2024
05f7d0b
Merge pull request #1 from kattalo/feature/run-zone-guarded-for-async
mikeesouth Jan 28, 2024
6eefdf9
Fixing timing of init widgets binding so that both sync and async exc…
Jan 28, 2024
5afc520
Merge pull request #2 from kattalo/fix/init_widget_binding_timing
mikeesouth Jan 28, 2024
b6518da
Fixing sentry release syntax by using an @ sign between appname and v…
Jan 29, 2024
4011085
Merge pull request #3 from kattalo/fix/sentry-release-name
mikeesouth Jan 29, 2024
e806ddb
Fix directive formatting
ThexXTURBOXx Jan 29, 2024
13198d4
Bump version and add changelog
ThexXTURBOXx Jan 29, 2024
5613398
Adding better exception message
Feb 8, 2024
1e2ea8c
Adding configurable server and logger names
Feb 8, 2024
e68bce2
Merge pull request #4 from kattalo/feature/improved-message-and-confi…
mikeesouth Feb 8, 2024
0e4a3de
Lowercasing appname
Feb 10, 2024
2fc033b
Merge pull request #5 from kattalo/fix/lowercase-appname-in-sentry-ha…
mikeesouth Feb 10, 2024
998206c
Support custom file names during runtime
ThexXTURBOXx Feb 13, 2024
0fa2282
Allow file supplier to use info from report
ThexXTURBOXx Feb 13, 2024
c181741
Update CMakeLists
ThexXTURBOXx Feb 13, 2024
49ecd16
Allow sentry versions 8.x
ThexXTURBOXx Feb 13, 2024
817ad78
Bump version and add changelog
ThexXTURBOXx Feb 13, 2024
4d059d5
Update version and fix some typos
mrclauss Feb 17, 2024
79a3902
Undo version upgrade and fix a few more things
ThexXTURBOXx Feb 17, 2024
7afbe94
Fix linter rules for Dart 3.3.0
ThexXTURBOXx Feb 17, 2024
cd4ff74
Bump version and add changelog
ThexXTURBOXx Feb 17, 2024
6020ef7
Update example to newest standards
ThexXTURBOXx Feb 18, 2024
9117bd4
Fix FileHandler not sending reports
ThexXTURBOXx Feb 18, 2024
409a504
Clean up FileHandler
ThexXTURBOXx Feb 18, 2024
b5f0740
Bump version and add changelog
ThexXTURBOXx Feb 18, 2024
01da7a3
Update package_info_plus to v6
bartektartanus Mar 24, 2024
35b46fa
Allow device_info_plus 10.0.0 to be used
ThexXTURBOXx Mar 25, 2024
92f53f9
Bump version and add changelog
ThexXTURBOXx Mar 25, 2024
7cc134b
Update dependencies
ThexXTURBOXx Apr 21, 2024
d139df8
Bump version and add changelog
ThexXTURBOXx Apr 21, 2024
df5c0f0
Allow package_info_plus versions 8.x
ThexXTURBOXx Apr 23, 2024
31f7a13
Bump version and add changelog
ThexXTURBOXx Apr 23, 2024
7388d24
Remove direct dependency on platform interface
ThexXTURBOXx Apr 23, 2024
4ab026c
Migrate Slack screenshots to new API calls
ThexXTURBOXx May 7, 2024
00ace09
Remove superfluous log
ThexXTURBOXx May 7, 2024
15a7a8c
Better example structure
ThexXTURBOXx May 19, 2024
f1b99b9
Update flutter_lints
ThexXTURBOXx May 19, 2024
139e455
Migrate screenshots to XFiles
ThexXTURBOXx May 19, 2024
f260326
Workaround for error catching on Web
ThexXTURBOXx May 19, 2024
44678ac
Merge from upstream 20240520 (#6)
mikeesouth May 20, 2024
27faa09
Merge remote-tracking branch 'upstream/master' into merge-from-upstre…
May 20, 2024
e9fee07
Merge pull request #7 from kattalo/merge-from-upstream-20240520-2
mikeesouth May 20, 2024
63dfb68
Merge remote-tracking branch 'kattalo/master'
ThexXTURBOXx May 20, 2024
8fafc45
Merge #32 and improve a few things
ThexXTURBOXx May 20, 2024
3f9f899
Merge remote-tracking branch 'jhomlala/master'
ThexXTURBOXx Jul 30, 2024
7f4885f
Prepare for 2.0.0 alpha
ThexXTURBOXx Jul 30, 2024
faa2450
Merge remote-tracking branch 'jhomlala/master'
ThexXTURBOXx Jul 30, 2024
ecd3894
Apply proper theme colours
ThexXTURBOXx Jul 30, 2024
8d90b11
Bump version and add changelog
ThexXTURBOXx Jul 30, 2024
08a09eb
Fix analyser issues
ThexXTURBOXx Aug 10, 2024
d31a70c
Update fluttertoast to 8.2.6
ThexXTURBOXx Aug 10, 2024
e1314bb
Bump version and add changelog
ThexXTURBOXx Aug 10, 2024
e6ae86f
Better logging
ThexXTURBOXx Sep 2, 2024
1e3becf
Bump version and add changelog
ThexXTURBOXx Sep 2, 2024
b78047d
Fix example on Android
ThexXTURBOXx Oct 10, 2024
4892d6c
Update dependencies
ThexXTURBOXx Oct 10, 2024
0806595
Fix lint
ThexXTURBOXx Oct 10, 2024
efc9aa9
Bump version and add changelog
ThexXTURBOXx Oct 10, 2024
4957954
Fix logger after updateConfig
ThexXTURBOXx Nov 18, 2024
cac206e
Bump version and add changelog
ThexXTURBOXx Nov 18, 2024
4c20110
Add extra data parameter to reportCheckedError
ThexXTURBOXx Nov 29, 2024
305656d
Bump version and add changelog
ThexXTURBOXx Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: ThexXTURBOXx
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

91 changes: 91 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Bug report
description: Create a bug report to help us improve
title: '[Bug]: <Choose an appropriate title>'
labels:
- bug
assignees:
- ThexXTURBOXx
body:
- type: textarea
attributes:
label: Description
description: A clear and concise description of the problem
placeholder: Currently, I am trying to [...]
validations:
required: true
- type: textarea
attributes:
label: Minimal Reproduction
description: Provide steps to reproduce the problem
placeholder: 'Steps to reproduce the behaviour: [...]'
value: |-
Steps to reproduce the behaviour:

1. Use the following code:
```dart
<Paste your code here>
```
2. [...]
validations:
required: true
- type: textarea
attributes:
label: Exception or Error
description: Provide error logs
placeholder: Copy paste from the log/console
validations:
required: true
- type: textarea
attributes:
label: Expected Behaviour
description: A clear and concise description of what you expected to happen
placeholder: The package should [...]
validations:
required: true
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem
placeholder: You can upload screenshots by drag’n’drop
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here
- type: markdown
attributes:
value: '# Environment'
- type: input
attributes:
label: Device
placeholder: e.g. iPhone 6, Desktop Computer
validations:
required: true
- type: input
attributes:
label: OS
placeholder: e.g. iOS 8.1, Windows 10 21H2
validations:
required: true
- type: input
attributes:
label: Flutter version
placeholder: e.g. 3.13.9
validations:
required: true
- type: input
attributes:
label: catcher_2 version
placeholder: e.g. 1.0.0
validations:
required: true
- type: checkboxes
attributes:
label: Checklist
options:
- label: >-
I have read and followed the **entire**
[README](https://github.com/ThexXTURBOXx/catcher_2/blob/master/README.md)
and it has not provided the solution I need.
required: true
- label: I have provided all the information I can.
required: true
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/compatibility-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Compatibility issue
about: Something is not compatible with the original catcher plugin?
title: ''
labels: compatibility
assignees: ThexXTURBOXx

---

## Description
A clear and concise description of what the issue is.

## To Reproduce
```dart
Code to reproduce the behavior
```

## Expected behavior
A clear and concise description of what you expected to happen.

## Screenshots
If applicable, add screenshots to help explain your problem.

## Device (please complete the following information!)
- Device: [e.g. iPhone 6, Desktop Computer]
- OS: [e.g. iOS 8.1, Windows 10 21H2]
- Browser: [e.g. Stock, Chrome, Safari, Firefox]
- `catcher_2` version: [e.g. 1.0.0]

## Additional context
Add any other context about the problem here.

## Checklist
- [ ] I have read and followed the **entire** [README](https://github.com/ThexXTURBOXx/catcher_2) and it has not provided the solution I need.
- [ ] I have provided all the information I can (incl. auth URL etc.)
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: New issue, enhancement
assignees: jhomlala
title: ''
labels: enhancement
assignees: ThexXTURBOXx

---

**Is your feature request related to a problem? Please describe.**
## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
## Describe the solution you'd like
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
## Additional context
Add any other context or screenshots about the feature request here.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,26 @@ on:

jobs:
check-format:
name: Check format using dart format.
name: Check format using flutter format
runs-on: ubuntu-latest
container: ghcr.io/cirruslabs/flutter:stable

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Flutter Action
uses: subosito/flutter-action@v2
uses: actions/checkout@v4
- name: Check format
run: dart format . --set-exit-if-changed
run: dart format --output=none --set-exit-if-changed .

lint:
name: Lint
runs-on: ubuntu-latest
container: ghcr.io/cirruslabs/flutter:stable

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Flutter Action
uses: subosito/flutter-action@v2
- name: Install Package Dependencies
run: flutter packages get
uses: actions/checkout@v4
- name: Get dependencies for example
run: flutter pub get
working-directory: example
- name: Lint using flutter analyze
run: flutter analyze .
run: flutter analyze
57 changes: 42 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,49 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.dart_tool/
.idea
.atom/
.buildlog/
.gradle/
.history
.svn/
migrate_working_dir/

.packages
.pub/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
example/macos/Flutter/
example/linux/flutter/

android/.gradle
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
pubspec_overrides.yaml
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
flutter_export_environment.sh
*.lock
.vscode
.packages
.pub-cache/
.pub/
/build/
local.properties

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
39 changes: 37 additions & 2 deletions .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,42 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
channel: stable
revision: "b0850beeb25f6d5b10426284f506557f66181b36"
channel: "stable"

project_type: plugin

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: android
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: ios
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: linux
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: macos
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: web
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36
- platform: windows
create_revision: b0850beeb25f6d5b10426284f506557f66181b36
base_revision: b0850beeb25f6d5b10426284f506557f66181b36

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
Loading