Commit Graph

4254 Commits

Author SHA1 Message Date
Asiel Díaz Benítez 25c192573e Merge pull request #2464 from deltachat/adb/multi-account-notifications
allow notifications for all accounts
2023-03-13 15:00:24 -04:00
link2xt 2986d46717 Run nix flake update 2023-03-10 11:04:58 +00:00
B. Petersen 005475c521 update translations 2023-03-08 19:33:37 +01:00
B. Petersen bd973ab377 remove dead code, follow up to #2456 2023-03-08 19:32:40 +01:00
meganoahj 6c8613d3f5 Removed create group button from contact info screen (#2456)
closes #2432

Co-authored-by: meganoahj <s3ccg@testrun.org>
2023-03-08 19:27:50 +01:00
link2xt 03a98f5e78 scripts/ndk-make.sh: enable debug builds explicitly with --debug
Currently F-Droid builds split architecture .apks
by invoking ndk-make.sh with architecture argument.
This results in debug builds of the core.

This change makes debug builds explicit.
2023-03-07 10:46:58 +00:00
link2xt 9b3d5df1fd Add fallback implementations for sendmmsg, recvmmsg and getauxval (#2491)
These functions are not available in related NDK,
so we provide a fallback implementation for them.
2023-03-06 23:04:39 +01:00
bjoern 08bb30eb3a add codespell, fix typos (#2490)
* add script to call codespell utility

* fix typos found by scripts/codespell.sh
2023-03-06 13:44:46 +01:00
link2xt 1eb04a8bcb scripts/ndk-make.sh: set ranlib path 2023-03-04 01:12:06 +00:00
link2xt fd421a126d nix: add SDK command line tools to PATH 2023-03-04 00:45:25 +00:00
link2xt 86af180095 scripts/ndk-make.sh: remove CFLAGS setting
Setting __ANDROID_API__ manually causes
  '__ANDROID_API__' macro redefined [-Werror,-Wmacro-redefined]
when compiling the `ring` crate dependency.

TARGET_CC wrapper should set necessary variables itself.

See similar issue in the `ring` bugtracker for explanation:
https://github.com/briansmith/ring/issues/1519
2023-03-04 00:13:17 +00:00
link2xt e56f24b014 nix: add NDK toolchain binaries to PATH
Otherwise gradle is unable to strip native binary
and the resulting .apk is 85M instead of 59M.
2023-03-03 13:25:34 +00:00
link2xt dc94b8614d Add Nix development environment 2023-03-01 14:54:40 +00:00
link2xt 84a767dc17 scripts/ndk-make.sh: use absolute paths for TARGET_{CC,AR}
Do not assume that $PATH contains toolchain bin/
2023-03-01 00:27:25 +00:00
link2xt be8f9f1468 scripts/ndk-make.sh: export RUSTUP_TOOLCHAIN
This allows to build the core on systems without rustup.
In this case system rust is used,
but there is no error due to `+1.64.0`
being unknown argument to non-rustup cargo.
2023-03-01 00:27:25 +00:00
link2xt 8ed79c5b27 scripts/ndk-make.sh: unset RUSTFLAGS
Common way to configure `mold` is to set

    RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/mold"

This breaks cross-compilation, as wrong linker is used.
2023-03-01 00:27:25 +00:00
link2xt 63fc13179b scripts/ndk-make.sh: escape grep argument
This makes `scripts/ndk-make.sh` print meaningful error.
2023-03-01 00:26:43 +00:00
link2xt df58225192 Revert "add epoll_create fallback which is missing in API<21"
This reverts commit e29b6f9974.

Since update to `mio` 0.8.5, it does not require `epoll_create1()`
function to be present on Android anymore.
2023-02-24 12:55:45 +00:00
B. Petersen 9d9932775a update translations 2023-02-23 20:22:44 +01:00
bjoern 2b75ec5515 remove unused lines; the iframe should include webxdc.js as needed (#2474) 2023-02-23 13:10:51 +01:00
B. Petersen 95d58765e2 update translations 2023-02-23 12:52:25 +01:00
B. Petersen 7ece7b1ca9 amend f-droid changelog from CHANGELOG 2023-02-20 21:05:57 +01:00
B. Petersen e129602996 update f-droid changelog from CHANGELOG 2023-02-20 21:04:18 +01:00
B. Petersen 6a677517fc update translations 2023-02-13 11:24:16 +01:00
B. Petersen 0d52b49727 update translations 2023-02-12 12:48:12 +01:00
bjoern d523d67415 Update release-checklist.md 2023-02-11 00:37:23 +01:00
bjoern 9748952129 refine and update release checklist, add things that were done more implicitly before (#2473) 2023-02-10 20:08:26 +01:00
bjoern 8620b85416 prepare 1.34.13 (#2472)
* update CHANGELOG for 1.34.13

* nudge outselves to drop a line about what to test

the changelog is not always sufficient for that.

* bump version to 1.34.13
2023-02-09 23:21:00 +01:00
bjoern aae4e337cd fix receiving updates during runtime (#2471) 2023-02-09 22:38:18 +01:00
bjoern 4f8d6aad05 no automatic remote content loading for contact requests (#2469)
* factor out checkmark strings

* no automatic remote content for contact requests

loading remote content in contact requests
now always require explicit consent of the user.
moreover, contact request do not alter
the otherwise used never/once/always settings.
2023-02-08 11:03:07 +01:00
bjoern 904efe872b prepare 1.34.12 (#2467)
* update CHANGELOG for 1.34.12

* bump version to 1.34.12
2023-02-06 00:12:19 +01:00
bjoern 01ebb166d7 add CSP to webxdc (#2466) 2023-02-05 15:23:24 +01:00
B. Petersen 81cd2aa729 update translations 2023-02-05 14:53:01 +01:00
B. Petersen a1e3bde747 update deltachat-core-rust to 'Release 1.107.1' of branch 'stable-1.107' 2023-02-05 14:51:01 +01:00
bjoern 563c0296fa Combined webxdc patches (#2465)
* re-applying patch from @Hocuri from #2458

* apply sandbox isolation patch from @WofWca

* wait for gc as suggested by @WofWca, @Simon-Laux and others

* Update res/raw/sandboxed_iframe_rtcpeerconnection_check.html

Co-authored-by: WofWca <wofwca@protonmail.com>

* Update res/raw/sandboxed_iframe_rtcpeerconnection_check.html

Co-authored-by: WofWca <wofwca@protonmail.com>

* improve progress bar, inspired by @Simon-Laux and @WofWca

* comment about the gist of setNetworkAvailable()

* unify url-loading; this cleans up things and makes adding CSP more straight-forward

---------

Co-authored-by: WofWca <wofwca@protonmail.com>
2023-02-05 14:45:45 +01:00
adbenitez 3ce9a79274 set unique data for getRemoteReplyIntent() and getMarkAsReadIntent() pending intents 2023-02-04 16:33:03 -05:00
adbenitez 040249af57 set unique data for getOpenChatlistIntent() and getOpenChatIntent() pending intents 2023-02-04 07:41:18 -05:00
adbenitez 64c1c5af2e implement ChatData.equals() 2023-02-04 05:27:55 -05:00
adbenitez 93a17e99e9 use ChatData class instead of Pair, fix notifications preferences 2023-02-03 15:51:59 -05:00
adbenitez 1d6a2350f0 update comment in inboxes declaration 2023-02-03 13:32:17 -05:00
adbenitez 8962476a21 use different values for "ACCOUNT_ID_EXTRA and CHAT_ID_EXTRA" 2023-02-03 13:25:40 -05:00
Asiel Díaz Benítez f38a15024c Update src/org/thoughtcrime/securesms/notifications/NotificationCenter.java
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-02-03 13:12:13 -05:00
B. Petersen 4ba6daae21 Revert "Webxdc fixes"
This reverts commit 6afddd84fff659fa6d8f727f2bf388d0c504058d.
2023-02-03 13:18:05 +01:00
adbenitez 402fedaf78 allow notifications for all accounts 2023-02-02 13:05:03 -05:00
B. Petersen ae4a725764 clarify branch name in update script 2023-02-02 14:54:00 +01:00
bjoern 699d97cccc prepare 1.34.11 (#2459)
* update changelog for 1.34.11

* bump version to 1.34.11
2023-01-31 21:36:27 +01:00
Hocuri 8281bf9489 Webxdc fixes (#2458)
This now fixes all the checks in the `test webxdc`, see the
Delta Chat group
2023-01-31 18:30:53 +01:00
bjoern 38be87ee8e refine new f-droid documentation (#2461)
successor of #2444:

- there seems to be a maximal lenght of 500 characters for the changelog
  (the 500 chars come from the changlog in #2444
  that was truncated after 500 characters)

- the changelog is only needed if there is really a f-droid release scheduled;
  move the instructions down
2023-01-31 16:32:26 +01:00
B. Petersen f088fbd0bc update deltachat-core-rust to 'Prepare 1.107.0' of branch 'stable-1.107' 2023-01-31 14:52:31 +01:00
bjoern c4651acceb adapt ./scripts/update-core.sh to work with different branches (#2460) 2023-01-31 14:51:45 +01:00