244 Commits

Author SHA1 Message Date
Pixelastic
61bb7314e4 fix(excerpt): Don't fail on malformed excerpt 2018-02-12 13:53:34 +01:00
Pixelastic
b331ffe932 chore(comment): Remove comment 2018-02-12 13:53:34 +01:00
Pixelastic
4f26ea4ee4 release 1.1.0 2018-01-30 18:07:01 +01:00
Pixelastic
92985627b2 feature(settings): Do not overwrite user settings if not needed 2018-01-30 17:58:39 +01:00
Pixelastic
f691bac7fc refactor(indexer): Split update_records and run 2018-01-30 16:30:00 +01:00
Pixelastic
531c90777b Make diff batches the default indexing mode 2018-01-30 16:30:00 +01:00
Pixelastic
6d0b567e7c fix(copy): Do not copy the index if source does not exist 2018-01-30 16:29:27 +01:00
Pixelastic
986aa5dbb4 style(duplication): Remove code duplication 2018-01-30 16:29:27 +01:00
Pixelastic
c95eb99574 feat(indexing): Making atomic mode consume less operations 2018-01-30 16:29:27 +01:00
Pixelastic
22d1c22b12 release 1.0.1 2017-12-22 13:19:51 +01:00
Pixelastic
7fa64b43ed fix(pagination): Exclude pagination pages defined by paginate_path 2017-12-22 12:59:44 +01:00
Pixelastic
18f367f9dc chore(errors): Move errors directory into ./lib 2017-12-22 12:13:13 +01:00
Pixelastic
16a0102d60 fix(date): Make sure collections have a nil date if none defined 2017-12-22 12:04:57 +01:00
Pixelastic
3b3b581544 feat(log): Adding more standby messages
Indicates more clearly what the plugin is doing
Fixes #21
2017-12-22 10:52:53 +01:00
Pixelastic
2a072ecb03 release 1.0.0 2017-12-21 18:48:00 +01:00
Pixelastic
b14a0a26b6 release 0.0.1 2017-12-21 18:40:04 +01:00
Pixelastic
079730fca2 Set version to 0.0.0 2017-12-21 18:34:00 +01:00
Pixelastic
57843b8898 Adding release rake task 2017-12-21 18:32:59 +01:00
Pixelastic
0c6486fa10 Adding blog example 2017-12-20 15:57:15 +01:00
Pixelastic
bf4db661ca fix(record_too_big): Use content for hint in error display 2017-12-20 12:01:49 +01:00
Pixelastic
bd826c5ee0 fix(hooks): Apply unique objectID after all hooks 2017-12-19 18:49:00 +01:00
Pixelastic
86e1e59956 fix(extractor): Update record objectID when updated from hook 2017-12-19 12:40:54 +01:00
Pixelastic
d3c33d5e6d Use content instead of text 2017-12-19 11:49:01 +01:00
Pixelastic
c3423032c2 Adding hooks documentation 2017-12-18 10:22:06 +01:00
Pixelastic
f27733490d fix(error): Catch errors when pushing to non-existing app in atomic 2017-11-29 17:45:29 +01:00
Pixelastic
cbdbf7cb5f feat(log): Adding a stanby message before pushing records 2017-11-29 17:23:13 +01:00
Pixelastic
3422ffa69f feat(log): Adding "nothing to index" message in diff mode 2017-11-29 17:17:44 +01:00
Pixelastic
1f8ee17433 feat(log): Do not delete an empty list of records 2017-11-29 17:09:39 +01:00
Pixelastic
3aacc6e2a5 chore(awesome_print): Remove awesome_print from deps 2017-11-29 14:30:42 +01:00
Pixelastic
6b9852c731 style(comment): Remove empty comment 2017-11-28 14:52:21 +01:00
Ashwin Maroli
080a4de707 use sub-class instead of monkey-patching 2017-11-28 14:47:53 +01:00
Pixelastic
04713474e8 chore(rubocop): Auto-fix Rubocop errors for Ruby 2.3
Original idea coming from https://github.com/algolia/jekyll-algolia/pull/18
2017-11-28 14:44:36 +01:00
Pixelastic
9d3d27dcc1 chore(path): Fix relative path for errors 2017-11-28 14:28:20 +01:00
Frank Taillandier
6d4f937f1a Define path with __dir__
Inspired by https://bogdanvlviv.github.io/posts/ruby/with-__dir__-we-can-restore-order-in-the-universe.html
2017-11-28 14:26:10 +01:00
Pixelastic
231c17148a Correctly applying the _all hook only once on all records 2017-11-17 20:33:01 +01:00
Pixelastic
1bd2fc49fd Allow glob patterns in files_to_exclude 2017-11-17 19:17:47 +01:00
Pixelastic
9240118fe8 Display an error if no records can be indexed 2017-11-17 18:55:23 +01:00
Pixelastic
ee2e508c5e Add helpful error messages for each known error 2017-11-17 12:08:19 +01:00
Pixelastic
aec10bbe77 Allow displaying custom variables in error messages 2017-11-16 20:00:55 +01:00
Pixelastic
8e35d8eb10 Identify wrong index name 2017-11-16 17:08:28 +01:00
Pixelastic
a10b2d385b Catch "record too big" errors 2017-11-16 13:57:02 +01:00
Pixelastic
17f456c463 Add custom User-Agent 2017-11-15 13:47:48 +01:00
Pixelastic
7812be9cb4 Adding verbose tests 2017-11-15 12:11:57 +01:00
Pixelastic
7a33daa677 Add dry_run mode 2017-11-15 11:21:27 +01:00
Pixelastic
7112f10c5c Add tests for the atomic indexing mode 2017-11-14 18:44:28 +01:00
Pixelastic
8595bda487 Add check for indexing_mode 2017-11-14 17:05:49 +01:00
Pixelastic
02adfc3fc1 Adding diff indexing mode + tests 2017-11-14 16:47:26 +01:00
Pixelastic
40740ccc6f Untested, first version of diff indexing 2017-11-14 14:16:39 +01:00
Pixelastic
680e09f135 Add tests for logging custom errors 2017-11-13 17:14:51 +01:00
Pixelastic
07e547b5d8 Exit Jekyll command if wrong Algolia config 2017-11-13 14:34:00 +01:00