Commit Graph

4444 Commits

Author SHA1 Message Date
adbenitez aaca1ea264 update res/raw/webxdc.js 2023-06-04 16:38:49 +02:00
Asiel Díaz Benítez cda384be91 Merge pull request #2581 from deltachat/adb/add-importFiles
add webxdc.importFiles() API
2023-06-04 16:30:46 +02:00
adbenitez 0bb8e0a016 add webxdc.importFiles() API 2023-06-04 00:16:19 +02:00
bjoern c99ba34a4d unify and shorten sendToChat() errors (#2578)
* unify and shorten sendToChat() errors

* style: java script uses camelCase, not snake_case (these kind of issues tend to pile up and manifest then in the api somewhere, cmp max_serial - therefore better be strict :)
2023-06-03 10:16:32 +02:00
B. Petersen 01e3c46de3 update translations: pl, tr 2023-06-02 19:56:41 +02:00
Asiel Díaz Benítez 154efc0e7f Merge pull request #2576 from deltachat/webxdc-update-sendToChat-api
webxdc update "send to chat" api
2023-06-02 10:57:59 +02:00
Simon Laux 1ee59ac662 webxdc update "send to chat" api 2023-06-01 20:46:20 +02:00
Asiel Díaz Benítez 634cec2f82 Merge pull request #2571 from deltachat/adb/webxdc-export
add webxdc.sendToChat() API
2023-06-01 11:15:48 +02:00
adbenitez 0c5cf151db update res/raw/webxdc.js 2023-06-01 11:12:18 +02:00
bjoern c0955e2ec0 implement onShowFileChooser based on AdvancedWebView (#2575)
* implement onShowFileChooser based on AdvancedWebView

* simplify else condition

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

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>

* rename mFileUploadCallbackSecond to filePathCallback

---------

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
2023-05-31 22:25:57 +02:00
Asiel Díaz Benítez 7c6b0e5b50 Update res/raw/webxdc.js
Co-authored-by: bjoern <r10s@b44t.com>
2023-05-31 09:49:16 -04:00
adbenitez d51fef5318 add extra checks on the Java side and improve check in the JavaScript side 2023-05-30 23:43:54 +02:00
Simon Laux 39f85c55f1 Update res/raw/webxdc.js 2023-05-30 22:30:55 +02:00
adbenitez d100397530 update to recent changes in sendToChat API specs 2023-05-30 21:22:32 +02:00
adbenitez 3588c074f1 add webxdc.sendToChat() API 2023-05-29 17:03:44 +02:00
bjoern 85321f3e87 reword 'Copy to Clipboard' to 'Copy Text' (#2570)
message list allows multiple messages
being copied to clipboard at the same time;
if these messages as not just text, a summary is added,
sth. as "Voice Messages" or "Forwarded: Image - this is my family" etc.

this is on purpose and the gist of the action,
renaming the action to 'Copy Text' makes that more clear.
2023-05-28 21:17:33 +02:00
imgbot[bot] 40e60f54bc [ImgBot] Optimize images (#2568)
*Total -- 144.77kb -> 116.33kb (19.64%)

/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 16.06kb -> 11.63kb (27.61%)
/res/mipmap-xhdpi/ic_launcher_foreground.png -- 10.91kb -> 7.91kb (27.46%)
/res/mipmap-xxxhdpi/ic_launcher_foreground.png -- 21.07kb -> 15.37kb (27.04%)
/res/mipmap-hdpi/ic_launcher_foreground.png -- 9.00kb -> 6.63kb (26.37%)
/res/mipmap-mdpi/ic_launcher_foreground.png -- 7.12kb -> 5.47kb (23.2%)
/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png -- 7.56kb -> 6.04kb (20.15%)
/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png -- 10.14kb -> 8.13kb (19.87%)
/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png -- 12.99kb -> 10.64kb (18.05%)
/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 20.66kb -> 17.74kb (14.12%)
/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png -- 27.83kb -> 25.37kb (8.84%)
/res/drawable-xxxhdpi/ic_swap_vert_white_24dp.png -- 0.73kb -> 0.72kb (1.99%)
/res/drawable-xxhdpi/ic_swap_vert_white_24dp.png -- 0.69kb -> 0.68kb (1.27%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-05-23 13:08:37 +02:00
Hocuri 0612090397 Adapt Padlock and Location indicator to screen size (#2567)
Fix #2566 - well, mostly: This enlarges the padlock (and the location
indicator if it's present), but not the checkmark(s).

When using the app like this, this feels good as-is.
2023-05-23 10:17:15 +02:00
Hocuri 3d9132301e Remove white icon around foreground image (#2565)
Fix #2557.

I just used gimp to remove the white background; at some point, regenerating them from the svg would be nicer.
2023-05-23 00:04:28 +02:00
B. Petersen 121ae3f355 update translations 2023-05-22 22:02:31 +02:00
B. Petersen 8267e35328 give more context to 'last_seen' 2023-05-22 20:04:57 +02:00
B. Petersen 079e11bbe7 update translations: fr, ru 2023-05-22 20:02:17 +02:00
B. Petersen 3f7ac79a54 update translations 2023-05-20 12:22:15 +02:00
B. Petersen 605008074e update translations: de 2023-05-18 12:51:44 +02:00
Simon Laux b33394f73a add strings for verified, verified by and last_seen_relative (#2563)
* add strings for `verified`, `verified by` and `last_seen_relative`

for https://github.com/deltachat/deltachat-desktop/pull/3227

partially addresses https://github.com/deltachat/deltachat-android/pull/2429:
because it addresses one key `last_seen_relative`

* Apply suggestions from code review

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2023-05-18 12:47:08 +02:00
B. Petersen 34461d5dec update translations: nl, pl, sq, tr, zh_CN 2023-05-17 21:44:22 +02:00
link2xt 8642d2a816 chore: update deltachat-core-rust to 1.112.9 2023-05-16 14:19:12 +00:00
B. Petersen fd5b762655 update translations 2023-05-15 12:49:40 +02:00
bjoern e50a13f371 streamline map wording (#2562)
* streamline menu

- remove prefix 'Show', we are not using it at most other places,
  nor do comparable UI

- move 'All Locations' below 'All Media',
  this seems to be more logical
  (we were even thinking of making 'Locations' a tap in 'Media')

* add missing plural form for 'Location' (needed for iOS map experiments, maybe also the better title for the in-chat-maps in general)
2023-05-15 12:40:44 +02:00
B. Petersen a3c9b63ff6 update translations: fa 2023-05-13 16:55:49 +02:00
Hocuri 58aeb0acc9 Bigger scroll-to-bottom button (#2561) 2023-05-10 11:03:22 +02:00
Hocuri ca55fbdf33 Tweak chatlist colors: Make titles more visible in dark mode (#2556)
Before, the chat names were as bright as the subtitles.
2023-05-06 23:47:52 +02:00
B. Petersen bb72802a76 update help: zh_CN 2023-05-05 20:22:30 +02:00
Asiel Díaz Benítez 4461358a3d Merge pull request #2479 from deltachat/link2xt/jsonrpc
Add DcJsonrpcInstance class
2023-05-05 17:57:52 +02:00
B. Petersen 4e89b34f24 update translations: fr 2023-05-05 11:55:25 +02:00
Hocuri 6914b1815a fix: Make replying privately work again (#2551) 2023-05-04 13:05:52 +02:00
B. Petersen 2c7eb04930 update translations: es, ro, zh_CN 2023-05-02 23:52:06 +02:00
Hocuri 0e27d445ee Rework how activities interact when forwarding/sharing (#2549) 2023-05-02 10:34:31 +02:00
adbenitez 0b85cd2b9e add getHttpResponse to Rpc 2023-05-01 14:22:39 -04:00
adbenitez cbec549918 rename RpcError to RpcException 2023-04-27 14:41:50 -04:00
adbenitez a5b1528b31 tweak comment 2023-04-27 14:33:36 -04:00
adbenitez 7935513825 move SettableFuture to core package 2023-04-27 14:25:24 -04:00
adbenitez e4beb06191 check if future is null 2023-04-27 13:23:03 -04:00
Asiel Díaz Benítez e1d071248b Apply suggestions from code review
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-04-27 13:19:51 -04:00
adbenitez b5fc9ab945 remove field added while testing 2023-04-27 07:10:08 -04:00
adbenitez 941627db6e move Rpc class to com.b44t.messenger.rpc package 2023-04-25 20:09:59 -04:00
Asiel Díaz Benítez aa3e7195b2 set draft from mailto data in QR (#2337) 2023-04-24 15:17:40 +02:00
adbenitez aa1a602d36 add DcHelp.getRpc() 2023-04-23 15:59:04 -04:00
adbenitez d977d1f3a5 use get() 2023-04-23 15:27:39 -04:00
adbenitez 1d6d148c7e fix bug 2023-04-23 15:00:08 -04:00