Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1149 commits
Select commit Hold shift + click to select a range
6cc41e0
Do not compute commissions date on cancel [CUSTOM]
nicoe Aug 21, 2023
d3778d0
Allow to create invoice line linked to invoice in calculating state […
nicoe Aug 22, 2023
4ae3e56
Use specific get_move method on Invoice [PREVENT]
nicoe Sep 6, 2023
f875b8f
Preserve order of inserted columns on multiple insertion [PREVIEW]
nicoe Sep 6, 2023
155a071
commission: update test to use 6 digits precision [CUSTOM]
JCavallo Sep 6, 2023
a275e31
commission: Remove scenario depending on stock [CUSTOM]
JCavallo Sep 6, 2023
ddacb5e
Do not compute commissions date on cancel [CUSTOM]
nicoe Sep 7, 2023
5a80328
account_payment_clearing: Add a hook on succeed payments method [CUST…
JCavallo Aug 10, 2023
e1110b1
[coopengo_modules/debug] Fix filter and sorting in debug mode (#23)
Aug 21, 2023
b665f78
Reset state of records when a sibling is in exception on node collaps…
nicoe Aug 23, 2023
aef55de
admin: Fix check-update warning [CUSTOM] (#32)
JCavallo Sep 7, 2023
3d62a06
[coopengo_modules/electronic_signature] More explit message when erro…
sleibo-coopengo Sep 7, 2023
3465c04
[coopengo_modules/debug] Fix the translation of lazy_gettext strings …
BeatriceSchuster Sep 7, 2023
674f667
[trytond] Restore previous behaviour for locking [CUSTOM]
JCavallo Sep 8, 2023
20e0c8f
Proper fix for commission dates [CUSTOM]
JCavallo Sep 11, 2023
239ef71
[6.8-patches] Don't reset dates to None when the date is invalid (#13)
nicoe Aug 14, 2023
7be13e4
[6.8-patches] Set translation source from the po file when importing …
nicoe Sep 5, 2023
aec9395
CI: Update gitlab pipeline [PREVIEW] (#39)
gregory-lecomte Sep 18, 2023
9630efd
Remove extra methods disconnect_signals [CUSTOM] (#40)
nicoe Sep 19, 2023
63500f0
Add missing __version_coog__ for client builds [CUSTOM]
JCavallo Sep 19, 2023
7a1b40f
Update translations
JCavallo Sep 19, 2023
5d353f7
Use custom date parsing function [CUSTOM] (#42)
nicoe Sep 21, 2023
bd8cdbc
trytond: Override default configuration [CUSTOM] (#41)
JCavallo Sep 21, 2023
c815310
Packaging coog-23.38.2338
Sep 22, 2023
0773c74
[CUSTOM] sourceeditor: Send a correctly formatted object to pyflakes'…
CoopVincent Sep 28, 2023
926fd97
Fix token authentication for 6.8 [CUSTOM]
JCavallo Sep 28, 2023
66ca488
Add missing fr translation [CUSTOM]
JCavallo Sep 29, 2023
d41b26c
tryton/data/locale/fr/LC_MESSAGES/tryton.mo
JCavallo Sep 29, 2023
c13b9c1
Packaging coog-23.39.2339
Sep 29, 2023
7ef6dfb
sao: Fix missing var initialization [CUSTOM]
JCavallo Sep 29, 2023
b9b7560
Block row selected handler when unselect all of list-form [PREVIEW] (…
nicoe Oct 5, 2023
8af2e6d
merge 6.8: Fix pool preloading [PREVIEW] (#43)
JCavallo Oct 5, 2023
686bbdd
Packaging coog-23.40.2340
Oct 6, 2023
b7bf8e3
Add INDEX creation SQL dump on --no-indexes switch [CUSTOM] (#49)
nicoe Oct 12, 2023
a6dbb3f
Log slow postgres queries [CUSTOM]
JCavallo Oct 13, 2023
1177a97
ryton: Fix missing search and replace translations [CUSTOM] (#47)
CoopVincent Oct 17, 2023
a39c7d6
Add missing record arguments from get_eval [PREVIEW] (#57)
nicoe Oct 18, 2023
d430abc
party: Fix separator check [CUSTOM] (#58)
Oct 19, 2023
0e6ee62
client: Add debugging tooltips [CUSTOM] (#61)
JCavallo Oct 23, 2023
a1f8866
Add rec_name_key to ignored cache context keys [CUSTOM] (#59)
JCavallo Oct 23, 2023
8126acf
Fix invalid entry CSS (#60)
nicoe Oct 23, 2023
f9c3e93
Support database cache as template for tests on PostgreSQL [PREVIEW] …
nicoe Oct 23, 2023
bc862dc
Packaging coog-23.43.2343
Oct 27, 2023
8ae9d4d
Use postgresql://name to prefix test template names [CUSTOM] (#62)
nicoe Oct 30, 2023
e92650a
Share record's _ids when saving new records [PREVIEW] (#65)
nicoe Oct 31, 2023
fdee477
Use multiple jobs to dump and restore a test database [PREVIEW] (#64)
nicoe Oct 31, 2023
979bf8e
Packaging coog-23.44.2344
Nov 3, 2023
0fd186e
Trigger search on search entry focus-out [CUSTOM] (#66)
nicoe Nov 6, 2023
34ec53c
Use fallback value for charset, url_charset and encoding_errors [PREV…
nicoe Nov 9, 2023
196fafd
tryton: Honor sequence when on_change adds new keys in a dict [CUSTOM…
JCavallo Nov 9, 2023
46dedff
Packaging coog-23.45.2345
Nov 10, 2023
5a477af
trytond: Reparse authorization header in token / bearer mode [CUSTOM]…
JCavallo Nov 14, 2023
eb2f17b
Set record as modified when a user clicks replace / replace all [CUST…
nicoe Nov 15, 2023
eea0923
Localize tab_domain expression when generating URL [CUSTOM] (#70)
nicoe Nov 15, 2023
ac3294a
tryton: Fix display of dict fields following 196fafd0cc (#80)
JCavallo Nov 15, 2023
92ebfb7
Add Log Out action (#71)
nicoe Nov 15, 2023
08f1388
Add setup function to activate_modules [CUSTOM] (#78)
nicoe Nov 15, 2023
8589e03
fix titlebar render when minimized (#81)
CoopVincent Nov 16, 2023
13870fb
trytond: Disable cache threads during uWSGI init (#85)
JCavallo Nov 16, 2023
450a83c
Report connection errors on the first contact [CUSTOM] (#84)
nicoe Nov 16, 2023
9a63bc5
Packaging coog-23.46.2346
Nov 17, 2023
ed48027
proteus: Disable cache thread while initializing [CUSTOM] (#86)
JCavallo Nov 20, 2023
81c6128
tryton: Do not use |=, we still build with 3.8 [CUSTOM]
JCavallo Nov 20, 2023
65c8b99
trytond: Do not COMMENT in a readonly Transaction [CUSTOM] (#87)
JCavallo Nov 22, 2023
2dcc8ce
tryton: Change color for tryton-bookmarks and tryton-menu svg [CUSTOM]
xungongcoopengo Nov 23, 2023
a563d2d
Packaging coog-23.47.2347
Nov 24, 2023
3813001
sao: Fix widget / icons / buttons alignment in theme [CUSTOM] (#91)
JCavallo Nov 25, 2023
a35ce3e
trytond: Use environment variables for saml configuration (#88)
JCavallo Nov 25, 2023
620632a
Packaging coog-23.48.2347
Nov 27, 2023
bbd93a9
trytond: Add "notify" callbacks registered in the pool [CUSTOM] (#92)
JCavallo Nov 28, 2023
973f666
sao: Iteration on Fix widget / icons / buttons alignment in theme [CU…
JCavallo Dec 1, 2023
85cec8f
Use a custom error when the database is not available [PREVIEW] (#98)
nicoe Dec 4, 2023
484948b
Keep dictionary entries sorted when updating the value [PREVIEW] (#83)
nicoe Dec 4, 2023
3e09ed7
trytond: Log unauthorized cors [CUSTOM]
JCavallo Dec 6, 2023
1b5af3e
Packaging coog-23.49.2349
Dec 8, 2023
274a61a
Use only one commit during the upgrade process [PREVIEW] (#69)
nicoe Dec 11, 2023
0675229
Allow to activate stat thread by configuration [CUSTOM] (#100)
nicoe Dec 11, 2023
9d15ef4
Remove demo database fallbacks [CUSTOM] (#101)
nicoe Dec 11, 2023
72f793c
Packaging coog-23.50.2350
Dec 15, 2023
be5c8b7
Add timeit module to python's embedded packages in the exe (#103)
nicoe Dec 18, 2023
4277f11
Mark M2M records for addition in parent after it has been saved [PREV…
nicoe Dec 18, 2023
5ae4ace
trytond: Add keys in the server context to identify when a module is …
BeatriceSchuster Dec 19, 2023
6be0616
trytond: Fix translation of the translated fields message #107
CoopVincent Dec 20, 2023
0cd1e07
Packaging coog-23.51.2351
Dec 22, 2023
3b95247
Packaging coog-23.52.2352
Dec 28, 2023
1373501
Packaging coog-24.01.2401
Jan 5, 2024
b545c1c
tryton: Fix bug when a quick_action does not have an icon (#109)
justine-senellart Jan 10, 2024
8b406f1
Packaging coog-24.02.2402
Jan 12, 2024
80f5a0b
Allow to define a sao mount point [PREVIEW] (#112)
nicoe Jan 15, 2024
f7bd70d
Check for the existence of a screen before restoring wizard's dialog …
nicoe Jan 18, 2024
34d900c
Add a 'valid' property on Date / Time widget [PREVIEW] (#99)
nicoe Jan 18, 2024
394f202
cron: Log cron overlap as warnings [CUSTOM] (#117)
JCavallo Jan 18, 2024
68bf5cb
Packaging coog-24.03.2403
Jan 19, 2024
9cf0598
trytond: Always use new types in the pool [PREVIEW] (#119)
JCavallo Jan 22, 2024
7f6b87f
trytond: Iteration on 9cf05986d26878df9ec487f70a1be7e9b21ee588 (#123)
JCavallo Jan 23, 2024
d491b4d
Prevent StringPartitioned to evaluate its argument on instanciation […
nicoe Jan 24, 2024
13ce425
Use "display: grid" for widget positioning [PREVIEW] (#53)
nicoe Jan 24, 2024
6b5cb4b
tryton: Add missing translation for "Attachments" [CUSTOM] (#114)
BeatriceSchuster Jan 24, 2024
5182d52
Add __hash__ implementation on StringPartitioned [CUSTOM] (#124)
nicoe Jan 25, 2024
37fe61d
Do not compute wizard size twice [PREVIEW] (#111)
nicoe Jan 25, 2024
4db5dc1
sao: Add custom.js in built images [CUSTOM] (#122)
JCavallo Jan 25, 2024
cae55ba
Replace warning popup by a log message (#121)
nicoe Jan 25, 2024
c7a56b2
Packaging coog-24.04.2404
Jan 26, 2024
5c48156
sao: Add missing image
JCavallo Jan 26, 2024
b8a8096
Apply overflow value to every parent group of node [PREVIEW] (#126)
nicoe Jan 30, 2024
615cba5
Filter history using SQL [PREVIEW] (#104)
nicoe Jan 30, 2024
360172b
trytond: Restore support of _datetime_exclude (#128)
JCavallo Jan 31, 2024
a843233
tryton: Uniquify log file names, rotate on 10 [CUSTOM] (#127)
JCavallo Jan 31, 2024
ff8b0f6
debug: remove history table [CUSTOM] (#129)
xungongcoopengo Jan 31, 2024
abcbbc4
Packaging coog-24.05.2405
Feb 2, 2024
d68aafe
trytond: Allow to ilike on a None value [PREVIEW] (#132)
JCavallo Feb 6, 2024
5527908
Packaging coog-24.06.2406
Feb 9, 2024
bd35577
Packaging coog-24.07.2407-rc1
Feb 12, 2024
d1c11b8
Do not use python 3.10 idioms [CUSTOM] (#136)
nicoe Feb 14, 2024
6e85540
Packaging coog-24.08.2408-rc1
Feb 19, 2024
44d1695
trytond: Change french translation for menu Fields Access and field C…
mamoun-rais Feb 20, 2024
9bb9e29
Update win-make.sh after first installation to build coog after succe…
gregory-lecomte Feb 21, 2024
82fc58d
sao: Full custom theme overhaul [CUSTOM] (#140)
JCavallo Feb 22, 2024
25d6c5e
Add right click handling on trees [CUSTOM] (#141)
nicoe Feb 22, 2024
461e750
Use a pure CSS solution to compute the container view height and widt…
nicoe Feb 22, 2024
a70a317
Packaging coog-24.09.2409-rc1
Feb 26, 2024
57b67c3
trytond: Fix translations [CUSTOM] (#142)
BeatriceSchuster Feb 29, 2024
3af2e57
Do not set current record on Screen.load [CUSTOM] (#144)
nicoe Feb 29, 2024
d160ffb
Hide remove button of dict field when using no_command [CUSTOM] (#145)
nicoe Feb 29, 2024
c9500fc
Allow to override empty string representation in Selection fields [CU…
nicoe Feb 29, 2024
da23827
sao: Use 'menu-like' button for main tab title (#143)
JCavallo Feb 29, 2024
a7d5b27
trytond: Force explicit usage of keywords in TableHandler [CUSTOM] (#…
JCavallo Feb 29, 2024
cddb2c6
sao: Add custom.css to build [CUSTOM] (#146)
JCavallo Feb 29, 2024
89904e2
sao: Context menu open relate from all selected records [CUSTOM] (#151)
JCavallo Mar 1, 2024
6059a02
sao: Better scrollbars [CUSTOM] (#150)
JCavallo Mar 1, 2024
d9e7439
Packaging coog-24.10.2410-rc1
Mar 4, 2024
c166084
trytond: Add a way to force error in the error handler [CUSTOM] (#149)
JCavallo Mar 4, 2024
d684eeb
sao / tryton: Naked click opens relations in new tabs (#152)
JCavallo Mar 6, 2024
d064da0
backend: Remove Identifier from index files output (#156)
PierreCookie Mar 6, 2024
a5b75b6
Execute user login's actions sequentially [PREVIEW] (#159)
nicoe Mar 7, 2024
4c3a920
sao: Remove shadowing of disabled buttons [CUSTOM] (#155)
JCavallo Mar 7, 2024
58a1551
sao: Handle quick-actions [CUSTOM] (#154)
JCavallo Mar 7, 2024
1bc7fa9
sao: nil-check tabs before setting style [PREVIEW]
JCavallo Mar 8, 2024
af11bf1
Packaging coog-24.11.2411-rc1
Mar 11, 2024
71a760c
sao: Update icon and name [CUSTOM] (#162)
JCavallo Mar 13, 2024
e67a884
trytond: Add final migration hooks [CUSTOM] (#163)
JCavallo Mar 13, 2024
9c36771
trytond: Give access to options in final migrations [CUSTOM]
JCavallo Mar 14, 2024
208cc6c
sao: Remove info messages after 3s [CUSTOM] (#168)
JCavallo Mar 18, 2024
c2df3a2
Instantiate PYSON.Bool expression with new from PYSON.Not instances […
nicoe Mar 19, 2024
da1893d
backend: allow testing Coog with sqlite backend (#68)
jmousset Mar 19, 2024
5468ecf
Packaging coog-24.12.2412-rc3
Mar 20, 2024
a21578b
sao: Iteration on theme [CUSTOM] (#167)
JCavallo Mar 21, 2024
fa36ba5
sao: Use a spinner to show the user that something is running [CUSTOM…
JCavallo Mar 21, 2024
1368691
Use display flex to prevent overflow of legend in the group's fieldse…
nicoe Mar 21, 2024
81e9bac
Hide notebooks and groups when they are empty [PREVIEW] (#153)
nicoe Mar 21, 2024
168aa83
Use a grid to display Dict fields [PREVIEW] (#172)
nicoe Mar 21, 2024
d649d48
Use dotted read in the clients [PREVIEW] (#108)
nicoe Mar 21, 2024
9ec85c1
sao: Increase size of "small" wizards [CUSTOM] (#174)
JCavallo Mar 21, 2024
ce201f1
sao / gtk: Do not trigger an extra read for an empty rec_name [CUSTOM…
JCavallo Mar 21, 2024
36f6873
sao: Re-enable quick-action button after completion (#169)
JCavallo Mar 21, 2024
61421f3
Revert "Use dotted read in the clients [PREVIEW] (#108)"
JCavallo Mar 21, 2024
f408162
sao: Escape calculations in less
JCavallo Mar 21, 2024
e365cc3
sao: Set default search limit to 100 [CUSTOM]
JCavallo Mar 21, 2024
1649ca7
Reapply "Use dotted read in the clients [PREVIEW] (#108)"
JCavallo Mar 21, 2024
c58162b
Only trigger modified notification explicitely in O2M fields [CUSTOM]…
nicoe Mar 22, 2024
c1aa296
trytond: Deactivate related_limit [PREVIEW]
JCavallo Mar 22, 2024
0b2242d
gtk: Do not use a global variable as default for dict fields (#177)
JCavallo Mar 26, 2024
41c1af8
gtk: Accept dsm prototype in Timedelta constructor [PREVIEW] (#178)
JCavallo Mar 26, 2024
0c2254f
gtk: Force py38 compatibility [CUSTOM] (#179)
JCavallo Mar 26, 2024
3a41df3
sao: Dotted read iteration [PREVIEW]
JCavallo Mar 26, 2024
d216223
sao: Do not try to load xxxx:string fields [CUSTOM]
JCavallo Mar 26, 2024
bd2eb50
sao / gtk: iteration on dotted read [PREVIEW]
JCavallo Mar 26, 2024
bd5bfb6
sao: Fix iteration on rpc_entries [PREVIEW]
JCavallo Mar 26, 2024
804cdf2
sao: Add slight color on selected list-form [CUSTOM]
JCavallo Mar 26, 2024
62ba3d7
Packaging coog-24.13.2413-rc3
Mar 27, 2024
43e718b
sao: Disable yexpand for now [CUSTOM]
JCavallo Mar 28, 2024
19d1f40
sao: Make selections without any values readonly [CUSTOM] (#180)
JCavallo Mar 28, 2024
5b810c5
Limit the search of NULL values in TableHandler's not_null_action (#175)
nicoe Mar 28, 2024
ce9536d
Return a promise when executing an action [PREVIEW] (#182)
nicoe Mar 28, 2024
ad6c00d
sao: Properly update group.load api calls [CUSTOM]
JCavallo Mar 28, 2024
296c0fe
Select first record in tree views [CUSTOM] (#181)
nicoe Mar 29, 2024
f506b89
Packaging coog-24.14.2414-rc1
Apr 1, 2024
7f0c8a8
sao: Do not expand invisible widgets (#184)
JCavallo Apr 2, 2024
38c43ec
Add ellipsis on column header [CUSTOM] (#185)
nicoe Apr 2, 2024
5dfb48f
Update column visibility at the end of rendering the treeview [PREVIE…
nicoe Apr 5, 2024
f622edb
Update translations
AdrienBenduc Apr 5, 2024
bbe171e
Packaging coog-24.15.2415-rc1
Apr 8, 2024
2b81dec
Select first record of treeview if none is selected [CUSTOM] (#189)
nicoe Apr 9, 2024
fbf91cd
Use a TableHandler method to fetch the estimated count of records [PR…
nicoe Apr 11, 2024
1a626a9
Execute user login's actions sequentially [PREVIEW] (#190)
nicoe Apr 11, 2024
3742e3d
Iteration on fbf91cdc0f: handle table queries
JCavallo Apr 11, 2024
638dd8f
Correctly use COUNT [CUSTOM] (#193)
nicoe Apr 11, 2024
de354ff
Packaging coog-24.16.2416-rc2
Apr 16, 2024
8c600f8
Force scrollbar inside xxx2Many fields [PREVIEW] (#199)
nicoe Apr 22, 2024
e859d98
Transfer configuration, profiles and plugins from previous version [P…
nicoe Apr 22, 2024
d979ef9
Add close button to "Filters" popup [CUSTOM] (#205)
nicoe Apr 24, 2024
7ee547c
Do not set overflow hidden on first column [PREVIEW] (#204)
nicoe Apr 24, 2024
fb3513c
Restore attachment preview functionality [PREVIEW] (#206)
nicoe Apr 24, 2024
28f1678
Use the configured language when parsing XML files [PREVIEW] (#201)
nicoe Apr 24, 2024
6872f8c
tryton: Change the translation of the 'show plain text' checkbox mess…
BeatriceSchuster Apr 25, 2024
de61e4e
Packaging coog-24.17.2417
Apr 26, 2024
4abc825
Packaging coog-24.18.2418-rc2
Apr 30, 2024
77f92c1
Fix size of char inputs when the size is set [PREVIEW] (#202)
nicoe May 2, 2024
092d114
Packaging coog-24.20.2419
May 13, 2024
1ff98e9
sao: Fix layout of tab wizards (#208)
JCavallo May 14, 2024
317d66b
Packaging coog-24.21.2421-rc1
May 20, 2024
39b5b27
Fetch name of wizards without a model [PREVIEW] (#207)
nicoe May 21, 2024
e011bb8
Synchronize index creation method with upstream [PREVIEW] (#211)
nicoe May 21, 2024
3e075d0
Optimize instance creation in __getattr__ [PREVIEW] (#210)
nicoe May 21, 2024
c14e448
Allow to resize attachment preview panel [preview (#209)
nicoe May 21, 2024
521eed2
trytond: Pass ids to read [PREVIEW] (#213)
JCavallo May 21, 2024
779f133
Use JSONB to store MultiSelection field on PostgreSQL [PREVIEW] (#203)
nicoe May 22, 2024
432d276
trytond: Revert getattr optimization
JCavallo May 22, 2024
8c0b2d7
Skip translations refering to unknown XML ID or unactivated source (#…
nicoe May 23, 2024
76039b7
Correctly compute column visibility for buttons (#212)
nicoe May 23, 2024
5f7a63f
Revert "Skip translations refering to unknown XML ID or unactivated s…
JCavallo May 23, 2024
80ee917
Optimize instance creation in ModelStorage.__getattr__ (#219)
nicoe May 29, 2024
482a66a
trytond: Correctly override _convert_domain [CUSTOM] (#221)
JCavallo May 30, 2024
d77180c
Alert when using underspecified relation in domain [PREVIEW] (#217)
nicoe May 30, 2024
c81bf11
Packaging coog-24.22.2422
May 31, 2024
8598ce9
Packaging coog-24.23.2423-rc2
Jun 4, 2024
06cb7c5
Correctly compute column visibility [CUSTOM] (#226)
nicoe Jun 4, 2024
269ed7b
Add a No-op context manager [CUSTOM] (#225)
nicoe Jun 6, 2024
c4ec55a
debug: Improve views, fix generation
JCavallo Jun 6, 2024
9aa5aee
Do not reset SQL indexes on each __setup__ call [PREVIEW] (#227)
nicoe Jun 6, 2024
e362aa2
Packaging coog-24.24.2424-rc3
Jun 12, 2024
91b676b
Order xxx2Many targets by id origin instead of order name [PREVIEW] (…
nicoe Jun 13, 2024
8bef17d
sao: Hide nested checkbox for selecting lines in tree (#232)
JCavallo Jun 13, 2024
e17d24f
Consider that records in exception are loaded [PREVIEW] (#229)
nicoe Jun 13, 2024
9b3193f
Do not uglify sao's code [CUSTOM] (#233)
nicoe Jun 14, 2024
290fc9f
sao: Build using npm exec [CUSTOM]
JCavallo Jun 14, 2024
64805f6
sao: Force submodule dependency version (#234)
PierreCookie Jun 17, 2024
bc97968
Skip translations refering to unknown XML ID or unactivated source [P…
JCavallo Jun 17, 2024
aa6769d
Packaging coog-24.25.2425-rc2
Jun 18, 2024
0901dbf
trytond: Disable not null constraint drop for sqlite [CUSTOM] (#236)
JCavallo Jun 18, 2024
a8bf6e4
gtk: Make text fields visually readonly (#241)
JCavallo Jun 24, 2024
e666f6c
sao: Fix border visibility in text forms [CUSTOM] (#240)
havaguernicoopengo Jun 24, 2024
7fb28cc
tryton: Change the translation for the message shown when a required …
BeatriceSchuster Jun 24, 2024
390b3cf
trytond: Fix translation res_id domain [PREVIEW] (#242)
JCavallo Jun 25, 2024
a51dcfa
Skip id field when setting default values of failed read calls [PREVI…
nicoe Jun 27, 2024
e4b7acc
Add missing Widget methods on source editor [CUSTOM] (#246)
nicoe Jun 27, 2024
a6bf396
Do not resize horizontally textarea [CUSTOM] (#245)
nicoe Jun 27, 2024
b2fd08c
Packaging coog-24.26.2426-rc5
Jun 28, 2024
adf9556
Packaging coog-24.27.2427-rc2
Jul 2, 2024
e4cef8b
Consider as local ordering expression using simple SQL statements [PR…
nicoe Jul 3, 2024
6f37bf8
trytond: Do not crash on searches on None domains (#250)
JCavallo Jul 3, 2024
444b185
trytond: Do not over-optimize function active field searches (#251)
JCavallo Jul 5, 2024
2bb1fd9
Packaging coog-24.28.2428-rc2
Jul 9, 2024
5cfb651
Correctly handle different return values from buttons [CUSTOM] (#243)
nicoe Jul 10, 2024
5fb0401
Reset caches directly after sending the notification [CUSTOM] (#235)
nicoe Jul 10, 2024
e2b6174
sao: Better usage of vertical space [CUSTOM] (#252)
JCavallo Jul 10, 2024
eb49f99
Handle the case where the action is None [CUSTOM] (#255)
nicoe Jul 16, 2024
ff485ea
Packaging coog-24.29.2429
Jul 19, 2024
83389ae
tryton: Add a code to user groups [CUSTOM]
BeatriceSchuster Jul 24, 2024
e3cd41c
translate field
BeatriceSchuster Jul 24, 2024
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
  •  
  •  
  •  
361 changes: 5 additions & 356 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,356 +1,5 @@
workflow:
rules:
- if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ && $CI_PIPELINE_SOURCE == "push"
when: never
- when: always

stages:
- preparation
- check
- test
- build

packages:
stage: preparation
rules:
- when: always
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
variables:
DOC_BASE_URL: ${CI_PROJECT_DIR}/docs
script:
- .gitlab-scripts/generate-packages.sh packages
artifacts:
paths:
- packages/
expire_in: 1 week

documentation:
stage: preparation
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/sphinxdoc/sphinx
script:
- .gitlab-scripts/generate-doc.sh docs
artifacts:
paths:
- docs/
expire_in: 1 week
rules:
- changes:
- "**/*/doc/**/*"
- "**/*/tryton.cfg"
- "**/*/CHANGELOG"
- "readthedocs/**/*"

.check:
stage: check
needs: []
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci

.check-doc:
extends: .check
needs:
- documentation
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/sphinxdoc/sphinx
variables:
DOC_BASE_URL: ${CI_PROJECT_DIR}/docs
DOC_DIR: doc
cache:
paths:
- .cache/pip/http
before_script:
- pip install sphinx-lint rstcheck[sphinx]
script:
- cd "${PACKAGE}"
- python -m sphinx -T -E -W -n -b html ${DOC_DIR} _build/html
- python -m sphinxlint ${DOC_DIR}
- rstcheck --recursive ${DOC_DIR}
- |
if [ "${CHECK_LINK}" ]; then
python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build;
fi
rules:
- if: $CI_COMMIT_TAG == null
changes:
- ${PACKAGE}/${DOC_DIR}/**/*
- ${PACKAGE}/tryton.cfg
- ${PACKAGE}/CHANGELOG
when: on_success
- when: never

.check-doc-readme:
extends: .check-doc
script:
- python -m sphinxlint README.rst
- rstcheck README.rst
rules:
- if: $CI_COMMIT_TAG == null
changes:
- README.rst
when: on_success
- when: never

check-doc-readthedocs:
extends: .check-doc
variables:
PACKAGE: readthedocs
DOC_DIR: .
rules:
- if: $CI_COMMIT_TAG == null
changes:
- ${PACKAGE}/**/*
when: on_success
- when: never

.check-code:
extends: .check
rules:
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
when: always

check-flake8:
extends: .check-code
script:
- flake8 --exclude 'cookiecutter*'

check-isort:
extends: .check-code
script:
- isort --multi-line VERTICAL_GRID --check --diff --skip-glob 'cookiecutter*' .

check-dist:
stage: check
needs:
- packages
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
script:
- twine check packages/*

check-ci-modules:
extends: .check
script:
- python .gitlab-scripts/generate-ci.py $TMPDIR/gitab-ci-modules.yml
- cmp .gitlab-ci-modules.yml $TMPDIR/gitab-ci-modules.yml

check-cookiecutter-module:
extends: .check
cache:
paths:
- .cache/pip/http
before_script:
- pip install cookiecutter
script:
- cookiecutter --no-input cookiecutter-module -o /tmp
- flake8 /tmp/my_module
- isort --multi-line VERTICAL_GRID --check --diff /tmp/my_module
rules:
- changes:
- cookiecutter-module/**/*

.test:
stage: test
rules:
- if: $CI_COMMIT_TAG == null
changes:
- ${PACKAGE}/**/*
when: on_success
- if: '$CI_COMMIT_TAG =~ $TAG_PATTERN'
when: on_success
- when: never

.test-tox:
extends: .test
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:${PYTHON_VERSION}
variables:
PIP_FIND_LINKS: file://${CI_PROJECT_DIR}/packages/
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
before_script:
- pip install tox
script:
- tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
junit: ${PACKAGE}/junit.xml
coverage_report:
coverage_format: cobertura
path: ${PACKAGE}/coverage.xml
parallel:
matrix:
- PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11"]

.test-db:
extends: .test-tox
variables:
DB_CACHE: /tmp/cache
script:
- tox -e "py${PYTHON_VERSION/./}-${DATABASE}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml

.test-sqlite:
extends: .test-db
variables:
DATABASE: sqlite

.test-postgresql:
extends: .test-db
variables:
DATABASE: postgresql
POSTGRESQL_URI: postgresql://postgres@postgresql:5432/
POSTGRES_HOST_AUTH_METHOD: trust
services:
- name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/postgres
alias: postgresql
command: ["-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]

.test-postgis:
extends: .test-db
variables:
DATABASE: postgis
POSTGIS_URI: postgis://postgres@postgis:5432/
POSTGRES_HOST_AUTH_METHOD: trust
script:
- tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml
services:
- name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/postgis/postgis
alias: postgis
command: ["-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]

.test-npm:
extends: .test
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node
variables:
NODE_CACHE_DIR: "$CI_PROJECT_DIR/.cache/npm"
cache:
paths:
- .cache/npm
before_script:
- sh .gitlab-scripts/bower_allow_root.sh
script:
- cd "${PACKAGE}"
- npm -s install --cache ${NODE_CACHE_DIR} --unsafe-perm --legacy-peer-deps
- npm test
artifacts:
reports:
junit: ${PACKAGE}/_build/test-reports/*.xml

.trigger-doc-build:
stage: build
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
script:
- .gitlab-scripts/trigger-readthedocs.py -c "${RTD_CONFIG}" -p "${PACKAGE}" -b "${CI_COMMIT_BRANCH#branch/}"
rules:
- if: $CI_COMMIT_BRANCH =~ /^branch\/.*/
changes:
- ${PACKAGE}/doc/**/*
- ${PACKAGE}/tryton.cfg
- ${PACKAGE}/CHANGELOG
allow_failure: true

trigger-doc-build-readthedocs:
extends: .trigger-doc-build
variables:
PACKAGE: readthedocs
rules:
- if: $CI_COMMIT_BRANCH =~ /^branch\/.*/
changes:
- ${PACKAGE}/**/*
allow_failure: true

check-doc-trytond:
extends: .check-doc
variables:
PACKAGE: trytond

check-trytond-rng:
extends: .check
cache:
paths:
- .cache/pip/http
before_script:
- pip install rnc2rng
script:
- python trytond/setup.py update_rng
- |
if [ `hg status trytond| wc -l` -ne 0 ]; then
false
fi
rules:
- changes:
- trytond/**/*.rnc
- trytond/**/*.rng

trigger-doc-build-trytond:
extends: .trigger-doc-build
variables:
PACKAGE: trytond

test-trytond-sqlite:
extends: .test-sqlite
variables:
PACKAGE: trytond
TAG_PATTERN: '/^trytond-.*/'

test-trytond-postgresql:
extends: .test-postgresql
variables:
PACKAGE: trytond
TAG_PATTERN: '/^trytond-.*/'

check-doc-trytond-gis:
extends: .check-doc
variables:
PACKAGE: trytond-gis

trigger-doc-build-trytond-gis:
extends: .trigger-doc-build
variables:
PACKAGE: trytond-gis

test-trytond-gis-postgis:
extends: .test-postgis
variables:
PACKAGE: trytond-gis
TAG_PATTERN: '/^trytond-gis-.*/'

check-doc-proteus:
extends: .check-doc
variables:
PACKAGE: proteus

trigger-doc-build-proteus:
extends: .trigger-doc-build
variables:
PACKAGE: proteus

test-proteus:
extends: .test-tox
variables:
PACKAGE: proteus
TAG_PATTERN: '/^proteus-.*/'

check-doc-tryton:
extends: .check-doc
variables:
PACKAGE: tryton

trigger-doc-build-tryton:
extends: .trigger-doc-build
variables:
PACKAGE: tryton

test-tryton:
extends: .test-tox
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/tryton-test:${PYTHON_VERSION}
variables:
PACKAGE: tryton
TAG_PATTERN: '/^tryton-.*/'

test-sao:
extends: .test-npm
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/sao-test
variables:
PACKAGE: sao
TAG_PATTERN: '/^sao-.*/'

include: '.gitlab-ci-modules.yml'
include:
- project: "coopengo/devops/gitlab-ci-template"
ref: master
file:
- "/Project/${CI_PROJECT_NAME}/.gitlab-ci.yml"
Loading