Bug #58588

Hardcoded URIs in backend

Added by Aske Ertmann about 1 year ago. Updated about 1 year ago.

Status:Resolved Start date:2014-05-07
Priority:Must have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:JavaScript
Target version:Base Distribution - 1.1

Description

in Resource/Public/JavaScript there are occurrences of neos/; fixing directions:

  • Image editor and asset editor pointing to the media browser
  • Resources\Public\JavaScript\Content\Inspector\Editors\ImageEditor.js: _defaultUploadPreviewImageSource: '/_Resources/Static/Packages/TYPO3.Neos/Images/dummy-image.png', // TODO: we need a way to fetch the static resources base URI and template: Ember.Handlebars.compile('<iframe style="width:100%; height: 100%" src="/neos/content/assets"></iframe>')
  • Menu panel controller checks for /neos/
  • Publish menu has a link to the workspaces module

<+aertmann> open NeosBackendEndpoints.html
<+aertmann> and add those that's needed.. then you use something similar to $('link[rel="neos-vieschema"]').attr('href') in the JS
<+aertmann> for the /neos/ one you just link to the Backend/Backend controller
<+aertmann> Backend\Backend *


Related issues

duplicated by TYPO3.Neos - Bug #59072: Multiple 404 if 'base url' is not '/' Closed 2014-05-24

Associated revisions

Revision 5d75e38d
Added by Adrian Föder about 1 year ago

[FEATURE] uri.module view helper

This introduces an uri.module view helper as counterpart
to the link.module view helper.

Change-Id: I692b6caec317e2be517d264f26f5661e67d0464b
Related: #58588
Reviewed-on: https://review.typo3.org/29944
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Reviewed-by: Rens Admiraal
Reviewed-by: Christopher Hlubek
Tested-by: Christopher Hlubek

Revision ad3380e3
Added by Adrian Föder about 1 year ago

[BUGFIX] Resolve hardcoded URIs in Backend context

This removes occurrences of hard coded URIs to
end points, modules etc. This finally enables
using Neos with custom routes or being installed
below a subdirectory.

Change-Id: Ia32360a99cd11b50935160a424546876579b46c7
Releases: 1.1, master
Fixes: #58588
Reviewed-on: https://review.typo3.org/29933
Reviewed-by: Christopher Hlubek
Tested-by: Christopher Hlubek

Revision d3dd0014
Added by Adrian Föder about 1 year ago

[BUGFIX] Resolve hardcoded URIs in Backend context

This removes occurrences of hard coded URIs to
end points, modules etc. This finally enables
using Neos with custom routes or being installed
below a subdirectory.

Change-Id: Ia32360a99cd11b50935160a424546876579b46c7
Releases: 1.1, master
Fixes: #58588
Reviewed-on: https://review.typo3.org/29933
Reviewed-by: Christopher Hlubek
Tested-by: Christopher Hlubek
(cherry picked from commit ad3380e354fd58f2585fc1575a697f7c4e9039b2)
Reviewed-on: https://review.typo3.org/30406
Reviewed-by: Christian Mueller
Tested-by: Christian Mueller

Revision c6def106
Added by Adrian Föder about 1 year ago

[FEATURE] uri.module view helper

This introduces an uri.module view helper as counterpart
to the link.module view helper.

Change-Id: I692b6caec317e2be517d264f26f5661e67d0464b
Related: #58588
Reviewed-on: https://review.typo3.org/29944
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Reviewed-by: Rens Admiraal
Reviewed-by: Christopher Hlubek
Tested-by: Christopher Hlubek
(cherry picked from commit 5d75e38df1422aa74440d74706df10546f718f3b)
Reviewed-on: https://review.typo3.org/30413
Reviewed-by: Christian Mueller
Tested-by: Christian Mueller

History

#1 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#2 Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#3 Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#4 Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#5 Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#6 Updated by Gerrit Code Review about 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/29933

#7 Updated by Adrian Föder about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 1.1 of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/30406

#9 Updated by Adrian Föder about 1 year ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF