Nicholas-Westby
155355aa00
Fix for drag & drop failing when dropping fieldset in the same Archetype and the max fieldsets is reached: https://github.com/kgiszewski/Archetype/issues/372
2016-09-14 22:08:04 -07:00
Nicholas-Westby
c125042a86
Avoid fieldsets that can't be expanded: https://github.com/imulus/Archetype/issues/363
2016-05-20 21:38:39 -07:00
kgiszewski
f541b50b82
Merge branch 'master' into pr/356
...
Conflicts:
app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValue.cs
app/controllers/config.controller.js
app/views/archetype.config.fieldset.dialog.html
2016-05-13 10:07:18 -04:00
Nicholas-Westby
5767ea97d1
Workaround for .sortable("instance") not working on older versions of Umbraco.
2016-05-11 21:19:09 -07:00
Nicholas-Westby
e1fa7a3271
Fixed recursion error and tidied up validation logic.
2016-05-07 15:48:39 -07:00
Nicholas-Westby
c2e97e28ce
Disable sortables for Archetypes that can't have the currently dragged fieldset dropped onto them.
2016-05-07 14:54:30 -07:00
Nicholas-Westby
ce3cecbec9
Fix for incorrect validation errors.
2016-05-05 21:52:03 -07:00
Nicholas-Westby
ef5faae254
Allow the last fieldset to be dropped back to its origin list.
2016-05-05 21:18:08 -07:00
Nicholas-Westby
9857059906
Ensured the temporary ID is unique when cloning fieldsets.
2016-05-05 20:05:20 -07:00
Nicholas-Westby
7f7b054c14
Clear errors on the target Archetype too.
2016-05-04 21:28:16 -07:00
Nicholas-Westby
a40d95250e
Clear out errors of nested Archetypes on drop.
2016-05-04 21:15:36 -07:00
Nicholas-Westby
1e6004d3fa
Another RTE fix.
...
Improved handling of validations when moving fieldsets (recursively mark Archetypes as valid).
2016-05-04 20:58:26 -07:00
Nicholas-Westby
0671403732
Fix for rich text editors when dragging between Archetypes.
2016-05-03 21:59:04 -07:00
Nicholas-Westby
de92147ec0
WIP: Attempting to fix RTE when dragging between fieldsets (still needs some work).
2016-05-01 21:23:02 -07:00
Nicholas-Westby
c2b7d2c89d
Allowed rich text editors to be dragged between Archetypes.
2016-05-01 18:27:01 -07:00
Nicholas-Westby
d0fe30f08b
WIP: Better handling of validation errors when dragging fieldsets between Archetypes.
...
Added "jsonSnapshot" (utility function for troubleshooting).
Added "tolerance" (my hope is that will help drag operations act nicer with expanded fieldsets).
2016-05-01 17:33:32 -07:00
Nicholas-Westby
d22ae1244e
Merge remote-tracking branch 'origin/master' into feature/355-nested-dragging
2016-04-30 18:18:14 -07:00
Nicholas-Westby
fa48d73630
Only allow cross-Archetype sorting of a single fieldset if it can be removed.
2016-04-28 20:32:07 -07:00
Nicholas-Westby
d8d4ec1a73
Improved terminology (fieldsets are dragged across Archetypes, not across fieldsets).
2016-04-27 08:21:16 -07:00
Nicholas-Westby
32cb89bba1
Made cross-field dragging opt-in.
2016-04-26 21:40:19 -07:00
Nicholas-Westby
863f041fc9
Fixed issue when dragging newly created fieldset between Archetypes.
...
Ensured that fieldset aliases are compared when judging compatibility during drag.
2016-04-26 21:14:33 -07:00
Nicholas-Westby
5a83719dfc
Performance optimization via short-circuiting.
2016-04-26 05:57:08 -07:00
Nicholas-Westby
7dd07b9f9c
When dragging between Archetypes, only allow the operation when a configured fieldset matches the dragged fieldset.
2016-04-25 21:05:36 -07:00
Nicholas-Westby
29652bb880
Removed a parameter I never ended up using.
2016-04-24 21:54:05 -07:00
Nicholas-Westby
62b7420eaa
Prevent dragging when can't add to or remove from list of fieldsets.
...
Allow dragging into an empty list of fieldsets.
2016-04-24 21:38:59 -07:00
Nicholas-Westby
333f17976b
Enable nested dragging.
2016-04-24 17:57:36 -07:00
kjac
531ff0aab4
Merge remote-tracking branch 'refs/remotes/origin/fix-publishing-for-collapsed-fieldsets' into allowed-member-groups
...
# Conflicts:
# app/views/archetype.default.html
2016-04-23 15:25:33 +02:00
kjac
394572a8fc
Yet another stab at fixing it
...
By tracking the fieldsets that have been expanded (loaded), we can make
sure the submit watchers fire appropriately, even when the fieldsets are
collapsed down again.
Apart from hopefully fixing the publishing issues for collapsed
fieldsets, this also adds a performance gain if the users expand and
collapse the same fieldsets more than once, since the fieldsets now only
load the first time they're expanded (instead of every time).
This also - at least partially - fixes the validation issue #325
introduced by #301
2016-04-23 10:14:56 +02:00
kjac
0b6af3b4e1
Another stab at fixing publishing for collapsed fieldsets
...
Make sure we've loaded moment.js before attempting to use it.
Also a small update to styles to accommodate 7.4
2016-04-10 19:23:31 +02:00
kjac
4b874dc5b5
Another stab at fixing publishing for collapsed fieldsets
2016-04-06 20:40:29 +02:00
kjac
ebf3fd1135
Clean up duplicate code after merge
2016-04-04 21:32:24 +02:00
kjac
85157612f4
Merge remote-tracking branch 'refs/remotes/origin/fix-publishing-for-collapsed-fieldsets' into allowed-member-groups
2016-04-04 21:31:38 +02:00
kjac
6b79a508bb
Fix publishing when all fieldsets are collapsed
...
Because of the lazy loading of property editors, the
submitWatcherOnSubmit method is not necessarily called when an Archetype
is saved. This is indeed the case when all fieldsets are collapsed.
2016-04-04 21:28:19 +02:00
kjac
f57205dab9
More member groups implementation
2016-04-04 21:21:02 +02:00
kjac
b0f614c891
Allowed member groups PoC
2016-03-23 15:08:07 +01:00
kjac
a424a7e4f3
Revert addDefaultProperties to master and adjust addCustomProperties accordingly
2016-03-23 08:38:07 +01:00
kjac
5585244d32
Merge remote-tracking branch 'refs/remotes/origin/master' into publishing
2016-03-22 19:40:59 +01:00
kjac
9336f4508a
Handle publishing in UTC
2016-03-22 19:35:40 +01:00
kgiszewski
e1e34be10d
Merge branch 'master' into pr/311
2016-03-22 11:36:37 -04:00
kjac
8f7024c32a
Comments
2016-03-20 14:05:31 +01:00
kjac
d69a10de48
Clean up
2016-03-20 13:37:34 +01:00
kjac
b93df7a4c0
Add custom properties to new fieldsets
2016-03-20 13:28:22 +01:00
kjac
48dbdebec5
Create expandable settings group and fix icon activation
2016-03-20 13:21:43 +01:00
kjac
65837fa74c
Undo a few things
2016-03-20 12:08:23 +01:00
kjac
0584c4eda5
Prototype (work in progress)
2016-03-20 12:02:21 +01:00
bjarnef
523630416f
Correct for attribute to match id of input
...
... futhermore add title tooltip with value of property alias like in
Umbraco core.
2016-01-05 22:19:08 +01:00
kgiszewski
e640a9b4f4
This depends on a core PR.
2015-12-14 09:53:01 -05:00
kgiszewski
e3a2b66022
Version css and js files
2015-10-07 17:11:26 -04:00
kgiszewski
de7ed9328d
Merge branch 'pr/296'
2015-10-07 09:32:46 -04:00
Kenn Jacobsen
5465c1c899
Use exact match on group name
2015-10-05 14:37:11 +02:00