Commit graph

4540 commits

Author SHA1 Message Date
Robin Ward
4640b9d653 ES6: Half a dozen more controllers converted 2014-05-08 11:35:34 -04:00
Robin Ward
5191acfd9f ES6: Uses proper normalize method, includes support for namespaced
controllers.
2014-05-08 11:35:33 -04:00
Robin Ward
eee5f85654 ES6: AvatarSelector and HeaderController - also includes support for controllers with
camelcase via an error message.
2014-05-08 11:35:33 -04:00
Robin Ward
a4e30e8f93 Proof of concept: Load controller via ES6 module in Discourse 2014-05-08 11:35:33 -04:00
Sam
cec18aba3f Rails 4 upgrade 2014-05-08 14:47:54 +10:00
Robin Ward
fbda9cac69 FIX: Reply as new topic was broken 2014-05-07 23:28:14 -04:00
Sam
0c2c92978d Merge pull request #2301 from vikhyat/accessibility
Slightly improve header accessibility
2014-05-08 09:23:29 +10:00
Sam
4025591a1d Merge pull request #2307 from alxndr/latest-topics-rss-title-tweak
change title in Latest Topics RSS feed title
2014-05-08 09:21:06 +10:00
Sam
b144ad4e5b Merge pull request #2314 from fantasticfears/fix_notification_level
Add regular notification level into topic_view_serializer
2014-05-08 09:17:40 +10:00
Sam
a2e2d0e886 Merge pull request #2316 from mutiny/refactor-where-first
Refactor `where(...).first` to `find_by(...)`
2014-05-08 09:10:45 +10:00
Régis Hanol
f9e49624b2 BUGFIX: button styling on /top page 2014-05-08 00:47:10 +02:00
Régis Hanol
fafc5d9006 Merge pull request #2321 from awesomerobot/master
minor user(and group) page fixes
2014-05-07 19:59:28 +02:00
Kris Aubuchon
ae79078605 minor user(and group) page fixes 2014-05-07 13:49:59 -04:00
Régis Hanol
4b9acd6806 BUGFIX: make sure we do not try to pull images from the CDN 2014-05-07 19:49:16 +02:00
Régis Hanol
21e8ae0eca BUGFIX: the /top page now shows the first non-empty period 2014-05-07 19:04:39 +02:00
Robin Ward
76cb4bf0a5 Roll up gutter links, don't show reply as new topic unless expanded. 2014-05-07 12:28:38 -04:00
Neil Lalonde
63a1f87806 Use topic excerpts and category desriptions in meta description tags for crawlers 2014-05-07 11:21:37 -04:00
Vikhyat Korrapati
ed8aeccb0c Use helper to insert sr-only text for icons. 2014-05-07 19:04:26 +05:30
Vikhyat Korrapati
2f33c288a6 Remove extra anon glyphs, move sign in button.
See: https://meta.discourse.org/t/add-sign-in-to-anonymous-header/15335
2014-05-07 18:42:51 +05:30
Vikhyat Korrapati
17ad49ffbc Slightly improve header accessibility.
Partially addresses: https://meta.discourse.org/t/links-without-text-make-blind-user-accessibility-worse/13538.
2014-05-07 18:08:47 +05:30
Jeff Atwood
7687ceef66 Merge pull request #2319 from awesomerobot/master
some color fixes, general consistency
2014-05-06 20:55:11 -07:00
Kris Aubuchon
22e7fd5ed0 some color fixes, general consistency 2014-05-06 23:53:04 -04:00
Sam
ee0efab02f More logging, less problems 2014-05-07 12:37:02 +10:00
Jeff Atwood
41c6ca1686 don't color mobile topic map numbers 2014-05-06 15:38:22 -07:00
Robin Ward
f51cbc8952 FIX: @mentions should not be processed within links 2014-05-06 17:48:30 -04:00
Neil Lalonde
9a1318879e FIX: blockquote colors on mobile 2014-05-06 15:38:19 -04:00
Robin Ward
4cdf25e39d Merge pull request #2318 from camilleroux/patch-3
Update the Amazon links regexp
2014-05-06 15:15:33 -04:00
Robin Ward
2cf6f65660 FIX: Linking to relative hash URLs was reloading the app. 2014-05-06 15:09:43 -04:00
Neil Lalonde
f44bd4ec28 Don't allow sending private messages to suspended users. Emails to suspended users should tell them how to respond, since they can't. 2014-05-06 15:01:27 -04:00
Neil Lalonde
ba68470d5a FIX red hightlighted rows in admin 2014-05-06 15:01:27 -04:00
Robin Ward
8a471d629e FIX: Adds safety to painting on quote controls for elements that might
not be present. This should fix an issue with not scrolling down after
new posts are created sometimes.
2014-05-06 14:25:24 -04:00
Robin Ward
9e719e49da Only show a few topic links in the gutter and allow the user to expand
them.
2014-05-06 14:11:17 -04:00
Camille Roux
f14c71b9d4 Fix the Amazon links regex 2014-05-06 19:19:32 +02:00
Camille Roux
e77e7f23ca Update the Amazon links regexp
Added all the countries displayed in the Amazon footer
2014-05-06 18:36:07 +02:00
Kris Aubuchon
905c7c7204 few small consistency changes 2014-05-06 12:30:05 -04:00
Neil Lalonde
ee08bf561f Fix a bunch of color issues 2014-05-06 11:44:28 -04:00
Kris Aubuchon
60bf76f152 a few small color fixes 2014-05-06 09:48:38 -04:00
Louis Rose
1574485443 Perform the where(...).first to find_by(...) refactoring.
This refactoring was automated using the command: bundle exec "ruby refactorings/where_dot_first_to_find_by/app.rb"
2014-05-06 14:41:59 +01:00
Régis Hanol
8cf937cdcb BUGFIX: fix selected & unread notifications dropdown background color 2014-05-06 12:34:50 +02:00
Jeff Atwood
7870afbfd4 bring post borders back on mobile 2014-05-06 01:49:20 -07:00
Erick Guan
a4aeb21f0c Add regular notification level into topic_view_serializer for the user who enter the new topic 2014-05-06 16:42:18 +08:00
Jeff Atwood
d1c876fcbc don't clear:left the btn-primary on mobile 2014-05-06 01:40:05 -07:00
Jeff Atwood
bebdd0d290 some stray } there 2014-05-06 01:29:28 -07:00
Jeff Atwood
661e6984d3 drop views from mobile suggested topics 2014-05-06 01:23:50 -07:00
Jeff Atwood
27deae4ba4 unwanted editor border on Nexus 5 / iPhone 5 2014-05-06 01:17:35 -07:00
Jeff Atwood
1bf566ac8e a few more mobile CSS tweaks 2014-05-06 01:14:56 -07:00
Jeff Atwood
65af49f828 CSS, how does it work? 2014-05-06 00:52:28 -07:00
Jeff Atwood
e023849657 a few more mobile CSS annoyances 2014-05-06 00:48:44 -07:00
Jeff Atwood
4346190b2c fix some mobile CSS annoyances 2014-05-06 00:24:04 -07:00
Jeff Atwood
8e5888dee1 remove $quote-background color 2014-05-05 23:50:05 -07:00
Jeff Atwood
2a3993794b correct the $primary_border_color error 2014-05-05 23:42:53 -07:00
Jeff Atwood
ab3ab26cc4 Merge pull request #2313 from awesomerobot/master
simplifying and segmenting color variables
2014-05-05 23:07:46 -07:00
Kris Aubuchon
8ea63006e4 simplifying and segmenting color variables 2014-05-06 01:50:51 -04:00
Régis Hanol
f20fba041c BUGFIX: improved top ranking formula (+ filter topics based on their creation date) 2014-05-05 23:05:35 +02:00
Robin Ward
fd153623bb Revert "Proof of concept: Load controller via ES6 module in Discourse"
This reverts commit 0327f469c1.
2014-05-05 13:58:57 -04:00
Robin Ward
aa269c92a0 Revert "ES6: AvatarSelector and HeaderController - also includes support for controllers with"
This reverts commit 44b2f82be8.
2014-05-05 13:58:57 -04:00
Robin Ward
69225a7ea9 Revert "ES6: Uses proper normalize method, includes support for namespaced"
This reverts commit b98324a937.
2014-05-05 13:58:57 -04:00
Robin Ward
389c50eb1e Revert "ES6: Half a dozen more controllers converted"
This reverts commit bc2d87e5c1.
2014-05-05 13:58:57 -04:00
Robin Ward
b17cd2f251 Revert "ES6: More controllers converted to ES6"
This reverts commit 23cc7c174a.
2014-05-05 13:58:57 -04:00
Neil Lalonde
a15714899e Better forgot password message 2014-05-05 13:48:11 -04:00
Robin Ward
23cc7c174a ES6: More controllers converted to ES6 2014-05-05 13:23:45 -04:00
Robin Ward
bc2d87e5c1 ES6: Half a dozen more controllers converted 2014-05-05 13:23:45 -04:00
Robin Ward
b98324a937 ES6: Uses proper normalize method, includes support for namespaced
controllers.
2014-05-05 13:23:45 -04:00
Robin Ward
44b2f82be8 ES6: AvatarSelector and HeaderController - also includes support for controllers with
camelcase via an error message.
2014-05-05 13:23:45 -04:00
Robin Ward
0327f469c1 Proof of concept: Load controller via ES6 module in Discourse 2014-05-05 13:23:45 -04:00
Régis Hanol
c21d3f41d0 BUGFIX: only redirect new users to top page once
Actually, new users will still be redirected to the top page during the first 30 seconds of their first visit.
2014-05-05 19:00:40 +02:00
Alexander
deb99e956e RSS title element is SiteSetting.title + translated filter description 2014-05-05 09:33:19 -07:00
Jeff Atwood
5dd82bf723 add danger color to delete-and-block button 2014-05-04 00:38:29 -07:00
Jeff Atwood
04c3779985 and it wasn't even the correct glyph 2014-05-03 15:19:28 -07:00
Jeff Atwood
1cd62c37a4 wow I suck 2014-05-03 15:15:11 -07:00
Jeff Atwood
b902119f00 use glyph for "in reply to" chicklet to simplify 2014-05-03 15:04:15 -07:00
Régis Hanol
63c4f24319 BUGFIX: do not show PMs counters when the value is 0 2014-05-03 00:40:57 +02:00
Régis Hanol
4642218662 FEATURE: add private messages counters in user activity feed 2014-05-02 22:53:58 +02:00
Neil Lalonde
ce381860dc Order latest.rss by created_at, not updated_at 2014-05-02 11:51:16 -04:00
Alexander
43ed6979be feed titles get translations of "Topics" 2014-05-01 14:17:09 -07:00
Neil Lalonde
2e7b69f849 RSS feed for topics and posts now use a guid that will always be unique, unlike urls which can change when the topic slug changes 2014-05-01 14:09:15 -04:00
Alexander
891a1c4279 feed titles now prefixed with SiteSetting.title 2014-05-01 09:37:13 -07:00
Neil Lalonde
df538f63d9 Add Hebrew 2014-05-01 11:00:53 -04:00
Jeff Atwood
0f62a6f132 fix new user color 2014-05-01 01:39:08 -07:00
Régis Hanol
11bfd6b68c Merge pull request #2309 from riking/cat-class
Add class to page based on topic category
2014-05-01 09:58:45 +02:00
Jeff Atwood
41cb378142 why does .cooked need a right margin of 60 px?!? 2014-05-01 00:25:07 -07:00
Jeff Atwood
3c05f97f9e some /faq page layout fixes 2014-04-30 23:59:24 -07:00
riking
63ce01893b Add class to page based on topic category 2014-04-30 22:24:02 -07:00
Jeff Atwood
0fa7aec74a minor copyedits on faq and digest 2014-04-30 16:20:23 -07:00
Régis Hanol
02dd80170a BUGFIX: revision history was messed up when doing quick edits 2014-04-30 22:42:56 +02:00
Neil Lalonde
dc0a758ec6 FIX: quote whole post button was broken 2014-04-30 14:21:43 -04:00
Régis Hanol
5fda4a613d Merge pull request #2306 from awesomerobot/master
some alignment fixes for the new username position
2014-04-30 18:08:29 +02:00
Régis Hanol
11af466737 FEATURE: add a specific flag reason when a post has been hidden 2014-04-30 16:58:01 +02:00
Kris Aubuchon
e18f435318 some alignment fixes for the new username position 2014-04-30 10:14:27 -04:00
Jeff Atwood
f13e9e58e8 change "Log In" to "Sign In"
because
http://www.designcult.org/2011/08/why-do-we-call-in-logging-in.html
2014-04-30 01:10:32 -07:00
Sam
85e7033410 BUGFIX: styling 2014-04-30 17:04:54 +10:00
Sam
e964ca4d4e BUGFIX: merge played up correct visual styles 2014-04-30 16:13:08 +10:00
Sam
d8046a395f BUGFIX: improve alignment 2014-04-30 16:04:24 +10:00
Kris Aubuchon
7361519e52 some adjustments for the username relocation... 2014-04-30 00:45:11 -04:00
Sam
f6c22cc299 Merge pull request #2297 from ligthyear/custom-fields
Custom fields for Topic, Category, Post and Group
2014-04-30 13:15:50 +10:00
Sam
1d2cabc2a6 FEATURE: usernames are now on top. 2014-04-30 12:13:37 +10:00
Robin Ward
ad1a8db956 Support for linking to static pages with hash URLs like #section. Also
refactor of static code to be more idomatic.
2014-04-29 18:01:13 -04:00
Robin Ward
87b4cd3323 FIX: Don't show undefined query params 2014-04-29 16:18:01 -04:00
Robin Ward
f50039b48b Support 404 routes in the Ember App 2014-04-29 15:29:13 -04:00
Neil Lalonde
f61f29439e Track the ip address where user was registered 2014-04-29 14:37:56 -04:00
Benjamin Kampmann
f757706861 Ensure Reload reloads custom_fields, too 2014-04-29 19:34:56 +02:00
Benjamin Kampmann
0cf07d41ae Move Concern from lib into app/models. refs #2279 2014-04-29 19:26:43 +02:00
Benjamin Kampmann
e502122c51 Add Custom Fields on Topics 2014-04-29 19:26:42 +02:00
Benjamin Kampmann
2450088c03 Add CustomFields to Post, Category and Group 2014-04-29 19:26:42 +02:00
Benjamin Kampmann
e6e03a1a96 move custom fields into its own concern 2014-04-29 19:26:42 +02:00
Régis Hanol
4371374ba6 FEATURE: support for enabling all upload file types
BUGFIX: authorized extensions is now case insensitive
2014-04-29 19:12:35 +02:00
Robin Ward
359d59242e If a new user receives a mention, quote or response to their post, allow
them to continue posting in a topic.
2014-04-29 12:59:14 -04:00
Kris Aubuchon
449de0368e updating d-dropdown so long lists of categories can scroll 2014-04-29 09:50:02 -04:00
Sam
d18b136e54 Merge pull request #2299 from borhub/new_html_containers_to_help_custom_theming
User profile page and post page templates: add extra wrappers
2014-04-29 12:31:56 +10:00
Boris
88734957bf Topic page template: add extra wrapper around the username also for the deleted user case (missed in af69b78ecb ) 2014-04-29 11:55:16 +10:00
Sam
0fc4c47927 Merge pull request #2295 from vikhyat/badge-system
Titleable badges
2014-04-29 11:26:51 +10:00
Robin Ward
ba683bc611 FIX: XSS in markdown converter. 2014-04-28 14:44:15 -04:00
Neil Lalonde
1da59e7e2e FIX: deactivated users shouldn't be able to log in 2014-04-28 13:46:28 -04:00
Neil Lalonde
340fd303c8 FIX: in multisite setup, links to the current forum are whitelisted when looking for spam hosts 2014-04-28 10:37:28 -04:00
Boris
c934411228 User profile page template: add extra wrapper into primary details section to allow laying textual items out on the right of the avatar 2014-04-28 17:51:15 +10:00
Vikhyat Korrapati
a8e2c5e616 Use PreloadStore for the badge pages. 2014-04-28 10:30:50 +05:30
Vikhyat Korrapati
b4e037dfb2 Allow badges to be marked as "titleable". 2014-04-28 10:30:38 +05:30
Sam
e88e43bfb6 Merge pull request #2279 from fantasticfears/concern
move concerns to the model/concerns
2014-04-28 09:48:33 +10:00
Robin Ward
89df580560 FIX: Reflected post links were being deleted when they shouldn't and
vice versa.
2014-04-25 16:49:48 -04:00
Robin Ward
b91c70cac3 FIX: Don't show quote controls when the post id is missing. 2014-04-25 15:41:24 -04:00
Benjamin Kampmann
64918c35f5 Improved Plugins SCSS management
- Moves the import of plugins for both mobile and desktop from common after discourse loading, allowing plugins to overwrite
 - Make desktop-option behave like the mobile-option: SCSS/CSS marked with that option will only be loaded for desktop from now on and ignored in mobile
 - Add variables-keyword, allowing plugins to ship and overwrite variables before they get imported by discourse (great for theming)
2014-04-25 18:25:45 +02:00
Neil Lalonde
20df262814 Add filters to colors ui 2014-04-25 10:10:17 -04:00
Régis Hanol
f8d9fb7bdc Revert "Merge pull request #2284 from jaimeiniesta/patch-1"
This reverts commit a6b88d1e7e, reversing
changes made to 9bee0b6e2d.
2014-04-25 11:40:38 +02:00
Robin Ward
cf6cbb955b REFACTOR: Introduce Discourse.computed.setting to create a computed
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Robin Ward
cdd2101e4f FIX: Don't hotlink links for new users 2014-04-24 18:36:02 -04:00
Robin Ward
f527ac33b0 FIX: Make sure the unread counter is updated following a "Dismiss New" 2014-04-24 18:36:02 -04:00
Neil Lalonde
feaaf55a0c Theming: color scheme editing. Unfinished! Doesn't have any effect on css files yet. 2014-04-24 16:49:12 -04:00
Régis Hanol
c52ee665b4 FEATURE: do not bump topic when pulling hotlinked images 2014-04-24 16:07:47 +02:00
Régis Hanol
d1b96d0e8b Merge pull request #2290 from vikhyat/badge-system
Incrementally load users in the badge page
2014-04-24 12:14:41 +02:00
Vikhyat Korrapati
0357370b0d Use the user-badge component in the admin user badges page. 2014-04-24 14:48:30 +05:30
Vikhyat Korrapati
4e89b64e64 Load 100 users at a time for the badge page, with a button to load more. 2014-04-24 14:48:26 +05:30
riking
7da5d3fe78 Backoff-retry for hotlinked image pull + some style fixes 2014-04-23 22:25:43 -07:00
riking
b309deef11 Add site setting for domains to never download images from 2014-04-23 22:24:35 -07:00
Sam
a6b88d1e7e Merge pull request #2284 from jaimeiniesta/patch-1
escape gravatar URLs to comply with W3C standards
2014-04-24 12:56:16 +10:00
Sam
9bee0b6e2d BUGFIX: we don't need this param 2014-04-24 12:46:54 +10:00
Sam
05efc8df16 BUGFIX: likes would cause whole post to re-render 2014-04-24 12:42:04 +10:00
Sam
2d123ef1c7 REGRESSION: sortable columns were missing sortable class on first render 2014-04-24 11:24:58 +10:00
Sam
3ff1d63a8d Improve mobile style for topic lists
This has been driving me nuts for a while now
2014-04-24 11:10:50 +10:00
Sam
2debf7d97d Correct colors for tracking glyph in notification area 2014-04-24 10:48:04 +10:00
Sam
759f4b4fe9 BUGFIX: category name is reserved in multisite 2014-04-24 09:19:59 +10:00
Neil Lalonde
d8ebeef857 FIX: NotifyMailingListSubscribers can handle trashed posts, instead of raising an error and retrying 2014-04-23 15:50:52 -04:00
Robin Ward
e48cf06fc9 REFACTOR: Add urls for admin groups, make it more idiomatic ember 2014-04-23 15:15:46 -04:00
Neil Lalonde
448802f006 Merge pull request #2288 from yomybaby/i18n_plural_ko
add pluralization rules in ember for Korean (ko)
2014-04-23 12:59:56 -04:00
Régis Hanol
de53385ed2 display the copy & paste images hint to FF users too 2014-04-23 18:49:54 +02:00
Régis Hanol
ff1823beca BUGFIX: backups logs page was busted since last Ember update 2014-04-23 11:20:22 +02:00
Sam
7c57d74e85 FEATURE: unicorn sidekiq will restart sidekiq on complete failure.
(checks every 30 minutes for complete failure)
2014-04-23 13:13:18 +10:00
Sam
8abf652dc3 SECURITY: self XSS by admin by editing badge name 2014-04-23 09:46:32 +10:00
Jeff Atwood
6538874064 remove unnecessary css witdh 2014-04-22 16:22:25 -07:00
Jong Eun Lee
00ff3f8953 add pluralization rules in ember for Korean (ko) 2014-04-23 08:08:39 +09:00
Robin Ward
af877781b7 Allow admins to choose if groups are visible or not. 2014-04-22 16:43:46 -04:00