Pixelastic
d0180711e2
release 1.1.2
2018-02-15 14:20:52 +01:00
Pixelastic
ab46596ba5
fix(jekyll-asciidoc): Exclude document key added by jekyll-asciidoc
2018-02-14 16:46:56 +01:00
Pixelastic
d35d1daa32
release 1.1.1
2018-02-14 15:10:58 +01:00
Pixelastic
79d269aca0
chore(lint): Remove empty line
2018-02-14 15:02:38 +01:00
Pixelastic
2beae1f330
fix(paths): Handles both relative and absolute paths
2018-02-13 17:28:09 +01:00
Ale Muñoz
fa1ddd9248
Update file_browser.rb
...
The current code will check if `/project/path/file/path.extension` is included on an array of paths in this form: `file/path.extension`. That'll always return false, so the files will never be excluded.
In my case, I have a project in `/Users/ale/Code/Website-frontend`, and in my `_config.yml` I have a `files_to_exclude: [_pages/**/*]` setting.
If I run `jekyll algolia` without this fix, one of my files is checked against the excluded files array using its full path (`/Users/ale/Code/Website-frontend/_pages/community/organizer-guide.md`), while the array contains its relative path (`_pages/community/organizer-guide.md`) so it doesn't match and it's included on the index.
I haven't had time to update the spec for this change, but since the tests still pass I assume there's something wrong with the existing tests.
2018-02-13 17:27:22 +01:00
Pixelastic
918524009d
fix(record_too_big): Better debug of records too big
2018-02-12 17:42:08 +01:00
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
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
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