summaryrefslogtreecommitdiff
path: root/help
AgeCommit message (Collapse)Author
2014-04-08moving all of core into toplevel, tests fail.Azul
2014-02-10minor: more robust destruction of records in testsAzul
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2014-02-06make sure ticket get's cleared at end of tickets_by_admin testAzul
Also relax the requirement from tickets.count > 1 to > 0. There is only one ticket if there have not been any others in the database ahead of time.
2013-12-22locale prefix support:elijah
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
2013-12-17This won't necessarily preserve exact formatting (for example, if there are ↵jessib
multiple blank lines in a row), but seems standard way to do it and maybe sufficient?
2013-12-13refactor: remove Overview controller - we can use Users#showAzul
we were only using Users#show to redirect to the edit action. So I replaced that with the overview and we have no more use for the extra controller. This also simplifies linking to the users in question a lot.
2013-11-18Remove unnecessary label.jessib
2013-11-18Merge branch 'develop' into feature/rename_ticket_title_to_subjectjessib
2013-11-11Rename ticket title to be subject, as that is what we are displaying it as.jessib
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-11-08removed outdated test.Azul
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-11-06refactor: split up and cleaned up ticket validation testsAzul
2013-10-18use https sources in Gemfiles and also in the documentation (#4109)Azul
2013-09-03remove unneccessary user creation and destruction in ticket testAzul
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-11fix incorrect calling of tickets_pathelijah
2013-07-06minor - i18n text editelijah
2013-07-05tickets - replace input[type=submit] tags with button[type=submit] tagselijah
2013-07-05use :ruby for ruby inside tickets/edit_form partial.elijah
2013-07-04fix ticket tests, get :admin_user factory to work.elijah
2013-07-04help - fix ticket navigation & links (use @user, not user).elijah
2013-07-04fixed security vulnerability with ticket searchingelijah
2013-07-04removed commented out code from ticket.rbelijah
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-07-04new ui - ticket navigationelijah
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-02-07Use more recent version of bootstrap-editable-rails, and a change to have ↵jessib
the editing be inline rather than popup.
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-22Link to users show page rather than edit, now that we have a show view for ↵jessib
users.
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-17Merge branch 'master' into feature/tickets_controllers_simplificationjessib
Conflicts: users/app/controllers/users_controller.rb
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-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.
2013-01-15Show different ticket characteristics when viewing the users versus when ↵jessib
listing the tickets. Give a message if a user has no tickets.
2013-01-14Use partials for displaying details shown when viewing a user. Some of these ↵jessib
partials have specific CSS for another use, so we will likely want to tweak this.
2013-01-14Some fixes to the how we keep track of information about users associated ↵jessib
with a ticket.
2013-01-14minor: further cleanup - try to leave no record behindAzul
2013-01-14little bit of cleanupAzul
* checking records are actually getting created / destroyed * simplify creation where possible