-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Directory assets #12226
Comments
12 tasks
Blockers encountered:
Inconsistencies encountered:
|
mattiagiupponi
added a commit
that referenced
this issue
May 21, 2024
12 tasks
mattiagiupponi
added a commit
that referenced
this issue
Jun 18, 2024
[Fixes #12226] Directory assets
mattiagiupponi
added a commit
that referenced
this issue
Jun 18, 2024
[Fixes #12226] Directory assets --------- Co-authored-by: etj <[email protected]>
12 tasks
giohappy
pushed a commit
that referenced
this issue
Jul 3, 2024
[Fixes #12226] Directory assets --------- Co-authored-by: etj <[email protected]>
giohappy
pushed a commit
that referenced
this issue
Sep 24, 2024
…2411) * [Fixes #12124] GNIP 100: Assets (#12335) * [Fixes #12124] GNIP 100: Assets --------- Co-authored-by: etj <[email protected]> * [Fixes #12226] Directory assets (#12337) [Fixes #12226] Directory assets --------- Co-authored-by: etj <[email protected]> * [Fixes #12341] Asset download handler and link generator (#12343) * [Fixes #12341] Download handler fix * [Fixes #12341] Assets: link generation (#12342) --------- Co-authored-by: Emanuele Tajariol <[email protected]> * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] rollback requirements --------- Co-authored-by: etj <[email protected]> Co-authored-by: Emanuele Tajariol <[email protected]>
giohappy
pushed a commit
that referenced
this issue
Sep 24, 2024
…2411) * [Fixes #12124] GNIP 100: Assets (#12335) * [Fixes #12124] GNIP 100: Assets --------- Co-authored-by: etj <[email protected]> * [Fixes #12226] Directory assets (#12337) [Fixes #12226] Directory assets --------- Co-authored-by: etj <[email protected]> * [Fixes #12341] Asset download handler and link generator (#12343) * [Fixes #12341] Download handler fix * [Fixes #12341] Assets: link generation (#12342) --------- Co-authored-by: Emanuele Tajariol <[email protected]> * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] rollback requirements --------- Co-authored-by: etj <[email protected]> Co-authored-by: Emanuele Tajariol <[email protected]>
giohappy
added a commit
that referenced
this issue
Sep 24, 2024
…2411) (#12611) * [Fixes #12124] GNIP 100: Assets (#12335) * [Fixes #12124] GNIP 100: Assets --------- * [Fixes #12226] Directory assets (#12337) [Fixes #12226] Directory assets --------- * [Fixes #12341] Asset download handler and link generator (#12343) * [Fixes #12341] Download handler fix * [Fixes #12341] Assets: link generation (#12342) --------- * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] Assets: implement migration for old uploaded files * [Fixes #12326] rollback requirements --------- Co-authored-by: mattiagiupponi <[email protected]> Co-authored-by: etj <[email protected]> Co-authored-by: Emanuele Tajariol <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Allow Assets to handle full directory hierarchies.
Administration
Logic
Access / download
URL handling
Let's say we have a LocalAsset (pk=10) with location
/mnt/statics/assets/20240514etcetc/myindex
.We have in
/mnt/statics/assets/20240514etcetc
the filesmyindex
file1
otherdir/file2
The request
http://server/api/v2/assets/10/link
will return the content of the filemyindex
.myindex
will have info about the content in the directory, relative to itself, so it will contain as references "file1
", "otherdir/file2
".The client will be able to perform calls to:
http://server/api/v2/assets/10/link/file1
http://server/api/v2/assets/10/link/otherdir/file2
and in general
http://server/api/v2/assets/<PK>/link/<PATH>
Note that
http://server/api/v2/assets/10/link/myindex
will return the same content ashttp://server/api/v2/assets/10/link
The text was updated successfully, but these errors were encountered: