Commit graph

14321 commits

Author SHA1 Message Date
yflory
c10fc37645 Merge branch 'totp-ui' into 5.4-rc 2023-07-11 10:30:36 +02:00
Mathilde Grünig
775b63db1a use 5.4.0 tag for images 2023-07-11 10:09:06 +02:00
Mathilde Grünig
b5983b9fe7 remove Bower support & use NPM 2023-07-11 10:05:14 +02:00
Mathilde Grünig
3d4afedd44 fix little conflict 2023-07-11 09:38:19 +02:00
wginolas
3fca0bac53
Merge pull request #1075 from lemondevxyz/fix-issue-1073
add " (copy)" to copied OpenOffice files
2023-07-11 08:34:52 +02:00
wginolas
860a5b22b5
Merge pull request #1068 from lemondevxyz/fix-issue-1054
fix issue #1054 by converting png to ico and linking them
2023-07-11 08:22:01 +02:00
yflory
99346f323d Apply integrity checks to notifications history 2023-07-10 17:38:39 +02:00
wginolas
d1da41d112
Merge pull request #1028 from ansuz/visibly-droppable-drive-tree
provide visual feedback that a dragged item can be dropped
2023-07-10 14:58:02 +02:00
Ahmed Mazen
c85b58e188 remove unnecessary logs & make npm run lint silent 2023-07-10 20:39:26 +08:00
daria
78ad809200 better UX for 2fa enabled/disabled message 2023-07-10 13:20:52 +03: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
daria
085b848cee Disable TOTP buttons' color changed from red to blue 2023-07-10 11:42:28 +03:00
daria
5ab0bf6ffb Forgot recovery code typo fixed 2023-07-10 10:37:40 +03:00
Mathilde Grünig
aee32e0e78 add the possibility to run without TLS for testing locally 2023-07-07 11:52:32 +02:00
Mathilde Grünig
8ce3891c0b have domain examples matching the administrator guide 2023-07-07 11:51:56 +02:00
Mathilde Grünig
b72c76fe88 remove uneeded and duplicated entries 2023-07-07 11:32:39 +02:00
Mathilde Grünig
0a9f01ad7f update comment for better explanations 2023-07-07 11:21:35 +02:00
Mathilde Grünig
712a01af80 update Docker section in readme.md 2023-07-07 09:21:21 +02:00
Ahmed Mazen
6ea5e7df8a add even space between category buttons 2023-07-07 13:53:25 +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
08c3bc3a75 add vertical padding to card container
This commit adds some padding to the cards container in Kanban for better
mobile user experience.
2023-07-03 09:19:29 +08:00
Ahmed Mazen
4e32a9ac06 add favicons statically in each application
The last commit added `.ico` versions of the `png` favicons. This commit
adds each favicon statically to each application's `index.html` file.

By statically, I mean it is not inserted through Javascript and instead
is present in the file already.

This fixes favicons not displaying on Firefox.
2023-07-03 08:46:12 +08: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
Ahmed Mazen
1406fd5ad7 Revert "add " (copy)" to title of copied file"
This reverts commit 45a4c8f39d.
2023-07-01 04:01:46 +08:00
daria
2da29b475a some UI settings page fixes
recovery page UI fixed
2023-06-30 20:03:20 +03:00
yflory
89e08b08bf Fix rich text loss of data #1074 2023-06-30 13:09:31 +02:00
yflory
b2788744de Merge branch 'drawio-bower' into 5.4-rc 2023-06-30 12:45:54 +02:00
yflory
373b216dbb Update CryptPad version 2023-06-30 11:37:33 +02:00
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
Wolfgang Ginolas
7cfa1aeee4 Add TODO to CHANGELOG.md needed for diagrams 2023-06-29 11:34:28 +02:00
Wolfgang Ginolas
00af2c3efb Update example nginx config for diagram 2023-06-29 11:22:41 +02:00
Wolfgang Ginolas
6f76972c47 Upgrade drawio to 21.5.2
https://github.com/jgraph/drawio/issues/3691
2023-06-29 10:23:49 +02: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
8594dee2d7 Update favicon SVG #1066 2023-06-28 20:02:43 +01: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
David Benque
aefce4666e Add Diagram opengraph preview image #1066
⚠️ the title "Encrypted Diagram" is not generated correctly
try again once the type.diagram translation string is set
2023-06-28 17:24:30 +01:00
David Benque
0f1f747934 Remove XXX
treat colors as final, close #1059
2023-06-28 17:21:51 +01:00
Wolfgang Ginolas
a80e749132 Disable diagram plugins 2023-06-27 10:13:32 +02:00
Wolfgang Ginolas
a87d01c793 Fix typo 2023-06-26 15:48:23 +02:00
Wolfgang Ginolas
42496995e7 Add temporary translation for "Diagram" 2023-06-26 15:41:40 +02:00
Wolfgang Ginolas
e6f1ac25bf Replace whiteboard with diagram on home page 2023-06-26 11:35:11 +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
yflory
da5626cbae TOTP: Use session token instead of JWT to prepare for SSO 2023-06-23 18:35:18 +02:00
Mathilde Grünig
db975b8fde remove useless variable for admin email 2023-06-23 15:06:46 +02:00
Mathilde Grünig
7218a2c96a make docker-compose work with entrypoint script 2023-06-23 14:32:27 +02:00
Mathilde Grünig
0cb2f42b33 make entrypoint script working with Debian, remove outdated parts 2023-06-23 14:32:01 +02:00