Commit Graph

2600 Commits

Author SHA1 Message Date
Paul Fitzpatrick
e296e168e8 (core) updates from grist-core 2024-06-12 10:13:56 -04:00
Jarosław Sadziński
98176132b0 (core) Renaming installationId metadata for checkUpdateAPI telemetry endpoint.
Summary:
CheckUpdateAPI is now storing client's installation id in a new field called 'deploymentId'.
Previously it was using installationId which is reserved (and overriden) by the home server.

Test Plan: Existing and manual

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4268
2024-06-12 16:01:45 +02:00
Paul Fitzpatrick
856dbef3df
make the example key on admin panel without auth work when insecure (#1024)
The example key shown on the admin panel to users who are not known to be
administrators is generated using a method that is only available in secure
environments. This adds a fallback for insecure environments. The key is less
solid but again, it is just an example, and for an insecure environment.

Tested manually running locally and using a hostname set in /etc/hosts.
2024-06-12 09:34:31 -04:00
Jordi Gutiérrez Hermoso
e6e09e8645 v1.1.15 2024-06-11 23:00:25 -04:00
Roman Holinec
414e0c5e69
Translated using Weblate (Slovak)
Currently translated at 13.7% (184 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-06-11 16:09:26 +02:00
Paul Fitzpatrick
f071d91a0a (core) updates from grist-core 2024-06-11 09:18:23 -04:00
Dmitry S
f280de6aef (core) Fix for flaky GridViewNewColumnMenu test which may have been flaky because of window resizing.
Test Plan: Only a test change

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4267
2024-06-11 08:43:43 -04:00
Spoffy
e00c7f7d2b
Fixes flaky ViewLayoutCollapse test (#1027)
This fixes the flaky test in "ViewLayoutCollapse.ts": "fix: should not dispose the instance when drag is cancelled".

The 'mouseenter' event wasn't consistently triggering properly on the drop target (LayoutEditor.ts - line 342) when the mouse was moved onto it.

The change simulates a "drag" over the drop target, moving the mouse into multiple positions over it, seemingly fixing the problem.
2024-06-10 21:39:57 +01:00
Spoffy
caa1acdd0d
Attempts to make DropdownConditionEditor tests less flaky (#1026)
Attempts to fix "DropdownConditionEditor in choice columns creates
dropdown conditions", and adds comments to inform future investigators.
2024-06-07 20:07:25 +01:00
Jordi Gutiérrez Hermoso
c3e23ca81e admin: fix warning in websocket probe
This is a small thing, but when visiting the admin, the websocket test
doesn't send valid JSON, which the receiving endpoint expects. This
results in a harmless exception being thrown.

While this test should eventually be modified to be run from the
frontend, for now let's just make a small fix and send valid JSON in
order to avoid that JSON parsing exception.
2024-06-06 18:25:27 -04:00
fflorent
a304b22623 Dockerfile: use tini to reap zombie processes 2024-06-05 16:50:36 -04:00
Paul Fitzpatrick
4358ff8ead
include pyodide in the docker image (#1019)
Grist has for some time supported a sandbox based on pyodide.
It is a bit slower to start than the gvisor-based sandbox, but
can run in situations where it can't. Until now it hasn't been
easy to use when running Grist as a container, since the support
files weren't included. This change rectifies that omission.

Nothing changes by default. But now if you start Grist as a container
and set `GRIST_SANDBOX_FLAVOR=pyodide`, it should work rather than
fail.
2024-06-05 14:29:44 -04:00
George Gevoian
b555bf5d8d
Add user id middleware to form pages (#1020) 2024-06-05 09:18:02 -07:00
gallegonovato
f8a8684fe8
Translated using Weblate (Spanish)
Currently translated at 100.0% (1334 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2024-06-05 13:09:18 +02:00
Paul Janzen
ebdaadcb9c
Translated using Weblate (Spanish)
Currently translated at 100.0% (1334 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2024-06-05 13:09:17 +02:00
George Gevoian
72066bf0e4 (core) Support user variable in dropdown conditions
Summary:
Dropdown conditions can now reference a `user` variable, similar to the
one available in Access Rules.

Test Plan: Browser test.

Reviewers: jarek, paulfitz

Reviewed By: jarek, paulfitz

Differential Revision: https://phab.getgrist.com/D4255
2024-06-04 06:56:55 -07:00
Florentina Petcu
7f88d11a25
Translated using Weblate (Romanian)
Currently translated at 80.2% (1071 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ro/
2024-06-04 12:09:15 +02:00
Владимир В
b03a0d1639
Translated using Weblate (Russian)
Currently translated at 99.6% (1329 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2024-06-04 12:09:15 +02:00
Paul Janzen
88e6a3e202
Translated using Weblate (German)
Currently translated at 100.0% (1334 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2024-06-04 12:09:15 +02:00
Paul Janzen
53238b3e7b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1334 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2024-06-04 12:09:15 +02:00
Paul Fitzpatrick
50077540e2 (core) updates from grist-core 2024-06-03 12:31:22 -04:00
Leslie H
9c90da7398
Bump minio to v8.0.0 (#991) 2024-06-03 15:20:10 +00:00
Roman Holinec
c27512fee7
Translated using Weblate (Slovak)
Currently translated at 12.4% (166 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-06-02 19:09:26 +00:00
Franček Prijatelj
7265735b37
Translated using Weblate (Slovenian)
Currently translated at 100.0% (1334 of 1334 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-06-02 19:09:25 +00:00
Florentina Petcu
940cff3d7a
Translated using Weblate (Romanian)
Currently translated at 79.8% (1065 of 1333 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ro/
2024-06-01 10:09:27 +02:00
Franček Prijatelj
6e3c6d8a43
Translated using Weblate (Slovenian)
Currently translated at 100.0% (1333 of 1333 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-06-01 10:09:26 +02:00
gallegonovato
849022415b
Translated using Weblate (Spanish)
Currently translated at 97.5% (1301 of 1333 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2024-06-01 10:09:26 +02:00
Camille L
f00b4105e3
Translated using Weblate (French)
Currently translated at 98.7% (1316 of 1333 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-06-01 10:09:25 +02:00
github-actions[bot]
d6ff2ec60b
automated update to translation keys (#987)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-05-31 09:32:46 -04:00
Roman Holinec
992863b181
Translated using Weblate (Slovak)
Currently translated at 7.2% (94 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-05-31 03:40:05 +02:00
Spoffy
587d187453
Removes spacing from admin page auth translation key (#1001)
Updates the authentication message on the admin page, removing newlines and tabs. 

This cleans up the formatting of the resulting translation key (in `en.client.json`). 

Context: https://github.com/gristlabs/grist-core/pull/987#discussion_r1603799796
2024-05-30 15:32:32 +01:00
CamilleLegeron
5956c20c29
feat: add new translations (#1004) 2024-05-29 11:02:00 -07:00
Camille L
6cfcffc561
Translated using Weblate (French)
Currently translated at 98.8% (1282 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-05-29 18:09:21 +02:00
George Gevoian
c469a68d6e (core) Removing virtual tables when they are not needed
Summary:
Clearing virtual tables after user navigates away from the pages
that show them. Leaving them behind will reveal them on the Raw
Data page, with a buggy experience as user can't view the data
there.

Test Plan: Extended tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: jarek, georgegevoian

Differential Revision: https://phab.getgrist.com/D4258
2024-05-29 08:46:49 -07:00
Paul Fitzpatrick
06acc47cdb (core) updates from grist-core 2024-05-28 11:43:45 -04:00
Roman Holinec
418acb08a5
Translated using Weblate (Slovak)
Currently translated at 5.7% (74 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-05-27 19:09:20 +00:00
Florentina Petcu
de582516de
Translated using Weblate (Romanian)
Currently translated at 81.4% (1056 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ro/
2024-05-27 19:09:19 +00:00
Camille L
135c975971
Translated using Weblate (French)
Currently translated at 97.9% (1270 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-05-27 19:09:18 +00:00
Roman Holinec
eb76ec53c4
Added translation using Weblate (Slovak) 2024-05-26 20:12:53 +02:00
Marin Ivanov
549240e6fd
Translated using Weblate (Bulgarian)
Currently translated at 99.1% (1286 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-26 00:09:24 +02:00
Jarosław Sadziński
0262ad7a47 (core) Fix for ACL page for temporary documents.
Summary:
When the ACL page was visited by an anonymous user (for a temporary doc), it
tried to load the "View as" list, which failed. Apart from example users, it was
also trying to load all users the document is shared with by checking the home db.
However, since the document is not persisted, it failed.

Test Plan: Added new test

Reviewers: Spoffy

Reviewed By: Spoffy

Subscribers: Spoffy

Differential Revision: https://phab.getgrist.com/D4257
2024-05-24 15:14:00 +02:00
George Gevoian
15590950e6 (core) Fix and move filter tests to grist-core
Summary:
A few tests that hadn't been ported to grist-core yet began failing after
a change in behavior with the column filter menu.

Test Plan: Existing tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4260
2024-05-24 00:36:18 -07:00
Spoffy
e56b416c7a
Moves core create object and core getLoginSystem to server/lib (#994)
This enables code in ext/ to be able to access it (e.g for proxying / interception).

Additionally adds getCreate() to enable future refactoring of `const create` away from being a global singleton constant.
2024-05-23 23:07:46 +01:00
Paul Fitzpatrick
5dc4706dc7
reconcile boot and admin pages further (#963)
This adds some remaining parts of the boot page to the admin panel, and then removes the boot page.
2024-05-23 16:40:31 -04:00
Franček Prijatelj
1690b77d81
Translated using Weblate (Slovenian)
Currently translated at 100.0% (1297 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-05-23 20:09:16 +00:00
Paul Fitzpatrick
76a43129f1 (core) updates from grist-core 2024-05-23 13:27:59 -04:00
George Gevoian
31722de2eb (core) Fix drag selection bug in add row
Summary:
Relaxes selection restrictions on the add row, which was causing a
bug where the row above the add row was also being selected
whenever drag selection was started from the add row.

Test Plan: Browser test.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4253
2024-05-22 14:11:17 -07:00
Jarosław Sadziński
a6ffa6096a (core) Adding UI for timing API
Summary:
Adding new buttons to control the `timing` API and a way to view the results
using virtual table features.

Test Plan: Added new

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4252
2024-05-22 14:56:53 +02:00
Marin Ivanov
53cfc6148d
Translated using Weblate (Bulgarian)
Currently translated at 99.1% (1286 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-22 11:02:03 +02:00
Paul Janzen
45b5126275
Translated using Weblate (German)
Currently translated at 100.0% (1297 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2024-05-22 11:02:02 +02:00