- Require cookie tokens and cookies >:[
- All operations that previously required a (subdomain, token) tuple now require a (subdomain, token, cookie) tuple.
- This means the addition of a
--cookie
command line argument. - cookie is also now the third ordered argument in emojme module methods.
- This means the addition of a
- Check the readme for how to collect a cookie.
- alias --subdomain to --domain for kicks
- Reduce adminList request rate slightly to dodge rate limiting.
- AuthPairs are now AuthTuples as they represent subdomain, token, and cookie.
- All operations that previously required a (subdomain, token) tuple now require a (subdomain, token, cookie) tuple.
- Add Emojme chrome extension to README
- Resolve (#59), sanitizing user names for disk interaction
- Clean up README readablility
- Add
--since
option to download, user-stats, and sync - Add
--dry-run
option to emojme sync
- Add
--lite
option to emojme favorites.- Does not download complete adminList
- returns only emoji name and usage count in
favoriteEmojiAdminList
- adds a little more documentation around
allowCollisions
- Add confusingly named
allowCollisions
toadd
andupload
endpoints alongside existingavoidCollisions
param- When set, no adminList will be pre-fetched to prevent collisions. This allows uploads to execute much faster, but with "untrusted" uploads it could cause many more errors and therefore rate limiting.
- In a future major version:
avoidCollisions
will be renamed to more-accuratepreventCollisions
andallowCollisions
will be negated and renamed toavoidCollisison
. For the time being, we don't need a 2.0 / breaking change.
- Add /client.boot endpoint accessor
- Add emojme favorites function to find a user's favorite emoji
- This comprises the content of the
Frequently Used
emoji box - Also includes personal emoji usage counts (!?)
- This comprises the content of the
- Update README to reflect slack's new api_token location
- Fix rate limiting for good this time
- Resolve npm audit vulnerability
- Implement rate limiting
- rate varies depending on endpoint
- Can be overridden but new environment variables
- SLACK_REQUEST_CONCURRENCY
- SLACK_REQUEST_RATE
- SLACK_REQUEST_WINDOW
- Add naive backoff logic
- Add timestamps to logs
- Resolve npm audit vulnerability
- Rework logging to be less noisy and more organized.
- Use Winston
- log warning and worse to the console
- log everything to log/combined.log
- Add verbosity control
- Fix bug related to incorrect upload summary output
- Revamp download
--save
can no longer be called with 'all' (but that never worked)--save-all-by-user
added to save all emoji by all users into build/$subdomain/$user--save-all
added to save all emoji to build/$subdomain
- Add jsdoc documentation, available at https://jackellenberger.github.io/emojme
- Configure circle ci
- Clarify what a user token should look like
- Fix bug preventing correct package contents from being uploaded to npm
- Fix bug preventing empty slack instances from adding and syncing emoji
- Add keywords, bin, etc to package.json
- Add module usage instructions to readme
- Create CHANGELOG.md
- Allow certain required
Add
params to be nulled out by providing an empty string- For example,
add --src 'source.jpg' --name ''
will act identically toadd --src 'source.jpg'
- This resolves an issue where adding multiple emoji of different shapes (i.e. new vs alias vs default named new) could become misaligned
- For example,
- Add emojiList to output of
user-stats
for consistency and ease of use - Add
<action>Cli
methods to ease testing. - Resolve issue where repeated invocation of cli from a single process could pollute commander args