Commit Graph

151 Commits

Author SHA1 Message Date
Karina Kwiatek 7249e45989 Add tests for user_twitter_card and answer_opengraph 2021-08-06 21:38:51 +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 ba709cdcf6 Update theme-color meta value to match the current page's theme 2021-06-19 21:37:04 +02:00
Karina Kwiatek 1eb256ee88 Apply theme colours to turbolinks progress bar 2021-04-05 09:00:03 +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
Georg Gadinger 9b4c8027b8 Fix pagination for ajax views 2020-05-09 04:39:09 +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 3a4b04b5da Don't track theme style tags with turbolinks 2020-05-07 02:13:07 +02:00
Andreas Nedbal f8448405a4 Remove empty Helper classes 2020-05-06 18:42:53 +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 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 0bc4a5b968 Fix hidespan helper using not existing Bootstrap class 2020-05-05 05:04:43 +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 d93548891d Remove obsolete render_theme_with_context 2020-05-04 17:26:57 +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 e9e0a222b0 Merge branch 'master' into feature/bootstrap 2020-04-27 02:11:54 +02:00
Andreas Nedbal 8d9f1d5efb Adjust list_group_item helper for Bootstrap 4 2020-04-26 21:48:02 +02:00
Andreas Nedbal 4917ce46d3 Fix "nav-item" assigning class in nav_entry helper 2020-04-26 14:30:23 +02:00
Andreas Nedbal 8b8a5a1e72 Add parent_layout helper 2020-04-25 17:02:59 +02:00
Andreas Nedbal 7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Karina Kwiatek 47fde17560 Remove deprecated gravatar_url method 2020-04-20 23:18:14 +01:00
Andreas Nedbal 2b39888679 Adjust base navigations Bootstrap 4 2020-04-19 23:03:34 +02:00
Karina Kwiatek 8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Georg Gadinger 76f4ec35e2 get rid of "Fixnum is deprecated" warning 2020-04-19 14:39:59 +02:00
Georg Gadinger 3e7497a144 Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
Georg Gadinger b8701e7626 Make user_screen_name helper use kwargs, add link_only arg 2017-03-30 19:17:25 +02:00
Yuki 71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +05:30
Yuki a7c3acea76 ISHYGDDT 2015-08-26 02:14:14 +05:30
Yuki cd6c746e4d paperclip is dead to me 2015-08-26 01:41:30 +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 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 b60823abe2 minor fixes 2015-06-09 21:35:35 +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
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
Yuki cd904ae1bc Fix FAQ 2015-05-26 04:56:58 +05:30
Yuki 9d93bbf9b1 Allow loading markdown files from FS 2015-05-24 18:18:54 +05:30
Yuki db75f3dd36 Answers show question content, not answer content (makes more sense) 2015-05-15 06:46:02 +05:30
pixeldesu 773b2917cb Merge branch 'feature-discover' 2015-05-14 00:47:23 +02:00
Yuki 6c5f97f3da Case-sensitivity fix. 2015-05-14 03:40:34 +05:30
Yuki 2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
Georg G c9a268ebdf added empty DiscoverController 2015-05-13 20:39:04 +02:00
Yuki ecffd07344 Support for post subscriptions 2015-04-21 06:42:11 +05:30
pixeldesu 4e185bbaa7 change Bootswatch theme, general theme changes, list group helper 2015-04-19 16:49:53 +02:00
nilsding 0bf46a888f added a new Markdown renderer (TwitteredMarkdown) which will be used for sharing to Twitter 2015-01-29 16:45:58 +01:00
nilsding 1bb369aa7d implemented basic functionality of YE OLDE BANHAMMER! 2015-01-12 22:44:13 +01:00
nilsding 38e5550241 strip blank spaces 2015-01-12 13:08:10 +01:00
nilsding 9de917fb23 closes GitHub issue #57 2015-01-12 13:00:00 +01:00
nilsding d97763eda0 Revert "Le Funny Emoji Meme Face x--DD"
This reverts commit 5118ba9761.
2015-01-08 22:34:50 +01:00
nilsding 5118ba9761 Le Funny Emoji Meme Face x--DD 2015-01-08 22:28:56 +01:00
nilsding 6b28c35d4a the pointy face should work again???? 2015-01-08 18:10:20 +01:00
nilsding f7cb3478be :medium everywhere 2014-12-29 14:57:16 +01:00
nilsding 7074a1edf7 mark gravatar-url as deprecated 2014-12-29 12:56:41 +01:00
nilsding 501f039e7f gravatar_url returns the users' profile_picture 2014-12-29 10:18:38 +01:00
nilsding b3f165b12b reporting and deleting comments works now 2014-12-28 21:14:01 +01:00
nilsding 7bfa5132dd added link to the reported object 2014-12-28 20:05:30 +01:00
nilsding 90fe42e643 Merge remote-tracking branch 'origin/master' into moderation
Conflicts:
	app/models/user.rb
2014-12-28 19:29:01 +01:00
nilsding 0e4d744478 added Markdown to answers 2014-12-28 19:06:49 +01:00
pixeldesu 2107ec6270 init moderation controller 2014-12-25 23:00:33 +01:00
nilsding dec91d474d added notification_count 2014-12-14 15:15:15 +01:00
nilsding 062d458363 added class option to nav_entry 2014-12-13 19:28:46 +01:00
nilsding f24433d84e added Services controller 2014-12-12 21:43:09 +01:00
nilsding d9d23edc6d alright, let's don't. 2014-12-12 18:04:34 +01:00
nilsding 6078555c20 LET'S MAKE THIS HAPPEN 2014-12-12 18:00:34 +01:00
nilsding ebd0719599 foxed about page 2014-12-12 16:45:39 +01:00
nilsding 2251a21872 added public timeline 2014-12-11 06:39:35 +01:00
pixeldesu f277b249c2 added notification controller 2014-12-09 22:35:11 +01:00
nilsding bda7a9f699 some clients doesn't look like they send an user agent 2014-12-08 12:11:20 +01:00
nilsding 382277adf0 iOS web app things 2014-12-06 17:08:10 +01:00
nilsding 641fa1ddc3 added show answer thing 2014-12-05 07:02:23 +01:00
pixeldesu 9f33ab5566 fixed stuff 2014-11-30 14:34:27 +01:00
pixeldesu 2b81ad86db added gravatar support 2014-11-30 14:31:38 +01:00
nilsding 6f03b75f00 fixed privileged? method 2014-11-28 21:18:20 +01:00
nilsding 9cc35f90f3 fixed delete button not showing up FOR REAL 2014-11-28 19:25:18 +01:00
nilsding dc83151e65 fixed delete button not showing up 2014-11-28 19:23:54 +01:00
nilsding e128686297 added privileged? helper 2014-11-27 11:50:10 +01:00
nilsding 5bb879ae7c fixed fuckup 2014-11-13 19:27:24 +01:00
nilsding 4ea3b99ff3 removed unnecessary puts 2014-11-13 19:23:32 +01:00
nilsding e39f82882b link 2014-11-13 13:02:47 +01:00
nilsding a7c9181fc5 fixed fuckups (again) 2014-11-11 18:09:28 +01:00
nilsding a7f37fb31c added Inbox controller 2014-11-11 07:10:41 +01:00
nilsding 0765677555 added a helper! 2014-11-11 07:09:36 +01:00
nilsding aaf1fbf42b fixed an error when there's nothing in the inbox 2014-11-11 06:40:12 +01:00
nilsding 4d35d96d1c badges in the navbar! 2014-11-10 23:46:51 +01:00
nilsding 8d46fe7843 added ajax controller 2014-11-10 13:03:42 +01:00
nilsding c211b29395 new users controller 2014-11-02 17:57:37 +01:00
nilsding dd802036b1 on second thought... 2014-11-02 13:47:35 +01:00
nilsding ae66877cde changed a few things 2014-10-28 06:36:38 +01:00
nilsding 7641726677 added authentication and everything 2014-08-01 15:27:08 +02:00
nilsding 601b27d3b3 added static pages 2014-08-01 11:47:25 +02:00