1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00
phorge-phorge/webroot/rsrc
Dylan F 90f9da643d Add and use new RemarkupMetadata class
Summary:
Add a new RemarkupMetadata class and use with upload button as well as drag and drop pathways.

With this change, files are now attached automatically to the object. This this could solve
several issues, for example when a person uploads a file but only that author is able to see it.

Ref T15106

Test Plan:
- Drag and drop file, upload file with button. Check that both files are attached with "attachedFilePHIDs" values.
    - drop file in a Task description (now works)
    - drop file in a Task comment (now works)
    - drop file in an edited Task comment (still not supported)
- This was already tested in Wikimedia Foundation: https://phabricator.wikimedia.org/D1203

Reviewers: O1 Blessed Committers, avivey, Matthew

Reviewed By: O1 Blessed Committers, avivey, Matthew

Subscribers: MCPCN, avivey, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Tags: #remarkup

Maniphest Tasks: T15106

Differential Revision: https://we.phorge.it/D25052
2023-04-24 01:53:16 +00:00
..
audio/basic Add a few more sounds 2017-04-19 13:47:23 -07:00
css Mobile: show Homepage contents and avoid duplicate menus 2023-04-09 22:48:47 +02:00
externals Fix regression in new confirmation Dialog 2023-03-14 20:24:50 +01:00
favicons Dynamically composite favicons from customizable sources 2018-03-12 15:28:41 -07:00
image Update sprite sheets 2022-11-11 13:04:20 -07:00
js Add and use new RemarkupMetadata class 2023-04-24 01:53:16 +00:00