Commit Graph

2505 Commits

Author SHA1 Message Date
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
Paul Janzen
a8ca5ffd85
Translated using Weblate (Spanish)
Currently translated at 100.0% (1297 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2024-05-22 11:02:01 +02:00
Paul Janzen
634635de09
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1297 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2024-05-22 11:02:00 +02:00
Jordi Gutiérrez Hermoso
27c8a321df workflows: add a workflow to add issues to the self-hosted project
Based on instructions here:

https://github.com/actions/add-to-project

The idea is that anyone can tag an issue as self-hosting and if that's
so, it'll show up in the corresponding kanban.
2024-05-21 09:45:19 -04:00
Marin Ivanov
8a67d9f686
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-21 10:44:07 +02:00
Marin Ivanov
5f2b01a9ee
Translated using Weblate (Bulgarian)
Currently translated at 88.6% (1150 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-21 04:01:56 +02:00
Camille L
fc2f4578c0
Translated using Weblate (French)
Currently translated at 97.2% (1261 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2024-05-21 04:01:56 +02:00
Spoffy
991e43f07f
fixes removed module in Python 3.12 (#984) 2024-05-20 14:56:05 +01:00
Franček Prijatelj
69ce9beb9c
Translated using Weblate (Slovenian)
Currently translated at 98.0% (1272 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/sl/
2024-05-19 17:01:57 +02:00
Riccardo Polignieri
a6ceecbbf6
Translated using Weblate (Italian)
Currently translated at 100.0% (1297 of 1297 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/it/
2024-05-19 17:01:56 +02:00
Jarosław Sadziński
60423edc17 (core) Customizable stripe plans.
Summary:
- Reading plans from Stripe, and allowing Stripe to define custom plans.
- Storing product features (aka limits) in Stripe, that override those in db.
- Adding hierarchical data in Stripe. All features are defined at Product level but can be overwritten on Price levels.
- New options for Support user to
-- Override product for team site (if he is added as a billing manager)
-- Override subscription and customer id for a team site
-- Attach an "offer", an custom plan configured in stripe that a team site can use
-- Enabling wire transfer for subscription by allowing subscription to be created without a payment method (which is customizable)

Test Plan: Updated and new.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4201
2024-05-19 09:09:19 +02:00
Marin Ivanov
6ed9648708
Translated using Weblate (Bulgarian)
Currently translated at 76.9% (993 of 1290 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/bg/
2024-05-18 09:02:04 +00:00
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
George Gevoian
ed9514bae0 (core) Revert Safari overflow fix
Summary: The fix introduced a regression.

Test Plan: Existing tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4254
2024-05-15 12:29:51 -07:00
Dmitry S
3267012226 (core) Attempt to fix truncated div issues for menu popups on Safari
Summary:
This affects the "Add Column" submenu under the sort-and-filter dropdown. The
explicit overflow setting (which *should* be the default) seems to fix it.

Test Plan: Tested manually on Safari 17.3 on Mac

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: jarek, georgegevoian

Differential Revision: https://phab.getgrist.com/D4249
2024-05-14 18:44:48 -04: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
George Gevoian
e299f4466b (core) Support reordering conditional styles
Summary: Conditional style rules can now be reordered by dragging and dropping them.

Test Plan: Browser test.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4251
2024-05-13 14:45:11 -07: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