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
parent d09bc2525b
commit 118d903e7d
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