Merge branch 'main' into fix-jagged-avatar-edges
This commit is contained in:
commit
43853417d5
4 changed files with 12 additions and 30 deletions
26
.github/workflows/matrix_notification.yaml
vendored
26
.github/workflows/matrix_notification.yaml
vendored
|
|
@ -1,26 +0,0 @@
|
||||||
name: Matrix Notification
|
|
||||||
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [ opened ]
|
|
||||||
issue_comment:
|
|
||||||
types: [ created ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
notify:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Send Matrix Notification
|
|
||||||
env:
|
|
||||||
MATRIX_URL: https://matrix.janian.de/_matrix/client/v3/rooms/${{ secrets.MATRIX_MANAGEMENT_ROOM }}/send/m.room.message
|
|
||||||
run: |
|
|
||||||
if [ "${{ github.event.action }}" == "opened" ]; then
|
|
||||||
PAYLOAD="{\"msgtype\": \"m.notice\", \"body\": \"New Issue from ${{ github.event.issue.user.login }}\\n${{ github.event.issue.title }}\\n\\n${{ github.event.issue.body }}\\n\\nURL: ${{ github.event.issue.html_url }}\"}"
|
|
||||||
elif [ "${{ github.event.action }}" == "created" ]; then
|
|
||||||
PAYLOAD="{\"msgtype\": \"m.notice\", \"body\": \"New Comment from ${{ github.event.comment.user.login }}\\n\\n${{ github.event.comment.body }}\\n\\nURL: ${{ github.event.comment.html_url }}\"}"
|
|
||||||
fi
|
|
||||||
curl -X POST -H "Authorization: Bearer ${{ secrets.MATRIX_BOT_TOKEN }}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "$PAYLOAD" \
|
|
||||||
$MATRIX_URL
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
- chore: Use Cupertino Activity Indicator in ChatEventList (krille-chan)
|
- chore: Use Cupertino Activity Indicator in ChatEventList (krille-chan)
|
||||||
- chore: Use other join endpoint for room upgrades (Krille)
|
- chore: Use other join endpoint for room upgrades (Krille)
|
||||||
- fix(macos): update dependencies to make the build work (Rafał Hirsch)
|
- fix(macos): update dependencies to make the build work (Rafał Hirsch)
|
||||||
- fix: Add missing <s> html tag to render (Krille)
|
- fix: Add missing \<s> html tag to render (Krille)
|
||||||
- fix: Consistent element padding between server picker and login view (xegim)
|
- fix: Consistent element padding between server picker and login view (xegim)
|
||||||
- fix: Index of numbered lists are off (Krille)
|
- fix: Index of numbered lists are off (Krille)
|
||||||
- fix: never use a transition on the shell route (Rafał Hirsch)
|
- fix: never use a transition on the shell route (Rafał Hirsch)
|
||||||
|
|
|
||||||
|
|
@ -422,11 +422,14 @@ class Message extends StatelessWidget {
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding:
|
||||||
const EdgeInsets.only(
|
const EdgeInsets.only(
|
||||||
top: 4.0,
|
bottom: 8.0,
|
||||||
|
left: 16.0,
|
||||||
|
right: 16.0,
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize:
|
mainAxisSize:
|
||||||
MainAxisSize.min,
|
MainAxisSize.min,
|
||||||
|
spacing: 4.0,
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
Icons.edit_outlined,
|
Icons.edit_outlined,
|
||||||
|
|
@ -435,11 +438,15 @@ class Message extends StatelessWidget {
|
||||||
size: 14,
|
size: 14,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
' - ${displayEvent.originServerTs.localizedTimeShort(context)}',
|
displayEvent
|
||||||
|
.originServerTs
|
||||||
|
.localizedTimeShort(
|
||||||
|
context,
|
||||||
|
),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: textColor
|
color: textColor
|
||||||
.withAlpha(164),
|
.withAlpha(164),
|
||||||
fontSize: 12,
|
fontSize: 11,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh -ve
|
#!/bin/sh -ve
|
||||||
git apply ./scripts/enable-android-google-services.patch
|
git apply ./scripts/enable-android-google-services.patch
|
||||||
|
yq eval '.dependencies.fcm_shared_isolate = "0.1.0"' -i pubspec.yaml # Workaround: 0.2.0 does not work on iOS
|
||||||
flutter clean
|
flutter clean
|
||||||
flutter pub get
|
flutter pub get
|
||||||
cd ios
|
cd ios
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue