82 Commits

Author SHA1 Message Date
Pixelastic
4265d4cfac feat(schema): Flattening hierarchy to headings 2018-03-13 13:58:54 +01:00
Pixelastic
0376f60d7d fix(schema): Removing draft and ext from the record fields 2018-03-13 10:04:29 +01:00
Pixelastic
6b94a461f6 feat(custom_ranking): Naming key custom_ranking instead of weight 2018-03-12 17:23:07 +01:00
Pixelastic
48957929f1 fix(snippetting): Add default snippeting configuration
The content field is snippetted by default to 55 words. Fixes #44
2018-03-12 15:39:40 +01:00
Pixelastic
6e80dcf595 docs(log): Better explain when records/settings are updated or not 2018-03-08 16:28:33 +01:00
Pixelastic
c42a52abbf fix(log): Don't fail on non-string custom fields 2018-03-08 16:13:59 +01:00
Pixelastic
7783b79e73 feature(settings): Detect when features are changed from outside 2018-03-08 16:00:12 +01:00
Pixelastic
5ec13983fe release 1.1.5 2018-03-01 11:34:19 +01:00
Pixelastic
1caeb018cf feat(archives): Skip archive generation when indexing 2018-02-28 19:08:08 +01:00
Pixelastic
209dcd2350 release 1.1.4 2018-02-28 18:50:26 +01:00
Pixelastic
4e45d7757a fix(json): Fix jsonification for Ruby < 2.4 2018-02-28 18:48:14 +01:00
Pixelastic
0d725689a1 fix(batch): Delete records before adding new ones in batches 2018-02-28 18:47:55 +01:00
Pixelastic
2241a869a8 release 1.1.3 2018-02-28 15:52:19 +01:00
Pixelastic
92ad1864bd fix(jsonify): Stop converting floats to string 2018-02-28 15:42:25 +01:00
Pixelastic
20f5595fb0 fix(paginate): Prevent pagination pages from being rendered 2018-02-28 15:18:44 +01:00
Pixelastic
8a0b9cd0ec fix(extract): Remove serialized version of unknown objects 2018-02-27 18:31:25 +01:00
Pixelastic
e70b4fe3bd fix(path): Correctly get relative path for relative sources 2018-02-27 15:27:24 +01:00
Pixelastic
89f8b48766 feat(exclude): Exclude ignore files from rendering 2018-02-27 15:04:38 +01:00
Pixelastic
6ab7a50a2e fix(absolute_path): Handle relative source
absolute_path will always return an absolute path, even if the source
is defined as relative
2018-02-26 14:28:47 +01:00
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