Commit Graph

91 Commits (37ace54ab3ce0732fa03c72a9a9248e47e8b5489)

Author SHA1 Message Date
Martin Linkhorst b42b21185d we don't need to escape the parameters 11 years ago
Alex Coles e137ed8135 Convert specs to RSpec 2.99.0 syntax with Transpec 11 years ago
Alex Coles efe24e1049 Convert specs to RSpec 2.99.0 syntax with Transpec 11 years ago
Michael Frister 98f81665db CSRF Protection: Prevent login CSRF 11 years ago
Michael Frister c91d04981e Show error on attempt to register with disabled self registration 11 years ago
Alex Coles 5cdc438c52 Convert specs to RSpec 2.99.0.beta2 syntax with Transpec 11 years ago
Michael Frister e6df36f2ba Move omniauth-related AccountController specs to separate file 11 years ago
Philipp Tessenow 4e6a14c8fd linted AccountControllerSpec 11 years ago
Michael Frister ca94df7427 Add spec for AccountController#identity_url 11 years ago
Michael Frister a9315ac6bc AccountController spec: Use route helpers for MyController 11 years ago
Michael Frister f3f5306088 Register: Add spec testing back_url is preserved on manual activation 11 years ago
Michael Frister 29a7971e6b Add spec example testing omniauth_login sets back_url 11 years ago
kgalli 2dbff1fbb2 Log warning if omniauth error occurs but show generic message to user 11 years ago
Michael Frister 66d0324060 Fix AccountController spec 11 years ago
kgalli 9e4f84844b Removal of trailing white spaces 11 years ago
kgalli 0e0fcd3958 Small refactoring of omniauth specs 11 years ago
kgalli 8f0c7cbfcd bugfix for register method and refactoring of specs 11 years ago
kgalli 5cb176124a add omniauth failure callback and specs for omniauth login/registration 11 years ago
Alex Coles 88e8efe12e Fix failing AccountController#register spec 11 years ago
Alex Coles c66b959854 Attempt to work-around an AccountController CI failure 11 years ago
Martin Linkhorst a83af510cb given openproject runs in a subdirectory we cannot allow redirecting to a different subdirectory. also tries to catch shenanigans to circumvent the check like ".." in the path. 11 years ago
Martin Linkhorst f2feff1cff convert tests to specs to be able to disable them in plugins 11 years ago
Martin Linkhorst dc4dd927cc we don't need to escape the parameters 11 years ago
Alex Coles 0bdbdcac35 Convert specs to RSpec 2.14.8 syntax with Transpec 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Sebastian Schuster ef179d96ac Rewrite account test into a spec 11 years ago
Sebastian Schuster 34d6ea150a Rewrote login unit tests into specs 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Jens Ulferts f3eb87c3e4 replace deprecated stub! with stub 11 years ago
Christian Rijke 81c1d55c32 Rewrite unit tests as specs so they can be disabled by plugins. 11 years ago
Christian Rijke 2626f0df0d Stubb settings values in spec instead of persisting them. 11 years ago
Christian Rijke d30a7458eb Migrate unit tests to rspec (to be able to disable them in self-registration per mail). 11 years ago
Jens Ulferts dfc1662434 improve spec and cuke performance 11 years ago
Hagen Schink 501435eb80 Fix rspecs 11 years ago
Michael Frister 7ba90102a7 Add option to force a user to change password on next login 12 years ago