[Libreoffice-commits] online.git: Changes to 'private/mmeeks/clipboard'

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 6 01:38:48 UTC 2019


New branch 'private/mmeeks/clipboard' available with the following commits:
commit 18305c8a44708303c2e82c4b2d064d89fe2986b1
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Tue Jun 25 16:18:49 2019 +0200

    Request text/html in get clipboard
    
    Change-Id: I9096fb2470da0255722f58bdeaeba87fcae3511d

commit d3208f9cfe43bccfa326bb8402513e80d9bcca78
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Tue Jun 25 13:25:03 2019 +0200

    Download complex content
    
    Clipboard not set yet
    
    Change-Id: Ic70c7b791d1248309ef4155c47da03e776ce00ec

commit 729d95ec61f0e1fed3bcbd3fad00997a5891f61c
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 25 12:08:09 2019 +0100

    clipboard: use captive contenteditable to enable copy/cut on Safari.
    
    Change-Id: Ifa3afc6e3257886beaffb20180f343dec6c41cd5

commit 69fdd49db9e41eb95b094c716e5624ecaac56efe
Author: Marco Cecchetti <mrcekets at gmail.com>
Date:   Tue Jun 25 12:43:32 2019 +0200

    loleaflet: warning about large copy/paste only once
    
    Change-Id: Ia957389b0a1ec242374398e1d555ebc4d3a6b2d8

commit c564af1614a38922d90ae9f4d99964e49bd7670e
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Tue Jun 25 10:45:44 2019 +0200

    Paste text/html in IE
    
    Change-Id: I9e9b400d9894e2689b86aaca8d0f66bf1f364b0e

commit a9e698b1d01b94bd06dc486596138efe0074f5da
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Tue Jun 25 08:55:44 2019 +0200

    IE fix: set timeout after open
    
    Change-Id: I670d0e76a0afa22bf0e2f713b64920be9ad3214b

commit 5696e3e916287c773469a099caa01c15ea0dac60
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 25 02:06:03 2019 +0100

    clipboard: fix menu-bar copy/cut/paste via event re-emission.
    
    Change-Id: I050767d32e376e7e0bafb354f9ef3c02acaf229a

commit 1c3ff3f3365d7e88e790c62d91c0c21a2cc878cb
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 25 00:25:23 2019 +0100

    clipboard: implement the async download & re-up-load.
    
    Change-Id: Ib6ad55568f56acc9c9bd677224472e56ce19c13e

commit bf6949bce7abd89bb0ab93fd3bd904dff6e1193f
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Jun 24 23:22:26 2019 +0100

    clipboard: fixup short-circuit URL construction & comparison.
    
    Also add stub text to drive downloading.
    
    Change-Id: I957a4eb07f606147237ec759a8edba845a5e0843

commit 67354ba185e4b66b7d7420d36d5fb7559862d46d
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Jun 24 21:44:07 2019 +0100

    clipboard: don't continually send new keys.
    
    Change-Id: I802c4c1bd6f163fed8555e0f8fd6ffe87e48d585

commit e259363fa663ba2187abb708541bcfd9b62b67f4
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 22:01:35 2019 +0200

    Paste at least text/plain in IE
    
    Change-Id: I11f0b82256e5a94a007bd39a02ba9b53e4c5f8f8

commit 3076ce0d6237245a0d23ad39ba4e0e9f1b39d9b1
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 21:42:53 2019 +0200

    Refactor cursor change
    
    Change-Id: Id9b9a3aecf4594d8f0e0bcc5723bd37a6de9fae2

commit b3415abea0a70ca0fdac8e36e5eb142256ace4e9
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Jun 24 20:10:44 2019 +0100

    clipboard: test two separate views' clipboards.
    
    Change-Id: Ie6f2eeb1f1dd3c762cca847f4c77a5cd7d39f70a

commit 9d2cad14129273f075c3ee4eca729ef684840794
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 19:57:30 2019 +0200

    Set cursor to progress to not confuse the user
    
    Change-Id: I5b3157744f8903a4bf1ee5198a1b668f960deea5

commit 6945490c21a3c52bb546209ef937e1c5e0aef37b
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 19:26:18 2019 +0200

    Show progressbar on upload
    
    Change-Id: I67a301fe196d27a73b03549969788a67c032303a

commit 08550fbce0665114a133e71f8dabb45303016f9c
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 18:52:05 2019 +0200

    Move progressbar code to Clipboard.js
    
    Change-Id: Id58136cef8bec96a6d711d7ca3cf930462408763

commit 7f3f0f9453a52d8c51414e2beb0ee1b327b83d0a
Author: Marco Cecchetti <mrcekets at gmail.com>
Date:   Mon Jun 24 14:32:43 2019 +0200

    loleaflet: download widget skeleton for larger copy/paste data operation
    
    Change-Id: I64d8edc014241e94c45677185a935714b8eeb192

commit 095edb28e223c598deffb9d4cd63b888a64b7839
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Jun 24 16:38:27 2019 +0100

    Adapt to new 'getClipboard' API - works on clipboard not selection.
    
    Vital for a working 'cut'.
    
    Change-Id: I980a4d65ef14eb922343d1d321177a9b3e1629f3

commit 8ebb0bb930f21f4bdb6042de0249ac73ccc665f3
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 15:39:46 2019 +0200

    Make request async and avoid double paste
    
    Change-Id: I01ce55cfa6b01186b81397debf47c47f103908ea

commit 501229d9390d2e89ea9e0ab7f5d80c280250a41e
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 15:29:53 2019 +0200

    Send uno:Paste after success of 'set clipboard'
    
    Change-Id: I88636c87bb80fe0f2ed2f34eb3c84781821194a9

commit 610c2aaf23e2af9079e33e5ea011e825670ddacc
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 14:36:46 2019 +0200

    Fix ParseError on valid data
    
    Change-Id: I0706030d9933313e44ae89b92b62576dacbf7e9e

commit 7f6af05213bbbdc49009acc4e257fc1f000f825c
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 14:18:13 2019 +0200

    Sync request with clipboard parser
    
    Allow to use multiple clipboard streams.
    
    Change-Id: Ib98a7c1db8738145138fa3657e94c404260e4a28

commit 6533efaebdcdf6b680917a62f1d30efa9ce794c2
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 13:26:01 2019 +0200

    Send POST request to set clipboard
    
    Change-Id: I1f700e142d40e266a461e573a0561518392a0555

commit 3fab8a9937ce34eadaafac442cbc2bbdc42771ed
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 11:31:44 2019 +0200

    Fix crash: Send bad request when no data
    
    Change-Id: I705c47925b1e44bf7b112325f06c915e841dab2a

commit a2e3fdb3ae9b679e81576b641ba59fa5282d4e56
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 11:05:39 2019 +0200

    Use correct clipboard name to allow save the key
    
    Change-Id: I47c2dfe6676ceb9ca6638c9de24bd72411ff88df

commit dbca23ddacd4a51a91b449a632deb41b5937a73d
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Jun 24 10:16:08 2019 +0200

    Fix Clipboard initialization
    
    Change-Id: I65254de5a04a9683373edb23a4bbf7dec546ce21

commit 7ba9b09fd1328a9d866af5c08439610eeab0e35c
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Fri Jun 21 20:23:03 2019 +0200

    Send all available paste formats
    
    Send as a string for now:
    
    mimetype=xxx\n
    length=xxx\n
    [string content]
    ...
    
    Change-Id: I648c01d86d25a88cab16294063764110bc05151f

commit 26303bf340b21a4bd9ed117825e3e1e066458fb9
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sat Jun 22 23:00:49 2019 -0400

    Add complexselection message
    
    Change-Id: Iecf5d96451e2548e6a44edac164096bca57139a8

commit fb2507bd3cb9eaec97f3f2fdd3138a42ea83c4fc
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 21:23:25 2019 +0100

    Re-factor more of clipboard related bits into a single place.
    
    Change-Id: Ie7392de9e63201e3c62e505c0b9292782a418fea

commit 3c42f3525a73a3164cd61431f335e67ce6688ea0
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 21:23:12 2019 +0100

    Rename to clipboardkey.
    
    Change-Id: Idba1d839e75a5525a8b0e71b9aecff17b8aa05e9

commit 229ca094198e53ae77b12a832d2085fac96f130f
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 18:42:48 2019 +0100

    Start of separating clipboard code to Clipboard.js.
    
    Change-Id: I59ba0c093002cb60b13d2f71a4801e76f6a94b2a

commit e7cec818462142ccf6a1e0137b861cc37c0a28bc
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Fri Jun 21 17:33:56 2019 -0400

    Fix build - potential use before initialization
    
    Change-Id: I5d9db13b0241af64fa8e9eb9528a6e460166f280

commit 13469e8b00375f9b5f0e2aaf0be1fc976ad213f6
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 17:45:36 2019 +0100

    clipboard - set it with a post now.
    
    Change-Id: I6b9234988185984335408da502f479ccda8a95a7

commit 15af6cf0422b08f6375a6005979d21d5374352b7
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 13:29:54 2019 +0100

    clipboard: test for set-clipboard endpoint (disabled).
    
    Change-Id: I3bc31dfb231aaacc01ddd717b39abdebd26a76bb

commit 4347883c6547b707a330fa38cb0111f2d4c4f7c8
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 13:00:48 2019 +0100

    clipboard: add more unit tests.
    
    Change-Id: Id1841935927e451e6aa15489c303dd9f01ac21b4

commit 149b8619754e4d1af47671aaad05b74cd82deff6
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 12:46:50 2019 +0100

    clipboard: a more helpful calc test.
    
    Change-Id: Ibe0e583a2019e7bc5968dd8f73cf4e4a07d363b2

commit ba4907b791be620b07aaab175320e51068c5f983
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Jun 22 11:26:42 2019 +0100

    clipboard: factor out parsing, and add checks in unit test.
    
    Change-Id: I8c23b10769293b07cc94fdc0d6110e9d540a16b9

commit 9726ce6f774f64eb6d128c1ff3bab1362a925748
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Jun 21 23:56:45 2019 +0100

    Various copy/paste fixes, unit test passing, parsing of result.
    
    Change-Id: I9168853dd011e86896c3bd474a4d05ee82c0e336

commit c7956349f660f28c70733ace7f99ffb6c3da33e5
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Jun 21 17:48:57 2019 +0100

    More work getting the unit test closer to passing.
    
    Change-Id: If2ec0d5465a84e11dec1f5c5b9839a369b393784

commit 245e5094135c0c7075dfd7e62388e30c5d6609cb
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Jun 21 12:35:17 2019 +0100

    clipboard: start of rotating clipboard key management.
    
    Change-Id: I8caab267ec5391e2cd7cb20907fa080111cc70dd

commit 7f4a7404ccaf8e5864702643b5b510fc0396c8c5
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Jun 21 12:34:53 2019 +0100

    Add hard random/hex key generation utility.
    
    Change-Id: I8bb95153a5bd63a6b41edf65a0fdf0ebd52ad070

commit 4a9de331ed516c3d7477d947584082df2f92bdb9
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Jun 21 11:47:07 2019 +0100

    Unit testing - add more hooks and helpers.
    
    Change-Id: Ieb12699e3b012606eaa0be3cc94d6f9b58adc441

commit f25d9eb10ef3a4ed7b72d602d08fd7d23d10f302
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Aug 5 20:48:50 2019 -0400

    fixup d3887f7a94b5931085ae27e8fb12c32dcda80717
    
    Change-Id: I26cbe5cfa226465114608d6960c6ffaec96dddbf

commit da455c486a5cce661cac2e214374836b2096eccc
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Thu Jun 20 23:29:17 2019 -0400

    Serve a decidedly unpretty clipboard download page
    
    The initial bits to serving some page with provision
    to ingest the different formats into a table.
    
    Doesn't yet link with the actual document, but it's
    a start.
    
    The link will have some unique id(s) in it to
    reference the document in question, which will
    be some hash (possibly changing with some logic for
    security reasons). This hash will have to be
    something valid that WSD will use to locate
    the DocBroker in question, connect to it and
    fetch the formats supported and generate unique
    links for each. When the user clicks on a link,
    the contents will be downloaded in the given
    format and copied to the user's clipboard.
    
    The clipboard.html template is based on loleaflet.html
    as we're very likely to use the same customization,
    branding, localization, and javascript bits.
    
    We would probably want to add a brandable title
    with logo etc. and possibly some more reasable
    background (ideally, an image enlarged and blured
    to give the page some semblance of having content).
    
    Change-Id: If0550184d4423bef1e98fecbb072bdf8df07701b

commit c36da1cd978ed0f23e756d507446138189026c5e
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Jun 20 20:20:26 2019 +0100

    Implement getClipboard and start of a unit test.
    
    includes Change-Id: I47d38f9285c855dcc6fbeeb73d35f22a46a30c05
    
    Change-Id: I60b84bef1cf832ec5c191d664afd90a080b7ffbc

commit d3887f7a94b5931085ae27e8fb12c32dcda80717
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 4 20:26:39 2019 +0100

    handle web clipboard request.

commit 8440e286cb9586bdf3c58e1be6945c6c419d7ca0
Author: Iván Sánchez Ortega <ivan.sanchez at collabora.com>
Date:   Tue Jun 18 18:05:29 2019 +0200

    Calc: Update clipboard container only on 'celladdress', not 'cellformula'
    
    Change-Id: I5e3f4eb56447060a54751172bd9d891c88a593fe

commit 8c80c087293a16ba866dab0503cc0cf8e9c93849
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 18 12:18:44 2019 +0100

    Add clipboard debugging to our options.
    
    Change-Id: If0e0ced9d9a6e44cc7ba5f390604cc10fd869a52

commit 3c3a3ee2042926cd0149eb6ca5666ac5a2fa7724
Author: Marco Cecchetti <mrcekets at gmail.com>
Date:   Mon Jun 24 19:29:56 2019 +0200

    loleaflet: copy/paste: upload widget and cross copy/paste widged
    
    Change-Id: I9042b8263d9af51897ed7ba7488fe6399561b965

commit fdc5d259ea9cb4bd89d8682d68fce75f4eedb13b
Author: Marco Cecchetti <mrcekets at gmail.com>
Date:   Mon Jun 24 14:32:43 2019 +0200

    loleaflet: download widget skeleton for larger copy/paste data operation
    
    Change-Id: I64d8edc014241e94c45677185a935714b8eeb192

commit 94b80a5f13dc6ee9d2347d72f4c2360adcdc0ff7
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Wed Jun 12 15:05:22 2019 +0200

    Add copy paste warning also in mobile
    
    Change-Id: I00357d432ad6d4a05be6494a8bb058dd1793a5ff

commit 14fa2dd346805de6c041b6fb29399c96bc4b93b3
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Jun 12 14:43:04 2019 +0200

    Make the (JS) context menus work again.
    
    This was removed by mistake, and caused that no .uno: command was ever
    sent to the core.
    
    Change-Id: Iecf050f09bc2a22b936abf49315d4a9d0fbb364a

commit 75925bb53d886314d91e0a33d765e6ff030d05b7
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu May 30 13:48:47 2019 +0100

    Don't disable Paste based on incorrect server side data.
    
    Leave it always enabled.

commit f2478adb44905292b0929bd3a73a683d7a92fcb7
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu May 30 12:30:08 2019 +0100

    Restore Copy/Paste context menus and use execCommand to do it.
    
    Move the warning dialog to the Clipboard helper for now, and show on
    failure.
    
    Change-Id: I073248e8959d20b12bc6d3dafd5e81287f759862

commit a636f4e91c6bc8f67e64d99ebdd2c11fb6dcce0f
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Mon May 20 18:50:41 2019 +0200

    The Internal Copy / Internal Cut / Internal Paste is just confusing.
    
    Every user so far is confused of the existence of two clipboards - the
    system one, and the Online internal one.
    
    We are able to detect that the copy / paste is happening inside the
    document and perform the "internal copy / paste" accordingly, so let's
    do what the other online office suites do, and just warn when the user
    tries to access copy / paste from the menu.
    
    Change-Id: I904fc120fcf65b8ad4ba8fb5178803f976d707f4

commit 8c1f97a92d6a2c4a0d36e46097185e7916b74c4e
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Wed May 29 19:25:59 2019 +0100

    Work around Safari behavioral difference with contenteditable.



More information about the Libreoffice-commits mailing list