Giter VIP home page Giter VIP logo

hello-admin's People

Contributors

kingshyg avatar longd3 avatar pims avatar

Stargazers

 avatar  avatar

Watchers

 avatar

hello-admin's Issues

FileAPI will be completely deprecated

Deadline is August 4th, 2015, 12 pm Pacficic. This block in keys.py needs to be changed.

    def write_blob(self, data, info):
        blob = files.blobstore.create(
            mime_type=info['type'],
            _blobinfo_uploaded_filename=info['name']
        )
        with files.open(blob, 'a') as f:
            f.write(data)
        files.finalize(blob)
        return files.blobstore.get_blob_key(blob)

Feedback for /timeline

admin_1-01

The Admin_1 file is things that I identified about where should it be changed include typesetting, color and icon. let me know if you have any question. @longd3

Page /troubleshoot needs to be updated to sync with the new API

Goal:

  • To equip Marina & Chris L & everyone else ability to view inactive devices and then track down responsible owners.

Plan:

  • Add a slider for inactive threshold
  • Add calendars input to specify start time and since time
  • Write handlers for page navigating buttons

Inquiry:

  • @pims: Is it possible to hold hello/suripu@3cb377d from deploying until I update my the front-end if that doesn't block anything else

Search for logs within specific periods

Goal:

  • We want to search for logs within specific window time at the moment

Block:

  • Timestamp of each doc is its "age" which is a field rather than a document variable at the moment
  • Timestamp is string so it's impossible to to do query with math operations

Proposal:

  • Add doc-var "ts" and specify type as float (@pims)
  • In all queries, add a custom scoring function to enforce sorting by "ts" 's relevance using searchify's If clause, i.e. : assuming "ts" is add as the 3rd doc var then the function looks like:
    if(doc.var[2] <= 'time_cursor) to see logs uploaded before certain time if(doc.var[2]>=time_cursor`) to see logs uploaded after certain time

Reference:

Query with generated token for [email protected] gets 404 responses

Steps to reproduce the bug:

Comparison:

Delete old documents from log search index

We should create a cron job that deletes old documents from our search index.

There isn't a totally automated way. However, each document has a 'timestamp' field, which defaults to the time when it was inserted if you don't explicitly set it otherwise. You can usually use the bulk_delete or delete_by_search API calls to delete groups of documents at once:

http://www.searchify.com/documentation/python-client#bulk-delete
http://www.searchify.com/documentation/python-client#query-delete
(clients for other languages have similar API calls)

Purge old logs

Old application are not purged. Got an email from searchify saying we went 200,000 docs over our limit.
I upgraded us to the higher plan (1,000,000 docs) but we need to purge old docs.

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.