-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 79cc066
Showing
44 changed files
with
13,016 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Folder view configuration files | ||
.DS_Store | ||
Desktop.ini | ||
|
||
# Thumbnail cache files | ||
._* | ||
Thumbs.db | ||
|
||
# Files that might appear on external disks | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Application specific files | ||
venv | ||
node_modules | ||
|
||
# Private environments | ||
.env | ||
ToDo.private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Tests", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"runtimeExecutable": null, | ||
"env": { | ||
"DEBUG": "flint" | ||
}, | ||
"args": [ | ||
"--exit", | ||
"-u", | ||
"bdd", | ||
"--timeout", | ||
"90000", | ||
"--colors", | ||
"${workspaceFolder}/test" | ||
], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
**4.6.x Update** | ||
|
||
* `bot.store()`, `bot.recall()`, and `bot.forget` of memory storage module has | ||
been refactored to return resolved/rejected promises. This means that | ||
`bot.recall()` will no longer return a null value for a non-existent key and | ||
will return a promise instead of a value for a existing key. This is to comply | ||
with requirements for other storage modules that are not synchronous and to | ||
make the memory storage module interchangeable with these. | ||
* redis storage module modified so that is interchangeable with the new memory | ||
storage module. This module will be refactored soon to decrease times between | ||
synchronizations rather than syncing the local memory store with redis | ||
periodically. However, the function calls to this module will not change so | ||
code based on this will be safe when this module is refactored. | ||
* The previous redis storage module still exists as redis_old, but is | ||
deprecated / unsupported. If using the redis module, consider migrating to | ||
updated redis storage module. This module will be removed in Flint v5. | ||
|
||
**Breaking Changes in 4.6.x** | ||
|
||
* See update above. `bot.store()`, `bot.recall()`, and `bot.forget` functions have been adjusted. Redis Storage Module refactored. Mem Storage Module refactored. | ||
|
||
**4.5.x Update** | ||
|
||
* Removed some error handling that would cause flint to crash when Spark API | ||
would respond with a 504 error due to API issues. | ||
* Fixed unhandled rejections when despawn happens and bot mem-store is empty. | ||
* Updated handling on of "next" in returned webhook function. | ||
* Changed room being tagged as a "Team" if bot is not member of team. | ||
* Fixed typo in audit process (#15 via @pevandenburie) | ||
|
||
**4.4.x Update** | ||
|
||
* `bot.isDirectTo` property added. This is set to the email of the other | ||
conversant in rooms of type 'direct'. | ||
* `trigger.raw` property added to `flint.hears` trigger callback object. This is | ||
the raw message without any processing to remove multiple spaces, CR/LF, or | ||
leading/trailing spaces. | ||
|
||
**4.3.x Update** | ||
|
||
* `bot.add()` and `bot.remove()` now return an array of successfully | ||
added / removed room membership emails rather than the bot object itself. | ||
* Debug error messages for archived team rooms suppressed. | ||
|
||
**4.2.x Update** | ||
|
||
* Persistent Storage for `bot.store()`, `bot.recall()`, and `bot.forget()` | ||
through new modular storage functionality. | ||
* Added in-memory storage module (default unless storage module is specified) | ||
* Added Redis storage module | ||
* Added boolean property flint.isUserAccount | ||
* Added method `flint.storageDriver()` to define storage backend | ||
* The `flint.hears()` method now can have a weight specified. This allows for | ||
overlapping and default actions. | ||
* Auto detection of Bot accounts | ||
* If Bot account is detected, the behavior of the `trigger.args` property inside | ||
the `flint.hears()` method performs additional parsing. | ||
|
||
**Breaking Changes in 4.2.x** | ||
|
||
* `flint.machine` boolean property renamed to `flint.isBotAccount` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016-2019 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.