alanimdeo / conveyor Goto Github PK
View Code? Open in Web Editor NEWAutomatic file move/rename assistant
License: MIT License
Automatic file move/rename assistant
License: MIT License
CSRF 방지 토큰이 /api/logout 요청에 포함되지 않아 발생.
자주 사용하는 정규식 등을 빠르게 추가할 수 있도록 하는 기능
유니코드 정규화(String.prototype.normalize())를 이용해 사용자 입력 및 파일명을 정규화한 후 저장하는 작업이 필요함
로그 확인 시에도 ID 대신 이름으로 표시되도록 수정
파일 복사 중에 이름이 변경될 경우 제대로 복사가 완료되지 않아 파일이 손상될 수 있으므로 이동 전에 일정한 시간을 기다리도록 하는 옵션을 추가
RangeError: Too many parameter values were provided
at Database.all (/conveyor/modules/db.js:358:45)
at Database.getWatchConditions (/conveyor/modules/db.js:75:29)
at /conveyor/routes/api/watchCondition.js:13:21
at Layer.handle [as handle_request] (/conveyor/node_modules/express/lib/router/layer.js:95:5)
at next (/conveyor/node_modules/express/lib/router/route.js:144:13)
at isLoggedIn (/conveyor/middlewares/auth.js:6:9)
at Layer.handle [as handle_request] (/conveyor/node_modules/express/lib/router/layer.js:95:5)
at next (/conveyor/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/conveyor/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/conveyor/node_modules/express/lib/router/layer.js:95:5)
파일 다운로드/업로드 중에 해당 파일이 이동되는 문제가 발생할 수 있으므로 파일의 용량 변화를 감지하여 일정 시간동안 용량 변화가 없을 경우 작업을 진행하도록 하는 것이 좋을 것 같음.
경로에 ~
을 사용하면 홈 디렉토리로 가지 않고 Conveyor 폴더 내에 이름이 ~
인 폴더가 생성됨
첫 로그인 시 쿠키를 발행하고 이후에 갱신이 되지 않아 로그인 후 세션 지속 시간이 끝나면 로그아웃됨.
UTC와 지역 시간의 차이로 인해 발생하는 듯함.
supervisor에서 nodemon으로 바꾼 게 원인인 듯.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.