summaryrefslogtreecommitdiff
path: root/help/app/controllers/tickets_controller.rb
AgeCommit message (Collapse)Author
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2013-11-11Maybe not ideal fix, but since there is no edit view, we want to show the ↵jessib
show view with the appropriate error messages.
2013-08-30there's no need for User#find_by_param. clean it upAzul
2013-08-13Fix this, so the comment will get set to false in cases where the user isn't ↵jessib
an admin.
2013-08-12Per ISEC informational issue, manually set the private property only in ↵jessib
cases where it is an admin who set it.
2013-07-05tickets - replace input[type=submit] tags with button[type=submit] tagselijah
2013-07-04better ticket view navigation: tickets are now either global in scope (for ↵elijah
admins) or stay as a nested resource for a particular user (for normal users and when you visit the tickets list of a particular user).
2013-07-04fix several issues with tickets: js error, when to redirect, navigation, ↵elijah
localization.
2013-07-04new ui for ticketselijah
2013-02-05Tweaks because user attribute is now email_address, not emailjessib
2013-01-24Use ticket_url to get URL for unauthenticated ticket creation, and only ↵jessib
flash that message if the ticket already has a flash[:message] (and thus was saved successfully)
2013-01-22More minor cleanup of tickets controllerjessib
2013-01-22Makes tickets_controller a bit less complex.jessib
2013-01-22Translate text rather than having it in code directly.jessib
2013-01-15For both users and tickets, if the object is not found and the current user ↵jessib
is an admin, they should see an alert that the object wasn't found, and be redirected to the current controller. If the object isn't found and the current user is not an admin, then we will continue to give an error about no access, so as not to leak information about what IDs do and don't exist.
2013-01-15Refactoring of tickets controller to fetch the ticket in a before filter for ↵jessib
relevant actions.
2012-12-20Slight tweaks to tickets controller.jessib
Only non-comment change is that we will keep an unauthenticated user looking at the same ticket if they have closed it (rather than redirecting to index which they will not be able to access.)
2012-12-17Some refactoring of ticket creation/editing.jessib
2012-12-12Refactoring of ticket displaying/editing.jessib
2012-12-11Start to using x-editable to have title editable.jessib
2012-12-07Merge branch 'master' into help_developjessib
Conflicts: app/views/layouts/application.html.haml help/app/controllers/tickets_controller.rb help/test/functional/tickets_controller_test.rb users/test/support/stub_record_helper.rb
2012-12-04Testing of functionality to retrieve tickets.jessib
2012-12-03make tests pass on an empty dbAzul
2012-11-29Not yet done, but more sophisticated and refactored ticket filtering. Still ↵jessib
have to do more, including allowing user to pick sort order.
2012-11-27moved ticket fetching logic from controller to modelAzul
2012-11-27check for logged_in? in before filter - one less case to coverAzul
2012-11-21Playing around with pagination, and ways to filter/order ticket results.jessib
2012-11-16Rough start to modeling tickets view after the issues view in github (so ↵jessib
something like https://github.com/spree/spree/issues ), using bootstrap for display. Still want to use pjax, and have more functionality to add: searching, sorting, pagination, etc..
2012-11-14Improvements to functional ticket tests.jessib
2012-11-12Some test improvements.jessib
2012-11-09Various very small tweaks: comments about main div display in firefox, give ↵jessib
info for when creating unauthenticated tickets, redirecting to index when closing a ticket, fix default select for ticket filtering.
2012-11-08First attempt at functionality for admins viewing their own tickets.jessib
2012-11-08Do not overwrite initializer in tickets_controller, as that meant we weren't ↵jessib
using the default layout.
2012-11-07Improvements to flow for closing/re-opening tickets.jessib
2012-11-06Admin deletion of tickets, although need to figure out jquery interaction. ↵jessib
And some minor tweaks.
2012-11-05Working on functionality for replying to and closing tickets.jessib
2012-11-05Use the same URL for viewing tickets when authenticated or not---the couchdb ↵jessib
ID will be the random string for the secret URL. Tickets created when user was unauthenticated will be viewable by anybody who knows the URL.
2012-11-02Some rough functionality for tickets, like showing ticket list for admins, ↵jessib
and initial way to close tickets.
2012-10-31Very basic filtering of tickets based on status. Will want this ajax-y.jessib
2012-10-29Just some commentsjessib
2012-10-18Uses the working authentication code.jessib
2012-10-16Some functional tests and other tweaks.jessib
2012-10-12more work on ticket creation/updating functionalityjessib
2012-10-10Some tweaks to get server-side validation working when adding the embedded ↵jessib
ticket comment to a new ticket.
2012-10-10Forgot to commit controllerjessib
2012-10-05Rough code to add & comment on tickets.jessib