Commit Graph

212 Commits

Author SHA1 Message Date
Ramon Wenger 04c850753f Fix unit tests, change some properties 2022-01-27 17:58:02 +01:00
Ramon Wenger 928f9027d3 Clean up code, make Query and Mutation more standard compliant 2022-01-27 17:34:45 +01:00
Ramon Wenger 37af5c0412 Clean up and simplify some code 2022-01-27 15:07:59 +01:00
Ramon Wenger cf66702d75 Update django, wagtail and some others 2021-12-13 15:48:01 +01:00
Ramon Wenger 338e4cfcfc Add unit tests to check the issues found in the bug bounty report 2021-11-16 14:12:16 +01:00
Christian Cueni a34db38a5e Add migration for raw field 2021-09-22 11:51:15 +02:00
Christian Cueni 4be9858730 Add created_at fields to license 2021-09-22 11:51:15 +02:00
Christian Cueni 28cdc3f4f8 Add created_field to license 2021-09-22 11:51:15 +02:00
Christian Cueni e74f224de4 Add command to fix ibans 2021-09-22 11:51:15 +02:00
Christian Cueni fbc441d1ea Save new expiry_dates to models 2021-09-22 11:51:15 +02:00
Christian Cueni adba163c77 WIP: Add command for license duration reset 2021-09-22 11:51:15 +02:00
Christian Cueni dbd5f92fbd Save correct license for user 2021-09-22 11:51:15 +02:00
Ramon Wenger da7adcbb4c Update data migration 2021-08-31 13:28:37 +02:00
Ramon Wenger 75ca2f552c Fix unit test 2021-08-25 15:02:57 +02:00
Ramon Wenger 7118b32cbb Fix unit test 2021-08-25 14:25:04 +02:00
Ramon Wenger cf5a3f7d9d Update add room entry button 2021-08-25 14:22:20 +02:00
Ramon Wenger 6961c96dd4 Add styling to comments 2021-08-25 09:07:40 +02:00
Ramon Wenger b966b4e981 Re-add comment test 2021-08-24 13:31:05 +02:00
Ramon Wenger d071afbd67 Add new test for school class read only
Also clean up some code
2021-07-28 16:19:42 +02:00
Christian Cueni d0570c118c Update tests 2021-07-15 14:33:28 +02:00
Christian Cueni b902ca1e92 Update valid product states, update subscription duration 2021-07-13 13:25:49 +02:00
Christian Cueni 44be6735a3 Fix model 2021-07-13 13:25:13 +02:00
Christian Cueni 050ca414a8 Fix e2e tests (allow BetaLogin endpoint, add licenses) 2021-07-13 13:25:13 +02:00
Christian Cueni bd110cc1fb Remove old hep id field 2021-07-13 13:25:13 +02:00
Christian Cueni 3473ef86ff Add redeem coupon endpoint 2021-07-13 13:25:13 +02:00
Christian Cueni 9c0afffc7c Fix middleware tests 2021-07-13 13:25:13 +02:00
Christian Cueni 861c276960 Move middleware to users 2021-07-13 13:25:12 +02:00
Christian Cueni c71d8fd6e5 Fix oauth tests 2021-07-13 13:24:23 +02:00
Christian Cueni 2c771e5a97 Remove unused command, remove unused methods in hep client 2021-07-13 13:24:23 +02:00
Christian Cueni 1cfb7c7028 Remove redundant login tests 2021-07-13 13:24:23 +02:00
Christian Cueni d4e8aca825 Remove login 2021-07-13 13:24:23 +02:00
Christian Cueni 2718362cee Fix login tests 2021-07-13 13:24:22 +02:00
Christian Cueni 4b1ddd2627 Fix timezones 2021-07-13 13:24:22 +02:00
Christian Cueni 5c8c836a2b Select active myskillbox product 2021-07-13 13:24:22 +02:00
Christian Cueni 3c89a8b256 Remove or comment unused code 2021-07-13 13:24:22 +02:00
Christian Cueni 5648351ef5 Add field for old hep id 2021-07-13 13:24:22 +02:00
Christian Cueni c53083dd72 Update paths 2021-07-13 13:24:22 +02:00
Christian Cueni 04473ecad3 Remove axios 2021-07-13 13:24:22 +02:00
Christian Cueni bfdd743afd Move methods to manager, add tests 2021-07-13 13:24:22 +02:00
Christian Cueni 549bf1ef28 Re-order structure 2021-07-13 13:23:58 +02:00
Christian Cueni 6d3cbaf764 Create or update user and create or update token 2021-07-13 13:18:43 +02:00
Christian Cueni c937f4769c Move oauth to users 2021-07-13 13:18:43 +02:00
Christian Cueni 6607d8dee5 Add oauth lib, configure for hep api 2021-07-13 13:18:42 +02:00
Ramon Wenger 0ae9ccaa68 Update exception 2021-07-06 20:37:52 +02:00
Ramon Wenger cfaa5c9a4f Re-add missing import 2021-07-06 17:49:03 +02:00
Ramon Wenger bd15c9710d Allow users with expired license to access the private API 2021-07-06 16:41:38 +02:00
Ramon Wenger 71bd9f6d14 Update readonly property on user 2021-07-06 15:41:02 +02:00
Ramon Wenger 249abff36b Add license check to user model 2021-07-06 15:09:51 +02:00
Ramon Wenger dc1cb86bb8 Add unit tests 2021-07-05 18:06:10 +02:00
Ramon Wenger e4bb4cc9ee Add tests for read only assignments 2021-07-01 16:58:56 +02:00