102 Commits

Author SHA1 Message Date
Pixelastic
df7cc131a2 release 1.2.6 2018-03-28 18:54:43 +02:00
Pixelastic
e2bb5f7238 fix(excerpt): Only use default excerpt when needed 2018-03-28 16:43:13 +02:00
Pixelastic
157e0e3727 release 1.2.5 2018-03-28 16:20:30 +02:00
Pixelastic
50041a3545 fix(excerpt): Use the first <p> as the excerpt 2018-03-27 18:50:29 +02:00
Pixelastic
9dcddb8fac release 1.2.4 2018-03-27 12:02:43 +02:00
Pixelastic
44d407e3c0 fix(hook): Allow passing hooks with only one parameter 2018-03-27 12:01:23 +02:00
Pixelastic
78a49fea19 release 1.2.3 2018-03-21 17:24:35 +01:00
Pixelastic
5dec53be00 fix(collections): Index collection items even if they have no content 2018-03-21 17:23:58 +01:00
Pixelastic
a121aec813 release 1.2.2 2018-03-21 16:24:27 +01:00
Pixelastic
ba3317641d fix(hooks): Maintain backward compatibility with previous hooks 2018-03-21 16:23:40 +01:00
Pixelastic
4096159209 release 1.2.1 2018-03-21 15:06:33 +01:00
Pixelastic
2a77ac9996 feat(hooks): Provide a context key to hooks 2018-03-21 15:05:56 +01:00
Pixelastic
a2e0c81a39 release 1.2.0 2018-03-20 13:48:29 +01:00
Pixelastic
d8a7dad71d fix(date): Correctly set date to nil in collections 2018-03-20 11:39:16 +01:00
Pixelastic
f8c656a802 fix(progressbar): Disable progressbar in verbose mode 2018-03-15 18:44:15 +01:00
Pixelastic
95f772d7f6 feat(progressbars): Adding render/extract/push progress bars 2018-03-15 16:13:01 +01:00
Pixelastic
4793b54aeb feat(settings): Add a way to force the update of index settings 2018-03-15 14:38:35 +01:00
Pixelastic
75231a3fda fix(files_to_exclude): Allow excluding files at the root only 2018-03-15 12:13:00 +01:00
Pixelastic
dd3f618b38 perf(rendering): Massive perf improvement bypassing rendering 2018-03-14 18:05:43 +01:00
Pixelastic
6021688fda fix(exclude): Correctly exclude path starting with ./ 2018-03-13 17:11:23 +01:00
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