Comments (7)
Author: alpers
Would you like me to tackle the functionality of this (say in vessel_ops.mix)?
from clearinghouse.
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.
Author: justinc
Milestone Geni Portal v2.1 Release deleted
from clearinghouse.
Author: monzum
I don't think the users have this option yet, it maybe added in the future.
from clearinghouse.
Author: jsamuel
This is a feature that needs to be added to the new seattlegeni.
from clearinghouse.
Author: jsamuel
When this is implemented, it might make sense to implement #222 at the same time.
from clearinghouse.
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)
- Deployment script removes (empty) statekeys/ directory
- Write docs for updating Clearinghouse?
- Update to use Django 1.7 / 1.8 HOT 2
- Creating additional dir's before hand HOT 1
- Make list of platform installers configurable HOT 1
- Fix node_transition_lib docstring
- Ambitious vessel resource targets leave "small" nodes in limbo HOT 1
- New MySQLdb bindings break keydb interface
- Grepping out "screen" could be counter-productive HOT 2
- Unfinished comments (cropped or forgotten) in backend/config.py. HOT 4
- Skip mode in initialize.py / old version of initialize.py HOT 3
- Docs: Use `virtualenv` for installing Django
- Docs: Explain not using `social_auth`
- Align keydb config and website settings
- Clearinghouse logs grow too quickly HOT 3
- Use buildscripts for CH deployment and update
- Caught Exceptions should be logged HOT 1
- Explosive Logs HOT 3
- Check and possibly rethink blanket `except`s
- MySQL 5.7.5+ requires change in `website/settings.py`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clearinghouse.