1213 Commits

Author SHA1 Message Date
Herb Caudill
48264d1be0
Room dialog: Change 'Name' to 'Your name' (#1562)
* Change label 'Name' to 'Your name'

* add yourName as duplicate of Name in all locales
2020-05-09 16:27:42 +03:00
Aakansha Doshi
5b80ad045b
show reset icon with zoom percentage during zen mode (#1540) 2020-05-09 14:47:22 +02:00
Daishi Kato
3b1d6910aa
fix resizing: dynamic pointer offset for better UX (#1560) 2020-05-09 10:57:00 +02:00
David Luzar
8c8458ceb0
fix incorrect font rendered on late load (#1555) 2020-05-08 10:42:51 +02:00
Pete Hunt
4696c9ee0e
Syncing optimizations (#1554)
* Syncing optimizations

* Add comment
2020-05-07 14:13:18 -07:00
Justin Greenberg
e27f3f9ad2
fix(data): removes unnecessary await (#1549) 2020-05-06 21:18:49 +02:00
Lipis
028f9b4b88
New Crowdin translations (#1508) 2020-05-05 17:56:29 +03:00
dependabot-preview[bot]
452890204a
Bump lint-staged from 10.1.7 to 10.2.2 (#1545)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.7 to 10.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.7...v10.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 17:31:29 +03:00
dependabot-preview[bot]
c2138cfa41
Bump @types/react-dom from 16.9.6 to 16.9.7 (#1544)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.6 to 16.9.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 17:31:22 +03:00
dependabot-preview[bot]
bf8888bd6d
Bump @testing-library/react from 10.0.3 to 10.0.4 (#1546)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.0.3...v10.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 14:35:29 +03:00
Thomas Steiner
c4e9a3c480
Renew origin trial token (#1547) 2020-05-05 11:37:15 +02:00
Daishi Kato
73d8c5b7c1
fix resizing lines with abs coords bigger than element w/h (#1427) 2020-05-04 17:25:40 +02:00
Ion Rosgrim
686af31d9d
on rtl languages the language dropdown is not visible (#1526) 2020-05-03 10:23:04 +02:00
Esteban
7522c48453
Make tools shortcuts case insensitive (#1532) (#1533) 2020-05-02 19:55:59 -07:00
Ion Rosgrim
dd7aa29297
#1529 Rtl ui broken in zen mode (#1530) 2020-05-03 03:30:58 +03:00
David Luzar
4aa1784ba3
fix horizontal scroll via shift+wheel on mac (#1528) 2020-05-02 13:15:28 -07:00
Luc
32e56aba3e
Update ZEIT Now -> Vercel (#1525) 2020-05-02 17:01:41 +03:00
David Luzar
b7a37c157b
scroll horizontally on shift-scroll (#1519) 2020-04-30 13:34:38 -07:00
David Luzar
51f8146357
disable pointer events on hidden menus in zen mode (#1511) 2020-04-29 22:49:36 +02:00
Aakansha Doshi
0c2aa951d6
refactor toolbutton.tsx - add default props (#1492) 2020-04-29 17:13:29 +02:00
Niko Heikkilä
4369d88898
feat: add option for self-hosting via Docker (#1503) 2020-04-28 22:53:07 -07:00
Kent Beck
dd1dfc5950
One more socket listener moved to Portal (#1507)
* room-user-change listener moved to Portal

* Eliminate useless checks

* Update src/components/App.tsx

Co-Authored-By: Lipis <lipiridis@gmail.com>

Co-authored-by: Lipis <lipiridis@gmail.com>
2020-04-28 09:49:00 -07:00
Lipis
77f76a263b
New Crowdin translations (#1494)
* New translations en.json (German)

* New translations en.json (Finnish)

* New translations en.json (Indonesian)

* New translations en.json (Hebrew)

* New translations en.json (Japanese)
2020-04-28 11:31:58 -04:00
dependabot-preview[bot]
3e929069d1
Bump @sentry/browser from 5.15.4 to 5.15.5 (#1497)
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.15.4 to 5.15.5.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.15.4...5.15.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 16:52:17 +03:00
dependabot-preview[bot]
a638e70c7a
Bump @testing-library/react from 10.0.2 to 10.0.3 (#1498)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 16:52:08 +03:00
dependabot-preview[bot]
28df199a78
Bump roughjs from 4.2.1 to 4.2.3 (#1500)
Bumps [roughjs](https://github.com/pshihn/rough) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/pshihn/rough/releases)
- [Changelog](https://github.com/pshihn/rough/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pshihn/rough/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 16:51:58 +03:00
dependabot-preview[bot]
2d52e35aca
Bump lint-staged from 10.1.6 to 10.1.7 (#1501) 2020-04-28 11:30:58 +03:00
dependabot-preview[bot]
a31d2f1337
Bump @sentry/integrations from 5.15.4 to 5.15.5 (#1502) 2020-04-28 11:30:44 +03:00
Kent Beck
0baabff41b
Begin moving socket listeners to Portal (#1504) 2020-04-27 10:56:08 -07:00
dependabot-preview[bot]
c5d412f20a
Bump eslint-config-prettier from 6.10.1 to 6.11.0 (#1496)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.10.1...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 12:26:38 +03:00
dependabot-preview[bot]
23f67c55d1
Bump node-sass from 4.13.1 to 4.14.0 (#1499)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 12:26:19 +03:00
dependabot-preview[bot]
5389399421
Bump prettier from 2.0.4 to 2.0.5 (#1495)
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 12:25:57 +03:00
Daishi Kato
da1031aeb4
Fix resize logic (partly) (#1475) 2020-04-27 10:30:19 +02:00
Lipis
4824f9e1d4
New Crowdin translations (#1491) 2020-04-27 11:22:14 +03:00
Lipis
5855fcf946
New Crowdin translations (#1490)
* New translations en.json (French)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)
2020-04-26 09:34:18 -04:00
Lipis
9cd2b78d79
New Crowdin translations (#1471)
* New translations en.json (Norwegian)

* New translations en.json (French)

* New translations en.json (Dutch)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Russian)

* New translations en.json (Portuguese)

* New translations en.json (Polish)

* New translations en.json (Norwegian)

* New translations en.json (Korean)

* New translations en.json (Spanish)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Dutch)

* New translations en.json (Portuguese)

* New translations en.json (Polish)

* New translations en.json (Norwegian)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Finnish)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (German)

* New translations en.json (French)

* New translations en.json (Dutch)

* New translations en.json (Indonesian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Russian)

* New translations en.json (Portuguese)

* New translations en.json (Polish)

* New translations en.json (Norwegian)

* New translations en.json (Korean)

* New translations en.json (Spanish)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Greek)

* New translations en.json (Norwegian)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* Add Hebrew to dropdown

Co-authored-by: Jed Fox <git@twopointzero.us>
2020-04-26 08:24:39 -04:00
Faustino Kialungila
582d26e858
fix tool icon button on mobile (#1489) 2020-04-26 11:45:35 +02:00
David Luzar
2c5c770e78
rewrite picker color handling (#1487) 2020-04-25 23:06:16 +02:00
David Luzar
a4b49ea350
ignore fileOpen error when user cancels (#1486) 2020-04-25 09:02:31 -07:00
Aakansha Doshi
1866074c07
Add Zen mode for distraction free drawing (#1450) 2020-04-25 15:13:02 +02:00
Warren Seine
71e7f130bc
Generalize color normalization (#1479) (#1483)
Following #1478, a bug was found related to transparent backgrounds. As Excalidraw only supports `transparent` as a valid transparent color, this commits generalizes the use of canvas to normalize color values.

It changes a few details:
- `rgba()` or `hsla()` syntaxes are not accepted anymore
- pasting values goes through the same normalization step, avoiding invalid values
- color validation is not regex-based anymore
- any CSS-valid black color is now accepted (e.g. previously, `rgb(0,0,0)` was rejected)
2020-04-24 11:06:54 -07:00
Lipis
0220341966
Rename .eslintrc to .eslintrc.json (#1481)
So it will be auto formatted on commits
2020-04-23 19:17:47 +02:00
Youssef Meskini
28f4ee5783
extract eslint rules from package.json (#1480) 2020-04-23 09:35:05 -07:00
Warren Seine
fa8354e306
Support different color inputs (#1478) (#1479) 2020-04-23 09:18:28 -07:00
Lipis
fc802c758f
Update shield's tooltip (#1466) 2020-04-22 21:52:14 +03:00
José Quinto
ed6fb60337
resize elements from center point (#1225)
* add hint & support multi-line hints

* resize from center point using the new resize maths

* resize with origin element when lifting alt key

* add readonly to elementOriginPosition

* add setResizeWithCenterKeyLifted

* isResizeFromCenter logic

* offsetX and offsetY

* simplify equations

* creating element from center point

* lint

* lint

* lint

* remove revert on key up logic

Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: daishi <daishi@axlight.com>
2020-04-22 17:57:17 +02:00
Daishi Kato
8c49770e3b
Better resize cursors on rotated elements (#1470)
* better resize cursor on rotated elements

* refactor with Math.round
2020-04-22 15:11:01 +02:00
Jed Fox
d7729d295a
RTL for the security badge, add an arrow to the tooltip (#1469)
* FIx RTL on the encryption shield

* Add an arrow to the tooltip
2020-04-21 14:50:08 -07:00
Lipis
d1086f3624
New Crowdin translations (#1452) 2020-04-21 17:42:59 +03:00
Preet
9ac79061fa
Bump roughjs and resolve breaking change in roughjs refactoring… (#1463)
* Fix for roughjs refactoring curve-estinmation code into a separate package

* Update jest transformIgnorePatterns
2020-04-20 19:43:06 +02:00