qsm-odoo
5a030db3eb
[REF] website, web_editor: refactor ace editor
...
Stop using ugly code for ace editor.
* Really close the ace editor by changing its display property thanks
to the dedicated do_show and do_hide method.
* Make the common part of ace editors (website, web_studio) consistent
so that the extensions are really small.
* Do not do RPC to retrieve data already retrieved (now, there is only
one unique RPC when the editor starts an one RPC per view changed
on save).
* Fix born-dead code so that the website editor starts automatically
if the URL contains its associated hash and loads the correct view
* Better handle errors (previous behavior only worked partially and
only on chrome):
- Jump to the error line and make it red.
- Do not open a Dialog with mostly incomprehensible message but
allow to open it on click of the error marker.
- Do not save any changed file if one contains an error.
- Do not allow formatting a file if it contains an error (show the
error instead).
* Do not use different routes to get the same content (remove the
/website/customize_template_get route as it returns the same
content as /web_editor/customize_template_get route). Note: in
a further commit this route will be refactored.
* In a general way, use consistent method names and behaviors /
comment the code / lint files / ...
* Open the code to extensions (so that it may later load other data
than XML).
Note: this refactoring allowed to fix bugs in previous odoo versions
but this commit message will not detail them.
2016-11-08 14:18:28 +01:00
..
2016-11-07 16:57:18 +01:00
2016-11-07 10:27:14 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 11:06:51 +01:00
2016-10-23 03:38:54 +02:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-27 16:28:18 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:08:24 +01:00
2016-10-30 03:37:27 +01:00
2016-11-08 11:15:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-11-07 09:19:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-23 03:38:54 +02:00
2016-11-07 16:08:24 +01:00
2016-10-23 03:38:54 +02:00
2016-11-04 14:00:39 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-19 18:16:14 +02:00
2016-11-07 15:56:58 +01:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-24 11:48:45 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-09 00:34:56 +02:00
2016-09-30 17:23:30 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-27 18:23:44 +02:00
2016-10-23 00:35:59 +02:00
2016-10-12 17:10:49 +02:00
2016-10-30 00:34:38 +02:00
2016-10-23 03:38:54 +02:00
2016-10-27 18:23:44 +02:00
2016-10-27 18:23:44 +02:00
2016-09-30 17:23:30 +02:00
2016-10-23 03:38:54 +02:00
2016-11-03 11:41:39 +01:00
2016-11-04 10:50:29 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-11-04 10:50:29 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-18 11:50:34 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-24 11:48:45 +02:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-04 10:50:29 +01:00
2016-11-04 10:50:29 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-11-02 18:02:11 +01:00
2016-11-07 16:57:18 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-11-02 15:16:54 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-11-02 14:18:24 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-04 16:44:09 +01:00
2016-11-07 16:57:18 +01:00
2016-11-07 15:32:16 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-30 03:37:27 +01:00
2016-11-04 14:16:14 +01:00
2016-11-07 16:08:24 +01:00
2016-10-30 03:37:27 +01:00
2016-11-08 14:18:28 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-08 14:18:28 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-03 09:25:30 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 11:28:20 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 00:35:59 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 09:19:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00