Commit Graph

2516 Commits

Author SHA1 Message Date
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
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