Commit Graph

424 Commits

Author SHA1 Message Date
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
Nitwel
8ecb65cf74 fix v-if not updating (#4748) 2021-03-30 08:52:14 -04:00
Rijk van Zanten
b562ceeb0c Add Tree-View Interface (#4602)
* Fix local type extraction

* Render basic tree in tree-view

* Render drawer-item in tree-view-group

* Retrieve nested draggable changes

* Default sort query to configured sortField

* Store nested group / sort to API

* Allow updating item values

* Figure out a dropzone approach on preview

* Finish editable tree view

* Set sort value based on sort field in relation

* Add create-new / add-existing

* Respect previously made nested edits

* Add description in setup

* Fix fetching level of o2m sort field

* Remove min height on empty root

* Remove unused types

* Add notice for invalid relationship type

* Allow recursive o2m in setup

* Styling tweak

* Revert changes in v-list

* Revert changes in groupable
2021-03-26 17:12:55 -04:00
Jian Liao
6389e468f2 Fixed Issue-4660 (#4661)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix #4660

Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-03-25 09:33:52 -04:00
Ngai Kam Wing
e9f18975d8 Reduced chunk vendor build size ( Parsed size from 3.48MB to 1.19MB ) (#4645)
Split out wysiwyg and markdown code into a separate chunk.
2021-03-24 12:09:11 -04:00
rijkvanzanten
ac223d2137 Fix deselect not showing up in m2m in certain contexts
Fixes #4572
2021-03-17 21:52:38 -04:00
rijkvanzanten
23817ad1fa Fix clear buttons on disabled m2m
Fixes #4527
2021-03-15 11:11:10 -04:00
rijkvanzanten
cc9c5e367d Don't show X on disabled datetime
Fixes #4484
2021-03-11 18:49:47 -05:00
Ben Haynes
870cd5ec9a fixes #4402
adds background-input variable to differentiate from page
updates repeater to use card styling
2021-03-08 15:13:53 -05:00
Nitwel
f2f6de949c Adding and removing collections from m2a (#4271)
* add adding and removing collections from m2a

* warn when the collection has been deleted

* simplify nonExistent items check

* Cleanup

* Remove unnecessary continue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-04 19:02:32 -05:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00
rijkvanzanten
a878fa9aad Fix datetime readonly interactivity
Fixes #4387
2021-03-04 17:08:09 -05:00
rijkvanzanten
f63edc266d Fix dnd in safari
Fixes #4345
2021-03-04 10:32:41 -05:00
rijkvanzanten
bd80c3e14d Fix disabled states of files/slider
Fixes #4370
2021-03-03 19:17:15 -05:00
Dominic Marcelino
fe0d81c86a Feature/markdown shortcuts (#4314)
* add shortcuts to markdown editor

* Update Tooltips

* remove comment

* Use meta in shortcut translation

* Correct spacing in heading dropdown

* Scope shortcuts to current interface instance

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-26 16:18:37 -05:00
rijkvanzanten
d8432df75f Only show loader if there's no preview yet 2021-02-26 16:04:20 -05:00
Jian Liao
d1a6a61a16 Fix issue 4280 by initializing sortField when create new item (#4294)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix #4288 initialize sortField when create new item

* init the maxSort counter as -1

* use more reliable way to check if sortField exists or not

* reverted unexpected file changes

* Use local previewValues for start sort index

Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-26 16:04:04 -05:00
Rijk van Zanten
db30acbb8a Move sortField to relationship setup (#4304)
* Add migration

* Add sort field to relation types

* Remove sortfield options in favor of relationship

* Add sort field configuration to relational setup

* Save m2a sortfield on the correct row

* Add default sort field to system data
2021-02-25 19:13:36 -05:00
YannickMol
9e1b185c13 Show dialog text in tox in dark mode (#4302)
Fix #4289
2021-02-25 17:13:32 -05:00
MiniDigger | Martin
01ecf994d4 wysiwyg: set the default link protocol to https (#4291)
See https://www.tiny.cloud/docs/plugins/opensource/link/#link_default_protocol

when you don't enter a protocol, and tinyemc thinks you entered an external link, it will prompt you to add https
2021-02-25 11:59:49 -05:00
Nitwel
b69fcec3a4 Add download buttons to files interface (#4287)
* add download button to files interface

* Update app/src/interfaces/files/files.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-02-25 10:01:32 -05:00
Nitwel
4ab1d76b2f change order of toggle icons (#4284) 2021-02-25 09:55:06 -05:00