Commit Graph

4562 Commits

Author SHA1 Message Date
58ba8a0e49 remove unnecessary (empty) view class
Discourse.ApplicationView does not provide any functionality above what
already automatically happens via Ember's "convention over
configuration" behavior and is therefore redundant.
2013-09-20 17:52:38 +02:00
085493e35d optimise regular job to avoid touching posts that have not changed 2013-09-19 23:00:42 -07:00
1815a5a306 update mini profiler on rails 4 2013-09-19 23:00:42 -07:00
60abde2253 FIX: Broken spec 2013-09-19 18:40:46 -07:00
e3a56864dd Changes to support Spoiler Alert plugin 2013-09-19 18:01:30 -07:00
147887bc63 Remove duplicate list.js.handlebars 2013-09-19 16:52:57 -07:00
5b455152d0 Add wrench icon to Edit Category button 2013-09-19 16:41:52 -07:00
0a07b37ae9 Add email icon to password reset email button 2013-09-19 16:37:37 -07:00
95257a192a Remove posts icon and make post count bold in mobile topic lists 2013-09-19 16:24:46 -07:00
01180e78cc Use two lines per topic list item on mobile 2013-09-19 14:36:38 -07:00
cd3a2143d2 remove unnecessary return statement inside Discourse.Router.map
Ember's Router.map(callback) method doesn't expect any value to be
returned by callback function. Therefore, return statements present
inside Discourse.Router.map are unnecessary (and are silently ignored by
Ember).
2013-09-19 17:26:43 +02:00
748ef94ce0 flamegraph update to support embedded graphs 2013-09-19 14:11:02 +10:00
f5019ccef2 update mini profiler 2013-09-19 13:38:08 +10:00
e29c80371c Merge pull request #1447 from awesomerobot/master
fixing blockquote on mobile
2013-09-18 12:17:33 -07:00
e5854b8b4c Added screencast.com to whitelist.rb
Adding onebox support to screencast.com could be useful.
2013-09-18 13:58:13 -04:00
7da10c0149 Remove duplicate mixing in of Discourse.Presence
AdminEmailIndexController and AdminEmailPreviewDigestController explicitely mix in Discourse.Presence, but they extend base classes Discourse.Controller and Discourse.ObjectController that already mix in Discourse.Presence, so this explicit inclusion is redundant.
2013-09-18 18:40:57 +02:00
79b8991ed8 fixing blockquote on mobile 2013-09-18 11:05:23 -04:00
aca567b4d7 Merge pull request #1446 from awesomerobot/master
mobile: blockquote title fix
2013-09-17 21:38:56 -07:00
c60912f714 mobile: blockquote title fix 2013-09-18 00:37:56 -04:00
b4f9b9880d Merge pull request #1445 from awesomerobot/master
mobile: reduce vertical space between posts, prevent title wrap
2013-09-17 21:14:38 -07:00
05c4173723 mobile: suggested topics will now fill the viewport width 2013-09-17 23:46:12 -04:00
9808ae2970 mobile: reduce vertical space between posts, prevent titles from wrapping 2013-09-17 23:32:11 -04:00
21b018192f Style categories page for mobile 2013-09-17 17:02:10 -04:00
fdc7267ad9 Add margin to topic list footer message 2013-09-17 16:40:23 -04:00
be71dbfd94 Topic list styling for mobile 2013-09-17 16:07:14 -04:00
c04613f269 Fix resolver for mobile templates 2013-09-17 16:07:14 -04:00
99b6a62fcb New composer message for people dominating a topic 2013-09-17 14:38:39 -04:00
16dc0a7001 New user education notification was off by one. Also, remove the "basic" restriction on the
"posting too often" message.
2013-09-17 12:12:03 -04:00
0fafe124db Add enable_mobile_theme site setting. Uncheck it to disable the mobile theme. 2013-09-17 11:25:37 -04:00
2baf5fda8e Merge pull request #1438 from Elegios/composer_use_category_id
Make the composer and TopicCreator use category id instead of category name
2013-09-17 08:03:48 -07:00
09d32f5600 Merge pull request #1444 from davidcelis/spoiler-padding
Better padding for spoiler text
2013-09-17 08:02:12 -07:00
b15e629f46 Strip trailing slashes from ScreeningUrl records 2013-09-17 10:26:05 -04:00
Sam
6183e9bb6c flamegraph upgrade 2013-09-17 21:34:38 +10:00
37673e3412 Make the composer and TopicCreator use category id instead of category name
Also fixes #1171
Includes backwards compatibility for topic creation
2013-09-17 12:13:19 +02:00
fef39ee4c9 Mini Profiler and fast stack update, resolves infinite loop in flame graphs 2013-09-17 17:14:45 +10:00
Sam
3c2b10ddaf tidy up method 2013-09-17 10:24:15 +10:00
Sam
6af1e12cc1 after_initialize callback for plugins 2013-09-17 10:24:15 +10:00
279b1fbf48 Better padding for spoiler text
With no padding currently surrounding [spoiler] text, the white text
gets close enough to the white post background that it's a bit more
difficult to read than it reasonably could be. Pad spoiler text with 2px
to alleviate this difficulty.

Signed-off-by: David Celis <me@davidcel.is>
2013-09-16 12:49:38 -07:00
ba2c4139fe Use absolute urls in notifications for automatic spammer handling. 2013-09-16 15:07:58 -04:00
e4e8d2fc34 Allow switching between mobile and desktop view on any device. 2013-09-16 14:26:20 -04:00
c845071066 Fix an error with mobile custom header 2013-09-16 12:55:44 -04:00
13f17b2a5c Add ability to customize css and header for mobile 2013-09-16 12:28:02 -04:00
c9ebf23561 Merge pull request #1443 from NeutralAngel/issue_1133
Allow TextSentinel#seems_unpretentious? to accept words joined with dash...
2013-09-16 07:46:41 -07:00
d95172cb5d Allow TextSentinel#seems_unpretentious? to accept words joined with dashes or forward slashes. (Issue 1133) 2013-09-16 09:45:57 -04:00
406c29e79a Merge pull request #1442 from ZogStriP/patch-1
Add a link to the email setup doc
2013-09-16 01:22:59 -07:00
7afa8b7bd4 Add a link to the email setup doc 2013-09-16 10:18:26 +02:00
Sam
6ca6853392 disable XML params, they are just used by malicious bots to determine if we have XML vuls. 2013-09-16 12:58:26 +10:00
Sam
1eb1756dcf Merge pull request #1419 from mguillemot/non_editable_username_and_email
Enable/disable the possibility of editing user's nickname or email
2013-09-15 19:24:35 -07:00
Sam
3d069c219c Merge pull request #1437 from abbat/master
Russian translation (actual version)
2013-09-15 19:15:14 -07:00
Sam
c2ceced747 Merge pull request #1439 from zvikara/master
HandlebarsOneboxes: avoid constants multiple declarations
2013-09-15 19:14:41 -07:00