All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- support nodejs 14
- npm script for pm2 ecosystem
node src/optimize.js
to optimize solr cores
- dropped nodejs 10 support
- cleanup script will now check and warn for files with invalid state in DB
- cleanup script will remove lone hash files when original video file is gone
- improve console log messages
- fs watch will flatten folder structures when adding new video
- Searching wrong solr cores when prefix is the same in the same solr server
- Support nodejs 12
- Update dependencies
node src/status.js
to check solr core status- Use prettier instead of eslint
- Update dependencies
- Use markdown code format for Telegram notification
- Remove nodejs 12 support
npm run cleanup
to unload deleted files from solr- created and updated time field in database
- Too many connections error when
npm run hash
skip jobs
- use knex to replace promise-mysql
SQL upgrade script for upgrading to 0.5.0
ALTER table files
ADD `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
ADD INDEX `status` (`status`),
ADD INDEX `created` (`created`),
ADD INDEX `updated` (`updated`);
Docker is now used by default.
docker-compose
to start all required containers at once- Support file upload search
- Support solr 7.5.0
- Use
.env
instead ofconfig.json
- Support configuring Telegram channel ID
- Create core fail due to wrong schema
- Use fetch instead of request
- LICENSE changed from GPL to MIT
- Use java class path from
/opt/solr
instead of user home
- Upgraded fs-extra to 6.0.0
- Support posting notification to discord. See
config.default.json
- Updated some information on README.md
- Initial commit
- 6 script commands
npm run create-core -- [num_of_cores]
npm run delete-core
npm run hash
npm run load
npm run check-new -- [last_n_minutes]
npm run watch
- 1 demo script
node src/search.js /tmp/1.jpg