Commit Graph

55 Commits (aaa3df2c14de66048d1fb30f1de75b632ada906a)

Author SHA1 Message Date
Oliver Günther fcd450af3f Fix redirect vulnerability 9 years ago
Alex Coles 424889897a Migrate AR finder/query methods in specs 10 years ago
Alex Coles ce93701029 Fix syntax (w/Rubocop) in specs 10 years ago
Markus Kahl ee4d977c86 another logout back URL spec for good measure 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Alex Coles 5afc11f19e Fix syntax (w/Rubocop) in specs 10 years ago
Alex Coles 03978767be Use 1.9+ Hash syntax in specs 10 years ago
Alex Coles 879fcd49f6 Convert specs to RSpec 2.99.0 syntax with Transpec 10 years ago
Martin Linkhorst 8877883c63 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. 10 years ago
Markus Kahl d67f3391c2 fixed specs after moving #disable_password_login? 10 years ago
Till Breuer 2c4483544c Merge branch 'dev' into feature/adding-and-removing-watchers 10 years ago
Markus Kahl a572c6af7f properly qualify OmniauthLogin everywhere 10 years ago
Markus Kahl 5e0465df57 spec registration with disabled password login 10 years ago
Markus Kahl c896ef160a spec: post login with disabled password login 10 years ago
Markus Kahl 21bf768ce1 spec: don't show "change password" menu entry 10 years ago
Jens Ulferts 9a2268cc7a fixes references to OmniauthLogin 10 years ago
Markus Kahl 100f3d00c6 also disable login per post 10 years ago
Martin Linkhorst df35caf524 convert tests to specs to be able to disable them in plugins 11 years ago
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