aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* The help popup about shortcuts fits all text nowperso-rebasedMiquel Lionel2022-03-261-32/+4
| | | | | - Also, a notification is now displayed when switching to offline mode (no sounds).
* Replace cp commands by cmake equivalentsMiquel Lionel2022-02-212-8/+9
|
* Fix notification triggering for previously clicked convosMiquel Lionel2022-02-152-1/+2
| | | | | - Also fix spacing on the right for message send by ourselves. tldr, we add a right margin in Message.qml
* remove useless comments in notifications.h/cppMiquel Lionel2022-02-072-5/+0
|
* Move notifications to own header fileMiquel Lionel2022-02-0612-3/+83
| | | | | | | | - also make a skel for files in /usr/, useful for sounds and notifyrc - build.sh use plain simple cp -r to copy the skel. also copies the knotifications5 in the current directory for qml.qrc embedding in case the app is used on android.
* Implement notifications + "mute/unmute chat" menuMiquel Lionel2021-12-2913-43/+70
| | | | | | | | | | | | | | | - Added icons: Pinned and muted chats have icons. It's from Twemoji font, I've added credits in the README.md and source code of ChatlistItem.qml. I prefer to rely on .PNG for this one because icon might not be installed or exist on the system, and we avoid the black box problem. - Modified CMakeLists: added KNotifications as a required library - Modified build.sh: I cannot comprehend how the install(FILES) function from cmake works, so I used good old install from GNU coreutils. It copies usr/ structure and needed files (.desktop and .notifyrc) for KNotifications to work. - Aesthetic changes: context menu is shorter now due to the text being state-aware. You can now also mute a chat so you won't be notified on incoming messages.
* Less clicks: focus compose pane on chat selection.Miquel Lionel2021-12-204-19/+23
| | | | | | | | | | | | | | | - Also we now use Enter to send chat, and Ctrl/Shift+Enter to add newlines. Updated the F1 help accordingly. - there was no way to refresh the message list until you clicked on the chat again, so I moved updateMessagelist() to trigger on every incoming message. We have working block mechanisms now, so it shouldn't be that much of a bother if someone spams you. - To speed up the delay between the UI displaying the message has waiting to be sent, upon sending a message, the startIo() function is now triggered.
* You can unblock people now and some small fixesMiquel Lionel2021-11-206-6/+132
| | | | | | | | | | - the chatlist is now properly updated on blocking a contact request or contact. - A small message is now displayed after blocking a contact request - A list of blocked contact can be found on the settings page, after clicking 'View blocked users' - The message timestamp is now slightly padded
* Block button on contact request works nowMiquel Lionel2021-11-111-1/+2
| | | | | - also fix the videochat invitation button appearing on the new contact request screen
* Implement sending Videochat invitationsMiquel Lionel2021-11-045-6/+30
| | | | | | - layers popping function was hard to read in main.qml, add a line - add editable videochat instance setting
* revert shortcut to action due to bugMiquel Lionel2021-11-031-26/+31
| | | | | | | | - ComposePane.qml shortcut for attaching a file or sending a message stops working once you switch accounts, so for the moment we switch to "action: Action" blocks for Button controls. I still need to figure out why the numbers of presses needed to trigger the shortcut increments each time I switch accounts.
* Clearer pin icon for pinned chats.Miquel Lionel2021-11-022-15/+7
| | | | | - We also remove the rectangle behind it. - remove useless comments in videoChatView
* Videochat message displayed, rm actions dupsMiquel Lionel2021-11-025-17/+34
| | | | | | | | - message.*, qml/Message.qml: Videochat invitation message send from the original DeltaChat app are displayed. Currently, it's best if the chat instance use http or https scheme, since it'll normally open in a browser - qml/ComposePane.qml : We made Shorcuts and actions are needed anymore, no need for duplicates - qml/main.qml: Fix shortcut help for opening Settings page, it's Shift+Tab not Shift+S.
* Create build script for fast testingMiquel Lionel2021-10-311-0/+4
|
* Updated .gitignore to ignore patchesMiquel Lionel2021-10-311-0/+1
|
* Add "Quit" option in sideBar menulink2xt2021-10-311-0/+5
|
* GIFs, display names on every message and morelink2xt2021-10-314-29/+101
| | | | | | | | | | | | | | | | | | | - now we can view animated gifs ! - name are displayed on top of every message type (not just text messages and audio messages) This avoids some confusion in whether a message has been sent by us or not. - we fix the warnings of NON-NOTIFYABLE properties being used by adding one Q_PROPERTY: fileReadOnly, so we can use it to get the filename and not be bothered by console warnings. - we add some variables in Message.qml because some values were repeated and made more sense to put in a readonly var (maxH and maxW). - make scrollbar visible on hover. # Conflicts: # qml/ComposePane.qml
* We add a bunch of keyboard shortcuts. F1 to show.Miquel Lionel2021-10-315-25/+186
| | | | | | - Also, the play, pause and "save attachment" button have a little emoji before them - Tooltip show for buttons with shorcuts
* "Change avatar" btn centered with avatarMiquel Lionel2021-10-311-0/+1
|
* Implement saving attachment to filesystemMiquel Lionel2021-10-273-1/+80
|
* Add video thumbnail, image viewer, video pauseMiquel Lionel2021-10-271-5/+67
| | | | | | | | | | | | | | | | | | | - Image can now be opened in the default viewer defined by the OS. Useful for cropped images. - Videos can have thumbnails now. We also resized them to be the same max width and height as pictures messages to avoid problems watching videos with absurd ratios. - Audio files can be paused now. - We got rid of the button for playing videos. You can now click on it for playing or pausing it. - You can now see any files attached to a message now. Outside the known formats displayed by kdeltachat (mp4, mp3, image files), the file name and a "Save attachment" button will be displayed. This button is not yet functional. - Filenames are now displayed in the label for attached audio, video and files. For example, a song named "naturesounds.mp3" will have "Audio - naturesounds.mp3" as the label
* qmlformatHEADmasterlink2xt2021-10-272-25/+22
|
* Add "Change avatar" button to settings pageMiquel Lionel2021-10-241-0/+26
|
* Change "Attach" button to "Detach" when file is attachedlink2xt1-2/+8
| | | | | As a side effect, this adds a visual cue that a file will be sent. There is no file preview yet, so at least some indicator is needed.
* Add Message.setFile methodlink2xt5-13/+16
| | | | | This allows setting file from JavaScript, so C++ remains a thin wrapper to Delta Chat core API. sendMessage only calls dc_send_msg, and all the attachment logic goes to the JavaScript code.
* Do not copy attachments to blobdir manuallylink2xt1-10/+2
| | | | | | If QFile::copy() fails because blobdir already contains an image with the same file name (could be something common, e.g., "1.jpg"), we end up sending completely wrong file. Delta Chat core (dc_send_msg) already does the copying for us and resolves filename conflicts.
* Make attachment button functionalMiquel Lionel3-7/+33
|
* ComposePane: "attach" buttonlink2xt1-0/+27
|
* Fix QML code stylelink2xt2021-10-0211-471/+564
| | | | Mostly qmlformat, also rename root "id"s.
* Add SOCKS5 settingslink2xt2021-09-102-0/+58
|
* Place "Show full message" between the message and its statuslink2xt2021-09-101-9/+11
|
* Change SettingsPage id into `root`link2xt2021-09-101-22/+22
|
* Make ConfigurePage scrollablelink2xt2021-09-101-28/+26
|
* Make Settings page scrollablelink2xt2021-09-101-3/+1
| | | | This way all the settings are reachable on small screens.
* Remove Version from .desktop filelink2xt2021-09-051-1/+0
| | | | | Otherwise `desktop-file-validate` supporting version 1.4 reports an error. Version field is not required, so simply remove it.
* README: remove outdated hint about starting IOlink2xt2021-08-291-1/+1
| | | | It was replaced with a "work offline" option which is off by default.
* Update README to de-emphasize kdesrc-buildlink2xt2021-08-291-39/+42
|
* Start I/O after configuring or importing an accountlink2xt2021-08-281-0/+6
|
* Create event emitter only after creating an accountlink2xt2021-08-281-2/+3
| | | | Otherwise event emitter will be closed immediately
* Show account import progresslink2xt2021-08-283-0/+9
|
* Add "Show classic emails" settinglink2xt2021-08-281-0/+14
|
* Create initial account if there are no accountslink2xt2021-08-281-0/+6
|
* Return null from DcAccounts::getSelectedAccount if there are no accountslink2xt2021-08-281-2/+5
|
* ConfigurePage: change id to "root"link2xt2021-08-281-18/+18
|
* Accept and reject contact requests in the compose panelink2xt2021-08-282-14/+27
|
* Add padlock and bot icons to messages, improve layoutlink2xt2021-08-283-2/+28
|
* Show message timestampslink2xt2021-08-283-3/+12
|
* AccountsPage: use AbstractListItem for accountslink2xt2021-08-221-29/+30
|
* Change the chat only on clicklink2xt2021-08-221-20/+13
| | | | Prevents switching the chat during the search.
* Move chatlist item to a separate QML filelink2xt2021-08-223-91/+120
|