sulu / suluredirectbundle Goto Github PK
View Code? Open in Web Editor NEWSulu bundle for managing redirects
License: MIT License
Sulu bundle for managing redirects
License: MIT License
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 1.6.27, 2.0.0-RC1 |
SuluRedirect Version | 0.2.2, dev-develop |
Browser Version | - |
The deserialization does skip and setter/getter and can overwrite changer, creator, ids which is a security issue how it is currently implemented.
Use the serializer just to serialize object to json but not json to object use normal setters instead.
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 2.3.1 |
SuluRedirect Version | 2.0 |
If I work import the sourceHost field is empty
my value
in Converter.php add field "sourceHost"
add const SOURCE_HOST = 'sourceHost' and add this variable in foreach on line 54. (https://github.com/sulu/SuluRedirectBundle/blob/2.x/Import/Converter/Converter.php)
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | for 2.0 |
SuluRedirect Version | for 2.0 |
Browser Version | - |
Currently the enabled/disabled is implemented as checkbox in the form.
As noted by @chirimoya things like enabled/disabled or published/unpublish should be a toolbar action and should call an own api endpoint which does just enable and disable this redirect.
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
Sulu Version | for 2.0 |
SuluRedirect Version | for 2.0 |
Browser Version | Browser name and version |
In 1.x version of the redirect bundle there did exist a import overlay.
This should be reimplemented in for 2.0 when sulu provides a ImportToolbarAction:
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
On this moment there is no information how the import is working. You can upload a csv file but you dont know what is needed for this import.
Is it possible to give feedback/information to the user how this redirect functionality is working?
Update:
Removed permissions info.
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Bundle Version | dev-develop |
Sulu Version | 2.1.*@dev |
Browser Version |
It throws an error on the filter-type attribute. See: https://github.com/danrot/sulu/blob/89512c37e28213b4a386cfef8e1eba4838e7220f/UPGRADE.md
Sulu redirect bundle should work with Sulu 2.1.*@dev
Use the sulu redirect bundle in a project with Sulu 2.1.*@dev
Remove the filter-type attribute for now. In the UPDATE.md it states that this attribute is not yet in use at all. I will make a PR for this.
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | ~2.4.2 |
SuluRedirect Version | ^2.1 |
Browser Version | Google Chrome Version 108.0.5359.125 |
Only tried in Google Chrome Browser
Import a CSV file with the two columns "source" and "target" result an error of:
The intl string context variable "fileName" was not provided to the string "Unexpected error while uploading {fileName, select, undefined{a file} other{the file {fileName}}} to the server."
Importing a CSV file with those two columns should be possible according to the docs.
Create a CSV file with the required columns "target" and "source" and try to import it.
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | 1.6.0-RC1 |
SuluRedirect Version | 0.1.1 |
Currently you can create a redirect rule e.g. source test.html
which is invalid as it can never map as the slash is required /test.html
.
Automatically add the /
when saving or writing the url or validate it in the frontend.
Create rule with source test.html
.
See expected behavior.
Mostly when you create a new website you can not create for all old urls redirects.
It would be good to have a 404 url list in the backend foreach webspace with a counter (which urls was called most) and the content manager create a redirect to a specific page / url.
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
Bundle Version | develop |
Sulu Version | 2.0.3 |
So that it's translatable
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | 0.1.* |
SuluRedirect Version | --- |
Browser Version | --- |
When importing a file without header line (source,target
) the import fails foreach line without message.
The import should work or fail with an accurate error message.
Upload csv file without header line.
There are two possible solutions:
source,target
as default header and try to importQ | A |
---|---|
Bug? | no |
New Feature? | yes |
Sulu Version | 2.0 |
SuluRedirect Version | 2.x |
Browser Version | All |
Now it's not possible to install this bundle without change stability of composer to dev.
Install via composer with a stable version
composer require sulu/redirect-bundle ( with a clean install of sulu skeleton )
Tag a 2.0 version for Sulu. I don't know if something is missing or it's planned a release date ( if so, close this issue ) . If i can help, please tell me
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | - |
SuluRedirect Version | 2.0.0 |
Browser Version | - |
If gone on remove is enabled and you try to remove a page in admin it fails.
GoneDocumentSubscriber try to save the page https://github.com/sulu/SuluRedirectBundle/blob/2.x/GoneSubscriber/GoneDocumentSubscriber.php#L100
but saveBydata method fails due to missing 'sourceHost' key
https://github.com/sulu/SuluRedirectBundle/blob/2.x/Manager/RedirectRouteManager.php#L41
The page is removed and redirect is created .
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 2.4.0 |
SuluRedirect Version | 2.0.2 |
Browser Version | - |
Since #63 the redirect bundle lowercases all target URLs, which can make the whole redirect useless depending on whether the target application's URLs are case sensitive or not.
The target URL is adopted as it is entered.
Add a redirect to e.g. a Spotify playlist URL (which is case sensitive). When opening the source URL, the Spotify page you get redirected to will load forever or show an error page.
Remove the mb_strtolower
call for the target URL.
Would you accept this change or would this be considered a BC break?
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 1.6.21 |
SuluRedirect Version | 0.2.0 |
Gone subscriber can't be disabled.
Gone should be able to be disabled currently the service is always loaded.
Try to disable the gone subscriber over the configuraiton
Load gone_subscriber.xml only when enabled.
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | 1.6, 2.0.0-RC1 |
SuluRedirect Version | 0.2.2, dev-devleop |
Browser Version | - |
Currently there is no multi webspace / domain support. You can redirect to a specific domain but the source can not have a domain.
There should be an additional sourceHost
property which should be set by the GoneSubscriber ({host} host will be replaced with null which is the same as matching for all domains). SourceHost can be empty so it will match all domains. If a source exist in both with and without a sourceHost it should use the redirect with the host.
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
Sulu Version | none |
SuluRedirect Version | all |
Browser Version | none |
The security-context currently only implement the VIEW
permission.
This should be extended to ADD
, EDIT
, DELETE
, UPDATE
.
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 2.4 |
SuluRedirect Version | Specific version or SHA of a commit |
Browser Version | Browser name and version |
When I make a redirection from a source with .html
extension, the redirect is available only if I don't specify sourceHost.
Redirect properly when defining a sourceHost.
source : test.html
sourceHost: your host or 127.0.0.1:8000
target : /
=> 404
source : test.html
sourceHost: empty host
target : /
=> It's ๐
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
Sulu Version | 1.6 |
SuluRedirect Version | 0.1.3 |
Does not have Dutch language
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | 0.1.3 |
SuluRedirect Version | 1.6.6 |
Browser Version | none |
Currently the unique key for source
is case insensitive (by mysql default). This leads into that the redirect for /test
will also work for /Test
and the import will only allow one of them (but redirect both).
This has impact on the following code snippets:
That should be discussed.
Do Nothing to keep case-insensitive unique-key or mark key as BINARY
to make it case-sensitive.
Q | A |
---|---|
Bug? | no |
New Feature? | no |
Sulu Version | Specific version or SHA of a commit |
SuluRedirect Version | Specific version or SHA of a commit |
Browser Version | Browser name and version |
Currently the redirect target is just a absolute url or absolute path.
It would be nice to redirect always to a specific page also when the page url changes. This could be done by using the link field type instead a text input.
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Sulu Version | 1.6 |
SuluRedirect Version | 0.1.1 |
Currently its not possible to delete redirects as the remove button is never activated.
The remove button should be enabled when a checkbox is marked in the list to remove a specific item.
Q | A |
---|---|
Bug? | no |
New Feature? | yes |
Sulu Version | 2.x |
SuluRedirect Version | 2.x |
Currently there is no export toolbar action and that is probably a bit confusing for users who want to import redirects, because they have no template at all about how the import csv file should look like.
There should be a export toolbar action
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.