Sam
234694b50f
Feature: CommonMark support
...
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it
As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.
This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
Robin Ward
cc525b1a8d
Upgrade QUnit to latest version
2017-06-15 10:12:07 -04:00
Robin Ward
1ef43c33d8
Don't pre-minifiy autoellipsis
2017-05-18 15:16:15 -04:00
Robin Ward
0c46f51412
Use unminified resize to make debugging easier
2017-03-22 16:39:18 -04:00
Robin Ward
f97a6598aa
Use the same jQuery in prod and dev, avoid minimizing twice
2017-03-22 15:48:37 -04:00
Robin Ward
ba8202d199
FIX: Silence DOMException errors when running phantomjs
2017-02-17 16:21:35 -05:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa
.
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb
.
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b
.
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623
.
2016-12-15 10:28:15 -05:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
765e5e9186
Upgrade to Ember 2.9
2016-12-12 14:44:29 -05:00
Guo Xiang Tan
2ffb42a055
Fix qunit tests on Travis.
2016-11-30 16:30:58 +08:00
Robin Ward
3765ee84e5
FIX: Syntax error in phantomjs
2016-11-25 14:59:16 -05:00
Robin Ward
3bd5ac8015
Fix Wizard unit tests
2016-11-25 14:29:45 -05:00
Robin Ward
2d3518f475
Enable newer version of Ember
2016-11-25 10:09:58 -05:00
Guo Xiang Tan
ed78b47745
Increase timeout for all qunit tests.
...
* Timeout any test that takes more than 10 seconds.
2016-11-16 18:07:30 +08:00
Robin Ward
0f9e45f283
Allow the loader to understand when files are moved
2016-11-15 11:41:16 -05:00
Robin Ward
7d560ea3d5
More ember-qunit fixes
2016-11-08 14:42:10 -05:00
Robin Ward
6a1c05a268
Upgrade ember-qunit
2016-11-08 14:29:50 -05:00
Sam
1bf0b2a5f4
FEATURE: show timeline component when expanding post progress
...
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Robin Ward
3fac43249c
Javascript file was missing
2016-09-22 09:52:19 -04:00
Robin Ward
bba0fd0654
REFACTOR: PreloadStore to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Robin Ward
f854eebc5f
FIX: Entering a topic at the bottom would cause scroll jumps
2016-05-31 10:51:59 -04:00
Robin Ward
9ea32bf7d8
Deprecation: Change `{{#each x in y}}` to `{{#each y as |x|}}`
2016-05-04 16:18:09 -04:00
Guo Xiang Tan
256d7a00e9
Update sprockets. ( #4167 )
...
* Update sass-rails.
* FIX: Tilt dependency has been removed from Ember::Handlebars::Template.
* Update `DiscourseIIFE` to new Sprockets API.
* `Rails.application.assets` returns `nil` in production.
* Move sprockets-rails out of the assets group.
* Pin ember-rails to 0.18.5 which works with Sprockets 3.x.
* Update sprockets to 3.6.0.
* Make `DiscourseSassCompiler` work with Sprockets 3.
* Use `Sass::Rails::SassImporterGlobbing` instead of haxxing our own.
* Moneky patch so that we don't add dependencies for our custom css.
* FIX: Missing class.
* Upgrade ember-handlebars-template.
* FIX: require path needs to share the same root as the folder's path.
* Bump discourse-qunit-rails.
* Update ember-template-compiler.js to 1.12.2.
* `prepend` is private in Ruby 2.0.0.
2016-04-18 10:47:52 +08:00
Robin Ward
46e4768971
FIX: `highlight.js` is used, but for highlighting text, not code.
2016-02-18 12:19:00 -05:00
Robin Ward
9b60551d4e
Upgrade jQuery
2016-02-11 11:00:41 -05:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Robin Ward
4bbbdd8dc4
SECURITY: Upgrade Ember to fix CVE-2015-7565. Also upgrade Handlebars
2016-01-15 13:57:45 -05:00
Jeff Atwood
e1f90d12f1
formally remove IE9 support
2016-01-02 23:49:52 -08:00
Sam
43d63367fd
PERF: stop loading handlebars and ember compilers in prod
...
(this removes a nice 50K from our initial payload and saves memory)
Also fixes invalid HTML automatically if added to HEAD or /BODY
2015-11-27 11:59:01 +11:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Robin Ward
05849d2afb
FIX: Upgrade Select2 widget - fixes focus on mobile
2015-11-09 13:57:47 -05:00
Robin Ward
bb21902954
Add keyboard shortcuts back to d-editor
2015-11-03 14:01:26 -05:00
Sam
0c5189fa2a
SECURITY: fix possible XSS expanding quotes
2015-09-08 15:25:00 +10:00
Robin Ward
f5cbaf5609
Have menu panels show up on top of the composer, stop composer at header
2015-09-01 17:34:04 -04:00
Sam
16d532e9c8
FIX: stop disabling default in detect swipe library
2015-08-26 10:26:58 +10:00
Robin Ward
c5460b7d3f
FEATURE: Full height hamburger menu
...
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Régis Hanol
e7e96eb8af
fix the run-qunit scripts with backward compatible syntax
2015-08-25 17:37:36 +02:00
Régis Hanol
294669c856
FIX qunit test runner for phantomjs 2.0
2015-08-25 10:42:19 +02:00
Robin Ward
22844b9e46
Ember 1.12 support
2015-08-13 11:14:16 -04:00
Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Sam
e93665b9f7
FEATURE: site setting to allow html tables (which may come from imports)
...
(allow_html_tables , disabled by default)
2015-07-20 16:56:46 +10:00
Robin Ward
7a58d64f37
Upgrade ember qunit, create new interface for testing components
2015-07-14 13:56:59 -04:00
Robin Ward
01d4085125
Removed bad JS tests, upgrade QUnit + ember-qunit
2015-05-13 14:13:37 -04:00
Robin Ward
0d51c1f0a0
FIX: List views in admin were broken
2015-05-11 13:17:12 -04:00
Robin Ward
d9e5302a16
FIX: HTMLBars compilation was broken in production mode
2015-05-11 11:20:46 -04:00