Commit Graph

3933 Commits

Author SHA1 Message Date
adbenitez b60b3537cb Merge remote-tracking branch 'upstream/master' 2021-08-25 19:46:52 -04:00
B. Petersen ac5d8dc5d0 tweak upload-testrun script 2021-08-25 12:01:36 +02:00
bjoern 847faedd7b prepare 1.22.1 (#2041)
* update changelog for 1.22.1

* bump version to 1.22.1
2021-08-25 10:44:32 +02:00
B. Petersen db4feb7282 update translations 2021-08-24 15:06:56 +02:00
B. Petersen 13e2a22277 update translations 2021-08-24 12:47:46 +02:00
adbenitez 22f0cb0d7a avoid loading content from network in html.zip viewer 2021-08-23 18:21:02 -04:00
adbenitez ca150da128 Merge remote-tracking branch 'upstream/master' 2021-08-23 17:40:13 -04:00
B. Petersen 75af8159c0 typo: it is not 'Learn Apeeling' :D 2021-08-23 12:12:15 +02:00
B. Petersen f7c22e60b7 update translations 2021-08-23 12:09:13 +02:00
adbenitez d46c95c9e5 Merge remote-tracking branch 'upstream/master' 2021-08-21 15:19:08 -04:00
B. Petersen da6ed26820 fix typo 2021-08-21 16:57:03 +02:00
bjoern b50463c2b2 prepare 1.22.0 (#2038)
* update changelog for 1.22.0

* bump version to 1.22.0

* add #2034 to CHANGELOG
2021-08-20 23:34:44 +02:00
adbenitez 659a017168 Merge remote-tracking branch 'upstream/master' 2021-08-20 16:59:07 -04:00
bjoern 5b937b5653 profile: show tab containing 'status' for device chat (#2039)
the device chat's status contains some useful information
since https://github.com/deltachat/deltachat-core-rust/pull/2613 -
unfortunately, the whole tab was hidden on android.

ios and desktop should be fine in this regard.
2021-08-20 22:56:28 +02:00
B. Petersen 34513086b4 update translations 2021-08-20 21:56:08 +02:00
adbenitez 5df3039ab5 Merge remote-tracking branch 'upstream/master' 2021-08-20 15:17:02 -04:00
adbenitez d75d8888ce tweak device messages 2021-08-20 15:13:09 -04:00
adbenitez 099f4a33d0 add more kaomojis 2021-08-20 15:01:26 -04:00
adbenitez 662f61b6c2 tweak update message 2021-08-20 13:58:28 -04:00
adbenitez 4f37d11ef5 Merge remote-tracking branch 'upstream/master' 2021-08-20 13:54:22 -04:00
B. Petersen 519958e88c update deltachat-core-rust submodule 2021-08-20 18:20:32 +02:00
B. Petersen 95bb578d15 update translations 2021-08-20 18:09:13 +02:00
bjoern ed1b363d70 add device message for 1.22 (#2036)
* add device message for 1.22

* adapt 1.22 device message for ios, for desktop, update_1_22 could fit (or we can add another later)
2021-08-20 17:58:27 +02:00
adbenitez 1feba7bd3c update version name 2021-08-19 16:18:36 -04:00
adbenitez a8d52fe7fc don't add /web command 2021-08-19 16:14:13 -04:00
adbenitez f5b2ec498f Merge remote-tracking branch 'upstream/master' 2021-08-19 12:42:44 -04:00
Hocuri 1222e6fc90 Remove RequiresApi(19) annotation on ScribbleActivity (#2033)
These annotations don't actually have an effect, but they lead to an
error (not a warning) being shown in Android Studio. It still compiles
fine, though.

The line `case ScribbleActivity.SCRIBBLE_REQUEST_CODE:` in
ConversationActivity was therefore shown as an error all the time, which
was really annoying.

The alternative would be to suppress the error in ConversationActivity.
2021-08-17 23:15:11 +02:00
bjoern a08f8ed527 hide 'search' option in connectivity view (#2035)
it is currently just not needed for a dialog-style html-page,
but raises the question what can be searched here.

if it turns out a search function becomes useful,
we can easily re-add it.
2021-08-17 23:12:53 +02:00
Hocuri e2b2d6bea4 [WIP] Fix "Can't edit shared image" (#2034)
Fix #2032

The problem was that after returning from the image editor, `doReinitializeDraft` was true and therefore we the draft was reinitialized to the originally shared, unedited image.

This was introduced in
https://github.com/deltachat/deltachat-android/pull/1770. I im pretty
sure that what I changed is fine, but we had so many regressions in the
past in this area that we should thoroughly test this change before
merging.

I extended
https://github.com/deltachat/interface/edit/master/user-testing/mailto-links.md
a bit; before merging this PR we should test that everything there still
works.
2021-08-16 12:39:58 +02:00
adbenitez 076b1b893b add more kaomoji 2021-08-13 18:58:24 -04:00
adbenitez f361e928cb Merge remote-tracking branch 'upstream/master' 2021-08-12 15:08:48 -04:00
Asiel Díaz Benítez ffd58739ed Merge pull request #2027 from deltachat/adb-issue-1992
reload adapter's dcChat when chat is modified
2021-08-12 15:05:30 -04:00
Hocuri b8cbc6d3b0 Add some @NonNull annotations, remove unused method (#2028)
This was in an attempt to find the cause for #2026. I didn't succeed,
but this is an improvement, anyway.
2021-08-11 23:13:12 +02:00
Hocuri f7b74e4963 Add simple benchmark & a test framework (#2022)
See #2019, #2020 and #2021 for failed attempts at using a benchmark framework. So, for now I'll just go with timing the results manually. 

For trying this out:
- Backup your current account first, maybe there are some bugs in switching accounts.
- You can run benchmarks on either an emulated device or a real device. For better benchmark results, you should run the benchmark on a real device and make sure that the core is compiled in release mode.
- Disable animations on your device, otherwise the test may fail. (Developer options -> Window animation scale, Transition animation scale & Animatior duration scale -> set all three of them to 0x)
- In Android Studio: File -> Sync project with gradle files
- In Android Studio: Run -> Edit configurations -> `+` -> Android Instrumented test -> Either select a specific class or select "All in Module" -> OK -> Select your configuration in the toolbar -> Click on the green "run" button in the toolbar to run the tests

When the benchmark is done, you will get a result like `MEASURED RESULTS (Benchmark) - Going thorough all 10 chats: 11635,11207,11363,11352,11279,11183,11137,11145,11032,11057`, Paste `11635,11207,11363,11352,11279,11183,11137,11145,11032,11057` into a cell in a LibreOffice spreadsheet, do `Data -> Text to columns`, choose `,` as a separator, hit `OK`, and create a diagram.
2021-08-11 14:01:15 +02:00
adbenitez 3327812628 reload adapter's dcChat when chat is modified 2021-08-10 23:08:12 -04:00
adbenitez 1f79494747 Merge remote-tracking branch 'upstream/master' 2021-08-10 17:59:05 -04:00
B. Petersen e8cf64d5ea refine changelog 2021-08-10 18:41:01 +02:00
Hocuri 44ffbdbb58 Fix: When searching, entering an archived chat, and going back, go back to search (#2025)
Steps to reproduce the bug:
- Search and select an archived chat
- Press back

Expected: Go back to the search activity.
Actual: Go to the Archived chats list activity. The user has to press
"back" again to get to the search.
2021-08-10 17:06:05 +02:00
Hocuri 5952f30334 Fix: When returning to chat after blocking it, hide request buttons (#2023)
Steps to reproduce the bug:

- Go to a contact request
- Go to the profile
- Block the contact
- Press back

Expected behavior: Only the compose panel is shown, not the request
buttons.
Actual behavior: Both the panel and the request buttons are shown
because the panel visibility is updated, but not the request button's.

I fixed this by always calling `initializeContactRequest()` after
`setComposePanelVisibility()`.
2021-08-10 17:05:43 +02:00
Hocuri 93d9a84cae Fix: When blocking a contact from the profile, update the chatlist (#2024)
Steps to reproduce:

- Go to the profile of a contact
- Block the contact
- Press back twice

Expected behavior: The chat is not shown in the list anymore.
Actual behavior: The chat is shown in the list until the app is
restarted (or if you wait some time)
2021-08-10 17:05:30 +02:00
B. Petersen 521ee30517 update translations 2021-08-09 11:44:34 +02:00
bjoern f2934a330d prepare 1.21.2 testrun 🏃 (#2018)
* update changelog for 1.21.2

* bump version to 1.21.2
2021-08-09 11:40:50 +02:00
B. Petersen d49ae69b55 update translations 2021-08-08 23:41:37 +02:00
bjoern 1c36190c87 validate email-addresses in core (#2015)
successor of #1980,
allowing to add contacts with dotless email-domains to groups;
that is needed eg. for @yggmail
2021-08-08 22:05:34 +02:00
adbenitez 0fcc6f4661 Merge remote-tracking branch 'upstream/master' 2021-08-04 16:08:57 -04:00
bjoern 726f751cac keep selection when migrating several accounts (#2011)
postpone selection after the last migration
as migrateAccount() currently selects the migrated account.

before, the selectAccount() call was useless
if another migrateAccount() call follows.
2021-08-04 15:05:45 +02:00
Asiel Díaz Benítez 9be90a589e avoid NullPointerException (#2013) 2021-08-04 15:05:33 +02:00
adbenitez 97df2ceea5 Merge remote-tracking branch 'upstream/master' 2021-08-03 04:15:28 -04:00
B. Petersen 3d3b1cc03f typo 2021-08-03 01:11:01 +02:00
bjoern 99963ee605 prepare 1.21.1 testrun 🏃 (#2010)
* update changelog for 1.21.1

* bump version to 1.21.1
2021-08-02 23:52:09 +02:00