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

[Auto] Release Candidate #190

Merged
merged 41 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
04b6cf5
adding ability to show the raw exception information on login errors
ouchadam Sep 30, 2022
c05fe5a
allowing the profile call to continue when receiving a 404 instead o…
ouchadam Oct 1, 2022
7ca0224
extracting me fetching logic to its own usecase and testing
ouchadam Oct 1, 2022
bce7a98
updating to latest material3 lib
ouchadam Sep 30, 2022
6989c13
adding swiping to start reply process
ouchadam Sep 30, 2022
d03cadb
moving the hint state to the field decoration
ouchadam Sep 30, 2022
94a0589
flattening box layer
ouchadam Sep 30, 2022
6cf0df7
adding sliding reply animation
ouchadam Sep 30, 2022
0034ddf
adding barebones styling to the reply box
ouchadam Sep 30, 2022
bccf947
ignoring nulls unless explicitly declared in the api models, passing …
ouchadam Sep 30, 2022
81f15c4
adding support for sending replies
ouchadam Sep 30, 2022
1c0f51c
fixing test compilation error
ouchadam Oct 1, 2022
955c615
removing unused field
ouchadam Oct 1, 2022
2162e85
removing redundant serializable
ouchadam Oct 1, 2022
d67d1ed
replacing sealed class with interface
ouchadam Oct 1, 2022
ae693f7
supporting local echos for text replies
ouchadam Oct 1, 2022
2f9bcb8
allowing the canonical alias to be null when parsing the sync response
ouchadam Oct 2, 2022
8d7a15e
adding button to dismiss inprogress reply
ouchadam Oct 2, 2022
7f9f761
using bubble colour with alpha for the reply background + some tweaks…
ouchadam Oct 2, 2022
906ec48
styling the inline composer rely to match the reply messages
ouchadam Oct 2, 2022
2bb2091
switching to lazy variant configuration
ouchadam Oct 2, 2022
2110667
computing the image size before sending to allow it to be used in loc…
ouchadam Oct 1, 2022
55cdedd
avoiding sync event updates from other rooms
ouchadam Oct 1, 2022
78c62ab
avoiding duplicated room event emissions when watching a specific roo…
ouchadam Oct 1, 2022
0450dc8
extracting flow extension for starting and ignoring future emissions
ouchadam Oct 2, 2022
abcf319
fixing test harness compilation error
ouchadam Oct 2, 2022
3f1fec1
updating sync service fake to reflect events by roomid change
ouchadam Oct 2, 2022
86d41fd
providing a custom initial device display name
ouchadam Oct 2, 2022
47be485
avoiding recreating navigation callback on recomposition
ouchadam Oct 2, 2022
a1460b3
avoiding recalculating static toolbar height
ouchadam Oct 2, 2022
215695a
fixing random device id generator starting with the same values
ouchadam Oct 2, 2022
f8783fd
allowing the prefetching of local echos to fail
ouchadam Oct 2, 2022
ec608fd
Bump ktorVer from 2.1.1 to 2.1.2
dependabot[bot] Oct 3, 2022
768cbc7
Bump coil-compose from 2.2.1 to 2.2.2
dependabot[bot] Oct 3, 2022
e884d09
Merge pull request #186 from ouchadam/dependabot/gradle/io.coil-kt-co…
ouchadam Oct 4, 2022
a930cfb
Merge pull request #185 from ouchadam/dependabot/gradle/ktorVer-2.1.2
ouchadam Oct 4, 2022
94c90ed
auto rebasing isn't working correctly, reverting to merges
ouchadam Oct 4, 2022
04f1dfe
Merge branch 'main' of github.com:ouchadam/helium
ouchadam Oct 4, 2022
0a982ff
stripping out more html tags from text
ouchadam Oct 4, 2022
1e060da
fixing wrong in progress reply text colour for material you
ouchadam Oct 5, 2022
c056a35
updating version for release
ouchadam Oct 6, 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
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ext.Dependencies.with {
def kotlinVer = "1.7.10"
def sqldelightVer = "1.5.3"
def composeVer = "1.2.1"
def ktorVer = "2.1.1"
def ktorVer = "2.1.2"

google = new DependenciesContainer()
google.with {
Expand Down Expand Up @@ -140,7 +140,7 @@ ext.Dependencies.with {
ktorJava = "io.ktor:ktor-client-java:${ktorVer}"
ktorContentNegotiation = "io.ktor:ktor-client-content-negotiation:${ktorVer}"

coil = "io.coil-kt:coil-compose:2.2.1"
coil = "io.coil-kt:coil-compose:2.2.2"
accompanistSystemuicontroller = "com.google.accompanist:accompanist-systemuicontroller:0.25.1"

junit = "junit:junit:4.13.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,12 +674,12 @@ private fun TextComposer(state: ComposerState.Text, onTextChange: (String) -> Un
fontSize = 11.sp,
text = replyName,
maxLines = 1,
color = SmallTalkTheme.extendedColors.onSelfBubble
color = SmallTalkTheme.extendedColors.onOthersBubble
)

Text(
text = it.content,
color = SmallTalkTheme.extendedColors.onSelfBubble,
color = SmallTalkTheme.extendedColors.onOthersBubble,
fontSize = 14.sp,
maxLines = 2,
modifier = Modifier.wrapContentSize(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,17 @@ fun String.stripTags() = this
}
.trim()
.replaceLinks()
.replace("<em>", "")
.replace("</em>", "")
.removeTag("p")
.removeTag("em")
.removeTag("strong")
.removeTag("code")
.removeTag("pre")
.replace("&quot;", "\"")
.replace("&#39;", "'")
.replace("<br />", "\n")
.replace("<br/>", "\n")

private fun String.removeTag(name: String) = this.replace("<$name>", "").replace("/$name>", "")

private fun String.replaceLinks(): String {
return this.indexOfOrNull("<a href=")?.let { start ->
Expand Down
2 changes: 1 addition & 1 deletion tools/beta-release/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const enablePrAutoMerge = async (github, prNodeId) => {
`,
{
pullRequestId: prNodeId,
mergeMethod: "REBASE"
mergeMethod: "MERGE"
}
)
}
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"code": 20,
"name": "03/10/2022-V1"
"code": 21,
"name": "06/10/2022-V1"
}