Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robustly handle config file syntax errors [PREVIEW] #19

Open
wants to merge 2,706 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2706 commits
Select commit Hold shift + click to select a range
b43468a
[tryton] Remove left over of signal removal [CUSTOM]
JCavallo Jun 14, 2023
3c5d606
[tryton] Remove leftover of expander removal on M2M [CUSTOM]
JCavallo Jun 14, 2023
a1cb0f9
[tryton] Correctly initialize EditableTreeView [CUSTOM]
JCavallo Jun 14, 2023
4628377
[tryton] Remove check on tab_domain [CUSTOM]
JCavallo Jun 14, 2023
81f2c93
[tryton] Iteration on mixt widget [CUSTOM]
JCavallo Jun 14, 2023
4b06d64
[tryton] Ensure that click on button in list-form mode selects first …
JCavallo Jun 14, 2023
d76ca83
[tryton] Accept any arguments for _focus_out [CUSTOM] (#215)
JCavallo Jun 14, 2023
7c5f652
[modules/account] account: Auto reconcile after move is posted [PREVIEW]
JCavallo Jun 14, 2023
0147a72
[coopengo_modules/electronic_signature]
JCavallo Jun 14, 2023
e995ad1
[coopengo_modules/debug] Allow to autoprofile wizards
JCavallo Jun 14, 2023
3ac3b26
[coopengo_modules/electronic_signature] electronic_signature: set tim…
JCavallo Jun 14, 2023
abd20a0
[modules/account_dunning] account_dunning: Fix a translation
JCavallo Jun 14, 2023
8ec5e00
[modules/account] account: Add condition to check if a line is reconc…
JCavallo Jun 14, 2023
0700b11
[sao] Add .gitignore [CUSTOM]
JCavallo Jun 14, 2023
ad64269
[sao] add generated translations to gitignore [CUSTOM]
JCavallo Jun 14, 2023
9ca107f
[modules/party] party: Add missing depends [CUSTOM] (#6)
JCavallo Jun 14, 2023
a95f897
[coopengo_modules/debug] Do not crash on wrong login
JCavallo Jun 14, 2023
6a1324a
[sao] Make it usable for coog [CUSTOM]
JCavallo Jun 14, 2023
51ba3a2
[sao] Style: fix #4514 [CUSTOM]
JCavallo Jun 14, 2023
ab9c234
[sao] add files [CUSTOM]
JCavallo Jun 14, 2023
b6a1313
[sao] Open menu entries with a doubleclick [CUSTOM]
JCavallo Jun 14, 2023
70cfc0f
[sao] set a "min-height" on textareas [CUSTOM]
JCavallo Jun 14, 2023
44e8d6e
[sao] secure group.remove() in _set_value() of O2M [CUSTOM]
JCavallo Jun 14, 2023
d5ae004
[sao] quickfix on DateTimePicker [CUSTOM]
JCavallo Jun 14, 2023
d4d9892
[sao] Change icons [CUSTOM]
JCavallo Jun 14, 2023
372c537
[sao] Rename theme [CUSTOM]
JCavallo Jun 14, 2023
00231f7
[sao] Fix menu icon width [CUSTOM]
JCavallo Jun 14, 2023
2c2ab42
[sao] Report dev on toggle for processes from gtk client [CUSTOM]
JCavallo Jun 14, 2023
9ac3291
[sao] Make nav-bar btn glyphicon blue [CUSTOM]
JCavallo Jun 14, 2023
2d5896e
[sao] Fix global search icons [CUSTOM]
JCavallo Jun 14, 2023
3954fa4
[sao] Add package-lock.json to gitignore [CUSTOM]
JCavallo Jun 14, 2023
e0d4056
[sao] Get dist out of source control [CUSTOM]
JCavallo Jun 14, 2023
c935de1
[sao] Start to define the palette in one file [CUSTOM]
JCavallo Jun 14, 2023
2c662ff
[sao] Refactore global-header and main-screen [CUSTOM]
JCavallo Jun 14, 2023
0387ef9
[sao] Handle inputs.less [CUSTOM]
JCavallo Jun 14, 2023
761c364
[sao] Handle panel.less [CUSTOM]
JCavallo Jun 14, 2023
5403089
[sao] Handle main-tabs.less [CUSTOM]
JCavallo Jun 14, 2023
7e6ddd4
[sao] Handle tabs.less [CUSTOM]
JCavallo Jun 14, 2023
f0581a2
[sao] Handle tree.less [CUSTOM]
JCavallo Jun 14, 2023
735695a
[sao] Add comments on tree.less [CUSTOM]
JCavallo Jun 14, 2023
5f8b64e
[sao] Order by color, more comments [CUSTOM]
JCavallo Jun 14, 2023
2aa6b47
[sao] Remove locale files [CUSTOM]
JCavallo Jun 14, 2023
30c5deb
[sao] Fix comment [CUSTOM]
JCavallo Jun 14, 2023
b24e6f6
[sao] Fix comment, fix oneline_inputs.less [CUSTOM]
JCavallo Jun 14, 2023
0e1a977
[sao] Selection in tree view is blue, fix #8184 , fix #8183 [CUSTOM]
JCavallo Jun 14, 2023
4090245
[sao] Remove deprecated comment [CUSTOM]
JCavallo Jun 14, 2023
2a32894
[sao] define coog palette according to chart [CUSTOM]
JCavallo Jun 14, 2023
37f7bfc
[sao] set main-screen-font-color to black [CUSTOM]
JCavallo Jun 14, 2023
5a675a7
[sao] Begin setting of colors according to #8287 [CUSTOM]
JCavallo Jun 14, 2023
68c6234
[sao] Rm generated translations from git (#6) [CUSTOM]
JCavallo Jun 14, 2023
ba5e8b0
[sao] Reduce menu width for big screens [CUSTOM]
JCavallo Jun 14, 2023
75b0bb4
[sao] Style [CUSTOM]
JCavallo Jun 14, 2023
4ca15f9
[sao] Pîerre's review [CUSTOM]
JCavallo Jun 14, 2023
0cf047d
[sao] Pierre's review [CUSTOM]
JCavallo Jun 14, 2023
c530f82
[sao] Iteration on theme [CUSTOM]
JCavallo Jun 14, 2023
fd6c838
[sao] Tabs [CUSTOM]
JCavallo Jun 14, 2023
64fd277
[sao] Tabs size [CUSTOM]
JCavallo Jun 14, 2023
d673736
[sao] Correctly implement no_command attribute on Dict widget [CUSTOM]
JCavallo Jun 14, 2023
29fffb1
[sao] Iteration on theme (#15) [CUSTOM]
JCavallo Jun 14, 2023
df762d6
[sao] Remove 1 px to tree view to hide default scroll bar (#16) [CUSTOM]
JCavallo Jun 14, 2023
fc816ac
[sao] Add temporary fix for multi_mixed_view crash [CUSTOM]
JCavallo Jun 14, 2023
6b3014f
[sao] Use coog icons for ged toolbar (#22) [CUSTOM]
JCavallo Jun 14, 2023
7a14d75
[sao] Increase tree spaces, add space after list icons (#23) [CUSTOM]
JCavallo Jun 14, 2023
72c8c9e
[sao] Modify badge (#24) [CUSTOM]
JCavallo Jun 14, 2023
f2968de
[sao] Add width % on canvas (#20) [CUSTOM]
JCavallo Jun 14, 2023
a604d33
[sao] Backport refactoring of tree views [CUSTOM]
JCavallo Jun 14, 2023
bec6fe5
[sao] Remove link when line is not selected (#26) [CUSTOM]
JCavallo Jun 14, 2023
0cac922
[sao] Add white color for link (#25) [CUSTOM]
JCavallo Jun 14, 2023
323ea6c
[sao] Extra data: display, and readonly (#27) [CUSTOM]
JCavallo Jun 14, 2023
964e651
[sao] Tree: do not call focus if widget does not define it [CUSTOM]
JCavallo Jun 14, 2023
b7b733e
[sao] Add changelog and comment [CUSTOM]
JCavallo Jun 14, 2023
af628e4
[sao] Theme: Fix size of extra button on toolbar [CUSTOM]
JCavallo Jun 14, 2023
c6fe0f0
[sao] Build: clean scripts (#29) [CUSTOM]
JCavallo Jun 14, 2023
2e4c080
[sao] Tree: prevent crash on prevalidate of m2m [CUSTOM]
JCavallo Jun 14, 2023
73d19ad
[sao] Launch both client action and action
JCavallo Jun 14, 2023
4578a7b
[sao] Remove modal link (#33) [CUSTOM]
JCavallo Jun 14, 2023
6e38c53
[sao] Add scrollbar on modal (#32) [CUSTOM]
JCavallo Jun 14, 2023
14ceb5f
[sao] Fix width of selection input (#34) [CUSTOM]
JCavallo Jun 14, 2023
50e9c39
[sao] Bug/8817 (#35) [CUSTOM]
JCavallo Jun 14, 2023
e6fe128
[sao] Rename the title used in the browser [CUSTOM]
JCavallo Jun 14, 2023
b35d02a
[sao] Remove checkbox for always ignoring warnings [CUSTOM]
JCavallo Jun 14, 2023
e728f4f
[sao] Use CodeMirror to handle SourceView [CUSTOM]
JCavallo Jun 14, 2023
dbe6de8
[sao] Remove console.log [CUSTOM]
JCavallo Jun 14, 2023
e0427ef
[sao] Add some readonly theme [CUSTOM]
JCavallo Jun 14, 2023
3287001
[sao] Add linter [CUSTOM]
JCavallo Jun 14, 2023
8a93cec
[sao] Reduce size below code editor [CUSTOM]
JCavallo Jun 14, 2023
fe7e28b
[sao] Only allow open link when using ctrl key (#46) [CUSTOM]
JCavallo Jun 14, 2023
f5610c0
[sao] CSS: boolean input to the left (#47) [CUSTOM]
JCavallo Jun 14, 2023
470ba00
[sao] Comment linting example [CUSTOM]
JCavallo Jun 14, 2023
93ae303
[sao] Only set width 100% of input-form inside dict (#48) [CUSTOM]
JCavallo Jun 14, 2023
5e7c012
[sao] Load CodeMirror inside docker (#51) [CUSTOM]
JCavallo Jun 14, 2023
6e97af4
[sao] Add linting service support [CUSTOM]
JCavallo Jun 14, 2023
4f0d55a
[sao] Fix populate_funcs [CUSTOM]
JCavallo Jun 14, 2023
1244602
[sao] Set default color on btn-primary (#53) [CUSTOM]
JCavallo Jun 14, 2023
40f8b1f
[sao] Remove color change on dropdown link when hover (#52) [CUSTOM]
JCavallo Jun 14, 2023
dd93570
[sao] Fix commit 7dd58cf55dae4609730ba26a9d7fce092cb68cbf [CUSTOM]
JCavallo Jun 14, 2023
0c0662e
[sao] Add min-width of 12em to m2o input [CUSTOM]
JCavallo Jun 14, 2023
db1a924
[sao] Autorefresh modal codeMirror using addon (#65) [CUSTOM]
JCavallo Jun 14, 2023
2bf9e1f
[sao] Allow list view when Ctrl+click (#64) [CUSTOM]
JCavallo Jun 14, 2023
db6e9db
[sao] Clean session if local session is wrong and we got an ir.sessio…
JCavallo Jun 14, 2023
aae6b1b
[sao] Iteration following tests [CUSTOM]
JCavallo Jun 14, 2023
b1fe40c
[sao] Fix build permissions [CUSTOM]
JCavallo Jun 14, 2023
36e87fd
[sao] Fix dockerfile & fix icons size [CUSTOM]
JCavallo Jun 14, 2023
9b4a0ca
[sao] Properly handle no_command [CUSTOM]
JCavallo Jun 14, 2023
d2758a1
[sao] Ensure every field is loaded when selecting a node in a multimo…
JCavallo Jun 14, 2023
8b51aed
[sao] Fix multiple view promise synchronization [CUSTOM]
JCavallo Jun 14, 2023
677a348
[sao] Set the subview record of mixed-view before displaying [CUSTOM]
JCavallo Jun 14, 2023
99b1007
[sao] Correctly schedule subviews display [CUSTOM]
JCavallo Jun 14, 2023
2935378
[sao] Call container resize when displaying the widget [CUSTOM]
JCavallo Jun 14, 2023
9c292d3
[sao] Fix rule_engine [CUSTOM]
JCavallo Jun 14, 2023
3eb8da8
[sao] Remove offcanvas from docker image build [CUSTOM]
JCavallo Jun 14, 2023
e4a3800
[sao] Adaptation of the sao icons [CUSTOM]
JCavallo Jun 14, 2023
8c06765
[sao] Adaptation of the sao icons [CUSTOM]
JCavallo Jun 14, 2023
a212f1e
[sao] Add material design pencil , use it as m2o edit icon [CUSTOM]
JCavallo Jun 14, 2023
a8f3aeb
[sao] Update Sao.View.Form.Source to use record and field accessors […
JCavallo Jun 14, 2023
c0dcf79
[sao] Always test against undefined and null in group_sync [CUSTOM]
JCavallo Jun 14, 2023
419be28
[sao] Fix glyphicon font load (#92) [CUSTOM]
JCavallo Jun 14, 2023
30d94ba
[sao] Fix get method Reference field [CUSTOM]
JCavallo Jun 14, 2023
c2ae3c1
[sao] Add never_modified flag (#95) [CUSTOM]
JCavallo Jun 14, 2023
c480290
[sao] Correctly set value from on_change calls [CUSTOM]
JCavallo Jun 14, 2023
6138727
[sao] Better looking dictionary forms [CUSTOM]
JCavallo Jun 14, 2023
5d2c804
[sao] Restore old icons, still used coog side [CUSTOM]
JCavallo Jun 14, 2023
61b8324
[sao] Fix width of menu issue [CUSTOM]
JCavallo Jun 14, 2023
6a511bc
[sao] Remove handling of 'always' in UserWarning dialogs [CUSTOM]
JCavallo Jun 14, 2023
5579019
[sao] Imlpement dynamic domain evaluation [CUSTOM]
JCavallo Jun 14, 2023
29edd2d
[sao] Add missing Sortable to depencies [CUSTOM]
JCavallo Jun 14, 2023
511df2b
[sao] Handle table headers colour [CUSTOM]
JCavallo Jun 14, 2023
4c86829
[sao] Set readonly both inputs of numeric dict fields [CUSTOM]
JCavallo Jun 14, 2023
c42c153
[sao] Fix recursive context and wrong handling of tab_domain in searc…
JCavallo Jun 14, 2023
3530e16
[sao] Add option to remove leading and trailing whitespaces from fiel…
JCavallo Jun 14, 2023
03f48f7
[sao] Fix wrong super call from d01cb6bc7577306b (#123) [CUSTOM]
JCavallo Jun 14, 2023
dfee26c
[sao] Update build script post merge (#124) [CUSTOM]
JCavallo Jun 14, 2023
76714c3
[sao] Replace Sortable.min.js by Sortable.js in index.html [CUSTOM]
JCavallo Jun 14, 2023
91fc7d2
[sao] Use coog theme, set icon-background-color to white [CUSTOM]
JCavallo Jun 14, 2023
dc5390c
[sao] Fix input size for date and checkbox [CUSTOM]
JCavallo Jun 14, 2023
134f255
[sao] Fix headers [CUSTOM]
JCavallo Jun 14, 2023
2cff93d
[sao] Fix hover issue [CUSTOM]
JCavallo Jun 14, 2023
2894761
[sao] Remove box-shadow around btn [CUSTOM]
JCavallo Jun 14, 2023
a26b090
[sao] Remove box-shadow around dict [CUSTOM]
JCavallo Jun 14, 2023
8bd1b56
[sao] Restore boxes aournd o2m [CUSTOM]
JCavallo Jun 14, 2023
0398709
[sao] Enforce fullcalendar version [CUSTOM]
JCavallo Jun 14, 2023
c11a5ab
[sao] Propagate changed status to parent on instance button activatio…
JCavallo Jun 14, 2023
968823a
[sao] Activate double click on editable treeviews (#134) [CUSTOM]
JCavallo Jun 14, 2023
fefcb91
[sao] Return rec_name promise when available (#129) [CUSTOM]
JCavallo Jun 14, 2023
996846c
[sao] Add missing semi colon [CUSTOM]
JCavallo Jun 14, 2023
88307fa
[sao] Add database timeout parameter on RPC calls (#140) [PREVIEW]
JCavallo Jun 14, 2023
883be73
[sao] Fix build [CUSTOM]
JCavallo Jun 14, 2023
7be3af3
[sao] Fix build/ep script for boostrap fonts [CUSTOM]
JCavallo Jun 14, 2023
3d77f11
[sao] Remove popper from builds [CUSTOM]
JCavallo Jun 14, 2023
01dd944
[sao] Ensure that click on button in list-form mode selects first the…
JCavallo Jun 14, 2023
ba4790b
[sao] Fetch real count of records on click [PREVIEW] (#149)
JCavallo Jun 14, 2023
2b1fe00
[sao] Add authentication_saml module [PREVIEW] (#148)
JCavallo Jun 14, 2023
f55dd65
[sao] Add changes included in the merge from 6.0 [CUSTOM]
JCavallo Jun 14, 2023
8fa4e46
[sao] Patches from merge into 6.4 [CUSTOM]
JCavallo Jun 14, 2023
d4ff8b5
[trytond] Check that fields used to order are sortable [PREVIEW]
JCavallo Jun 14, 2023
ba461f7
[trytond] Restore gitignore [CUSTOM]
JCavallo Jun 14, 2023
7cf3442
[trytond] Add cache_file_name to activate_modules called from proteus…
JCavallo Jun 14, 2023
6d37e99
[trytond] Use uuid insteadof time to name test db (conflicts) [CUSTOM]
JCavallo Jun 14, 2023
9abc0f9
[trytond] Bypass translations in reports [CUSTOM]
JCavallo Jun 14, 2023
87efe67
[trytond] Do not crash when parsing fields not in the view [CUSTOM]
JCavallo Jun 14, 2023
f54cb33
[trytond] Convert dict fields when restoring history [PREVIEW]
JCavallo Jun 14, 2023
3fc7370
[trytond] Remove test on unused view fields [CUSTOM]
JCavallo Jun 14, 2023
bd2f3ec
[trytond] Disable unused file test [CUSTOM]
JCavallo Jun 14, 2023
50688fc
[trytond] Add children_definitions to fields_view_get [CUSTOM]
JCavallo Jun 14, 2023
9518e08
[trytond] Redefine Field properties on Function field [PREVIEW]
JCavallo Jun 14, 2023
68210e6
[trytond] Do not init the pool twice in dev mode [CUSTOM]
JCavallo Jun 14, 2023
850a074
[trytond] Load static files in werkzeug [CUSTOM]
JCavallo Jun 14, 2023
046bf02
[trytond] Handle term signals [CUSTOM]
JCavallo Jun 14, 2023
85efb84
[trytond] Increase access cache sizes [CUSTOM]
JCavallo Jun 14, 2023
9cdecdd
[trytond] Add comment on cache invalidation race condition [CUSTOM]
JCavallo Jun 14, 2023
3d5d2fc
[trytond] [6.4-patches] Raise an error when sending an email with mis…
JCavallo Jun 14, 2023
c2b97ce
[trytond] config: Restore missing env variable [CUSTOM]
JCavallo Jun 14, 2023
b4897ff
[trytond] trytond: Make convert_domain callable from domain_<field_na…
JCavallo Jun 14, 2023
bfe5015
[trytond] Report contexts get a copy of records with the 'objects' ke…
JCavallo Jun 14, 2023
1999949
[trytond] Set the fallback application name when connecting to postgr…
JCavallo Jun 14, 2023
9e6277f
[trytond] Add support for psycopg2cffi and PyPy [CUSTOM] (#231)
JCavallo Jun 14, 2023
bf42b81
[trytond] Use singleton for TableHandler [PREVIEW] (#227)
JCavallo Jun 14, 2023
402452d
[trytond] trytond: Sorting actions by their decoded names [CUSTOM] (#…
JCavallo Jun 14, 2023
df07bcc
[trytond] Reset cache when restore history of ModelSQL [PREVIEW] (#237)
JCavallo Jun 14, 2023
92c2562
[tryton] Do not display an error dialog on error in cellrenderers [PR…
JCavallo Jun 14, 2023
a9af9d2
[tryton] Trigger group_list_changed to all screens linked to the grou…
JCavallo Jun 14, 2023
b1dc3fe
[tryton] Do not filter selection for multiselection fields [PREVIEW] …
JCavallo Jun 14, 2023
b4d3dcf
[tryton] Fix windows installer encoding [PREVIEW]
JCavallo Jun 14, 2023
4f3b6d3
[tryton] build: Change script to handle force pushes [CUSTOM]
JCavallo Jun 14, 2023
1a668b6
[tryton] Remove extra current_record set following merge [TOMERGE]
JCavallo Jun 14, 2023
4466f21
[tryton] Update Master folder [TOMERGE]
JCavallo Jun 14, 2023
b346137
[tryton] Remove direct print button [CUSTOM] (#222)
JCavallo Jun 14, 2023
b45a3c4
[tryton] Unconnect signals when removing dict entries [PREVIEW]
JCavallo Jun 14, 2023
84cce75
[tryton] Set the execution level of the standalone app to user [CUSTOM]
JCavallo Jun 14, 2023
21d1cd0
[tryton] Rebuild languages catalog in build [CUSTOM]
JCavallo Jun 14, 2023
2327314
[tryton] Fix _set_value for O2M fields [CUSTOM] (#238)
JCavallo Jun 14, 2023
c9e47a2
[tryton] Fetch real count of records on click [PREVIEW] (#227)
JCavallo Jun 14, 2023
a9a4a15
[tryton] Ensure that the tree is still realized when getting selected…
JCavallo Jun 14, 2023
f2549a8
[trytond] Enable the csv extraction of records the user does not have…
JCavallo Jun 14, 2023
6081341
[trytond] Add an explicit error message when a reference can't be fou…
JCavallo Jun 14, 2023
72353ec
[trytond] Shorten arguments when logging [PREVIEW] (#241)
JCavallo Jun 14, 2023
9fe2b1f
[coopengo_modules/debug] debug: Replace the GTK debug object plugin w…
JCavallo Jun 14, 2023
ddb4ba1
[tryton] Change model on message (#257)
JCavallo Jun 14, 2023
bd60fe2
[coopengo_modules/debug] debug: Fix a non updated ir.action.keyword r…
JCavallo Jun 14, 2023
0dd9c59
[trytond] Add basic opentelemetry tooling for tracing [CUSTOM] (#236)
JCavallo Jun 14, 2023
3ab44a0
[trytond] Add migration support from TEXT to JSONB in postgresql [CUS…
JCavallo Jun 14, 2023
6e41ebc
[trytond] Invalidate the table handler's cache only on foreign key ch…
JCavallo Jun 14, 2023
618a940
[trytond] Keep using _database_cache if the specific cache hasn't bee…
JCavallo Jun 14, 2023
8bca409
[trytond] Don't catch timeout exceptions in error handler (#216)
JCavallo Jun 14, 2023
4eabd0f
[trytond] Add authentication_saml module [PREVIEW] (#206)
JCavallo Jun 14, 2023
c28a2d7
[trytond] Force named kwargs in activate_modules [CUSTOM] (#207)
JCavallo Jun 14, 2023
e6abd67
[trytond] trytond: remove deprecated bytes_to_wsgi call (#203)
JCavallo Jun 14, 2023
2547f0f
[trytond] trytond: [22.14] Add hook override to allow inactive record…
JCavallo Jun 14, 2023
28408d7
[modules/account_payment_clearing] account_payment_clearing: Fix test…
JCavallo Jun 14, 2023
895c20b
[trytond] Ensure that model_id is not None when fetching keyword [CUS…
JCavallo Jun 14, 2023
15e228e
[modules/account] Do not modify reconcile, party_required fields when…
JCavallo Jun 14, 2023
92cad21
[modules/account_statement] Remove account move migration [PREVIEW] (#9)
JCavallo Jun 14, 2023
69f8e63
[modules/account_statement] account_statement: Prevent the reconcilia…
JCavallo Jun 14, 2023
f1d26d5
[modules/account_invoice] Warn when cancelling a move related to an i…
JCavallo Jun 14, 2023
3b64140
[trytond] Allow users to reset no_update records from xml description…
JCavallo Jul 3, 2023
5ed0711
[trytond] Allow width attribute on buttons while in tree view [CUSTOM…
JCavallo Jul 3, 2023
1510ad5
[sao] Add favicon [CUSTOM]
JCavallo Jul 3, 2023
f81631f
[sao] Remove extra copy of methods introduced by a7f4aabce [CUSTOM]
JCavallo Jul 3, 2023
6306247
[sao] Add Search & Replace to Source widget [CUSTOM] (#157)
JCavallo Jul 3, 2023
840dee2
[tryton] Add authentication_saml module [PREVIEW] (#223)
JCavallo Jul 3, 2023
13ef1be
[tryton] Ignore missing third part of the version number [CUSTOM]
JCavallo Jul 3, 2023
8fa4db7
[tryton] Do not create specific TrytonAuthenticationError [CUSTOM] (#…
JCavallo Jul 3, 2023
2fdf2b8
[tryton] Fix crash on dictionnary helper in some cases [CUSTOM] (#224)
JCavallo Jul 3, 2023
bad2dc8
[tryton] Force form set_value when switching tree selection in mixed …
JCavallo Jul 3, 2023
d8188de
[tryton] Prevent the resetting of a WizardForm view when the user com…
JCavallo Jul 3, 2023
6b6089a
[tryton] Add Search & Replace to Source widget [CUSTOM] (#258)
JCavallo Jul 3, 2023
f8d6667
[tryton] Reset search offset when the searched text change [PREVIEW] …
JCavallo Jul 3, 2023
977c5fc
[tryton] Stop the edition of Selection fields in editable Treeviews o…
JCavallo Jul 3, 2023
28ff7c4
[tryton] Do not set previous record in selection changed callback whe…
JCavallo Jul 3, 2023
a09823f
[coopengo_modules/debug] debug: Show translated field name and add a …
JCavallo Jul 3, 2023
40c9ae7
[tryton] CI
JCavallo Jul 3, 2023
de4cefb
Monorepo sync (#1)
nicoe Jul 6, 2023
9c3c5de
Update tryton and pipeline
gregory-lecomte Jul 7, 2023
07885e6
GitLab: Update condition
gregory-lecomte Jul 7, 2023
4477cc5
GitLab: fix git command issue
gregory-lecomte Jul 17, 2023
5ad9fad
Enforce unique value for invisible field [PREVIEW] (#2)
nicoe Jul 19, 2023
960f327
GitLab: Fix git command to compare 2 latests tags on current branch
gregory-lecomte Jul 19, 2023
a1bc122
GitLab: enable log
gregory-lecomte Jul 20, 2023
846141d
GitLab: Fix syntax errors
gregory-lecomte Jul 20, 2023
d661ad5
update configuration for assume role
gregory-lecomte Jul 20, 2023
4e03d7e
Terraform: Update volume size + instance type
gregory-lecomte Jul 21, 2023
e8e8dbd
GitLab: Add feature to manage aws assume role
gregory-lecomte Jul 21, 2023
52f6b1a
GitLab: Fix aws-cli's task for "--duration-seconds" error
gregory-lecomte Jul 21, 2023
56638e4
GitLab: fix token error for aws cli
gregory-lecomte Jul 21, 2023
c63c15d
Terraform: remove credit configuration
gregory-lecomte Jul 21, 2023
d71962f
GitLab: Update image for the build step
gregory-lecomte Jul 21, 2023
c269997
GitLab: centralize pipeline
gregory-lecomte Jul 21, 2023
defd116
GitLab: Replace project name with GitLab variable
gregory-lecomte Jul 24, 2023
a9e2839
account_payment_clearing: Add a hook on succeed payments method (#11)
JCavallo Aug 10, 2023
c52e39a
Robustly handle config file syntax errors [PREVIEW]
nicoe Aug 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
78 changes: 0 additions & 78 deletions .drone.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include:
- project: "coopengo/devops/gitlab-ci-template"
ref: master
file:
- "/Project/${CI_PROJECT_NAME}/.gitlab-ci.yml"
2 changes: 2 additions & 0 deletions .gitlab-scripts/bower_allow_root.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
echo '{ "allow_root": true }' > ~/.bowerrc
169 changes: 169 additions & 0 deletions .gitlab-scripts/generate-ci.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
#!/bin/env python
import glob
import os
import subprocess
import sys
from itertools import chain
from string import Template

BASE_DIR = os.path.dirname(__file__)
TEMPLATE_DOC = Template("""
check-doc-${name}:
extends: .check-doc
variables:
PACKAGE: ${package}

trigger-doc-build-${name}:
extends: .trigger-doc-build
variables:
PACKAGE: ${package}

""")

TEMPLATE = Template("""
test-${name}:
extends: .test-tox
variables:
PACKAGE: ${package}
${stage}
${when}

""")

TEMPLATE_IMAGE = Template("""
test-${name}:
extends: .test-tox
image: $${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/${package}-test:$${PYTHON_VERSION}
variables:
PACKAGE: ${package}
${stage}
${when}

""") # noqa: E501

TEMPLATE_DB = Template("""
test-${name}-sqlite:
extends: .test-sqlite
variables:
PACKAGE: ${package}
${stage}
${when}

test-${name}-postgresql:
extends: .test-postgresql
variables:
PACKAGE: ${package}
${stage}
${when}

""")

TEMPLATE_GIS = Template("""
test-${name}-postgis:
extends: .test-postgis
variables:
PACKAGE: ${package}
${stage}
${when}

""")

TEMPLATE_NPM_IMAGE = Template("""
test-${name}:
extends: .test-npm
image: $${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/${package}-test
variables:
PACKAGE: ${package}
${stage}
${when}

""")

STAGE_MANUAL = "stage: manual"
WHEN_MANUAL = """
allow_failure: true
rules:
- when: manual
"""
NO_DB = {'proteus'}
CUSTOM_IMAGE = {'tryton'}
CUSTOM_NPM_IMAGE = {'sao'}
GIS = {'trytond-gis'}


def main(filename):
if filename == '-':
render(sys.stdout)
else:
with open(filename, 'w') as file:
render(file)


def render(file):
file.write(open(os.path.join(BASE_DIR, 'gitlab-ci.yml'), 'r').read())
packages = list(all_packages())
modified = set(modified_packages(packages))
for package in packages:
mapping = {
'name': package.replace('/', '-'),
'package': package,
'stage': STAGE_MANUAL if package not in modified else '',
'when': WHEN_MANUAL if package not in modified else '',
}
if os.path.exists(os.path.join(package, 'doc')):
file.write(TEMPLATE_DOC.substitute(mapping))
if package in NO_DB:
file.write(TEMPLATE.substitute(mapping))
elif package in CUSTOM_IMAGE:
file.write(TEMPLATE_IMAGE.substitute(mapping))
elif package in CUSTOM_NPM_IMAGE:
file.write(TEMPLATE_NPM_IMAGE.substitute(mapping))
elif package in GIS:
file.write(TEMPLATE_GIS.substitute(mapping))
else:
file.write(TEMPLATE_DB.substitute(mapping))


def all_packages():
root_dir = os.path.dirname(BASE_DIR)
for filename in chain(
glob.glob('**/setup.py', recursive=True, root_dir=root_dir),
glob.glob('**/package.json', recursive=True, root_dir=root_dir)):
yield os.path.dirname(filename)


def modified_packages(packages):
env = os.environ.copy()
env['HGPLAIN'] = '1'
if env.get('CI_COMMIT_TAG'):
tagged = env['CI_COMMIT_TAG'].split('-')[0]
for package in packages:
if tagged in package:
yield package
else:
if not subprocess.run(
['hg', 'topic', '--current'],
env=env, stdout=subprocess.DEVNULL).returncode:
cmd = ['hg', 'status', '--rev', 's0', '--no-status']
else:
cmd = ['hg', 'status', '--change', '.', '--no-status']
proc = subprocess.run(cmd, env=env, stdout=subprocess.PIPE, text=True)
proc.check_returncode()
modified_files = proc.stdout.splitlines()

modified = set()
for filename in modified_files:
parts = filename.split(os.sep)
modified.add(parts[0])
modified.add(os.sep.join(parts[:2]))
for package in packages:
if package in modified:
yield package


if __name__ == '__main__':
try:
filename = sys.argv[1]
except IndexError:
filename = '-'
main(filename)
24 changes: 24 additions & 0 deletions .gitlab-scripts/generate-doc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
set -eu

OUTPUTDIR=`realpath "${1}"`
mkdir -p "${OUTPUTDIR}"

find . -path '*/doc/conf.py' | while read path; do
path=`dirname "${path}"`
path=`dirname "${path}"`
package=`basename "${path}"`
package=$(echo ${package} | sed "s/_/-/g")
if [ "${package}" = "trytond" ]; then
package="server"
elif [ "${package}" = "tryton" ]; then
package="client-desktop"
elif [ "${package}" = "proteus" ]; then
package="client-library"
elif [ "${package}" = "trytond-gis" ]; then
package="backend-gis"
else
package="modules-${package}"
fi
(cd "${path}" && python -m sphinx -T -E -b html doc "${OUTPUTDIR}/${package}")
done
9 changes: 9 additions & 0 deletions .gitlab-scripts/generate-packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu

PACKAGES=`realpath "${1}"`
mkdir -p "${PACKAGES}"

find . -name setup.py | while read path; do
(cd "`dirname ${path}`" && python setup.py sdist && cp dist/* "${PACKAGES}")
done
Loading