Joffrey JAFFEUX
315b9d796d
select-kit refactoring
...
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00
Joffrey JAFFEUX
c1c31b99ce
Replaces toolbar popup-menu with select-kit
2017-12-13 10:49:32 +01:00
Joffrey JAFFEUX
9208909b26
tweak icon-library generation
2017-11-23 18:24:26 +01:00
Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Kyle Zhao
c1926e6dd2
FIX: do not generate multiple detail blocks when the selected input ( #5290 )
...
consists of multiple lines
2017-11-06 18:03:52 +11:00
Kyle Zhao
133ab03c01
fix 'details' button acceptance test
2017-08-25 08:36:32 -07:00
Jeff Atwood
e8a2aaafeb
add quotes to toolbar details insertion
2017-08-24 17:04:46 -07:00
Robin Ward
5b590b9637
REFACTOR: Replace some `fa-*` uses with helpers
2017-07-27 14:55:41 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Sam
bb1ac09ad7
amend to match latest api changes
2017-07-21 16:16:07 -04:00
Sam
660d5e0a35
fix broken spec
2017-07-18 14:44:49 -04:00
Sam
8921058c67
FIX: medium URL with @ incorrectly handled as mention
...
Also:
- remove unused code
- rename bbcode_ruler to bbcode.ruler
- add md.core.textPostProcess.ruler to apply at end of chain (excluding links)
2017-07-17 17:44:48 -04:00
Sam Saffron
d0c5205a52
Feature: Change markdown engine to markdown it
...
This commit removes the old evilstreak markdownjs engine.
- Adds specs to WhiteLister and changes it to stop using globals
(Fixes large memory leak)
- Fixes edge cases around bbcode handling
- Removes mdtest which is no longer valid (to be replaced with
CommonMark)
- Updates MiniRacer to correct minor unmanaged memory leak
- Fixes plugin specs
2017-07-17 11:41:34 -04:00
Sam
d609f8a53c
Revert "correct more specs"
...
This reverts commit 40bcc6bbdc
.
2017-07-12 18:10:05 -04:00
Sam
40bcc6bbdc
correct more specs
2017-07-12 17:44:40 -04:00
David Taylor
2808e3f63e
Fix for the last broken discourse-details qunit test
2017-07-11 22:43:33 +01:00
David Taylor
c8e9f4bd3a
Fix failing discourse-details plugin qunit tests
2017-07-11 17:25:53 +01:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Sam
c1560d8195
FIX: generate multiline details instead of inline
2017-06-28 11:45:48 -04:00
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
8ae445766f
Upgrade Ember to 2.13
2017-06-15 10:12:07 -04:00
Sam
73ec0c70ae
correct issues with pr
2017-05-24 12:37:27 -04:00
Claas Augner
0a6dd14a4d
discourse-details: Fix German locale prefix
2017-05-24 12:37:27 -04:00
Claas Augner
0fdb30d611
discourse-details: Add German locale
2017-05-24 12:37:27 -04: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
9a7998a930
Various fixes for Ember 2.10
2016-12-12 14:44:29 -05:00
Sawood Alam
49fc54aac6
Add initial Urdu support with RTL direction
2016-12-03 23:17:51 -05:00
Robin Ward
9afa55a3fd
FIX: Random failing plugin tests
2016-11-22 15:36:18 -05:00
Sam
d13cd3471f
Merge pull request #4504 from Dax74/patch-1
...
Create client.it.yml for details plugin
2016-10-21 10:41:37 +11:00
Guo Xiang Tan
d8722e7a87
Merge pull request #4499 from tgxworld/add_options_to_surround_text
...
Add option to apply surround across multilines.
2016-10-17 10:18:25 +08:00
Dax74
0f448074d1
Update client.it.yml
2016-10-16 18:11:21 +02:00
Dax74
423bd718e8
Create client.it.yml
...
Italian translation
2016-10-16 18:09:40 +02:00
Juha Leinonen
ed38937625
Finnish locale
2016-10-15 18:52:41 +03:00
Guo Xiang Tan
6b40f2c42c
Add option to apply surround across multilines.
2016-10-14 14:03:00 +08:00
Guillaume Klein
274a11f244
Add French translations to the details plugin
2016-08-09 08:12:37 +09:00
Robin Ward
16383a1749
FIX: Also support just `open`
2016-07-20 13:30:36 -04:00
Robin Ward
e341596536
FIX: Suppory open `details` elements
2016-07-20 13:26:23 -04:00
Guo Xiang Tan
1b986f2266
Fix the build.
2016-07-20 14:11:10 +08:00
Robin Ward
81500e6f40
FIX: Move details tests into the plugin directory
2016-07-19 16:20:59 -04:00
Régis Hanol
d9d758aeeb
add pretty-text tests for discourse-details plugin
2016-07-11 12:57:05 -04:00
Régis Hanol
a2b9b01d0f
FIX: details plugin wasn't working properly
2016-07-11 12:57:05 -04:00
Robin Ward
b8125b3512
REFACTOR: Remove `Discourse.Ajax`
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
Guo Xiang Tan
a382d5d2d2
FIX: Don't reopen instance of controller.
2016-07-05 12:22:14 +08:00