2016-11-15 16:56:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# frozen_string_literal: true
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								source 'https://rubygems.org'
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-21 10:10:24 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								ruby '>= 2.5.0', '< 3.0.0'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-28 20:48:08 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'pkg-config', '~> 1.4'
							 | 
						
					
						
							
								
									
										
										
										
											2017-04-14 02:15:03 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-22 15:23:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'puma', '~> 5.0'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-14 22:08:13 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rails', '~> 5.2.4.4'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-05 05:48:34 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sprockets', '~> 3.7.2'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-16 20:40:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'thor', '~> 1.0'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-17 13:30:57 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rack', '~> 2.2.3'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 07:01:59 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'thwait', '~> 0.2.0'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-10 12:34:25 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'e2mmap', '~> 0.1.0'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'hamlit-rails', '~> 0.2'
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-31 00:21:51 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'pg', '~> 1.2'
							 | 
						
					
						
							
								
									
										
										
										
											2018-08-18 21:06:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'makara', '~> 0.4'
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-07 00:34:12 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'pghero', '~> 2.7'
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-25 15:55:53 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'dotenv-rails', '~> 2.7'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-06 16:56:13 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'aws-sdk-s3', '~> 1.83', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-22 16:58:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'fog-core', '<= 2.1.0'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								gem 'fog-openstack', '~> 0.3', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-24 20:52:45 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'paperclip', '~> 6.0'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'paperclip-av-transcoder', '~> 0.6'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-16 07:22:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'streamio-ffmpeg', '~> 3.0'
							 | 
						
					
						
							
								
									
										
										
										
											2019-04-27 03:24:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'blurhash', '~> 0.1'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-07 04:02:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'active_model_serializers', '~> 0.10'
							 | 
						
					
						
							
								
									
										
										
										
											2019-09-05 12:31:47 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'addressable', '~> 2.7'
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-13 02:55:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'bootsnap', '~> 1.4', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-25 16:54:30 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'browser'
							 | 
						
					
						
							
								
									
										
										
										
											2019-11-27 11:53:50 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'charlock_holmes', '~> 0.7.7'
							 | 
						
					
						
							
								
									
										
										
										
											2017-09-08 12:32:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'iso-639'
							 | 
						
					
						
							
								
									
										
										
										
											2019-09-25 03:28:25 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'chewy', '~> 5.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-09 00:12:52 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'cld3', '~> 3.3.0'
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-26 23:04:52 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'devise', '~> 4.7'
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-12 20:11:55 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'devise-two-factor', '~> 3.1'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-02 10:18:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-19 20:08:56 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								group :pam_authentication, optional: true do
							 | 
						
					
						
							
								
									
										
										
										
											2018-09-14 17:42:45 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'devise_pam_authenticatable2', '~> 9.2'
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-19 20:08:56 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							
								
									
										
										
										
											2018-04-07 21:36:58 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-11-27 21:33:20 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'net-ldap', '~> 0.16'
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-07 02:25:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'omniauth-cas', '~> 1.1'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								gem 'omniauth-saml', '~> 1.10'
							 | 
						
					
						
							
								
									
										
										
										
											2018-12-17 10:15:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'omniauth', '~> 1.9'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-02 10:18:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-05 18:28:25 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'color_diff', '~> 0.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-25 22:48:52 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'discard', '~> 1.2'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-12 15:25:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'doorkeeper', '~> 5.4'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-02 19:24:53 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'ed25519', '~> 1.2'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'fast_blank', '~> 1.0'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-21 03:40:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'fastimage'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'hiredis', '~> 0.6'
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-25 20:57:44 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'redis-namespace', '~> 1.8'
							 | 
						
					
						
							
								
									
										
										
										
											2019-09-25 03:28:25 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'health_check', git: 'https://github.com/ianheggie/health_check', ref: '0b799ead604f900ed50685e9b2d469cd2befba5b'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'htmlentities', '~> 4.3'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-08 18:42:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'http', '~> 4.4'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'http_accept_language', '~> 2.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-15 23:22:01 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'httplog', '~> 1.4.3'
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-15 17:24:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'idn-ruby', require: 'idn'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-04 13:53:42 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'kaminari', '~> 1.2'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'link_header', '~> 0.0'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-05 05:48:18 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'mime-types', '~> 3.3.1', require: 'mime/types/columnar'
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-13 16:45:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'nilsimsa', git: 'https://github.com/witgo/nilsimsa', ref: 'fd184883048b922b176939f851338d0a4971a532'
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-08 14:10:30 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'nokogiri', '~> 1.10'
							 | 
						
					
						
							
								
									
										
										
										
											2017-09-29 03:16:44 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'nsa', '~> 0.2'
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-23 22:35:04 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'oj', '~> 3.10'
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-31 12:42:17 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'ox', '~> 2.13'
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-27 04:42:08 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'parslet'
							 | 
						
					
						
							
								
									
										
										
										
											2019-11-27 20:49:19 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'parallel', '~> 1.19'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-29 00:59:29 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'posix-spawn'
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-19 22:36:45 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'pundit', '~> 2.1'
							 | 
						
					
						
							
								
									
										
										
										
											2018-01-16 03:29:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'premailer-rails'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-08 17:44:24 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rack-attack', '~> 6.3'
							 | 
						
					
						
							
								
									
										
										
										
											2019-11-27 11:59:57 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rack-cors', '~> 1.1', require: 'rack/cors'
							 | 
						
					
						
							
								
									
										
										
										
											2018-04-12 21:45:17 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rails-i18n', '~> 5.1'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rails-settings-cached', '~> 0.6'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-15 23:11:20 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'redis', '~> 4.2', require: ['redis', 'redis/connection/hiredis']
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-19 14:44:04 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'mario-redis-lock', '~> 1.2', require: 'redis_lock'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-11 19:51:04 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rqrcode', '~> 1.1'
							 | 
						
					
						
							
								
									
										
										
										
											2019-09-10 13:48:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'ruby-progressbar', '~> 1.10'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-08 15:02:10 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sanitize', '~> 5.2'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-29 00:54:00 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sidekiq', '~> 6.1'
							 | 
						
					
						
							
								
									
										
										
										
											2018-09-27 02:11:21 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sidekiq-scheduler', '~> 3.0'
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-14 10:18:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sidekiq-unique-jobs', '~> 6.0'
							 | 
						
					
						
							
								
									
										
										
										
											2018-11-22 12:47:36 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sidekiq-bulk', '~>0.2.0'
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-20 01:49:17 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'simple-navigation', '~> 4.1'
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-30 19:00:41 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'simple_form', '~> 5.0'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'sprockets-rails', '~> 3.2', require: 'sprockets/railtie'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 03:00:35 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'stoplight', '~> 2.2.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-29 02:18:59 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'strong_migrations', '~> 0.7'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-29 00:51:15 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'tty-prompt', '~> 0.22', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'twitter-text', '~> 1.14'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-08 18:50:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'tzinfo-data', '~> 1.2020'
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-21 05:23:52 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'webpacker', '~> 5.2'
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-13 22:15:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'webpush'
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
  it's possible to setting up again if you already had TOTP, in order to
  let users modify their authenticator app – given that now it's not
  possible for them to disable TOTP and set it up again with another
  authenticator app.
  So, basically, now instead of storing the new `otp_secret` in the
  user, we store it in the session until the process of set up is
  finished.
  This was because, as it was before, when users clicked on 'Edit' in
  the new two-factor methods lists page, but then went back without
  finishing the flow, their `otp_secret` had been changed therefore
  invalidating their previous authenticator app, making them unable to
  log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
											
										 
										
											2020-08-24 11:46:27 -03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'webauthn', '~> 3.0.0.alpha1'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-14 03:01:43 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'json-ld'
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-10 21:26:53 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'json-ld-preloaded', '~> 3.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-11 07:02:16 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'rdf-normalize', '~> 0.4'
							 | 
						
					
						
							
								
									
										
										
										
											2017-08-26 13:47:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								group :development, :test do
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-02 22:55:43 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'fabrication', '~> 2.21'
							 | 
						
					
						
							
								
									
										
										
										
											2019-11-11 22:05:16 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'fuubar', '~> 2.5'
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-30 01:06:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'i18n-tasks', '~> 0.9', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-08 18:52:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'pry-byebug', '~> 3.9'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'pry-rails', '~> 0.3'
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-02 18:54:41 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rspec-rails', '~> 4.0'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-25 00:17:01 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-25 03:16:11 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								group :production, :test do
							 | 
						
					
						
							
								
									
										
										
										
											2018-09-21 00:42:59 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'private_address_check', '~> 0.5'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-25 03:16:11 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-25 00:17:01 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								group :test do
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-25 17:48:40 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'capybara', '~> 3.33'
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-01 00:09:17 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'climate_control', '~> 0.2'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-21 16:11:55 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'faker', '~> 2.14'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-05 05:48:34 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'microformats', '~> 4.2'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rails-controller-testing', '~> 1.0'
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-25 17:47:34 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rspec-sidekiq', '~> 3.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-21 05:31:28 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'simplecov', '~> 0.19', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-16 12:45:52 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'webmock', '~> 3.9'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-22 16:53:24 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'parallel_tests', '~> 3.3'
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-01 20:19:01 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rspec_junit_formatter', '~> 0.4'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								group :development do
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-29 10:55:07 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'active_record_query_trace', '~> 1.7'
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-10 03:32:39 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'annotate', '~> 3.1'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-21 16:12:11 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'better_errors', '~> 2.8'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'binding_of_caller', '~> 0.7'
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-06 23:02:46 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'bullet', '~> 6.1'
							 | 
						
					
						
							
								
									
										
										
										
											2018-12-11 14:34:02 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'letter_opener', '~> 1.7'
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-10 20:28:22 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'letter_opener_web', '~> 1.4'
							 | 
						
					
						
							
								
									
										
										
										
											2018-02-21 23:21:32 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'memory_profiler'
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-29 14:59:31 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rubocop', '~> 0.92', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-08 05:08:17 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'rubocop-rails', '~> 2.8', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-06 17:07:50 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'brakeman', '~> 4.10', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-16 00:57:20 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'bundler-audit', '~> 0.7', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2017-01-30 20:03:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-08 21:29:03 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'capistrano', '~> 3.14'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 12:24:53 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'capistrano-rails', '~> 1.6'
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-28 03:24:09 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'capistrano-rbenv', '~> 2.2'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'capistrano-yarn', '~> 2.0'
							 | 
						
					
						
							
								
									
										
										
										
											2018-05-02 18:58:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  gem 'stackprof'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								group :production do
							 | 
						
					
						
							
								
									
										
										
										
											2019-04-21 04:49:05 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'lograge', '~> 0.11'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-11 02:27:01 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  gem 'redis-rails', '~> 5.0'
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-20 22:53:20 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								end
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-15 09:24:35 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								gem 'concurrent-ruby', require: false
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-02 00:34:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								gem 'connection_pool', require: false
							 |