Commit Graph

2252 Commits

Author SHA1 Message Date
Dominik Kwiatek 66cccbb5d6 Use the same string for 2FA failures 2020-10-23 20:58:42 +02:00
Dominik Kwiatek d7a1750694 Implement @nilsding's review changes 2020-10-23 20:45:06 +02:00
Dominik Kwiatek 0f98d7bad8 Fix list styling on Comment Smiles modal 2020-10-21 20:43:58 +02:00
Dominik Kwiatek 482b7992a9 Add test for #destroy_2fa endpoint 2020-10-21 16:52:59 +02:00
Dominik Kwiatek 55de0e45d2 Add test for #update_2fa endpoint 2020-10-21 16:47:07 +02:00
Dominik Kwiatek d89d7a0e7f Add trailing new line to settings partials 2020-10-21 13:59:13 +02:00
Dominik Kwiatek 68b1bbb908 Fix bad refactor 2020-10-21 13:55:55 +02:00
Dominik Kwiatek d3cc421225 Rename settings partials to match naming conventions 2020-10-21 13:49:12 +02:00
Dominik Kwiatek 556050aa66 Add tests for security settings page 2020-10-21 13:44:00 +02:00
Dominik Kwiatek be35546667 Add debugger to Docker image 2020-10-20 13:24:10 +02:00
Dominik Kwiatek febcf347ee Add basic login form tests 2020-10-20 11:44:20 +02:00
Dominik Kwiatek 3211f8f59b Make OTP secret longer 2020-10-19 20:25:18 +02:00
Dominik Kwiatek ea99805da1 Fix remaining lint warnings 2020-10-19 15:55:00 +02:00
Dominik Kwiatek dc88ac3f06 haml-lint fixes 2020-10-19 15:02:04 +02:00
Dominik Kwiatek 70b8053d15 Add F-Droid & GitHub links for Android TOTP App 2020-10-19 14:56:30 +02:00
Dominik Kwiatek 433f1d45e5 Use controller for setting up QR Code 2020-10-19 14:56:13 +02:00
Dominik Kwiatek 00da21a13d Redirect away from two factor entry page if no target user is set in session 2020-10-19 12:20:44 +02:00
Dominik Kwiatek 5447e905c0 Shorten 2FA setup OTP validation field 2020-10-18 20:49:30 +02:00
Dominik Kwiatek d550e6d4c7 Add help text and confirmation for disabling 2FA 2020-10-18 20:49:11 +02:00
Dominik Kwiatek 4ce5dfc92a Fix detaching, improve UI for attaching 2FA 2020-10-18 19:48:12 +02:00
Dominik Kwiatek 25410e111d Fix OTP auth triggering for users who haven't set it up
I thought I could be clever by using a null secret key as an indicator of it being disabled
2020-10-18 11:39:28 +02:00
Dominik Kwiatek 141ff59f63 Implement Two Factor Authentication 2020-10-18 10:39:46 +02:00
Dominik Kwiatek d9cc9daf4b Use available threads for bundle install 2020-10-03 12:56:36 +02:00
Dominik Kwiatek 3efde50028 Store Postgres data in volume 2020-10-03 12:56:36 +02:00
Georg Gadinger 1d1ed3a124
Merge pull request #145 from Retrospring/dependabot/bundler/pghero-2.7.0
Bump pghero from 2.4.2 to 2.7.0
2020-08-05 18:46:16 +02:00
dependabot[bot] bfbc41668a
Bump pghero from 2.4.2 to 2.7.0
Bumps [pghero](https://github.com/ankane/pghero) from 2.4.2 to 2.7.0.
- [Release notes](https://github.com/ankane/pghero/releases)
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v2.4.2...v2.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 15:23:03 +00:00
Georg Gadinger 75fa27a165
Merge pull request #143 from Retrospring/waspflakes
Cornflakes!
2020-07-04 20:54:31 +02:00
Georg Gadinger efec568d43 Use timestamp-based IDs
This change introduces timestamp-based (Snowflake/Cornflake/Waspflake)
identifier.
2020-07-04 20:46:50 +02:00
Georg Gadinger d627c4c261 Update rack 2020-07-04 20:36:53 +02:00
Georg Gadinger 74c4a349d6
Merge pull request #142 from Retrospring/dependabot/bundler/sanitize-5.2.1
Bump sanitize from 5.1.0 to 5.2.1
2020-06-17 07:13:05 +02:00
dependabot[bot] b4868af61b
Bump sanitize from 5.1.0 to 5.2.1
Bumps [sanitize](https://github.com/rgrove/sanitize) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/master/HISTORY.md)
- [Commits](https://github.com/rgrove/sanitize/compare/v5.1.0...v5.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-16 22:30:45 +00:00
Georg Gadinger 5ae5ed6c8d
Merge pull request #138 from Retrospring/fix-hcaptcha
Use own hCaptcha fork to fix signups
2020-06-06 11:35:52 +02:00
Georg Gadinger 72c51f5536 Update websocket-extensions because dependabot is too slow for doing that 2020-06-05 18:31:08 +02:00
Georg Gadinger 1432b9286c Use Retrospring fork of hCaptcha 2020-06-05 18:30:25 +02:00
Robin B 19b754984e Add bottom padding to userbox col in moderation view
As suggested by @pixeldesu
2020-05-31 03:50:50 +02:00
Robin B c96ad5c77c Add bottom padding to userbox col in show_follow haml 2020-05-31 03:50:50 +02:00
Robin B a7d66f1e01 Add bottom padding to userbox col in show_follow
Fixes #116
2020-05-31 03:50:50 +02:00
Robin B 9cb17f7488 Use user_screen_name() in smile tooltip
As suggested by @pixeldesu

Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
2020-05-31 03:27:12 +02:00
Robin B 07d73b6fa4 Use display name instead of screen name in smile tooltip
Fixes #127
2020-05-31 03:27:12 +02:00
Robin B 79416c310b Drop DejaVu Sans from sans-serif fonts
Fixes #132
2020-05-31 02:41:27 +02:00
Robin B d402f9afca Don't hide overflow of userbox
Fixes #126
2020-05-31 02:38:23 +02:00
Dominik M. Kwiatek abf78d4f49 Don't center content on Desktop
Suggestions from @pixeldesu's review

Co-authored-by: Andreas Nedbal <andy@pixelde.su>
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek ee947f2428 Make the "Load more" button center-aligned and give it "button" styling
Fixes #107
2020-05-29 23:05:38 +02:00
Georg Gadinger f9a79acc8a
Merge pull request #124 from Retrospring/dependabot/bundler/kaminari-1.2.1
Bump kaminari from 1.2.0 to 1.2.1
2020-05-29 03:01:41 +02:00
dependabot[bot] d34baae468
Bump kaminari from 1.2.0 to 1.2.1
Bumps [kaminari](https://github.com/kaminari/kaminari) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/kaminari/kaminari/releases)
- [Changelog](https://github.com/kaminari/kaminari/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaminari/kaminari/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-28 23:43:57 +00:00
Dominik M. Kwiatek 0336651f30
Merge pull request #119 from Retrospring/feature/hcaptcha 2020-05-27 22:51:01 +01:00
Dominik M. Kwiatek d448d293de Remove test env skip 2020-05-27 22:33:54 +01:00
Dominik M. Kwiatek 4c7ec05198 Address @nilsding's review comments 2020-05-27 22:27:54 +01:00
Dominik M. Kwiatek e512d5502d Mock verify_captcha 2020-05-27 21:47:27 +01:00
Dominik M. Kwiatek 5650b2eb0b Add hCaptcha to example config 2020-05-27 21:12:25 +01:00