Commit graph

10299 commits

Author SHA1 Message Date
yflory
eeed65b4ff Merge branch 'debowerify' into 5.4-rc 2023-06-30 11:33:49 +02:00
Ahmed Mazen
45a4c8f39d add " (copy)" to title of copied file
This commit basically adds " (copy)" to all copies of files.

The "Make a copy" button sends an event to
`./www/common/sframe-common-outer.js` with a ton of variables. Luckily,
the title of the file is available as originalTitle and all I had to do
was simply add `+ " (copy)"` for it to work.
2023-06-30 03:28:21 +08:00
daria
c21c732251 UI settings page fixes/improvements 2023-06-29 15:59:56 +03:00
Ahmed Mazen
6d41d64cb8 create a script to convert images to ico; convert pngs to icos
Basically, all this commit does is create and execute a script
(`./customize.dist/favicon/convert.sh`) that uses ImageMagick to convert
various PNGs to ICOs(the format of favicon). It also adds the favicons
to the HTML document through `./www/common/notify.js`.
2023-06-29 08:32:51 +08:00
David Benque
171add55a6 Add Diagram favicon #1066
Also adjust whiteboard icon to new color
2023-06-28 20:01:50 +01: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
a80e749132 Disable diagram plugins 2023-06-27 10:13:32 +02:00
Wolfgang Ginolas
4e773340ce Diagrams: Pass numbers as numbers to chainpad
https://github.com/cryptpad/cryptpad/issues/1063
2023-06-26 09:17:50 +02:00
Wolfgang Ginolas
5a1738111e Clean up diagram dependencies 2023-06-22 15:49:19 +02:00
Wolfgang Ginolas
cd9fba9002 Fix merge 2023-06-22 15:08:35 +02:00
Wolfgang Ginolas
b9208eecd4 Merge remote-tracking branch 'origin/drawio-bower' into drawio-bower 2023-06-22 15:05:04 +02:00
Wolfgang Ginolas
f7d56eea16 Rename drawio to digram
https://github.com/cryptpad/cryptpad/issues/1062
2023-06-22 14:59:13 +02:00
Wolfgang Ginolas
3f8422d99b Fix drawio CSS 2023-06-22 14:39:06 +02:00
David Benque
4a13b4b70f Add diagram icon to cptools
- WIP version 7.4 of cptools icon font
- assign it to drawio application type
2023-06-22 14:39:06 +02:00
Wolfgang Ginolas
51b51fac74 Add overlay when draw.io is not editable 2023-06-22 14:39:06 +02:00
Wolfgang Ginolas
1fba52f300 Implement file in- and exporter for draw.io #1044 2023-06-22 14:39:06 +02:00
Wolfgang Ginolas
00f5f536a1 Add dark mode to draw.io 2023-06-22 14:39:06 +02:00
Wolfgang Ginolas
bef642160f Hide draw.io "Unsaved changes" message 2023-06-22 14:39:06 +02:00
Wolfgang Ginolas
8ff4bcac99 Add draw.io read only mode 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
39ceaf7294 drawio add missing framework.localChange() 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
17efa04725 Fix bower.json 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
7d42febef3 Store draw.io as JSON in chainpad (instead XML) 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
f870604f78 draw.io code cleanups and ES5 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
541567203c Hide draw.io Save and Exit buttons 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
c73377b8f1 Uncompress drawio XML for better chainpad patches 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
8801418030 Draw.io prototype with unmodified draw.io code 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
f29406315e Run in embed mode when integrated into another tool 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
ad3bcb6cb2 Code cleanups #1034 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
e0daae115e Send changed state to outer application #1034 2023-06-22 14:39:05 +02:00
yflory
5e6b042f28 lint compliance 2023-06-22 14:39:05 +02:00
Wolfgang Ginolas
f28e4cfdb1 Make document.key optional 2023-06-22 14:39:05 +02:00
yflory
af8f7e5865 API: recover from server crash 2023-06-22 14:39:04 +02:00
yflory
01e174f826 API: update demo page 2023-06-22 14:39:04 +02:00
yflory
a4e821e4fa API: add autosave support 2023-06-22 14:39:04 +02:00
Wolfgang Ginolas
ab49addd1d Fix cryptpad-api iframe DOM insertion 2023-06-22 14:39:04 +02:00
yflory
2be39c3749 API: reload content on server restart 2023-06-22 14:39:04 +02:00
yflory
368dd79883 Disable user account in integration mode 2023-06-22 14:39:04 +02:00
yflory
5081d5d3c0 Integration API: initialize an app from a Blob 2023-06-22 14:39:04 +02:00
yflory
8b0d80c0c4 API prototype: rename sessionKey into key 2023-06-22 14:39:04 +02:00
yflory
723ecc8bd6 Integration API prototype 2023-06-22 14:39:04 +02:00
yflory
318202531f TOTP: UI fixes and improvements 2023-06-20 12:52:04 +02:00
Wolfgang Ginolas
e15421d36e Fix drawio CSS 2023-06-16 15:39:06 +02:00
David Benque
e0ee16e2a1 Add diagram icon to cptools
- WIP version 7.4 of cptools icon font
- assign it to drawio application type
2023-06-16 12:26:37 +01: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
9aac9d1c2f TOTP: Use HTTP challenges to write and remove blocks 2023-06-09 15:06:17 +02:00
Wolfgang Ginolas
17bef487f2 Add overlay when draw.io is not editable 2023-06-09 14:38:04 +02:00
yflory
b3a620edc0 lint compliance 2023-06-06 16:09:17 +02:00
yflory
8b97742ef6 TOTP: don't store user hash when using block 2023-06-06 16:07:00 +02:00
yflory
5b703c8db5 TOTP: improve login UI 2023-06-06 12:34:24 +02:00
yflory
614fa4a08e Merge branch 'staging' into debowerify 2023-06-01 10:49:33 +02:00
yflory
d3a8261e67 Merge branch 'soon' into staging 2023-06-01 10:49:21 +02:00
yflory
1cbac8804d Merge branch 'main' into soon 2023-06-01 10:49:09 +02:00
Wolfgang Ginolas
afcc16cb71 Implement file in- and exporter for draw.io #1044 2023-05-31 15:38:35 +02:00
Wolfgang Ginolas
d8a452b6e5 Add dark mode to draw.io 2023-05-31 15:38:35 +02:00
Wolfgang Ginolas
9b7b2af9fe Hide draw.io "Unsaved changes" message 2023-05-31 15:38:35 +02:00
Wolfgang Ginolas
fdc33754b7 Add draw.io read only mode 2023-05-31 15:38:35 +02:00
Wolfgang Ginolas
635cb62688 drawio add missing framework.localChange() 2023-05-31 15:38:34 +02:00
Wolfgang Ginolas
49ecfe0100 Fix bower.json 2023-05-31 15:38:34 +02:00
Wolfgang Ginolas
c4f4495d12 Store draw.io as JSON in chainpad (instead XML) 2023-05-31 15:38:34 +02:00
Wolfgang Ginolas
21076120b5 draw.io code cleanups and ES5 2023-05-31 15:38:34 +02:00
Wolfgang Ginolas
1be8b4ba46 Hide draw.io Save and Exit buttons 2023-05-31 15:38:34 +02:00
Wolfgang Ginolas
ca1df6c6dd Uncompress drawio XML for better chainpad patches 2023-05-31 15:38:33 +02:00
Wolfgang Ginolas
6aff5144fc Draw.io prototype with unmodified draw.io code 2023-05-31 15:38:33 +02:00
Wolfgang Ginolas
870a91d8fe Run in embed mode when integrated into another tool 2023-05-31 15:38:33 +02:00
yflory
a1dd33a022 Make form questions selectable in participant view 2023-05-31 10:57:23 +02:00
Wolfgang Ginolas
cf09678526 Code cleanups #1034 2023-05-30 14:38:55 +02:00
Wolfgang Ginolas
7a93602e45 Send changed state to outer application #1034 2023-05-30 11:12:05 +02:00
Weblate
c6c65f60d6 Translated using Weblate (Japanese)
Currently translated at 99.6% (1580 of 1586 strings)

Co-authored-by: Suguru Hirahara <d4bb0a95-96c1-4662-9d31-a5e520a01a09@hostux.ninja>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/ja/
Translation: CryptPad/App
2023-05-17 12:01:38 +02:00
Weblate
fa0ff8ff0b Translated using Weblate (Indonesian)
Currently translated at 84.6% (1343 of 1586 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/id/
Translation: CryptPad/App
2023-05-17 12:01:38 +02:00
Weblate
8964d374d7 Translated using Weblate (Basque)
Currently translated at 99.9% (1585 of 1586 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@disroot.org>
Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/eu/
Translation: CryptPad/App
2023-05-17 12:01:37 +02:00
yflory
36a1c604d8 Auth: Disable TOTP/MFA from the admin panel 2023-05-16 15:11:43 +02:00
Mathilde Grünig
f5fb24031e replace xwiki-labs by cryptpad 2023-05-16 14:54:39 +02:00
yflory
e0f5b0100d lint compliance 2023-05-16 09:06:59 +02:00
Wolfgang Ginolas
027836debb Make document.key optional 2023-05-16 09:06:59 +02:00
yflory
620dfc4db8 API: recover from server crash 2023-05-16 09:06:59 +02:00
yflory
8e40cdb957 API: update demo page 2023-05-16 09:06:59 +02:00
yflory
592e5690df API: add autosave support 2023-05-16 09:06:59 +02:00
Wolfgang Ginolas
da90cb233d Fix cryptpad-api iframe DOM insertion 2023-05-16 09:06:59 +02:00
yflory
6c58bd449c API: reload content on server restart 2023-05-16 09:06:59 +02:00
yflory
67b1b2860a Disable user account in integration mode 2023-05-16 09:06:58 +02:00
yflory
7d3ce1e358 Integration API: initialize an app from a Blob 2023-05-16 09:06:58 +02:00
yflory
692c268a43 API prototype: rename sessionKey into key 2023-05-16 09:06:58 +02:00
yflory
d534338c92 Integration API prototype 2023-05-16 09:06:50 +02:00
yflory
4b51300174 TOTP: Fix copy to clipboard button in recovery page 2023-05-15 18:11:32 +02:00
yflory
ea25adcf34 TOTP: fix recovery UI 2023-05-15 17:39:11 +02:00
yflory
e893613b43 TOTP: recovery by secret key 2023-05-15 17:33:58 +02:00
yflory
be152fdaae Fix enabling TOTP with sandbox 2023-05-15 12:13:14 +02:00
yflory
d789627920 TOTP setup and revocation in settings 2023-05-12 18:21:19 +02:00
ansuz
880a156efb add basic 2FA setup app 2023-05-11 16:15:59 +05:30
ansuz
adeb7b264a fix type error 2023-05-06 19:46:05 +05:30
ansuz
1f0f48b85f simplify blob fetch behind basic auth 2023-05-06 18:59:13 +05:30
ansuz
866085dd7f better UX around QR codes in the share modal 2023-05-06 18:56:29 +05:30
ansuz
dbe0e782bc lint compliance 2023-05-06 18:55:56 +05:30
ansuz
493bf1346c Merge tag '5.3.0' into 5.3-auth 2023-05-06 15:26:21 +05:30
ansuz
5cd306a18a add client-side support for TOTP-authenticated sessions 2023-05-06 14:39:23 +05:30
David Benque
9ea29857c3 Merge branch 'soon' 2023-05-03 13:35:00 +01:00
Weblate
32e33d2794 Translated using Weblate (Portuguese (Brazil))
Currently translated at 87.3% (1386 of 1586 strings)

Translation: CryptPad/App
Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/pt_BR/
2023-05-03 08:43:55 +02:00
yflory
1bbca31ac0 Fix dependency issues 2023-05-02 17:49:20 +02:00
yflory
2c50fcf8c4 Update Marked and jszip 2023-05-02 14:59:17 +02:00
yflory
30bb4d61bb Merge branch 'main' into debower 2023-05-02 13:55:40 +02:00