Skip to content

Commit

Permalink
Merge pull request #2918 from deltachat/migrate-more-methods-to-jsonrpc
Browse files Browse the repository at this point in the history
move more methods to jsonrpc and delete some unused code
  • Loading branch information
Jikstra authored Oct 16, 2022
2 parents 802b135 + 0d58b82 commit 371e49c
Show file tree
Hide file tree
Showing 79 changed files with 2,079 additions and 2,333 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
- add button to clear chat history (delete all messages of a chat)
- add recently seen indicator
- add jump down button
- add "search for messages in chat"
- show webxdc icon in quote

## Changed
- start migrating to jsonrpc api
- migrated core communication to jsonrpc api
- migrate event handling to jsonrpc api
- Update translations (22.09.2022)
- click on selected chat in chatlist now goes to bottom or first unread message
- remember last path in "save as" dialog
Expand All @@ -23,6 +25,9 @@
- make contact last seen always display relative time
- hide ephemeral timer menu options for mailing lists #2920
- reposition ConnectivityToast
- only show core events in frontend dev console if deltachat was started with `--log-debug` or `--devmode`
- always show sticker tab now and add a button to quickly open the sticker folder.
- update deltachat-node and deltachat/jsonrpc-client to v1.97.0

## Fixed
- allow scanning of certain qr code types on welcome screen (account, url and text)
Expand All @@ -32,6 +37,8 @@
- fix quote linebreaks #2870
- fix low resolution of copy qrcode image #2907
- fix group join qr code when creating a new group
- message search: show "1000+ messages", because 1000 as result means the result was truncated most of the time
- fix contact name is not updated in view profile #2945

## [1.32.1] - 2022-08-18

Expand Down
18 changes: 12 additions & 6 deletions _locales/_untranslated_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"what_is_webxdc": {
"message": "What is Webxdc?"
},
"file_menu" : {
"file_menu": {
"message": "File"
},
"create_broadcast_list" : {
"create_broadcast_list": {
"message": "Create Broadcast List"
},
"menu_edit_broadcast_list" : {
"menu_edit_broadcast_list": {
"message": "Edit Broadcast List"
},
"menu_broadcast_list_name" : {
"menu_broadcast_list_name": {
"message": "Broadcast List Name"
},
"broadcast_please_enter_broadcast_list_name" : {
"broadcast_please_enter_broadcast_list_name": {
"message": "Please enter a name for the broadcast list."
},
"broadcast_list_warning": {
Expand All @@ -35,7 +35,13 @@
"clear_chat": {
"message": "Clear Chat"
},
"last_seen":{
"last_seen": {
"message": "Last seen %1$s"
},
"search_in_chat": {
"message": "Search in Chat"
},
"exit_search": {
"message": "Exit Search"
}
}
13 changes: 13 additions & 0 deletions docs/LOGGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,16 @@ Basically the log files are **tab separated** `CSV`-files(also known as `TSV`):
| timestamp | location / module | level | stacktrace | arg1 | arg2 | ... |
| -------------------------- | ----------------- | ------ | ---------- | ------------- | ---- | --- |
| "2019-01-27T13:46:31.801Z" | "main/deltachat" | "INFO" | \[] | "dc_get_info" | - | ... |

#### Tips and Tricks for working with the browser console:

##### Use the search to filter the output like:

space seperate terms, exclude with -, if your term contains spaces you should exape it with "

`-👻` - don't show events from background accounts (not selected accounts)
`-📡` - don't show any events
`-renderer/jsonrpc` - don't show jsonrpc messages
`renderer/jsonrpc` - show only jsonrpc messages

Start deltachat with --devmode (or --log-debug and --log-to-console) argument to show full log output.
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
},
"dependencies": {
"@blueprintjs/core": "^4.1.2",
"@deltachat/jsonrpc-client": "^1.96.0",
"@deltachat/jsonrpc-client": "^1.97.0",
"@deltachat/message_parser_wasm": "^0.4.0",
"@deltachat/react-qr-reader": "^4.0.0",
"@mapbox/geojson-extent": "^1.0.0",
"application-config": "^1.0.1",
"classnames": "^2.3.1",
"debounce": "^1.2.0",
"deltachat-node": "^1.96.0",
"deltachat-node": "^1.97.0",
"emoji-js-clean": "^4.0.0",
"emoji-mart": "^3.0.1",
"emoji-regex": "^9.2.2",
Expand Down
21 changes: 21 additions & 0 deletions scss/chat/_chat-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,25 @@
border-bottom: var(--cli-search-result-divider-border-width) solid
var(--cli-search-result-divider-border);
}

.search-in-chat-label {
display: flex;
height: 64px;
flex-direction: row;
padding: 0px 10px;
align-items: center;

.chat-name {
flex-grow: 1;
vertical-align: baseline;
line-height: 18px;
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: 200;
font-size: medium;
margin-left: 10px;
}
}
}
85 changes: 0 additions & 85 deletions src/main/deltachat/backup.ts

This file was deleted.

100 changes: 0 additions & 100 deletions src/main/deltachat/chat.ts

This file was deleted.

Loading

0 comments on commit 371e49c

Please sign in to comment.