Robin Ward
8199c3b440
Don't add the g
flag
2014-11-07 12:09:45 -05:00
Robin Ward
0044a99000
Don't raise an error for global regexps; warn the plugin author instead.
2014-11-07 12:04:44 -05:00
Robin Ward
564e7a988c
Merge pull request #2848 from riking/whitelist-api
...
Improve Markdown.whiteListTag, code dialect
2014-11-07 11:33:37 -05:00
Robin Ward
d6ff1630a8
Merge pull request #2898 from kellec/remove_focus_link_href
...
Remove href attribute from tab link to prevent duplicate event on enter.
2014-11-07 11:01:06 -05:00
Robin Ward
a0e92ef57a
FIX: PageTracker was not sending the proper page title through at all
...
times.
2014-11-05 15:15:58 -05:00
Régis Hanol
bdb78ce76a
FEATURE: consider SVG as an image when authorized
2014-11-03 19:54:10 +01:00
Sam
9d43e0ae0c
FIX: regression, ESC is not captured correctly
2014-11-01 18:31:16 +11:00
Sam
75ffb0a425
Merge pull request #2912 from cpradio/pr-make-create-topic-global
...
FIX: Make shortcut 'c' global for creating a topic
2014-10-30 17:23:12 +11:00
Sam
eab12cc6b8
PERF: move excerpt to raw, expose i18n to handlebars
2014-10-29 16:08:35 +11:00
Sam
5729e7df6f
PERF: use raw rendering for topic list
...
rename my handlebars helper to "raw",
create ember compat handlebars to handle rendering
patch ember rails to use the correct precompiler
2014-10-29 15:24:51 +11:00
cpradio
00816269fc
Call open directly to avoid deprecation warning
2014-10-24 17:08:10 -04:00
cpradio
e013694734
FIX: Make shortcut 'c' global for creating a topic
...
https://meta.discourse.org/t/keyboard-shortcut-c-create-a-new-topic-does-not-work-globally/18975
2014-10-24 11:23:03 -04:00
Kelle Connolly
0d461f16a7
Remove href attribute from tab link to prevent duplicate event on enter.
...
Because Discourse doesn't preventDefault on links with an href of "#"
this tab-able link was firing a click event when enter was pressed. This
had the unfortunate side effect of breaking the history, making routing
and navigation unreliable.
2014-10-22 17:29:57 +11:00
Sam
e20e6b4524
PERF: stop using jQuery to sanitize strings
2014-10-22 15:48:18 +11:00
Sam
bf7ee92d56
Move search help to a more intuative spot
2014-10-18 18:00:54 +11:00
Sam
742c5e29c9
FEATURE: advanced search help
2014-10-18 14:27:33 +11:00
Sam
c2c4e03e0f
FIX: when opening links in new window link only worked once
2014-10-15 14:50:20 +11:00
Robin Ward
d2ac5a9ac6
Rename /category/xyz
paths to /c/xyz
-- @SamSaffron did most of the
...
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Sam
b4c29a9f3b
FIX: regression in autocomplete
2014-10-14 18:22:44 +11:00
Sam
737be5e151
Merge pull request #2871 from mamhoff/autocomplete-again
...
Fix buggy autocomplete behaviour for non-US keyboards
2014-10-16 17:35:48 +11:00
Martin Meyerhoff
f3337ab551
reduce number of times caretPosition() is called
2014-10-15 08:50:47 +02:00
Régis Hanol
31e9cafe0e
FEATURE: use original filename when clicking the download link in the lightbox
2014-10-15 19:20:04 +02:00
Robin Ward
216f718607
Support /group/xyz
paths as well as /groups/xyz
2014-10-14 15:11:22 -04:00
Jeff Atwood
1f8e1f8f17
Remove old IE support from WMD, part III
2014-10-12 01:01:40 -07:00
Jeff Atwood
43bcde2060
Remove old IE support froM WMD, part II
...
native methods that IE8 didn't support but IE9 does
2014-10-12 00:46:08 -07:00
Jeff Atwood
28b9176bbc
oh JavaScript, you so crazy
2014-10-12 00:33:13 -07:00
Jeff Atwood
aa29fc3b4a
remove old IE support from WMD, part I: uaSniffed
2014-10-12 00:22:14 -07:00
Jeff Atwood
08bdf26e70
Revert "remove old IE support crap from WMD Editor"
...
This reverts commit 7bbf7d02e3
.
2014-10-12 00:14:22 -07:00
Jeff Atwood
7bbf7d02e3
remove old IE support crap from WMD Editor
...
we barely support IE9 this does not matter at all
2014-10-12 00:05:18 -07:00
Martin Meyerhoff
97b60e6422
Fix buggy autocomplete behaviour for non-US keyboards
...
This change moves the code for actually entering data from the keydown handler to the
keypress handler, which can reliably catch the character entered (rather than
the key pressed).
This is my second attempt at
https://meta.discourse.org/t/typing-shows-on-non-us-keyboard-layouts/20449
without doing dangerous refactoring.
This does not fix the issue reported in
https://meta.discourse.org/t/overly-aggresive-emoji-autocomplete/20691/7
as that is a different bug.
2014-10-11 17:55:48 +02:00
Régis Hanol
5754e8dd0f
FEATURE: auto-close topics based on last post
2014-10-10 18:21:44 +02:00
Robin Ward
d3b268cd2c
FIX: Broken build
2014-10-09 19:42:50 -04:00
Robin Ward
285c66b899
FIX: Say the file uploaded is too large, not "image" as you can upload
...
other kinds of files.
2014-10-09 16:03:04 -04:00
Robin Ward
1cda92c753
Minor documentation change to PageTracker
2014-10-09 15:07:10 -04:00
Robin Ward
5fc150e057
A mucher saner API for updating the title of routes, even when nested.
...
Properly sends the title of the page to google analytics
2014-10-09 14:55:29 -04:00
Sam
7ef2f48660
FIX: not showing any search results when scoped on user
2014-10-08 13:03:18 +11:00
Sam
168c690427
FIX: handle paste events for auto completed fields
2014-10-08 11:59:46 +11:00
Robin Ward
e20c82436d
FIX: Clicking "Latest" while ordering by a column should reset the
...
order.
2014-10-07 15:19:17 -04:00
Robin Ward
52298faaa0
Revert "Revert "Add striped category badges under title""
...
This reverts commit 85b6b2550e
.
2014-10-06 16:29:13 -04:00
Robin Ward
85b6b2550e
Revert "Add striped category badges under title"
...
This reverts commit 331e63e3af
.
2014-10-06 16:13:51 -04:00
Robin Ward
331e63e3af
Add striped category badges under title
2014-10-06 15:58:57 -04:00
Kane York
b79c835c07
Fix data-* behavior (failure to understand own docs)
2014-10-05 15:11:26 -07:00
riking
0532468499
Fix JSHint
2014-10-05 14:58:48 -07:00
riking
1436f75a9f
FEATURE: Allow explicit rel="nofollow" on links
2014-10-05 14:58:48 -07:00
riking
0586b3dd25
Clean up validateAttribute() function
...
Remove code duplication
2014-10-05 14:58:47 -07:00
riking
32cc31319f
FIX: Use lang- prefixes for HLJS; add nohighlight for ...
...
text; use a proper whiteListTag() call.
Old posts are not affected - no global rebake is necessary.
2014-10-05 14:58:47 -07:00
riking
22a4ceceee
Auto-anchor attribute regexes, document _validTags
2014-10-05 12:17:56 -07:00
Sam
f5912a5500
amend previous fix
2014-10-03 16:35:35 +10:00
Sam
8c214c35e4
FIX: clicking on heading could insert a broken heading
2014-10-03 16:35:02 +10:00
Robin Ward
ad5e4f98d9
Revert "Merge pull request #2833 from mamhoff/new-bugfix-autocomplete"
...
This reverts commit 2450d284c5
, reversing
changes made to 489078bfcf
.
2014-10-02 16:00:50 -04:00