Commit Graph

471 Commits

Author SHA1 Message Date
yflory 3c8e6b16a1 Merge branch 'staging' into plugins 2024-06-21 17:01:45 +02:00
Wolfgang Ginolas 89f7b79eec Fix OO images when OnlyOffice was reloaded
https://github.com/cryptpad/cryptpad/issues/1500
2024-05-31 14:23:18 +02:00
yflory 6eee39be5f API: support downloadAs command 2024-05-06 15:55:48 +02:00
Wolfgang Ginolas d2adb5d068 Use myOOId instead of myUniqueOOId in list of partipicants
https://github.com/cryptpad/cryptpad/issues/1446
2024-05-03 10:28:10 +02:00
Wolfgang Ginolas cabe1b879b Make sure indexUser is the same everywhere
https://github.com/cryptpad/cryptpad/issues/1446
2024-05-03 10:28:10 +02:00
Wolfgang Ginolas 82daeb98aa Fix bug when finding unique OO id
https://github.com/cryptpad/cryptpad/issues/1446
2024-05-03 10:28:10 +02:00
yflory 2557b506ab Support OO apps in the API 2024-04-23 14:53:29 +02:00
Wolfgang Ginolas 5bf65cfbdb Remove x2t from repo and use the one installed by install-onlyoffice.sh instead 2024-04-09 11:56:51 +02:00
yflory 1c22beee91 Fix broken 'File' menu entries 2024-03-28 15:58:56 +01:00
yflory 843fe5d14c Fix OnlyOffice apps broken when a checkpoint exists 2024-03-27 12:20:28 +01:00
yflory 66f97d0be6 Merge branch 'staging' into documents-toolbar 2024-03-21 16:02:24 +01:00
Wolfgang Ginolas 49ad62c461 Disable OnlyOffice apps when it is not installed 2024-03-20 13:15:29 +01:00
Wolfgang Ginolas bb5d7aa326 Move OnlyOffice dist to own directory
https://github.com/cryptpad/cryptpad/issues/1416
2024-03-20 13:15:29 +01:00
Wolfgang Ginolas 93acdba17c Remove unneeded files
https://github.com/cryptpad/cryptpad/issues/1416
2024-03-20 13:15:29 +01:00
Wolfgang Ginolas fdf5f58f1b Remove OnlyOffice from the repository
https://github.com/cryptpad/cryptpad/issues/1416
2024-03-20 13:15:29 +01:00
yflory 62b4f901db Add missing handler for menu entries 2024-03-13 16:19:16 +01:00
daria b873a84607 refactor code 2024-03-12 16:49:47 +02:00
daria 923cb9690b remove duplicate code 2024-03-08 17:37:17 +02:00
yflory a1e2a03d03 Merge branch 'staging' into documents-toolbar 2024-03-07 14:02:41 +01:00
Wolfgang Ginolas dd0c5598ea Do not allow OnlyOffice comments in view mode
https://github.com/cryptpad/cryptpad/issues/1420
2024-03-04 10:49:50 +01:00
daria f5c6fb9c67 Help icon is visible bug fixed from File dropdown #1284 2024-02-20 16:46:18 +02:00
daria 49b42e15f9 `File` menu items (OnlyOffice) are accessible using the keyboard
WIP #1284
2024-02-20 15:19:22 +02:00
Wolfgang Ginolas 32c22a8b61 Fix race condition on OnlyOffice
https://github.com/cryptpad/cryptpad/issues/1319
2023-12-19 10:53:45 +01:00
Wolfgang Ginolas 3188583f38 Enable protection tab in sheets without encryption
https://github.com/cryptpad/cryptpad/issues/1158
2023-12-01 08:57:42 +01:00
yflory 6a17017694 lint compliance 2023-11-24 14:18:05 +01:00
David Benque 993e4b09bf Add OO licensing info 2023-10-23 16:32:06 +01:00
Wolfgang Ginolas be65cff15c Fix Form to Spreadsheet export
https://github.com/cryptpad/cryptpad/issues/1281
2023-10-09 10:37:19 +02:00
Wolfgang Ginolas c7f9474325 Add search params to x2t.wasm to prevent caching
https://github.com/cryptpad/cryptpad/issues/1278
2023-10-09 09:28:15 +02:00
Wolfgang Ginolas f4284e448f Upgrade OnlyOffice and x2t to 7.3.3.60 2023-09-22 11:13:06 +02:00
Ahmed Mazen c73dd526df OO disallow " (copy)" from being added to files used with template
Pull Request #1067 added " (copy)" to copied OnlyOffice files. But,
it made a mistake in the sense that it added it to all files that use
a template. (copied files use template internally).

This pull request allows users to create a file using a template without "
(copy)" being added.
2023-08-20 13:45:19 +08:00
yflory 4135189bb3 Merge branch 'soon' into 5.4-rc 2023-07-18 11:47:43 +02:00
yflory 09bce8d852 Merge branch 'staging' into 5.4-rc 2023-07-13 14:13:34 +02:00
yflory c10fc37645 Merge branch 'totp-ui' into 5.4-rc 2023-07-11 10:30:36 +02:00
Ahmed Mazen 4b3cd9484c add "(copy)" to implicitily titled documents
Normally, documents that are created get a title similar to this: "Sheet
- Mon, July 10, 2023". This commit adds " (copy)" to those documents
when copied.
2023-07-10 18:01:54 +08:00
Ahmed Mazen ce577e1a07 make `npm run lint` happy 2023-07-10 17:47:20 +08:00
wginolas 66c4c33916
Merge pull request #1067 from lemondevxyz/fix-issue-1061
add a "make a copy" element to onlyoffice applications
2023-07-06 08:23:11 +02:00
Ahmed Mazen 78957817e2 add " (copy)" to copied OpenOffice files
Normally, copied CryptPad files have a " (copy)" suffixed to them but OnlyOffice doesn't because it has different internal architechture.

Copied OnlyOffice files can be identified by two attributes: a non-empty title and template data.

Since OnlyOffice files cannot be just copy and pasted, I resorted to modifying their metadata through metadataMgr in `./common/onlyoffice/inner.js`

Essentially, this commit check if a file is a copied file. If it is, it updates the title. It doesn't actually copy the file but merely modifies the title after it has been copied.
2023-07-01 08:23:02 +08:00
yflory eeed65b4ff Merge branch 'debowerify' into 5.4-rc 2023-06-30 11:33:49 +02:00
Ahmed Mazen b4db2a439c add a "make a copy" element to onlyoffice applications
This commit adds a 'Make A Copy' to all onlyoffice applications
theortically. Though, I only tested sheets since that's all I had in
my toolset.

The toolbar works through adding buttons with 'createButton' in
`./www/common/common-ui-elements.js:569` and there are (thankfully)
premade buttons. That means that buttons like 'Export', 'Make A Copy',
'Import', etc can be created by supplying the type and a boolean
indicating the right side.

But most uses of createButton are through
`./www/common/sframe-common.js:106` which is the same underlying function
of `common-ui-elements.js` but with the first two arguments skipped.

Anyhoo, this was long. Basically, all this commit does is add two lines at
`./www/common/onlyoffice/inner.js:2853`.
2023-06-29 02:32:40 +08:00
Wolfgang Ginolas a517f1010e Disable protect tab in sheets
https://github.com/cryptpad/cryptpad/issues/1053
2023-06-15 11:50:48 +02:00
yflory 614fa4a08e Merge branch 'staging' into debowerify 2023-06-01 10:49:33 +02:00
ansuz 1f0f48b85f simplify blob fetch behind basic auth 2023-05-06 18:59:13 +05:30
yflory 30bb4d61bb Merge branch 'main' into debower 2023-05-02 13:55:40 +02:00
Wolfgang Ginolas e06dc00044 Fix PivotDataLocation.isEqual() 2023-05-02 09:43:52 +02:00
yflory 40c34d1156 Fix forms 'Export to sheet' 2023-04-27 15:02:26 +02:00
Wolfgang Ginolas 4b26460090 Add null check when calling GetOFormDocument 2023-04-26 18:41:10 +02:00
Wolfgang Ginolas 62f5fd6327 Downgrade OnlyOffice to 7.1.0 2023-04-26 16:31:15 +02:00
Wolfgang Ginolas b148b1f729 Disable external links in sheets 2023-04-26 11:28:31 +02:00
Wolfgang Ginolas 69ea3d8c05 Even iOS Safari is using the standard page now (not mobile) 2023-04-21 13:30:37 +02:00
Wolfgang Ginolas 6fa99f8c24 Add logging before calling require 2023-04-20 11:36:50 +02:00