GithubHelp home page GithubHelp logo

Comments (7)

choksi81 avatar choksi81 commented on September 16, 2024

Author: alpers
Would you like me to tackle the functionality of this (say in vessel_ops.mix)?

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: ivan
Sure, it would be great if you do this. But note that this requires a couple of things:

  • A new field in VesselPorts to store the number of times a vessel has been renewed
  • A new set of buttons on the vessel page where the use can trigger renewal
  • A new field on the vessel page where the user can see the number of renewals left
  • Corresponding view that will handle the user's action in views.py
  • Corresponding code in vessel_ops and in models to make sure that the database gets updated consistently and that the user does not renew the vessel more times than the maximum allowed number of times.

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: justinc
Milestone Geni Portal v2.1 Release deleted

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: monzum
I don't think the users have this option yet, it maybe added in the future.

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: jsamuel
This is a feature that needs to be added to the new seattlegeni.

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: jsamuel
When this is implemented, it might make sense to implement #222 at the same time.

from clearinghouse.

choksi81 avatar choksi81 commented on September 16, 2024

Author: jsamuel
Fixed in r3093. The only vessel renewal available is a renewal for 7 days. Newly acquired vessels still have an initial expiration of 4 hours. I don't feel we need to offer options for how long to renew for, as I don't believe most people will not be inclined to choose anything less than the maximum. So the goal is to choose something long enough that they won't have vessels expire by accident but not so long that vessels will go unused. I think 7 days is a good choice. I'd be happy to make it longer, but I think making it shorter than 7 days would be a bad idea.

The number of seconds until expiration is now included in the info dicts available through xmlrpc (along with the ability to renew vessels).

The following wiki pages have been updated accordingly:

wiki:SeattleGeniAPI
wiki:SeattleGeniClientLib

from clearinghouse.

Related Issues (20)

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.