link2xt
edf8aafbdc
api!(jsonrpc): replace EphemeralTimer tag "variant" with "kind"
...
We use "kind" everywhere else.
2024-05-12 01:15:31 +00:00
iequidoo
ab1583eef9
fix: Use ChatIdBlocked::lookup_by_contact() instead of ChatId's method when applicable
...
`ChatId::lookup_by_contact()` returns `None` for blocked chats, so it should be only used if we need
to filter out blocked chats, e.g. when building a chatlist.
2024-05-11 17:37:12 -03:00
iequidoo
e3cb9b894b
fix: Update special chats icons even if they are blocked ( #5509 )
...
E.g. the multi-device synchronisation creates the "Saved Messages" chat as blocked, in this case the
chat icon wasn't updated before and the user avatar was displayed instead.
2024-05-11 17:37:12 -03:00
Simon Laux
c375c03d8e
stdio jsonrpc server npm package ( #5332 )
...
- [x] figgure out how to build the packages (that it installs native
optional package automatically)
- [X] Make the gluecode
- [x] expose both the lowerlevel api that desktop uses (~~send objects
and receive objects~~, getting path of rpc-server is enough)
- [X] and the higher level api needed for bots (jsonrpc client)
- [X] typescript types
- [x] automatically pick the right binary from npm or allow getting it
from env var, or give out an error (throw error)
- [x] find out how to dev locally (use local built core in dc desktop) -
there is the question of how to link the typescript client and the task
to add a search in the cargo target folder for a debug build or a
different way, find out some good flow that we can use and document for
dc desktop + locally built core development
- [x] build the packages in ci
- [x] fix that deltachat-rpc-server is not executable
postponed:
- [ ] publish from ci
- [ ] add key/token to deploy to npm
Closes #4694
## Related prs
- https://github.com/deltachat-bot/echo/pull/69
- https://github.com/deltachat/deltachat-desktop/pull/3567
---------
Co-authored-by: link2xt <link2xt@testrun.org >
2024-05-11 20:54:11 +02:00
bjoern
14aaab05b0
limit quote replies ( #5543 )
...
this PR checks if the quotes are used in a reasonable way:
- quoted messages should be send to the same chat
- or to one-to-one chats
if the quote's chat ID is not the same than the sending chat _and_ the
sending chat is not a one-to-one chat, sending is aborted.
usually, the UIs does not allow quoting in other ways, so, this check is
only a "last defence line" to avoid leaking data in case the UI has
bugs, as recently in
https://github.com/deltachat/deltachat-android/issues/3032
@iequidoo @link2xt @adbenitez i am not 100% sure about this PR, maybe
i've overseen a reasonable usecase where other quotes make sense
---------
Co-authored-by: link2xt <link2xt@testrun.org >
2024-05-10 16:43:49 +02:00
link2xt
72c09feb64
feat: do not add location markers to messages with non-POI location
2024-05-10 14:04:16 +00:00
Nico de Haen
8a4dff2212
Add webxdc internal integration commands in jsonrpc ( #5541 )
...
Adds
_setWebxdcIntegration_
_initWebxdcIntegration_
2024-05-08 07:53:04 +02:00
dependabot[bot]
022f836d35
chore(cargo): bump schemars from 0.8.16 to 0.8.19
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.16 to 0.8.19.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.16...v0.8.19 )
---
updated-dependencies:
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-08 03:42:51 +00:00
link2xt
636ab4a9e5
fix: delete non-POI locations after delete_device_after, not immediately
2024-05-06 18:32:04 +00:00
link2xt
2bddefa1ab
refactor: remove allow_keychange
2024-05-05 21:23:32 +00:00
dependabot[bot]
7d67100a3c
Merge pull request #5523 from deltachat/dependabot/cargo/mailparse-0.15.0
2024-05-05 21:23:10 +00:00
dependabot[bot]
1043916411
chore(cargo): bump mailparse from 0.14.1 to 0.15.0
...
Bumps [mailparse](https://github.com/staktrace/mailparse ) from 0.14.1 to 0.15.0.
- [Commits](https://github.com/staktrace/mailparse/compare/v0.14.1...v0.15.0 )
---
updated-dependencies:
- dependency-name: mailparse
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-05 20:59:52 +00:00
dependabot[bot]
f4e58e90ae
chore(cargo): bump syn from 2.0.57 to 2.0.60
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.57 to 2.0.60.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.57...2.0.60 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-05 13:50:07 +00:00
link2xt
e4f10b32dd
chore(cargo): bump imap-proto from 0.16.4 to 0.16.5
2024-05-04 22:41:30 +00:00
dependabot[bot]
e9431888a6
Merge pull request #5522 from deltachat/dependabot/cargo/chrono-0.4.38
2024-05-04 22:40:17 +00:00
dependabot[bot]
1649073c0f
chore(cargo): bump anyhow from 1.0.81 to 1.0.82
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-04 03:23:17 -03:00
dependabot[bot]
b2cf18d8b3
chore(cargo): bump chrono from 0.4.37 to 0.4.38
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.37 to 0.4.38.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.37...v0.4.38 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-04 02:53:42 +00:00
iequidoo
2eceb4be29
feat(contact-tools): Add make_vcard()
...
Add a function making a vCard containing given `VcardContact`s.
2024-05-03 23:52:51 -03:00
iequidoo
ae7ff17ba2
feat(contact-tools): Support parsing profile images from "PHOTO:data:image/jpeg;base64,..."
2024-05-03 23:52:51 -03:00
Hocuri
026f678452
feat: Parsing vCards for contacts sharing ( #5482 )
...
Co-authored-by: iequidoo <dgreshilov@gmail.com >
2024-05-03 22:44:09 -03:00
link2xt
add8c0680f
ci: update Rust to 1.78.0
2024-05-03 02:11:07 +00:00
dependabot[bot]
aee2b81c06
chore(cargo): bump thiserror from 1.0.58 to 1.0.59
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 20:35:31 -03:00
dependabot[bot]
3624aad1b5
chore(cargo): bump async-channel from 2.2.0 to 2.2.1
...
Bumps [async-channel](https://github.com/smol-rs/async-channel ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/smol-rs/async-channel/releases )
- [Changelog](https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-channel/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: async-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 20:24:27 -03:00
link2xt
299d994d4b
ci: replace black with ruff format
...
We use `ruff` anyway, so it is one less dependency.
2024-05-02 14:44:11 +02:00
dependabot[bot]
5e0f5ec390
chore(cargo): bump serde from 1.0.197 to 1.0.200
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.197 to 1.0.200.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.200 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 04:27:42 -03:00
dependabot[bot]
c318ca5d1a
chore(cargo): bump base64 from 0.22.0 to 0.22.1
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.22.0 to 0.22.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.22.0...v0.22.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 04:18:18 -03:00
dependabot[bot]
38a2e07194
Merge pull request #5515 from deltachat/dependabot/cargo/quote-1.0.36
2024-05-02 06:22:56 +00:00
dependabot[bot]
1ff6740938
chore(cargo): bump quote from 1.0.35 to 1.0.36
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 21:52:09 +00:00
Christian Hagenest
402d5bed85
rm npm install
2024-04-30 21:10:36 +02:00
missytake
57bc046381
ci: use rsync instead of 3rd party github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0617236eb0
rm leading slash
2024-04-30 21:10:36 +02:00
Christian Hagenest
8c5ffe0237
upload-docs npm run => npm run build
2024-04-30 21:10:36 +02:00
Christian Hagenest
39f977c1e6
add : to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ec03614cae
add npm install to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ea0b063c19
test ts build on branch
2024-04-30 21:10:36 +02:00
Christian Hagenest
98d7a93909
correct folder for js.jsonrpc docs
2024-04-30 21:10:36 +02:00
Christian Hagenest
49bf8414ed
rm unneeded rust install from ts docs ci
2024-04-30 21:10:36 +02:00
Christian Hagenest
1e7dbea351
Implement jsonrpc-docs build in github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0412244646
Revert "WIP: build ts docs with ci + nix"
...
This reverts commit 00d486e58f .
2024-04-30 21:10:36 +02:00
Christian Hagenest
bbd854d7bc
Revert "push docs to delta.chat instead of codespeak"
...
This reverts commit c04188ce56 .
2024-04-30 21:10:36 +02:00
Christian Hagenest
ba2bb517f7
Revert "WIP npm2nix, error: no source/nix"
...
This reverts commit 83bfba53de .
2024-04-30 21:10:36 +02:00
Christian Hagenest
0ae831eca0
WIP npm2nix, error: no source/nix
2024-04-30 21:10:36 +02:00
Christian Hagenest
ab494ae786
push docs to delta.chat instead of codespeak
2024-04-30 21:10:36 +02:00
Christian Hagenest
8a58ae8a3a
WIP: build ts docs with ci + nix
2024-04-30 21:10:36 +02:00
link2xt
cf84255e99
test: test that POIs are deleted when ephemeral message expires
2024-04-29 22:35:59 +00:00
link2xt
462bd63065
docs: add location module documentation
2024-04-29 22:35:59 +00:00
link2xt
6bfbf6547b
feat: delete orphaned POI locations during housekeeping
2024-04-29 22:35:59 +00:00
link2xt
13802bab42
fix: delete POI location when disappearing message expires
2024-04-29 22:35:59 +00:00
link2xt
adb2e4ea32
refactor: move delete_poi_location to location module and document it
2024-04-29 22:35:59 +00:00
link2xt
421a7b277d
docs: remove Doxygen markup from Message.has_location()
2024-04-29 22:35:59 +00:00