summaryrefslogtreecommitdiff
path: root/help/app/models
AgeCommit message (Collapse)Author
2013-11-11Rename ticket title to be subject, as that is what we are displaying it as.jessib
2013-11-06destroy all tickets created by a user when account is destroyedAzul
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed. The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id. I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
2013-11-06Ticket.destroy_all_from(user) - remove all tickets created by a userAzul
We'll use this to clean up after user destruction
2013-09-03remove unneccessary user creation and destruction in ticket testAzul
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-04fixed security vulnerability with ticket searchingelijah
2013-07-04removed commented out code from ticket.rbelijah
2013-04-03make sure user tests also run when run from users subdirAzul
* The APP_CONFIG needs to be initialized in core so that is required from other engines * paths for load_views need to be relative to the model - not to rails root.
2013-02-26Not using secure random, at least now, as using the couchrest ID as the code ↵jessib
for unauthenticated ticket access.
2013-01-17Merge branch 'master' into feature/unauthenticated_ticketsjessib
Conflicts: help/app/views/tickets/_comment.html.haml help/app/views/tickets/_new_comment.html.haml
2013-01-14Some fixes to the how we keep track of information about users associated ↵jessib
with a ticket.
2013-01-07Ticket comments can be privatejessib
2013-01-03Removed unnecessary comment.jessib
2013-01-03Merge pull request #11 from leapcode/feature/ticket-client-side-validationsjessib
Client-side validations, including only validating email address format ...
2012-12-31Client-side validations, including only validating email address format if ↵jessib
something is input for email address.
2012-12-24Rough functionality for unauthenticated tickets.jessib
2012-12-22moving the js for view definitions into separate filesAzul
This way we get syntax highlighting and so on.
2012-12-20Define ascending method in CouchRest::Model::Designs::View so we can call ↵jessib
the order either way.
2012-12-19Some cleanup of codejessib
2012-12-18Refactoring of code to filter/order tickets.jessib
2012-12-12Refactoring of ticket displaying/editing.jessib
2012-12-07Added reduce functions, so pagination should now work correctly. This also ↵jessib
removes the need for .all call in some tests.
2012-12-03Ticket sorting functionality. Needs to be refactored, but works.jessib
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-27fixed some small issues and the tests except oneAzul
The one remaining is failing because we still build an Array for the admin tickets. Needs to be implemented so I am leaving that test as is.
2012-11-27first attempts to map commentsAzul
2012-11-27moved ticket fetching logic from controller to modelAzul
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-07Improvements to flow for closing/re-opening tickets.jessib
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-10Pushing some tweaks as I try to get server-side validation working.jessib
2012-10-05Rough code to add & comment on tickets.jessib
2012-10-03Some model/unit test tweaksjessib
2012-10-02Some more tweaks to help ticket models. Still want to tweak current_user ↵jessib
access from users engine.
2012-10-01Moving start to help engine to live within leap_web repo rather than ↵jessib
independent engine repo.