Commit Graph

2804 Commits

Author SHA1 Message Date
jasongwq
346c9fc0b4
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 78.4% (1147 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/zh_Hans/
2024-10-24 04:16:23 +02:00
Vincent Viers
c783a4f75e
OIDC logout: use a fixed post logout redirect uri (#1276)
Co-authored-by: Jonathan Perret <j-github@jonathanperret.net>
2024-10-22 12:03:11 -04:00
Paul Fitzpatrick
c27f832851 (core) updates from grist-core 2024-10-21 10:07:40 -04:00
Roman Holinec
0571f15aac
Translated using Weblate (Slovak)
Currently translated at 100.0% (1462 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-10-21 08:16:26 +02:00
Florent
30e2cc47d2
env variables for ACTION_HISTORY limits (#1262)
* Introduce ACTION_HISTORY env variables
* fix: env vars must be integers
* Use AppSettings and introduce minValue and maxValue
* Update README.md
* Start testing AppSettings

Co-authored-by: vviers <vincent.viers@beta.gouv.fr>
2024-10-17 15:17:46 -04:00
George Gevoian
ecff88bd32 (core) Add installation/site configuration endpoints
Summary:
A new set of endpoints for managing installation and site configuration have been added:
 - GET `/api/install/configs/:key` - get the value of the configuration item with the specified key
 - PUT `/api/install/configs/:key` - set the value of the configuration item with the specified key
     - body: the JSON value of the configuration item
 - DELETE `/api/install/configs/:key` - delete the configuration item with the specified key
 - GET `/api/orgs/:oid/configs/:key` - get the value of the configuration item with the specified key
 - PUT `/api/orgs/:oid/configs/:key` - set the value of the configuration item with the specified key
     - body: the JSON value of the configuration item
 - DELETE `/api/orgs/:oid/configs/:key` - delete the configuration item with the specified key

Configuration consists of key/value pairs, where keys are strings (e.g. `"audit_logs_streaming_destinations"`) and values are JSON, including literals like numbers and strings. Only installation admins and site owners are permitted to modify installation and site configuration, respectively.

The endpoints are planned to be used in an upcoming feature for enabling audit log streaming for an installation and/or site. Future functionality may use the endpoints as well, which may require extending the current capabilities (e.g. adding support for storing secrets, additional metadata fields, etc.).

Test Plan: Server tests

Reviewers: paulfitz, jarek

Reviewed By: paulfitz, jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D4377
2024-10-16 14:55:34 -04:00
Владимир В
8990cd2f9b
Translated using Weblate (Russian)
Currently translated at 50.0% (1 of 2 strings)

Translation: Grist/server
Translate-URL: https://hosted.weblate.org/projects/grist/server/ru/
2024-10-16 00:15:55 +02:00
Владимир В
5cee64a04c
Translated using Weblate (Russian)
Currently translated at 98.3% (1438 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2024-10-16 00:15:54 +02:00
Paul Fitzpatrick
92b7687f75
lock down Ubuntu version for CI (#1264) 2024-10-15 12:19:31 -04:00
George Gevoian
89468bd9f0 (core) Switch to sync Markdown rendering
Summary:
There was a bug where stale Markdown values were sometimes shown when moving between pages. It appears to have been an issue with async rendering of Markdown and how cell values were being updated.

As a fix, we now use synchronous rendering, which doesn't have any perceptible performance penalty, and behaves predictably.

Test Plan: Manual.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D4379
2024-10-15 09:54:04 -04:00
Roman Holinec
4b8f10fc12
Translated using Weblate (Slovak)
Currently translated at 97.1% (1421 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-10-13 07:15:48 +02:00
Paul Fitzpatrick
324684259a
move docker image back to node 18 / buster (#1260)
This partially undos a recent upgrade because it results in
`gvisor` sandboxing not functioning. Hopefully this is temporary,
to give time to track down the cause, fix it, and extend CI testing
on candidate docker images to include `gvisor` sandboxing.

Upgrade: https://github.com/gristlabs/grist-core/pull/1255

Sorry for the breakage!
2024-10-11 22:24:32 -04:00
Paul Janzen
a9270c88e2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: Grist/server
Translate-URL: https://hosted.weblate.org/projects/grist/server/pt_BR/
2024-10-11 20:17:02 +00:00
Paul Janzen
4b1daea969
Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: Grist/server
Translate-URL: https://hosted.weblate.org/projects/grist/server/es/
2024-10-11 20:17:00 +00:00
Paul Janzen
a80373e639
Translated using Weblate (German)
Currently translated at 100.0% (2 of 2 strings)

Translation: Grist/server
Translate-URL: https://hosted.weblate.org/projects/grist/server/de/
2024-10-11 20:16:59 +00:00
Paul Janzen
91b3f04429
Translated using Weblate (German)
Currently translated at 100.0% (1462 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2024-10-11 20:16:58 +00:00
Paul Janzen
0683bff68e
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1462 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2024-10-11 20:16:57 +00:00
Jarosław Sadziński
2a978c4313 (core) Change default team logo
Summary:
Also fixes a bug that prevented drag and drop from working
in BillingLogoEditor, and tweaks the hover state of AppHeader
to only activate when the cursor is over the dropdown menu, and
not the logo.

Test Plan:
Manual.
1. Wide logo tests with url http://localhost:8080/o/docs?__themeOrg=fieldlink
2. Avatar on home screen for personal site
3. Avatar on doc screen for personal site
4. Avatar on doc screen with hidden left drawer on doc page
5. Same tests but with personal image
6. Same tests but with custom logo uploaded
7. All above tests but with dark theme
8. All above but on mobile.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4378
2024-10-11 15:40:04 +02:00
George Gevoian
c824964152 (core) Fix TypeORM failure when unremoving entities
Summary:
When `save` was called without any modifications to the
entity, TypeORM would throw an error. This could sometimes
occur if an entity was unremoved by two different clients with
the same application state. We now avoid calling `save` if a
document or workspace is already unremoved.

Test Plan: Manual.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4365
2024-10-10 18:54:54 -04:00
Paul Fitzpatrick
e43bb670a0
allow seed rules to refer to columns (#1254)
This makes a small change to the UI for entering seed rules,
so that a seed rule that refers to a column may be added.
This is a bit niche, but occasionally handy when all tables
have some common structure.
2024-10-10 17:01:46 -04:00
Paul Fitzpatrick
aa69652a33
use fresher node and debian version (#1255)
This moves to node 22 and debian bookworm, since the versions we've been building and testing with are getting old.

There is some old material kept around for (speaks very quietly) Python 2 (looks around hoping no-one heard) which we continue to support for some long-time users but really really should drop soon.

The changes for the node upgrade were all test related. I did them in a way that shouldn't impair running on older versions of node, and did spot checks for this. This is to give some breathing room for upgrading Grist Lab's grist-saas as follow up work.
2024-10-10 16:59:03 -04:00
Jarosław Sadziński
8402cccd7e (core) Hiding other site section
Summary: Other sites section will be removed for now. More refactor to come.

Test Plan: Existing.

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D4376
2024-10-10 16:28:46 +02:00
Languages add-on
1a527d74a0
Added translation using Weblate (Igbo) 2024-10-10 07:59:18 +00:00
Languages add-on
12fa06b019
Added translation using Weblate (Chinese (Simplified Han script)) 2024-10-10 09:59:14 +02:00
Languages add-on
61c60b92b3
Added translation using Weblate (Chinese (Traditional Han script)) 2024-10-10 07:59:10 +00:00
Languages add-on
431d55d2cd
Added translation using Weblate (Slovenian) 2024-10-10 09:59:06 +02:00
Languages add-on
c8782c6b60
Added translation using Weblate (Slovak) 2024-10-10 07:59:03 +00:00
Languages add-on
4c0473dbb0
Added translation using Weblate (Finnish) 2024-10-10 09:58:59 +02:00
Languages add-on
84728370d0
Added translation using Weblate (Persian) 2024-10-10 07:58:55 +00:00
Languages add-on
fcb4830f78
Added translation using Weblate (Dutch) 2024-10-10 09:58:51 +02:00
Languages add-on
d3f58807d0
Added translation using Weblate (Arabic) 2024-10-10 07:58:49 +00:00
Languages add-on
73195d8047
Added translation using Weblate (Italian) 2024-10-10 09:58:46 +02:00
Languages add-on
6dfb90bb61
Added translation using Weblate (Polish) 2024-10-10 07:58:43 +00:00
Languages add-on
99615d2e8f
Added translation using Weblate (English (United Kingdom)) 2024-10-10 09:58:39 +02:00
Languages add-on
465462f153
Added translation using Weblate (Vietnamese) 2024-10-10 07:58:37 +00:00
Languages add-on
85066e416f
Added translation using Weblate (Portuguese) 2024-10-10 09:58:32 +02:00
Languages add-on
7ec0924849
Added translation using Weblate (Czech) 2024-10-10 07:58:29 +00:00
Languages add-on
f723a04565
Added translation using Weblate (Catalan) 2024-10-10 09:58:26 +02:00
Languages add-on
32c9c83ab7
Added translation using Weblate (Japanese) 2024-10-10 07:58:22 +00:00
Languages add-on
34111f7a3f
Added translation using Weblate (Ukrainian) 2024-10-10 09:58:20 +02:00
Languages add-on
1a682ca8b6
Added translation using Weblate (Bulgarian) 2024-10-10 07:58:16 +00:00
Languages add-on
438f966379
Added translation using Weblate (Romanian) 2024-10-10 09:58:12 +02:00
Languages add-on
cf3c4dce2e
Added translation using Weblate (Russian) 2024-10-10 07:58:07 +00:00
Languages add-on
7e56a69088
Added translation using Weblate (Basque) 2024-10-10 09:58:05 +02:00
Languages add-on
8f3af93e97
Added translation using Weblate (Thai) 2024-10-10 07:58:03 +00:00
Languages add-on
25bcbe5e87
Added translation using Weblate (Turkish) 2024-10-10 07:57:54 +00:00
Languages add-on
bb85abccf2
Added translation using Weblate (Igbo) 2024-10-10 09:57:49 +02:00
Roman Holinec
fb0dd9112e
Translated using Weblate (Slovak)
Currently translated at 95.4% (1395 of 1462 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sk/
2024-10-10 09:57:47 +02:00
Paul Fitzpatrick
ce3fe22ce2 (core) updates from grist-core 2024-10-09 11:38:29 -04:00
Paul Fitzpatrick
d1803dddb7 (core) move access rule UI tests to core
Summary:
Moving some tests in preparation for some new development
work.

Test Plan: moving tests

Reviewers: jordigh

Reviewed By: jordigh

Differential Revision: https://phab.getgrist.com/D4374
2024-10-09 11:37:38 -04:00