Commit Graph

2763 Commits

Author SHA1 Message Date
Grégoire Cutzach
fbc911721e
fix: invalid Document types
fix: url deduction for page reload to apply new document type
2024-10-09 11:37:27 +02:00
Grégoire Cutzach
aa9e42bd47
fix: following fflorent review 2024-10-09 11:37:26 +02:00
Grégoire Cutzach
06e308e8ed
fix: after lsebille review 2024-10-09 11:37:26 +02:00
Grégoire Cutzach
0d3a3b5d19
fix: to small time value for waiting page reload 2024-10-09 11:37:26 +02:00
Grégoire Cutzach
70c5e9532a
tests ADDED 2024-10-09 11:37:26 +02:00
Grégoire Cutzach
a3f91999f4
tests ADDED 2024-10-09 11:37:26 +02:00
Grégoire Cutzach
8f83e44b30
chore: create transaltion keys 2024-10-09 11:37:25 +02:00
Grégoire Cutzach
e720ce54a4
fix: Radio Button 2024-10-09 11:37:25 +02:00
Grégoire Cutzach
adc288b88a
wip: working implementation
todo: tests, notification of success
2024-10-09 11:37:25 +02:00
Grégoire Cutzach
cc8c6003f0
feat: update UX according figma 2024-10-09 11:37:25 +02:00
fflorent
f40bd9d075
first functionnal POC
Co-authored-by: hexaltation <gregoire@cutzach.com>
Co-authored-by: fflorent <florent.git@zeteo.me>
2024-10-09 11:37:20 +02:00
Dmitry Stefanovskiy
e9b5b98bcb
Translated using Weblate (Russian)
Currently translated at 94.5% (1382 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2024-10-09 08:15:47 +02:00
Florent
08d394dcab
Translated using Weblate (French)
Currently translated at 99.5% (1455 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-10-09 08:15:47 +02:00
jarek
62dd5b4df1
Adding en-GB locale to support Monday as a first day of week (#1252)
https://github.com/gristlabs/grist-core/pull/1252
2024-10-08 15:25:23 +02:00
Paul Fitzpatrick
e8f9da9b5c (core) updates from grist-core 2024-10-07 10:12:15 -04:00
xabirequejo
d91e737913
Translated using Weblate (Basque)
Currently translated at 99.7% (1459 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/eu/
2024-10-07 13:15:48 +02:00
Spoffy
a5c9a494df
Fixes an import error when using S3/Minio with no redis (#1224)
## Context

Error is caused due to these steps:
- File is uploaded to Home server and attempts to import
- Import ends up in `claimDocument` in `HostedStorageManager`
- Tries to read doc metadata from DocWorkerMap, gets 'unknown' as md5 hash
- Thinks local doc is out of date and erases it.
- Downloads a non-existent file from S3, so import fails as it has no data.

## Proposed solution

This fixes it by checking for DummyDocWorker's special 'unknown' MD5, forcing an S3 check.

## Related issues

https://community.getgrist.com/t/no-metadata-for-imported-grist-document/6029/32
2024-10-07 05:42:27 +01:00
Franček Prijatelj
2adcc7d69d
Translated using Weblate (Slovenian)
Currently translated at 100.0% (1462 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-10-06 09:18:36 +00:00
Franček Prijatelj
932a04aa63
Translated using Weblate (Slovenian)
Currently translated at 99.1% (1449 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-10-04 11:16:03 +02:00
Tristan Robert
1cf52e1b0a
Fetch Url Widget Repository behind corporate proxy (#1238) (#1239) 2024-10-03 19:15:20 -04:00
Paul Fitzpatrick
6e391afa62 (core) change version of redis used in Jenkins tests
Summary:
This upgrades redis in Jenkins tests to be compatible
with BullMQ.

Test Plan: reactivates skipped tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4362
2024-10-03 17:56:33 -04:00
Jordi Gutiérrez Hermoso
35a429d99e Assistant: ensure that ASSISTANT_API_KEY is a real synonym for OPEN_AI_KEY
This was flagged as inconsistent in a community post.

https://community.getgrist.com/t/does-the-ai-formula-assist-also-works-with-the-desktop-mac-app/5677/6
2024-10-03 09:55:40 -04:00
xabirequejo
fb85f92382
Translated using Weblate (Basque)
Currently translated at 96.4% (1410 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/eu/
2024-10-02 15:18:01 +00:00
Paul Fitzpatrick
05d8976c5b (core) updates from grist-core 2024-10-01 11:54:40 -04:00
jarek
437d7e61c0
Removing fixSiteProducts method (#1236)
Context:
Removing an obsolete method that was fixing an issue with default site products.
Details can be found here 76d9448

Proposed solution:
Removing this method and its test.

Test plan:
not needed

https://github.com/gristlabs/grist-core/pull/1236
2024-10-01 17:33:50 +02:00
github-actions[bot]
77194dcb20
automated update to translation keys (#1234)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-09-30 16:05:14 -04:00
Paul Fitzpatrick
11fe3e90d4
check sandbox viability lazily (#1226)
This checks whether code can successfully run in the
sandbox only when the admin panel needs to report that,
rather than at start up. This is motivated by two things:

  - The desktop app became a lot slower to open with this
    check, since it uses pyodide by default, and there's
    been no work on optimizing the pyodide sandbox load
    times (as opposed to gvisor, where a lot of work was
    done, and it is also fundamentally faster).
  - The messages logged by a test sandbox starting and
    stopping have been confusing people.

There is a case for doing the check on startup, especially
on servers, so that we can fail early. Still, that isn't
what we were doing, and we'd also like to move away from the
server refusing to start because of a problem and
towards an always-reachable admin page that reports
the nature of problems in a clearer way.
2024-09-30 15:58:38 -04:00
George Gevoian
bda7935714 (core) Add remaining audit log events
Summary:
Adds the remaining batch of audit log events, and a CLI
utility to generate documentation for installation and
site audit events.

Test Plan: Manual.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4356
2024-09-30 13:38:17 -04:00
George Gevoian
1927c87413 (core) Treat URLs in Markdown cells as absolute
Summary: The previous behavior didn't match HyperLink cells.

Test Plan: Browser test.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D4358
2024-09-30 13:07:17 -04:00
George Gevoian
d2714da224 (core) Fix scrollbar in code view
Summary:
The scrollbar wasn't properly positioned inside the
bounds of the main panel.

Test Plan: Manual.

Reviewers: jarek

Reviewed By: jarek

Subscribers: paulfitz, jarek

Differential Revision: https://phab.getgrist.com/D4357
2024-09-30 12:04:00 -04:00
github-actions[bot]
172af40f87
automated update to translation keys (#1232)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-09-30 12:00:52 -04:00
Tim Newsome
755a742d6f
Add Copy With Headers to grid cell popup. (#1208)
* Add "Copy with headers" to grid cell popup.

This is what you want when you're going to paste into e.g. an email.

Tested just by manually trying copy and paste into an editor and an
email, and then again using the new variant to confirm the headers show
up.

https://github.com/gristlabs/grist-core/pull/1208
2024-09-30 11:20:22 +02:00
Jordi Gutiérrez Hermoso
5b79d4b206 v1.2.0 2024-09-27 13:30:25 -04:00
George Gevoian
bac1c49ac7
Remove assertion from HomeIntro test (#1230) 2024-09-27 11:00:10 -04:00
github-actions[bot]
d6701debb1
automated update to translation keys (#1228)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-09-26 17:00:43 -04:00
Jordi Gutiérrez Hermoso
dbc3f33c26 build: update yarn.lock
Needed to fix the build
2024-09-26 16:45:31 -04:00
Paul Fitzpatrick
632cb8464b (core) updates from grist-core 2024-09-26 13:18:47 -04:00
Paul Fitzpatrick
36722c19a3
preliminary support for a job queue (#1212)
Grist has needed a job queue for some time. This adds one, using
BullMQ. BullMQ however requires Redis, meaning we couldn't use
jobs for the large subset of Grist that needs to be runnable without
Redis (e.g. for use on desktop, or on simple self-hosted sites).
So simple immediate, delayed, and repeated jobs are supported also
in a crude single-process form when Redis is not available.

This code isn't ready for actual use since an important issue
remains to be worked out, specifically how to handle draining
the queue during deployments to avoid mixing versions (or - if
allowing mixed versions - thinking through any extra support needed
for the developer to avoid introducing hard-to-test code paths).
2024-09-25 15:23:23 -04:00
Paul Fitzpatrick
74248ef538
freshen advice about llms (#1216)
The chat endpoint we used is broadly supported across models on
OpenAI now. One more random self-hostable tool has been tested and
shown compatible with Grist's use.
2024-09-25 09:15:53 -04:00
Jarosław Sadziński
8da04d5a2a (core) Two way reference polish
Summary:
- Fixing BulkRemoveRecord bug
- Rewriting copy on the `delete reverse column` dialog
- Rewriting text on the `reassign reference dialog`
- Adding tooltip that explains why 2-way references are not enabled for formula columns

Test Plan: Added tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D4355
2024-09-24 10:20:55 +02:00
George Gevoian
8b1d1c5d25 (core) Add more audit logging data/events
Summary:
Adds a few additional audit events and enhances audit logging
to capture more data (request origin, active org, user type).

Test Plan: Server and manual tests.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D4348
2024-09-23 12:57:35 -04:00
Spoffy
ef6a04ab2a
Bumps grist-widget to 0.0.5 (#1221)
Fixes Calendar not working offline
2024-09-23 14:52:43 +01:00
github-actions[bot]
a031f7f6d2
automated update to translation keys (#1220)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2024-09-23 09:27:53 -04:00
Paul Fitzpatrick
126db2f91a (core) updates from grist-core 2024-09-23 09:07:47 -04:00
Jarosław Sadziński
11e22dd84e (core) Renaming column before cursor moves
Summary:
Fix for a bug. If a user tried to trigger the rename
column action by changing a cursor position, the wrong column
was renamed.

Test Plan: Added new test

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4352
2024-09-20 14:54:37 +02:00
Jarosław Sadziński
dd22ebdaf0 (core) Handling shift+enter on ace editor
Summary:
Shift+Enter doesn't work on ace editor when suggestions
are shown. Propobly this is bug in the ace-editor.

Test Plan:
Manual:
Start ace editor, and trigger auto-completion menu.
Pressing shift+enter should add new line (with proper indention). Previously
it did nothing.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3625
2024-09-19 17:07:34 +02:00
George Gevoian
ce0c912a18 (core) Update failing tests
Summary:
Test suites may now optionally set a "tutorial" flag to
automatically scaffold a sample tutorial document before
the tests run, and tear it down after.

This is used to fix a failing staging deployment test due
to a mismatch between local and staging deployments; local
deployments did not have a sample tutorial document set up,
while staging/prod deployments did.

Test Plan: Existing tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4354
2024-09-19 09:21:00 -04:00
Spoffy
4023e8b306
Bumps mocha-webdriver to 0.3.4 (#1214)
Enables additional logging in CI.
2024-09-18 23:22:33 +01:00
Jarosław Sadziński
e97a45143f (core) Adding UI for reverse columns
Summary:
- Adding an UI for two-way reference column.
- Reusing table name as label for the reverse column

Test Plan: Updated

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4344
2024-09-18 12:07:21 +02:00
George Gevoian
da6c39aa50 (core) Add new home page cards
Summary:
New cards on the home page link to useful resources like the welcome
video, tutorial, webinars, and the Help Center. They are shown by
default to new and exisiting users, and may be hidden via a toggle.

Test Plan: Browser tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4340
2024-09-17 17:32:10 -04:00