Commit Graph

2436 Commits

Author SHA1 Message Date
CamilleLegeron
6443c9f914
feat: add translation of vue types when added (#946) 2024-05-17 11:55:24 -07:00
Marin Ivanov
418ae03475
Translated using Weblate (Bulgarian)
Currently translated at 59.9% (773 of 1290 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-17 10:11:24 +02:00
Marin Ivanov
8471e8f746
Translated using Weblate (Bulgarian)
Currently translated at 49.1% (634 of 1290 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-17 06:02:04 +02:00
Paul Janzen
a69a1fa843
Translated using Weblate (German)
Currently translated at 100.0% (1290 of 1290 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2024-05-17 06:02:03 +02:00
Paul Janzen
a91d4dcdd3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1290 of 1290 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2024-05-17 06:02:02 +02:00
Spoffy
b4acb157f8
Displays the current authentication mechanism in the admin panel (#981)
* Adds authentication mechanism to admin panel

Adds field to the "Security settings" admin display, showing the
currently configured authentication mechanism.

* Adds 14px margin to admin panel names
2024-05-16 18:09:38 +01:00
Grégoire Cutzach
d8f4e075fe
feat: ADD Terms of service link (#985)
Adds an optional terms of service link for sites that need it.

---------

Co-authored-by: Jonathan Perret <j-github@jonathanperret.net>
2024-05-16 11:31:37 -04:00
Grégoire Cutzach
bb249ff462
fix: cancel when escape (#986) 2024-05-16 17:15:14 +02:00
Marin Ivanov
1d55b5bcce
Added translation using Weblate (Bulgarian) 2024-05-16 09:44:00 +02:00
Владимир В
2beba65726
Translated using Weblate (Russian)
Currently translated at 99.6% (1252 of 1257 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2024-05-15 23:02:31 +00:00
Camille L
f4f6c38701
Translated using Weblate (French)
Currently translated at 99.3% (1249 of 1257 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-05-15 23:02:30 +00:00
Jordi Gutiérrez Hermoso
c74530bf0f v1.1.14 2024-05-14 16:09:05 -04:00
github-actions[bot]
6d9df7de7e
automated update to translation keys (#974)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-05-14 14:24:30 -04:00
Florent
5e3cd94177
Introduce APP_HOME_INTERNAL_URL and fix duplicate docs (#915)
Context:

On self-hosted instances, some places in the code rely on the fact that we resolves public domains while being behind reverse proxies. This leads to cases where features are not available, such as the "Duplicate document" one.

Bugs that are solved - n self-hosted instances:

Impossible to open templates and tutorials right after having converted them;
Impossible to submit forms since version 1.1.13;
Impossible to restore a previous version of a document (snapshot);
Impossible to copy a document;

Solution:

Introduce the APP_HOME_INTERNAL_URL env variable, which is quite the same as APP_DOC_INTERNAL_URL except that it may point to any home worker;
Make /api/worker/:assignmentId([^/]+)/?* return not only the doc worker public url but also the internal one, and adapt the call points like fetchDocs;
Ensure that the home and doc worker internal urls are trusted by trustOrigin;

---------

Co-authored-by: jordigh <jordigh@octave.org>
2024-05-14 12:58:41 -04:00
Paul Fitzpatrick
85f1040439 (core) updates from grist-core 2024-05-13 09:06:59 -04:00
Jarosław Sadziński
00c8343e8a (core) Updating UI for Document Settings
Summary: Updating UI for Document Settings, by reusing components from Admin panel

Test Plan: Existing

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4250
2024-05-13 08:54:04 +02:00
Spoffy
1e63c28a2a
Adds multiple missing translations (#972)
Adds several missing translations, mostly in Forms and the onboarding modals.
2024-05-10 14:31:54 +01:00
Dmitry S
3fc221f3e2 (core) Fix bug with column renames when using **kwargs with lookupOne or lookupRecords.
Summary:
Presence of **kwargs syntax led to a Python error when handling column renames.
This change fixes it by ignoring **kwargs in lookup methods.

Test Plan: Added a test case

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4247
2024-05-09 09:37:10 -04:00
George Gevoian
5c35501654 (core) Upgrade browser testing dependencies
Summary: Upgrades mocha-webdriver to 0.3.3 and updates any affected tests.

Test Plan: Existing tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: dsagal, paulfitz

Differential Revision: https://phab.getgrist.com/D4246
2024-05-08 19:39:28 -04:00
Paul Fitzpatrick
6299db6872
support $id in dropdown condition (#969)
This adds support for $id in dropdown conditions, using the same
method used for supporting referencedColumn.id, and extends a test
to exercise the variable. Without this, the dropdown editor gives
an error if $id or rec.id is used, stating that the column is invalid.
2024-05-07 17:52:51 -04:00
James Macindoe
9a89901042
(docs) overview.md: explain tableId in data actions (#965) 2024-05-07 17:20:40 -04:00
Paul Fitzpatrick
d5e82a4e88 (core) updates from grist-core 2024-05-07 15:21:43 -04:00
Franček Prijatelj
3334d140be
Translated using Weblate (Slovenian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-05-07 10:07:14 +02:00
Jeffrey Suen
725e3c571b
Translated using Weblate (Chinese (Simplified))
Currently translated at 91.0% (1144 of 1257 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/zh_Hans/
2024-05-07 10:07:13 +02:00
Владимир В
51ec221a19
Translated using Weblate (Russian)
Currently translated at 99.6% (1252 of 1257 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2024-05-04 04:07:09 +02:00
gallegonovato
0c95821475
Translated using Weblate (Spanish)
Currently translated at 100.0% (1257 of 1257 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
Translation: Grist/client
2024-05-02 22:07:17 +02:00
Paul Janzen
4003a49eaf
Translated using Weblate (German)
Currently translated at 100.0% (1257 of 1257 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1257 of 1257 strings)

Co-authored-by: Paul Janzen <pj@paulgjanzen.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
Translation: Grist/client
2024-05-02 22:07:15 +02:00
George Gevoian
6337eeb54f (core) Fix flaky tests
Summary:
The Ace autocomplete sometimes doesn't appear if keys are entered too quickly.

A larger fixture document (World) used in the Importer2 tests sometimes takes longer than 5 seconds to import.

Test Plan: N/A

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4245
2024-05-02 13:46:33 -04:00
Franček Prijatelj
24b39c651b
Translated using Weblate (Slovenian)
Currently translated at 99.0% (1226 of 1238 strings)

Co-authored-by: Franček Prijatelj <prijatelj.francek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
Translation: Grist/client
2024-05-01 21:07:13 +02:00
Владимир В
2814bdbce3
Translated using Weblate (Russian)
Currently translated at 99.5% (1233 of 1238 strings)

Co-authored-by: Владимир В <vakukh@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
Translation: Grist/client
2024-05-01 21:07:13 +02:00
gallegonovato
bc03800a8b
Translated using Weblate (Spanish)
Currently translated at 100.0% (1238 of 1238 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
Translation: Grist/client
2024-05-01 21:07:13 +02:00
Paul Janzen
86e2708dd3
Translated using Weblate (German)
Currently translated at 100.0% (1238 of 1238 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.6% (1221 of 1238 strings)

Co-authored-by: Paul Janzen <pj@paulgjanzen.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
Translation: Grist/client
2024-05-01 21:07:13 +02:00
George Gevoian
3aeff3c547 (core) Downgrade typeorm to 0.3.17
Summary:
SaaS bundling still uses browserify, which can't handle bundling typeorm
0.3.18 and beyond.

Also fixes an unrelated, flaky Notification test.

Test Plan: Existing tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4243
2024-04-30 16:13:33 -04:00
github-actions[bot]
b8315a83d6
automated update to translation keys (#959)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-04-30 15:22:44 -04:00
Franček Prijatelj
6df2cd713c
Translated using Weblate (Slovenian)
Currently translated at 96.8% (1185 of 1223 strings)

Co-authored-by: Franček Prijatelj <prijatelj.francek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
Translation: Grist/client
2024-04-30 20:08:01 +02:00
Paul Janzen
5b946751f2
Translated using Weblate (German)
Currently translated at 100.0% (1223 of 1223 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 97.7% (1195 of 1223 strings)

Co-authored-by: Paul Janzen <pj@paulgjanzen.com>
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
Translation: Grist/client
2024-04-30 20:08:01 +02:00
Bertille Mazari
02c8b4d798
Translated using Weblate (French)
Currently translated at 99.7% (1220 of 1223 strings)

Co-authored-by: Bertille Mazari <bertille@opensourcepolitics.eu>
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
Translation: Grist/client
2024-04-30 20:08:00 +02:00
George Gevoian
50af681f47 (core) Use correct empty value in ChoiceEditor.getCellValue
Summary:
The default value of Choice columns is empty string, but ChoiceEditor was
saving nulls whenever a blank value was saved. This was causing unexpected
updates to trigger values due to the cell value changing internally, even
though null and empty string appear the same in the UI.

Test Plan: Browser test.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4242
2024-04-30 11:24:36 -04:00
Paul Fitzpatrick
b9808944d7
tweak admin test to also work under grist-core settings (#960) 2024-04-29 21:57:02 -04:00
Paul Fitzpatrick
87c0c5153d (core) updates from grist-core 2024-04-29 20:52:59 -04:00
Paul Fitzpatrick
d431c1eb63 (core) add a sandbox check to admin panel, and start reconciling boot and admin pages
Summary:
This adds a basic sandbox check to the admin panel. It also makes
the "probes" used in the boot page available from the admin panel,
though they are not yet displayed. The sandbox check is built as
a probe.

In the interests of time, a lot of steps had to be deferred:
 * Reconcile fully the admin panel and boot page. Specifically, the
   admin panel should be equally robust to common configuration problems.
 * Add tests for the sandbox check.
 * Generalize to multi-server setups. The read-out will not yet be useful
   for setups where doc workers and home servers are configured
   separately.

Test Plan: Added new test

Reviewers: jarek, georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4241
2024-04-29 20:52:39 -04:00
Jordi Gutiérrez Hermoso
61cb80d4e3 (core) Security updates for package.json following version bump update from grist-core
Summary: Fix the build and tests following version bump from [#921](https://github.com/gristlabs/grist-core/pull/921) from grist-core

Test Plan: Existing tests pass

Reviewers: georgegevoian, jordigh

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4239
2024-04-29 18:50:56 -04:00
Jarosław Sadziński
ecf242c6c6 (core) Adding latest version section to the admin panel.
Summary:
Update for the admin page to show the latest available version information.
- Latest version is read from docs.getgrist.com by default
- It sends basic information (installationId, deployment type, and version)
- Checks are done only on the page itself
- The actual request is routed through the API (to avoid CORS)

Test Plan: Added new test

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4238
2024-04-29 21:59:36 +02:00
github-actions[bot]
b87ade6149
automated update to translation keys (#957)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-04-29 15:58:34 -04:00
Paul Fitzpatrick
a3442aee77 (core) updates from grist-core 2024-04-29 15:01:40 -04:00
fflorent
b04304342d Strict version in package.json 2024-04-29 14:54:36 -04:00
fflorent
71b282669d Fix moment version (so the parseDate pass) 2024-04-29 14:54:36 -04:00
fflorent
144f09ca36 Attempt yarn-audit-fix 2024-04-29 14:54:36 -04:00
fflorent
54a8f63f28 Fix yarn.lock 2024-04-29 14:54:36 -04:00
fflorent
9bacfc8287 Use chokidar to bundle css files 2024-04-29 14:54:36 -04:00