Commit Graph

2984 Commits

Author SHA1 Message Date
Simon Laux d00d4fd152 add translation strings from desktop (#1658)
* add strings from desktop

* update wording

* escape ampersands

* reorder menu to clipboard

* remove back_to_top

* group avatar to group image

Co-authored-by: bjoern <r10s@b44t.com>

* remove default_value_automatic

* rename ask_delete_chat_desktop to dedup to
ask_delete_named_chat_desktop

* rename desktop delete accounts strings
delete_account_confirmation_header_desktop -> ask_delete_value
delete_account_confirmation_desktop -> delete_account_explain_with_name

* apply Hocuri's suggestion
on delete_account_confirmation_desktop

* reuse existing strings for zoom factor

* capitalize "Micro"

* remove usused a11y_qr_data

* profile_image_select and delete

Co-authored-by: bjoern <r10s@b44t.com>

* lowercase clipboard

* Cannot in one word

* shorten delete_account_confirmation_header_desktop
upon r10s suggestion

* remove a11y_profile_image_label
as we can use pref_profile_photo instead

* apply hocuri's pref_notification suggestions

* Apply suggestions from code review

Co-authored-by: Hocuri <hocuri@gmx.de>

* readd removed string that android still uses it

* remove common things out of _desktop namespace, typo fixes, ordering

* typo

* typo

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: Hocuri <hocuri@gmx.de>
2020-10-15 19:04:55 +02:00
B. Petersen 3137d744e0 update deltachat-core-rust submodule 2020-10-15 12:41:12 +02:00
bjoern 685fd58993 Merge pull request #1662 from deltachat/add-latest-stock-strings
add latest stock strings
2020-10-15 01:09:45 +02:00
B. Petersen 581580a2d5 fixup 2020-10-15 01:06:19 +02:00
B. Petersen f424f49c20 make new stock-strings translatable 2020-10-15 01:04:34 +02:00
bjoern 8932d1315c Merge pull request #1657 from deltachat/adapt-to-protect-api
adapt to new protect-api
2020-10-13 22:19:22 +02:00
B. Petersen dde0247681 adapt to new protect-api 2020-10-13 22:07:08 +02:00
B. Petersen f94c1768d6 update deltachat-core-rust submodule 2020-10-13 22:03:09 +02:00
B. Petersen 11badafd78 update translations 2020-10-12 11:56:21 +02:00
B. Petersen 8f13c8733c update deltachat-core-rust submodule 2020-10-12 11:56:03 +02:00
Hocuri c720df5d5c Add swipe-to-reply quotes 2020-10-11 22:09:51 +03:00
B. Petersen 924695d6cf update translations 2020-10-09 13:04:04 +02:00
bjoern 852e7cd33a Merge pull request #1652 from deltachat/better-notification-removal
better multi-device notification removal
2020-10-09 12:56:39 +02:00
B. Petersen c89bec6a8b call removeNotifications() from bg thread and tweak comment 2020-10-09 12:55:54 +02:00
bjoern c2d7ffe8d5 Merge pull request #1651 from deltachat/fast-forward
direct forward to "saved messages"
2020-10-09 12:42:48 +02:00
bjoern cb79c6ac74 Merge pull request #1650 from deltachat/remove-starred
remove unsued starred api
2020-10-09 11:14:28 +02:00
B. Petersen cf1ab5f136 remove notifications when we know, a chat has no unread messages 2020-10-08 18:50:16 +02:00
B. Petersen 618af02bf5 fix "unread" appearance of chatlist
before, the summary was bold when unread!=0
and the badge was shown when last-message-state=fresh|noticed.

this is synced now;
the unread-count-badge is mutual exclusive to checkmarks,
so not meant to be shown for already answered messages.
2020-10-08 18:41:04 +02:00
B. Petersen 6a763ec285 speed up removeNotifications() if there is nothing to remove 2020-10-08 18:17:37 +02:00
B. Petersen 57210a2137 direct forward to "saved messages"
when forwarding to "saved messages",
the ui goes back to the chat and the position in the original chat
and shows a short "saved" hint.

this saves at least one tap,
and makes saving multiple messages easier
as you stay in context.
btw, this is also how telegram handles things
and makes the saving as easy to use as starring eg. in whatsapp.

forwarding messasges to other chats is not changed.
2020-10-08 01:23:27 +02:00
B. Petersen bfa8d09809 remove unsued starred api 2020-10-08 00:04:03 +02:00
B. Petersen cedccccb9a update deltachat-core-rust submodule 2020-10-07 23:22:16 +02:00
Hocuri a647911772 Add "go to last seen" (#1641) 2020-10-07 13:16:23 +02:00
B. Petersen 33910e364d update deltachat-core-rust submodule 2020-10-02 23:21:48 +02:00
Hocuri c9f8ee6555 Just catch weird security exception (#1640) 2020-10-01 16:27:42 +02:00
bjoern a57ef4539a Merge pull request #1632 from TPS/master
Lossless shrink image sizes
2020-09-27 12:01:40 +02:00
bjoern 574c8ce8be Merge pull request #1637 from deltachat/fix-error-shown
Fix error not shown when configuring
2020-09-26 23:18:31 +02:00
Hocuri 8bc2b602c1 Fix error not shown when configuring 2020-09-26 21:35:47 +02:00
bjoern 14399fd9f0 Merge pull request #1635 from deltachat/adapt-to-notices-api
catch new DC_EVENT_MSGS_NOTICED as needed
2020-09-26 12:01:43 +02:00
B. Petersen 25ad9973af catch new DC_EVENT_MSGS_NOTICED as needed 2020-09-25 22:41:08 +02:00
B. Petersen 08387b79a5 update translations 2020-09-25 22:40:11 +02:00
B. Petersen a417c015f6 update deltachat-core-rust submodule 2020-09-25 21:42:04 +02:00
TPS 0f91c6e3d1 Merge pull request #1 from TPS/imgbot
[ImgBot] Optimize images
2020-09-24 21:41:29 -04:00
ImgBotApp 7304131b96 [ImgBot] Optimize images
*Total -- 4,577.36kb -> 4,299.93kb (6.06%)

/res/drawable-xxhdpi/ic_lock_white_18dp.png -- 1.29kb -> 0.58kb (54.92%)
/res/drawable-xhdpi/ic_attach_white_24dp.png -- 3.12kb -> 1.45kb (53.64%)
/res/drawable-xxhdpi/ic_unlocked_white_24dp.png -- 1.87kb -> 0.93kb (50.21%)
/docs/images/2019-12-material-icon-template.png -- 72.29kb -> 37.38kb (48.29%)
/res/drawable-hdpi/ic_attach_white_24dp.png -- 1.99kb -> 1.04kb (47.57%)
/store/logo.svg -- 7.46kb -> 4.12kb (44.8%)
/store/logo512x512.png -- 56.80kb -> 32.03kb (43.61%)
/res/drawable-xhdpi/qr_overlay.png -- 4.86kb -> 2.85kb (41.33%)
/res/drawable-xxhdpi/ic_attach_grey600_24dp.png -- 3.24kb -> 1.92kb (40.64%)
/res/drawable-mdpi/ic_attach_white_24dp.png -- 1.10kb -> 0.70kb (36.65%)
/res/drawable-xxhdpi/ic_attach_white_24dp.png -- 2.93kb -> 1.86kb (36.44%)
/res/drawable-xhdpi/ic_circle_fill_white_48dp.png -- 2.31kb -> 1.50kb (35.1%)
/res/drawable-hdpi/ic_circle_fill_white_48dp.png -- 1.68kb -> 1.12kb (33.2%)
/res/drawable-xxhdpi/notification_permanent.png -- 2.38kb -> 1.61kb (32.36%)
/res/drawable-xhdpi/ic_backspace_grey600_24dp.png -- 4.18kb -> 2.86kb (31.45%)
/res/drawable-xxxhdpi/ic_pin_white.png -- 1.99kb -> 1.37kb (31.08%)
/res/drawable-xxxhdpi/ic_unpin_white.png -- 3.32kb -> 2.36kb (29%)
/res/drawable-xhdpi/notification_permanent.png -- 1.63kb -> 1.16kb (28.71%)
/res/drawable-hdpi/ic_backspace_grey600_24dp.png -- 2.93kb -> 2.12kb (27.72%)
/res/drawable-xhdpi/ic_attach_grey600_24dp.png -- 5.81kb -> 4.21kb (27.56%)
/res/mipmap-xxhdpi/ic_launcher.png -- 15.26kb -> 11.09kb (27.36%)
/res/mipmap-xxxhdpi/ic_launcher.png -- 21.80kb -> 15.85kb (27.3%)
/res/drawable-xhdpi/attach_record_video.png -- 5.82kb -> 4.29kb (26.35%)
/res/drawable-xxhdpi/ic_unpin_white.png -- 2.10kb -> 1.56kb (25.73%)
/res/drawable/intro1.png -- 26.95kb -> 20.09kb (25.46%)
/res/drawable-hdpi/ic_attach_grey600_24dp.png -- 3.65kb -> 2.75kb (24.68%)
/res/drawable-xxhdpi/ic_pin_white.png -- 1.29kb -> 0.97kb (24.62%)
/res/drawable-xhdpi/ic_location_chatlist.png -- 0.79kb -> 0.60kb (23.67%)
/res/mipmap-xhdpi/ic_launcher.png -- 9.20kb -> 7.07kb (23.17%)
/res/drawable-xxhdpi/ic_tag_faces_white_24dp.png -- 4.81kb -> 3.76kb (21.94%)
/res/drawable-xxxhdpi/ic_help_white_24dp.png -- 1.62kb -> 1.28kb (21.37%)
/res/drawable-xxxhdpi/ic_tag_faces_white_24dp.png -- 6.81kb -> 5.38kb (21.01%)
/res/drawable-xhdpi/ic_tag_faces_white_24dp.png -- 2.63kb -> 2.09kb (20.64%)
/res/drawable-hdpi/notification_permanent.png -- 1.17kb -> 0.93kb (20.53%)
/res/drawable-xxhdpi-v11/icon_notification.png -- 2.11kb -> 1.68kb (20.32%)
/res/drawable-xhdpi/ic_unpin_white.png -- 1.50kb -> 1.20kb (19.96%)
/res/drawable-xxhdpi/ic_send_push.png -- 4.74kb -> 3.79kb (19.94%)
/store/screenshot-08.png -- 80.47kb -> 64.80kb (19.47%)
/res/drawable-xhdpi/ic_mood_grey600_24dp.png -- 1.37kb -> 1.11kb (19.13%)
/res/drawable-xxhdpi/ic_help_white_24dp.png -- 1.17kb -> 0.95kb (18.41%)
/res/drawable-hdpi/ic_send_push.png -- 1.87kb -> 1.53kb (18.35%)
/res/drawable-xxhdpi/ic_delivery_status_sending.png -- 0.54kb -> 0.44kb (18.35%)
/res/drawable-mdpi/ic_circle_fill_white_48dp.png -- 1.03kb -> 0.84kb (18.01%)
/res/drawable-hdpi/ic_mood_grey600_24dp.png -- 0.92kb -> 0.76kb (17.78%)
/src/debug/res/mipmap-xxhdpi/ic_launcher.png -- 12.93kb -> 10.66kb (17.61%)
/res/drawable-xhdpi/ic_pinned_chatlist.png -- 0.69kb -> 0.57kb (17.42%)
/res/drawable-hdpi/ic_tag_faces_white_24dp.png -- 1.79kb -> 1.49kb (17.25%)
/res/drawable-mdpi/ic_backspace_grey600_24dp.png -- 1.84kb -> 1.53kb (16.67%)
/res/drawable-mdpi/ic_flip_32.png -- 1.21kb -> 1.02kb (15.55%)
/res/drawable-xhdpi/ic_keyboard_grey600_24dp.png -- 0.51kb -> 0.44kb (15.18%)
/res/mipmap-hdpi/ic_launcher.png -- 6.28kb -> 5.34kb (14.98%)
/res/drawable-mdpi/ic_attach_grey600_24dp.png -- 1.90kb -> 1.62kb (14.77%)
/res/drawable-hdpi/ic_keyboard_grey600_24dp.png -- 0.43kb -> 0.37kb (14.61%)
/res/drawable-hdpi/ic_help_white_24dp.png -- 0.71kb -> 0.61kb (14.17%)
/res/drawable-hdpi/ic_unpin_white.png -- 1.00kb -> 0.86kb (13.92%)
/res/drawable-xhdpi/ic_help_white_24dp.png -- 0.80kb -> 0.69kb (13.87%)
/res/drawable-xxxhdpi/ic_circle_fill_white_48dp.png -- 2.28kb -> 1.97kb (13.6%)
/res/drawable-xhdpi/ic_pin_white.png -- 0.90kb -> 0.78kb (13.56%)
/res/drawable-hdpi/ic_save_white_24dp.png -- 0.47kb -> 0.41kb (13.28%)
/res/drawable-mdpi/ic_mood_grey600_24dp.png -- 0.65kb -> 0.56kb (12.95%)
/res/drawable-xhdpi/attach_camera.png -- 4.55kb -> 3.97kb (12.63%)
/res/drawable-xhdpi/ic_send_sms_insecure.png -- 2.79kb -> 2.44kb (12.49%)
/res/drawable-xxhdpi/ic_scroll_down.png -- 1.27kb -> 1.11kb (12.04%)
/res/drawable-mdpi/ic_tag_faces_white_24dp.png -- 1.07kb -> 0.95kb (11.82%)
/res/drawable-xxhdpi/ic_circle_fill_white_48dp.png -- 1.64kb -> 1.45kb (11.77%)
/res/drawable-xxxhdpi/ic_pause_circle_fill_white_48dp.png -- 2.33kb -> 2.06kb (11.64%)
/res/drawable-xhdpi/ic_send_push.png -- 2.96kb -> 2.62kb (11.36%)
/res/drawable-hdpi/ic_lock_white_24dp.png -- 0.52kb -> 0.46kb (11.21%)
/res/drawable-xxhdpi/ic_add_white_24dp.png -- 0.38kb -> 0.34kb (11.11%)
/docs/images/2019-01-chatlist.png -- 99.09kb -> 88.32kb (10.87%)
/assets/stickers/weather/lightning.png -- 4.10kb -> 3.67kb (10.54%)
/res/drawable-xhdpi-v11/icon_notification.png -- 1.37kb -> 1.23kb (10.26%)
/res/drawable-xhdpi/ic_add_white_24dp.png -- 0.36kb -> 0.32kb (10.05%)
/res/drawable-xxxhdpi/ic_delivery_status_sending.png -- 0.57kb -> 0.52kb (10.03%)
/res/drawable-mdpi/ic_add_white_24dp.png -- 0.34kb -> 0.31kb (9.97%)
/res/drawable-xxhdpi/ic_pause_circle_fill_white_48dp.png -- 1.69kb -> 1.52kb (9.95%)
/docs/images/2019-12-material-icon-dev-template.png -- 24.62kb -> 22.17kb (9.93%)
/res/drawable-xxxhdpi/ic_photo_camera_light.png -- 1.81kb -> 1.63kb (9.78%)
/res/mipmap-mdpi/ic_launcher.png -- 3.80kb -> 3.43kb (9.64%)
/res/drawable-hdpi/ic_add_white_24dp.png -- 0.34kb -> 0.30kb (9.3%)
/assets/stickers/food/orange.png -- 4.68kb -> 4.26kb (8.98%)
/res/drawable-xxhdpi/ic_reply.png -- 0.76kb -> 0.69kb (8.9%)
/res/drawable-xxhdpi/ic_delete_white_24dp.png -- 1.05kb -> 0.95kb (8.86%)
/res/drawable-mdpi/ic_help_white_24dp.png -- 0.50kb -> 0.45kb (8.86%)
/res/drawable-hdpi/ic_info_outline_white_24dp.png -- 0.70kb -> 0.64kb (8.74%)
/res/drawable-xhdpi/ic_save_white_24dp.png -- 0.55kb -> 0.50kb (8.57%)
/res/drawable-xhdpi/ic_info_outline_white_24dp.png -- 1.06kb -> 0.97kb (8.05%)
/res/drawable-xhdpi/ic_lock_white_24dp.png -- 0.70kb -> 0.64kb (7.95%)
/res/drawable-mdpi/notification_permanent.png -- 0.78kb -> 0.72kb (7.38%)
/res/drawable-xxxhdpi/ic_delivery_status_failed.png -- 0.97kb -> 0.90kb (7.21%)
/res/drawable-xhdpi/ic_unlocked_white_24dp.png -- 0.89kb -> 0.83kb (6.59%)
/res/drawable-xxxhdpi/ic_send_sms_white_24dp.png -- 1.43kb -> 1.34kb (6.55%)
/res/drawable-xhdpi/ic_mood_white_24dp.png -- 1.19kb -> 1.11kb (6.49%)
/assets/stickers/weather/cloud.png -- 3.60kb -> 3.37kb (6.38%)
/res/drawable-xxxhdpi/ic_delete_white_24dp.png -- 1.29kb -> 1.21kb (6.12%)
/store/screenshot-02.png -- 568.28kb -> 534.26kb (5.99%)
/res/drawable-xxhdpi/ic_check_white_24dp.png -- 0.97kb -> 0.91kb (5.96%)
/src/debug/res/mipmap-xhdpi/ic_launcher.png -- 9.10kb -> 8.58kb (5.71%)
/res/drawable-xhdpi/ic_group_white_24dp.png -- 0.63kb -> 0.60kb (5.56%)
/res/drawable-hdpi-v11/icon_notification.png -- 1.03kb -> 0.98kb (5.38%)
/store/screenshot-06.png -- 697.94kb -> 662.22kb (5.12%)
/res/drawable-xhdpi/ic_forward_white_24dp.png -- 0.41kb -> 0.39kb (4.78%)
/src/debug/res/mipmap-hdpi/ic_launcher.png -- 5.86kb -> 5.59kb (4.58%)
/res/drawable-mdpi/ic_save_white_24dp.png -- 0.36kb -> 0.35kb (4.32%)
/res/drawable-hdpi/ic_pin_white.png -- 0.62kb -> 0.59kb (4.27%)
/res/drawable-mdpi/ic_lock_white_24dp.png -- 0.41kb -> 0.40kb (4.03%)
/res/drawable-mdpi/ic_unlocked_white_24dp.png -- 0.52kb -> 0.50kb (3.95%)
/res/drawable-hdpi/ic_unlocked_white_24dp.png -- 0.62kb -> 0.60kb (3.92%)
/res/drawable-hdpi/ic_mood_white_24dp.png -- 0.77kb -> 0.75kb (3.66%)
/res/drawable-xxhdpi/ic_send_sms_white_24dp.png -- 1.59kb -> 1.54kb (3.61%)
/res/drawable-xxhdpi/quick_camera_front.png -- 0.96kb -> 0.93kb (3.15%)
/res/drawable-mdpi/ic_mood_white_24dp.png -- 0.57kb -> 0.56kb (3.07%)
/store/screenshot-03.png -- 603.55kb -> 585.85kb (2.93%)
/store/screenshot-04.png -- 754.41kb -> 733.27kb (2.8%)
/res/drawable-xhdpi/ic_lock_white_18dp.png -- 0.51kb -> 0.50kb (2.49%)
/res/drawable-mdpi/ic_info_outline_white_24dp.png -- 0.52kb -> 0.50kb (2.45%)
/res/drawable-mdpi/ic_keyboard_grey600_24dp.png -- 0.34kb -> 0.33kb (2.32%)
/docs/images/2019-01-chat.png -- 443.01kb -> 433.10kb (2.24%)
/res/drawable-mdpi/ic_unpin_white.png -- 0.70kb -> 0.68kb (2.11%)
/res/drawable-hdpi/ic_group_white_24dp.png -- 0.46kb -> 0.46kb (1.89%)
/res/drawable-land/background_hd.jpg -- 89.57kb -> 88.06kb (1.68%)
/store/screenshot-07.png -- 167.68kb -> 165.24kb (1.46%)
/res/drawable-xhdpi/slidearrow.png -- 0.37kb -> 0.37kb (1.06%)
/assets/help/delta-what-optim.png -- 16.14kb -> 16.00kb (0.88%)
/store/screenshot-05.png -- 284.20kb -> 281.82kb (0.83%)
/store/screenshot-01.png -- 261.73kb -> 259.58kb (0.82%)
/res/drawable-land/background_hd_dark.jpg -- 69.63kb -> 69.19kb (0.63%)
/res/drawable-xxxhdpi/ic_check_white_24dp.png -- 0.92kb -> 0.92kb (0.21%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-25 01:36:30 +00:00
B. Petersen 1376f984b3 update translations 2020-09-23 16:17:41 +02:00
B. Petersen 0f87176794 bump version to 1.13.4 2020-09-21 18:35:31 +02:00
B. Petersen dbba48362c update translations 2020-09-21 18:34:09 +02:00
B. Petersen 83cc6ef152 update deltachat-core-rust submodule 2020-09-21 18:28:58 +02:00
bjoern 86f3c6f5eb Merge pull request #1629 from deltachat/tweak-events
tweak event handling
2020-09-21 18:07:17 +02:00
B. Petersen b6bdb4a7cf update translations, includes removing info_outdated_app_* strings 2020-09-20 18:08:22 +02:00
B. Petersen 33fccc6d52 avoid unnecessary chat updates by filtering event-chat-id correctly 2020-09-20 16:28:54 +02:00
B. Petersen 41603e6688 pass DcEvent object to handlers to avoid error-prone casts 2020-09-20 15:50:40 +02:00
B. Petersen cb0976ad00 update deltachat-core-rust submodule 2020-09-19 13:42:44 +02:00
bjoern 2855240536 Merge pull request #1626 from deltachat/remove-outdated-reminder
remove outdated reminder
2020-09-19 13:42:25 +02:00
bjoern 30bbf09217 Merge pull request #1627 from deltachat/remove-app-protection
tune down usage of screen-lock
2020-09-19 13:28:41 +02:00
B. Petersen 043c0f468b bump version 2020-09-17 23:26:24 +02:00
B. Petersen ebed26bd87 update help 2020-09-17 23:19:52 +02:00
B. Petersen 12a09b955f update deltachat-core-rust submodule 2020-09-17 23:07:50 +02:00
B. Petersen e076ca45ba tune down usage of screen-lock
for various reasons,
screen-lock will be removed completely in one of the next versions.

- if screen-lock was enabled before, add a warning
  and keep the options (user can switch screen-lock on and off
  until it will be finally removed)

- if screen lock was disabled before,
  hide the corresponding options,
  (the user will not be able to enable screen-lock anymore)

reasons for removing are:

- hard maintainability on different android versions, see discussions at
  https://github.com/deltachat/deltachat-android/issues/1208 and
  https://github.com/deltachat/deltachat-android/pull/1279 and
  https://github.com/deltachat/deltachat-android/pull/1319 and offline.
  ftr, also the used api createConfirmDeviceCredentialIntent() is deprectated,
  so another set of api calls would be needed in the soon future.

- compared to the effort, few security is added,
  the function is only available if the system is protected anyway,
  one just have to repeat the system secret.

- might even worsen overall security - if app login secret is peeked,
  and attacker will also have the system secret.

- the functions stands in the way of moving forward to a
  cross-platform solution (however, not sure if this will really come)
2020-09-17 16:26:19 +02:00
B. Petersen 097891e72a remove outdated reminder
the warning about outdated apps
was pretty unreliable in the past -
because of too short timings
and also because of the "installation date"
and the fact that an "installer" was used, is not always reliable.

also, the "installer date" could be wrong -
if the installation was done when the clock was altered badly.

as we cannot rely on the things the system provides here,
we move the whole thing to the core at
https://github.com/deltachat/deltachat-core-rust/pull/1901
which has also the advantage that this is done for all uis then.
2020-09-16 16:06:43 +02:00