Commit Graph

8512 Commits

Author SHA1 Message Date
Rijk van Zanten
f8fceb98e9 New translations en-US.yaml (Polish) (#12610) 2022-04-06 19:08:28 +00:00
Rijk van Zanten
f9457f5bdf Upgrade sharp (#12609)
Fixes #12440
2022-04-06 12:11:17 -04:00
Timm Wimmers
da133f093b docker - disable npm update warnings (#12547)
Co-authored-by: Timm Wimmers <wimmers@poprocket.com>
2022-04-06 11:38:48 -04:00
Azri Kahar
25d398159c fix field names in groups for validation errors (#12553) 2022-04-06 11:31:37 -04:00
ian
307cef8f5e Add permissions check for relational field only if child has filter (#12549)
* Add permissions check for relational field only if child has filter

* Allow id field for actions such as update and delete

* Use primary key instead of id

* Add test
2022-04-06 11:30:50 -04:00
ian
63f5b037d6 Fix export sidebar without read permission for primary key (#12608)
* Fix app crash onload without read permission for primary key

* Fix equality check when limit matches itemCount
2022-04-06 11:16:56 -04:00
ian
c6736c4f19 Fix access to count(*) aggregation (#12607) 2022-04-06 11:14:51 -04:00
Azri Kahar
2f0921ffa9 Prevent empty string as id in SDK (#12595)
* Prevent empty string as id in SDK

* test
2022-04-06 10:42:29 -04:00
Azri Kahar
4f7abf0733 Default filter operator to eq for field with choices (#12598)
* Default filter to 'eq' for field with choices

* fix function name type
2022-04-06 10:31:59 -04:00
Azri Kahar
f7e651cbe3 Set includeProjectDefault default value to false (#12601) 2022-04-06 10:07:56 -04:00
Azri Kahar
accb5a20e3 Add autofocus prop to input translated string (#12596) 2022-04-06 09:26:10 -04:00
Azri Kahar
17edc01f6f Prevent boolean as string when switching filter (#12597) 2022-04-06 09:25:00 -04:00
AntoineBarroux
b4538ca7a3 adding possibility to update another field value from a custom interface (#11620)
*  adding possibility to update another field value from a custom interface

* Rename fieldName->fieldKey for consistency

Co-authored-by: Antoine Barroux <antoine.barroux@liksi.fr>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-06 09:20:11 -04:00
Rijk van Zanten
c2cd010eec New Crowdin updates (#12594)
* New translations en-US.yaml (Polish)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (French, Canada)
2022-04-05 21:32:30 +00:00
Markus
d814502355 Fix repeater interface (#12592)
Adding items was not possible if value was no array
2022-04-05 17:27:29 -04:00
Nayan Patel
49d65124f5 Adds one click deploy with koyeb. (#12558) 2022-04-05 11:44:49 -04:00
Jay Cammarano
70f36ac3d3 When no header icon is chosen use the panel types's icon for the default header icon rather than hardcoding "insert_chart" (#12541)
* panelTypeInfo.icon default for header

* migration: +nullable, -defaultTo('insert_chart')

* Rename migration file, use helper to fix oracle etc

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-05 15:29:11 +00:00
Aiden Foxx
26f626d552 Flatmap the oauth profile so we can use sub-values (#12457) 2022-04-05 11:14:49 -04:00
Gerard Lamusse
14f7a232aa Disable fields that are groups to be selected in field list (#12539)
* By default disable fields that are groups to be selected in field list, since they anyways can't be filtered on.

* Don't include functions for group fields.
Refactor FieldInfo to extend already defined FieldNode type

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-05 11:11:54 -04:00
Azri Kahar
93a0369b99 Fix snapshot output (#12579) 2022-04-05 10:51:23 -04:00
Rijk van Zanten
1937231c8f New translations en-US.yaml (Portuguese, Brazilian) (#12586) 2022-04-05 14:43:14 +00:00
Azri Kahar
d023b36838 Add import file method to SDK (#12575) 2022-04-05 10:39:29 -04:00
Rijk van Zanten
8ee9194dea Update bug_report.yml 2022-04-05 09:54:03 -04:00
Rijk van Zanten
6392f9428c Update bug_report.yml 2022-04-05 09:53:42 -04:00
Rijk van Zanten
fff3201c4a Update bug_report.yml 2022-04-05 09:53:12 -04:00
Azri Kahar
d6644eb738 fix batch editing for fields in groups (#12582) 2022-04-05 09:50:49 -04:00
Azri Kahar
67c37ae11c Add count function in docs (#12576)
* Add `count` function in docs

* Rename relational to array functions

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-05 09:43:51 -04:00
Wryn (yage) Wagner
0930c2df97 Safe Metadata Upload (#12511)
* [Related to #11292] Safe Metadata Upload
- Created FILE_METADATA_ALLOWLIST
- Added test library for `FilesService`

* Rename ALLOWLIST->ALLOW_LIST to be consistent with other env vars

* Make sure it still works for files without Exif

* Prevent breaking changes in metadata formatting

* Allow * for all

* Fix md sup

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-04 20:43:56 -04:00
Rijk van Zanten
9d9bcf9309 New translations en-US.yaml (French) (#12571) 2022-04-04 20:00:36 +00:00
Rijk van Zanten
e3c2eca04b New translations en-US.yaml (German) (#12570) 2022-04-04 18:58:19 +00:00
Rijk van Zanten
429a7a6a5e New translations en-US.yaml (German) (#12569) 2022-04-04 18:27:25 +00:00
Eron Donevan Powell
3d9e325048 Docs: Data Sharing (#11579)
* .gitignored package-lock.json that was created in the docs subfolder

* Initial Data Shares Draft

* Finished copy of first, unedited draft

* added static images

* more copy polish and videos

* polished, awaiting comments

* added Ben's awesome edits

* added new media content and copy tweaks

* fixed broken link

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-04 10:30:47 -04:00
Azri Kahar
d0b0818cca Return 401 status code for expired tokens (#12281)
* Refresh token when it's expired & retry request

* move refresh token interceptor in autoRefresh flag

* add TOKEN_EXPIRED exception

* update interceptor condition & fix autoRefreshJob

* update docs

* revert auth drivers changes

* remove unused imports

* undo sdk auth refresh changes
2022-04-04 09:23:28 -04:00
Aiden Foxx
4cb8e8f0ca Always try to rebind on healthcheck error (#12532)
* Always attempt rebind on LDAP healthcheck error

* Fix linting error

* Update api/src/auth/drivers/ldap.ts
2022-04-04 09:17:06 -04:00
Azri Kahar
703fb8426f Fix app lint warnings (#12552) 2022-04-04 03:53:02 +00:00
Rijk van Zanten
33c379a912 New translations en-US.yaml (Ukrainian) (#12546) 2022-04-02 19:20:55 +00:00
Rijk van Zanten
2f7dbbd1c0 New translations en-US.yaml (Ukrainian) (#12545) 2022-04-02 18:50:27 +00:00
Rijk van Zanten
e3bcfa33e0 New translations en-US.yaml (Ukrainian) (#12544) 2022-04-02 18:05:05 +00:00
Rijk van Zanten
765d2e0ba4 New Crowdin updates (#12537)
* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Polish)
2022-04-02 13:05:17 +00:00
Rijk van Zanten
8fb7fb36df New translations en-US.yaml (Hindi) (#12535) 2022-04-02 12:26:23 +00:00
Rijk van Zanten
d74d627e25 New translations en-US.yaml (Bulgarian) (#12533) 2022-04-02 10:15:02 +00:00
Rijk van Zanten
3025335918 New Crowdin updates (#12525)
* Update source file en-US.yaml

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Croatian)
2022-04-01 19:02:28 +00:00
rijkvanzanten
47daa70b70 Update changelog 2022-04-01 14:42:21 -04:00
rijkvanzanten
2a6db01c42 v9.8.0 v9.8.0 2022-04-01 14:41:08 -04:00
rijkvanzanten
c62abb0dbb Update my favorite file 2022-04-01 14:37:23 -04:00
Christian Rendl
0206a3d2cc Added default locale before login (#8196)
* Added default locale before login

* Use project_language as default language for new users

* Revert "Use project_language as default language for new users"

* Allow user's language field to be nullable; Use project_language whenever language is unset;

* Apply suggestions from code review

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* Make "Project Default" option in system-language interface configurable

* Set language only if user language is not null

* Introduced translation for project_language field; Use translation in system-language interface

* Set app language only from app.vue;
Included watcher to restore project_language if user's language is (re)set to null

* Removed .alter() in knex migration since it's not needed for changing default and breaks checks

* Reverted previous change in migration; .alter() is needed for changing column defaults

* Reverted migration to use .defaultTo(null) to set default value

* Update position of project language field in settings

* Fix cockroachdb test error in knex migration

* Fix cockroachdb test error in knex migration

* Apply migration fix also on oracle databases

* Apply changes from code review

* Rename migration to fix migration key error

* Move setLanguage calls to server.ts and hydrate.ts

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
Co-authored-by: Christian Rendl <cr@mutor.at>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-01 14:30:56 -04:00
Nicola Krumschmidt
ca59a8e4d0 Prevent password managers from triggering on input-hash fields (#12465)
This was already attempted in 65daa69 and subsequently reverted in #8344.
2022-04-01 14:21:01 -04:00
ian
8139b5b467 Fix filter permissions for relational fields (#12426)
* Fix filter permissions for relational fields

* Add tests for filtering of top level relational field with and without permissions on relational table

* Find read permission only

* Update test with more permissions
2022-04-01 14:20:44 -04:00
Rijk van Zanten
27d78e9fbe Update CODEOWNERS 2022-04-01 13:46:07 -04:00
Nicola Krumschmidt
8d0e2a8fdc Fix v-form overwriting type of input-hash interface (#12464)
This was causing the password field on the user details page
to show the password in clear text when inputting a new one.
2022-04-01 13:30:10 -04:00