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

Release: August 2024 #677

Merged
merged 67 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
ca502dc
fix: auto-save new study to prevent exception on intervention screen
ibrahimozkn Aug 4, 2024
ac0d175
chore: Apply static analysis changes
ibrahimozkn Aug 4, 2024
ac420ea
Merge branch 'dev' into fix/auto-save-new-study
johannesvedder Aug 7, 2024
146c320
Merge pull request #672 from hpi-studyu/fix/auto-save-new-study
ibrahimozkn Aug 9, 2024
3d54c34
chore: bump fvm version
johannesvedder Aug 8, 2024
23002e5
fix: upgrade deps
johannesvedder Aug 8, 2024
f770f91
chore: migrate breaking changes
johannesvedder Aug 8, 2024
acd7277
lint: Apply final newline changes
johannesvedder Aug 8, 2024
437e94e
chore: Apply static analysis changes
johannesvedder Aug 8, 2024
f35888c
Merge pull request #675 from hpi-studyu/chore/flutter-3.24.0
johannesvedder Aug 9, 2024
d48bee2
fix: unique invite code
rajuAhmed1705 Jul 30, 2024
8982b33
fix: unique code
rajuAhmed1705 Aug 1, 2024
86da9b6
lint: Apply final newline changes
rajuAhmed1705 Aug 1, 2024
a8452b2
Revert "fix: unique code"
johannesvedder Aug 8, 2024
dac9422
fix: unique code migration
johannesvedder Aug 8, 2024
6c3adff
fix: check for unique invite codes in designer
johannesvedder Aug 8, 2024
7558c7b
Merge pull request #676 from hpi-studyu/fix/invite-code
johannesvedder Aug 9, 2024
89b1ca1
chore: make fvm optional with melos
johannesvedder Aug 8, 2024
5ba72cf
Merge pull request #674 from hpi-studyu/chore/fvm-melos
johannesvedder Aug 9, 2024
bc8da96
fix: remove min visibility
rajuAhmed1705 Jul 27, 2024
fc97d9b
chore: Apply static analysis changes
rajuAhmed1705 Jul 27, 2024
1cafc94
fix: tooltip message
rajuAhmed1705 Jul 27, 2024
4b4dee7
fix: translation
rajuAhmed1705 Jul 28, 2024
2b05168
fix: remove bar chart if no participant
rajuAhmed1705 Jul 28, 2024
63c964e
fix: sort arrow
rajuAhmed1705 Jul 28, 2024
c724d64
fix: intervention and observation wrong number in table
rajuAhmed1705 Aug 5, 2024
c9c0627
chore: format
rajuAhmed1705 Aug 5, 2024
8733e1b
fix: participant info max intervention and survey count
johannesvedder Aug 9, 2024
9a58bd4
feat: disable invite code creation for public studies
ibrahimozkn Jul 15, 2024
e1b6fb9
chore: melos analyze strictly
johannesvedder Jul 17, 2024
ac4c6b7
chore: db migration file
ibrahimozkn Jul 18, 2024
49ddb70
chore: change policy name
ibrahimozkn Jul 18, 2024
b5d00e4
chore: melos fix
ibrahimozkn Jul 18, 2024
1713494
chore: add migration for updating policy on study_invite table
ibrahimozkn Jul 18, 2024
0c7553c
chore: relocate migration file
ibrahimozkn Jul 20, 2024
805b1fe
fix: grant read and delete permissions for invite codes to editors fo…
ibrahimozkn Jul 22, 2024
46271c2
fix: reset invite codes if study gets published as public
ibrahimozkn Jul 22, 2024
a7ae18f
fix: remove add participant action button from publish success dialog…
ibrahimozkn Jul 22, 2024
79ce367
lint: Apply final newline changes
johannesvedder Jul 25, 2024
a5a85a5
chore: format
johannesvedder Aug 9, 2024
32921b6
chore: Apply static analysis changes
johannesvedder Aug 9, 2024
b98e8b9
fix: translation consistency
ibrahimozkn Aug 9, 2024
87762b8
fix: add close button to launch success dialog (public study)
ibrahimozkn Aug 9, 2024
ed6abf3
fix: style consistency for the close button, update style, and add tr…
ibrahimozkn Aug 11, 2024
d246622
feat: fix translations
johannesvedder Aug 11, 2024
13149fe
style: buttons
johannesvedder Aug 11, 2024
ac3850b
Merge pull request #658 from hpi-studyu/feat/disable-public-study-inv…
ibrahimozkn Aug 12, 2024
9e39491
fix: remove min visibility
rajuAhmed1705 Jul 27, 2024
1dcd14d
chore: Apply static analysis changes
rajuAhmed1705 Jul 27, 2024
4e59828
fix: tooltip message
rajuAhmed1705 Jul 27, 2024
35c0d6e
fix: translation
rajuAhmed1705 Jul 28, 2024
1eec650
fix: remove bar chart if no participant
rajuAhmed1705 Jul 28, 2024
0dfd757
fix: sort arrow
rajuAhmed1705 Jul 28, 2024
3716d0e
fix: intervention and observation wrong number in table
rajuAhmed1705 Aug 5, 2024
2104f22
chore: format
rajuAhmed1705 Aug 5, 2024
3f339e5
fix: participant info max intervention and survey count
johannesvedder Aug 9, 2024
434fabe
fix: overflow issues
johannesvedder Aug 12, 2024
789f778
fix: translation
johannesvedder Aug 12, 2024
ef1828a
Merge branch 'bug/monitoring' of github.com:hpi-studyu/studyu into bu…
ibrahimozkn Aug 12, 2024
491cb51
fix: legend overflow
johannesvedder Aug 12, 2024
ab4e489
Merge branch 'bug/monitoring' of github.com:hpi-studyu/studyu into bu…
ibrahimozkn Aug 12, 2024
97e1fa4
fix: legend spacing
ibrahimozkn Aug 12, 2024
670194f
Merge pull request #669 from hpi-studyu/bug/monitoring
johannesvedder Aug 12, 2024
ae5cb7b
chore(release): publish packages
johannesvedder Aug 12, 2024
dbc190d
chore: lock files
johannesvedder Aug 12, 2024
0670609
ci: set e2e timeout to 30min
johannesvedder Aug 12, 2024
7a6b916
Merge pull request #678 from hpi-studyu/release/20240812
johannesvedder Aug 12, 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
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.22.3"
"flutter": "3.24.0"
}
2 changes: 1 addition & 1 deletion .github/workflows/all_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: melos format

- name: Run analyze
run: melos analyze
run: melos analyze --fatal-infos

- name: Commit changes if any
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
drive_web:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Await potential publishing on Pub.dev
uses: johannesvedder/await-workflow@v1
Expand Down
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,63 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2024-08-12

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`studyu_app` - `v2.7.9`](#studyu_app---v279)
- [`studyu_core` - `v4.4.6`](#studyu_core---v446)
- [`studyu_designer_v2` - `v1.9.0`](#studyu_designer_v2---v190)
- [`studyu_flutter_common` - `v1.8.7`](#studyu_flutter_common---v187)

---

#### `studyu_app` - `v2.7.9`

- **FIX**: upgrade deps.

#### `studyu_core` - `v4.4.6`

- **FIX**: upgrade deps.

#### `studyu_designer_v2` - `v1.9.0`

- **FIX**: legend spacing.
- **FIX**: legend overflow.
- **FIX**: translation.
- **FIX**: overflow issues.
- **FIX**: participant info max intervention and survey count.
- **FIX**: intervention and observation wrong number in table.
- **FIX**: sort arrow.
- **FIX**: remove bar chart if no participant.
- **FIX**: translation.
- **FIX**: tooltip message.
- **FIX**: remove min visibility.
- **FIX**: style consistency for the close button, update style, and add translation.
- **FIX**: add close button to launch success dialog (public study).
- **FIX**: translation consistency.
- **FIX**: remove add participant action button from publish success dialog for public studies.
- **FIX**: reset invite codes if study gets published as public.
- **FIX**: check for unique invite codes in designer.
- **FIX**: upgrade deps.
- **FIX**: enable atLeastOneTask for intervention again".
- **FIX**: auto-save new study to prevent exception on intervention screen.
- **FEAT**: fix translations.
- **FEAT**: disable invite code creation for public studies.

#### `studyu_flutter_common` - `v1.8.7`

- **FIX**: upgrade deps.


## 2024-07-24

### Changes
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ Languages & Frameworks -> Flutter -> Flutter SDK path and set the path to the F
(`<path to the studyu repository>/.fvm/flutter_sdk`). For VS Code, have a look at
the [FVM documentation](https://fvm.app/documentation/guides/vscode).

Using FVM with melos requires setting the `MELOS_SDK_PATH` environment variable to the path of the
FVM Flutter SDK. This can be done by running `export MELOS_SDK_PATH=.fvm/flutter_sdk` in the
terminal. This is needed to ensure that melos uses the correct Flutter SDK version.

## Database and Backend

We are using a self-hosted instance of [Supabase](https://supabase.com/) as a
Expand Down
4 changes: 4 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.7.9

- **FIX**: upgrade deps.

## 2.7.8

- **FIX**: safety check.
Expand Down
22 changes: 11 additions & 11 deletions app/android/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.957.0)
aws-sdk-core (3.201.2)
aws-partitions (1.962.0)
aws-sdk-core (3.201.3)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.88.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.156.0)
aws-sdk-s3 (1.157.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.8.0)
aws-sigv4 (1.9.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
Expand Down Expand Up @@ -60,15 +60,15 @@ GEM
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http (1.0.2)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.3.1)
fastlane (2.221.1)
fastlane (2.222.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
Expand Down Expand Up @@ -126,7 +126,7 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.7.0)
google-cloud-core (1.7.1)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
Expand Down Expand Up @@ -164,14 +164,14 @@ GEM
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (6.0.0)
public_suffix (6.0.1)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.9)
rexml (3.3.4)
strscan
rouge (2.0.7)
ruby2_keywords (0.0.5)
Expand All @@ -197,13 +197,13 @@ GEM
uber (0.1.0)
unicode-display_width (2.5.0)
word_wrap (1.0.0)
xcodeproj (1.24.0)
xcodeproj (1.25.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
rexml (>= 3.3.2, < 4.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1)
Expand Down
10 changes: 5 additions & 5 deletions app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ PODS:
- record_darwin (1.0.0):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (8.30.1)
- sentry_flutter (8.4.0):
- Sentry/HybridSDK (8.32.0)
- sentry_flutter (8.6.0):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 8.30.1)
- Sentry/HybridSDK (= 8.32.0)
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
Expand Down Expand Up @@ -129,8 +129,8 @@ SPEC CHECKSUMS:
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
record_darwin: df0a677188e5fed18472550298e675f19ddaffbe
Sentry: 514a3ea653886e9a48c6287d8b7bf05ec24bf3be
sentry_flutter: edc037f7af0dc1512d6c33a5c2c7c838bd0d6806
Sentry: 96ae1dcdf01a644bc3a3b1dc279cecaf48a833fb
sentry_flutter: 090351ce1ff5f96a4b33ef9455b7e3b28185387d
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
Expand Down
2 changes: 1 addition & 1 deletion app/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Flutter
import UIKit
import flutter_local_notifications

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
3 changes: 2 additions & 1 deletion app/lib/screens/app_onboarding/loading_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ class _LoadingScreenState extends State<LoadingScreen> {
}
} catch (exception) {
debugPrint(
"Could not login and retrieve the study subject: $exception");
"Could not login and retrieve the study subject: $exception",
);
if (exception is SocketException) {
subject = await Cache.loadSubject();
StudyULogger.info("Offline mode with cached subject: $subject");
Expand Down
53 changes: 28 additions & 25 deletions app/lib/util/notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,31 +126,34 @@ class StudyNotifications {
void _configureDidReceiveLocalNotificationSubject() {
didReceiveLocalNotificationStream.stream
.listen((ReceivedNotification receivedNotification) async {
await showDialog(
context: context,
builder: (BuildContext context) => CupertinoAlertDialog(
title: receivedNotification.title != null
? Text(receivedNotification.title!)
: null,
content: receivedNotification.body != null
? Text(receivedNotification.body!)
: null,
actions: <Widget>[
CupertinoDialogAction(
isDefaultAction: true,
onPressed: () async {
Navigator.of(context, rootNavigator: true).pop();
await Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (BuildContext context) => const DashboardScreen(),
),
);
},
child: const Text('Ok'),
),
],
),
);
if (context.mounted) {
await showDialog(
context: context,
builder: (BuildContext context) => CupertinoAlertDialog(
title: receivedNotification.title != null
? Text(receivedNotification.title!)
: null,
content: receivedNotification.body != null
? Text(receivedNotification.body!)
: null,
actions: <Widget>[
CupertinoDialogAction(
isDefaultAction: true,
onPressed: () async {
Navigator.of(context, rootNavigator: true).pop();
await Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (BuildContext context) =>
const DashboardScreen(),
),
);
},
child: const Text('Ok'),
),
],
),
);
}
});
}

Expand Down
Loading
Loading