Commit Graph

1992 Commits

Author SHA1 Message Date
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
Karina Kwiatek 86c940c226 Ensure minicolors overrides apply 2021-04-05 09:00:03 +02:00
Karina Kwiatek 1eb256ee88 Apply theme colours to turbolinks progress bar 2021-04-05 09:00:03 +02:00
Dominik M. Kwiatek 45cb0cab26
Disable 00_rails.ts initalizer (#171)
* Disable 00_rails.ts initalizer

* Update Gemfile.lock

Dealing with mimemagic
2021-04-03 18:58:45 +02:00
Andreas Nedbal 327c76fdb3 don't use the wrong theme color value 2021-02-27 23:32:05 +01:00
Andreas Nedbal c68e62efb3 Fix theme page not working 2021-02-27 21:43:43 +01:00
Andreas Nedbal fbac1f004a Fix pagination being broken on navigation 2021-02-27 21:11:04 +01:00
Andreas Nedbal 6f37a0f0c3 disable loading BS in the TS context (for now) 2021-02-27 20:44:38 +01:00
Andreas Nedbal abf772448e open sesame (or, "I brought back tooltips") 2021-02-26 22:50:49 +01:00
Andreas Nedbal 3dc7bc9567 add bootstrap import to main file and use proper turbolinks event 2021-02-26 22:41:46 +01:00
Andreas Nedbal 17a177cc4b
fix JS errors that impede executing the rest of the JS (#170) 2021-02-26 21:43:31 +01:00
Andreas Nedbal 9d9216d726 Apply review suggestion by @raccube
Co-authored-by: Dominik M. Kwiatek <6197148+raccube@users.noreply.github.com>
2020-12-26 21:59:53 +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 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 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 5d2ad96f42 WIP: Handle CoffeeScript with Webpacker 2020-12-25 18:22:03 +01:00
Andreas Nedbal 059471e5cf Initial Webpacker setup 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 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 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 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 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
Dominik Kwiatek 37d2b43023 Apply styling to OTP attempt field 2020-10-24 00:13:14 +02:00
Dominik Kwiatek 0f80bcef14 Remove I18n. prefix 2020-10-23 21:01:00 +02:00
Dominik Kwiatek 702156258c Remove user/sessions#two_factor_entry 2020-10-23 21:00:06 +02:00
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 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 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
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
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
Dominik M. Kwiatek d185c54f03 Add CarrierWave Backgrounder 2020-05-17 20:38:40 +01:00
Karina Kwiatek ff9741589d Implement cropping; make uploaders DRY 2020-05-17 20:38:40 +01:00
Karina Kwiatek 9757c56a2b Add original version to uploaders 2020-05-17 20:38:40 +01:00
Karina Kwiatek 3cc05a395f Remove /system prefix from store_dir 2020-05-17 20:38:40 +01:00
Karina Kwiatek 6f0d4971fb Add paperclip path to uploaders 2020-05-17 20:38:40 +01:00
Karina Kwiatek 783e47fc2b Replace paperclip with CarrierWave 2020-05-17 20:38:40 +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
Georg Gadinger 2b66026683 Fix inbox entry not being cleared after submission 2020-05-09 14:46:47 +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 b29d3309d0 Make default btn-link themable 2020-05-09 02:45:57 +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 d82b7006e8 Fix turbolinks loading being broken 2020-05-09 01:57:20 +02:00
Andreas Nedbal 07033545ee Fix smiling commits not setting proper classes 2020-05-09 01:35:03 +02:00
Andreas Nedbal 925193548f Remove hover states from notification dropdown 2020-05-09 00:53:24 +02:00
Andreas Nedbal bc3c1f287e Add Bootstrap input-group-text overrides for CSS variables 2020-05-09 00:51:37 +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 f11431279d Fix header image not being centered 2020-05-07 19:53:40 +02:00
Andreas Nedbal 6e51294eca Adjust announcement index page design 2020-05-07 19:49:39 +02:00
Andreas Nedbal a9344f63a6 Override Bootstrap alert-link styling for CSS variables 2020-05-07 19:30:32 +02:00
Andreas Nedbal 5d63d0ba27 Update announcement styling and adjust announcement views 2020-05-07 19:30:13 +02:00
Andreas Nedbal 501a2cce42 Replace bootstrap3-datetimepicker with a BS4 equivalent 2020-05-07 19:29:12 +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 0c0b8eaf16 Remove log statement from theme code 2020-05-07 03:56:11 +02:00
Andreas Nedbal 787ec882c4 Fix answerbox text layout on mobile 2020-05-07 03:46:44 +02:00
Andreas Nedbal 7c8809ce14 Remove iOS button style from dropdown toggle 2020-05-07 03:43:13 +02:00
Andreas Nedbal a3d302586d Remove border-radius from jumbotrons 2020-05-07 03:39:02 +02:00
Andreas Nedbal 207769d164 Fix layout of profile header in profile settings 2020-05-07 02:30:50 +02:00
Andreas Nedbal 3a4b04b5da Don't track theme style tags with turbolinks 2020-05-07 02:13:07 +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 c75c86e16c Add focus and active override styles 2020-05-06 22:48:07 +02:00
Andreas Nedbal 771e09133c Add active styling for buttons 2020-05-06 22:35:33 +02:00
Andreas Nedbal c261c85e22 Fix outline button styles 2020-05-06 22:24:56 +02:00
Andreas Nedbal e4561862e5 Adjust frontpage text to match master version 2020-05-06 22:22:16 +02:00
Andreas Nedbal 928eeb28f3 Redirect user to edit_user_theme_path after deletion 2020-05-06 22:19:30 +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 f4da2b84c6 Improve styling of minicolors swatch 2020-05-06 21:19:49 +02:00
Andreas Nedbal 65e66003ee Fix theme deletion not working 2020-05-06 18:51:06 +02:00
Andreas Nedbal f8448405a4 Remove empty Helper classes 2020-05-06 18:42:53 +02:00
Andreas Nedbal f6ca2176d3 Remove arctic_scroll 2020-05-06 18:13:51 +02:00
Andreas Nedbal e1c1357d9b Fix missing arguments on current_page? 2020-05-06 14:49:35 +02:00
Andreas Nedbal 9961796e3b Apply review suggestion for navigation tag helpers 2020-05-06 14:30:12 +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 892b708c6f Implement changes to ThemeHelper requested by review
- turned theme_attribute_map into frozen constant ATTRIBUTE_MAP
- early return if no theme exists, instead of if-block
- usage of Hash#key? instead Hash[k] to confirm existence of key in hash
- Early skip/next if key is not present in Hash instead of if-block
2020-05-06 13:36:43 +02:00
Andreas Nedbal d9f67e86d9 Fix get_active_theme to return proper theme for user 2020-05-05 20:17:49 +02:00
Andreas Nedbal c142920c6c Adjust answerbox layout on mobile 2020-05-05 05:04:54 +02:00
Andreas Nedbal 0bc4a5b968 Fix hidespan helper using not existing Bootstrap class 2020-05-05 05:04:43 +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 9d5d205ded Fix muted text variant not overriding Bootstrap default 2020-05-05 02:02:49 +02:00
Andreas Nedbal 04c4e4c7f1 Add variables for light/dark color variants 2020-05-05 02:02:33 +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 53979580d8 Merge branch 'master' into feature/bootstrap 2020-05-04 23:19:54 +02:00
Andreas Nedbal a3a1250dcf Fix default text color of list group actions 2020-05-04 20:47:00 +02:00
Andreas Nedbal d93548891d Remove obsolete render_theme_with_context 2020-05-04 17:26:57 +02:00
Andreas Nedbal e7c5b1a4a3 Remove theme preview route and logic 2020-05-04 17:26:38 +02:00
Andreas Nedbal 582f8606b0 Changed theme preview to work without hitting an endpoint 2020-05-04 17:26:18 +02:00
Andreas Nedbal fe357eaa07 Update layout of the theme settings page 2020-05-04 15:37:13 +02:00
Andreas Nedbal 9235533f59 Adjust button styles for theming
- Default (unstyled) buttons use the body text color
- Colored buttons use their text color equivalent
2020-05-03 21:57:19 +02:00
Andreas Nedbal a36bcf6cd3 Add Bootstrap modal overrides for CSS variables 2020-05-03 21:44:12 +02:00
Andreas Nedbal ea638305cc Fix customized hover/focus styles for list group items 2020-05-03 20:39:45 +02:00
Andreas Nedbal 1eddb0ad36 Adjust input styling to be a bit more lenient in themes 2020-05-03 20:39:21 +02:00
Andreas Nedbal a6b21a85e5 Add more theming changes to dropdowns 2020-05-03 20:24:32 +02:00
Andreas Nedbal 241b8cbdcb Rename card variables to "raised" 2020-05-03 20:10:50 +02:00
Andreas Nedbal 02cc1c418d WIP: Initial implementation of CSS variable based theming 2020-05-03 17:28:41 +02:00
Andreas Nedbal 51bef29ace More style adjustments to default and core elements 2020-05-03 17:28:19 +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 1f5ec4e28d Remove unused variable file 2020-05-02 17:47:07 +02:00
Andreas Nedbal 7601da1975 Remove unused panel styles 2020-05-02 17:44:43 +02:00
Andreas Nedbal f40435da4b Remove unused classes from base and add imports to main file 2020-05-02 17:38:23 +02:00
Andreas Nedbal 22ef4f4656 Add smiles scss component 2020-05-02 17:37:58 +02:00
Andreas Nedbal 948bc27810 Add body element scss file for body style adjustments 2020-05-02 17:37:42 +02:00
Andreas Nedbal 1e2259fe40 Rename j2-page class to container--main 2020-05-02 17:37:19 +02:00
Andreas Nedbal 4e9311c25b Add generic navbar-height variable 2020-05-02 17:36:40 +02:00
Andreas Nedbal 2c11272bd4 Move utility class to utilities file 2020-05-02 17:36:22 +02:00
Andreas Nedbal 8c3ff8f31d Add overrides for growls and sweet-alert 2020-05-02 17:36:05 +02:00
Georg Gadinger 0109322610 add spec for Ajax::ModerationController 2020-05-01 22:41:26 +02:00
Andreas Nedbal 185b5a65c8 Refactor notification styling and layout 2020-05-01 21:57:14 +02:00
Andreas Nedbal aa5ca6c64a Remove unused variables and move remaining ones to proper file 2020-05-01 19:50:51 +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 33e2533467 Add overrides files for bs-datetimepicker and minicolors 2020-05-01 18:38:49 +02:00
Andreas Nedbal 86744a3da4 Refactor userbox styling and layout 2020-05-01 18:38:29 +02:00
Georg Gadinger 3e95d5ebeb add spec for Ajax::ReportController 2020-05-01 10:17:05 +02:00
Georg Gadinger 6f3f3afa2f add spec for Ajax::GroupController 2020-05-01 10:17:05 +02:00
Georg Gadinger 54532c71e1 add spec for Ajax::QuestionController
also fix some minor annoyances
2020-05-01 10:17:05 +02:00
Georg Gadinger 1824fb1c25 add spec for Ajax::InboxController 2020-05-01 10:17:05 +02:00
Georg Gadinger dd5f718f31 Question: user association is optional 2020-05-01 10:17:05 +02:00
Georg Gadinger d492cd34f6 AjaxController: also rescue from StandardError 2020-05-01 10:17:05 +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 e8bbf2c2f1 Adjust casing of $colorNames variable 2020-04-29 18:26:15 +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 77b650ed86 Remove unused "about--moderator" styles 2020-04-29 15:49:13 +02:00
Andreas Nedbal cc5489c357 Remove group styles and adjust group modal layout 2020-04-29 15:26:50 +02:00
Andreas Nedbal 0bf0b7d6da Remove more "no-header" styles for profiles 2020-04-29 14:49:43 +02:00
Andreas Nedbal 56bef6a4aa Remove unnecessary styles for "data" page 2020-04-29 14:49:24 +02:00
Andreas Nedbal ea36f7e218 Remove mobile specific profile styles 2020-04-29 14:48:35 +02:00
Andreas Nedbal 91a7f7ed33 Fix wrong partial in Ajax::CommentController#create 2020-04-29 14:01:48 +02:00
Andreas Nedbal b22c7d358c Fix wrong partial path in Ajax::AnswerController#create 2020-04-29 13:33:53 +02:00
Andreas Nedbal 45b11bddfd Merge branch 'master' into feature/bootstrap 2020-04-29 02:49:07 +02:00
Georg Gadinger 29a5d0408c ajax_controller: fix variable name 2020-04-28 21:42:41 +02:00
Georg Gadinger 66527a8c9c views/ajax: delete 2020-04-28 20:39:17 +02:00
Georg Gadinger 2f2b9ab1f4 New Relic be like: *notices your errors* OwO what's this? 2020-04-28 20:32:36 +02:00
Georg Gadinger e07d069c73 Refactor Ajax::*Controllers
Also removed the unused `Ajax::QuestionController#preview` method and
route
2020-04-28 20:28:00 +02:00
Andreas Nedbal d53abd307d Remove no-header classes from profile page 2020-04-28 19:33:54 +02:00
Andreas Nedbal 22197a9e51 Add Bootstrap input CSS variable overrides 2020-04-28 15:56:38 +02:00
Andreas Nedbal 01499797a1 Add Bootstrap text-muted CSS variable override 2020-04-28 15:52:20 +02:00
Andreas Nedbal 650751e875 Adjust profile statistics layout
- Instead of being in the sidebar, they are now present as a tabbed navigation
- The questionbox is now present on any layout
2020-04-28 15:03:51 +02:00
Andreas Nedbal ddb2537926 Add Bootstrap dropdown CSS variable overrides 2020-04-28 15:02:23 +02:00
Andreas Nedbal a0c99574ba Fix usage of deprecated size() method 2020-04-28 13:26:20 +02:00
Andreas Nedbal e7d076d699 Add missing --color-text variables for themes 2020-04-28 13:19:59 +02:00
Andreas Nedbal 93fc9c2963 Add Bootstrap alert CSS variable overrides 2020-04-28 13:17:02 +02:00
Andreas Nedbal aa453ab770 Moved $colors list into variables
Also renamed it because it would cause a collission with Bootstraps $colors surely at some point.
2020-04-28 13:07:16 +02:00
Andreas Nedbal a7cefa11b3 Add customizable hover styles to buttons 2020-04-27 19:57:10 +02:00
Andreas Nedbal 1951779c00 Fix Jumbotron styles being broken due to adjusted *-text behaviour 2020-04-27 18:39:24 +02:00
Andreas Nedbal 56b63d60b7 Add "navbar-themed" class to use CSS variables in navigation 2020-04-27 18:39:01 +02:00
Andreas Nedbal 76c91180b0 Added overrides for Bootstrap styles to use CSS variables 2020-04-27 18:38:24 +02:00
Andreas Nedbal e9e0a222b0 Merge branch 'master' into feature/bootstrap 2020-04-27 02:11:54 +02:00
Andreas Nedbal 40df3a59d8 Remove "discover" class 2020-04-27 01:55:31 +02:00
Andreas Nedbal 61dbfda395 Remove panel overide styles 2020-04-27 01:36:37 +02:00
Andreas Nedbal 416a12f956 Remove "centre" class 2020-04-27 01:31:43 +02:00
Andreas Nedbal e8a6644998 Refactor frontpage design and styles 2020-04-27 01:18:46 +02:00
Andreas Nedbal 05efd4a42e Refactor jumbotron styles 2020-04-27 00:59:53 +02:00
Andreas Nedbal 5550dd9100 Move variables to style root 2020-04-26 23:55:28 +02:00
Andreas Nedbal 84ee5eec68 Adjust background color of website 2020-04-26 23:54:26 +02:00
Andreas Nedbal dcb314d9a5 Adjust footer link visibilty to work with Bootstrap 4 2020-04-26 23:54:02 +02:00
Georg Gadinger acc394a110
Merge pull request #88 from Retrospring/replace-dead-links
Replace dead links
2020-04-26 23:44:31 +02:00
Georg Gadinger 6a0d9063ba Revert "Prevent the Return key from submitting while composing using an IME"
This reverts commit d13f1cf7b8.
2020-04-26 23:40:02 +02:00
Georg Gadinger dc25b5f0c1 Capitalise organisation name in GitHub urls 2020-04-26 23:18:02 +02:00
Georg Gadinger b2b6419b5d Use HTTPS in links 2020-04-26 23:16:20 +02:00
Georg Gadinger c634d5f03c Update some dead links 2020-04-26 23:12:29 +02:00
Andreas Nedbal 711d6a9f4e WIP: Add initial overrides for Bootstrap 4 styling 2020-04-26 21:48:25 +02:00
Andreas Nedbal 8d9f1d5efb Adjust list_group_item helper for Bootstrap 4 2020-04-26 21:48:02 +02:00
Georg Gadinger aeef50ad78
Merge pull request #86 from Retrospring/cleanup
Minor Cleanup
2020-04-26 20:03:46 +02:00
Andreas Nedbal c124138a4a Fix layout issues in questionbox 2020-04-26 17:30:06 +02:00
Andreas Nedbal 7513ef2b9e Clean up answerbox layout 2020-04-26 17:13:31 +02:00
Andreas Nedbal 0afff3f84d Adjustments and smaller fixes
- Fixed initially selected Discover tabs being empty
- Removed spacing classes from inbox templates
- Fixed feed layout and sidebar display
- Adjust some profile layout nits
2020-04-26 16:25:54 +02:00
Andreas Nedbal 1f678b80c1 Fixed issue rendering privilege item partials 2020-04-26 15:27:19 +02:00
Andreas Nedbal b550e78272 Refactor notifications into partials
All notification type layouts have been:

1) present in both the navigation layout and the notification page
2) in a single file

This commit addresses both issues and creates partials for all notfication types.
2020-04-26 15:26:55 +02:00
Andreas Nedbal 4917ce46d3 Fix "nav-item" assigning class in nav_entry helper 2020-04-26 14:30:23 +02:00
Andreas Nedbal 1885343900 Clean up main navigation
- Move main navigation into views/navigation
- Split guest navigation into seperate file
- Move main navigation partials into subfolder
- Further adjustments for Bootstrap 4 compatibility
2020-04-26 14:29:23 +02:00
Karina Kwiatek 926631eca3 Remove more left-over references to role fields 2020-04-25 22:23:37 +01:00
Karina Kwiatek f42cc6aed9 Remove all other references to removed roles 2020-04-25 21:20:02 +01:00
Karina Kwiatek 9d933c933e Remove unused (removed) roles from Your Data / Export 2020-04-25 21:14:26 +01:00
Karina Kwiatek 71e62dddcf Remove unused roles from privileges modal 2020-04-25 21:06:36 +01:00
Karina Kwiatek 10a9ca5577 Fix bad replace; update schema.rb 2020-04-25 21:01:46 +01:00
Andreas Nedbal 18d4fad00e Move notification navigation to new location 2020-04-25 20:27:56 +02:00
Andreas Nedbal aeedee8b2f Move moderation navigation to new location 2020-04-25 20:20:00 +02:00
Andreas Nedbal 2fb1966c5b Move feed navigation to new location 2020-04-25 20:11:33 +02:00
Andreas Nedbal e56e65cf40 Further adjustments to inbox layout
- Fixed base styling of cards due to layout differences between panels of Bootstrap 3
- Removed duplicate rendering of sidebar
2020-04-25 19:45:53 +02:00
Andreas Nedbal e15cedd56c Adjust tab classes to Bootstrap 4 2020-04-25 19:02:39 +02:00
Andreas Nedbal a9812f5800 Clean up feed layouts 2020-04-25 18:23:02 +02:00
Andreas Nedbal 2a074227ac Clean up inbox layouts 2020-04-25 18:10:48 +02:00
Andreas Nedbal baf5ba698d Clean up moderation layout 2020-04-25 18:05:35 +02:00
Andreas Nedbal ae4c68a10b Use layout inheritance by convention 2020-04-25 17:54:52 +02:00
Andreas Nedbal 19e7ed557e Remove .html.haml prefix from modal files 2020-04-25 17:52:24 +02:00
Andreas Nedbal 245c6493d3 Clean up notifications layout 2020-04-25 17:51:00 +02:00
Andreas Nedbal 6e22e84081 Clean up user profile layouts 2020-04-25 17:21:39 +02:00
Andreas Nedbal c870b00f65 Clean up user setting layouts 2020-04-25 17:04:23 +02:00
Andreas Nedbal ea77168b50 Port application layout to use parent_layout 2020-04-25 17:03:59 +02:00
Andreas Nedbal 8b8a5a1e72 Add parent_layout helper 2020-04-25 17:02:59 +02:00
Andreas Nedbal 9ee5811243 Remove piwik 2020-04-25 16:22:09 +02:00
Dominik M. Kwiatek 9f992d398f
Fix exception being thrown upon attempting to ban a user (#82) 2020-04-25 14:51:28 +01:00
Karina Kwiatek d13f1cf7b8 Prevent the Return key from submitting while composing using an IME
Based on the following article by Michael Stum:
https://www.stum.de/2016/06/24/handling-ime-events-in-javascript/
2020-04-25 14:35:04 +01:00
Andreas Nedbal 96309eb8ba Move all modals into shared views/modal directory 2020-04-25 15:16:45 +02:00
Andreas Nedbal 3885c24825 Properly align navbar when not signed in 2020-04-25 14:29:52 +02:00
Andreas Nedbal 7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Georg Gadinger 445d9ebe2a Fix user questions page 2020-04-23 03:31:07 +02:00
Dominik M. Kwiatek a8c335899d
Use email field for password reset (#77)
Fixes unsubmmittable password reset form
2020-04-22 19:22:16 +01:00
Karina Kwiatek 3aa2e5899c Remove JoJoke 2020-04-22 15:51:45 +01:00
Karina Kwiatek 47fde17560 Remove deprecated gravatar_url method 2020-04-20 23:18:14 +01:00
Georg Gadinger 101b3b68d3 Use cursored pagination, remove WillPaginate 2020-04-20 23:13:24 +02:00
Dominik M. Kwiatek 516bc48aa0
Merge pull request #70 from Retrospring/feature/announcements
Implement Announcements
2020-04-19 23:10:47 +01:00
Andreas Nedbal 2dbc6eff01 Adjust navbar styling 2020-04-20 00:04:01 +02:00
Andreas Nedbal 3994917ce9 Adjust notification navigation to Bootstrap 4 2020-04-19 23:42:37 +02:00
Andreas Nedbal 0c3dee30ae Add row to notification list 2020-04-19 23:34:09 +02:00
Andreas Nedbal b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Georg Gadinger 477ec3e9c9 Do not allow creation of groups with empty names 2020-04-19 23:28:50 +02:00
Karina Kwiatek 4889071f95 Add JS for dismissing announcements 2020-04-19 22:27:50 +01:00
Andreas Nedbal 21fceccf2f Adjust modal layouts to Bootstrap 4 2020-04-19 23:26:29 +02:00
Andreas Nedbal efd2ff4db0 Convert visibility classes to Bootstrap 4 2020-04-19 23:14:05 +02:00
Andreas Nedbal fa14859a6a Adjust dropdowns to Bootstrap 4 layout 2020-04-19 23:13:39 +02:00
Andreas Nedbal 213eb1d11f Add row classes to fix grid layouts 2020-04-19 23:12:23 +02:00
Andreas Nedbal 33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
Andreas Nedbal 2b39888679 Adjust base navigations Bootstrap 4 2020-04-19 23:03:34 +02:00
Karina Kwiatek 80c6a4272a Fix indentation in new.html.haml 2020-04-19 21:58:08 +01:00
Karina Kwiatek 391f4a28ed Merge branch 'master' into feature/announcements
# Conflicts:
#	db/schema.rb
2020-04-19 21:52:58 +01:00
Karina Kwiatek a505e7ee71 Ensure we're logged in as an admin when using the AnnouncementController 2020-04-19 21:45:07 +01:00
Karina Kwiatek b6d6c1fded Add announcements to the top of the application template 2020-04-19 21:38:21 +01:00
Georg Gadinger 946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Karina Kwiatek 473f2cdcc5 Show announcement validation errors on the frontend 2020-04-19 21:26:55 +01:00
Karina Kwiatek 2ecc746e23 Implement validation for announcements 2020-04-19 21:11:22 +01:00
Karina Kwiatek 6187cb0b6c Add the ability to edit announcements 2020-04-19 20:58:57 +01:00
Karina Kwiatek f14a168bce Implement deletion of announcements 2020-04-19 20:50:33 +01:00
Karina Kwiatek e3b89f7346 Implement creation of announcements 2020-04-19 20:34:48 +01:00
Karina Kwiatek 8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Andreas Nedbal 7f74e844f5 Replace Bootstrap 3 with Bootstrap 4 2020-04-19 21:08:58 +02:00
Georg Gadinger 6999695ff8 Cleanup 2020-04-19 19:49:47 +02:00
Georg Gadinger 8b129bbbf4 Fix moderation panel. 2020-04-19 18:33:20 +02:00
Georg Gadinger 311c7ac6c0 Remove Rollbar 2020-04-19 17:20:07 +02:00
Georg Gadinger d680185b0b Remove twemoji 2020-04-19 17:03:53 +02:00
Georg Gadinger 76f4ec35e2 get rid of "Fixnum is deprecated" warning 2020-04-19 14:39:59 +02:00
Georg Gadinger 6f6ac3cc7d Merge remote-tracking branch 'origin/master' into rails5 2020-04-19 14:32:47 +02:00
Georg Gadinger 9fa8ef1501 enable 'Discover' page for mods 2020-04-19 13:55:13 +02:00
Karina Kwiatek a19402af41 Upgrade to Rails 5.2 2020-04-19 00:45:50 +01:00
Georg Gadinger 323f9d91ac Fix NoMethodError on the data page 2020-04-19 01:19:25 +02:00
Georg Gadinger 3e7497a144 Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
Georg Gadinger b926820d90 javascripts: "fix" (un)smile update bug 2020-04-18 23:44:59 +02:00
Georg Gadinger d47991f379 Fixes for devise 4.x 2019-03-29 22:37:10 +01:00
Georg Gadinger a5d689e76c Do not allow spam users to be created 2018-07-27 20:27:40 +02:00
Georg Gadinger 66400c87dd Merge remote-tracking branch 'github/master' 2018-05-20 14:18:02 +02:00
liv c0ace7cec4
remove dead bug tracker link 2018-05-15 17:37:13 +02:00
Tina 106b9fd71f twitter.com/retrospringnet -> retrospring 2018-04-29 21:22:16 +02:00
Tina eec1065c83
twitter.com/retrospringnet -> retrospring 2018-04-12 05:40:46 +02:00
Andreas N 7a16113295 adjust tweet length to new twitter limit 2018-04-11 21:26:58 +02:00
Georg Gadinger 1922094f11 Fix translations again argh 2017-04-02 09:07:59 +02:00
Georg Gadinger 4424cb64cd Fix JS translations 2017-04-02 09:04:49 +02:00
Georg Gadinger f8e494094f Evil hack on production for frontend translations 2017-04-01 01:13:16 +02:00
Georg Gadinger 73b18af6ff Notify errors to Rollbar 2017-03-31 23:17:36 +02:00
Georg Gadinger 771821356f fix sweetalert 2017-03-31 22:49:38 +02:00
Georg Gadinger 28cc6b5938 Certain features can now be enabled/disabled from config 2017-03-31 22:21:38 +02:00
Georg Gadinger 10d16466fd fuck 2017-03-31 15:13:52 +02:00
Georg Gadinger 9766ede53c Hotfix to not break discover page 2017-03-31 15:11:38 +02:00
Georg Gadinger 3424cc47c9 Hotfix lmao 2017-03-31 15:04:58 +02:00
Georg Gadinger b8701e7626 Make user_screen_name helper use kwargs, add link_only arg 2017-03-30 19:17:25 +02:00
pixeldesu f7d06135ef don't include unnecessary theme files on user profiles 2017-03-29 15:49:27 -07:00
pixeldesu 8d4d2ffce1 apply changes to groups page, adjust heading for header 2017-03-29 15:29:07 -07:00
pixeldesu 598fce6f83 add header classes to profile pages 2017-03-29 15:20:37 -07:00
pixeldesu f345f8628f add header to other profile sections 2017-03-29 15:18:11 -07:00
pixeldesu b153a04b54 remove visible traces of team members 2017-03-29 14:52:26 -07:00
pixeldesu 6787c0539f limit header size 2017-03-29 14:35:23 -07:00
Georg G 39c79287e2 ing hell 2016-01-05 21:50:21 +01:00
Georg G 78b34ef6f9 c and k 2016-01-05 21:48:30 +01:00
Georg G 2ad1c4294d u 2016-01-05 21:38:36 +01:00
Georg G 2d20aa8dae f 2016-01-05 21:35:10 +01:00
Georg G 573fd89887 added export tab 2016-01-05 21:29:53 +01:00
Georg G b034986e43 update text 2016-01-05 21:11:14 +01:00
Georg G 615d7152d2 fuck logic 2016-01-05 21:06:52 +01:00
Georg G 0deb4c4ccc added export view/controller/routes 2016-01-05 20:54:38 +01:00
Georg G bf64a59649 added User#can_export? 2016-01-05 20:54:13 +01:00
Georg G a13d2443bd added ExportWorker 2016-01-05 20:54:00 +01:00
funerally b10ca0d736 Fixed twitter link
Fixed broken twitter link on about page.
2015-10-03 00:00:44 -04:00
pixeldesu b0ca8a6219 Fix wording 2015-09-20 15:32:41 +02:00
pixeldesu 08644306fc Update frontpage styling and content 2015-09-20 15:16:24 +02:00
Yuki e510a6e8b4 Do you feel it, Mr. Krabs? 2015-09-18 18:09:26 +09:00
Yuki c107cb19cb LEEDLE LEEDLE LEEE 2015-09-18 18:08:08 +09:00
Yuki 64ba41d9a6 Fix reports 2015-09-18 18:02:16 +09:00
pixeldesu 9bb512e8fe fix underlining style for notification header links 2015-09-17 00:26:00 +02:00
pixeldesu 927d6632c1 make the notification center smaller and shorten content 2015-09-16 23:59:47 +02:00
pixeldesu 24f7ff98ec Fix comment notifications and markdownify content 2015-09-16 22:46:33 +02:00
pixeldesu ede3ad1b92 Update notification design and behaviour
- Add display of content that was replied to/with
- Instead of marking notifications new, only show new items and hide seen entries
- Add a 'New Notifications' page and set it as default
- Add proper display if there are no new notifications
- Adjust theme to fit new changes
2015-09-16 22:18:40 +02:00
Yuki 8cbd85a89c the copy paste is strong 2015-09-01 18:48:56 +05:30
Yuki 4b891b3f70 Fix dangerous send exploit 2015-09-01 18:44:50 +05:30
Yuki 5d3d3a68e7 Fix remote code execution exploit 2015-09-01 18:44:31 +05:30
pixeldesu 419b578956 fix missing coloring of question panel 2015-09-01 07:45:40 +02:00
pixeldesu a9ad31b285 move check if user is logged in out of template 2015-08-28 16:36:49 +02:00
pixeldesu 8c5badf0b8 fix Retrospring/bugs#95 2015-08-28 16:29:02 +02:00
Yuki bbb1e001e2 swippty swooty comin for that .panel-success > .panel-heading .media * { color: #deadbeef !important } 2015-08-27 05:57:16 +05:30
Yuki 9b7a014121 Panel my panel no default (season 2) 2015-08-27 05:39:10 +05:30
Yuki 71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +05:30
pixeldesu 683ce43294 implement pgHero 2015-08-26 21:37:29 +02:00
pixeldesu 107bbb3aeb add entry-subtext styling 2015-08-26 04:14:03 +02:00
pixeldesu d3a7bca68f another occurence of nav tabs instead of list-groups 2015-08-26 01:45:03 +02:00
pixeldesu 764a36e4be %ul.nav -> .list-group 2015-08-25 23:46:49 +02:00
Yuki 010d0a327e i'm about to give up 2015-08-26 02:26:47 +05:30
Yuki a7c3acea76 ISHYGDDT 2015-08-26 02:14:14 +05:30
Yuki cc8e2448eb probably shouldn't do this 2015-08-26 01:44:17 +05:30
Yuki 9daa8a7ab3 T -> t 2015-08-26 01:43:08 +05:30
Yuki cd6c746e4d paperclip is dead to me 2015-08-26 01:41:30 +05:30
Yuki ad8506ee5f fix css content type 2015-08-26 01:24:07 +05:30
Yuki c2da575955 invalid is invalid 2015-08-26 01:20:17 +05:30
Yuki 370d66105f wildcard content 2015-08-26 01:14:36 +05:30
Yuki 1ad2a60c5d => death 2015-08-26 01:06:51 +05:30
Yuki 741bee22a0 text/css 2015-08-26 01:05:56 +05:30
Yuki 18d4cf116f -- 2015-08-26 01:04:40 +05:30
Yuki c5ad288da4 S3 headers 2015-08-26 01:04:29 +05:30
Yuki d6610829f8 Badumdum 2015-08-26 01:03:57 +05:30
Yuki 2e0a00e461 Braces 2015-08-26 00:50:18 +05:30
Yuki 7c68b2a167 PRODUCTION V DEVELOPMENT, ROUND 3 FIGHT 2015-08-26 00:45:08 +05:30
Yuki 6642408b61 Fix show foreign themes bug 2015-08-26 00:35:36 +05:30
pixeldesu 675ba646ea Merge remote-tracking branch 'origin/feature-themes' 2015-08-25 20:55:42 +02:00
Yuki 4b646b7e80 Drop ERB loop 2015-08-26 00:07:55 +05:30
Yuki 54167416f5 Fix ask all button color 2015-08-26 00:02:20 +05:30
Yuki 906692e78f Theming is finished
Previews, settings pane and presets!
2015-08-25 23:57:06 +05:30
Yuki 1912fc3766 Model goop
also made the theme selection logic for user profiles and current user, and the saving logic
2015-08-25 13:56:36 +05:30
Yuki e42f81193b Finalize theme file 2015-08-25 10:48:01 +05:30
Yuki 0bfbbbc856 Theme Progress
New notifications
notifications page
tabs
pills/lists
badges
panel badges
2015-08-25 10:19:25 +05:30
Yuki e7e28efcab Theme Progress
Link color
Notification dropdown text fix
Dropdown select color
Panels
Modals
Buttons, Labels and Alerts
nprogress
fix and rename __THEME_CSS_CACHE to __THEME_CSS_CACHE_V1
2015-08-25 01:26:59 +05:30
Yuki 5f8dc8a24f Cache CSS if in production 2015-07-29 22:29:52 +05:30
Yuki 47344a5774 ThemeHelper.render_theme_with_context 2015-07-29 22:24:33 +05:30
Yuki aec452cbd1 CSS -> SCSS 2015-07-29 22:01:34 +05:30
pixeldesu 9f8c43f8a4 fix #39, copypasta issue 2015-07-29 17:11:20 +02:00
Yuki 3444fcc93e rework some theme code, particlefield now adapts color 2015-07-29 20:38:07 +05:30
Yuki 9ef71a84e9 Merge branch 'master' of github.com:Retrospring/retrospring into feature-themes 2015-07-29 19:52:14 +05:30
Yuki 9734e5463e Merge pull request #33 from colons/master
Do not declare mobile app capability
2015-07-28 04:33:56 +05:30
Yuki 97ad1285fe don't break loops 2015-07-27 13:16:26 +05:30
Yuki c846b963a4 more fixes 2015-07-27 13:12:00 +05:30
Yuki bde8b64977 error -> info (maybe .warn?) 2015-07-27 12:48:10 +05:30
Yuki 26a517a650 Fixes, workers now output to sidekiq, not rails 2015-07-27 12:42:12 +05:30
Yuki 92bbfef2df Moved ask all + ask group to worker, validates user_id for ask person now 2015-07-27 12:29:56 +05:30
Yuki 21f2467f45 Fix question pagination 2015-07-25 23:18:27 +05:30
Yuki 12b2ec8a3b Turbolinks stop removing the god damn spreadsheet you twat 2015-07-24 22:44:16 +05:30
Yuki 54b051a7e7 Temp. layout for testing 2015-07-24 22:42:14 +05:30
pixeldesu 6ea04faf4f update show_follow JS to address changes 2015-07-24 17:14:42 +02:00
pixeldesu 6f65f8c9f4 Merge branch 'feature-userbox-header' 2015-07-24 17:10:28 +02:00
pixeldesu 5ce5d69e4a remove the TODO from the userbox 2015-07-24 17:09:17 +02:00
pixeldesu 1a9660bc05 update userbox style with headers 2015-07-24 17:04:46 +02:00
Iain Dawson 92ffb71c3b Do not declare mobile app capability. 2015-07-24 08:15:44 +01:00
Yuki 3b0646644a Replace @users with Hash 2015-07-24 01:14:20 +05:30
Yuki 2aef9bd71f Support for Ruby 2.0.0 2015-07-24 01:13:39 +05:30
Yuki 5c2168b9af The copy paste is strong 2015-07-23 23:23:51 +05:30
Yuki deb6d12108 Moderation Priority + IP 2015-07-23 23:21:13 +05:30
Yuki 5c86833601 Fix emails 2015-07-23 12:12:36 +05:30
Yuki 38d1c21118 Someone wanted even paddings, here you go. also made the support more wide. 2015-07-23 11:50:21 +05:30
pixeldesu 5366c3c748 add fake mail validation 2015-07-21 22:44:14 +02:00
Yuki 54e27896f4 Add missing ='s to text templates 2015-07-21 23:57:59 +05:30
Yuki eb85f38220 Fix text, add more templates 2015-07-21 23:50:54 +05:30
Yuki 362292716f Mail templating, hopefully 2015-07-21 23:43:14 +05:30
pixeldesu aabbd9fb8c add :confirmable to users + migration / letter_opener for local email confirmations 2015-07-21 17:55:28 +02:00
pixeldesu 36d6cd5816 remove strict case requirement 2015-07-17 22:46:05 +02:00
pixeldesu 19d6ccd855 change logic for deletion when no user or no question is found 2015-07-17 22:31:10 +02:00
pixeldesu 0044430fa6 fix indentation 2015-07-17 21:59:16 +02:00
pixeldesu 68526bfc4e removing unnecessary return values 2015-07-17 21:48:33 +02:00
pixeldesu e1d38ebb89 removing more logic from templates + simpler coffeescript 2015-07-17 21:45:45 +02:00
pixeldesu 8232aa2a21 fix flashes staying on the page 2015-07-17 21:34:53 +02:00
pixeldesu a122106d82 fix manual deletion not decreasing ib-count 2015-07-17 21:25:32 +02:00
pixeldesu 84f80c824e fix broken pagination and wrong question count for deletion 2015-07-17 20:54:11 +02:00
pixeldesu e9ae442431 add ability to show/search questions from specific users 2015-07-17 20:29:19 +02:00
pixeldesu 3a5dcbcd3b Move account deletion to Sidekiq worker, fixes #11 2015-07-15 01:44:35 +02:00
pixeldesu d2c59c047d remove line of code that determines C as language for this file 2015-07-06 18:38:52 +02:00
Yuki af71f1ef34 Some adjustmenets to locale logic, add 'jp.language: 日本語', regenerate schema 2015-07-04 13:01:46 +05:30
pixeldesu ca41890ada replaced big avatar image on main timeline page 2015-06-28 01:36:58 +02:00
Robin B. 00b9ec8192 scroll down the fucking page 2015-06-21 17:18:30 +02:00
Andreas N. 6c0428398c Merge pull request #45 from Retrospring/locale
Locale Flags
2015-06-21 13:29:39 +02:00
Yuki 208184fe4a Merge pull request #33 from colons/padding-for-create
Merge PR #33
2015-06-21 12:42:31 +05:30
Yuki 409c82b5ed Flag switcher 2015-06-21 12:33:29 +05:30
pixeldesu aab109dd42 add sign in count to data page 2015-06-21 04:35:27 +02:00
pixeldesu c600b0562a copycat mistakes 2015-06-20 21:15:38 +02:00
pixeldesu f76e997708 empty != blank 2015-06-20 21:09:30 +02:00
pixeldesu 58e80919df add data page 2015-06-20 20:38:07 +02:00
pixeldesu c1faf41305 added translator badge to profiles 2015-06-19 14:46:23 +02:00
pixeldesu 1daa44f5bf fixes Retrospring/bugs#82 2015-06-17 12:07:51 +02:00
Yuki f65bfa9e75 Twitter Emoji 2015-06-13 20:23:11 +05:30
Yuki 43825a0951 Rename locale cookie 2015-06-11 07:36:33 +05:30
Yuki c358c34043 HAHA EVERYONE GOT FRENCH BECAUSE I USED A DEPENDENCY, SERVES ME RIGHT 2015-06-10 01:06:47 +05:30
Georg G 53fe52b3b6 fixed wrong style on timestamps in answerbox 2015-06-09 18:24:27 +02:00
Yuki b60823abe2 minor fixes 2015-06-09 21:35:35 +05:30
Yuki e5ecea8414 Fix third-person notifications showing the wrong user 2015-06-09 21:19:29 +05:30
Yuki 649b1cda3b Fix Retrospring/bugs#77 2015-06-09 17:57:49 +05:30
Yuki 428bd99a63 Fix another issue 2015-06-09 09:36:09 +05:30
Yuki 607574cfce don't need this function 2015-06-09 08:56:10 +05:30
Yuki 339ddf5204 I woke up 2 minutes ago 2015-06-09 08:54:17 +05:30
Yuki d2511dea42 Fix retrospring/bugs#76 2015-06-09 08:51:58 +05:30
pixeldesu 0aeab3b7f7 fix merge conflict 2015-06-08 22:17:14 +02:00
pixeldesu 8109cb8e2d this time it's really final 2015-06-08 22:06:39 +02:00
pixeldesu 341372d874 finalize 2015-06-08 21:51:46 +02:00
pixeldesu 73147c414a fix discover merge conflict 2015-06-08 21:24:02 +02:00
pixeldesu a8fd3624b6 localize even more final stuff 2015-06-08 21:11:35 +02:00
Yuki 3afaf3222d Yes and No translated into true and false??? this fixes it 2015-06-09 00:31:37 +05:30
pixeldesu d28f64adf1 localize placeholders 2015-06-08 20:48:23 +02:00
pixeldesu d13cdb27dc localize javascript 2015-06-08 20:35:16 +02:00
Yuki d3aec1faea uncomment require i18n/translations 2015-06-08 20:20:59 +05:30
Yuki 055830626e Set up i18n-js and show usage to pixel 2015-06-08 20:19:47 +05:30
pixeldesu 7c5f9b082a add missing profile setting locales 2015-06-08 16:05:20 +02:00
pixeldesu 488d582afa add i18n-js and localize javascript (not implemented yet) 2015-06-08 16:01:16 +02:00
pixeldesu 3a4ff794de add some missing locales 2015-06-07 23:52:03 +02:00
pixeldesu 984abbe738 git localize flashes 2015-06-07 19:03:57 +02:00
pixeldesu e6e1d03187 localized ajax controllers 2015-06-07 18:24:01 +02:00
pixeldesu cd2685a179 localized moderation, sidebar, userbox, etc. 2015-06-07 16:24:41 +02:00
pixeldesu f011fddc9d instead of capitalizing the string in the template, just capitalize the locale 2015-06-07 15:34:22 +02:00
pixeldesu 97f0594d13 another attempt to fix test 2015-06-07 15:27:34 +02:00
pixeldesu 4c7ae9ea70 whoops, copypasta mistake here 2015-06-07 15:25:39 +02:00
pixeldesu e006dfde53 localize user profile, settings, modals 2015-06-07 15:10:17 +02:00
Yuki ce2323d675 fix tests 2015-06-07 06:27:21 +05:30
Yuki f564ef724e line 51 of _notification.html.haml line 57 of _notifications.html.haml 2015-06-07 06:13:18 +05:30
pixeldesu b8c0032986 localize notifications (except comments) 2015-06-07 01:28:10 +02:00
pixeldesu 45ec9ebdff Merge remote-tracking branch 'origin/locale' into locale 2015-06-07 00:24:50 +02:00
pixeldesu 75d4d5a07f localize inbox 2015-06-07 00:24:27 +02:00
Iain Dawson 96e367852b Move the north-of-768px styles up one pixel.
Prevents the site looking totally broken at exactly 768px wide.
2015-06-06 16:57:17 +01:00
Iain Dawson 1aa4cf6ebb Make room for the create button
Fixes an issue where content on the bottom of the page would be impossible to click on narrow devices.
2015-06-06 16:53:18 +01:00
Yuki d11b16dad6 Possibly fix /ajax/preview 2015-06-06 05:57:15 +05:30
pixeldesu 1796283ace change tab titles 2015-06-01 15:39:23 +02:00
Yuki b907029673 and apparently browser variety is a good thing 2015-05-30 06:38:49 +05:30
Yuki 76be03be66 Fix header parallax (assigned a variable called 'top' which is read only, caused issues with firefox and blink/webkit browsers IDK why it worked in local test envs, but this should fix it) 2015-05-28 06:51:26 +05:30
Georg G b1ad14caf0 swapped || order 2015-05-27 16:18:08 +02:00
Yuki 2e89758c37 few JS fixes and header parallax (closes #53) 2015-05-27 11:11:38 +05:30
Yuki d79fcc68bc Merge branch 'optimize-js' of github.com:Retrospring/retrospring into profile-headers 2015-05-27 11:09:36 +05:30
Yuki a560efe1c0 badumm tiss 2015-05-27 08:10:11 +05:30
pixeldesu 7a0be2519a localize question_header and questionbox 2015-05-27 04:31:28 +02:00
pixeldesu 16ec60aa19 localize question 2015-05-27 04:13:13 +02:00
pixeldesu 75a7b393b9 Merge remote-tracking branch 'origin/locale' into locale 2015-05-27 03:54:04 +02:00
pixeldesu 7905fe8372 localize actions 2015-05-27 03:53:53 +02:00
Yuki 50e1186e79 Accept-Language header support 2015-05-27 07:06:18 +05:30
Yuki 52890707c5 less logic in views 2015-05-27 06:51:06 +05:30
Yuki 74bbbdf4ca FILTHY 2015-05-27 06:41:21 +05:30
pixeldesu 9c83972105 localized answerbox (trigger warning: horrible code) 2015-05-27 02:58:03 +02:00
pixeldesu ab0b428e03 implemented translations into front, about and discover 2015-05-26 21:15:18 +02:00
Yuki c6028f8dee [skip ci] fix comments 2015-05-26 09:01:06 +05:30
Yuki 69a1bb32f4 Basic locale check 2015-05-26 08:56:40 +05:30
pixeldesu b687b27563 use service-docs instead of text in templates 2015-05-26 01:35:04 +02:00
Yuki cd904ae1bc Fix FAQ 2015-05-26 04:56:58 +05:30
Georg G. c72448349a Merge pull request #31 from Retrospring/markdown-io
Allow loading markdown files from FS
2015-05-24 17:38:48 +02:00
Yuki 67f11828dd Fix CAT-2015-0001 2015-05-24 19:38:07 +05:30
Yuki 9d93bbf9b1 Allow loading markdown files from FS 2015-05-24 18:18:54 +05:30
pixeldesu 49dea9095a move Group modal toggle to navbar on desktop 2015-05-24 03:58:15 +02:00
pixeldesu 8753af3b48 completely redesign About page 2015-05-19 17:48:02 +02:00