Commit Graph
4590 Commits
Author SHA1 Message Date
Cédric Krier dfa9ff81fb Prepare release 5.0.0 2018-10-01 12:31:28 +02:00
Cédric Krier 6e618136d8 Set correct operator precedence to resize pixbuf
issue7748
review64431002
2018-09-29 20:39:04 +02:00
Cédric Krier 3b576e29d2 Toggle window hide on time popup-show
This prevent the search window to be hidden when the time drop down is opened.

issue7747
review56411002
2018-09-29 20:38:03 +02:00
Cédric Krier 9480bc8993 Do not fail on configparser error
The client should not crash if the profiles.cfg is corrupted because it
prevent the user to use the profile manager and correct the error.

issue7751
review49611002
2018-09-29 20:36:41 +02:00
Cédric Krier 91fc6e4003 Update translations 2018-09-28 23:02:33 +02:00
Cédric Krier b5c4b37fd9 Do not compare against integer when reference id is None
issue7742
review66421002
2018-09-28 22:06:39 +02:00
Cédric Krier c16d40492e Move record delete to group to get the group context
issue7733
review53431002
2018-09-28 17:35:05 +02:00
Cédric Krier 071d07beec Fix activate and value format of Times in filter
issue7740
review64421002
2018-09-28 17:33:46 +02:00
Cédric Krier 76ecc531ba Remove preferences description
The fields come from the server and depend on the activated modules.

issue7750
review56421002
2018-09-28 17:13:30 +02:00
Cédric Krier a4e7a34920 Add missing compare method to Wizard
When wizard is run as tab, it must also have a compare method.

issue7741
review52511002
2018-09-27 22:21:30 +02:00
Cédric Krier bdc029f5b4 Allow to attach multiple files
issue7735
review56391002
2018-09-26 23:05:11 +02:00
Cédric Krier 7348cb7551 Allow to disable Bus
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Cédric Krier fe9de6ef00 Compare tab before instantiate them
This prevents to fetch views and make search on a tab that already exists.

issue5799
review53411002
2018-09-24 14:40:04 +02:00
Cédric Krier 5d992e9442 Encode data to call gtk_selection_data_set
gtk_selection_data_set requires guchar which is bytes encoded in UTF-8 in
Python3.

issue7710
review64381002
2018-09-24 14:33:27 +02:00
Cédric Krier 1ac825f966 Show ScrolledWindow before setting the states
This prevent of weird behavior when the ScrolledWindow is the last and only
visible Notebook widget. Without this call to show, the page is not visible in
the Notebook.

issue7698
review54351002
2018-09-24 14:26:40 +02:00
Cédric Krier 6a6bbce96e Fix wrong name for tryton-attachment in popup menu
issue7723
2018-09-23 09:24:38 +02:00
Cédric Krier e91cbf7832 Allow to pass parent_context when calling get_context
issue7697
review56381002
2018-09-21 11:02:08 +02:00
Cédric Krier 2775d1639b Use add_box as tryton-create icon
issue7711
review66391002
2018-09-21 10:59:00 +02:00
Cédric Krier 4ad702805c Remove usage of Clipboard set_with_data
The method is not exposed by the introspection.

issue7589
review66381002
2018-09-19 09:11:12 +02:00
Cédric Krier 910c911fa7 Replace do_start_editing by 'editing-started' signal
issue7691
review66371002
2018-09-19 09:09:10 +02:00
Cédric Krier 647a0d32f1 Replace self by cls in classmethod
issue7630
review74341002
2018-09-19 00:15:59 +02:00
Cédric Krier f296a75281 Add quick return when evaluate simple expression
issue7696
review49571002
2018-09-19 00:13:59 +02:00
Cédric Krier af117d0642 Do not set text property on CellRendererToggle
CellRendererToggle does not have a text property.

issue7667
review51511002
2018-09-13 18:44:05 +02:00
Cédric Krier ae5476c64c Encode string to write as binary and use file_write
issue7686
review68311002
2018-09-12 12:50:00 +02:00
Cédric Krier 2d2e32e2f0 Process client action on window wizard
issue7633
review53371002
2018-09-11 00:14:24 +02:00
Cédric Krier de49d52ac8 Improve logging of bus
issue7681
review62331002
2018-09-09 10:09:49 +02:00
Cédric Krier 801ede5790 Force empty text property on no visible cell
In some cases, the treeview with fixed height mode computes a too big height
for the row which a non visible cell with text.
This is an hack to avoid this behavior.

issue7667
review49541002
2018-09-05 21:16:18 +02:00
Cédric Krier 2668c6c69c Improve shortcuts
- Restore CTRL+W and CTRL+N
- Use ALT instead of CTRL when conflict with browser
- Use F1 for help

issue7218
review54331002
2018-09-03 10:30:08 +02:00
Cédric Krier e6dfab7879 Do not load missing view in WinForm
This simplifies the code on sao.

issue7660
review72301002
2018-09-02 10:55:17 +02:00
Cédric Krier f717b64540 Use dropdown for attachments
issue7659
review50551002
2018-09-02 10:44:38 +02:00
Cédric Krier 3978849e3a Remove deprecation warning
- remove invalid escape sequence
- use  read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes

issue7666
issue7390
review53361004
2018-09-01 17:06:28 +02:00
Cédric Krier 70f364697a Reorder window form toolbar in tree mode and update label
issue7664
review53361002
2018-09-01 17:00:37 +02:00
Sergi Almacellas Abellana 62aeeb75e3 Use icon factory to get binary filename open icon
issue7662
review53351002
2018-09-01 11:10:09 +02:00
Cédric Krier ed6a930aca Simplify cellrenderer's
It is not needed to create fake event.
The binary should be activatable instead of editable.

issue7658
review56341002
2018-09-01 00:36:09 +02:00
Cédric Krier 915eeae9af Use get_uris on SelectionData and remove encoding into file system
SelectionData does not have data attribute with the introspection.
And the uris are str which does not require to be encoded in Python3.

issue7649
review66351002
2018-08-31 14:49:59 +02:00
Cédric Krier 7f80c2faae Apply factor on domain parser
issue7642
review68301002
2018-08-30 16:05:38 +02:00
Cédric Krier 10c9649a59 Use tab name for CSV Export/Import
issue7640
review48571002
2018-08-30 15:57:43 +02:00
Nicolas Évrard f3040328c3 Add bus management
issue7537
review66341002
2018-08-30 11:15:01 +02:00
Cédric Krier 33a235d8b9 Replace stock icon by pixbuf 2018-08-29 20:19:44 +02:00
Cédric Krier 0241a2d560 Follow label rules for Favorites 2018-08-29 13:08:06 +02:00
Cédric Krier 244485035d Use set icon variable as image for the favorites menu 2018-08-29 13:07:19 +02:00
Cédric Krier 56b7542557 Use apply_label_attributes instead of get_label_attributes
and do not set editable class to label not linked to field

issue7631
issue7644
review58381002
2018-08-29 09:03:10 +02:00
Cédric Krier 167ec92964 Replace CONFIG.get by getitem call
introduced in 3feeceb952bc
2018-08-27 11:46:50 +02:00
Cédric Krier b3d90ad9ed Use standard RPC call to set_preferences
issue7568
review70291002
2018-08-26 18:04:36 +02:00
Cédric Krier 82dd8cc2ec Use material design icons
* Redefine the default list of icons
* Use custom implementation for IconFactory
* Remove noimage
* Allow configure maximum image size

issue7059
issue474
review60291002
2018-08-19 20:00:57 +02:00
Cédric Krier dc12bf0c6d Compute Group readonly with the full context
issue7614
review54301002
2018-08-18 22:55:40 +02:00
Cédric Krier 21863bdd33 Add pyson TimeDelta
issue7351
review47651002
2018-08-18 17:19:33 +02:00
Cédric Krier 21852fa15d Define a default msg_type so message can be called
The logs on form calls message directly.
2018-08-11 16:36:03 +02:00
Cédric Krier d949cfe35f Set CSS theme for text 2018-08-11 16:34:55 +02:00
Sergi Almacellas Abellana d6fcb2dce3 Convert text reports to bytes before writing them
issue7594
review58361002
2018-08-08 10:33:00 +02:00