feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s
Build and publish container images / images (push) Failing after 12m29s
This commit is contained in:
1 parent
96065d1e89
commit
0ba1dcfef0
243 files changed
+21441
-3090
No files matched your search
@@ -202,6 +202,9 @@ func (s *Server) adapterActionsForPath(r *http.Request, semanticPath string) ([]
|
||||
return plugins[i].DefaultEditor && !plugins[j].DefaultEditor
|
||||
})
|
||||
for _, plugin := range plugins {
|
||||
if plugin.Mode == "editor" && !s.store.SupportsHostedEditors() {
|
||||
continue
|
||||
}
|
||||
if pluginMatches(plugin, strings.ToLower(mediaType), filename) {
|
||||
actions = append(actions, adapterAction{
|
||||
ID: plugin.ID, Name: plugin.Name, Mode: plugin.Mode,
|
||||
@@ -341,6 +344,10 @@ func (s *Server) handleOpenWith(w http.ResponseWriter, r *http.Request) {
|
||||
http.NotFound(w, r)
|
||||
return
|
||||
}
|
||||
if selected.Mode == "editor" && !s.store.SupportsHostedEditors() {
|
||||
http.Error(w, "hosted editors are unavailable on this database backend; use the built-in editor", http.StatusServiceUnavailable)
|
||||
return
|
||||
}
|
||||
actions, err := s.adapterActionsForPath(r, semanticPath)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), 404)
|
||||
|
||||
Reference in new issue
Block a user