Commit Graph

472 Commits

Author SHA1 Message Date
adbenitez 0b4e749f04 Merge remote-tracking branch 'upstream/master' 2022-10-18 20:01:09 -04:00
adbenitez 421d2cf978 use Start/End instead of Left/Right in avatar layout 2022-10-17 16:55:32 -04:00
adbenitez 5cd0aa5a90 Merge remote-tracking branch 'upstream/master' 2022-09-21 16:23:13 -04:00
bjoern 1fd0cad721 separate tab for private apps (#2386)
* move webxdc private apps to separate tab

* switch to scrollable tab layout; fixed layout may look not-so-nice with more tabs and longer descriptions that get a tiny font then
2022-09-21 22:18:48 +02:00
adbenitez 75054e9e59 Merge remote-tracking branch 'upstream/master' 2022-08-29 14:45:11 -04:00
bjoern 3121cd9ade simplify contact list (#2374)
* simplify contact list

this also disables "fast scrolling" for the contact list;
the "fast scrolling" code is too much bound to the bubbles and a-z
to be preserved without much effort.

however, "fast scrolling" seems to be much less important
with a list sorted by "last seen".
there is also the rough idea to raise minimal-origin of contact list,
this would make the list much smaller
(<https://github.com/deltachat/deltachat-core-rust/pull/2411>),
otoh, not sure if #2411 is a thing for list sorted by "last seen".

also the other lists (chatlist, archive, blocked) may become quite huge as well
and do never have "fast scrolling".

in case it is really needed again,
however, we should go for the implementation available in RecyclerView since some time:
<https://stackoverflow.com/questions/45370246/how-to-use-fastscrollenabled-in-recyclerview>

* less padding as the A-Z decorations do not longer need space

* remove unused contact_selection_recyclerview_header
2022-08-29 13:56:06 +02:00
adbenitez b66117de99 add "seen recently" indicator 2022-08-25 00:02:30 -04:00
adbenitez 7dbcf948a3 show account's display name in title bar 2022-07-11 04:01:44 -04:00
adbenitez 0b17897c1a Merge remote-tracking branch 'upstream/master' 2022-07-11 00:22:30 -04:00
Hocuri 0e7bc9b8b7 More videochat footer padding (#2340) 2022-07-10 10:39:07 +02:00
adbenitez bfcb50a60c Merge remote-tracking branch 'upstream/master' 2022-06-07 03:58:25 -04:00
B. Petersen 1cb7d93417 show more info messages by adapting spacing to the overall layout
the spacing was just a bit too much,
eg. bubble spacing is 6dp atop and abottom.

this was always not-so-good, however, as info-messages are
more in use by webxdc now, it gets more visible.

the new spacing roughly matches the layout on ios.
2022-06-06 12:16:20 +02:00
adbenitez b9a5c9ee1a remove empty spaces at the end 2022-05-17 21:46:45 -04:00
adbenitez 298d3d7b2d update welcome_activity.xml 2022-05-01 22:48:33 -04:00
adbenitez 41362ae50c Merge remote-tracking branch 'upstream/master' 2022-05-01 18:51:54 -04:00
B. Petersen a334fa5495 redesign secondary button, for light and dark mode 2022-05-01 12:26:44 +02:00
B. Petersen 4c449535dc bigger logo on small screens, while staying nice on big screens 2022-05-01 12:26:44 +02:00
B. Petersen 158d782e26 update startup image, layout 2022-05-01 12:26:44 +02:00
B. Petersen 2f56a2762f reorder and restyle buttons 2022-05-01 12:26:44 +02:00
adbenitez 9513c60c31 Merge remote-tracking branch 'upstream/master' 2022-04-27 04:32:16 -04:00
B. Petersen 9277ac0623 adapt strings to new welcome screen 2022-04-26 21:14:48 +02:00
adbenitez 67cc6b6b4f Merge remote-tracking branch 'upstream/master' 2022-04-11 14:14:32 -04:00
Asiel Díaz Benítez 5133f83477 Update res/layout/webxdc_compact_view.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2022-04-11 14:11:00 -04:00
adbenitez edd7727101 improve Docs tab, improve display of webxdc items, allow to open them directly 2022-04-11 03:38:33 -04:00
adbenitez 2f8aa55c4b Merge remote-tracking branch 'upstream/master' 2022-03-29 01:20:44 -04:00
adbenitez 332bd00024 use the same size for the action bar's title in the chat list and conversation's title 2022-03-28 11:38:51 -04:00
adbenitez 9eaf238181 Merge remote-tracking branch 'upstream/master' 2022-01-26 18:58:51 -05:00
bjoern 5343da7248 larger webxdc icon, title and summary full-width below (#2203) 2022-01-26 22:58:56 +01:00
adbenitez 52c3c54443 Merge remote-tracking branch 'upstream/master' 2022-01-22 17:16:57 -05:00
Hocuri 11ec547386 Make it possible to create an encrypted database (#2186)
- Before Android 6 (API 23), there was no KeyStore yet. Currently, you can still create an encrypted account, but the passphrase is stored in clear-text, because that's how Signal is doing things.
- There is no option to manually set the keyphrase or to unlock via fingerprint. This has the advantage that we never need user input for unlocking the accounts and can simply unlock all accounts on startup and the obvious disadvantage that anyone with access to the unlocked device can open DC.
- Each account is encrypted with a different passphrase.
- When importing, you can choose to encrypt the account.
2022-01-22 20:57:16 +01:00
adbenitez 4ccc164b86 Merge remote-tracking branch 'upstream/master' 2022-01-18 14:43:40 -05:00
bjoern 9e70aa7cad webxdc (#2174)
* add new w30 APIs

* create the webview,
disable internet access,
inject deltachat.js

* connect deltachat to the webview

* promisify api

* use msgActionButton to start the w30 apps

* cleanup

- create observers in onCreate() to avoid memory leak,
- derive from WebViewActivity to easier deal with particularities
  and to saves >100 loc
- reorder some methods to reflect lifetimes

* make it more clear, which uri-part is 'domain' and which one is 'path'

* unify logging

* it is 'statusUpdate' not 'stateUpdate'; not sure if promise is needed at the end, we can readd that as needed, simple code for now

* use core implementation for status updates

* disable debugging enabled by default, streamline code

* use same name for InternalJSApi for both, js and java

* getStatusUpdates() always return an array

* call JSON.stringify() on payload

* fix typo, fix equal operator

* use shorter function names in js land

* adapt to new zipped w30 format

* load any file from w30 archives

* add fallback if getMimeTypeFromExtension() fails

* rename w30 to webxdc

* add selfName()

* return selfAddr() if selfName() is empty

* rename deltachat.js to webxdc.js

* observer correct event

* rename getBlobFromArchive() to getWebxdcBlob()

* show webxdc app name in title bar

* swap payload and descr in sendUpdate() (adapt to new core api)

* allow user-defined-texts for webxdc apps, make room for icon+name

* show webxdc icon and name in chats

* render webxdc drafts accordingly

* allow configuring drafts

* do not destroy webxdc-message to be sent out by removing it via setDraft(null)

* fix crash when replying to webxdc messages

* add webxdc messages to profile's document tab

* hide 'search menu' for webxdc apps

* show app summary beside app icon

* remove outdated comment

* add precautious WebView restrictions

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationActivity.java

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

* Webxdc requires at least Android 5 Lollipop

see https://github.com/deltachat/deltachat-android/pull/2174#discussion_r785436874

* recognize .xdc files on android10

based on @Hocuri's findings in #2188

Co-authored-by: Simon Laux <mobile.info@simonlaux.de>
Co-authored-by: adbenitez <asieldbenitez@gmail.com>
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>
Co-authored-by: Hocuri <hocuri@gmx.de>
2022-01-18 10:52:09 +01:00
adbenitez d0194a939b Merge remote-tracking branch 'upstream/master' 2021-12-15 11:39:02 -05:00
bjoern 0baa2020b6 update layout placeholder; chat_no_messages_hint will be removed sooner or later (#2170) 2021-12-12 22:10:46 +01:00
adbenitez 3eb380a834 Merge remote-tracking branch 'upstream/master' 2021-11-24 19:26:16 -05:00
Asiel Díaz Benítez 23ad457fab [WIP] use the new SVG QR images generated in core (#2138)
* use the new SVG QR images generated in core

* hack y-offset of fallback-avatar-letter

the dominant-baseline=central and baseline=middle attributes are not working,
see https://github.com/deltachat/deltachat-core-rust/pull/2815#issuecomment-978067378
and source code comment for some more details.

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-11-24 23:24:55 +01:00
adbenitez af3b0670d1 show online status 2021-11-24 00:37:27 -05:00
adbenitez 663e027208 Merge remote-tracking branch 'upstream/master' 2021-11-23 12:52:38 -05:00
Hocuri a4dd8446e8 Fix layout bug in chatlist title (#2137)
Fix #2127

* Fix layout bug in chatlist title

* Support RTL languages better
2021-11-22 10:14:51 +01:00
adbenitez 1fad77671c Merge remote-tracking branch 'upstream/master' 2021-11-10 13:58:14 -05:00
cyBerta 18c3306832 Merge pull request #2088 from deltachat/provider-app-support
provider app support
2021-11-10 14:54:01 +01:00
adbenitez 952f82f1a3 Merge remote-tracking branch 'upstream/master' 2021-11-07 14:20:21 -05:00
Asiel Díaz Benítez 02ed207fa5 reduce selected account's checkmark size a bit (#2118) 2021-11-06 22:07:20 +01:00
B. Petersen 56ea95fd30 fix layout of yggmail addresses 2021-11-04 12:51:21 +01:00
adbenitez 4687b64ebd Merge remote-tracking branch 'upstream/master' 2021-11-01 01:30:20 -04:00
bjoern 45187174f2 new group from profile (#2100)
* add 'New Group or Subject' to contact profiles and allow group creation from there

* preselect contacts on group-creation from profile

* remove dead code

* also for existing group-creation, do not finish calling activity needlessly (this is pretty unexpected behavior)

* on editing groups, just use isProtected() from the chat to edit
2021-10-31 15:24:50 +01:00
adbenitez 76b4e41692 Merge remote-tracking branch 'upstream/master' 2021-10-30 14:40:21 -04:00
Asiel Díaz Benítez 090fc09657 show verified-checkmark in memberlist in group creation (#2101) 2021-10-30 14:08:56 +02:00
adbenitez 197b5441e5 Merge remote-tracking branch 'upstream/master' 2021-10-27 03:12:06 -04:00
Asiel Díaz Benítez 420184bd5c Merge pull request #2075 from deltachat/adb-avatar-in-toolbar
add self avatar to conversation list's toolbar
2021-10-27 03:11:30 -04:00