Commit Graph

1049 Commits

Author SHA1 Message Date
Karina Kwiatek 5e7042ad6c Show question link for answered questions with only one answer
Closes #43
2021-08-11 14:44:41 +02:00
Karina Kwiatek 466f435116 Add rails admin link to inbox entries 2021-08-11 13:31:33 +02:00
Karina Kwiatek 11e8555dae
Merge pull request #183 from Retrospring/feature/web-share
Add share buttons to answers using Web Share API
2021-08-10 20:26:47 +02:00
Karina Kwiatek aa9fc54ad2 Ensure answerboxes on profiles can properly attach sharing functionality 2021-08-10 18:07:33 +02:00
Karina Kwiatek 86d179d590
Merge branch 'master' into feature/opengraph 2021-08-08 14:24:05 +02:00
Karina Kwiatek 5b087cde3c Use :ruby filter in user/show 2021-08-06 13:52:11 +02:00
Karina Kwiatek 3570171b25 Create rails_admin_path_for_resource helper 2021-08-06 13:38:24 +02:00
Karina Kwiatek cf4d6bd100 Add OpenGraph metadata on user profiles and answers 2021-08-06 13:24:04 +02:00
Karina Kwiatek 8f23088244 Lint: Add missing space to attributes 2021-08-06 11:04:57 +02:00
Karina Kwiatek 4b52f900f2 Use expression substitution for rails admin links 2021-08-06 10:38:00 +02:00
Karina Kwiatek 08822b0f05 Move answerbox actions on to seperate row on mobile 2021-08-06 01:09:28 +02:00
Karina Kwiatek faaab47859 Add links for jumping to rails admin on answers, questions and profiles 2021-08-05 18:31:35 +02:00
Karina Kwiatek a13322dcee Add share option to answers 2021-08-05 18:30:44 +02:00
Karina Kwiatek ba709cdcf6 Update theme-color meta value to match the current page's theme 2021-06-19 21:37:04 +02:00
Erik ff6f619756
Fix services integration after omniauth bump (#173) 2021-04-25 21:56:37 +02:00
Andreas Nedbal 6f37a0f0c3 disable loading BS in the TS context (for now) 2021-02-27 20:44:38 +01:00
Andreas Nedbal 9fceedc5b4 Add initializers for some Typescript functionality 2020-12-26 21:59:53 +01:00
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 9237d9b314 Fix sprockets crashing because of removed gems 2020-12-25 18:22:03 +01:00
Andreas Nedbal 5d2ad96f42 WIP: Handle CoffeeScript with Webpacker 2020-12-25 18:22:03 +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 Kwiatek f031143b45 Fix linter errors 2020-11-15 21:35:50 +01:00
Dominik Kwiatek d7cac67c22 Create print view for recovery codes 2020-11-15 10:20:55 +01:00
Dominik Kwiatek c7463df4d4 Fix lint errors 2020-11-01 19:10:59 +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 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 ee4b7e2cb1 Auto focus OTP validation field on setup page 2020-10-24 00:13:26 +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 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 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 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 141ff59f63 Implement Two Factor Authentication 2020-10-18 10:39:46 +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
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
Dominik M. Kwiatek a92dd54be3 Address @nilsding's review comments 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 29f6313c9a Show hCaptcha validation errors on registration 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 1ac7c35315 Fix haml-lint errors 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 689521c6ed Replace devise_error_messages! with partial 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 984976a2f7 Omit hCaptcha if it is disabled 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 7cac93ad4e Add hCaptcha 2020-05-27 20:07:39 +01:00
Georg Gadinger d906be9da2 Change "Lists" intro text 2020-05-25 20:16:30 +02:00
Georg Gadinger b58883e004 Remove "ask a group" feature 2020-05-25 18:34:43 +02:00
Georg Gadinger 61816aec5f Remove unnecessary class 2020-05-25 18:10:28 +02:00
Georg Gadinger ea0685136e Rename Groups to Lists
haha regexp go brrr

special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Dominik M. Kwiatek 9fa099024f Fix linter errors 2020-05-17 21:09:09 +01:00
Dominik M. Kwiatek d4f8e03d28 Cropping in the background
With database fields, sadly.
2020-05-17 20:39:10 +01:00
Georg Gadinger 49bc29b31a fix some mistakes in some views 2020-05-17 18:15:18 +02:00
Andreas Nedbal 1b555e284d Fix lint violation on announcements partial 2020-05-11 19:40:45 +02:00
Andreas Nedbal 66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal 7639c20f64 Fix lints in app/views/announcement 2020-05-11 19:40:44 +02:00
Andreas Nedbal 60b892e74e Fix display_all being not defined 2020-05-11 19:40:44 +02:00
Andreas Nedbal 7b63efed6f Fix lints in app/views/answerbox 2020-05-11 19:40:44 +02:00
Andreas Nedbal ed6528c948 Fix lints in app/views/application 2020-05-11 19:40:44 +02:00
Andreas Nedbal c585fe3760 Fix lints in app/views/devise 2020-05-11 19:40:44 +02:00
Andreas Nedbal 30331f4bfc Fix lints in app/views/discover 2020-05-11 19:40:44 +02:00
Andreas Nedbal a290cad72d Fix lints in app/views/group 2020-05-11 19:40:44 +02:00
Andreas Nedbal 3a335798fe Fix lints in app/views/inbox 2020-05-11 19:40:43 +02:00
Andreas Nedbal 7243fa11d4 Remove superfluous .html from layout 2020-05-11 19:40:43 +02:00
Andreas Nedbal 2686017ad8 Fix lints in app/views/layouts 2020-05-11 19:40:43 +02:00
Andreas Nedbal 7414471d41 Fix lints in app/views/modal 2020-05-11 19:40:43 +02:00
Andreas Nedbal 13878070fd Remove superfluous .html from moderation views 2020-05-11 19:40:43 +02:00
Andreas Nedbal 3c1d007c5e Fix lints in app/views/moderation 2020-05-11 19:40:43 +02:00
Andreas Nedbal 730b6156ce Fix lints in app/views/navigation 2020-05-11 19:40:43 +02:00
Andreas Nedbal d27ef3aae5 Fix lints in app/views/notifications 2020-05-11 19:38:07 +02:00
Andreas Nedbal 2d4726c297 Fix lints in app/views/public 2020-05-11 19:38:07 +02:00
Andreas Nedbal 7f17a2995e Fix lints in app/views/question 2020-05-11 19:38:07 +02:00
Andreas Nedbal eed08b811c Fix lints in app/views/services 2020-05-11 19:38:07 +02:00
Andreas Nedbal c21a3d0f73 Fix lints in app/views/settings 2020-05-11 19:38:07 +02:00
Andreas Nedbal fe70717510 Fix lints in app/views/shared 2020-05-11 19:38:07 +02:00
Andreas Nedbal a3117861c8 Fix lints in app/views/tabs 2020-05-11 19:38:07 +02:00
Andreas Nedbal e08f9dafab Fix lints in app/views/user 2020-05-11 19:38:06 +02:00
Andreas Nedbal caa6b27684 Fix lints in app/views/static 2020-05-11 19:38:06 +02:00
Andreas Nedbal 4474d9895c Fix notification menu clipping out of view 2020-05-11 15:19:40 +02:00
Andreas Nedbal 937f24839d Fix profile links on new inbox entries being not visible 2020-05-09 11:41:24 +02:00
Andreas Nedbal 0db1de9552 Fix question page dropdowns using old Bootstrap layout 2020-05-09 05:39:01 +02:00
Andreas Nedbal c9866e87bf Merge branch 'master' of github.com:Retrospring/retrospring 2020-05-09 05:03:54 +02:00
Andreas Nedbal 6798dcd090 Fix question dropdown using old Bootstrap layout 2020-05-09 05:03:25 +02:00
Georg Gadinger 0d28152f3e Fix items being inserted after "Load More" button 2020-05-09 04:51:14 +02:00
Georg Gadinger 9b4c8027b8 Fix pagination for ajax views 2020-05-09 04:39:09 +02:00
Andreas Nedbal adf5968ad0 Fix some layout issues on question pages 2020-05-09 04:10:40 +02:00
Andreas Nedbal 4ae8b7ed81 Remove timepicker from ban modal 2020-05-09 03:21:25 +02:00
Andreas Nedbal 936969d72a Fix ban dialog functionality 2020-05-09 03:09:12 +02:00
Andreas Nedbal 322cfceeab Merge branch 'feature/bootstrap' of github.com:Retrospring/retrospring into feature/bootstrap 2020-05-09 02:46:03 +02:00
Andreas Nedbal ba2e82d7ec Fix moderation userbox layout 2020-05-09 02:45:47 +02:00
Georg Gadinger ae8e0b651a Fix Question#show view when user is nil 2020-05-09 02:43:43 +02:00
Georg Gadinger 3ae83d8d02 Unbreak the "Your Data" page when some timestamps are not set 2020-05-09 02:18:23 +02:00
Georg Gadinger 65f152b762 Move user theme to the end of the body --> turbolinks has turbo links again 2020-05-09 02:08:31 +02:00
Andreas Nedbal e44be8fa0e Use large bell icon for notifications page 2020-05-09 00:50:46 +02:00
Andreas Nedbal eec9637aef Add spacing to inbox user avatars 2020-05-09 00:13:53 +02:00
Andreas Nedbal c76f839ea7 Fixed announcement JavaScript functionality 2020-05-07 20:36:14 +02:00
Andreas Nedbal 8a8c2667de Adjust theme settings page layout
- Moved color section to come right after General
- Adjusted buttons for light/dark preview to not trigger form submit
2020-05-07 20:28:20 +02:00
Andreas Nedbal 6e51294eca Adjust announcement index page design 2020-05-07 19:49:39 +02:00
Andreas Nedbal 5d63d0ba27 Update announcement styling and adjust announcement views 2020-05-07 19:30:13 +02:00
Andreas Nedbal 1cc49cf03c Adjust warning-text default theme value 2020-05-07 19:28:26 +02:00
Andreas Nedbal 633f69c163 Fix about page icon styles 2020-05-07 15:09:55 +02:00
Andreas Nedbal d607a8790b Fix styling of new inbox entries 2020-05-07 15:01:35 +02:00
Andreas Nedbal 787ec882c4 Fix answerbox text layout on mobile 2020-05-07 03:46:44 +02:00
Andreas Nedbal 207769d164 Fix layout of profile header in profile settings 2020-05-07 02:30:50 +02:00
Andreas Nedbal 12955cc663 Fix design of user and questionboxes 2020-05-07 02:12:44 +02:00
Andreas Nedbal b443aff964 Fix moderation comment layout 2020-05-06 22:54:36 +02:00
Andreas Nedbal e4561862e5 Adjust frontpage text to match master version 2020-05-06 22:22:16 +02:00
Andreas Nedbal 83f51b6422 Add new styling for Devise views 2020-05-06 21:56:10 +02:00
Andreas Nedbal 6c54f8b79f Adjust image spacing in profile settings 2020-05-06 21:29:06 +02:00
Andreas Nedbal 65e66003ee Fix theme deletion not working 2020-05-06 18:51:06 +02:00
Andreas Nedbal 859d2825d1 Remove mention of shutdown from export page 2020-05-06 14:23:11 +02:00
Andreas Nedbal 689dd3880f Adjust texts in tabs/feed template 2020-05-06 13:56:09 +02:00
Andreas Nedbal c142920c6c Adjust answerbox layout on mobile 2020-05-05 05:04:54 +02:00
Andreas Nedbal 22ae1f6655 Adjust navigation layout on main feed pages 2020-05-05 04:31:15 +02:00
Andreas Nedbal aa25e8199f Remove old theme styling file 2020-05-05 03:27:56 +02:00
Andreas Nedbal 83cebe4d9b Fix theme preview not applying
This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style
2020-05-05 02:03:49 +02:00
Andreas Nedbal 880429f5f9 Add new fields for themes
- In the settings view
- In the model validation
- In the controller parameter permissions
- In the CoffeeScript/Ruby helpers
2020-05-05 02:02:16 +02:00
Andreas Nedbal fe357eaa07 Update layout of the theme settings page 2020-05-04 15:37:13 +02:00
Andreas Nedbal 02cc1c418d WIP: Initial implementation of CSS variable based theming 2020-05-03 17:28:41 +02:00
Andreas Nedbal 9b38b1d736 Refactor comment styles and layout 2020-05-02 21:23:04 +02:00
Andreas Nedbal 85d97b0c71 Rename changed classes across templates 2020-05-02 20:35:48 +02:00
Andreas Nedbal b508eb3f21 Refactor and adjust answerbox styles 2020-05-02 20:35:28 +02:00
Andreas Nedbal 2a8a80e859 Refactor locale panel styles 2020-05-02 18:29:04 +02:00
Andreas Nedbal 28c21dcc3d Refactor smile user list styles 2020-05-02 18:12:55 +02:00
Andreas Nedbal 1e2259fe40 Rename j2-page class to container--main 2020-05-02 17:37:19 +02:00
Andreas Nedbal 185b5a65c8 Refactor notification styling and layout 2020-05-01 21:57:14 +02:00
Andreas Nedbal e8b003fde4 Refactor entry styling and adjust layouts where used 2020-05-01 19:29:05 +02:00
Andreas Nedbal 932c611dab Fix userbox layout on frontpage 2020-05-01 18:55:18 +02:00
Andreas Nedbal 86744a3da4 Refactor userbox styling and layout 2020-05-01 18:38:29 +02:00
Andreas Nedbal 7bd7b91ea4 Refactor and redesign user profile section 2020-04-30 20:35:22 +02:00
Andreas Nedbal 3f0d84a4ad Re-add answer/show template 2020-04-30 20:33:05 +02:00
Andreas Nedbal d61fa91f0d Refactor question styles
- Created styles in component/question
- Removed old styles from scss/panel
- Moved question partial to question controller resource, as it is only used there, not shared
2020-04-30 00:44:43 +02:00
Andreas Nedbal c4c0c44eec Remove old navbar styles and refactor navigation
- Create components/buttons for btn-fab element
- Create components/avatars for defined avatar size classes and behaviour
2020-04-29 18:15:52 +02:00
Andreas Nedbal cc5489c357 Remove group styles and adjust group modal layout 2020-04-29 15:26:50 +02:00
Andreas Nedbal 56bef6a4aa Remove unnecessary styles for "data" page 2020-04-29 14:49:24 +02:00
Andreas Nedbal 45b11bddfd Merge branch 'master' into feature/bootstrap 2020-04-29 02:49:07 +02:00
Georg Gadinger 66527a8c9c views/ajax: delete 2020-04-28 20:39:17 +02:00