Xavier Morel
d3c7750b96
[FIX] inject WORD JOINER inside p so they don't seemingly disappear after saving
...
bzr revid: xmo@openerp.com-20140317124056-kg2jngp2mg769v7m
2014-03-17 13:40:56 +01:00
chm@openerp.com
19aacaaea8
[FIX] website: readability block with container css
...
bzr revid: chm@openerp.com-20140317114956-j5sqt6flie5fla31
2014-03-17 12:49:56 +01:00
chm@openerp.com
44bebab682
[FIX] website: typo: message let the user think that he can change the mobile view while he cannot
...
bzr revid: chm@openerp.com-20140317114938-3ghhwm0km3u5wyu1
2014-03-17 12:49:38 +01:00
Xavier Morel
8ffc4d0a5a
[ADD] support for presized fields in website/image
...
also add presized field to attachments (automatically computed from datas)
bzr revid: xmo@openerp.com-20140317104251-ddsa9cfpq1vkk2k1
2014-03-17 11:42:51 +01:00
chm@openerp.com
89eb355069
[FIX] website tour: create a stub for bootstrap tour in automatic/test mode (need for full test and hide real bug for tour test)
...
bzr revid: chm@openerp.com-20140317083442-imylv9v5fafjxhwr
2014-03-17 09:34:42 +01:00
Antony Lesuisse
c93b466d32
[FIX] website tour, prepare for manual injection
...
- reorder website.js in a choerent way
- remove injectable website.tour.test.js
We will do injection manually using website.inject_tour, in the mean time only
non injection test are supported, fully disable test needing inject, until fme
merge its fix.
bzr revid: al@openerp.com-20140316165442-p82wqwv82559oact
2014-03-16 17:54:42 +01:00
Antony Lesuisse
0772c99bcb
[FIX] website test, remove useless test, waitfor banner fix
...
bzr revid: al@openerp.com-20140316144546-agpgmlwxa532xxmb
2014-03-16 15:45:46 +01:00
Antony Lesuisse
e23ce63133
[FIX] website tests crawler, admin password != super admin password
...
bzr revid: al@openerp.com-20140316142302-7xm0sputqgadihs0
2014-03-16 15:23:02 +01:00
Fabien Pinckaers
d5c63e3205
[MERGE] trunk
...
bzr revid: fp@tinyerp.com-20140316122101-angijeo5fmr5j8v7
2014-03-16 13:21:01 +01:00
Fabien Pinckaers
675a71b2b8
[IMP] attachments on messages
...
bzr revid: fp@tinyerp.com-20140316113742-odae0ph3a1qrqn12
2014-03-16 12:37:42 +01:00
chm@openerp.com
b220dc926e
[FIX] website: can't see edit button because css with overflow hidden for all tag. Aplly css only on carousel, paralax and blockquote
...
bzr revid: chm@openerp.com-20140314163639-l086jn568rtti5mv
2014-03-14 17:36:39 +01:00
chm@openerp.com
410ec52276
[MERGE] website: add optional 'action' in managment edit button to laod one specific backend view
...
bzr revid: chm@openerp.com-20140314162909-ff0obqbw6j7lalmz
2014-03-14 17:29:09 +01:00
chm@openerp.com
aa412d99ec
[FIX] website tour: create a stub for bootstrap tour in automatic/test mode
...
bzr revid: chm@openerp.com-20140313142258-wblpqpwp9oubboc9
2014-03-13 15:22:58 +01:00
chm@openerp.com
9496d823e9
[FIX] website: snippet dropdown options
...
bzr revid: chm@openerp.com-20140313130556-u3m9gbdjwi0zo2v1
2014-03-13 14:05:56 +01:00
chm@openerp.com
2390c9179b
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140312140429-4x94dc1x70yfik1w
bzr revid: chm@openerp.com-20140313122048-1zrqhq6dbtv8jpad
2014-03-13 13:20:48 +01:00
Xavier Morel
b1cd54f5e9
[FIX] CSS of link style pane
...
bzr revid: xmo@openerp.com-20140313093822-kpkufmmya0e21my2
2014-03-13 10:38:22 +01:00
Xavier Morel
cd0434fb2a
[IMP] context-sensitivity of toolbar commands (kinda, attempted)
...
bzr revid: xmo@openerp.com-20140313093707-gpaz7gmsd5zt2ck5
2014-03-13 10:37:07 +01:00
Xavier Morel
0308b7968c
[IMP] don't allow HTML formatting in non-HTML fields
...
bzr revid: xmo@openerp.com-20140313093202-02s734ucabvkckli
2014-03-13 10:32:02 +01:00
Fabien Meghazi
b4ffbb4b35
[FIX] website#ir.http: do not postprocess arguments on non website_enabled endpoints
...
bzr revid: fme@openerp.com-20140312143539-bzf54zlzeawqkfuo
2014-03-12 15:35:39 +01:00
Xavier Morel
8ad325614d
[FIX] sprurious widgetification and editability of icon elements
...
* tighten widget match: don't match elements with .fa which are also "view
section" roots (~ editing hosts) as the classes themselves out not be
editable and the result will thus be odd
* correspondingly, only associate the icon "change" button to instances of the
``icons`` widget, other elements bearing ``.fa`` are not editable and should
be excluded.
bzr revid: xmo@openerp.com-20140312141910-a2apy22qj4wwxsne
2014-03-12 15:19:10 +01:00
chm@openerp.com
d6fc0c259e
[FIX] website: snippet overlay position
...
bzr revid: chm@openerp.com-20140312130939-6k15igo39ybuu81s
2014-03-12 14:09:39 +01:00
chm@openerp.com
4d125a3b52
[IMP] website: simplify code share button; wip: fix overlay
...
bzr revid: chm@openerp.com-20140312093440-4uzrpkguzu0fc5p5
2014-03-12 10:34:40 +01:00
chm@openerp.com
384f398090
[IMP] website: publish button use action for url to backend
...
bzr revid: chm@openerp.com-20140311171941-1fwhholwlsuncjyh
2014-03-11 18:19:41 +01:00
chm@openerp.com
53f59c16d6
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140311154616-tb35jfweo3xuzqws
2014-03-11 16:46:16 +01:00
Christophe Simonis
d504764eff
[MERGE] forward port of branch saas-3 up to revid 9298 chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
...
bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-11 15:52:05 +01:00
chm@openerp.com
3ceefde489
[FIX] website editor: check if link and fa is editable and display change button
...
bzr revid: chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
2014-03-11 14:08:52 +01:00
chm@openerp.com
e5fbd2ba1a
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140310163630-xoqbu4y5wr9ptj7h
2014-03-10 17:36:30 +01:00
chm@openerp.com
8694a48ef1
[IMP] website: use mailto for share snippet insead of mail form
...
bzr revid: chm@openerp.com-20140310141947-zs9ltuzx48k5ej5x
2014-03-10 15:19:47 +01:00
chm@openerp.com
7e8b25dbee
[IMP] website: create share snippet. TODO: controller to send mail or mailto href
...
bzr revid: chm@openerp.com-20140310135434-7xt2sy89if9116l3
2014-03-10 14:54:34 +01:00
Fabien Meghazi
5e036bbf7c
[FIX] Properly redirect in case of invalid url slugs
...
Use werkzeug's api instead of doing hackish url replacement
bzr revid: fme@openerp.com-20140310130530-e86cdwhdca9cs9g3
2014-03-10 14:05:30 +01:00
chm@openerp.com
0560bd631a
[TYPO] website: snippet Style Readability rename into Narrow
...
bzr revid: chm@openerp.com-20140307132247-k442d541jqti8yqv
2014-03-07 14:22:47 +01:00
chm@openerp.com
e5f1cb5a4e
[FIX] website: allow fixed size of a slider with 3 slides of distinct size => add resize option on slider
...
bzr revid: chm@openerp.com-20140307132213-tg3jl2mybbpd0kg3
2014-03-07 14:22:13 +01:00
Kersten Jeremy
9f23642476
[FIX] Change 'Administration' to 'My Account' to switch between website and portal - backend and frontend
...
bzr revid: jke@openerp.com-20140307131017-nhqlnhnsgeprtblc
2014-03-07 14:10:17 +01:00
chm@openerp.com
0a85dc580b
[FIX] website tour: change tour to use the features widget instead of the 3 columns one; fix 'Customize banner's text' step.
...
bzr revid: chm@openerp.com-20140307111314-3lklte4vzz8smgc4
2014-03-07 12:13:14 +01:00
chm@openerp.com
74bb1d6e95
[FIX] website tour
...
bzr revid: chm@openerp.com-20140307101325-qrpn41ue1yxbfgcs
2014-03-07 11:13:25 +01:00
chm@openerp.com
34f05212b7
[FIX] website: snippet & bootstrap for event view
...
bzr revid: chm@openerp.com-20140306162420-rvrjia8cx6y8yxd1
2014-03-06 17:24:20 +01:00
chm@openerp.com
29faa56d8e
[FIX] website tour
...
bzr revid: chm@openerp.com-20140306161104-39dmtb9mw1crw2sd
2014-03-06 17:11:04 +01:00
chm@openerp.com
5f3f09329f
[IMP] website: snippet : website.snippet.animationRegistry.follow
...
bzr revid: chm@openerp.com-20140306140323-o2e77a66eu28bddu
2014-03-06 15:03:23 +01:00
chm@openerp.com
73446943f5
[FIX] website snippet: clean_for_save; display email in subscribe snippet
...
bzr revid: chm@openerp.com-20140306134746-oi0p580c3s3t2a24
2014-03-06 14:47:46 +01:00
chm@openerp.com
58a5f90758
[IMP] website: dynamic website_mail snippet with js
...
bzr revid: chm@openerp.com-20140306130240-cpsd5mssziuvrpf8
2014-03-06 14:02:40 +01:00
chm@openerp.com
7cf77276fb
[IMP] website snippet: add Configurable follow snippet
...
bzr revid: chm@openerp.com-20140305175411-in3oodk778dxvu0k
2014-03-05 18:54:11 +01:00
chm@openerp.com
10084e14db
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140305153023-au4xq3ykk0qupzof
2014-03-05 16:30:23 +01:00
chm@openerp.com
8df09c6c6a
[FIX] website: snippet: display image editor button in snippet. Don't remove overlay (editor is used to clean snippets for save view)
...
bzr revid: chm@openerp.com-20140305132422-sfmlq8giol53rqjm
2014-03-05 14:24:22 +01:00
Xavier Morel
8ab5f3979b
[ADD] deduplication of website images being uploaded
...
There is a deduplication in ir.attachment, but it's only for FS-stored content
*and* it only deduplicates storage not models (as there are access rights
issues involved).
The goal here is to always return the same attachment when a user uploads the
exact same image multiple times (because it's simpler or whatever).
Initially tried to use a binary field & digest(), but search() blows up
because it tries to utf-8 encode raw binary data. So use char & hexdigest
instead.
_compute_checksum returns None if the provided attachment data does not look
like a website image attachment.
Unhandled: multiple existing matches, maybe a UNIQUE constraint on the
checksum field would be a good idea just in case.
cherrypicked from saas-3's xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
which had to be backed out (as the patch adds a new stored field)
bzr revid: xmo@openerp.com-20140304133117-r88p9zl2tc9tsh75
2014-03-04 14:31:17 +01:00
Xavier Morel
a0feb7c3c9
[REV] backout xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f, schemas should not be altered in saas-3
...
bzr revid: xmo@openerp.com-20140304132101-qysq310wp1oo859n
2014-03-04 14:21:01 +01:00
Xavier Morel
e78a3b18cc
[ADD] tentative removal of attachments
...
Attachments ought be removed only if they are not used in an existing page/web
view.
Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive
Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
query parameters. It *will* remove images still being used.
bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
2014-03-04 12:07:16 +01:00
Xavier Morel
a99a15c960
[ADD] deduplication of website images being uploaded
...
There is a deduplication in ir.attachment, but it's only for FS-stored content
*and* it only deduplicates storage not models (as there are access rights
issues involved).
The goal here is to always return the same attachment when a user uploads the
exact same image multiple times (because it's simpler or whatever).
Initially tried to use a binary field & digest(), but search() blows up
because it tries to utf-8 encode raw binary data. So use char & hexdigest
instead.
_compute_checksum returns None if the provided attachment data does not look
like a website image attachment.
Unhandled: multiple existing matches, maybe a UNIQUE constraint on the
checksum field would be a good idea just in case.
bzr revid: xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
2014-03-03 16:38:55 +01:00
Xavier Morel
ec68d3d8bd
[IMP] don't duplicate website_url function field of attachments
...
bzr revid: xmo@openerp.com-20140303142401-2jaxc3m31tmqw9qa
2014-03-03 15:24:01 +01:00
Christophe Matthieu
68749a0683
[IMP] website: snippet: remove data-snippet-id and add auto resize on resising option
...
bzr revid: chm@openerp.com-20140303142017-jcb3401wpiuvbc1n
2014-03-03 15:20:17 +01:00
Xavier Morel
9d00835b2c
[FIX] order of attachments in 'existing images' sub-dialog: put last uploaded first
...
bzr revid: xmo@openerp.com-20140303135426-evouhwgjtwku3v2b
2014-03-03 14:54:26 +01:00