New filter plugins: hashids_encode and hashids_decode (#2244)

* New filters hashids_encode and hashids_decode

* Adding changelog

* Correcting whitespace issue in vars file

* Attempt to fix integration test failures

* Correcting copyright

* Addressing initial review comments

* Updating decoded sequence return from tuple to list

* Correcting capitilization and spelling
This commit is contained in:
Ajpantuso 2021-04-17 14:00:03 -04:00 committed by GitHub
commit 118d903e7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 183 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
add plugin.filter:
- name: hashids_encode
description: Encodes YouTube-like hashes from a sequence of integers
- name: hashids_decode
description: Decodes a sequence of numbers from a YouTube-like hash