[x] ZIP download: Send a list of ids (files and/or folders) and automatically starts downloading a zip. The zip will be constructed while being downloaded (no wait time to build the zip), we did in in PHP so should be OK in node.
[x] Search: In three steps:
Extract during the thumbnail generation time the important words of the documents (max 250 unique words ordered by lower frequency and term length first). And save the result to the content_keywords field.
Create a drive-file.search.ts and alter drive-file.ts to implement the search object (see user.ts and user.search.ts for example)
Create the POST /companies/:company_id/search to search on multiple fields (tags, name&content, creation date, creator)
[x] Auto rename folders and files with same name in the same folder after creating / updating / moving a document
[x] Prevent moving a folder inside itself or one of its children
[x] Do not trust the frontend data and get the drive item size from the version, and also get the up to date version from the file service (so the frontend in fact should just send you some id and the rest is computed in backend)
[x] Size computation of parents not working
[x] Cleanup of entities (remove unused fields relative to old php entities)
[x] (done by Romaric) Realtime endpoint, publish any change to an item to the realtime endpoint corresponding to the parent of this document.
[x] ZIP download: Send a list of ids (files and/or folders) and automatically starts downloading a zip. The zip will be constructed while being downloaded (no wait time to build the zip), we did in in PHP so should be OK in node.
[x] Search: In three steps:
drive-file.search.ts
and alterdrive-file.ts
to implement the search object (see user.ts and user.search.ts for example)POST /companies/:company_id/search
to search on multiple fields (tags, name&content, creation date, creator)[x] Auto rename folders and files with same name in the same folder after creating / updating / moving a document
[x] Prevent moving a folder inside itself or one of its children
[x] Do not trust the frontend data and get the drive item size from the version, and also get the up to date version from the file service (so the frontend in fact should just send you some id and the rest is computed in backend)
[x] Size computation of parents not working
[x] Cleanup of entities (remove unused fields relative to old php entities)
[x] (done by Romaric) Realtime endpoint, publish any change to an item to the realtime endpoint corresponding to the parent of this document.