summaryrefslogtreecommitdiff
path: root/engines/support
AgeCommit message (Collapse)Author
2016-11-21bugfix: handle missing params for ticket gracefullyAzul
This used to trigger a 500. Fixes #8395
2016-07-12bugfix #226:patch instead of putthea
2016-07-07Added missing wordluca-marie
2016-07-05Fix db:migrate and similar tasksAzul
We saw errors from duplicate loading of LocalEmail and LoginFormatValidation. The latter resulted in a crash. In an attempt to ensure all subclasses of Couchrest::Model::Base are loaded Couchrest::Model::Utils::Migrate requires all files in app/models. We have an extension that does the same for the engines. During this process LoginFormatValidation and LocalEmail were autoloaded when 'identity' was required. Afterwards they were required again. It looks like rails' autoload mechanism does not play nicely with require. So to make sure they are not autoloaded first move the concerns and helper classes into the lib directory and require them explicitly.
2016-05-23Merge remote-tracking branch 'pr/220' into developAzul
2016-05-22make ticket tests pass without network connectionAzul
MX validations relied on network connection. Only using them in production environment now. I want to be able to develop and test when disconnected.
2016-05-20include engine tests in default testAzul
2016-05-14ensure invalid user ids still render the ticket formAzul
We still have strange urls requested like /pt/users/AnonymousUser.../tickets/new Not sure where they are coming from - but this should make sure we respond with sth. meaningful instead of erroring out. Conflicts: app/views/layouts/_content.html.haml
2016-05-02bugfix: test user properly in auto_new_ticket_pathAzul
2016-05-02upgrade: use bootstrap3 row and col-md-*Azul
2016-05-02upgrade: remove references to RestClientAzul
CouchRest > 1.2 does not use RestClient anymore. So we should not try to catch its errors.
2016-01-16fix ticket display bugelijah
2015-09-30Merge pull request #194 from Alster-Hamburgers/feature/invite_codeazul
Request for feedback on invite code feature
2015-09-28Disable CSRF token verification on ticket creation.Giovane
2015-09-28Fix the remaining failures/errors in our testsankonym
Handing freshly generated invite codes to Factory Girl to make the tests pass
2015-09-28Fix several test failures by stubbing invite code validationankonym
2015-09-28Fix test based on actual invite code validationankonym
2015-08-05updated locale files0.7.1version/0.7.1elijah
2015-06-15added CommonLanguages gemelijah
2015-05-22fix failing testelijah
2015-04-30added support for email notifications of ticket changeselijah
2014-12-15bugfix: allow deletion of user's identities via api when user is deleted. ↵elijah
closes #6550
2014-12-10silently ignore 404 errors when trying to delete all user tickets: the ↵elijah
tickets db might not yet be initialized.
2014-07-17make sure i18n key can be found (cascade)Azul
Also reformated long haml lines some. You can add a linebreak after a comma.
2014-07-14clean up and simplify error responses and test codeAzul
2014-07-12minor: fix typo in load_viewsAzul
It removed most of the reduce functions... really not what we wanted
2014-07-09adopt ticket list test to new behaviourAzul
We completely ingnore the user_id param for non admins now. So if someone tries to show somebody elses tickets they will see their own instead.
2014-07-09only use user ticket(s) path for real usersAzul
2014-07-09minor: cleanup some linksAzul
only submit the params that differ from the defaults
2014-07-09stay on all tickets view when sorting (#5879)Azul
When an admin sorted the tickets view in a different order it would take them to their own tickets list before
2014-07-09minor: remove dummy dependency in engine test_helpersAzul
This was causing problems with zeus
2014-07-05make link_to_navigation more generic and reuse itAzul
Use link_to_navigation for all important navigation items. It creates a link in a list item for use with bootstrap. It supports an :active flag and an :icon option in the html_options now. It also translates the label. This way it can be used in a lot of places as the generic navigation link.
2014-07-05Enable unblocking handles in identities tabAzul
There's an identities tab now for admins that will allow unblocking blocked handles. It should be easy to expand for aliases and forwards and other types of actions such as editing.
2014-06-03tickets: fix bug that allow index of other userselijah
2014-05-29fix flash for creating anonymous ticketsAzul
2014-05-29adopt tests to new translationsAzul
2014-05-28destroy_btn helper methodAzul
2014-05-27add btn helper for link_to with .btnAzul
Also translates the first arg if it's a symbol and adds more btn- classes if given as html_options[:type]
2014-05-26navigation works with empty locale selectedAzul
Just in case some translation keys are not present things should still work and make sense. So translation keys should be picked in a meaningful way and scoped rather than prefixed. For example overview.account will turn into "Account" if no translation is present while "overview_account" will turn into "Overview Account". We usually want the former.
2014-05-26tickets: structure i18nAzul
2014-05-26flash_for with_errors option displays error messagesAzul
2014-05-26Controller#flash_for instead of FlashResponderAzul
FlashResponder added a flash before responding. However at the point of responding objects have already been saved. So there is no way to test if they were changed. Now instead we can call flash_for resource before resource.save and it will add the flash messages only if the resource was actually changed.
2014-05-26split up and refactor TicketController#updateAzul
close and open actions for plain opening and closing the tickets respond_with so fields are not cleared on invalid update the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
2014-05-26separate tests for the ticket list from main controller testAzul
2014-05-26splitting up long functional test caseAzul
2014-05-26FlashResponder will automagically add flash messagesAzul
2014-05-26move comment related tests out of TicketControllerTestAzul
This controller does too much - so the tests are also getting large and hard to keep track of
2014-05-14Merge pull request #159 from azul/bugfix/5659-fix-ticket-form-submitazul
open/close toggle and fields in different forms - fixes #5659
2014-05-13adjust tests to new config and method implementationAzul
Ticket.is_creator_vlidated? now actually fetches the user from the db and returns false if it does not exist.
2014-05-13open/close toggle and fields in different forms - fixes #5659Azul