Commit Graph

15523 Commits

Author SHA1 Message Date
Marcin Mielniczuk ad4c1347ff Be more descriptive about the ascii_emoticons configuration option 2018-05-02 20:19:24 +02:00
Philipp Hörist ba08ddfef0 Remove not used Dialog
We use now a Gtk.FileChooserButton for client certs
2018-05-02 19:48:44 +02:00
Philipp Hörist bcf27cb3c1 Support for PKIX over Secure HTTP (POSH)
Fixes #9083
2018-05-01 21:08:26 +02:00
André Apitzsch 8d0815c176 Flatpak: limit dbus access 2018-05-01 19:03:06 +02:00
Philipp Hörist c534d3a147 Refactor SSL errors
Dont save fingerprints to config and check certs with our own methods.
We should trust openssl to do all necessary checks.

Self signed certs can be added to cacert.pem and will not show up as
an error until the cert changes.

nbxmpp now saves all ssl errors and passes them, so now we loop over
all errors until all are confirmed or ignored by the user

Also cacerts are now saved in utf-8
2018-05-01 14:03:20 +02:00
Philipp Hörist 779a4d4ce3 Get version from package instead of config 2018-05-01 00:37:13 +02:00
Marco Cirillo a937b0a5e2 servers.xml: re-add lightwitch.org as IBR was re-enabled. 2018-04-30 20:35:28 +02:00
Philipp Hörist 81952f6a7c Convert font weight from pango to css values
Fixes #9106
2018-04-30 17:43:32 +02:00
Yann Leboulanger b5c51932f4 update version to 1.0.2 2018-04-30 17:04:58 +02:00
Philipp Hörist 9aea8eea38 Depend on nbxmpp 0.6.5 2018-04-30 16:57:19 +02:00
Philipp Hörist ced22139ec Update ChangeLog 2018-04-30 16:51:10 +02:00
Philipp Hörist 5af13a0e95 Update Readme 2018-04-30 09:47:30 +02:00
Philipp Hörist 3b73b6f5bb Windows: Always hide roster window on X
As all Windows versions have a status icon and most Windows users expect this

Fixes #9031
2018-04-30 00:35:48 +02:00
Philipp Hörist 7429b97022 Fix Flatpak install instructions 2018-04-30 00:26:19 +02:00
Philipp Hörist 06c4ce60b9 Show correct account lable in tooltip
Fixes #9065
2018-04-29 23:47:30 +02:00
Philipp Hörist e0e3b9609a Dont set urgency when we already set priority
set_urgent is deprecated in favor of set_priority

Fixes #9101
2018-04-29 23:38:16 +02:00
Philipp Hörist 56a5d01609 Dont allow plain BOSH by default 2018-04-29 23:34:46 +02:00
Philipp Hörist b8554e3e22 Jingle: Check first if we have a content
Fixes #9094
2018-04-29 23:30:08 +02:00
Philipp Hörist bf8dcb5a3e Update Flatpak 2018-04-28 13:42:08 +02:00
Markus Wintermann 49bfc1f226 Add support for dynamic reloading of plugins
‎* rename the remove_plugin function to uninstall_plugin because it
deletes files on the disc and uninstall is the label of the button which
triggers this function
* added a new remove_plugin function, which deactivates the plugin (if
needed), removes it from the list of managed plugins and deletes the
contents of sys.modules
2018-04-28 13:31:19 +02:00
Philipp Hörist 379a4b03d7 Fix Windows build 2018-04-26 20:59:12 +02:00
Philipp Hörist 707599dd86 Dont determine paths at module import time 2018-04-25 21:26:02 +02:00
Philipp Hörist 8c23d5a4b5 Move some imports 2018-04-25 21:24:05 +02:00
Philipp Hörist b4f6116e3b Import app only once 2018-04-25 20:59:23 +02:00
Philipp Hörist 105427b8fd Use consistent way to get paths
This lets us now import the app module without setting paths
2018-04-25 20:49:37 +02:00
Philipp Hörist 52cbae69ee Refactor Gajim startup
Remove as much as possible startup code from GtkApplication to stay
more true to our goal to separate GUI from the rest of Gajim
2018-04-25 19:16:38 +02:00
Philipp Hörist 1c48ee405d Fix Windows build 2018-04-24 23:53:18 +02:00
Philipp Hörist e2383fd7a4 Refactor i18n module
- Move everything translation related from gajim.py to i18n.py
2018-04-24 23:03:19 +02:00
Philipp Hörist 21d4d0cb1e Remove unused import / codestyle
Pass args to logging method instead of string formatting
2018-04-24 21:34:53 +02:00
Philipp Hörist e265514d88 Detect dependencys only on demand
This allows us to import the app module without triggering
dependency detection

Also add is_installed() for checking if a dependency is installed and
disable_dependency() in case we dont want to use a dependency
2018-04-24 19:36:33 +02:00
Philipp Hörist 986898f69d Dont check for OpenSSL we require it on install 2018-04-23 23:47:17 +02:00
Philipp Hörist 872c68b368 Remove accidentally commited file 2018-04-23 21:35:24 +02:00
Philipp Hörist 5ee45b86e9 Refactor database migration
- Move database migration to the logger module
- Dont depend on Gajim version for migration use PRAGMA user_version
- Refactoring of some methods in the logger module
- Dont use cursor object, if there is no reason
- Make some attributes and methods private
2018-04-23 21:27:01 +02:00
Philipp Hörist 4c1bfda48d Fix const imports 2018-04-23 18:32:01 +02:00
Philipp Hörist 4f2033faff Move constants into const module 2018-04-23 18:23:57 +02:00
Philipp Hörist 86bfc81ad3 Remove old unused migration method 2018-04-23 17:34:14 +02:00
Philipp Hörist 3efa731fbf Add stanza_id index also when we create the DB 2018-04-23 00:10:35 +02:00
Philipp Hörist 8306f076b3 Move path creation into configpaths module 2018-04-22 23:12:34 +02:00
Philipp Hörist 124e501f26 Make ExceptionDialog easier to test 2018-04-22 22:34:27 +02:00
Philipp Hörist 188fb85bd0 Move DB creating into logger module 2018-04-22 22:16:17 +02:00
Philipp Hörist efd2ca50c6 Remove unused old migration method 2018-04-22 02:30:34 +02:00
Philipp Hörist 3ad539cbf2 Make sure all config dirs get created
LOG_DB_FOLDER and CACHE_DB_FOLDER are equal to MY_DATA and MY_CACHE
2018-04-22 02:30:08 +02:00
Philipp Hörist 220bf35827 Create some folders only on demand 2018-04-22 00:55:48 +02:00
Philipp Hörist c0c16dbf94 Dont change path names because plugins use them 2018-04-21 21:28:19 +02:00
Philipp Hörist 848c5cbdd0 More refactoring around paths
- Remove old config dir migration
- Remove some unused config paths
- Rewrite configpaths.init()
- Simplify creating paths in check_paths
2018-04-21 21:19:32 +02:00
Philipp Hörist 72e69a59af Fix setting custom config root 2018-04-21 14:47:47 +02:00
Philipp Hörist b0fce17cf2 HistoryManager: Open window centered 2018-04-21 13:59:30 +02:00
Philipp Hörist 0739eb9dec HistoryManager: Init configpaths only in standalone mode 2018-04-21 13:59:20 +02:00
Philipp Hörist 4a26ecb12c Refactor configpaths
- init configpaths earlier so logging can access it to store debug logs
- First step for more consistency across Gajim when looking up paths

  Recommended usage for the future:
  app.configpaths.get()
  configpaths.get()
2018-04-21 12:48:57 +02:00
philipp 8e9c040acf Support http:upload:0 2018-04-20 08:35:40 -04:00