1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-16 05:25:22 +02:00
Commit graph

19 commits

Author SHA1 Message Date
Mingrui Zhang
2e60568307 project: don't use Qt keywords for signal/slot/emit
Gitlab: #320
Change-Id: Ia2a16a05be3fd6452a39df999660a5c8440eea13
2021-04-02 15:37:43 -04:00
Andreas Traczyk
4ce208ec33 injection: remove the remaining c++ singleton classes
- refactor qml object registration
- inject AppSettingsManager and SystemTray

Gitlab: #320
Change-Id: Ic8232a290003245d09ad9452c9f5518fd260af78
2021-04-02 15:37:33 -04:00
Andreas Traczyk
255252e3aa cmake: use a default ring-project lrc path if not defined
This provides out-of-the-box cmake configuration for QtCreator
without having to manually specify the lrc path.

Change-Id: I3a8abbc2d0dd8062cecece166afbf09b91b52f59
2021-04-02 15:37:33 -04:00
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
Andreas Traczyk
28aa5aab6d settings: use default audio devices
Refactors audio settings to avoid list model code duplication. This code
could be greatly simplified by using string lists, however the combo-box
component design is highly dependent on QAbstractItemModel based models.

Also translates the handlebarred strings upon presentation, which is
currently used to translate the "Default" prefix for the first device
item.

Gitlab: #346
Change-Id: I5ed282d29cc4ec6a090a9cdf47b0459f0db2a99b
2021-03-22 15:59:24 -04:00
ababi
4d6f5b3410 translations: revise access to translations for GNU/Linux
- correct translations (.qm) install path for cmake
- use JAMI_INSTALL_PREFIX to fetch translations
- create "share/ring/translations" inside build dir to store .qm files

Change-Id: I127cbad1d4b00a628d79e9654ed471f456a550e8
2021-02-19 17:28:48 -05:00
ababi
c36d5cc324 callview: inhibit screen saver while in a call
Gitlab: #272

Change-Id: I25c1a9547b526f8889231a9d5061e63c349c39f1
2021-02-12 17:18:21 -05:00
Amin Bandali
e93854e137 autostart: revision for snap packaging
Adjust JAMI_DATA_PATH (and in turn JAMI_DATA_DIR) for snap after any
cmake 'install' command definitions that refer to it, so that the
version compiled into the package using target_compile_definitions
will have the right value for our snap package.  With this particular
configuration, we don't have to check for JAMI_DATA_DIR during runtime
since it will have the right value set at build time, and the path it
points to (/snap/jami/current/...) is actually stable across updates,
so we don't have to worry about correcting the autostart desktop file
symlink after each upgrade.

Note: as the comments in CMakeLists.txt mention, it is crucial that
JAMI_DATA_PATH is only adjusted after all 'install' commands that
refer to it, because its snap-specific value isn't meant to be used
during build time as an install destination.  Also, that the call to
target_compile_definitions must come after the JAMI_DATA_PATH change
described earlier.

Co-authored-by: ababi <albert.babi@savoirfairelinux.com>

Gitlab: #262
Change-Id: I07896be8195c336833bcd4a84b918276eddbe159
2021-02-12 13:17:19 -05:00
ababi
0d5361fc1f cmake: avoid generating doc if graphviz is not installed
Change-Id: I6fc0e28d5050110c87494e3cb19f7f2deded7ac2
2021-02-08 15:32:39 +01:00
ababi
5d460b089f cmake: fix setting definition
- definitions should be set with COMPILE_DEFINITIONS

Change-Id: Icdd47a010fd51ff4f061ef744d9004ef6b8fca2e
Gitlab: #262, #263
2021-02-05 09:27:17 +01:00
ababi
8caf659bb8 misc: add start on login support for linux
Gitlab: #160

Change-Id: I166988985e4a2c9b1d06d21ba0a1394159478172
2021-02-03 13:42:26 -05:00
ababi
69db8684a1 packaging: add global installation support for linux
- avoid using fixed paths and find LRC either when globally installed or located in custom directory
- add installation rules for binaries, .desktop files, .appdata.xml, logo and doc
- add support for generating and copying runtime files (webresources and translations)
- add launcher script (client qt/gnome/kde selector)
- add uninstall support
- add missing sources (moderatorlistmodel)
- update README

Gitlab: #160, #230, #263, #264

Change-Id: I3fee77a917be038072a20c7f99b510f9a8bf65b4
2021-02-03 13:42:19 -05:00
agsantos
a5ec0c8e65 plugins: add ChatHandler API
Change-Id: I415fc953b9111ca7e3d899c1531a42bd43716ab2
2021-02-03 09:09:26 -05:00
ababi
2d461cc557 build: add support for custom lrc installation path
- qmake: add custom lrc path support
- cmake: add custom lrc path support, check qt version, update dependencies, optional test compilation
- readme: update flags building with make-ring.py
- tests: avoid using pandoc

Change-Id: I97dea21ca7c720c2d619c44bfa7dae5290de72f9
2020-12-16 10:10:58 -05:00
ababi
a4787e2a45 nm: add libnm support for connectivity change detection (linux)
Change-Id: I014999c80cfbc725ff36e517696a3ffb237a6213
2020-12-14 17:17:55 -05:00
ababi
310adb9aa1 cqfd: add Ubuntu 20.10 Dockerfile and other test fixes
- add Ubuntu 20.10 Dockerfile to build with cqfd
- set symlink to Ubuntu 20.10 Dockerfile instead of Debian 11
- fix packages on Debian Dockerfile
- add subdirectory tests and dummy_test to CMakeLists.txt

Change-Id: I13d21e2b9e53d456ec1d7a53962860912397d9c7
2020-11-06 15:31:10 -04:00
ababi
4048a9d710 tests: add first samples for c++ and qml testing
- add QtQuickTest, QtTest and googletest support
- create tests folder within cmake hierarchy
- avoid using wildcards in Dockerfile

Change-Id: I81661a86757f01333538908dbc81a0bafae00ab7
2020-11-06 10:53:34 -05:00
Ming Rui Zhang
173cf2be50 migration: use image provider to show avatar image
1. Use avatarimageprovider
2. Remove redundant base64 code

Change-Id: I2a2517890e95b4a9f9a363fbea2251d6d5dd1c8f
2020-10-30 11:35:39 -04:00
ababi
ce8783f753 build: cmake migration
Change-Id: I53835f403bf5be06ad3b8e92fc3f81c747074d21
2020-10-28 18:38:15 -04:00