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
@@ -193,18 +193,10 @@ func (s *Server) taskPagePath(r *http.Request, id string) string {
|
||||
if id == "" {
|
||||
return ""
|
||||
}
|
||||
rows, err := s.store.DB.QueryContext(r.Context(), `SELECT path FROM paths WHERE domain_uuid=? AND object_uuid=? ORDER BY length(path),path LIMIT 100`, s.domainUUIDForRequest(r), id)
|
||||
paths, err := s.store.ObjectAliasPaths(r.Context(), s.domainUUIDForRequest(r), id)
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
paths := []string{}
|
||||
for rows.Next() {
|
||||
var p string
|
||||
if rows.Scan(&p) == nil {
|
||||
paths = append(paths, p)
|
||||
}
|
||||
}
|
||||
rows.Close()
|
||||
allows := s.pathReadFilter(r)
|
||||
for _, p := range paths {
|
||||
if allows(p) {
|
||||
|
||||
Reference in new issue
Block a user