Commit Graph
4815 Commits
Author SHA1 Message Date
Cédric Krier 3378ee4674 Remove id from screen context and compare proper attributes
As mode is not always filled, we must compare only if view_ids is empty and we
must use the default value as fall-back.
The limit is a local parameter that should not be forced when opening an URL.
The screen context may be modified thanks to the context model, we must compare
the current context of the screen instead of the initial one.

issue8977
review272751003
2020-01-20 11:10:51 +01:00
Cédric Krier fac74df68b Manage empty direction when updating arrows
Since issue8880, the direction of order may be null.

issue8974
review284691003
2020-01-09 22:35:55 +01:00
Nicolas Évrard ae44737828 Add MultiSelection entry to Dict field
issue8903
review284571003
2019-12-30 14:26:14 +01:00
Cédric Krier 19f1c154ad Keep order of completion strings
The tests are expecting this behavior.
2019-12-28 20:06:55 +01:00
Cédric Krier e14dba7c6b Position new record based on order
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.

issue8880
review276501003
2019-12-28 18:16:28 +01:00
Cédric Krier 6bebed8650 Consider event as all day only for date instances
issue8922
review282561002
2019-12-28 17:52:30 +01:00
Cédric Krier b74753f033 Add unittest
issue8905
review258541002
2019-12-18 22:41:05 +01:00
Cédric Krier f9c4848d22 Allow relation field to be selected in CSV export
issue6962
review284571002
2019-12-18 21:43:09 +01:00
Cédric Krier f04bf1bdf8 Replace sig_quit by on_quit call when canceling login
issue8916
review280621003
2019-12-18 21:37:19 +01:00
Cédric Krier a9113da491 Add help text to Dict keys
issue8801
review284371002
2019-12-11 22:25:51 +01:00
Cédric Krier 42bbf84dd2 Ensure all containers set the tooltip
We use a common class to ensure all container have a common behavior.

issue8892
review268571003
2019-12-11 18:39:02 +01:00
Cédric Krier 83b34302a1 Align CENTER instead of FILL when the widget is not expanded
issue8889
review264881002
2019-12-11 18:37:15 +01:00
Cédric Krier b788b5a643 Update button_action with returned values
issue8766
review268241002
2019-12-07 16:03:36 +01:00
Cédric Krier 06b3c13441 Properly test always checkbox in user warning
We stop using callback on checkbox to store the value but use directly the
value from the widget.

issue8847
review272541002
2019-12-05 21:43:59 +01:00
Cédric Krier 7326f057ec Bundle CA certificates when freezing
On Darwin either, Python uses its own copy of OpenSSL and so it does not use
the certificate from the OS.

issue8865
review274421002
2019-12-05 21:24:43 +01:00
Cédric Krier ed72f11134 Display record name on the concurrency comparison tab
issue8803
review282351002
2019-11-26 22:34:49 +01:00
Cédric Krier a8d33acff6 Append CI build number to package version
This makes them unique and avoid collision with the shared cache.

issue8831
review254651002
2019-11-25 21:55:22 +01:00
Nicolas Évrard 66d027d7d4 Add validate information on wizard Button
issue8571
review260041002
2019-11-21 15:39:56 +01:00
Nicolas Évrard 704b7905e1 Guess encoding when sending bytes to a Char widget
issue8824
review258401002
2019-11-21 15:38:10 +01:00
Nicolas Évrard 8b07b703dc Manage cancelling FileChooser in the Binary
issue8821
review268441002
2019-11-18 12:27:19 +01:00
Cédric Krier cc11b151fe Set alignment on widget and do not override with [x,y]fill
The alignment and fill properties are merged in GTK3 and the default value is FILL.
Also using properties in Gtk.Align is deprecated so it is better to set
directly alignment on the widget.

issue8799
review278121002
2019-11-16 12:54:07 +01:00
Cédric Krier 00ac259b79 Convert to float when parsing timedelta
The user can enter a float value for the converter parts.

issue8816
review256231002
2019-11-16 12:51:50 +01:00
Nicolas Évrard 3c167bf702 Remove implicit field names in ModelStorage.search_read
review285801003
issue8569
2019-11-15 11:57:15 +01:00
Cédric Krier 62bd140006 Increase version number 2019-11-04 12:46:55 +01:00
Cédric Krier e995cd6761 Added tag 5.4.0 for changeset 9f3fbb33df18 2019-11-04 12:46:38 +01:00
Cédric Krier c24a95dff8 Prepare release 5.4.0 2019-11-04 12:46:38 +01:00
Cédric Krier c340f449ac Add Indonesian
issue8184
review285461002
2019-11-01 23:35:00 +01:00
Cédric Krier 5b859cf3e0 Do not search remote value if view has no more the focus
If the user switch the tab with a value filled in the entry, the search window
is hidden and the all application is made insensitive. So we must ensure that
the search window will be linked to the current view. This is ensured by a
widget with the focus.

issue8733
review288291002
2019-10-30 13:22:22 +01:00
Cédric Krier 7ddb2ba096 Always delete One2Many record when add_remove attribute is not set
issue8731
review264431002
2019-10-24 19:19:55 +02:00
Cédric Krier 1611b76c77 Do not fail when get_visible_range return None
It can happen if there is no node if found by GTK.

issue8694
review277971002
2019-10-24 19:16:12 +02:00
Cédric Krier 686f9d6df6 Add permission groups on export
By default an export is only available for his creator and administrators.
We add a list of groups that are allowed to read and a second subset of groups
that are allowed to modify it.

issue8695
review252331002
2019-10-14 00:09:32 +02:00
Cédric Krier 3076f680f2 Add domain parser tests to parse operator as value
issue8711
review268071002
2019-10-11 11:48:24 +02:00
Cédric Krier 125c0eb2e2 Search for '..' only on string value in domain parser
The value can be a list if ';' is used.

issue8706
review254381002
2019-10-11 11:40:42 +02:00
Cédric Krier 43ac1b6761 Set required from field to node attribute
issue8676
review284111003
2019-10-08 18:08:06 +02:00
Sergi Almacellas Abellana 3437dffc43 Use the same naming for audit fields on server and client side
issue8688
review270251002
2019-09-30 09:47:37 +02:00
Sergi Almacellas Abellana f5f4fa465d Add missing end dot on translatable strings
issue8670
review252211037
2019-09-30 09:40:31 +02:00
Cédric Krier 7167b9224e Do not use record in __init__ of form widget
During the initialization of the widget, the view may not yet have a proper
record. But update_img access the record of the view.
Also it is safer for list-form to define the _record before calling super in
case there is an access to record attribute.

issue8616
review285981002
2019-09-28 23:23:01 +02:00
Cédric Krier 76550d2357 Add widget suffixes to the list of suffixes to render
issue8653
review266011002
2019-09-23 23:20:07 +02:00
Cédric Krier ca0450b7ad Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier 3d84838c83 Add start value to PYSON Date and DateTime
This enable the customization of the starting point for delta operations.

issue8561
review264041002
2019-09-20 11:36:05 +02:00
Cédric Krier 91f63609e8 Add MultiSelection field
issue7851
review249911002
2019-09-20 11:32:56 +02:00
Sergi Almacellas Abellana 57e0526c00 Support dot notation on PYSON Eval
issue8528
review287841003
2019-09-19 14:11:23 +02:00
Cédric Krier 4fcf8c5c8f Use locale format to export CSV from print button
issue8635
review252101002
2019-09-17 00:09:44 +02:00
Cédric Krier ec8838b41a Improve completion on boolean
- Do not convert None to False
- Complete with the opposite or both values

issue8620
review254181002
2019-09-16 23:59:43 +02:00
Cédric Krier 73923b62d4 Add operators on Date and DateTime widget of Dict
issue8607
review249871002
2019-09-11 23:40:46 +02:00
Cédric Krier d3057acff8 Replace child_of target only if it is not a related field
issue8609
review285911002
2019-09-02 18:34:55 +02:00
Cédric Krier 8b4dced3cd Do not consider readonly/non editable widget as focusable
issue8475
review277751002
2019-09-02 18:28:23 +02:00
Sergi Almacellas Abellana e1a8b2c7a9 Do not test NumericEntry digits for non numeric values
issue8532
review285861002
2019-08-30 08:59:18 +02:00
Cédric Krier 44a88254a0 Use locale.delocalize() instead of undocumented func parameter of locale.atof()
The locale.delocalize() method has been added in Python 3.5 which is the
minimal version required.

issue8572
review273811002
2019-08-25 12:41:43 +02:00
Cédric Krier efc5beadd7 Do not log as error empty icon name
issue8584
review257981002
2019-08-22 22:46:45 +02:00