14 Commits

Author SHA1 Message Date
092487344a Replace obsolete HTTP status code :unprocessable_entity
The new naming is :unprocessable_content and required by Rack 3.1+
2024-06-17 15:07:04 +02:00
235bf771fe Always use user object instead of ID and Type 2023-08-26 00:39:47 +02:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
936c11e31f Refactor authentication token for new study-group-based authorization 2022-09-22 19:24:26 +02:00
c228850ae8 Update find method 2022-08-20 00:37:48 +02:00
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
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
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
995c22ba8a Fix json response status codes 2017-09-13 14:22:00 +02:00
cea2781417 Implement unsubscribe route to delete subscriptions 2017-09-13 11:57:34 +02:00
6bf7aee948 Fix create parameter naming 2017-09-13 08:22:37 +02:00
b69bb9866f Add controller logic for subscription#create 2017-09-13 07:56:02 +02:00