102 Commits

Author SHA1 Message Date
Haroen Viaene
dbe03b6cfd chore: fix lint 2019-10-21 11:53:42 +02:00
Haroen Viaene
a834da1367
feat(settings): allow disabling overriding (#118)
* feat(settings): allow disabling overriding

* test(settings): add new _fancy_ tests

* docs(settings): document "false" behaviour

* test: five normal thingie

* fix(tests): correct default value

* test: try thawing the value

* fix: don't use default value unless 'nil'

I don't see how to test this

* Update options.md

* Update configurator.rb

* Update indexer.rb

* update tests

* Update configurator_spec.rb

* test me travis?

* Update lib/jekyll/algolia/indexer.rb
2019-10-21 10:58:13 +02:00
Sylvain UTARD
85909b55e9 Fixed rubocop 2019-09-15 08:46:08 -07:00
Ashwin Maroli
5dd3253383 Delete key from config instead of resetting value (#126)
* Delete key from config instead of resetting value

* update spec to test deleted config keys
2019-09-15 08:31:16 -07:00
Pixelastic
543c4ec387 fix(shrinker): Pages without excerpts no longer crash 2018-12-14 13:45:46 +01:00
Pixelastic
44701ef764 style(rubucop): Fixing styling for latest Rubocop
Apparently, new lines are requires after guard clauses now. I like it.
2018-12-07 17:34:01 +01:00
Pixelastic
fc7847e842 fix(redirect): Stop failing on redirect pages
Fixes #60.

Using `redirect_from` from the `jekyll-redirect-from` plugin was
throwing errors. Such redirect files are now correctly excluded from
indexing.
2018-12-07 17:34:01 +01:00
Pixelastic
81327d8fad fix(paginate): Disable autopages from jekyll-paginate-v2 2018-12-07 17:34:00 +01:00
Pixelastic
0f4ac2419f Avoiding autopages from jekyll paginate v2 to be indexed 2018-12-07 17:33:58 +01:00
Pixelastic
d51afe9640 fix(dates): Tries to parse string dates in collection 2018-07-26 16:57:42 +02:00
Pixelastic
7a9cb2add4 fix(error): Correctly calculate record size in bytes 2018-07-18 11:59:34 +02:00
Pixelastic
dc71162410 fix(pagination): Disable jekyll-paginate-v2 pages when indexing 2018-07-18 11:00:28 +02:00
Pixelastic
22f6227ca8 fix(paginate): Exclude pagination pages from jekyll-paginate
Fixes #76
2018-07-18 10:25:33 +02:00
Pixelastic
4fb1197768 fix(extensions_to_index): Allow for array and comma-separated list 2018-07-03 17:03:26 +02:00
Pixelastic
d218c99fa6 fix(jekyll-paginate): Less hackish way of disabling jekyll-paginate 2018-05-14 18:08:32 +02:00
Pixelastic
294ac658aa feat(max_record_size): Add the max_record_size option 2018-05-07 17:48:04 +02:00
Pixelastic
d844281e39 test(fix): Fix failing tests and watch script 2018-04-26 18:38:33 +02:00
Pixelastic
e5b2588f45 fix(object_id): Actually check for index .empty? instead of exist 2018-04-26 17:16:18 +02:00
Pixelastic
f0e120b264 fix(index): Supports deleting indices through the Dashboard
An index deleted through the Dashboard was not previously correctly
re-created if the object_id index existed.
2018-04-26 16:59:25 +02:00
Pixelastic
16298a0c64 feat(shrinker): Try to shrink records to fit under the 10Kb limit 2018-04-26 16:20:20 +02:00
Pixelastic
c708827023 fix(jekyll-tagging): Automatically exclude tag pages of jekyll-tagging 2018-04-12 14:26:03 -04:00
Pixelastic
697a4a65c3 docs(overwrites): Do not load classes not yet required 2018-04-12 11:35:50 -04:00
Pixelastic
8a34d08dec test(link): Add unit and integration tests for the link tag 2018-04-05 12:46:28 +02:00
Pixelastic
1500d71da8 fix(redirect): Exclude redirect pages from indexing 2018-04-04 15:20:07 +02:00
Pixelastic
66f084fe2b test(indexer): Add integration tests for the dedicated index 2018-04-04 13:44:21 +02:00
Pixelastic
40c113d587 test(indexer): Adding tests for the dedicated index 2018-04-03 19:12:48 +02:00
Pixelastic
9db13d2386 feat(records): Better error message when overquota on records 2018-03-29 14:40:04 +02:00
Pixelastic
e2bb5f7238 fix(excerpt): Only use default excerpt when needed 2018-03-28 16:43:13 +02:00
Pixelastic
50041a3545 fix(excerpt): Use the first <p> as the excerpt 2018-03-27 18:50:29 +02:00
Pixelastic
44d407e3c0 fix(hook): Allow passing hooks with only one parameter 2018-03-27 12:01:23 +02:00
Pixelastic
5dec53be00 fix(collections): Index collection items even if they have no content 2018-03-21 17:23:58 +01:00
Pixelastic
ba3317641d fix(hooks): Maintain backward compatibility with previous hooks 2018-03-21 16:23:40 +01:00
Pixelastic
2a77ac9996 feat(hooks): Provide a context key to hooks 2018-03-21 15:05:56 +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
93331444cf fix(tag_name): Remove tag_name from the export 2018-03-12 17:59:13 +01:00
Pixelastic
6b94a461f6 feat(custom_ranking): Naming key custom_ranking instead of weight 2018-03-12 17:23:07 +01:00
Pixelastic
17ec470dfe test(integration): Load rspec config in integration tests 2018-03-12 16:08:32 +01:00
Pixelastic
f6c69e49fb test(indexer): Fix leaking double 2018-03-12 14:08:35 +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
823feaa6b5 test(config): Update tests to pass with new ENV variables 2018-03-01 18:53:47 +01:00
Pixelastic
1caeb018cf feat(archives): Skip archive generation when indexing 2018-02-28 19:08:08 +01:00