Commit Graph

  • 13c6af45a1 avoid heap allocation reading uuid from sqlite Scott Lamb 2017-02-13 19:36:05 -08:00
  • 5d727a9c83 enforce foreign keys, swap delete order Scott Lamb 2017-02-12 20:56:04 -08:00
  • b7957edb5a fix "Edit retention" fs capacity calculation Scott Lamb 2017-02-05 22:57:45 -08:00
  • da4e439b9c benchmark camera page, fix broken schema Scott Lamb 2017-02-12 20:37:03 -08:00
  • 3314673b8f fix ncurses package names Scott Lamb 2017-02-05 21:58:41 -08:00
  • 04c124546b update dependencies Scott Lamb 2017-02-05 21:22:06 -08:00
  • 625c6f807b small dep README.md/prep.sh fixes Scott Lamb 2017-02-05 20:55:41 -08:00
  • f97e232131 upgrade dependencies Scott Lamb 2017-02-05 20:13:51 -08:00
  • c82f038bef new "moonfire-nvr config" subcommand Scott Lamb 2017-02-05 19:58:41 -08:00
  • b3a7795407 update to latest http-entity Scott Lamb 2017-01-28 20:10:21 -08:00
  • 87de4b4f5c update several dependencies Scott Lamb 2017-01-27 20:58:04 -08:00
  • 168cd743f4 new command to initialize a database Scott Lamb 2017-01-16 14:21:08 -08:00
  • 3af9aeee96 use xsv-style subcommands like "moonfire-nvr run" Scott Lamb 2017-01-16 12:50:47 -08:00
  • a6ec68027a add matching time parsing and formatting routines Scott Lamb 2017-01-12 23:09:02 -08:00
  • c96f306e18 fix up the benchmarks Scott Lamb 2017-01-08 14:22:35 -08:00
  • 02d3bf5e39 better schema.sql comments Scott Lamb 2017-01-07 23:11:34 -08:00
  • db3d78ba69 better error msg if unable to open sample file dir Scott Lamb 2017-01-07 19:48:40 -08:00
  • 3e58230813 avoid a SQLite3 sort in list_recordings_by_time Scott Lamb 2017-01-07 00:16:34 -08:00
  • 6f2b66c406 be robust to crazy timestamps in ffmpeg streams Scott Lamb 2017-01-06 23:30:24 -08:00
  • cdbcad6c80 add a --check subcommand Scott Lamb 2017-01-06 22:54:19 -08:00
  • 21b8e0b6df gracefully handle bad video_indexes during upgrade Scott Lamb 2017-01-06 20:48:06 -08:00
  • a7e1c9473a extract varint/zigzag stuff to separate module Scott Lamb 2017-01-03 10:33:53 -08:00
  • 586902d30f Merge branch 'new-schema' Scott Lamb 2017-01-01 22:59:49 -08:00
  • e1cb5f4204 small improvements to schema upgrade instructions Scott Lamb 2017-01-01 22:58:27 -08:00
  • 0f4c554ec5 improve the camera html page Scott Lamb 2017-01-01 22:47:26 -08:00
  • 462d2b9a01 merge rust branch into master Scott Lamb 2017-01-01 18:38:45 -08:00
  • 068890fa8a Improve ClockAdjuster comments Scott Lamb 2016-12-30 19:44:41 -08:00
  • fb057309f5 slightly simplify local_start logic Scott Lamb 2016-12-30 19:35:50 -08:00
  • 14461fcad9 bugfix: only double length of first recording Scott Lamb 2016-12-30 06:39:09 -08:00
  • bca92fbf8d compilation fix for 32-bit arm Scott Lamb 2016-12-30 06:35:10 -08:00
  • 938d8a752f camera clock frequency correction Scott Lamb 2016-12-29 21:05:57 -08:00
  • a71f6e66d8 test the new local time logic Scott Lamb 2016-12-29 17:14:36 -08:00
  • c7443436a5 skip the first rotation Scott Lamb 2016-12-29 13:07:25 -08:00
  • cc297adc75 clean up Writer interface slightly Scott Lamb 2016-12-29 12:33:34 -08:00
  • d001e4893c new logic for calculating a recording's start time Scott Lamb 2016-12-28 20:56:08 -08:00
  • 063708c9ab try again to fix time.md diagram Scott Lamb 2016-12-26 21:41:19 -08:00
  • 8ee44efcf2 try to fix some time.md formatting Scott Lamb 2016-12-26 21:39:00 -08:00
  • f8f7c755ff attempt to fix svg linking Scott Lamb 2016-12-26 21:00:42 -08:00
  • 5a6cd4e590 new design doc describing approach to time Scott Lamb 2016-12-26 20:55:43 -08:00
  • eee887b9a6 schema version 1 Scott Lamb 2016-12-20 22:08:18 -08:00
  • fee4141dc6 replace resource.rs with new http-entity crate Scott Lamb 2016-12-20 18:29:45 -08:00
  • 86dd36d7a5 version the sqlite3 database schema Scott Lamb 2016-12-20 15:44:04 -08:00
  • eb4221851e add some comments to Slices Scott Lamb 2016-12-16 23:11:08 -08:00
  • 8e499aa070 compile with stable Rust Scott Lamb 2016-12-09 22:04:35 -08:00
  • d48a3e16a8 switch to ffmpeg with compile fix for Linux/arm Scott Lamb 2016-12-08 22:20:20 -08:00
  • 1865427f75 fully implement json handling as in spec Scott Lamb 2016-12-08 21:28:50 -08:00
  • 678500bc88 stop using a couple unstable features Scott Lamb 2016-12-07 21:05:49 -08:00
  • 474b5403a9 Merge pull request #6 from dolfs/rust Scott Lamb 2016-12-06 20:56:28 -08:00
  • 632358b039 test and fix If-Match handling Scott Lamb 2016-12-06 19:17:46 -08:00
  • 8df0eae567 add a basic test of Streamer, fix it Scott Lamb 2016-12-06 18:41:44 -08:00
  • 3332f817c0 commit Cargo.lock Scott Lamb 2016-12-02 21:50:37 -08:00
  • d72feb79bb style: convert try!(...) to ...? in web.rs Scott Lamb 2016-12-02 21:46:31 -08:00
  • eb2dadd4f0 test and fix .mp4 generation code Scott Lamb 2016-12-02 20:40:55 -08:00
  • c739bd799e Corrections as requested in pull request Dolf Starreveld 2016-12-01 01:33:49 -08:00
  • 2b37c30dd3 - Fixed a left behind customization in the prep.sh script Dolf Starreveld 2016-11-30 22:10:34 -08:00
  • af7aa26709 - Fix prep.sh script to exit on test failure - Add prep.sh capabilty to read custom configuration from file prep.config (ignored in .gitignore) to keep script pristine Dolf Starreveld 2016-11-30 22:05:52 -08:00
  • 7d15a54a47 Merge branch 'rust' of https://github.com/scottlamb/moonfire-nvr into rust Dolf Starreveld 2016-11-30 21:48:24 -08:00
  • 59051f960d Make tests not care about the machine's timezone Scott Lamb 2016-11-30 11:17:46 -08:00
  • b15ec58865 test behavior of dropped transactions Scott Lamb 2016-11-30 10:59:19 -08:00
  • 32647e20f5 Fix error deleting a camera's last recordings Scott Lamb 2016-11-30 10:41:25 -08:00
  • bc604ae012 mention the brand new Rust branch in the README Scott Lamb 2016-11-25 15:01:46 -08:00
  • 0a7535536d Rust rewrite Scott Lamb 2016-11-25 14:34:00 -08:00
  • 0f75e4f94a fix a couple README formatting mistakes Scott Lamb 2016-11-25 13:03:58 -08:00
  • 98720911c7 update the README to reflect the SQLite schema Scott Lamb 2016-11-25 13:00:27 -08:00
  • 7c5a90b8fb Merge pull request #5 from zetafunc/patch-1 Scott Lamb 2016-11-25 11:45:22 -08:00
  • 350abbb97f Fix for Ubuntu 16.04.01 zetafunc 2016-11-25 22:58:50 +11:00
  • b50050358c read-only operation, database locking Scott Lamb 2016-11-12 11:57:44 -08:00
  • 9f087eefa9 be more forgiving of out-of-date profiles Scott Lamb 2016-11-12 11:49:31 -08:00
  • 60f0ffc970 Upgrade to latest googletest/googlemock release Scott Lamb 2016-11-12 11:40:18 -08:00
  • 6b6137f8e7 fixes to mp4 generation Scott Lamb 2016-10-18 20:28:25 -07:00
  • 0aadf227c1 Benchmark & speed up SampleIndexIterator Scott Lamb 2016-05-19 22:53:23 -07:00
  • d083797e42 Coalesce adjacent recordings for efficiency Scott Lamb 2016-05-10 17:37:53 -07:00
  • b27df92cac {start,end}_time_usec should be ..._time_90k Scott Lamb 2016-05-10 17:10:42 -07:00
  • 3aac88aa35 Fixes to design doc markdown. Scott Lamb 2016-05-03 05:20:23 -07:00
  • 7bdaf161cf Support limiting the range when listing recordings Scott Lamb 2016-05-03 05:17:06 -07:00
  • d07ecc877b Remove a TODO that's been done. Scott Lamb 2016-05-02 19:43:56 -07:00
  • cd1c536efe Export the calendar days map. Scott Lamb 2016-05-02 08:38:52 -07:00
  • 1d55567384 Populate MoonfireDatabase::CameraData::days. Scott Lamb 2016-05-02 08:24:22 -07:00
  • 28fa458982 A helper to find the bounds of a day. Scott Lamb 2016-05-01 22:12:55 -07:00
  • 292bcbaad5 Add helper for adjusting date-to-duration map. Scott Lamb 2016-05-01 21:26:17 -07:00
  • a7bfb00083 More logging tweaks. Scott Lamb 2016-05-01 10:06:31 -07:00
  • cefbcedc9c Logging tweak. Scott Lamb 2016-05-01 10:01:07 -07:00
  • 52b6b8272c Remove a stray LOG(INFO). Scott Lamb 2016-05-01 09:42:55 -07:00
  • 3030e3fb32 Support trimming video segments. Scott Lamb 2016-05-01 09:16:14 -07:00
  • 713d7863de Improve warning message on open failure. Scott Lamb 2016-04-30 08:51:58 -07:00
  • 374975a73c On startup, ensure --sample_file_dir is writable. Scott Lamb 2016-04-30 08:38:29 -07:00
  • 33b24197c3 Merge pull request #3 from dolfs/prepfix Scott Lamb 2016-04-30 07:31:57 -07:00
  • c562ccd3fa Fix oversight in prep.sh Dolf Starreveld 2016-04-29 16:22:49 -07:00
  • f9135a263b Fixes to prep.sh Dolf Starreveld 2016-04-29 16:20:42 -07:00
  • 138db4f491 Compile fixes for Raspbian 8. Scott Lamb 2016-04-25 04:54:36 -07:00
  • ff08118001 Support for timetamp subtitles. Scott Lamb 2016-04-25 04:17:43 -07:00
  • 5dd0dca51f Add a simple JSON API. Scott Lamb 2016-04-23 13:55:36 -07:00
  • 8ab2edb970 Merge pull request #2 from dolfs/master Scott Lamb 2016-04-23 10:20:46 -07:00
  • 770fe1512a Updated README to explain and show use of "cameras.sql" Dolf Starreveld 2016-02-09 00:02:07 -08:00
  • c4a5c52773 Merge pull request #1 from dolfs/master Scott Lamb 2016-02-08 22:49:34 -08:00
  • e7456643cd Added prep.sh script for automated builds * Changed README.md commensurately * Add cameras.sql to .gitignore to not commit personal camera data * Change CMakeLists.txt to explicitly refer to hand-built libevent dirs Dolf Starreveld 2016-02-07 22:59:29 -08:00
  • 3b0dc5368e Write using the shiny new schema Scott Lamb 2016-02-03 23:22:37 -08:00
  • ca368944ec AnnexB->AVC sample data converter Scott Lamb 2016-02-02 20:18:41 -08:00
  • 8ee1ab1c7b Extend ListCameras to return more ifno Scott Lamb 2016-01-31 23:27:52 -08:00
  • 1bd5c8aafe Sanify sample directory references. Scott Lamb 2016-01-31 22:41:30 -08:00