-
Notifications
You must be signed in to change notification settings - Fork 4
Adjust/remove deprecated image preview #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Conversation
enable_debug); | ||
} | ||
|
||
$.fn.refresh_fm_layout = refresh_fm_layout; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell for certain from the context but I suppose this refresh is specific to the preview so that it can indeed go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted after revisiting the code it seems like this one is actually non-preview specific.
@@ -961,7 +961,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removal will likely break rewriting due to the trailing [OR]
in the previous line.
@@ -1420,7 +1403,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -2072,7 +2038,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/(wsgi|cgi)-bin/(autocreate|autologout|logout).py$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known|openid|cgi-sid)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -2674,7 +2623,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/(wsgi|cgi)-bin/(autocreate|autologout|logout).py$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known|openid|cgi-sid)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -3587,7 +3519,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/(wsgi|cgi)-bin/(autocreate|autologout|logout).py$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known|openid|cgi-sid)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -4185,7 +4100,6 @@ __IS_VERIFYCERTS_COMMENTED__ <VirtualHost *:${PUBLIC_HTTP_PORT}> | |||
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and last copy of the same.
@@ -961,7 +961,6 @@ Alias /status-events.json "/home/mig/state/wwwpublic/status-events.json" | |||
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(images|assets|public|.well-known)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/(seafmedia|seafhttp|seafile)/ [OR] | |||
RewriteCond %{REQUEST_URI} ^/paraview/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a reminder that this fixture file needs all the same updates after fixing the [OR]
issue above in the template.
for key in ('image_type', 'data_type'): | ||
__type_map[key] = valid_alphanumeric | ||
|
||
for key in ('offset', 'x_dimension', 'y_dimension', 'z_dimension'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we may have other valid uses of the offset
input arg, but AFAICT we do in fact have another duplicate offset
handler in guess_type
, so I guess it's alright.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and ready for merge as soon as the RewriteCondition
comment issue is handled.
Remove deprecated and non-maintained image preview functionality along with it's helper modules