Coder Social home page Coder Social logo

haystack / eyebrowse-server Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 7.0 40.58 MB

Eyebrowser Server

Home Page: http://eyebrowse.csail.mit.edu/

License: MIT License

Python 81.18% JavaScript 6.12% HTML 11.08% PostScript 0.12% Shell 0.06% CSS 1.04% Makefile 0.08% Java 0.32%

eyebrowse-server's People

Contributors

amyxzhang avatar gitter-badger avatar jesszwang avatar joshblum avatar jsonblob avatar kelly-shen avatar prateekkuk avatar scottgwald avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eyebrowse-server's Issues

Ability to tag someone in a comment or chat with @

Like FB or twitter or github - be able to do @___ in your comment or chat. it would show up as a link that links to that person's profile. ideally, a dropdown bar would show that suggests your friends when you do @ but this can come later maybe.
That person would ideally get a notification (email(?) and little flag on the notification link in the nav bar).

Request For MIT Certificate For Favicon

When you are browsing the history a request for an MIT certificate appears, presumably when a webpage behind MIT certificates is requested. We should figure out a way to fail silently and not prompt the user for the cert

Bug with viz

Syntax error from js reformatting when trying to view visualizations on profile page

Analytics

We need homegrown analytics because Google Analytics just isn't really cutting it.

Ideally I would want to store:

  • visits to every page on the Eyebrowse website, including timestamp and user (if logged in), ip otherwise
  • track clicks on any link that leaves Eyebrowse, including the page that the user was on, the user (if logged in) and ip otherwise, and timestamp
  • if someone is using the visualization widgets - so I would want to track the viz API calls too, including timestamp and ip address, and in this case referrer.
  • how often do people delete things? what do people choose to delete?

Also what about extension analytics?

  • How often do people turn Eyebrowse on and off? Do they even use this feature?

Anything else?

Don't forget to still have the links open in a new window on click.
Be careful not to log pings
Need to rip out old Google Analytics code

Frontend Facelift

I'm a bit tired of the grey on grey (nav/background) and think the site would look a lot cleaner by making it white/something brighter. I think github style is a good example that we can maybe follow

case-by-case basis - remove everything after ? or #

Problem is visits to the same page often look like visits to different pages bc of the params set by the website. Every website does it differently so we're going to go case-by-case and hardcode some rules.

For NYTimes, it's ok to remove everything after the ? in url.

For BuzzFeed, it's ok to remove everything after the # in url.

Notice any others?

Do this at save time.

Need to fix going back too.

add filter dropdown to the left of search bar, new search queries

like the github issues search bar.
little dropdown to the left of search bar that says [Search by]. clicking on one repopulates the search bar with something like "tag:" to teach people how to search by tag for instance.

some other fun things to search by:
things i've whitelisted
things I've seen
things I haven't seen

also dropdown by date filter to suggest common filters - ex:
last week
last month
last year
(can you do date ranges for a different time in the past)? - if so add a template to help users write this.

weekly emails to get an overview

Should have info on your browsing behavior in the last week (would be great if it were natural language. would also be great to have this be a part of the website as well (visible only to yourself)). Infographic also?

Should also have top links from the last week from your friends and from the firehose.

Top recommended people to follow maybe?

Would be cool if it were easy to tweet or share on fb from email but idk if this is possible.

move plugin repos to this repo

a superficial combining of the three repos. keep parent dir for deployment and build scripts, folders for the specific projects.

code linting

Added a flake8 linting in the branch getting-started. There are lots of PEP8 complaints with the code (mostly my fault for not doing this before). It would be good to fix these issues in one PR so new diffs can be much cleaner. We need to add jshint support as well but for some reason I have problems installing the module right now.

too many requests after registering

don't make the user be inundated with eyebrowse requests right after registering. Perhaps add a rate-limit and limit how many times a minute a user can receive an eyebrowse request?

Notifications that actually work

notifications don't work right now really.

I'm imagining

  • a new database table to store notifications, timestamp, and when they've been seen. Can store heterogeneous notifications (new follower, bump into someone, someone tags you in a comment)
  • A flag in the corner of Notifications in the nav bar with a number when you have a notification. clicking takes you to a page with a list of your last ~15 notifications.
  • you get an email for every notification by default (right now you get an email only when someone follows you). Ability to turn this off partially in settings.
  • notifications include - when someone follows you. when you "bump" into someone on the same page (they join page within 5 minutes of you joining). when someone tags you in a comment or chat. when someone comments or chats on a page that you have been to in the past.

allow searching by tag

query would be like "tag:tagname"

clicking on a tag should automatically search for it also.

Remove executable permission from files

A bunch of files have executable permissions. I think I was having issues getting the server running at some point and went a bit chmod crazy. Its just bad practice and also should be a quick fix..

allow 'incognito mode'

turn off eyebrowsing but still stay logged in. no data is being collected, no one knows you're online. (but perhaps (looking forward) you can still see whether other ppl are online?) would be cool if this manifested as a closed eye button on the browser bar.

Fixing mute and unmute from the modal

Right now, when clicking to mute something via the modal, clicking again does not unmute.

Also just get rid of Refresh button. Just have a Cancel and Close button. Close button will refresh the page (so will clicking X or clicking away) if something has been muted. Cancel undos all the mutes added.

The modal could also look prettier.

Embeddable widget of Eyebrowse feed

Like a customizable twitter widget of a feed. Could be a person's feed or a particular query or domain or even the top firehose feed.

If this gets done after analytics, would want analytics to capture usage of this as well.

eyebrowse plugin loads pages from eyebrowse server

the login page and tracker page gets pulled from eyebrowse-server every time. this breaks for ex when the page is an https page (and thus the eyebrowse popup which is http doesn't work). can we generate these pages on the client side?

make domains treat 'www', 'http/s' the same

right now a whitelist item of 'cnn.com' is not the same as 'www.cnn.com'. Fix this by stripping all whitelist items of 'http/s' and 'www'. then when searching, don't include 'www' or 'http/s' as part of the search.

Database Encoding

I've seen this error a few times:

DatabaseError: (1267, “Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='”)

Following this post do you guys think the best option is to alter the DB tables?

Just wanted to open this for discussion :)

make emails prettier and also track analytics related to email

This should be done once we've added better email integration (like weekly updates)

Still want it to work ok for a text-only email reader though.

want analytics for opening an email (via a pixel or some other image)

also analytics for links they click on in the email

cron job to update popularhistory

python populate_popular_history.py (in scripts folder) is run manually by me on occasion at this point. needs to be a cron job set to once an hour or once every 30 min.

Popups that don't load shouldn't show up

occasionally, popups don't load for various reasons. this should either not happen (don't show the popup if the iframe doesn't load) or disappear immediately so the user doesn't see it.

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.