anirudh-eka / dashtag Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
right now
TWITTER_BEARER_CREDENTIALS=your_twitter_key:your_twitter_secret
Let's make it so the user doesn't have to put the key and secret together
Allow user to stay logged in after browser is closed
Stub out the EnvironmentService methods before tests and remove references in tests (except for EnvironmentService)
I'm having trouble setting up the app with vagrant. I recently pulled it down and followed the directions here. I have vagrant and virtual box downloaded on my machine. This is the output:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
Vagrant:
* Unknown configuration section 'librarian_puppet'.
$ vagrant -v
Vagrant 1.6.3
I'm new to vagrant; so I'm probably missing something simple. Thanks for the help!
Show how to run locally and update, etc.
Snap build failing after making engine
The top portion of the border on the post are pointed, and the bottom portion of the post are rounded. We should standardize how they appear on the site.
The API Service is a singleton that stores the last time it pulls from Social Media in an instance variable. We used a singleton because:
1. We wanted a single instance of the service to interact with external api so that we don't hit any api rate limits.
2. We wanted to avoid storing this information in the db if possible because it would often be updated and we thought it would be cheaper as far as performance to have it simply live in memory
Thanks!
@pturley, do you have any advice?
Write more view tests for all of the components on the feed. Not all are covered currently.
Investigate: cannot locate links on page by post_id, but works for screen_name
Support for pairing hashtags, eg. aggregate posts that have "love" and "peace", but not posts that only have one.
While I really like the visual design, it doesn't follow the twitter display requirements as set out on https://dev.twitter.com/overview/terms/display-requirements
We need to be able to encrypt and decrypt them.
@pturley, do you have any suggestions on how to go about doing this? I was looking at ActiveSupport::MessageEncryptor. If I go down this route, it seems like a good idea to store the key and salt somewhere besides the db, like the environment. Am I thinking about this correctly?
Or is there something that is put into a rails environment that I can derive a key and salt for? I'm thinking about the SECRET_KEY_BASE
. Is it good practice to use the same string as a salt and to generate the key (when initializing ActiveSupport::KeyGenerator)?
Thanks!
dashtag-solo is the new home for a ready to deploy application to heroku, etc. We need to move the read me on dashtag there so it stays relevant
Is there any example site running somewhere, as a demo?
When a new post is posted it appears twice. When a user refreshes the page the duplicate post disappears.
Question: If we support configuring a dashtag instance by either environment variables or a yaml file, which should take prioritization? EG: if someone sets hashtag as "love" in the env, but "peace" in the config file, which should we go with?
I wanted to record @pturley 's idea here. We can move most of the configuration from env variables to being stored in the db. This way creating a dashtag page would simply mean selecting a name for the heroku app, and maybe a username/password (which would probably live in the env?). Then after the page is deployed a user can visit the site, say:
http://foo.herokuapp.com
The dashtag page would check it's db if any of the configs are set. If not, it redirects the user to:
http://foo.herokuapp.com/config/new
where they will be prompted for the password they set and from their they can set all the configurations like credentials, colors, hashtags, etc. All this will be stored in the apps db. Later on, the user can edit these settings here:
http://foo.herokuapp.com/config/edit
This kind of logic would overlap with what's being done in the Dashtag Factory.
Currently this Hashtags env variable expects the following as the value:
love|peace|happiness
It is more intuitive to be something like this:
#love, #peace, #happiness
Currently we only have FactoryGirl.create which sets the source to twitter. It would be nice to have an equivalent for instagram
SettingService is the api to interact with Setting Model and the Settings table in the DB. Therefore, we should limit access to the Setting model to only the Setting Service
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.