Commit Graph

24 Commits

Author SHA1 Message Date
Sebastian Serth
5ddc5a8ca5 Redirect users after sign in to their desired page 2023-12-01 00:06:31 +01:00
Sebastian Serth
99bd46af1a Align project files with CodeHarbor
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
2023-10-11 00:18:33 +02:00
Sebastian Serth
8f446c04a9 Fix Rubocop offenses 2023-07-31 08:59:00 +02:00
Sebastian Serth
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
Sebastian Serth
a4e791e3de Always render templates in Controller specs 2022-11-02 12:25:33 +01:00
Sebastian Serth
ec4c6207f0 Refactor internal_users_controller_spec to prevent invalid objects 2022-09-22 19:24:26 +02:00
Sebastian Serth
d02a1eae81 Validate password strength for internal users 2022-09-14 12:19:25 +02:00
Sebastian Serth
a9aab612b6 Extract updating the user role from params 2022-08-18 21:44:26 +02:00
Sebastian Serth
5e9bf9141c Fix Rubocop offenses 2022-07-08 15:23:55 +02:00
Sebastian Serth
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
Sebastian Serth
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
Sebastian Serth
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
Sebastian Serth
bc05a363f2 Fix spec for InternalUser#forgot_password 2021-01-27 18:40:53 +01:00
Sebastian Serth
758f2b3365 Adopt tests to respect Raven context 2020-01-29 09:55:35 +01:00
Sebastian Serth
90defa8f89 Fix tests and rename request variable in specs to perform_request
Explanation: Using the variable name `request` might interfere with methods in Rails core system prevent successful test execution. See this issue: https://github.com/turbolinks/turbolinks-rails/issues/38
2018-11-06 16:49:42 +01:00
Sebastian Serth
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Ralf Teusner
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
Hauke Klement
4eef3d70d5 minor refactoring of flash messages 2015-03-23 16:42:57 +01:00
Hauke Klement
42c8b47d40 concretized redirection expectations in controller specs 2015-02-24 18:57:00 +01:00
Hauke Klement
dafeb3a706 added tests 2015-02-23 15:51:01 +01:00
Hauke Klement
b21a7ee8e8 use shorter notation for creating procs, as suggested by RuboCop 2015-02-17 08:21:00 +01:00
Hauke Klement
a22a5af711 extracted common controller behavior in order to reduce code duplication 2015-02-05 12:28:09 +01:00
Hauke Klement
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00