Commit Graph

3287 Commits

Author SHA1 Message Date
bjoern fa40d4fb44 make donate device message translatable (#3813)
* make donate device message translatable

* update CHANGELOG

* Update CHANGELOG.md

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

* Update src/main/res/values/strings.xml

---------

Co-authored-by: Hocuri <hocuri@gmx.de>
2025-07-14 11:25:45 +02:00
B. Petersen a26ce76964 update translations 2025-07-13 14:05:48 +02:00
B. Petersen 2e798c5b04 add strings missing for 'new email' 2025-07-13 14:05:48 +02:00
Hocuri 90cf75421b fix: Small channel fixes (#3807)
* fix: Small channel fixes

- In the profile view of an InBroadcast, the subtitle said "Contact".
  I just removed the subtitle, because it already says "Channel" at the
  top.
- When tapping on the avatar of an InBroadcast, an "Edit" button was shown

* fix: Also disable edit button for mailinglists
2025-07-10 19:30:52 +02:00
adbenitez e1d6b8f3b8 update strings and local help 2025-07-10 18:05:41 +02:00
bjoern 629532a996 Update translations 2025 07 10 (#3806)
* pull translations

* update channel hint as discussed

* add some more translator hints

* pull again after uploading new strings
2025-07-10 13:45:14 +02:00
B. Petersen 36798a2f57 fix profile's edit display
this was lost on merging main to channels-pr at
https://github.com/deltachat/deltachat-android/pull/3783/files#diff-4e3273297b4c47b24d3616a9030a5c2de21519ebcfc0c6d5e49c6ded45476a72L117
2025-07-10 13:03:26 +02:00
Hocuri 717777f628 Show channels in a proper "Channel" chat (#3783)
* Rename "broadcast list" to "channel"/"broadcast channel" both in UI and code

* feat: Add new channel types

* Update CHANGELOG.md

* adb's review

* refactor: Rename BroadcastChannel to Broadcast

* Revert accidental change

* Make it possible to leave channels

- In a chat, if the chat is an InBroadcast, and it's not a contact
  request, then the `Leave` menu option is shown with the translated
  stock string `menu_leave_channel` as its label.
- If the user clicks on it, the confirmation dialog has
  `menu_leave_channel` (rather than `menu_leave_group`) as its positive
  option.

Counterpart of https://github.com/chatmail/core/pull/6984.

---------

Co-authored-by: adbenitez <asieldbenitez@gmail.com>
Co-authored-by: adb <adb@merlinux.eu>
2025-07-10 10:32:04 +02:00
adbenitez 90ced3efb0 Merge remote-tracking branch 'origin/main' into adb/pgp-contacts2 2025-07-09 17:36:10 +02:00
B. Petersen 0d50af1aa5 mailinglist profile: addr in subtitle, no members
this is follow up for #3792 and does the same as before -
showing no members for mailinglists and showing its address in the subtitle
2025-07-09 17:32:27 +02:00
adb 0ba20e9fc8 Merge branch 'main' into adb/pgp-contacts2 2025-07-08 21:20:15 +00:00
adbenitez b9520c95ed Merge branch 'main' into adb/pgp-contacts2 2025-07-08 18:08:51 +02:00
adb 1cf01c6414 Merge branch 'main' into adb/issue-3798 2025-07-08 15:21:49 +00:00
bjoern 98d5259d0e tweak new profile (#3800)
* adapt divider to style used elsewhere

* offer copy-to-clipboard on long-tap address

* Revert "offer copy-to-clipboard on long-tap address"

This reverts commit 92570b8e1ef5898b99a9a2769eea0e1e16bf25e1.

* show copy-context menu on long pressing address
2025-07-08 05:27:42 +02:00
adbenitez e6415abda2 modify QR icon 2025-07-07 17:42:16 +02:00
adbenitez f9885fbcad hidde "chats in common" header when no chats in common 2025-07-07 17:30:45 +02:00
bjoern 4663299951 re-focus profile (#3792)
* duplicate ProfileActivity to AllMediaActivity

* update CHANGELOG

* remove profile stuff from AllMediaActivity

* remove media stuff from ProfileActivity

* remove TabLayout from ProfileActivity

* decouple header from viewType

* easier name editing

* add link to 'apps & media'

* move bio up

* move 'send message' up

* prepare avatar/title/subtitle

* set title

* set subtitle to member count

* add address to profile

* rename ProfileSettings* to just Profile*

* set avatar

* use avatar view

* adaptive avatar cell height

* no endless growing of online-indicator

* simplify

* handle tap on avatars

* rename Profile* to AllMedia*

* set title accordingly

* move 'last seen' up

* edit name by tapping

* Revert "edit name by tapping"

This reverts commit 6727b168302fbe50cbde803fbc83692965d3df59.

Reason is that it introduces uncertainity what happens if the name is tapped -
we do not want to nudge ppl to edit the group name in a similar way.

we may revert this revert,
but for now, let's see if the icon atop isn't sufficient.

* add media count

* space below avatar

* refactor allmedia viewtypes

* select the first tab that has content

* format footer

* remove unused headers

* space above header

* add dividers

* tweak some spacings

* tap on avatar only for enlarge/set avatar

* immediate view of first tap

* tweak value display

* add icons to buttons

* tweak paddings

* no address for self-talk and device-chat

* use signature background for less cluttered UI

* avoid global state modification and showing eg. app-icon tinted also elsewhere

* tweak sizes

* move introduced-by/server down. these information become less important the more chats you have with the contact - and otherwise just clutter UI

* update CHANGELOG

* typo

* use more normal font and spacing for footer

* open "media" deterministically

remove the smart forwarding to "tab with content",
which results in unclear behaviour.

also, we want to push for apps,
which is also the thing that really changes.
when searching for an image, another tap is fine.
2025-07-05 11:16:30 +02:00
adbenitez bd8698c3f3 add DcContact.isKeyContact() 2025-06-30 18:58:28 +02:00
adbenitez 55ea8bbbce Merge branch 'adb/pgp-contacts2' of https://github.com/deltachat/deltachat-android into adb/pgp-contacts2 2025-06-25 14:47:12 +02:00
adbenitez ae2c152382 don't allow to edit mailinglist name
it will get reset on next incoming message anyways
2025-06-25 14:45:22 +02:00
adbenitez 825ee6a79e don't allow to leave email threads 2025-06-25 14:45:05 +02:00
adb edd7938497 Merge branch 'main' into adb/pgp-contacts2 2025-06-24 18:13:01 +00:00
adbenitez f0d62f41c9 show email address for email contacts 2025-06-24 20:12:37 +02:00
adbenitez b5e7f13819 don't allow to edit or clone email threads 2025-06-24 20:05:18 +02:00
adbenitez 9a1c6ce2ad don't show email icon on pending downloads 2025-06-24 18:01:52 +02:00
adbenitez 966d8784f3 adapt to new PGP-contacts 2025-06-24 17:46:51 +02:00
bjoern 9caf94d035 add some DeltaTouch specific strings (#3788)
* add some DeltaTouch specific strings

* typo
2025-06-13 16:43:49 +02:00
B. Petersen 7593ec1831 reword 'Shared Chats' to 'Chats in Common' 2025-06-12 19:36:30 +02:00
adbenitez 005cf835a1 allow to react with same emoji as others 2025-06-10 16:28:56 +02:00
adb bd40f4eb04 Merge branch 'main' into adb/webxdc-tts 2025-05-26 15:38:26 +00:00
adbenitez cfdfab1716 check if lang is empty 2025-05-26 17:37:06 +02:00
adbenitez f8d0fd3f77 update webxdc.js 2025-05-26 17:33:47 +02:00
adbenitez 7186afa321 add Web API's TTS support to webxdc 2025-05-26 17:31:47 +02:00
B. Petersen 27875b83bc unify singular/plural in attach menu
also otherwise, we say "[attach] Contact", "[attach] File", "[attach] Video" etc. -
so it should be "[attach] App" as well.

this is also what desktop/iOS are doing.

the title in the app picker itself, however,
is fine with reading "Apps" - it shows multiple ones
2025-05-24 16:26:08 +02:00
B. Petersen e6655fa21d point out that app drafts need to be sent
we got some feedback,
that ppl were wondering if others can use an app
once drafted and opend.

the old title "Tap to open" might even underline that impression.

this PR changes the title to "Tap 'Send' to share"
(we need to be super-short here, "Tap 'Send' to let others use the app" is already too much :)

the sending out of apps is the much more important step than to open,
play a game and then wondering ...
ppl will figure out the latter themselves,
wondering if one can configure eg. a poll before sending -
and if not, then it's that.
2025-05-24 13:24:53 +02:00
adbenitez 56f55be938 update apps icon 2025-05-23 15:07:19 +02:00
adbenitez 47350b1809 show action button to see the list of apps sent in chat 2025-05-23 14:26:34 +02:00
B. Petersen 04ed9e27c1 remove ambigious time from app list
it is unclear, which time this is - time of adding or time of last update?
it is the prior, however,
both are not important enough to clutter the list,
also desktop/ios do not show them.

i assume, the time display was just kept when adapting from files view.

by making the apps easier accessible,
(cmp https://github.com/deltachat/deltachat-ios/pull/2721 )
we really only want an uncluttered list.
2025-05-23 13:43:35 +02:00
B. Petersen 93c52ec527 remove redundant 'App' subtitle in 'Apps' list 2025-05-23 13:43:35 +02:00
B. Petersen a7b86dd59a update translations 2025-05-21 19:17:20 +02:00
B. Petersen 5587eda657 clearer instructions how to add apps&co to a chat
the instructions are shown when there are no Apps, Images etc. in a chat.

while the "shared in this chat" wording
is maybe more correct on an abstract way
(there are other ways than "attach" to have an app),
the "attached in this chat" points implicitly better to the new app selector -
esp. as the same wording is used for "images",
where the avg user usually knows about how to get that attached.

this little rewording comes from a discussion with @hpk42,
surely, there can be more improvements :)
2025-05-19 22:42:43 +02:00
adbenitez 16e89bb58a avoid causing and logging exception in getWebxdcInfo if getWebxdcInfoJson returns empty string 2025-05-15 14:19:52 +02:00
adbenitez d3b2f2df97 update translations 2025-05-15 12:11:01 +02:00
adbenitez f6ab0b18a2 update strings 2025-05-06 15:50:41 +02:00
B. Petersen cdc47423f9 update translations 2025-05-06 11:47:00 +02:00
B. Petersen 9790730d75 remove deprecated strings 2025-05-06 11:47:00 +02:00
B. Petersen 6cc9a2594f add strings needed for iOS 2025-05-06 11:47:00 +02:00
adbenitez 619ac2bb21 put donate and help in category 2025-05-05 21:48:15 +02:00
adbenitez f6750a1583 add "Donate" button to main settings 2025-05-05 19:11:21 +02:00
B. Petersen 17e45fd2ab log error if JSONRPC fails 2025-05-05 13:36:25 +02:00