Skip to content

async usedomstate #4696

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

Open
wants to merge 226 commits into
base: master-mysterious-egg
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
e2f172d
[ADD] html_builder: new addon to edit html content
ged-odoo Apr 29, 2025
68bfbd4
rename param into params
emge-odoo Apr 28, 2025
2bc3176
skip new test
ged-odoo Apr 30, 2025
f5c7074
Fix tours
Apr 30, 2025
7e1dfcc
unskip tour
ged-odoo Apr 30, 2025
1cdc682
removed old website client action
Apr 23, 2025
f62f265
Fix BR in div with canvas
cammarosano Apr 29, 2025
c7c8f97
[FIX] html_builder: single quote missing
dery-odoo Apr 30, 2025
90e3be2
Set contenteditable=false on .o_not_editable elements
cammarosano Apr 30, 2025
6192dd5
add new carousel option based on master changes
Jinjiu96 Apr 24, 2025
22e7059
product image option plugin
duau-odoo Apr 28, 2025
94ac270
[IMP] *: Enable few unit tests
msh-odoo Apr 30, 2025
adfd783
unfold preset details on preset preview's click
bso-odoo Apr 30, 2025
a830ca0
temporarily reactivate public widgets
ged-odoo May 2, 2025
d3d852d
small fix for website header
robinlej Apr 30, 2025
a6888d7
remove call to setWebsiteHeaderVisibility
duau-odoo Apr 30, 2025
8edd35f
only set newline if not newline in normalize of social media
blse-odoo May 2, 2025
8c8e1fb
keep only newest website_edit_service
bso-odoo May 2, 2025
bf276cd
google map edit interaction becomes the general one
bso-odoo May 2, 2025
027a82a
[IMP] website: adapt website_update_column_count
divy-odoo Apr 10, 2025
23c19f9
[IMP] website: adapt snippet_empty_parent_autoremove tour
divy-odoo Apr 28, 2025
d060d44
fix: hide loader when skipping website configurator
ged-odoo May 2, 2025
ff88890
Small fix legacy web_editor shape
FrancoisGe Apr 29, 2025
ed6e6b3
fix isEditing (click link in edit)
FrancoisGe May 2, 2025
5de3ea7
studio form options adaptations
bso-odoo Apr 28, 2025
c9a25a0
Tag on snippet, :hover issue on carousel task-4717504 205550
blse-odoo Apr 29, 2025
2255ca1
slider refresh actual value
duau-odoo May 2, 2025
c92c014
s_quotes_carousel_compact preview height
bso-odoo May 5, 2025
28ed43e
s_floating_blocks preview
bso-odoo May 5, 2025
630c472
[FIX] website_sale: enable website_sale_restricted_editor_ui
visp-odoo May 1, 2025
e155527
[FIX] website_sale: enable test_gmc_items_prices_match_website_prices…
visp-odoo May 2, 2025
50a9d5d
[FIX] website_sale: enable website_sale_cart_notification
visp-odoo May 2, 2025
e9254b2
[FIX] website_sale: enable shop_cart_recovery
visp-odoo May 2, 2025
e88fafd
[FIX] website_sale: enable TestWebsiteSaleComboConfigurator class all…
visp-odoo May 2, 2025
24dab14
[FIX] website_sale: enable stock_notification_wishlist tour
visp-odoo May 5, 2025
696d3dc
[FIX] module status in new content modal
May 5, 2025
5b5c8b4
[FIX] remove non-existent paths from manifests
AlessandroLupo May 5, 2025
2788beb
avoid animation flicker
bso-odoo May 5, 2025
07f1e84
scroll to top when clicking on group of snippets or changing search
bso-odoo May 5, 2025
10e097e
[FIX] html_builder: avoid crash when currentWebsite is not defined
robinlej May 5, 2025
4bc2af5
update background shape definition
duau-odoo May 5, 2025
a0375a9
avoid over-escaping form field description
bso-odoo May 5, 2025
4a46ab3
Fix image gallery loses option values after re-ordering
Jinjiu96 May 5, 2025
2af6e55
[FIX] clickOnSave in website tour_utils
robinlej Apr 18, 2025
591577c
[FIX] document not attached to window after reload
robinlej Apr 25, 2025
4012499
[IMP] WebsiteLevelColor options
robinlej Apr 16, 2025
5d3ebca
Fix header tour
robinlej Apr 29, 2025
2b60111
[FIX] html_builder: make customizeWebsiteColors work with CSS variables
robinlej May 2, 2025
076e3f3
font picker/add font: apply change, reload, keep tab
bso-odoo May 5, 2025
4d1e388
track tab
bso-odoo May 6, 2025
da11480
[IMP] html_editor: Navbar Link Popover
dabo-odoo Apr 23, 2025
b09ec60
[IMP] html_builder, html_editor: Neutralizing Navigation and Menu Dat…
dabo-odoo Apr 23, 2025
38f7b24
add new content: ignore on close and close on create
bso-odoo May 6, 2025
10ca881
[FIX] web: unskip test for mysterious egg
FrancoisGe May 5, 2025
9da808a
[FIX] edit/translate slide course
FrancoisGe May 6, 2025
90d396e
do not require config props in builder
bso-odoo May 6, 2025
9d243bf
add language selector option
emge-odoo Mar 11, 2025
c85be47
[FIX] Website backend navigation (back and forward)
May 5, 2025
8c24220
fix move language_selector_option
FrancoisGe May 7, 2025
153e21a
[FIX] html_editor: Tiny revert on link popover classes handling
dabo-odoo May 7, 2025
371eb19
[FIX] html_builder: allow to select video elements
AlessandroLupo May 7, 2025
8d0e1dd
Fix toolbar dropdowns close on click
cammarosano Apr 30, 2025
3adc8a4
[FIX] use lastWebsiteId to have websiteSystrayItem consistently
May 6, 2025
28b2ae7
[FIX] adapt `_saveTranslationElement` with [this commit]
loco-odoo Apr 22, 2025
63c7d07
Improve translation mechanism
loco-odoo Apr 25, 2025
40dc8ee
Make tests green
loco-odoo Apr 29, 2025
7e5ae5b
align preview image with the real one when cropping
duau-odoo May 5, 2025
b5bbc53
Fix toolbar open in extended mode
cammarosano May 7, 2025
eb17030
remove document tab in media dialog when noDocuments true
duau-odoo May 7, 2025
639a658
color picker theme tab
Goaman Apr 9, 2025
7296c87
[REF] html_builder: refactored the header navbar options
guja-odoo Apr 25, 2025
58f155c
[IMP] html_builder: Implement text highlight
fdardenne Apr 23, 2025
65e8df5
Add /video powerbox in html builder
robinlej May 7, 2025
b526b04
Fix only child sanitized dropzone
sobo-odoo Apr 24, 2025
e4e59c8
Check if snippet contains sanitized elements too
sobo-odoo Apr 25, 2025
700f77d
Consider iframe offset when computing the dropzones
sobo-odoo Apr 25, 2025
946cd63
Allow dropzones to be vertical + remove invalid dropzones (invisible...)
sobo-odoo Apr 28, 2025
7ae0ed8
Add missing check for parent not editable for element to be unremovable
sobo-odoo Apr 29, 2025
0949492
Add stable fix for inconsistent mobile ordered columns + fix selector
sobo-odoo Apr 29, 2025
d2b05e9
Add drag and drop (without grid mode)
sobo-odoo Apr 30, 2025
7d0b676
Complete drag and drop (with grid mode)
sobo-odoo May 6, 2025
54ea8a0
Prevent dropping a `Steps` column outside of its `Steps` snippet
sobo-odoo Apr 30, 2025
ac8f904
Add this.window in Plugin
robinlej May 7, 2025
6b020dd
fix websiteConfig checkVars
robinlej May 7, 2025
afa4508
close customize component on selection, undo and redo, and default 1st
bso-odoo May 6, 2025
e3e51c6
fix color theme
FrancoisGe May 7, 2025
33aa7b1
FIX views ''
FrancoisGe May 8, 2025
7b01bc1
[FIX] html_builder: highlight: props validation
fdardenne May 7, 2025
93a537b
Use correct bundle
May 8, 2025
952e4ed
filter for background
Goaman Apr 1, 2025
725dd72
update getImageSrc
Goaman May 8, 2025
5c2d392
[FIX] html_builder: toggle visibility of nested invisible elements
AlessandroLupo May 7, 2025
e331056
[FIX] html_builder: double-click to replace video
AlessandroLupo May 7, 2025
40c995f
[FIX] html_builder: improve Edit click feedback + hotkeys in iframe
robinlej May 5, 2025
a0cc545
[FIX] website: avoid infinite wait for carousel slide operation
bso-odoo May 7, 2025
10b9ce6
carousel: select first slide on save
bso-odoo May 6, 2025
7d57756
remove carousel_section_slider.edit.js, it's already handled in
Jinjiu96 May 7, 2025
cb6dc9f
add withLoadingEffect support in actions
duau-odoo May 8, 2025
1f7e952
keep the text cursor in edit mode when hovering a button
May 8, 2025
134766c
[IMP] website: adapt snippet_social_media
divy-odoo Apr 18, 2025
8baa334
[IMP] website: adapt public_user_editor tour
divy-odoo Apr 22, 2025
632ab15
[FIX] html_editor: traceback on image link popover preview
divy-odoo Apr 29, 2025
8b36393
option container buttons: move min-width: min-content; to scss
agau-odoo Mar 27, 2025
5f09c90
add basic BuilderList
agau-odoo Mar 21, 2025
6393f8b
s_donation: fix duplicate currency before modifying list
agau-odoo Apr 14, 2025
7a53aa0
s_donation: fix button showing whitespace before modifying list
agau-odoo Apr 14, 2025
c8b3ae8
s_donation options
agau-odoo Mar 31, 2025
a2ba4b5
Add history mutations to popup
May 9, 2025
01a0f7e
option_sequence: fix SNIPPET_SPECIFIC not tracked, add tests, throw o…
agau-odoo Apr 25, 2025
16f2c0c
option_sequence: export DEFAULT, differentiate DEFAULT and SNIPPET_SP…
agau-odoo May 9, 2025
1216e29
withSequence: throw on non-number sequenceNumber, fix bad imports
agau-odoo Apr 25, 2025
91e32cb
countdown options: move to website_builder
agau-odoo Apr 25, 2025
4aced6f
remove magic numbers for withSequence in options
agau-odoo Apr 25, 2025
d394678
add withSequence to dynamic snippets
agau-odoo May 9, 2025
8259a65
add withSequence to event page options
agau-odoo May 9, 2025
b63cc00
add withSequence to forums index page
agau-odoo May 9, 2025
d999686
remove useless withSequence from Course Page option
agau-odoo May 9, 2025
00c24c9
fix header options order
agau-odoo May 9, 2025
6687a4d
remove useless withSequence from Product List Page
agau-odoo May 9, 2025
e278df5
option_sequence: remove unused MEDIA_URL
agau-odoo May 9, 2025
465c7f0
[FIX] html_builder: error message for invalid URL
emge-odoo May 7, 2025
e26b71d
[IMP] website: show welcome message on homepage
divy-odoo May 8, 2025
f78ae2e
fix manifest + skip test to adapt
FrancoisGe May 6, 2025
0e3a3a0
remove useless file
FrancoisGe May 9, 2025
26ce430
[IMP] website_slides: Adapt and enable website tours
panv-odoo May 2, 2025
dc92fdf
[IMP] website_slides: Adapt and enable website tours
panv-odoo May 2, 2025
8bb6b7d
[REF] Small changes to M2M fields and website_blog tours adaptation
May 5, 2025
d226c71
[FIX] website_sale: adapt tour check_free_delivery
chdh-odoo May 5, 2025
b2ccb62
[FIX] website_event_sale: adapt tour test_buy_last_ticket
chdh-odoo May 5, 2025
5039a19
[FIX] website_sale: adapt tour test_category_page_and_products_snippet
chdh-odoo May 6, 2025
02cad9e
[FIX] website_event_sale: adapt test test_demo
chdh-odoo May 6, 2025
19066ea
[IMP] website_sale_stock: adopt tours
rahg-odoo May 3, 2025
b945cca
[IMP] website_sale_collect: adapt website_sale_collect_buy_product tour
paru-odoo May 2, 2025
bc2a965
[IMP] website_sale_comparison: adapt product_comparison tour
paru-odoo May 2, 2025
bc4d354
[IMP] website_sale_loyalty: Adapt tours
paru-odoo May 2, 2025
1ff9d0c
[IMP] website_sale: adapt tours for mysterious egg
shsa-odoo May 6, 2025
468879f
start apply o_dirty when start editon
FrancoisGe May 9, 2025
b828b26
fix tour
FrancoisGe May 9, 2025
cd98283
skip test
FrancoisGe May 9, 2025
f9821d9
[FIX] html_builder: Added export to MenuDataPlugin
dabo-odoo May 7, 2025
795050b
[FIX] website: Small fix to MenuDialog for Owl tests
dabo-odoo May 8, 2025
aa59de0
[IMP] html_builder: Tests for NavbarLinkPopover and MenuDataPlugin
dabo-odoo May 7, 2025
0a78dae
preload editor assets
ged-odoo May 12, 2025
6b78d00
add post undo and redo handlers to DisableSnippetsPlugin
May 9, 2025
8fa5a6c
form custom field value list for multiple checkbox, radio and selection
bso-odoo May 12, 2025
d4d0e0e
mutually exclusive selection for radio and selection
bso-odoo May 12, 2025
2d79116
[FIX] website: adapt tour website_click_tour
chdh-odoo May 1, 2025
d6b0588
[FIX] website: adapt tour test_powerbox_snippet
chdh-odoo May 5, 2025
e4f3640
[FIX] website: adapt tour restricted_editor
chdh-odoo May 5, 2025
eaefb27
check if the component has been previously destroyed in the effect
May 12, 2025
d94ce38
fix 2 failing tests
ged-odoo May 13, 2025
c17b140
[FIX] select_menu test. Always run onInput when you open popover
FrancoisGe May 12, 2025
3d53ab4
[IMP] website: adapt test_26_website_media_dialog_icons test
aans-odoo Apr 16, 2025
8bf278b
[IMP] website: adapt snippet_image tour
aans-odoo Apr 11, 2025
8977561
[IMP] website: adapt website_start_cloned_snippet tour
aans-odoo Apr 11, 2025
412566a
variable-stored color picker options
bso-odoo May 8, 2025
e20ef45
theme tab: color picker enabled tabs
bso-odoo May 9, 2025
f21abe7
fix progressBarValue apply logic
May 12, 2025
26977ec
remove duplicate enabledTabs props
bso-odoo May 13, 2025
3e36468
[FIX] html_builder: fix default recipient email based on company email
panv-odoo Apr 28, 2025
e8c0b7e
[IMP] website: Adapt and enable website tours
panv-odoo Apr 29, 2025
0489fe0
lint html_builder
duau-odoo May 12, 2025
9fc5112
fix red branch
FrancoisGe May 13, 2025
cf225b2
[FIX] html_editor: link popover icon size fix
dabo-odoo May 13, 2025
d9f83de
add missing action for customizing buttons font
May 14, 2025
83e8b89
collapse plugin
duau-odoo Apr 11, 2025
323719d
Add tests for drag and drop
sobo-odoo May 8, 2025
50de415
Fix drop clone when only visible element
sobo-odoo May 8, 2025
644c711
Fix snippet group click exclude first 1/4 of viewport + fix dropzones
sobo-odoo May 8, 2025
fc43171
Fix missing preserveSelection when toggling grid mode on drag
sobo-odoo May 9, 2025
8ebbd47
Use resources when dragging a snippet instead of overrides + clean code
sobo-odoo May 12, 2025
7a4d0bf
Handle system and unobserved classes
cammarosano Apr 11, 2025
78ac1cf
[IMP] website: Adapt and enable snippet_carousel tours
panv-odoo Apr 28, 2025
e400b70
[IMP] website: test_html_editor_scss, test_html_editor_scss_2 no change
rahg-odoo Apr 16, 2025
39566e2
[IMP] website: adapt website_code_editor_usable
rahg-odoo Apr 16, 2025
99b7bd9
[IMP] website_sale: adapt tours of website_sale
rahg-odoo May 1, 2025
efd2e98
test
ged-odoo May 14, 2025
ed93e8c
move html builder interactions back to website
ged-odoo May 14, 2025
58d71ce
add comment
Goaman May 14, 2025
69c9dc1
Do not start all plugins in translate mode
loco-odoo May 7, 2025
022ddf9
misc cleanups
ged-odoo May 14, 2025
b701388
[REF] html_builder: highlight: use classes instead of dataset
fdardenne May 14, 2025
f43bf5b
Select current website when adding a new language from the theme tab
blse-odoo May 14, 2025
10c8ce6
empty field with placeholder should be editable
bso-odoo May 14, 2025
1b465e8
[IMP] website: adapt snippet-image-gallery tour
shsa-odoo Apr 25, 2025
b87f584
top menu visibility after header scroll effect
bso-odoo May 12, 2025
9af2c24
have auto_hide_menu be ignored by current builder history
bso-odoo May 13, 2025
1abfbce
restore test
bso-odoo May 13, 2025
ac91efd
close color picker on click after opened
emge-odoo May 14, 2025
bbcbebe
move website builder action to website
ged-odoo May 15, 2025
0bc2e9a
fix switching to newsletter subscription form action
bso-odoo May 14, 2025
24c818b
small fixes in blog, shop and hr
duau-odoo May 14, 2025
d875143
TopMenuVisibility parameters are splitted
duau-odoo May 12, 2025
f721d5a
add message + image when no snippets found in snippet dialog
emge-odoo May 14, 2025
1a05fb8
[IMP] html_editor: add custom button options
sebgeelen Apr 25, 2025
c662ee1
Revert "[IMP] html_editor: add custom button options"
cammarosano May 15, 2025
6801562
[IMP] html_editor: add custom button options
sebgeelen Apr 25, 2025
c4ce635
Idea fix formOption bug indé
FrancoisGe May 14, 2025
b5bf03d
remove welcome in setup editor plugin
May 14, 2025
76c081c
remove bad dependency
ged-odoo May 15, 2025
21698ab
translation in website
ged-odoo May 15, 2025
41d9f5b
fix indentation header_navbar_option
guja-odoo May 15, 2025
1f7391f
add Desktop Alignment for the sidebar navbar
guja-odoo May 15, 2025
b05196b
use list for value of setItemSize
blse-odoo May 15, 2025
242b38c
move lots of code to website
ged-odoo May 16, 2025
0639317
[FIX] html_editor: whitespaces and style bug in link_popover overlay
dabo-odoo May 12, 2025
50ac079
FIX tour, use website .inside.scss
FrancoisGe May 16, 2025
790f49e
[IMP] html_editor: link popover disappearing characters test
dabo-odoo May 16, 2025
6eb3f75
reverse htmlbuilder and website dependencies
ged-odoo May 16, 2025
92c611e
move tests to website/
ged-odoo May 16, 2025
a4bd7d4
move builder back to html_builder
ged-odoo May 16, 2025
98a9b43
fix error
ged-odoo May 16, 2025
9a5d02c
more work
ged-odoo May 16, 2025
f0ad6aa
some work
ged-odoo May 16, 2025
fba9764
move urlpicker to website
ged-odoo May 16, 2025
fe264e3
stupid stuff
ged-odoo May 16, 2025
4b0fc99
fix missing import
ged-odoo May 16, 2025
4b2ae5a
rename website/website_builder to website/builder
ged-odoo May 16, 2025
a7c9ed5
move snippet dialog back to html_builder
ged-odoo May 16, 2025
42152ce
move plugins to website builder plugins
ged-odoo May 16, 2025
ab15ac5
fix some imports
ged-odoo May 16, 2025
ba8f961
fir rebase
FrancoisGe May 20, 2025
590481a
[FIX] html_builder: page creation does not re-ask url
dabo-odoo May 14, 2025
558b8e7
Edit open popup on click anchor on correct element
bso-odoo May 15, 2025
4df752e
unskip js test
FrancoisGe May 20, 2025
777b289
async useDomState
Goaman May 15, 2025
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
  •  
  •  
  •  
Empty file added addons/html_builder/__init__.py
Empty file.
55 changes: 55 additions & 0 deletions addons/html_builder/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
'name': "HTML Builder",
'summary': "Generic html builder",
'description': """
This addon contains a generic html builder application. It is designed to be
used by the website builder and mass mailing editor.
""",

'author': "Odoo",
'website': "https://www.odoo.com",

# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',

# any module necessary for this one to work correctly
# so stupid that we need to use the stupid defineMailModel helper, so we need
# to depend on mail
'depends': ['base', 'html_editor', 'mail'],

'assets': {
# this bundle is lazy loaded when the editor is ready
'html_builder.assets': [
('include', 'web._assets_helpers'),

'html_builder/static/src/bootstrap_overriden.scss',
'web/static/src/scss/pre_variables.scss',
'web/static/lib/bootstrap/scss/_variables.scss',
'web/static/lib/bootstrap/scss/_variables-dark.scss',
'web/static/lib/bootstrap/scss/_maps.scss',
'html_builder/static/src/**/*',
],
'html_builder.inside_builder_style': [
('include', 'web._assets_helpers'),
('include', 'web._assets_primary_variables'),
'web/static/src/scss/bootstrap_overridden.scss',
'html_builder/static/src/**/*.inside.scss',
],
'html_builder.assets_edit_frontend': [
('include', 'website.assets_edit_frontend'),
],
'html_builder.iframe_add_dialog': [
('include', 'web.assets_frontend'),
'html_builder/static/src/snippets/snippet_viewer.scss',
'website/static/src/snippets/**/*.edit.scss',
],
'web.assets_unit_tests': [
'html_builder/static/tests/**/*',
('include', 'html_builder.assets'),
],
},
'license': 'LGPL-3',
}
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading