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

Implement attachments saving (#11) #12

Merged
merged 47 commits into from
Sep 16, 2022
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
29f616d
Bootstrap attachments saving
krida2000 Jun 22, 2022
78b0feb
Add changelog
krida2000 Jun 22, 2022
2564313
Corrections
krida2000 Jun 22, 2022
9312738
Add downloading canceling
krida2000 Jun 23, 2022
6398dd5
Fix fmt
krida2000 Jun 23, 2022
17e59ce
Corrections
krida2000 Jun 24, 2022
87f6872
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Jun 24, 2022
adb8825
Merge correction
krida2000 Jun 24, 2022
efd3efe
Try to fix ci
krida2000 Jun 24, 2022
2cfbac9
Another try
krida2000 Jun 24, 2022
83393d9
Corrections [skip ci]
SleepySquash Jul 4, 2022
ea991fd
Update gitignore
krida2000 Aug 3, 2022
a122faf
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 3, 2022
f6c39af
Merge remote-tracking branch 'origin/11-attachments-saving' into 11-a…
krida2000 Aug 3, 2022
2c8c46f
Corrections
krida2000 Aug 4, 2022
2554a45
Corrections
krida2000 Aug 5, 2022
96faa3a
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 5, 2022
e0b91d3
Fix unit test
krida2000 Aug 5, 2022
2da5558
Final corrections
krida2000 Aug 5, 2022
3dfd22c
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 5, 2022
a829b47
Fix pubspec
krida2000 Aug 5, 2022
b214dc7
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 5, 2022
f1f683c
Fix pubspec.lock
krida2000 Aug 5, 2022
277a9c2
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 19, 2022
b4a88db
Add local attachments path saving
krida2000 Aug 19, 2022
37df250
Fix fmt
krida2000 Aug 19, 2022
b7e768c
Fix e2e test
krida2000 Aug 22, 2022
31ee69f
E2e test fix
krida2000 Aug 22, 2022
d2eb72d
Final correction
krida2000 Aug 22, 2022
b07427a
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
krida2000 Aug 22, 2022
568af39
Corrections
krida2000 Aug 22, 2022
2ffd8c0
Minor correction
krida2000 Aug 22, 2022
79c3abb
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
SleepySquash Sep 12, 2022
fc2724c
Corrections
SleepySquash Sep 13, 2022
4952203
Corrections
krida2000 Sep 15, 2022
e0237fd
Fix formater
krida2000 Sep 15, 2022
86bbd0f
Fix e2e tests
krida2000 Sep 15, 2022
96ddd73
Corrections
SleepySquash Sep 16, 2022
aabf872
Merge remote-tracking branch 'origin/main' into 11-attachments-saving
SleepySquash Sep 16, 2022
c53a53d
Fix `PreciseDateTime.subtract`
SleepySquash Sep 16, 2022
7150aac
Corrections
SleepySquash Sep 16, 2022
95924d0
Fix documentation
SleepySquash Sep 16, 2022
a9572ff
Final corrections
SleepySquash Sep 16, 2022
87ba8e2
Add entitlements to macOS
SleepySquash Sep 16, 2022
12a3cba
Revert `_initLocalSubscription` changes
SleepySquash Sep 16, 2022
8ffb7fa
Merge branch 'main' into 11-attachments-saving
tyranron Sep 16, 2022
2a7e4d3
Minor corrections
tyranron Sep 16, 2022
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
Prev Previous commit
Next Next commit
Fix e2e tests
krida2000 committed Sep 15, 2022
commit 86bbd0fc8d5136602910b7a9baa6639a40a8caa8
16 changes: 10 additions & 6 deletions test/e2e/parameters/downloading_status.dart
Original file line number Diff line number Diff line change
@@ -25,15 +25,19 @@ class DownloadingStatusParameter extends CustomParameter<DownloadingStatus> {
RegExp(
'(${DownloadingStatus.values.map(
(e) => e.name.replaceAllMapped(
r'[A-Z]',
(match) => ' ${match.input.toLowerCase()}',
RegExp(r'[A-Z]'),
(match) => ' ${match[0]!.toLowerCase()}',
),
).join('|')})',
caseSensitive: true,
),
(c) => DownloadingStatus.values.firstWhere((e) =>
e.name.replaceAllMapped(
r' \w', (match) => match.input.toUpperCase()) ==
c),
(c) {
return DownloadingStatus.values.firstWhere(
(e) =>
e.name ==
c.replaceAllMapped(RegExp(r' \w'),
(match) => match[0]!.trim().toUpperCase()),
);
},
);
}