Rijk van Zanten
c4ae4b66cc
Finalize interface names ( #5521 )
...
* Rename button-links->presentation-links
* Rename checkboxes->select-multiple-checkbox
* Rename code->input-code
* Rename checkboxes files
* Rename color->select-color
* Rename divider->presentation-divider
* Rename dropdown-multiselect->select-multiple-dropdown
* Rename hash->input-hash
* Rename icon->select-icon
* Rename image->file-image
* Rename m2a-builder->list-m2a
* Rename many-to-many->list-m2m
* Rename many-to-one->select-dropdown-m2o
* Rename markdown->input-rich-text-md
* Rename notice->presentation-notice
* Rename one-to-many->list-o2m
* Rename radio-buttons->select-radio
* Rename repeater->list
* Rename text-input->input
* Rename textarea->input-multiline
* Rename toggle->boolean
* Rename tree-view->list-o2m-tree-view
* Rename wysiwyg->input-rich-text-html
* Use correct interfaces in system defaults
* Rename collection->system-collection
* Rename collections->system-collections
* Rename display-template->system-display-template
* Rename field->system-field
* Rename interface->system-interface
* Rename interface-options->system-interface-options
* Rename scope->interface-scope
* Rename tfa-setup->system-mfa-setup
* Fix oversights
* Remove old todo
* Some more tweaks
* Add migration, fix dropdown name in system use
* Merge numeric + input
* Replace dropdown->select-dropdown in app use
* Merge slug->input, user->select-dropdown-m2o
* Fix type issue
* Fix seeder field name
2021-05-06 16:49:32 -04:00
rijkvanzanten
010eabad27
Format remaining md files
2021-05-04 18:52:08 -04:00
Rijk van Zanten
5ee5737ec2
Add file upload on m2m ( #5402 )
...
* Show upload modal when using m2m to files
Fixes #5246
* Cleanup file check on drawer item
2021-04-30 16:42:59 -04:00
Jian Liao
c438917096
Issue 5344 ( #5346 )
...
* add more ignore pattern for git
* revert the change for api/.gitignore
* fix issue-5344 support autofocus on first non-readonly form field on open drawer
* fix use a more accurate variable name
* Rename autofocusonfirstitem to autofocus
Co-authored-by: Jian Liao <jianliao@adobe.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-04-30 01:13:55 +00:00
rijkvanzanten
99fcf12e73
Fix linter workflow
2021-04-29 16:24:31 -04:00
rijkvanzanten
fb31653ade
Fix remaining stylelint problems
2021-04-29 16:08:14 -04:00
rijkvanzanten
801e868554
Fix remaining eslint errors
...
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be
Syntax fixes ( #5367 )
...
* Declare return types on functions
And a very few other type related minor fixes
* Minor syntax fixes
* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
Sebastian Flick
a48b0fbd28
Setting the default date to today is a bad idea ( #5332 )
...
If a user selects a year, the day and month are set to today's day and month. This is a very bad idea since people want to sort entries by date. Most of the time only the year is of interest. The entries will be sorted then by the time and day when the were created...
This commit should set the values to the same by default.
2021-04-28 14:49:32 -04:00
Ben Haynes
57208d7ebc
Fixes #5311
2021-04-28 10:42:31 -04:00
Ben Haynes
40719cbbed
Fixes #5295
2021-04-27 16:59:57 -04:00
Rijk van Zanten
451cdac8ef
Add options for create/select ( #5301 )
...
* Hide add/select based on permissions
Fixes #4874
* Add enable create/select options to interfaces
2021-04-27 15:13:22 -04:00
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