1
0
Fork 1
Commit graph

7609 commits

Author SHA1 Message Date
Arne
adb078c9a8 Move quote code to quote helper (Cheogram) 2023-05-05 10:36:58 +02:00
Arne
4fc935327d No context menu header, allow copy/quote on text+image message 2023-05-05 10:32:06 +02:00
Arne
7c0276f958 Replace HTML QuoteSpan with Cheograms 2023-05-05 10:09:41 +02:00
Daniel Gultsch
de2b8c4935 remember bound stream features. fixes #45
(cherry picked from commit aa8e0b3c4d97cb3cf47e9214610a3dc4eda4cd6a)
2023-05-04 18:27:09 +02:00
Arne
75d75269d7 Avoid sending default Android user agent when downloading attachments closes #75 2023-05-04 18:24:28 +02:00
Arne
971b9d86fb remove redundant string files 2023-05-01 20:31:00 +02:00
Arne-Brün Vogelsang
f5577a09e5 Merge pull request 'Update spanish string' (#72) from Pirujo/monocles_chat_translate:pirujo-patch-retract into master
Reviewed-on: https://codeberg.org/Arne/monocles_chat/pulls/72
2023-04-30 18:15:15 +00:00
Arne
b69f0e8fdc prepare 1.6.5 2023-04-27 19:26:57 +02:00
Pirujo
566081f691 Update spanish string
Update spanish string for retract_message
2023-04-25 06:59:20 +00:00
Pirujo
2bab48ac13 Merge pull request 'master' (#12) from Arne/monocles_chat:master into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/12
2023-04-25 06:56:54 +00:00
Arne
0363c30f4a Improve MessageGenerator 2023-04-24 11:22:42 +02:00
Arne
04b2c90020 improve getBody in Message.java 2023-04-24 11:04:06 +02:00
Arne
3b7463baaa experimental emoji reply is reaction 2023-04-24 10:46:41 +02:00
Arne-Brün Vogelsang
6f923b460c Merge pull request 'Update spanish string' (#71) from Pirujo/monocles_chat_translate:pirujo-patch-note into master
Reviewed-on: https://codeberg.org/Arne/monocles_chat/pulls/71
2023-04-18 10:37:20 +00:00
Pirujo
4aaaddfc39 Merge pull request 'Update spanish string' (#11) from pirujo-patch-note into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/11
2023-04-17 07:57:31 +00:00
Pirujo
72dfd7eb7c Update spanish strings
Update spanish string
2023-04-17 07:56:26 +00:00
Pirujo
58195bedb4 Merge pull request 'master' (#10) from Arne/monocles_chat:master into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/10
2023-04-17 07:47:09 +00:00
Arne
130db44995 1.6.4 + fastlane 2023-04-16 17:37:59 +02:00
Arne
bbbcac8084 bugfix disappeared OMEMO messages 2023-04-16 17:30:41 +02:00
Arne
e66b00db42 shorten German string Notiz an mich 2023-04-16 16:25:08 +02:00
Arne
a9b65ee258 add string "note to self" + German string 2023-04-16 16:24:41 +02:00
Arne
3afb9a1eec add old magic create for registration on other public providers 2023-04-06 21:06:36 +02:00
Arne
dbb58914bc correct build config 2023-04-04 19:32:35 +02:00
Arne
f4e3b03b0a fix fastlane 2023-04-04 13:58:11 +02:00
Arne
5d356ef447 fix versioncode 2023-04-04 13:51:44 +02:00
Arne-Brün Vogelsang
b7358579b0 Merge pull request 'Update spanish strings' (#70) from Pirujo/monocles_chat_translate:pirujo-patch-call into master
Reviewed-on: https://codeberg.org/Arne/monocles_chat/pulls/70
2023-04-04 11:41:40 +00:00
Pirujo
767ea8e0a1 Merge pull request 'Update spanish strings' (#9) from pirujo-patch-call into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/9
2023-04-04 08:08:30 +00:00
Pirujo
c9812c94f1 Update spanish strings
Update spanish strings
2023-04-04 08:08:02 +00:00
Pirujo
0ed19d09f3 Merge pull request 'master' (#8) from Arne/monocles_chat:master into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/8
2023-04-04 08:04:45 +00:00
Daniel Gultsch
459d253991 play dial tones on STREAM_MUSIC when phone is silent
when the phone is silent only the first ~three tones are played when
attempting to play out the tone over STREAM_VOICE_CALL

it’s unclear exactly why this is the case (in the past we went back and forth
between STREAM_VOICE_CALL and STREAM_MUSIC) exactly to fix issues around silent
mode.
Apparently we failed to test this past three sounds.

This commit changes the stream back to music - but not generally as this was in
the past - but only for when the phone is on silent

(cherry picked from commit 91877394507b6464cabb15cfa078cdcffed8ff35)
2023-04-03 17:48:13 +02:00
Daniel Gultsch
0afb56fc2a lock call activity in portrait mode during audio call
(cherry picked from commit d38c264e7de716f8038dcdc6a6407046fda62fc4)
2023-04-03 17:48:08 +02:00
Daniel Gultsch
4ede058072 put timestamp in all call logs 2023-04-03 17:48:00 +02:00
Pirujo
e6fd87a2ce Merge pull request 'master' (#7) from Arne/monocles_chat:master into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/7
2023-04-03 07:00:18 +00:00
Arne
2fc5802be9 fastlane changelog 2023-04-02 20:10:29 +02:00
Arne
e5ee09cbea change monocles registration link and more site 2023-04-02 20:06:19 +02:00
Hugh Daschbach
2801211e0c Fix ColorResourcesTableCreator creation exception.
A java.lang.ArrayIndexOutOfBoundsException is thrown the third,
and subsequent times, ThemeHelper.applyCustomColors() is called.

,----
| java.lang.ArrayIndexOutOfBoundsException: src.length=128 srcPos=0 dst.length=131 dstPos=2 length=-128
`----

One way to trigger this is to call
ConversationsOverviewFragment.onStart() three times.  For example,
open the app then, three dot menu -> Settings, back, three dot menu ->
Settings, back.

The exception is raised at line ColorResourcesTableCreator.java:616.
So, stringToByteArrayUtf8() is ill prepared to deal with a string
longer than 127 bytes.

While the cast to signed byte is the immediate cause of the exception,
the root cause is growth of the ColorResource name string as the
package name is prepended to the color resource name on each pass
through ColorResourceTableCreator.create().  Using
Resource.getResourceEntryName() instead of Resource.getResourceName()
prevents this.

For the record, here’s the Exception stack trace:

2023-03-23 23:18:34.592   622-622   ColorResou...derCreator com.cheogram.android                 E  Failed to create the ColorResourcesTableCreator.
                                                                                                    java.lang.ArrayIndexOutOfBoundsException: src.length=128 srcPos=0 dst.length=131 dstPos=2 length=-128
                                                                                                    	at java.lang.System.arraycopy(Native Method)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator.stringToByteArrayUtf8(ColorResourcesTableCreator.java:616)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator.access$800(ColorResourcesTableCreator.java:40)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator$StringPoolChunk.processString(ColorResourcesTableCreator.java:299)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator$StringPoolChunk.<init>(ColorResourcesTableCreator.java:223)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator$PackageChunk.<init>(ColorResourcesTableCreator.java:347)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator$ResTable.<init>(ColorResourcesTableCreator.java:140)
                                                                                                    	at com.cheogram.android.ColorResourcesTableCreator.create(ColorResourcesTableCreator.java:114)
                                                                                                    	at com.cheogram.android.ColorResourcesLoaderCreator.create(ColorResourcesLoaderCreator.java:45)
                                                                                                    	at eu.siacs.conversations.utils.ThemeHelper.applyCustomColors(ThemeHelper.java:67)
                                                                                                    	at eu.siacs.conversations.ui.ConversationsActivity.onStart(ConversationsActivity.java:658)
                                                                                                    	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1455)
                                                                                                    	at android.app.Activity.performStart(Activity.java:8076)
                                                                                                    	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3660)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

(cherry picked from commit bdafe2ca8f95fc8702d07008838140f09191bf1d)
2023-03-29 20:23:37 +02:00
Stephen Paul Weber
4ff2fb2be8 improved russian strings 2023-03-23 21:29:32 +01:00
Arne
5e54086419 adding monocles.eu support site 2023-03-21 21:35:06 +01:00
Arne
cb68870a8a Add system name and groups when adding a contact for the first time 2023-03-21 21:22:22 +01:00
Stephen Paul Weber
54090018a6 Dedup across system tags and server tags 2023-03-21 21:15:02 +01:00
Stephen Paul Weber
6999f0974e If we get here with 0 resources to call, don't make the user pick one and then crash
(cherry picked from commit 2c167b163f9eb55264eb74a4b1782c894de8e9a3)
2023-03-21 21:12:24 +01:00
Arne
fb11fdce66 correct czech string hostname_example 2023-03-21 21:07:20 +01:00
Arne
4364125698 improved czech translation 2023-03-21 16:09:34 +01:00
Arne
5c51e15b4b permission fix 2023-03-20 15:26:05 +01:00
Arne
7fd58ce39b refractor PermissionsActivity and code cleanup + sdk 33 2023-03-20 14:51:46 +01:00
Pirujo
c6708d85a5 Merge pull request 'master' (#6) from Arne/monocles_chat:master into master
Reviewed-on: https://codeberg.org/Pirujo/monocles_chat_translate/pulls/6
2023-03-20 09:17:28 +00:00
Arne
796c5bbaf8 remove beta 2023-03-20 04:34:39 +01:00
Arne
d66dff2ecc beta 1.6.3 2023-03-20 03:33:03 +01:00
Arne
08c7c2ae76 fix IO exception FileBackend 2023-03-20 03:09:43 +01:00
Arne
9adc66a858 compileSdkVersion 33 2023-03-20 00:18:52 +01:00