Git Product home page Git Product logo

refocus-bot-timeline's Introduction

Timeline-Bot

A Refocus bot that show all events in a room.

Build Status Cypress.io tests

Technologies

Env Variables

Note: If you want to test this locally you will need some environment variables:

  • API_TOKEN_DEV - Used for Requests to Refocus. Created in refocus/tokens/new.
  • NODE_ENV (defaults to 'dev') - Used to determine which instance of Refocus to install the bot.
  • REFOCUS_URL (OPTIONAL) - Used to specify which refocus instance to point to.

Running End-to-End Tests With Refocus Locally

  • Environment Variables in bot: _ HEARTBEAT_OFF=true _ NODE_ENV=integrationSandbox _ CYPRESS_baseUrl // Url of test refocus instance e.g. http://localhost:3000 _ CYPRESS_REFOCUS_USERNAME Username to authenticate to refocus for integration tests _ CYPRESS_REFOCUS_PASSWORD Password to authenticate to refocus for integration tests _ REFOCUS_INTEGRATION_SANDBOX_URL // Url of test refocus instance e.g. http://localhost:3000 _ REFOCUS_USERNAME // Username to authenticate to refocus for integration tests _ REFOCUS_PASSWORD // Password to authenticate to refocus for integration tests
  • Inside your local refocus instance, run the command: npm run start-bot-integration-test.
  • Run the command: npm run test-integration:dev.

Release History

Follows semantic versioning

  • 1.0.0 Basic timeline functionality works.
  • 1.0.1 Urls in the middle of message appear as links.
  • 1.0.2 Message remains in text box until it is sent successfully.
  • 1.0.3 Added support for attachments from dropzone
  • 1.0.4 Added support for room activate/deactivate
  • 1.0.5 Removed public folder and reference to refocus-connect.
  • 1.1.0 Fix message focus after message sent, Fix UI issues, UTC Times only
  • 1.1.1 Uses fullName instead of email for events/messages etc.
  • 1.1.2 Fix less than sign issues
  • 1.1.3 Fix scroll on tag change, Add multiple tag support, Default to Comments and Attachments
  • 1.1.4 Get All Events
  • 1.1.5 Make images clickable
  • 1.1.6 Remove extra scripts
  • 1.1.7 Add env variable for refocus url
  • 1.1.8 Stop auto scroll and make toast on new Event.
  • 1.1.9 Allow copy and paste with newlines and can type a newline with SHIFT + ENTER
  • 1.1.10 Uglify for production.
  • 1.1.11 Added display name.
  • 1.1.12 Only loading fields as they are toggled.
  • 1.1.13 Rebrand to look more like activity-timeline.
  • 1.1.14 Change staging to perf env.
  • 1.1.15 Don't show Slack Events in Timeline.
  • 1.1.16 Clean up config.js
  • 1.1.17 Added botName to config file.
  • 1.1.18 Upgraded packages for npm audit.
  • 1.1.19 Setting up end-to-end tests.
  • 1.1.20 Upgrade to react 16.
  • 1.2.0 Added upload file functionality.
  • 1.2.1 Specify node version.
  • 1.2.2 Refactoring to use react hooks & stateless components.

refocus-bot-timeline's People

Contributors

brandonmurnane avatar conalcosgrove avatar kamilsmuga avatar kriscfoster avatar longweideng avatar svc-scm avatar tausifmuzaffar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.