Commit Graph

176 Commits

Author SHA1 Message Date
Daniel Brötzmann d106c0d316 ManageProxies GUI update 2018-11-07 17:07:24 +01:00
André 2ec1baa7bd Roster: Improve contact filter look 2018-11-04 22:59:56 +01:00
Philipp Hörist b6c4fcfb54 Use always an action to open the history window
- Make all menus and shortcuts use the 'app.browse-history' action
- HistoryWindow: Inherit from Gtk.ApplicationWindow
2018-11-04 22:50:21 +01:00
Philipp Hörist 3e387f5215 GroupchatConfig: Valid form before sending 2018-11-04 17:45:27 +01:00
Philipp Hörist 6b65a23371 DataForms: Make validation possible
- Show orange warning icon if a field is required
- Show red error icon if validation of the field failed
- Set validation error text as tooltip of the icon
- DataFormWidget emits a signal 'is-valid' on every change
2018-11-04 00:58:34 +01:00
Philipp Hörist 6e41699297 GroupchatConfig: Tidy up some rough edges 2018-11-03 13:44:50 +01:00
Philipp Hörist 5d5d686408 DataFormWidget: Color required fields red 2018-11-03 13:44:36 +01:00
Philipp Hörist 61a791d67c Rewrite GroupchatConfig dialog
- Complete rewrite of the dialog
- Use new DataFormWidget
2018-11-02 22:24:28 +01:00
Philipp Hörist 32e736aa32 Remove unused shortcut 2018-11-02 21:01:26 +01:00
Daniel Brötzmann 7cae880920 ManageSounds GUI Update 2018-11-02 17:09:28 +01:00
Philipp Hörist c2521a41d6 Add margin to DataFormWidget 2018-11-01 08:23:04 +01:00
Philipp Hörist 5769ca1e29 Remove dead servers from servers list
All removed servers did not answer to a IBR request
2018-10-28 21:45:04 +01:00
Philipp Hörist 2a0d6dc1ad Use json format for the servers list 2018-10-28 21:26:25 +01:00
Daniel Brötzmann a75c0cbd48 Remove obsolete glade file for features window 2018-10-27 18:04:27 +02:00
Daniel Brötzmann 5fb6032420 Update Features Dialog Design 2018-10-27 14:54:57 +02:00
Daniel Brötzmann 5d2e83394b Rework Preferences Window 2018-10-26 00:18:06 +02:00
Daniel Brötzmann b5416f0e97 Rework ACE 2018-10-26 00:06:27 +02:00
Philipp Hörist 0e2a9c724f Improve ExceptionDialog
- Move to gtk module
- Use get_builder() so translation works
- Add GLib version
- Remove standalone testing code
2018-10-24 21:14:54 +02:00
Daniel Brötzmann 79a37f6992 Update ExceptionDialog GUI 2018-10-24 20:41:16 +02:00
Daniel Brötzmann 4f28720db0 Remove ESessions leftovers 2018-10-21 23:17:42 +02:00
Daniel Brötzmann 491237b41d polish-change-status-dialog 2018-10-09 20:11:01 +02:00
Philipp Hörist 990a35f9d8 MUC: Add option for showing the subject on join 2018-10-06 00:35:24 +02:00
Daniel Brötzmann 6975ffdf94 Unify Emoticon and Emoji strings 2018-09-30 10:37:16 +02:00
Philipp Hörist a8c0567bd0 Request security catalog from the barejid
- Some Code/UI cleanup
2018-09-30 00:15:00 +02:00
Philipp Hörist 8ff3e55f33 Fix security labels 2018-09-29 18:29:59 +02:00
Philipp Hörist cc891be187 Fix mnemonics and change some strings 2018-09-27 22:04:15 +02:00
Philipp Hörist 58796d223e Preferences: Update layout and some options
- Add a 'convert ascii emoji' checkbutton
- Remove 'Disabled' from Emoji theme
- Change the layout of the style tab
2018-09-27 21:38:23 +02:00
Philipp Hörist 075069d37a Fix Dark Theme switch
- Move css_config to gtk module
- Add Combobox for overriding the current session setting
- Move theme methods to css_config
2018-09-26 20:17:13 +02:00
Philipp Hörist 0e0bb9e190 Add dark theme switch in preferences 2018-09-23 15:00:32 +02:00
Philipp Hörist 39f5803651 Windows: Add debug logging switch in preferences
If debug logging is enabled verbose output is redirected to a file
in the user dir
2018-09-23 14:41:26 +02:00
Philipp Hörist 06302cdc4d Refactor link context menu
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-09-22 13:35:07 +02:00
Philipp Hörist 0a66b6d9ad remove icon 2018-09-19 22:22:52 +02:00
Philipp Hörist 94b17b1fbc Fix colors and icons 2018-09-19 22:22:52 +02:00
Philipp Hörist 854f8512a4 Remove not used liststore entrys 2018-08-19 13:51:06 +02:00
Yann Leboulanger c6dbf775fa make a string not translatable 2018-08-18 14:39:32 +02:00
Philipp Hörist c8c44f5a78 Fix XMLConsole
- Print the stream header again
- Fix template button, it should not be translated
2018-08-18 12:35:21 +02:00
Philipp Hörist 1bb04ca402 Dont use hide() after show_all()
rather use no_show_all. This reduces flickering when we show the window
2018-08-18 00:48:12 +02:00
Philipp Hörist d97c726a9f Add twitter emojis 2018-08-17 21:55:49 +02:00
Philipp Hörist 1577bcba5a Move the noto atlas generator code into a new project 2018-08-17 21:55:48 +02:00
Philipp Hörist 5feb4becfd Rework Emoji implementation
- Use emoji data from a generated dict based on the offical unicode docs,
this makes it easier to update in the future
- Rewrite the emoji chooser
- Add a search field to the emoji chooser
- The emoji chooser is loaded async
- Update to current Unicode 11 Noto theme
2018-08-17 21:55:42 +02:00
Philipp Hörist 9d5131b8b4 Rework Gajim Theming
- Save all Theme settings to .css instead of the config file
- Add a gajim-dark.css
- Refactor the ThemesWindow
2018-08-16 22:53:33 +02:00
Sophie Herold aa5fca866b Align vcard dialog labels with profile dialog 2018-08-08 19:59:47 +02:00
Philipp Hörist c778ed6917 Move Preferences into own module
- Port Preferences to Gtk.ApplicationWindow
2018-08-06 19:48:49 +02:00
Sophie Herold 42adff1b1b Rework Preferences Dialog 2018-08-06 19:48:49 +02:00
Philipp Hörist f90b9a6b3a Add new DataFormWidget 2018-08-05 22:51:03 +02:00
Philipp Hörist 043e764896 Make Service Registration a Gtk.Assistant
- Move all xmpp Register methods into the register module
2018-08-04 19:47:57 +02:00
Sophie Herold 99ec800856 Rework History Dialog 2018-08-04 11:04:36 +02:00
Philipp Hörist 560a122ab5 Add error message to change password dialog
- Move register methods to own module
2018-08-01 00:35:42 +02:00
Philipp Hörist b3f1416c24 Move features dialog into gtk folder 2018-07-29 23:58:38 +02:00
Philipp Hörist 3a3b5aff20 Move some dialogs into gtk module 2018-07-18 00:15:46 +02:00
Sophie Herold f89169517e Rework Plugins Dialog 2018-07-16 22:38:08 +02:00
Sophie Herold 67d9b7a7ea Rework Bookmarks Dialog 2018-07-16 19:44:38 +02:00
Philipp Hörist ebbe06d587 Refactor MAM into own module
- Rework the MAM Preference dialog
- Move MAM Preference dialog into a new gtk module
- Refactor all MAM code into own module
- Refactor the MAM code itself so we can easier test it in the future
- Add a misc module for smaller XEPs and move EME, Last Message Correction
Delay, OOB into it
- Add dedicated module for XEP-0082 Time Profiles
2018-07-15 14:26:00 +02:00
Sophie Herold 6d96005d55 Disable recently button if popover is empty 2018-07-10 18:08:11 +02:00
Sophie Herold a506226d88 Add paste from clipboard in JoinGroupchat dialog
Closes #9237
2018-07-10 18:01:50 +02:00
André Apitzsch dbb4c5318c Filetransfer UI: remove deprecated properties 2018-07-08 22:48:28 +02:00
Sophie Herold 0750d6f6ef Fixes account box with one account is shown 2018-07-08 19:50:49 +02:00
Sophie Herold 0eeb111a02 Rework Add Contact Dialog 2018-07-07 00:46:23 +02:00
Sophie Herold 4fa4484dfd Rework JoinGroupchat Dialog 2018-07-06 22:14:32 +02:00
Philipp Hörist 0dde1759e8 Make Profile a GtkApplicationWindow
Fixes #9180
2018-07-01 13:30:13 +02:00
Sophie Herold d6501898d8 Polish Profile Dialog 2018-07-01 12:59:00 +02:00
Alexander Krotov 2e58ffdd49 Change data_form_window.ui to avoid "Overriding tab label for notebook" warning 2018-06-28 23:26:15 +02:00
Alexander Krotov 10e1e1fe14 Replace progress bars in ad-hoc commands window with spinners
Progress bar "pulse" method indicates that something has been done. For example, when indexing files, it can indicate that one file has been processed, but the number of files to process is unknown. In case of ad-hoc commands, there is only an indication that Gajim is waiting for the network, so spinner is more appropriate here.
2018-06-24 02:45:01 +03:00
Alexander Krotov bd4aa0f40f Replace ad-hoc command radio buttons with a list
Radio buttons are more suitable for static lists of options.
GNOME seems to be using lists in similar situations, for example to show a list of network printers.
This also makes it possible to search a command by typing.
2018-06-23 21:21:55 +03:00
Philipp Hörist 86eddc2ee9 Remove unused config option log_encrypted_sessions
Fixes #9189
2018-06-23 17:13:57 +02:00
André Apitzsch ab3c53bf49 Remove yahoo transport
fixes #9188
2018-06-15 12:19:02 +02:00
Philipp Hörist a506758ed3 Remove TLEN related transport code/icons
This Messenger shut down and is not available anymore
2018-05-31 21:01:29 +02:00
Philipp Hörist d656428090 Remove MSN related transport code/icons
This Messenger shut down and is not available anymore
2018-05-31 20:29:13 +02:00
Philipp Hörist 38c669b6e1 Remove AIM related transport code/icons
This Messenger shut down and is not available anymore
2018-05-31 20:29:06 +02:00
Philipp Hörist c38db84e04 Refactor FileChooserDialogs
Use GtkFileChooserDialog only when we need previews, default to
NativeFileChooser otherwise.

GtkFileChooserDialogs have a long list of issues, so lets only use it
if we gain something from it.

Flatpak should only run NativeFileChoosers because its sandboxed and
this is needed for security purposes. As a result of that, Flatpak Users
dont have image previews in the FileOpenDialogs

Refactor all FileChoosers for a more simple approach when we use them

Add a new SendFileDialog, so we dont have to put widgets into the FileChooser
which forces non-native Dialogs.
2018-05-05 09:22:08 +02:00
Philipp Hörist fc9d242f65 Refactor ManageSoundsWindow
- Move code into ui file
- Use FileChooserButton instead of FileChooserDialog
- Make methods private
- Simplify code
2018-05-02 22:38:07 +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 b0fce17cf2 HistoryManager: Open window centered 2018-04-21 13:59:30 +02:00
Philipp Hörist e3066fb5ca Improve AccountsWindow design
Fixes #8940
2018-04-15 23:36:34 +02:00
Yann Leboulanger 8e144e46f8 Use XMPP logo in add contact dialog for XMPP protocol. Fixes #9049 2018-04-04 14:42:10 +02:00
Yann Leboulanger dc58586a7a mark string as translatable. Fixes #9050 2018-04-04 14:23:12 +02:00
Philipp Hörist b54f27599c Set min-width for notebooks tabs
Fixes #8973
2018-03-25 23:28:17 +02:00
Yann Leboulanger faa88819a1 improve some strings 2018-03-25 16:26:29 +02:00
Philipp Hörist b3e6170e57 Remove cacert.pem
Dont ship cacerts, use certifi on Windows
2018-03-24 00:17:34 +01:00
Philipp Hörist e0256719ae Refactor resizing MUC rosters
Dont trigger resizes on notify::position, because the absolut
handle position changes also on window resizes, but the relative handle
position doesnt change.

Instead we use the notify::position event now to save the new position
to the config file and use left button release event (release of the handle after dragging)
and the window maximize/minimize event to trigger resizes in all controls

This fixes also fixes a issue where a previously hidden roster was shown again
if a new tab was opened.

Fixes #8984
2018-03-23 00:41:15 +01:00
Philipp Hörist abdca0eaac Fix TextView scrolling
Fixes #8813
2018-03-20 22:19:30 +01:00
Philipp Hörist 12b27bf5ba HistoryManger: Fix window dimensions 2018-02-25 20:18:46 +01:00
Philipp Hörist eb3a53c791 Refactor emoticon theme combobox
- Use ComboBoxText, its much simpler
- Add a dedicated method that returns all available themes
- If the configured Theme is not available fallback to font-emoticons
2018-02-21 23:52:53 +01:00
Philipp Hörist f1aceae214 Fix avatar ratio
Fixes #8907
2018-02-19 22:02:31 +01:00
Sebastian Wagner 8b8ffae89a Join Groupchat Dialog use_underline for headerbar Join button mnemonic
https://valadoc.org/gtk+-3.0/Gtk.Button.set_use_underline.html
2018-02-13 20:49:48 +01:00
Link Mauve c02af8f517 Fix data form window space usage 2018-02-12 12:34:00 +01:00
Philipp Hörist 7b1bdc5591 Merge branch 'history-navigation' into 'master'
Add navigation for chat history

See merge request gajim/gajim!202
2018-02-08 17:34:19 +01:00
Daniel b0bf74337c Add navigation for chat history 2018-02-07 10:04:56 +01:00
Philipp Hörist e19f7ef9b6 Use icons from IconTheme in TransformChatToMUC 2018-01-29 00:06:46 +01:00
Philipp Hörist adb326a5f2 Refactor StatusComboBox
- Move as much code as possible into Glade file
- Pull icons from the IconsTheme (because of HiDPI scaling)
2018-01-29 00:06:31 +01:00
Philipp Hörist 749fcc1b48 Set enryption icon correctly 2018-01-29 00:06:31 +01:00
Philipp Hörist 440b6e4829 Move icons to hicolor folder
also add svg images for scaling
2018-01-29 00:06:21 +01:00
Philipp Hörist 5ce0c65ce4 Move chat options menu
Putting it into the header forced GTK Window Decorations, that makes
the application look alien on all systems except Gnome.
2018-01-28 20:39:02 +01:00
Bronko 3a3be94aa8 integrate httpupload plugin into gajim core
add new config option 'filetransfer_preference'
add drag and drop support for file upload
2018-01-22 17:29:27 +01:00
Philipp Hörist 67a008ea80 Improve ExceptionDialog
- Add OS/System info to report text
- Use ApplicationWindow
- Supply all the infos directly to gitlab via url params
2018-01-17 23:57:49 +01:00
Daniel dcfa252602 Fix accidently translated strings 2018-01-17 21:15:14 +01:00
Daniel 792be24540 Make more strings translatable 2018-01-15 10:51:04 +01:00
Philipp Hörist fd7f302044 Merge branch 'master' into 'master'
Refactor some Tooltips

See merge request gajim/gajim!180
2017-12-24 08:40:04 +01:00
Philipp Hörist 9db9e69c35 Refactor FileTransferWindow tooltip 2017-12-23 22:04:49 +01:00
Yann Leboulanger c3369f0304 ability to call ad hoc commands on groupchats and groupchats occupants.
Fixes #8819
2017-12-22 12:21:57 +01:00