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
Sam
9e50f36c50
Merge pull request #4137 from cpradio/add-warning-to-flag
...
FEATURE: Add warning input to flag dialog when notifying a user
2016-04-15 16:23:22 +10:00
Régis Hanol
6ee11adf58
FIX: 'Discourse.isInternal' wasn't working with protocol-less URLs
2016-04-11 22:21:39 +02:00
Robin Ward
f6c460c207
Add tests for groups pages, DRY html into a component
2016-04-11 13:17:34 -04:00
Peter Lejeck
9bba68ed74
Allow disabling link tracking with .no-track-link ( #4160 )
2016-04-11 11:39:49 -04:00
Robin Ward
c948d53d91
UX: Use separate input fields for link and description in d-editor
2016-04-08 16:13:42 -04:00
cpradio
67cd08af9b
Add qunit tests
2016-04-03 20:26:42 -04:00
Sam
fe51f84aa7
FEATURE: allow admins to enter badge long descriptions
...
FIX: fallback to description if badge long description is missing
Also moves all badge localization into server.en, this slims the client down
serializers pass down localized names/descriptions/long descriptions
2016-03-28 18:38:57 +11:00
Jeff Atwood
0f11bc0beb
fix tests
2016-03-27 09:58:16 -07:00
Jeff Atwood
b3a028acc0
remove built-in support for bbcode size
2016-03-27 09:29:27 -07:00
Robin Ward
27c793a990
UX: Show badges as cards on the badges index and show page
2016-03-25 15:33:06 -04:00
Robin Ward
e51259ee7b
FIX: Broken test
2016-03-24 13:50:45 -04:00
Robin Ward
db15772ab1
UX: Make user info rendering more consistent
2016-03-24 13:49:35 -04:00
Robin Ward
d1b9a9370a
PERF: Render logo significantly faster
2016-03-21 15:14:31 -04:00
Robin Ward
a9daa33953
Add tests to home-logo
component
2016-03-21 14:16:33 -04:00
Robin Ward
fbf45426e4
Autoload widgets since they are named when created, not by file
2016-03-18 16:31:59 -04:00
Jared Reisinger
973f8a5254
FIX: plugin links.
...
Change from `https://meta.discourse.org/category/extensibility/plugin ` to `https://meta.discourse.org/c/plugin ` so that they actually work! Note that `/category/...` would continue to work (it just redirects to `/c/...`), but since the site itself appears to normalize to `/c/`, it makes sense for the links to follow the same pattern.
2016-03-16 11:42:39 -07:00
Sam Saffron
7be90a885c
FIX: bolding text when selection has a leading space
2016-03-10 22:43:48 +11:00
Sam Saffron
f3efe657fa
FEATURE: Automatically add http:// when adding links without them via composer
2016-03-10 18:25:02 +11:00
Robin Ward
396713718b
FEATURE: Adds ~200 more emoji
...
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Régis Hanol
71911a4c67
fix build
2016-03-04 10:52:23 +01:00
Robin Ward
79cc602bcc
FIX: Broken test :fired:
2016-03-03 11:40:35 -05:00
Neil Lalonde
c1aea91d63
FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes.
2016-03-02 15:43:47 -05:00
Robin Ward
627ef54efe
New PluginAPI for widget settings
2016-02-26 14:26:29 -05:00
Robin Ward
98ab64dc89
FIX: Some re-render functionality in widgets, added more coverage
2016-02-26 14:01:20 -05:00
Robin Ward
6b46092aa2
FIX: Disable cloaking in the test environment
2016-02-24 17:44:01 -05:00
Robin Ward
026bba1876
Merge branch 'master' into vdom
2016-02-22 15:28:07 -05:00
Jeff Atwood
f6b1238d6c
reduce maximum_backups default from 7 to 5
2016-02-22 00:56:26 -08:00
Robin Ward
f6aa1ac37a
Migrate onToolbarCreate
to the DiscourseAPI
2016-02-18 15:23:43 -05:00
Robin Ward
f77ec0b610
FIX: broken tests
2016-02-18 12:19:00 -05:00
Robin Ward
849c99f83d
Remove Discourse.Mobile
constants
2016-02-18 12:19:00 -05:00
Sam
1e131a120c
Merge branch 'master' into vdom
2016-02-17 18:39:11 +11:00
Sam
8981ca41f0
correct acceptance test
2016-02-17 18:38:57 +11:00
Robin Ward
482a65821b
FIX: Latest eslint doesn't recognize TypedArray
2016-02-15 11:12:57 +01:00
Robin Ward
878ced8920
FIX: Latest eslint doesn't recognize TypedArray
2016-02-12 13:31:26 -05:00
Robin Ward
960f9ed132
FIX: Broken test
2016-02-11 16:51:50 -05:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Guo Xiang Tan
c0feea4629
Add tests for category hashtag.
2016-02-04 15:52:40 +08:00
Guo Xiang Tan
4cd07fbb29
Fix broken tests.
2016-02-04 15:24:49 +08:00
Guo Xiang Tan
2c19e7f73d
Fix the build.
2016-01-29 17:52:30 +08:00
Guo Xiang Tan
07b244741c
FIX: the build.
2016-01-21 16:21:54 +08:00
Guo Xiang Tan
bd86e88b05
UX: Remove category hashtag decoration.
2016-01-21 12:27:52 +08:00
Guo Xiang Tan
fa794ef59d
FIX: Deleting characters on category hashtag was not triggering autocomplete.
2016-01-20 17:18:04 +08:00
Guo Xiang Tan
9652c3df4f
FIX: Don't track category-badges links.
2016-01-20 12:48:00 +08:00
Guo Xiang Tan
4a7f560a35
FEATURE: Decorate category hashtag links.
2016-01-19 10:58:15 +08:00
Robin Ward
57c3d65777
Change d-editor
to use _
instead of *
for italics.
2016-01-18 14:54:54 -05:00
Guo Xiang Tan
f519834824
FIX: Don't include child categories when term is black.
2016-01-08 11:26:06 +08:00
Guo Xiang Tan
c947c75de3
FIX: Make eslint happy.
2016-01-05 15:22:29 +08:00
Guo Xiang Tan
0fa9a50378
FIX: Ignore case when comparing category name and search term.
2016-01-05 15:15:04 +08:00
Guo Xiang Tan
d6b5b9436c
UX: Prioritize categories autocomplete with new rules.
2016-01-05 14:59:18 +08:00
Guo Xiang Tan
a549229a0d
Remove unused code.
2016-01-05 09:37:46 +08:00
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Régis Hanol
bebeeffc30
FIX: ico are images too
2015-12-31 11:40:23 +01:00
Robin Ward
fd6bbc69e2
FIX: On chrome, focusing on a recently changed textarea would scroll
2015-12-29 14:59:12 -05:00
Jeff Atwood
e03861da7e
change all emoji image tests to use ?v=1
2015-12-22 14:36:21 -08:00
Robin Ward
67c08e8aae
FIX: Broken tests for slightly_smiling
2015-12-22 16:07:28 -05:00
Sam
33df5372f6
comment out some tests for now
2015-12-20 17:49:35 +11:00
Sam
d20f6e0cb0
fix test and comment out js test for now
2015-12-20 17:34:15 +11:00
Sam Saffron
f97a754b30
Revert "Try adding an ALT tag for avatars"
2015-12-15 19:57:54 +11:00
Sam Saffron
dd6e38133a
correct tests and implemenation
2015-12-15 19:46:00 +11:00
Sam Saffron
b7f6df7d0c
fix specs and tests
2015-12-15 18:18:20 +11:00
Robin Ward
4e80323567
FIX: Remove useless stub tests
2015-12-07 14:27:43 -05:00
Robin Ward
255a5be015
Revert "Cleaner implementation of postsWithPlaceholders
and more tests."
...
This reverts commit 4c0670a109
.
2015-12-04 15:59:46 -05:00
Robin Ward
a51c91ac05
Revert "FIX: Errors with summary views and placeholders"
...
This reverts commit 5be3bf80eb
.
2015-12-04 15:59:39 -05:00
Robin Ward
5be3bf80eb
FIX: Errors with summary views and placeholders
2015-12-04 15:10:13 -05:00
Robin Ward
4c0670a109
Cleaner implementation of postsWithPlaceholders
and more tests.
2015-12-04 15:10:13 -05:00
Robin Ward
40c8d39137
FEATURE: Reply Placeholders in Stream
2015-12-04 10:02:58 -05:00
Robin Ward
949f51ffe0
Remove ajax stubbing from post-stream tests
2015-12-04 10:02:37 -05:00
Robin Ward
2006be41cf
Split up pretender a bit. It was getting unwieldly.
2015-12-01 15:31:15 -05:00
Robin Ward
de88be2fbc
Support for "Only show overridden" in site text customization
2015-11-30 15:25:08 -05:00
Sam
ad3dd161e7
FEATURE: first class group mentions built in
...
If you allow a group to be mentioned it can be mentioned with the @ symbol.
Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Robin Ward
5e93140f85
FEATURE: Can override any translation via an admin interface
2015-11-27 11:35:19 -05:00
Sam
0844350308
correct production mode due to ember loading changes
2015-11-25 13:57:10 +11:00
Robin Ward
49bda0b17d
FIX: Improve windows double clicking on words in editor
2015-11-24 13:42:22 -05:00
Robin Ward
c76caca109
FIX: Perform the same operation on multilines in d-editor
2015-11-24 13:03:37 -05:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7
.
2015-11-21 12:27:06 +11:00
Arpit Jalan
e25ee74209
FIX: handle topic/post creation when the language highlighting is turned off
2015-11-21 02:10:54 +05:30
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273
.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
4aab904ff6
FIX: Test in phantom environment with different selection defaults
2015-11-18 13:35:36 -05:00
Robin Ward
84a50a1260
FIX: Keyboard handling regression
2015-11-18 12:35:17 -05:00
Robin Ward
8dc0fa97d4
Better behavior When inserting a link with no description
2015-11-17 13:26:55 -05:00
Régis Hanol
896c23fadc
fix build
2015-11-12 18:02:13 +01:00
Robin Ward
a7d87d1530
Merge pull request #3891 from cpradio/fix-selected-link-text
...
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 16:24:07 -05:00
cpradio
8f39f25cad
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 15:29:19 -05:00
Sam Saffron
6dd4bc7d57
FEATURE: support group owner, capable of controlling group membership
...
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members
Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward
52579179bd
FIX: Broken tests in phantom, not in browser
2015-11-06 16:44:38 -05:00
Robin Ward
15931fce1e
FIX: Allow us to insert things between words.
2015-11-06 15:40:52 -05:00
Robin Ward
8ba7c06b7d
Merge pull request #3735 from riking/patch-4
...
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -05:00
Robin Ward
47495a5713
FEATURE: Replace composer editor with ember version
2015-11-06 09:49:16 -05:00
Sam Saffron
04856dac10
structure changed ...
2015-11-05 21:21:52 +11:00
Robin Ward
5cd6308850
API for adding buttons to the new composer
2015-11-02 16:18:09 -05:00
Seth Reeser
85da9c6ff8
Digital Ocean should be DigitalOcean https://www.digitalocean.com/legal/terms/
2015-10-30 13:31:48 -04:00
Neil Lalonde
ca98f66f7e
FIX: wrong root path on subfolder installs
2015-10-21 13:13:19 -04:00
Robin Ward
0428bacfa9
SECURITY: A user could XSS themselves on their preference page
2015-10-20 12:09:59 -04:00
Robin Ward
94b60e62a2
FEATURE: New markdown editor re-written in Ember
...
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.
To avoid major breakage, this replaces it everywhere else it was
used:
* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts
A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
James D
44b04e4521
Make @mentions following a slash link to usercards
...
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown
Pinging @bob/@joe
Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
Sam Saffron
85f1cf7d1b
correct test
2015-10-05 16:45:53 +11:00
Sam
bfd08ca649
correct invalid tests
2015-09-28 17:18:46 +10:00
Gerhard Schlager
7d5e2d46c5
FIX: Only enabled badges can be granted
...
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00