Commit graph

4659 commits

Author SHA1 Message Date
Neil Lalonde
09dc3f128f Don't disable the create account button for signups from 3rd parties. Server will return error messages if something is wrong. 2014-05-16 16:01:45 -04:00
Neil Lalonde
68fcb66443 Use Discourse.computed.setting for more better javascript 2014-05-16 15:27:42 -04:00
Robin Ward
a6670c6c83 Convert all initializers to Ember initializers 2014-05-16 14:04:34 -04:00
Robin Ward
a2a07a9852 Allow reply as new topic to use the selected text as a quote. 2014-05-16 12:20:15 -04:00
Neil Lalonde
4ca0a162b4 Add a hint about the fixed_category_positions site setting in the edit category modal. 2014-05-16 11:45:54 -04:00
Neil Lalonde
27cbc06563 Add fixed_category_positions site setting to handle whether categories are ordered by specified positions or by activity. 2014-05-16 11:33:52 -04:00
Robin Ward
417fdeaad8 FIX: Allow clicking on the (+) icon as well as the link to reply as new
topic.
2014-05-16 11:25:49 -04:00
Kris Aubuchon
1fd6a9067b making onebox styles consistent with quotes 2014-05-16 10:19:02 -04:00
Régis Hanol
3a0b23191c TEMP: disable CORS when using CDN 2014-05-16 15:11:12 +02:00
Erick Guan
60b9c8b79e align for user dropdown. No badge for zero incoming message. 2014-05-16 19:54:58 +08:00
Vikhyat Korrapati
215e42053a FIX: missing badge descriptions. 2014-05-16 13:39:40 +05:30
Sam
109d7cc52d move into property so does not evaluate too early. 2014-05-16 12:06:51 +10:00
Sam
d897eada61 Improve visual styling for badges page 2014-05-16 11:08:06 +10:00
Sam
8146ee4560 add badges link to hamburger 2014-05-16 10:52:39 +10:00
Sam
eff8c22638 There is this thing called SQL and it is about 1000x faster 2014-05-16 10:34:06 +10:00
Sam
5914d0e132 Merge pull request #2311 from vikhyat/badge-system
Add automatically assigned trust level badges
2014-05-16 09:08:00 +10:00
Robin Ward
63bf03ba5b Support for automatic registering of initializers from plugins. 2014-05-15 17:05:29 -04:00
Neil Lalonde
57c970b692 FIX: enable button is broken when color scheme is not saved yet 2014-05-15 15:05:02 -04:00
Robin Ward
026cfe2dc7 ES6: Half a dozen more controllers 2014-05-15 11:32:15 -04:00
Knut Aldrin Wikström
579f2bf7b8 Fix suspended scope
:non_suspended should check if suspension is <= NOW, else one could end up in neither group.
2014-05-15 15:47:49 +02:00
Jeff Atwood
a8d5860caf topic-map domains should be lighter 2014-05-15 01:34:43 -07:00
Sam
fad868c78f Bump hashes on various files
Upgrade jquery


I made this commit cause my JS debugging CDN support added a header and
wanted we bump cache everywhere
2014-05-15 15:52:09 +10:00
Sam
f34862d195 FEATURE: get window.onerror working for CDNs 2014-05-15 12:59:26 +10:00
Sam
198cf851ff BUGFIX: exact username match not correctly prioritized on search 2014-05-15 12:22:35 +10:00
Jeff Atwood
b85c78a499 return unescaped HTML here 2014-05-14 16:03:53 -07:00
Jeff Atwood
a4285830e1 I wish I had noticed that double quote earlier 2014-05-14 15:58:18 -07:00
Jeff Atwood
1e07d9a1d7 add parens 2014-05-14 15:56:38 -07:00
Jeff Atwood
b369609903 add glyphs to flag dialog action button 2014-05-14 15:52:29 -07:00
Robin Ward
ab319de4f9 FIX: Github commit oneboxing formatting in emails 2014-05-14 16:40:54 -04:00
Robin Ward
93b2af8a6e Pass the post to any events bound to custom names 2014-05-14 15:21:11 -04:00
Robin Ward
3211c60bbe FEATURE: A new site setting public_user_custom_fields which allows you
to whitelist custom fields that will be exposed to the Ember client
application.
2014-05-14 14:39:01 -04:00
Robin Ward
f90548f88a ES6: Just a few more controllers 2014-05-14 11:38:20 -04:00
Vikhyat Korrapati
c07244a4e6 Refactor BadgeGranter.update_trust_level_badges! -> update_badges. 2014-05-14 21:01:41 +05:30
Vikhyat Korrapati
b144b75565 Add automatically assigned trust level badges. 2014-05-14 20:47:21 +05:30
Neil Lalonde
eb7aab3e0b FIX: revert button on all colors in a new color scheme 2014-05-14 10:19:00 -04:00
Neil Lalonde
4980cff802 Add descriptions. Make all the actions buttons. Add a revert button to colors. Add a new variable: quaternary. 2014-05-14 10:19:00 -04:00
Neil Lalonde
3b1e1731dc Remove the message that says the themer is under contruction 2014-05-14 10:18:13 -04:00
Neil Lalonde
0fa26022c0 Remove admin css from common 2014-05-14 10:18:12 -04:00
Neil Lalonde
c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
Régis Hanol
c97de2c449 BUGFIX: markdown sanitize on null/undefined text 2014-05-14 12:14:33 +02:00
Régis Hanol
06a87fb0ee BUGFIX: allow new users to upload an avatar/background 2014-05-14 12:13:51 +02:00
Régis Hanol
3fde28e108 BUGFIX: correctly auto-select /top time range when filtering on a category 2014-05-14 11:49:50 +02:00
Jeff Atwood
b232736242 new-user styles not consistent 2014-05-14 01:05:24 -07:00
Jeff Atwood
d28e03c3aa user page instructions should be dimmed 2014-05-14 00:26:09 -07:00
Jeff Atwood
c0c0bfa35e both mobile and desktop 2014-05-13 22:27:04 -07:00
Jeff Atwood
1492a8f871 forgot parens 2014-05-13 22:22:33 -07:00
Jeff Atwood
c1cb0e9ac6 forgot a spot for the PM notification style 2014-05-13 22:09:08 -07:00
Jeff Atwood
f2d7e4906b symmetry between PM notifications and user page 2014-05-13 21:55:44 -07:00
Sam
ca4c72e648 BUGFIX: 500 error on some invalid uploads 2014-05-14 10:51:09 +10:00
Sam
b329e23f85 don't attempt to send emails on deleted topics 2014-05-14 10:34:28 +10:00
Robin Ward
152dc499e1 New poster-name component, designed to be extended to add additional
information.
2014-05-13 16:56:25 -04:00
Robin Ward
2e4d8b2e13 The main content of a post was being floated to the left in mobile. This
was causing the topic map to surround the first post.
2014-05-13 15:07:05 -04:00
Jeff Atwood
2c6ed24e26 more margin on show full post in mobile 2014-05-13 11:39:13 -07:00
Jeff Atwood
704a683903 mobile layout CSS tweaks 2014-05-13 11:10:29 -07:00
Jeff Atwood
8fa580f40d scale quote highlight color 2014-05-13 10:16:13 -07:00
Jeff Atwood
a83859ea59 the span highlight expand quote CSS went missing 2014-05-13 10:08:43 -07:00
Robin Ward
ad90d9710d Add an ENV variable to enable the stricter, plugin-incompatible ES6
behaviour for development.
2014-05-13 12:49:02 -04:00
Régis Hanol
b5239be2fa BUGFIX: center title columns in basic topic lists 2014-05-13 18:41:20 +02:00
Régis Hanol
08dde3d881 BUGFIX: moderators can notify moderators 2014-05-13 17:47:00 +02:00
Régis Hanol
d11d31acaa BUGFIX: missing <tbody> tag inside a <table> 2014-05-13 17:46:57 +02:00
Neil Lalonde
6e0eb89697 Don't show suspended users in autocomplete fields unless you are staff 2014-05-13 11:44:15 -04:00
Neil Lalonde
9f4171e487 Fix my prev_page code, thanks to riking 2014-05-13 10:15:28 -04:00
Wojciech Zawistowski
960d64930c Wiki Post 2014-05-13 08:53:11 -04:00
Jeff Atwood
27c702464e bit more mobile css cleanup 2014-05-13 00:03:22 -07:00
Jeff Atwood
0e23641291 fix mobile badge colors, jay leno P chins 2014-05-12 23:37:25 -07:00
Sam
0ade2be7d6 FEATURE: logster logs js errors 2014-05-13 15:52:25 +10:00
Jeff Atwood
8ff9b8388e minor mobile fixes 2014-05-12 22:50:52 -07:00
Jeff Atwood
0e758c5a84 remove subcategories text from categories page 2014-05-12 15:21:28 -07:00
Neil Lalonde
00390ee739 Add a way to show a custom message at the top of all notification emails. Customize it at /admin/site_contents/notification_email_top 2014-05-12 16:52:06 -04:00
Robin Ward
d31996eaca FIX: Allow users to create protocol relative URLs in posts. 2014-05-12 16:30:00 -04:00
Neil Lalonde
e68e97d986 FIX: moderators can't see private topics that they aren't invited to see. 2014-05-12 15:26:46 -04:00
Robin Ward
07007e6cbc ES6: Notification controllers, added helper to create via ES6/container 2014-05-12 14:01:21 -04:00
Neil Lalonde
cf7a3e74ee In web crawler mode, don't show a previous link on a page with 0 results. Google will index those pages and keep following the prev links. 2014-05-12 10:50:27 -04:00
Régis Hanol
fca6738212 BUGFIX: could not see the revisions of a post in a deleted topic 2014-05-12 16:30:10 +02:00
Régis Hanol
4b39e9e6d3 Merge pull request #2332 from rhacker/patch-1
Update discovery_topics_view.js
2014-05-12 12:13:17 +02:00
Régis Hanol
cf40851905 BUGFIX: 404 on /users/:user/private-messages 2014-05-12 12:02:32 +02:00
Régis Hanol
b018b4ad18 BUGFIX: remove N+1 on topic lists 2014-05-12 10:11:05 +02:00
Régis Hanol
5f2c2efb47 BUILD FIX: missed a semicolon 2014-05-12 09:54:52 +02:00
Régis Hanol
bc3de84ebf FEATURE: remove bookmark button in activity feed 2014-05-12 09:33:26 +02:00
Régis Hanol
9125453628 FEATURE: add the first 3 participants in a private message 2014-05-12 09:32:49 +02:00
Sam
557dc76c07 BUGFIX: failing avatar detection job 2014-05-12 15:50:44 +10:00
Sam
97ae43126b BUGFIX: 500 error on missing category 2014-05-12 15:50:31 +10:00
Sam
f8b7f0d73f FEATURE: logster env tab, log current user 2014-05-12 15:28:23 +10:00
Kris Aubuchon
0779621680 lighter TH on topic-list 2014-05-12 01:02:05 -04:00
Sam
c683fab2a1 Adjust username styling 2014-05-12 11:28:24 +10:00
Sam
8de172c0da Removed invite on ENTER key
1. We can not use this feature as admins
2. It will be inconsistent if admins don't have it and others do
3. inviting people by mistake is no good

tab enter should do fine
2014-05-12 09:40:22 +10:00
Robin Ward
eb0872c5d4 FIX: Topic archetype check should only happen when the topic exists 2014-05-11 15:53:57 -04:00
Robin Ward
948ebf2201 FIX: Modals weren't closing when routing to raw links 2014-05-11 15:39:00 -04:00
Robin Ward
2bb63ffb38 FIX: Don't show links to private messages in the gutter 2014-05-11 15:16:28 -04:00
Dung Quang
eed1440a8d Update discovery_topics_view.js
I guess this is a typo
2014-05-10 19:36:40 +07:00
Jeff Atwood
8714391bb2 fix p:last-of-type on embed topic blockquotes 2014-05-09 23:51:06 -07:00
Jeff Atwood
1e8e2590cf Merge pull request #2331 from awesomerobot/master
rearranging layout to better fit the new username placement
2014-05-09 23:30:38 -07:00
Jeff Atwood
c65fa01479 fix in-reply-to names for mobile embed 2014-05-09 23:20:23 -07:00
Kris Aubuchon
b2675a61ba rearranging layout to better fit the new username placement 2014-05-10 02:09:04 -04:00
Jeff Atwood
9afc5706e9 loosen spacing a bit on embedded topics 2014-05-09 22:50:45 -07:00
Jeff Atwood
6cfa5f78d9 make new user names a bit lighter 2014-05-09 13:32:36 -07:00
Robin Ward
6cd3796c39 FIX: Blog counts stopped working with additional security checks 2014-05-09 16:26:14 -04:00
Jeff Atwood
5ee6ac3621 reply-to-tab doesn't need bgcolor 2014-05-09 13:25:28 -07:00
Robin Ward
2fd5ae2091 Move reply to to the right 2014-05-09 16:12:21 -04:00
Robin Ward
252b36bb86 FIX: Some avatars were too big in embedded CSS 2014-05-09 15:49:53 -04:00
Robin Ward
067381ed18 Move in reply to slightly in embedded posts 2014-05-09 15:42:48 -04:00
Robin Ward
e713cc40c4 First attempt: Move username on top of embedded posts 2014-05-09 15:14:00 -04:00
Arpit Jalan
93cff8deb5 Speech bubble waiting for an ajax response prior to rendering 2014-05-09 22:23:27 +05:30
Robin Ward
842dd91958 Revert "Merge pull request #2304 from techAPJ/speech-bubble-update"
This reverts commit 6590ebbcbe, reversing
changes made to 3855ead62e.
2014-05-09 12:01:36 -04:00
Robin Ward
6590ebbcbe Merge pull request #2304 from techAPJ/speech-bubble-update
Speech bubble waiting for an ajax response prior to rendering
2014-05-09 11:58:57 -04:00
Robin Ward
3855ead62e ES6: Some more controllers 2014-05-09 11:57:39 -04:00
Jeff Atwood
853bbbbf06 suppress reply-to-tab borders 2014-05-09 08:42:07 -07:00
Régis Hanol
978fb7ff96 Merge pull request #2328 from ligthyear/better-debugging-of-promises-in-dev
Log the actual promise object instead of a useless name
2014-05-09 11:25:44 +02:00
Benjamin Kampmann
41f1c70fe4 Log the actual promise object instead of a useless name
- console.log has support for objects including introspection, use this
 - instead of logging useless names
2014-05-09 11:16:56 +02:00
Sam
084ec87850 FEATURE: admins can invite users to groups via the web UI 2014-05-09 18:22:36 +10:00
Sam
3f07c1d0a1 Backend support for group invites 2014-05-09 18:22:35 +10:00
Sam
34d1668f9f FEATURE: backend for inviting a user to a group 2014-05-09 18:22:35 +10:00
Arpit Jalan
d16974fd4c Speech bubble waiting for an ajax response prior to rendering 2014-05-09 08:06:56 +05:30
Robin Ward
77d68ccf08 FIX: Robin is fired for the typo 2014-05-08 16:44:32 -04:00
Robin Ward
44ed0d5232 FIX: Even more safety, the topic must exist as well. 2014-05-08 16:41:25 -04:00
Robin Ward
5fb962a65f FIX: Some extra safety - in the case that an imported post was deleted,
don't error out of the PollFeed job
2014-05-08 16:27:17 -04:00
Robin Ward
804a489c7b ES6: More controllers 2014-05-08 11:35:34 -04:00
Robin Ward
efcf99c21d ES6: A bunch more controllers 2014-05-08 11:35:34 -04:00
Robin Ward
a0221ce5e5 ES6: More controllers converted to ES6 2014-05-08 11:35:34 -04:00
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