yalestc / reservations Goto Github PK
View Code? Open in Web Editor NEWManage equipment loans & reservations. Who can borrow what, for how long?
Home Page: yalestc.github.io/reservations
License: MIT License
Manage equipment loans & reservations. Who can borrow what, for how long?
Home Page: yalestc.github.io/reservations
License: MIT License
I'd like to be able to add batches of people (i.e. new STs/new BMTs). Ideally, it would be something where I could pull things from our spreadsheets/databases and enter everyone on a separate line with some sort of ability to enter affiliation and phone number as well (every bit of data separated by a "|" or an asterisk, etc.). Should only be able to add one kind of role at a time; when the mass add is taking place, they will all be normal, admins, or checkout person, or banned.
Hi Adam (and Co.),
The Show Returned Reservations feature is not working the School of Art Equipment Catalog site. We receive a message stating "something went wrong" whenever we try to show returned reservations in the reservations list. Any thoughts?
Best,
Johannes DeYoung
I go in to enter a new object name and serial, but then only the name has stuck and the serial # field is empty. I can then edit the object to add the serial.
Right now, the start and end default to the current day.
We should allow admins to configure how many days in the future the default end day is.
When I try to delete a reservation, I am taken to the view page. The URL that the link points to is simply reservations/1, rather than reservations/1/delete, so it's probably just an incorrect URL somewhere.
When you do that, it breaks the app.
maybe nothing should be dependent on the data in that field?
When creating reservations, admins (and checkout persons) should have the ability to make the reservation for a new user. At that point, they should be prompted to fill in the necessary details, and a user should be created and the reservation associated with that user
After successfully creating an equipment model, markup shows up for the description.
E.g. shows up as: "
This is the description.
There should be a validation check for phone numbers to be 10 or 11 digits (some phone numbers require the 1+xxx.xxx.xxxx format), and ONLY numbers acceptable. Currently can create users with phone numbers such as "3udn3j" and "38389".
It seems that as long as the word ends in an "s" the term is considered a plural, and when you view the category, the singular is displayed. For example, I created the category "virus" and all the objects show up as "Viru". I'm not sure if this will affect any items we ever check out, but it does happen.
(Side note: The software just pluralizes virus completely wrong. It interprets virus as the plural of viru, but then later offer the option to "display all viri" - the appropriate plural is viruses)
It would be nice to have black out dates, for when buildings/programs are closed. E.g. summer Sundays at Bass or MLKJr
Day.
Defaults to have one digit after the decimal point instead of two.
i.e. $10.0 rather than $10.00
permission that can be checked off in the user's profile to note that they can reserve/checkout items that they have received training for, previously. If permission is set to null, then they should not be able to reserve the item and should receive a message with directions on who to contact for training. A link to an email address/contact info page on another website would be helpful.
PS: DMCA wants this as well
Email a warning to people who have reservations the coming day - when the equipment hasn't been checked back in
Should have the ability to alter the text from the admin side.
Done, but requires testing. (?)
http://mahi.its.yale.edu/bugs/issues/305
A lot of our signouts are having date problems, and I think it has to do with the defaults in the date fields for new reservations.
If you do not remember to adjust the dates and then click Update Dates it can stay on the default, which is usually a reservation from Today to Today. Thus a lot of our students are 'Late' even though the understanding was that the items would be out for a week.
Could it change to be Today to Tomorrow, or Today to Next Week? Or check if it is a one-day and throw a warning?
We've had a lot of confusion.
Casey Watts suggested I put this in the bugs as a "thing we should fix sometime," though it's not a bug exactly. Can we make it so that STs (or coords at least) can make loaner reservations for students without the student there, to facilitate loaner laptop reservation and checkout? It would be so much nicer. :)
Date ranges for a reservation in which the due date falls before the checkout date are legal, but should not be. The error is mentioned when a user goes to create the reservation itself, but not when "updating dates"
While creating an Equipment Model, I put in all the required fields (name, description, late fee, and replacement fee) except I did not select a Category.
Ran into the following error, which also shows up now every time I click on Equipment Models (so I can no longer create new ones or edit the old ones):
NoMethodError in Equipment_models#index
Showing /home/gloria/code/reservations/app/views/equipment_models/index.html.erb where line #11 raised:
undefined method `name' for nil:NilClass
Extracted source (around line #11):
8: <% for equipment_model in @equipment_models %>
9:
10: <%= link_to equipment_model.name, equipment_model %>
11: <%= ("" + (link_to equipment_model.category.name.singularize, equipment_model.category) + "").html_safe unless @category %>
12: <% if current_user.is_admin? %>
13: <%= link_to "Edit", edit_equipment_model_path(equipment_model) %>
14: <%= link_to "Destroy", equipment_model, :confirm => 'Are you sure?', :method => :delete %>
Data that should be captured and displayed (at least on the admin level):
What kit color/# someone checked out
who made the reservation (BMT, erin/adam/ITG/CLC, student)
Timestamps for: when reservation was made, when it was checked out/in.
remove/add items during checkout process (but only if available)
Clicking Destroyjust brings you to that user's profile.
When viewing the details page for an Equipment Object, the "p" "small" and "/br" HTML tags are visible. ย also shows up literally, rather than as the space it is supposed to create.
New users need to enter a phone number; if one isn't given, the Create User function silently fails. A phone number is required; we should give a helpful error message so students will know to enter a phone number, etc, instead of it just failing silently. :-D
This feature would, upon request, show a list of all upcoming reservations for the day, in a view designed to make it easy for a user to easily grab and prepare kits due to be checked out for the day.
When I try to update dates on a reservation and I choose illegal dates (like February 30th) it gives the
"We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly."
error, instead of something more helpful. Any chance we can fix that?
If it could say something like "Invalid date range" instead of just the generic error message, THAT would be immensely helpful.
Patrons of Reservations can see everything that they've reserved/checked out, have reserved but not checked out, have currently, have made future reservations for, and checkouts that have been returned late. An option to enter in how much they've owed/paid in late fees would be handy as well. I'm assuming that the late fees and their statuses would have to be something that's entered manually, but I'm OK with doing that, since I'll be sending reports to be billed every two weeks, anyways.
Displayed across pages that use Dynamic Form. Fortunately, running the exact command line indicated by the deprecation message fixes this
ActionDispatch::Cookies::CookieOverflow in ReservationsController#new
This rails error occurs whenever trying to make a new reservation.
When checking out and in, the app should allow checkout person to print or email a receipt for the checkout or checkin.
We often have students that realize they need equipment for one or two more days.
Right now it seems that the proper response is to check the items in, create a new reservation, then check the items back out.
Would it be possible to add an extension feature? We could default to one day, allow up to one week, to make a reservation due later if there are no conflicts.
This one should be pretty self-explanatory. When a reservation is created, we should send an email confirming the reservation, including all relevant details.
Displayed across pages that use Dynamic Form. Fortunately, running the exact command line indicated by the deprecation message fixes this
Trying to logout yields:
NameError in ApplicationController#logout
uninitialized constant CASClient::Frameworks
In places where we use dates (like on the catalog), display them in a human-friendly format, (i.e. May 18th, not 2012-01-03)
When logged into CAS and creating a new user, the form (first name, last name, email, etc.) populates automatically with your data via ldap, but formats incorrectly.
e.g. First name = ["Gloria"], instead of First Name = Gloria
For now, we're going to implement Devise
authentication with the devise_cas_authenticatable
gem for CAS. We will also try to write up example migrations and instructions for alternative Devise authentication schemes.
devise
gemlaterdevise_cas_authenticatable
gemdevise
authentication before_filters instead of old RubyCAS filterslogin
column name to username
(delete current migration)login
for ActiveRecord lookups with username
current_user
method in lieu of built-in Devise methodMost / all of the above was completed today and almost all of the current test suite is passing. My thoughts are outlined in the comment below; I'll try to turn them into a proper to-do list soon.
All tests now pass. I tried getting database_authenticatable
working and it was messy, but I think providing example code at least for that case is important. If I'm strugging to get this working, so will future clients. I'd like to see if we can do the following:
new
hackerydatabase_authenticatable
working, using our current user
resource
edit
and update
workdevise.rb
username
or email
login.example
file extension so they don't run by default)devise.rb
with only required / related options and comment where necessarydatabase_authenticatable
either in the README or wiki or bothdatabase_authenticatable
the default and switching to CAS using the deploy script / variable (related to #683):recoverable
devise.rb
again and take out settings that shouldn't be changed :-)README
How many people helped per day/month/year/etc.
How many people a specific person helped.
How much was each item used?
How many times did a particular user check out items?
frequency of problems reported on a per item basis
If a reservation's end date has passed, and it hasn't been picked up, it should be hidden and only shown with the 'returned' reservations list, or on a separate list.
If we do the former, we should rename the 'returned reservations' list to reflect this.
We will be requiring everyone to sign a Terms of Agreement at the start of Fall 2011. The simplest way to implement this would be to have it pop up when someone creates an account, and they have to click through the agreements.
It would also need to retroactively pop up on all OLD accounts, so that everyone has digitally signed the agreement.
There would also need to be a way to easily update the ToA from within the application, so that if/when we make changes to it, everyone has to sign it again.
Example: iTunes. Everytime they update iTunes, you have to agree to the new EULA. It only bothers you once, until they make changes on their end again.
If they are deleted totally, it breaks the history of past reservations
I'd like a comments/notes text field added, so that things that are wrong/weird/suspicious can be noted during check-in or check-out, the BMT can note it in the reservation and we'll have a record of it. I'd also like those comments emailed to me/a mailman list.
Prime examples of this are the returned reservations list, and the users list.
Students have asked for a "smart" drop down that does not include invalid dates (i.e. if Month of Feb is selected, you cannot select 30 from the date dropdown). Not sure if it's worth the programming work.
I went to checkout equipment as a part of a reservation, but when I get to reservations/1/check_out_single, the dropdown menu is populated with no Equipment Objects (though I have properly assigned it an Equipment Model). As a result, when I actually go to checkout, I get an error:
Couldn't find EquipmentObject without an ID
Don't know if this is something we are going to ultimately implement, but I can't seem to associate an accessory with the appropriate Equipment Model
Currently, if you put in anything in nickname, it will use that instead of the first name.
This includes if you set nickname to " " (or any sort of whitespace) or punctuation or anything. Might want to add some validation to make sure the name is not just whitespace, at least.
The option to "edit" and "destroy" which are currently appended to the right-hand side of the table make the table extend to be on top of the "cart" infobox for administrators when viewing the Users page.
Reservations box to float in the middle of the page (still on the far right) as people scroll up and down through the inventory. The idea is that the patrons should be able to see what is in their cart at all times, instead of scrolling to the bottom every time they need to check what's actually in their cart.
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.