Commit graph

11086 commits

Author SHA1 Message Date
Sam Saffron
b0875f8332 Revert "Revert "FEATURE: fenced code blocks can hint with "pre" or "text"""
This reverts commit 4487d6a4c2.
2014-09-18 15:15:42 +10:00
Neil Lalonde
d6a562658a FIX: update user preferences was failing if custom_fields is blank string 2014-09-17 13:09:39 -04:00
Robin Ward
d472b4e10a FIX: When emoji was disabled you could get a JS error in preview 2014-09-17 12:57:49 -04:00
Robin Ward
4487d6a4c2 Revert "FEATURE: fenced code blocks can hint with "pre" or "text""
This reverts commit 943ad8d1d5.
2014-09-17 12:17:32 -04:00
Robin Ward
19b4364d79 SECURITY: Stripping links could unescape html fragments 2014-09-17 12:08:00 -04:00
Robin Ward
c16b8364ab FIX: Support ember app routing to topics with only slugs 2014-09-17 11:18:59 -04:00
Marcin Rataj
366c9c1baf UX: Move emoji setting into 'Plugins' category 2014-09-16 23:57:54 +02:00
Arpit Jalan
e6c853e642 show parent and child category in oneboxes 2014-09-17 01:01:41 +05:30
Sam Saffron
943ad8d1d5 FEATURE: fenced code blocks can hint with "pre" or "text"
Use ```pre or ```text for unhiglighted code blocks
2014-09-17 01:40:10 +10:00
Robin Ward
309b67add4 FIX: If a post has been hidden due to flagging, don't use the absolute
edit window for edit prevention.
2014-09-16 11:21:14 -04:00
Sam Saffron
b62aaf5a53 FEATURE: display reply to post on mobile 2014-09-17 01:20:15 +10:00
Sam
0855fe5438 Merge pull request #2798 from lidlanca/patch-3
Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more"
2014-09-17 00:25:12 +10:00
Sam
96660b58fa Merge pull request #2801 from jrhe/s3_govcloud_support
Adds govcloud region to s3 region list
2014-09-17 00:23:26 +10:00
Sam
a3276c042d Merge pull request #2802 from cpradio/firefox-use-k-to-scroll-up
FIX: Firefox - Topic List Keyboard shortcut Previous(K) does not scroll properly leaving selected item hidden
2014-09-17 00:20:48 +10:00
Sam
8bc1091281 Merge pull request #2799 from techAPJ/patch-2
Add pl_PL translations for Poll plugin and update translations
2014-09-16 22:36:38 +10:00
Sam
fa014782e8 Merge pull request #2800 from riking/nojs-subcategory
FIX: Bracked category link in no-JS view
2014-09-16 14:44:08 +10:00
Sam
9ace1521f6 Merge pull request #2797 from fantasticfears/master
return true when invoke verbose_localization_session
2014-09-16 14:42:46 +10:00
cpradio
eaf0cf0519 FIX: Using k on Firefox to navigate up the topic list
Using k wouldn't always bring the topic in focus as you moved up the topic list
https://meta.discourse.org/t/topic-list-keyboard-shortcut-previous-k-does-not-scroll-properly-leaving-selected-item-hidden-firefox/20050
2014-09-15 21:10:24 -04:00
Régis Hanol
4e5e7d718e TRIVIAL: remove useless comment 2014-09-15 18:33:05 -04:00
Régis Hanol
205d61363d FEATURE: add 'enable_emoji' site setting 2014-09-15 18:16:19 -04:00
Sam Saffron
bb64c2236b SECURITY: Escape strings in logs 2014-09-16 07:53:17 +10:00
Sam Saffron
8ba8846589 FIX: Allow Reader badge if you over read a topic 2014-09-16 07:07:47 +10:00
Jonathan Richard Henry Evans (JRHE)
38202d5037 Adds govcloud region to s3 region list 2014-09-15 19:34:12 +01:00
riking
34db30396c FIX: Bracked category link in no-JS view 2014-09-14 21:55:30 -07:00
Arpit Jalan
6455dc7580 Add pl_PL translations for Poll plugin and update translations 2014-09-14 23:52:24 +05:30
Jeff Atwood
10e2c3f693 consolidate <aside> quote CSS styles in base 2014-09-13 23:02:46 -07:00
lidlanca
e277287b2e Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more"
Using Next keyboard shortcut (J) rapidly while reaching last item in the topic list and
causing a "load more". The handler might get into a state where it can not detect any selected item due to the delay from Em.run.next
and will result in position reset.

+added boundary check of last item on next, early in the handler to avoid unnecessary computations 


https://meta.discourse.org/t/keyboard-shortcut-next-previous-continues-key-down-reset-to-first-item-in-list-on-load-more/20042
2014-09-13 23:59:20 -04:00
Erick Guan
bd59a5caba return true when invoke verbose_localization_session 2014-09-14 10:10:48 +08:00
Jeff Atwood
cf4bd67946 UX: rename "invisible" to "unlisted" 2014-09-13 01:26:18 -07:00
lidlanca
13cedce0cf Fix: Cancel link click if triggered as part of text selection
Prevent a click if the user select content in a topic and release the mouse over a link.

https://meta.discourse.org/t/selecting-a-link-results-in-it-being-opened/14846
2014-09-13 04:05:03 -04:00
Jeff Atwood
fe10c6977c Merge pull request #2793 from techAPJ/patch-2
Rename elder to leader
2014-09-12 23:10:13 -07:00
Jeff Atwood
bd318ecf3a shorten keyboard shortcut help copy 2014-09-12 23:05:38 -07:00
Jeff Atwood
35ca9525aa move pre/kbd to base css, remove obscure CSS 2014-09-12 22:58:15 -07:00
Arpit Jalan
eddaaa5040 Rename elder to leader 2014-09-13 11:05:54 +05:30
Robin Ward
9593cb2419 Merge pull request #2791 from lidlanca/patch-1
stripping port information from Discourse.BaseUrl
2014-09-12 16:54:44 -04:00
Robin Ward
0c32bf9c34 Removed stupid {{log}} message that I left in because I'm stupid. 2014-09-12 16:29:25 -04:00
lidlanca
33e1790408 stripping port information from Discourse.BaseUrl
Port information if presented in Discourse.BaseUrl may break user avatar URL in the template generation.

https://github.com/discourse/discourse/edit/master/app/assets/javascripts/discourse/models/user.js
avatarTemplate()

In the future there should be a way to reference baseUrl with or without port information
2014-09-12 16:29:17 -04:00
Robin Ward
46d8db3d70 Use dashed names for all templates when using {{render}} for future
Ember compatibility
2014-09-12 15:03:33 -04:00
Robin Ward
22fd7fb07d Better resolver support for underscored templates. Eventually we'll
migrate to dashed only.
2014-09-12 14:44:35 -04:00
Robin Ward
1de9c3b04a Migrate more helpers to ES6 format. 2014-09-12 14:27:34 -04:00
Robin Ward
6f149edecc FIX: Scroll position when hitting back button to category filter 2014-09-12 14:07:04 -04:00
Robin Ward
1e880fd5e1 SECURITY: Malformed URL could crash V8 2014-09-12 13:19:15 -04:00
riking
2c6d03f87f SECURITY: Limit passwords to 200 characters
Prevents layer 8 attack.
2014-09-12 12:07:11 -04:00
Zane Beckman
216ee9f2f1 Add css selector for 'star' th element
Allows custom css rules to hide this column.
2014-09-12 11:04:47 -04:00
Robin Ward
05bb756ec4 Merge pull request #2790 from mfeckie/admin-group-styling
Make style more consistent with rest of site
2014-09-12 10:57:21 -04:00
Sam
37acc5a1c3 Merge pull request #2789 from lukegb/patch-1
makes upload buttons less shouty
2014-09-12 20:16:54 +10:00
Martin Feckie
b266b16b6a Make style more consistent with rest of site 2014-09-12 16:44:40 +08:00
Sam
6d5e6b3e33 FIX: max 1 day of view time per topic
we were overflowing ints in some conditions and flooding error logs
2014-09-12 16:59:43 +10:00
Luke GB
93b7cd6703 makes upload buttons less shouty
A few of the upload buttons in the admin panel are quite shouty for some reason.

https://meta.discourse.org/t/arbitrary-all-caps-upload-button-on-backups-page/19967
2014-09-12 07:25:36 +01:00
Jeff Atwood
135b1f63e8 slightly shorten user staff summary count copy 2014-09-11 23:17:48 -07:00