Commit Graph

2057 Commits

Author SHA1 Message Date
Andreas Nedbal 24f197a064 Move legacy javascript folder out of packs/ 2020-12-26 21:59:53 +01:00
Andreas Nedbal 51678e5e34 Add Typescript support 2020-12-26 21:59:53 +01:00
Andreas Nedbal 1221a82557 Fix HAML lint 2020-12-25 18:22:03 +01:00
Andreas Nedbal 0867a19b11 Remove i18n script include 2020-12-25 18:22:03 +01:00
Andreas Nedbal 3984ec31b8 Remove static vendor javascript 2020-12-25 18:22:03 +01:00
Andreas Nedbal 9237d9b314 Fix sprockets crashing because of removed gems 2020-12-25 18:22:03 +01:00
Andreas Nedbal 411d65827b Remove unused rails-assets gems 2020-12-25 18:22:03 +01:00
Andreas Nedbal e0c2f834d8 Import sweetalert 2020-12-25 18:22:03 +01:00
Andreas Nedbal 3347dbb923 Import missing file 2020-12-25 18:22:03 +01:00
Andreas Nedbal fcb8aae897 Remove bootstrapped example files 2020-12-25 18:22:03 +01:00
Andreas Nedbal 70cd2e7d53 Add back the datetimepicker for moderation purposes 2020-12-25 18:22:03 +01:00
Andreas Nedbal 37ad25018d Add workflow step to export i18n JS files 2020-12-25 18:22:03 +01:00
Andreas Nedbal 61f60717fc Set up i18n-js to work with Webpacker 2020-12-25 18:22:03 +01:00
Andreas Nedbal aac98bd3b2 Move Bootstrap initialization into own file 2020-12-25 18:22:03 +01:00
Andreas Nedbal fdebfb6bae Pin coffee-loader to version 1.0.1 2020-12-25 18:22:03 +01:00
Andreas Nedbal 82893ece0a Match installation from yarn.lock 2020-12-25 18:22:03 +01:00
Andreas Nedbal 49b0b6e1a2 Precompile assets before tests 2020-12-25 18:22:03 +01:00
Andreas Nedbal 5d2ad96f42 WIP: Handle CoffeeScript with Webpacker 2020-12-25 18:22:03 +01:00
Andreas Nedbal df664d2772 Configure CoffeeScript compilation with Webpacker 2020-12-25 18:22:03 +01:00
Andreas Nedbal 388d34c9ce Adjust Docker setup to run Rails without root 2020-12-25 18:22:03 +01:00
Andreas Nedbal d5f61239ce Set proper node environment for testing 2020-12-25 18:22:03 +01:00
Andreas Nedbal 9416debc4a Extend GitHub Actions to install node and yarn 2020-12-25 18:22:03 +01:00
Andreas Nedbal 07134f6f94 Remove policy declaration for local webpack-dev-server 2020-12-25 18:22:03 +01:00
Andreas Nedbal 1fc6929bf0 Adjust Dockerfile to install Webpacker prerequisites 2020-12-25 18:22:03 +01:00
Andreas Nedbal 059471e5cf Initial Webpacker setup 2020-12-25 18:22:03 +01:00
Andreas Nedbal fab1a126dc Install Webpacker 2020-12-25 18:22:03 +01:00
Dominik M. Kwiatek 32da930599
Merge pull request #156 from Retrospring/feature/sign-in-tests
Add sign in tests
2020-12-25 02:10:59 +01:00
Dominik Kwiatek 9558fbf9fe Add sign in tests 2020-12-25 02:07:37 +01:00
Dominik M. Kwiatek b5b9afc657
Merge pull request #153 from Retrospring/update
Update dependencies and fix new lint warnings
2020-11-17 22:22:16 +01:00
Dominik Kwiatek 3db3ccfc41 Fix incorrectly updated conditions 2020-11-17 21:57:19 +01:00
Dominik Kwiatek cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Dominik M. Kwiatek 55823779f4
Merge pull request #152 from Retrospring/feature/totp-recovery-codes
TOTP Recovery Keys
2020-11-16 11:42:36 +01:00
Dominik Kwiatek 277799ff4b Remove `TotpRecoveryCode.remove_all_for(user)` method 2020-11-15 22:09:27 +01:00
Dominik Kwiatek 2e6f49819a Address @nilsding's review comments 2020-11-15 22:08:18 +01:00
Dominik Kwiatek f031143b45 Fix linter errors 2020-11-15 21:35:50 +01:00
Dominik Kwiatek b4358772e1 Fix test for expired OTP 2020-11-15 21:27:38 +01:00
Dominik Kwiatek 4dc00a0114 Fix test for activating with expired code 2020-11-15 10:29:09 +01:00
Dominik Kwiatek aeb1396422 Add tests for recovery codes 2020-11-15 10:21:06 +01:00
Dominik Kwiatek d7cac67c22 Create print view for recovery codes 2020-11-15 10:20:55 +01:00
Dominik Kwiatek f12d56ff7d Remove unused spec file for TotpRecoveryCode model 2020-11-01 19:25:49 +01:00
Dominik Kwiatek c7463df4d4 Fix lint errors 2020-11-01 19:10:59 +01:00
Dominik Kwiatek 9b69ae8fc2 Remove SecureRandom#base36 extension method 2020-11-01 19:10:41 +01:00
Dominik Kwiatek e16896fac1 Provide the user a way to generate new codes. 2020-11-01 18:52:42 +01:00
Dominik Kwiatek 61d82bdbec Display count of remaining recovery codes 2020-11-01 18:41:37 +01:00
Dominik Kwiatek 5eb4f32660 Clean up after TOTP is disabled. 2020-11-01 18:31:20 +01:00
Dominik Kwiatek 5dd920eba2 Allow recovery codes to be used to sign in in place of a OTP 2020-11-01 18:29:11 +01:00
Dominik Kwiatek b4f479a00f Generate recovery keys on TOTP setup 2020-11-01 17:55:31 +01:00
Dominik M. Kwiatek ab03fadaef
Merge pull request #147 from Retrospring/feature/2fa
Implement Two Factor Authentication
2020-10-24 00:30:13 +02:00
Dominik Kwiatek d20f527d8c Add drift period 2020-10-24 00:24:04 +02:00
Dominik Kwiatek ee4b7e2cb1 Auto focus OTP validation field on setup page 2020-10-24 00:13:26 +02:00