This commit is contained in:
@@ -5,7 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
|
||||
|
||||
todo: Administration - Attached files manager
|
||||
replicate v7
|
||||
add sync job callable on demand
|
||||
add EXCLUSIVE SYNC job callable on demand
|
||||
EXISTENCE CHECK
|
||||
iterate FileAttachment records, if physically present then flag as such
|
||||
make sure it has a short circuit that if there are NO files physically then all are out of sync
|
||||
@@ -13,6 +13,7 @@ todo: Administration - Attached files manager
|
||||
ORPHANED FILES CHECK
|
||||
iterate physical files, if not in db then make a FileAttachment record for it AyaType nothing id 0
|
||||
if user want's to move them, they can download and then attach and then remove the generated attachment (Nothing id 0) the holder of orphaned files
|
||||
(Or move feature)
|
||||
DE-ORPHANIZE ACTION
|
||||
iterate orphaned file attachments to orphaned file object, if found to be attached to any other object remove the orphaned object attachement
|
||||
|
||||
@@ -27,12 +28,11 @@ todo: Administration - Attached files manager
|
||||
show icon of object type in grid
|
||||
show full physical path and name
|
||||
(going to be hella long)
|
||||
Move attachment bulk op
|
||||
Select one ore more files then select MOVE
|
||||
UI pops up to select object type and manually type in the id
|
||||
it then checks to see that that object exists before moving them to it
|
||||
|
||||
orphaned files?
|
||||
need a way to check for orphaned files and re-integrate them into the db
|
||||
i.e. scan for all files without matching db attachments and create a db file attachment
|
||||
Perhaps runs on demand as seperate job?
|
||||
but user will think it's the same thing so maybe no
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user