Commit Graph

445 Commits

Author SHA1 Message Date
rijkvanzanten
7eebb08eec Remove clear icon for disabled interfaces
Fixes #5279
2021-04-27 11:32:17 -04:00
rijkvanzanten
b769d67e51 Don't include user token by default, fix button names
Fixes #5216, fixes #5155
2021-04-23 16:06:16 -04:00
rijkvanzanten
3354066983 Add union type example to docs
Closes #5161

Squashed commit of the following:

commit 8ef6770185cf4d3bcdcda0c41e98a6f3ef0c4e1f
Merge: 775ceaccc 2ca5fdb86
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Apr 23 10:42:54 2021 -0400

    Merge branch 'main' into patch-1

commit 775ceaccc4
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Apr 23 10:41:59 2021 -0400

    Cleanup union type docs

commit 1000988c32
Author: neo7-studio-web <18073828+neo7-studio-web@users.noreply.github.com>
Date:   Tue Apr 20 15:01:02 2021 +0200

    Add a M2M GraphQL query example
2021-04-23 10:47:17 -04:00
rijkvanzanten
769591656b Remove wrong ref type 2021-04-22 17:51:42 -04:00
Ben Haynes
639be843e5 Repeater color fix 2021-04-22 17:31:27 -04:00
rijkvanzanten
7929ae312b Add skeleton loaders to o2m/m2m 2021-04-22 17:12:20 -04:00
rijkvanzanten
d421cc79ae Fallback to related collection DT in m2m 2021-04-22 17:12:20 -04:00
Ben Haynes
76b513a426 Consistent repeater button 2021-04-22 16:54:38 -04:00
rijkvanzanten
15dbc31f07 Add primary highlight on drag 2021-04-22 16:50:30 -04:00
rijkvanzanten
dedbfad3a0 Drop name option in repeater 2021-04-22 16:26:35 -04:00
rijkvanzanten
173121fa3a Fix render-template line-height 2021-04-22 16:26:35 -04:00
Ben Haynes
63a6397625 Fix page jumping on repeater entry 2021-04-22 16:26:15 -04:00
Ben Haynes
de94e5d898 repeater styling 2021-04-22 16:07:00 -04:00
rijkvanzanten
2c557b2c9e Fix alignment of repeater row previews 2021-04-22 13:34:36 -04:00
rijkvanzanten
cb4bf88e66 Tweak relational interfaces
Squashed commit of the following:

commit ade7ce72e7dac9908504eacf420875baaae1cc47
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:16:03 2021 -0400

    Add no-items notice

commit e47dd5ac1f28300a33478a2be3c50496859b09fc
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:13:58 2021 -0400

    Remove files interface

commit 2925fb9c86719c48006f7b2619df7fd26bf7b523
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:10:44 2021 -0400

    Fix sort field in m2m

commit 009e2b1fd99f7a31f20fba04cd9980eaa3566ac8
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:06:45 2021 -0400

    Add dense at item count

commit 83b088f4da3ea4a1d7e030f34a07aa1cb2235b43
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 12:05:40 2021 -0400

    Tweak rendering of thumbnails inside relational interfaces

commit 06770a0f16e344ab62c0228b87824a6c00ad39bc
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:36:07 2021 -0400

    Rename $file->$thumbnail, render properly in render-template

commit 954fd725629ce055459a7925be4aaddf3fb723c2
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:35:53 2021 -0400

    Fix injection on v-field-select

commit 83073dea2fc26af61a5155adddd5d4e3afa5cb14
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:35:39 2021 -0400

    Adjust for virtual $thumbnail field on files

commit ee57b8316479204c0a5c931c86807afde55423a1
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:49:35 2021 -0400

    Don't hardcode file/user relations

commit 31ed92c5a785f20b7dc58bb62f35f6e31c95cfc6
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:49:22 2021 -0400

    Allow injecting temporary fields in field template

commit 9d98d4fe4def7bdba12d1613bd08bdb9bd9e1431
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:36:53 2021 -0400

    Render collection level template in placeholder

commit 0e0dda1e9f5a930ce3c73c2f8003d98853d58bc0
Merge: 65fa8084f 1e3b64bf9
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:35:21 2021 -0400

    Merge branch 'main' into relational-tweaks

commit 65fa8084f84aa1a90686fe6407a6d54ca47d1371
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:29:03 2021 -0400

    Make input container relative

commit 0674a0a00faa5df2208b466114721ba5d5116bf7
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:28:44 2021 -0400

    Add placeholder option to v-field-template
2021-04-22 13:16:20 -04:00
rijkvanzanten
ce6e36cdc9 Fix init order of o2m 2021-04-22 09:34:01 -04:00
Nitwel
7d64c8ab47 Relational consistency (#4093)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-21 23:31:12 +00:00
rijkvanzanten
32c8c302a7 Fix wysiwyg modals not being reactive
Fixes #5142
2021-04-20 17:46:05 -04:00
José Varela
acc145006c App: encode primary key (#5143)
* app: encode primary key
Since primary keys could be manually entered strings,
we should encode those in order to prevent accessing
inexistent routes.
E.g.
Document with primary key: 'clients/John Doe'

* fixup! app: encode primary key Since primary keys could be manually entered strings, we should encode those in order to prevent accessing inexistent routes. E.g. Document with primary key: 'clients/John Doe'

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-19 11:35:01 -04:00
Nicola Krumschmidt
30b16cca89 Reset v-textfield to null when cleared (#5141)
* Reset v-textfield to null when cleared

* Add option to configure nullable to textarea interface

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-19 10:49:27 -04:00
Toni Lähdekorpi
1382f5da2e Add disabled prop to InterfaceToggle (#5085)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-15 18:40:50 +00:00
Rijk van Zanten
fea49a12e3 Filter out circular fields in relational drawer-item use (#5067)
Fixes #2961
2021-04-14 19:32:53 -04:00
Nicola Krumschmidt
24202531fe Rename the nullable text input interface option (#5057)
* Rename the nullable text input interface option

* Update app/src/lang/translations/en-US.yaml

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-14 22:33:27 +00:00
Nitwel
c2bc3ea330 Add custom interface for presets (#4870)
* add custom interface for presets

* add defaults and change naming

* Fix type issue, put current selection on top

* Fetch email as name fallback

* Opinionated code changes

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-13 18:33:36 -04:00
Rijk van Zanten
bcac4b80c2 Fix perf regression in translations (#5041)
* Only translate extensions on language load

* Make table-row functional
2021-04-13 17:00:22 -04:00
MiniDigger | Martin
cf603c6ef5 Additional improvements to extension loading (properly closes #4733) (#5015)
* Fix extension endpoints being queries without a trailing slash

* Don't swallow exceptions when loading an extension
2021-04-13 09:57:29 -04:00
illubyte Studios
8643d0812c Fixed extensions not loading (#4986) 2021-04-12 16:59:19 -04:00
Nitwel
928df85bc3 Just rename wysiwyg vustom toolbars (#4962) 2021-04-10 10:18:59 -04:00
Nitwel
c08a8bb08a add custom modules to wysiwyg (#4961) 2021-04-10 09:28:38 -04:00
Nitwel
d50f3f9edb Add custom modules to WYSIWYG (#4309)
* use drawers on wysiwyg

* fix media duplication and add translations

* remove console logs

* remove old media buttons

* organize image/media modules

* add link and code windows

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 19:57:49 -04:00
Nitwel
c7f2b05c00 Fix drawer item title not showing data (#4940)
* fix drawer item title not showing data

* load template items relational

* Only render preview on first load

* Fix type issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 18:05:41 -04:00
WoLfulus
42393951e0 Test runners for storage drivers (#4716)
* add tests to drive

* add azure test runner

* add gcs test runner

* add s3 test runner

* quick changes

* Re-add npm run dev

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 15:40:12 -04:00
Nitwel
1e3824346d Load extensions in parallel (#4859)
* clean up app reference

* fix table

* load custom extensions in parallel

* batch promises

* Use async-pool for batching

* Very strange

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-09 13:26:27 -04:00
rijkvanzanten
8a95c82583 Fix typo 2021-04-08 17:40:49 -04:00
Ben Haynes
7e2e1c2c7e Adjust divider for note spacing 2021-04-08 17:06:14 -04:00
Ben Haynes
d03d9f01af Button link colors more prominent 2021-04-08 17:06:03 -04:00
Ben Haynes
c503d128cf Slider y offset 2021-04-08 17:05:19 -04:00
Rijk van Zanten
6b742b8cb5 Fix root path in extensions fetching (#4919)
Fixes #4733
2021-04-08 17:04:18 -04:00
Nitwel
93f8b7720c Fix translations not working on displays, modules... (#4734)
* generalyze extensions

* replace vue-i18n tranlslations

* replace vue-i18n tranlslations

* add missing commas

* replace translations recursive

* restructure translate

* remove unused i18n

* remove unused i18n

* remove unused i18n

* Remove i18n context in define

* Rename translate util file

* Fix type errors

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-08 16:36:55 -04:00
Valentino Stillhardt
408096ed14 Fixed routes with missing end slash (#4911) 2021-04-08 14:40:53 -04:00
Justin H
ebae74b87c fix: deselect button not shown in m2m file interface for non-admin users (#4913) 2021-04-08 14:39:16 -04:00
Ben Haynes
611d5be382 Interface background colors 2021-04-08 13:44:11 -04:00
Ben Haynes
70fa15351c Clean markdon hr style 2021-04-08 13:42:43 -04:00
Nitwel
bf484d39ae fix text overflow on m2o (#4720) 2021-04-07 12:25:04 -04:00
Nitwel
3a1530ea89 Fix edits not being found in o2m (#4877)
* fix searching edits via pk

* Update app/src/interfaces/one-to-many/one-to-many.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-07 11:55:07 -04:00
Nitwel
db77727cd3 Only allow to en/disable own tfa (#4854)
* remove non existing fields

* only edit own tfa
2021-04-07 11:53:56 -04:00
Nitwel
6f9b2cafcd Add page titles (#4775)
* restructure template rendering

* add useTitle composable

* Split up render-string-template from getFieldsFromTemplate

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-31 10:53:57 -04:00
Nitwel
020f2c7294 fix wysiwyg dropdown styles (#4771) 2021-03-31 09:39:25 -04:00
Nitwel
4518ec8886 add display template option (#4758) 2021-03-30 12:21:33 -04:00
Nitwel
8808d19a3e Restyle hr in wysiwyg (#4755)
* make hr look normal in wysiwyg

* dont use fixed value
2021-03-30 10:54:06 -04:00