Robin Ward
01a8ef590a
Remove more view classes
2016-11-10 16:27:15 -05:00
Robin Ward
d98aa48f0d
Remove some preferences views, add extra tests
2016-11-10 15:54:21 -05:00
Robin Ward
a94f06ff78
Remove the `ScrollTop` Mixin
2016-11-10 15:25:04 -05:00
Robin Ward
0904ad5537
Migrate `createViewWithBodyClass` helper to components
2016-11-10 14:28:04 -05:00
Neil Lalonde
86522a52b7
FEATURE: add censored_pattern setting to censor posts using regex
2016-11-08 16:39:26 -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
Robin Ward
151597bf0f
Update code so Ember 2.3 can have more tests passing
2016-11-08 13:40:35 -05:00
Robin Ward
24ad68e765
Use `this.registry` in `component-test`
2016-11-07 15:12:16 -05:00
Robin Ward
e18ae34493
Don't try injecting into the Resolver. Use options instead.
2016-11-04 10:23:24 -04:00
Robin Ward
a9d7569dda
Replace computed properties for topic query params
2016-11-03 13:09:43 -04:00
cpradio
f59c11b4ab
FIX: Advanced Search to utilize Category Selector so it can distinguish uncategorized from no category selected
2016-10-31 17:27:57 -04:00
David McClure
9bbab6e64e
FIX: Auto-link URLs that are inside parentheses
2016-10-29 18:57:25 -07:00
Robin Ward
a319cfe77a
Final set of backwards compatible fixes for Ember 1.13
2016-10-28 15:51:39 -04:00
Robin Ward
622dc82481
Replace deprecated `render(buffer)` with a custom buffered renderer
2016-10-25 14:00:21 -04:00
Guo Xiang Tan
adfd9733c6
FIX: Advanced search should retain search term.
2016-10-25 11:47:11 +08:00
Guo Xiang Tan
299800f524
Make eslint happy.
2016-10-24 12:21:02 +08:00
Guo Xiang Tan
3eae668e64
Set up pretender inside test file.
2016-10-24 12:17:17 +08:00
Sam
f083994f5a
FIX: exact group match always should be added
2016-10-24 12:43:38 +11:00
Neil Lalonde
761cc688b4
FEATURE: add a setting to allow url schemes other than http(s)
2016-10-21 12:21:31 -04:00
Robin Ward
bf91532260
Fixes some Ember Deprecations for 1.13:
...
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Régis Hanol
35a79a70c3
FIX: uploading custom avatar was always hidden
2016-10-20 19:53:41 +02:00
Régis Hanol
9f7b529495
FIX: properly detect when attachments are allowed
2016-10-19 18:42:24 +02:00
cpradio
ddacda0388
Update based on review comments
...
Found a few javascript errors when visiting the search page with ?expanded=true and no query.
2016-10-17 00:02:58 -04:00
cpradio
1e7c69044c
FIX: Improve removing advanced filters
...
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating
After:
UI updates after half a second
Removing it from the UI, removes it from the search field immediately.
Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)
Return [] when searchTerm is empty
Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)
More refactoring to make this a bit less complex
Update code based on review comments
FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan
ae0db10e2d
Fix full page search tests.
2016-10-13 15:03:58 +08:00
cpradio
ff74bd7e28
FIX: comment out tests for UI elements removed from HTML markup
2016-10-11 17:50:16 -04:00
cpradio
ca4130f30d
FIX: Use @username instead of user:username
2016-10-11 17:41:04 -04:00
cpradio
a7507dad63
Add Acceptance Tests (which found an error)
...
Tests for populating category and tags
Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)
Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Robin Ward
be1d74d207
Split out common functions into `discourse-common` module
2016-09-22 09:52:19 -04:00
Neil Lalonde
48e4f88b08
fix js test
2016-09-16 15:33:51 -04:00
Erick Guan
9ce61b4586
FEATURE: Webhooks.
2016-09-05 18:44:00 +08:00
Régis Hanol
e064e6f7a3
FEATURE: new 'categories_and_latest' endpoint
2016-08-29 22:47:44 +02:00
Régis Hanol
87f6aadb7e
FIX: topic discovery tests
2016-08-24 22:53:43 +02:00
Guo Xiang Tan
90571f0364
FIX: Format selection as multiline code only when selection spans multiple lines.
2016-08-23 15:00:16 +08:00
Guo Xiang Tan
f32d8e2882
FIX: Code fences shortcut did not insert newlines before and after backticks.
2016-08-23 09:51:01 +08:00
Régis Hanol
4d6028ea2d
UX: new 'category_page_style' site setting
2016-08-22 23:01:43 +02:00
Robin Ward
78e8aa823d
UX: Just show "1m" if less than 1m
2016-08-18 12:47:00 -04:00
Régis Hanol
6d1d7b7c8f
UX: new /categories layout
2016-08-17 23:23:16 +02:00
Neil Lalonde
d079f69b7b
FEATURE: add flair to avatars using new settings in the groups admin UI
2016-08-17 15:13:15 -04:00
Robin Ward
4d8584f427
FIX: Support `div dir=` in sanitizer
2016-08-15 11:19:10 -04:00
Robin Ward
b2134aa173
Refactor full page search for style, remove lookups
2016-08-09 14:49:46 -04:00
Robin Ward
d8808aa9ab
Add back acceptance tests for full page search
2016-08-09 14:49:46 -04:00
Robin Ward
3d62e5dd98
SECURITY: XSS issue on Admin users list
2016-08-05 12:01:16 -04:00
Robin Ward
857d54162b
Redirect to Summary when viewing yourself
2016-08-02 13:21:24 -04:00
Robin Ward
9cb8d5d19e
FIX: Whitelist the `big` tag
2016-07-29 16:11:18 -04:00
Robin Ward
efc6408b1d
FIX: Regression with escaping on badge page
2016-07-28 15:57:06 -04:00
Robin Ward
cf5b756b1a
SECURITY: Cross-Site Scripting in Category and Group Settings
2016-07-28 11:57:59 -04:00
Robin Ward
2f8ab8cd30
SECURITY: XSS in "Account Suspended" Messages and Badge Descriptions
2016-07-28 11:38:12 -04:00
Guo Xiang Tan
36ddb1787e
FEATURE: Add toggle topic visibility button in popup menu.
2016-07-28 16:57:04 +08:00
Robin Ward
fbfd3124a0
Whitelist some more tags and add extra tests
2016-07-26 11:02:09 -04:00
Jeff Atwood
1379bd5053
fix all v=2 spec / test errors for emoji
2016-07-25 15:53:48 -07:00
Robin Ward
3200d836f7
FIX: After uploading an image the selection was not in the correct spot
2016-07-25 15:31:21 -04:00
Robin Ward
b9177af1eb
FIX: Protocol-less links that begin with `a` shouldn't error
2016-07-20 13:44:12 -04:00
Robin Ward
7dd4470075
FIX: Allow `div align`
2016-07-20 12:39:12 -04:00
Robin Ward
e7e6840803
FIX: I shouldn't commit while tired :)
2016-07-20 10:42:35 -04:00
Robin Ward
8b314304f2
FIX: We don't sanitize h ids anymore
2016-07-19 17:39:34 -04:00
Robin Ward
ad7e2f15c7
Support linking to anchored headings in the first post
2016-07-19 17:05:45 -04:00
Robin Ward
81500e6f40
FIX: Move details tests into the plugin directory
2016-07-19 16:20:59 -04:00
Robin Ward
8141e1d9bc
FIX: details fixes with extra formatting
2016-07-19 15:14:55 -04:00
Robin Ward
4d65370797
FIX: `<strike>` was no longer whitelisted
2016-07-11 12:57:05 -04:00
Robin Ward
6d7e8bd68b
FIX: Customizations were broken
2016-07-11 12:57:05 -04:00
Robin Ward
a291944835
FIX: Add `kbd` support to the sanitizer
2016-07-11 12:57:05 -04:00
Robin Ward
bba0fd0654
REFACTOR: PreloadStore to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
25d6915cac
Migrate discourse.js to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
7ff5b228cd
REFACTOR: Raw Handlebars ported to ES6
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
Robin Ward
21684c98be
FIX: Don't remove the `id` from the input to `createRecord`
2016-07-06 13:52:30 -04:00
Neil Lalonde
1fd27bdbb3
FIX: js test error "Unhandled request /tag_groups"
2016-07-05 14:59:00 -04:00
Guo Xiang Tan
7e076d63ba
Fix failing tests.
2016-07-05 12:17:29 +08:00
Sam
c665607f72
FIX: not doing non leading word match in emoji autocomplete
2016-07-04 19:16:08 +10:00
Mark Wingerd
e4074f75b1
Stop URLs from being censored ( #4288 )
...
URLs that contained a censored word were being altered by
censored-words.js and ulimately this broke the links. As an example
www.expertsexchange.com would get censored when it would link to a
legitimate website. This URL blocking functionality should be
handled through other settings.
2016-06-29 10:41:54 -04:00
Arpit Jalan
83309752ae
FEATURE: new site setting 'code formatting style'
2016-06-27 01:00:11 +05:30
Guo Xiang Tan
1a6624960d
FIX: Failing test.
2016-06-20 12:50:22 +08:00
Guo Xiang Tan
a891125b92
Add tests from discourse-tagging.
2016-06-20 11:25:05 +08:00
Régis Hanol
a1c875986a
fix spec
2016-06-08 11:48:26 +02:00
Sam
6d10812b26
FEATURE: auto expand incoming/outgoing links
2016-06-08 16:49:01 +10:00
Sam
b2f26eaa60
correct test case and add condition
2016-06-08 14:57:13 +10:00
Robin Ward
67303d7679
REFACTOR: Composer messages to use new ember idioms
2016-06-07 14:47:22 -04:00
Arpit Jalan
c9689d4dad
fix the build
2016-06-02 18:51:43 +05:30
Robin Ward
90330d30f4
FIX: Error in smart short date function
2016-05-31 10:51:47 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget
2016-05-31 10:51:39 -04:00
Robin Ward
751e354ca6
Refactor `topic-progress` into a component
2016-05-31 10:51:39 -04:00
Robin Ward
4a7567b485
UX: Move links from gutter to below posts
2016-05-31 10:51:37 -04:00
Régis Hanol
c4f93846f9
add linebreaks when uploading a file
2016-05-20 11:35:47 +02:00
Jeff Atwood
80082f0e2b
UX: hide flag behind ellipsis by default
2016-05-18 16:50:43 -07:00
Robin Ward
47720ba1ca
UX: Clicking a participant in the topic map should just show the card
2016-05-11 15:09:36 -04:00
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates
2016-05-05 12:49:12 -04:00
Régis Hanol
ad15049ef0
FIX: don't track clicks on links in quotes
2016-05-03 18:47:01 +02:00
Arpit Jalan
706ea28ef9
FIX: prepend 'continue discussion' link to topic template
2016-05-03 15:01:02 +05:30
cpradio
b7b5caa50e
FEATURE: Apply external window setting to Revision History ( #4207 )
2016-05-02 14:48:34 -04:00
cpradio
5c583ff5bb
FEATURE: Extend clicking tracking to the user profile page. ( #4203 )
...
* Extend clicking tracking to the user profile page.
Added qunit tests
Fixed click-track-test so it uses the correct data attribute for topic_id in its fixture
* Added a second excerpt to verify test pulls from the appropriate one.
2016-05-02 11:43:58 -04:00
Robin Ward
1a3b63e07d
`createWithMixins` is deprecated.
2016-04-29 16:50:52 -04:00
Robin Ward
400c061046
`Ember.keys` is deprected in favor of `Object.keys`
2016-04-28 16:37:20 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations.
2016-04-28 16:17:18 -04:00
Robin Ward
2f911d9435
FIX: Broken test, `data-auto-route` is no longer needed
2016-04-27 14:03:45 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets
2016-04-25 10:48:04 -04:00
Régis Hanol
4960b62110
FEATURE: new 'block_auto_generated_emails' site setting
2016-04-20 21:29:27 +02: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
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
Robin Ward
b49e9fb174
FIX: Load order of `TopicTrackingState` was off
2015-09-21 14:15:25 -04:00
Sam
f74c21d2e7
FIX: tracking of new/unread/latest in category/subcategory was broken
2015-09-21 10:36:20 +10:00
Robin Ward
975edceff4
Add semi colon linting to Javascript
2015-09-15 17:08:50 -04:00
Neil Lalonde
721b282d3c
Merge pull request #3701 from xfalcox/patch-1
...
Fix same domains links on subfolder installs
2015-09-15 11:49:09 -04:00
Rafael dos Santos Silva
230bc8bb6e
Add tests to isInternal on subfolder installs
2015-09-14 18:39:54 -03:00
Régis Hanol
0c58f08207
FIX: profile picture selector
2015-09-11 15:10:56 +02:00
Kane York
aca70805f1
FIX: Discourse.BaseUri should not default to /
2015-09-10 17:34:08 -07:00
Robin Ward
b34b3293a3
FIX: Broken test
2015-09-09 17:00:07 -04:00
Robin Ward
3ceadbd5b8
FIX: Allow qunit tests to run in browser by stubbing new functionality
2015-09-09 16:20:36 -04:00
Robin Ward
1c90f77d09
Merge pull request #3715 from gwwar/quote_newline_code
...
workaround for code block being parsed before quote block.
2015-09-08 16:52:46 -04:00
Sam
e06d407153
Merge pull request #3718 from tgxworld/allow_emojis_to_be_copy_and_pasted
...
FIX: Allow user to quote Emojis.
2015-09-07 08:48:34 +10:00
Robin Ward
8e776d0fd7
Move `TopicTrackingState` to injected object
2015-09-04 13:00:24 -04:00
Robin Ward
286738c712
FIX: Include dummy capabilities object in component tests
2015-09-02 16:18:14 -04:00
Robin Ward
c36fdccab2
Add `d-link` component to simplify menu markup
2015-09-01 16:14:34 -04:00
Robin Ward
bf2c18fddb
Migrate `KeyValueStore` to ES6 modules
2015-09-01 14:45:24 -04:00
kerryliu
cb9c603b6b
workaround for code block being parsed before quote block.
2015-09-01 09:13:51 -07:00
Guo Xiang Tan
9909c715dc
FIX: Emoji can't be copy and pasted.
2015-09-01 15:45:46 +08:00
Robin Ward
ddf0db0338
Refactor notifications `localStorage` cache into adapter pattern.
...
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.
It also returns a `refresh()` method to freshen up the stale data.
To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Guo Xiang Tan
d3fea106fc
FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny.
2015-08-31 00:14:57 +08:00
Guo Xiang Tan
50ce95b37d
FIX: Post age time not being translated correctly.
2015-08-31 00:11:52 +08:00
Sam
6fc2300279
fix test
2015-08-30 09:54:13 +10:00
Jeff Atwood
5336677be7
missed a few spots where close-panel was used
2015-08-29 04:04:04 -07:00
Robin Ward
3ae5a0a2df
UX: Merge notifications and user dropdown
2015-08-28 16:11:40 -04:00
Robin Ward
d4b987ff32
Migrate search drop down to `menu-panel` component.
2015-08-28 15:44:24 -04:00
Robin Ward
42e510753d
Support for Acceptance tests in plugins
2015-08-27 17:07:11 -04:00
Régis Hanol
fd3dd3bdeb
Merge pull request #3691 from tgxworld/toggle_edits
...
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
kerryliu
5bd1d52de2
FIX: emoji unescape
2015-08-26 21:37:57 -07:00
Robin Ward
5457684975
Split `hamburger-menu` out into `menu-panel`
2015-08-26 16:29:10 -04:00
Robin Ward
e66f111348
UX: Use dropdown for hamburger on wide screens, full height on smaller
2015-08-26 14:43:08 -04:00
Robin Ward
9760369e4c
Clean up clicking outside the hamburger, add test
2015-08-26 14:43:08 -04:00
Robin Ward
b5b099d372
FIX: Remove broken test, add descriptions
2015-08-25 17:34:26 -04: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
294669c856
FIX qunit test runner for phantomjs 2.0
2015-08-25 10:42:19 +02:00
Guo Xiang Tan
f98eddb675
FIX: Dirty edit can toggle to another edit.
2015-08-24 22:55:56 +08:00
Régis Hanol
07d6bb8d31
FIX: remove client side maximum filesize check
2015-08-21 12:19:35 +02:00
Sam
5658119a36
Merge pull request #3649 from tgxworld/click_reply_should_clear_edit
...
Click reply should clear edit
2015-08-21 10:36:21 +10:00
Robin Ward
d1c69189f3
FEATURE: Can edit category/host relationships for embedding
2015-08-20 15:56:04 -04:00
Régis Hanol
c002845b1a
Merge pull request #3668 from gwwar/image_and_text_spoiler
...
spoiler tag uses replaceBBCode
2015-08-20 16:28:54 +02:00
kerryliu
ee804f608f
spoiler tag uses replaceBBCode instead of rawBBCode for emoji and text formatting support.
2015-08-19 15:52:06 -07:00
Robin Ward
abd9b26642
Convert Badges / User Badges to ES6.
2015-08-19 12:09:10 -04:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Guo Xiang Tan
5e215a87c2
Add more acceptance tests for composer.
2015-08-14 00:49:13 +08:00
Robin Ward
22844b9e46
Ember 1.12 support
2015-08-13 11:14:16 -04:00
Robin Ward
02a968bd27
Remove ObjectController, Discouse Controllers + Presence
2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Régis Hanol
2f6788342e
fix build
2015-08-12 19:23:41 +02:00
Robin Ward
d37accb5bc
FIX: broken debounce in search terms.
2015-08-10 16:33:24 -04:00
Robin Ward
b7e6eaa961
ES6ify some of the remaining files
2015-08-10 10:21:05 -04:00
Robin Ward
0932e82508
Refactor Customizations to have deeper URLs
2015-08-10 10:21:04 -04:00
Sam
0889f71268
comment out tests till Discourse.ajax is stubbed correctly
2015-08-10 18:25:44 +10:00
Robin Ward
7ef83913b6
FIX: Couldn't select values of 0 in the combo-box
2015-08-05 16:19:44 -04:00
Régis Hanol
b8c8348e5b
FIX: remove bookmark from user stream
2015-08-05 12:40:43 +02:00
Régis Hanol
64dd28d885
FIX: time to first response metric
2015-08-04 18:23:56 +02:00
Robin Ward
aa6f792ce1
FEATURE: Custom orders for user fields
2015-07-30 14:53:13 -04:00
Robin Ward
33b03c1503
FIX: Broken js tests
2015-07-28 17:23:24 -04:00
Neil Lalonde
7518918b8f
FEATURE: add quarterly period to Top page
2015-07-28 12:31:42 -04:00
Robin Ward
dc8a68fd29
FEATURE: New "Dropdown" user field type
2015-07-28 12:30:21 -04:00
Régis Hanol
1eb8f710f1
commented search acceptance tests out
2015-07-27 10:32:02 +02:00
Guo Xiang Tan
3c25ca2f9f
FIX: Encode percent character in search terms.
2015-07-21 10:54:39 +08:00
Robin Ward
f647174c95
Add acceptance test for full page search
2015-07-15 11:17:04 -04:00
Robin Ward
cc2a33617f
Refactor likes/flags to simplify things a lot
2015-07-14 15:50:27 -04:00
Robin Ward
fcfcda099f
Component tests for like button
2015-07-14 14:46:46 -04:00
Robin Ward
7a58d64f37
Upgrade ember qunit, create new interface for testing components
2015-07-14 13:56:59 -04:00
Robin Ward
20a338362f
FIX: Allow multiple pagedown editors at once.
2015-07-13 16:36:38 -04:00
Sam
f533276507
FIX: do not publish all categories when a category changes.
...
minor fixes to UI, still needs more work for live refresh of category listing
2015-07-10 12:09:43 +10:00
Robin Ward
db75774440
UX: Move likes into drop down instead of its own status line
2015-07-03 17:15:20 -04:00
Robin Ward
7676c5dfe7
Can add topic templates to categories, prepopulated on compose
2015-07-03 10:01:46 -04:00
Robin Ward
23daa9d8ce
Refactor and add tests for category editing
2015-07-03 10:01:46 -04:00
Robin Ward
c4b685469e
Merge pull request #3569 from gschlager/i18n
...
FEATURE: Make abbreviated numbers (k, M) localizable
2015-07-01 15:27:17 -04:00
Robin Ward
e026dc16d8
FIX: Broken tests :fired:
2015-06-29 15:38:28 -04:00
Gerhard Schlager
d08693edce
FEATURE: Make abbreviated numbers (k, M) localizable
...
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02:00
Robin Ward
7ed309666b
Refactor search results to be components instead of views for reuse
2015-06-22 15:08:51 -04:00
Régis Hanol
6dfef49392
fix the build...
2015-06-22 19:57:02 +02:00
Robin Ward
00572c4f11
FIX: The time gap would disappear after a post was comitted
2015-06-19 10:32:58 -04:00
Robin Ward
42bd9b6199
FEATURE: Show time gap between posts if more than a few days
2015-06-18 17:06:25 -04:00
Régis Hanol
01a23203c7
FIX: slightly improve emoji support in titles (no need for spaces between emojis)
2015-06-16 10:15:42 +02:00
Régis Hanol
50e705a078
fix the build
2015-06-15 16:02:30 +02:00
Régis Hanol
2d03163be0
FEATURE: add support for emojis in title
2015-06-15 15:27:22 +02:00
Régis Hanol
34a0389ff3
FIX: time read column was empty in user directory
2015-06-12 12:40:07 +02:00
Robin Ward
e54125b5dc
FIX: Endless spinner when anonymous users navigated to 404s
2015-06-10 13:12:37 -04:00
Robin Ward
7b6d6b76eb
FEATURE: Multiple embeddable hosts
...
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00
Sam Saffron
7942b28780
FIX: Emoji aliases not autocompleted
2015-06-01 12:33:42 +10:00
Régis Hanol
e101396ea1
FEATURE: add support for device pixel ratio = 3
2015-05-28 01:48:07 +02:00
Robin Ward
23eadc3fb1
The entire qunit suite runs without any deprecations
2015-05-27 15:07:09 -04:00
Robin Ward
5890dae64c
FIX: Inappropriate error message when you couldn't access a topic
2015-05-27 13:54:11 -04:00
Régis Hanol
85d4d3223c
FIX: crop avatars on the server instead of the client
...
FIX: support for dots in S3 bucket names
2015-05-26 15:54:25 +02:00
Régis Hanol
566b267981
FIX: cropAvatar
2015-05-20 16:45:48 +02:00
Robin Ward
4685d833b5
FIX: Broken acceptance test
2015-05-19 13:00:50 -04:00
Robin Ward
0362c50698
Remove deprecations from edit-category and add skeleton acceptance test
2015-05-15 11:12:41 -04:00
Robin Ward
8e395a94d4
FIX: Modal asking where to post was missing
2015-05-14 18:18:28 -04:00
Robin Ward
d90063fc59
FIX: Error with ace editor and new ember.
...
Fix upgrades ace editor, which was a huge headache due to AMD.
2015-05-13 16:25:33 -04:00
Robin Ward
01d4085125
Removed bad JS tests, upgrade QUnit + ember-qunit
2015-05-13 14:13:37 -04:00
Robin Ward
ea51095ef9
Adds acceptance test for user preferences
2015-05-13 11:15:41 -04:00
Marcus Rückert
9460ed1b60
Plain text files do not need to be executable
...
Found with rpmlint.
2015-05-12 13:21:22 +02:00
Régis Hanol
ff227eabe6
FIX: select posts
2015-05-12 12:54:28 +02:00
Robin Ward
d337da532a
FIX: jsHINT issues with recent broken build
2015-05-11 13:36:28 -04:00
Robin Ward
b6357e4d48
FIX: Return promises from async tests.
2015-05-11 11:30:14 -04:00
Robin Ward
fa69d4cec5
FIX: Missing `colspan` on raw topic list
2015-05-11 11:20:46 -04:00
Robin Ward
0b65c88003
Upgrade Notifications to fix deprecations and use store
2015-05-11 11:20:45 -04:00
Robin Ward
aab9706b7a
Fixes deprecations on user routes
2015-05-11 11:20:45 -04:00
Robin Ward
c6d99bd141
Fixes routing in tests
2015-05-11 11:18:38 -04:00
Robin Ward
ed398e65e0
Fixes issues with composer
2015-05-11 11:18:38 -04:00
Robin Ward
8294205f7c
Ember 1.11 broken WIP
2015-05-11 11:18:37 -04:00
Robin Ward
b3b4fd21ed
Broken WIP
2015-05-11 11:18:37 -04:00
Erick Guan
b772ff6e13
FEATURE: add slug geneartion options
2015-05-05 18:08:30 +08:00
Robin Ward
ecafbb0a63
Can delete users via the moderation queue
2015-04-27 15:06:20 -04:00
Robin Ward
3cb4554bbb
Can refresh queued posts via button
2015-04-27 13:52:54 -04:00
Robin Ward
5bf8c31af4
Users can see their pending posts
2015-04-21 16:44:47 -04:00
Robin Ward
b2ab95f9c2
Fix an issue with the store hydrating embedded objects
2015-04-21 13:15:40 -04:00
Robin Ward
e912b698ac
FIX: Updating the category was not updating the UI
2015-04-16 13:56:27 -04:00
Robin Ward
c216b3affe
FIX: Don't cloak in test mode. Should help with intermittant failures
2015-04-16 11:47:37 -04:00
Régis Hanol
295eebddc3
less noise in JS specs
2015-04-16 10:15:06 +02:00
Robin Ward
08b4b7b7ff
Moderators can edit posts that are queued before they approve/reject
2015-04-15 17:20:34 -04:00
Robin Ward
2303b1dcd0
FIX: Broken Qunit specs
2015-04-15 17:16:44 -04:00
Robin Ward
0c233e4e25
Interface is wired up for Approving/Rejecting posts
2015-04-15 14:54:37 -04:00
Robin Ward
96d2c5069b
Interface for reviewing queued posts
2015-04-15 14:54:37 -04:00
Robin Ward
7f501a0c41
When a post returns `enqueued` don't insert it in the stream and notify
...
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
Robin Ward
76f7786d0d
Support saving posts via Store
2015-04-15 14:54:36 -04:00
Robin Ward
d4a05825da
Convert `Composer` to use Store
...
- Uses store for `PostStream`, `TopicList` too
2015-04-15 14:54:36 -04:00
Robin Ward
a83a19f6ce
ES6 module migrations
2015-04-15 14:54:36 -04:00
Robin Ward
22ffcba8e6
Convert `Discourse.Post` to ES6 and use Store model
...
- Includes acceptance tests for composer (post, edit)
- Supports acceptance testing of bootbox
2015-04-15 14:54:36 -04:00
Ben Hadley-Evans
c3b461f58d
Add blank alt attribute to avatars.
...
This was giving an ugly border to avatars in the user card as the full size version loaded in Firefox.
2015-04-14 14:39:40 +01:00
Robin Ward
ee3442e562
Also rename the `integration` directory to be `acceptance`
2015-04-06 15:47:39 -04:00
Robin Ward
7aa68eaeab
Rename "Integration" tests to "Acceptance" tests.
...
The term "Acceptance" seems to have won out everywhere and I don't want
our codebase to be confusing.
2015-04-06 14:14:00 -04:00
Robin Ward
da9e2792eb
FIX: Bugs with autocomplete
...
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Sam
e11802f5c5
bypass test while @eviltrout helps me to fix it
2015-04-02 17:39:41 +11:00
Régis Hanol
0f4a4651a9
FIX: youtube preview video title link doesn't work
2015-04-01 18:23:27 +02:00
Régis Hanol
b277e71c15
FIX: login-required tests
2015-03-26 12:09:30 +01:00
Sam
512ad4dae3
not sure why this is failing
2015-03-26 17:24:35 +11:00
Régis Hanol
3954f69514
FIX: hoisting issue with regexp replacement patterns
2015-03-23 16:33:41 +01:00
Ben Hadley-Evans
38fbbb28e3
Fix Discourse.Utilities.avatarImg test on Fx.
...
This qUnit test was failing in Firefox 36 with "setting a property that has only a getter" because devicePixelRatio was being changed directly. The fix uses defineProperty to redefine devicePixelRatio instead.
2015-03-20 12:53:56 +00:00
Régis Hanol
11bf7da63c
FIX: profile picture wasn't properly updating
2015-03-19 19:57:07 +01:00
Régis Hanol
5084e2bdf1
Merge pull request #3284 from techAPJ/patch-1
...
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Arpit Jalan
b706307ac7
FEATURE: new site setting min_first_post_length
2015-03-20 00:20:38 +05:30
Robin Ward
7ef306cd3b
A bunch of tweaks to the Users directory
...
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
Régis Hanol
df3b1f6968
FIX: editing a post wasn't showing error messages from the server
2015-03-19 12:25:15 +01:00
Robin Ward
3d2d224312
FEATURE: User Directory, with sorting and time period filter
2015-03-18 15:20:34 -04:00
Régis Hanol
aa41a9ce70
FIX: remove empty lines but keep whitespace on first line in code blocks
2015-03-17 17:27:16 +01:00
Sam
8b4469a3f0
improve tests, ensure stream grows if all posts are loaded on commit
2015-03-16 17:40:49 +11:00
Régis Hanol
424a3b042a
FEATURE: unified UI for pinning/banner topics
...
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
77f9d1e223
Use pretender's passthrough for dynamically loaded scripts
2015-03-13 12:14:22 -04:00
Sam
01fcc7503a
big hacks to get tests to pass
2015-03-13 17:45:55 +11:00
Sam
a82530012a
FEATURE: Allow selection of highlight js languages
...
PERF: stop loading highlight js on load
To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Robin Ward
69851bc6cf
Deprecates global use of `Discourse.MessageBus`
...
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Régis Hanol
9395bbbbea
add test for fix in 9061c26e52
2015-03-12 16:20:14 +01:00
Robin Ward
7c9fb5d3fc
Refactored SiteMap/Header to support more dynamic flag counts
...
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Régis Hanol
70f00e31df
FIX: pre-hoist code blocks & spans
2015-03-09 12:32:37 +01:00
Régis Hanol
9b9bd9c0a1
fix my git foo
2015-03-07 02:36:35 +01:00
Régis Hanol
f95c86ac72
FIX: hoist code blocks content before doing any kind of processing
2015-03-07 02:16:27 +01:00
Robin Ward
7c25efc095
Move identity map into the store, shouldn't have been in the adapter
2015-03-06 13:23:38 -05:00
Robin Ward
ecb553af3f
Add tests for our store
2015-03-06 12:37:24 -05:00
Sam
db7a225df7
correct specs
2015-03-06 14:36:00 +11:00
Régis Hanol
809edd4da3
FIX: user-card tests
2015-03-04 13:02:36 +01:00
Robin Ward
9974a26c47
FEATURE: Can specify a list of `default_avatars` urls.
...
These new avatars will be used by new users until they upload their own
avatars. If left blank, letter avatars are used.
2015-03-03 16:19:29 -05:00
Régis Hanol
8ebab581ad
temporarily disable test
2015-03-02 20:02:20 +01:00
Neil Lalonde
c04b214910
FEATURE: don't allow username and email to be the same
2015-02-27 13:47:43 -05:00
Robin Ward
be9feeb918
Replace `CurrentUserMixin` with an injected `currentUser`
...
This is a lot simpler and removes the need for stubbing singletons
in unit tests.
2015-02-27 10:33:39 -05:00
Neil Lalonde
cf81b3f86d
FEATURE: don't allow username and password to be the same
2015-02-25 12:00:13 -05:00
Robin Ward
9264a7914f
Removed a bunch of `Discourse.Site` globals
2015-02-23 12:36:04 -05:00
Ed Gibbs
c50205725f
FIX: Default sort grantable badges by name
...
Currently has no default sort and was stated as a bug here:
https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
(Post was recently deleted or made private?)
2015-02-15 17:37:11 -08:00
Robin Ward
a519fd5bcf
FIX: Highlighting was not being applied after some rendering.
...
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Robin Ward
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -05:00
Régis Hanol
b809e02c6c
FIX: clicking an attachment link works only once
2015-02-09 17:49:59 +01:00
Robin Ward
a65e0a80ba
Add support for more ES6 features
2015-02-06 13:26:33 -05:00
Régis Hanol
42ab39ce18
fix the build (cc @riking)
2015-02-05 12:57:33 +01:00
Régis Hanol
0a252d7785
FIX: quote whote post should insert at cursor position
2015-02-02 19:08:28 +01:00
Sam
a591c019d4
correct tests
2015-01-29 17:57:34 +11:00
Régis Hanol
b003c2b4f3
let's try category class again
2015-01-27 23:44:47 +01:00
Sam
d52b0a2458
temporarily disable category class on body while debugging issue with missing docking header
2015-01-27 13:43:40 +11:00
Régis Hanol
40da065930
fix the build (:fired:)
2015-01-26 23:49:15 +01:00
Régis Hanol
e6f849f873
FIX: make sure pasting an image in the composer is considered as an image instead of an attachment
2015-01-23 19:17:33 +01:00
Robin Ward
2ea4c1c9de
FIX: Groups post page was broken.
...
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward
03eb4752d1
Add `categories-list` css class to body for customization purposes
2015-01-21 14:34:01 -05:00
Robin Ward
649dfd8d23
Revert "Convert html.js to ES6 module format"
...
This reverts commit 60523d8e02
.
2015-01-20 16:13:42 -05:00
Robin Ward
60523d8e02
Convert html.js to ES6 module format
2015-01-20 16:07:29 -05:00
Robin Ward
350554e198
UX: Change category badge style to use stripes
2015-01-20 14:56:06 -05:00
Robin Ward
1e6dea46dd
FIX: Jump to post was not respecting gaps
2015-01-12 18:10:30 -05:00
Robin Ward
38e4defaee
Support adding items to the site map via plugin outlet.
2015-01-09 16:15:16 -05:00
Jeff Atwood
6953923a03
remove |starred| from topnav default options
2015-01-06 16:03:45 -08:00
Robin Ward
7182767349
Refactor topic title/category saving to support easier changing of
...
attributes via plugins.
2015-01-02 14:25:41 -05:00
Robin Ward
36f53790f4
Added test for markdown bug with linking `[ul]` and `[poll]`
2014-12-31 11:45:23 -05:00
Régis Hanol
386b0a2587
fix the build
2014-12-29 22:36:25 +01:00
Robin Ward
13bf8e1e46
FIX: Markdown bug when a heading preceeded a code block.
2014-12-29 15:59:39 -05:00
Sam
ae16186100
FEATURE: post chunk size should not be configurable
...
If people need to configure post chunk size use a plugin
Core only supports out of the box settings, if changed can lead to
severe performance issues.
2014-12-15 10:57:34 +11:00
Robin Ward
f42a5c1ba3
Convert a lot of Globals to ES6 modules
2014-12-17 09:31:42 -05:00
Robin Ward
331bba4b6d
Correct the last few test failures in the 1.9.0 branch
2014-12-17 09:31:42 -05:00
Robin Ward
1948b41875
Fix resolve errors
2014-12-17 09:31:41 -05:00
Robin Ward
7aaf2fcb65
Fix broken qunit tests in 1.9.0
2014-12-17 09:31:41 -05:00
Robin Ward
2d6b15a34d
Load fewer posts when the android platform is detected
2014-12-12 11:47:39 -05:00
Robin Ward
5fd3f2547c
FIX: Fix rerendering issues on some components.
2014-12-08 14:47:49 -05:00
Robin Ward
e035b07e92
Put Ember 1.8.1 + fixes back.
2014-12-04 08:51:35 -05:00
Sam
8977d5917b
revert
2014-12-04 09:35:11 +11:00
Robin Ward
39fde5b9fb
Upgrade to 1.8.1: So long, metamorphs!
2014-12-03 10:49:18 -05:00
Régis Hanol
a06bf0b7be
fix the build
2014-11-17 15:47:07 +01:00
Marcin Rataj
9dccd975d9
UX: whitelist OpenStreetMap iframes
2014-11-17 14:30:25 +01: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
Sam
d4224a64e8
correct spec
2014-10-22 15:50:04 +11:00
Robin Ward
1cf4a0d604
Rename "User Expansion" to the much clearer "User Card"
2014-10-20 12:11:59 -04:00
Sam
a0f74daf6b
correct dodgy test
2014-10-18 20:16:19 +11:00
Jeff Atwood
92b615b503
reorganize site settings a bit
2014-10-19 23:14:50 -07:00
Dean Taylor
c2614543b1
Correct minor spelling mistakes
...
@sam highlighted I made a spelling mistake in a commit - thought I would throw a few more in.
2014-10-19 23:55:19 +01:00
Robin Ward
0cbdf6f5bb
FIX: Many bugs with admin badges interface
...
* Editing a badge's title would show it as changed in the side even if
you didn't hit save
* Clicking a badge would not scroll to the top
* If there was an error saving a badge there was a missing i18n key
* URLs were using queryParams instead of paths
* User `label` tags for checkboxes for larger click targets
* Saved! text would persist when viewing another badge
* After creating a new badge it would show nothing
* Validation errors were not being properly released to the client
* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Dean Taylor
b023e81078
FIX: Censored word match fail if earlier partial match
...
Previously a list containing `one|two|three|four|twoagain` would fail to censor the word `twoagain` in the text `test1 twoagain test2`.
2014-10-17 03:10:30 +01: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
Robin Ward
27e68518df
FIX: BBCode was trimming leading space in `[code]` blocks
2014-10-10 15:11:30 -04:00
Robin Ward
3b38667274
FIX: Check for word boundaries with censored words.
2014-10-09 16:35:27 -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
f9a8f6d6ce
FEATURE: Support for a `required` setting on user fields.
2014-10-08 15:10:19 -04:00
Robin Ward
11b52d1334
More deprecations to allow us to work on future versions of Ember
2014-10-07 16:04:19 -04:00
riking
ef36a619c3
Update Markdown tests
2014-10-05 17:30:29 -07:00
Robin Ward
9564ecde76
FEATURE: Site setting for words to censor in posts
2014-10-02 13:58:58 -04:00
Robin Ward
edb34c178a
FEATURE: Show user fields when the user is signing up
2014-09-30 10:45:18 -04:00
Sam
8371837b21
Merge pull request #2808 from gschlager/i18n_fix07
...
FIX: Category creation failed when translation was missing
2014-09-29 16:20:02 +10:00
Sam
1d2c7206e6
Merge pull request #2820 from Elberet/fix-url-bbcode
...
FIX: reworked handling URL bbcode tags
2014-09-25 09:36:55 +10:00
Robin Ward
98d21ed21f
Remove deprecated `Ember.Deferred`
2014-09-24 14:17:29 -04:00
Jens Maier
dcd7a149e2
FIX: reworked handling URL bbcode tags
2014-09-24 20:02:02 +02:00
Robin Ward
d1d3e5dd8c
Remove broken `debouncePromise` and clean up some deprecations
2014-09-23 16:16:44 -04:00
Arpit Jalan
b3838c2c1c
Trigger browser password manager after sigining up
2014-09-24 01:04:36 +05:30
Robin Ward
537e6b193d
FIX: Allow proper escaping of bold and italics markdown, even when
...
nested.
2014-09-22 16:52:14 -04:00
Robin Ward
914217f78a
FIX: Allow BBCode images within BBCode links
2014-09-22 14:42:24 -04:00
Jens Maier
9cca64cf69
FIX: BBCode blocks parser no longer mangles JsonML arrays
2014-09-22 03:27:39 +02:00
Gerhard Schlager
a6714e252e
FIX: Category creation failed when translation was missing
2014-09-20 22:06:00 +02:00
Jeff Atwood
5646ebf4c7
fix tests expecting "name said:" to "name:"
2014-09-18 20:39:27 -07:00
Jens Maier
543bc53598
FIX: double-escaped single quotes in URLs
2014-09-18 22:07:42 +02:00
Sam Saffron
33c6a2d341
correct tests
2014-09-18 15:26:45 +10:00
Robin Ward
c16b8364ab
FIX: Support ember app routing to topics with only slugs
2014-09-17 11:18:59 -04:00
Sam
306d31b92e
fix test
2014-09-11 11:15:49 +10:00
Jens Maier
30dbb570e5
FIX: fix dialect block ordering
2014-09-10 13:29:40 +02:00
riking
69bc552054
FEATURE: Actually show more notifications
...
The "Show more notifications..." link in the notifications dropdown now
links to /my/notifications, which is a historical view of all
notifications you have recieved.
Notification history is loaded in blocks of 60 at a time.
Admins can see others' notification history. (This was requested for
'debugging purposes', though that's what impersonation is for, IMO.)
2014-09-09 16:29:08 -07:00
Robin Ward
504d61de94
FIX: Clicking on expanded user actions uses user expansion. Also added
...
integration test.
2014-09-09 15:18:04 -04:00
Robin Ward
2f04b53c9f
FIX: Clicking outside of modal wasn't closing it
2014-09-08 16:53:05 -04:00
Robin Ward
4bec839d9d
Using `Discourse.XYZ` in templates is deprecated. This fixes that, plus
...
adds some more integration tests to make sure login required is working.
2014-09-05 13:09:01 -04:00
Jeff Atwood
fad0394a40
more renaming of trust level settings
2014-09-04 13:32:00 -07:00
Jeff Atwood
fcca64c0cf
rename site settings for trust levels as numbers
2014-09-04 13:16:51 -07:00
Robin Ward
dac4ed5a1e
Prune dead code for search keyboard navigation in search, remove bad
...
tests.
2014-09-03 15:05:22 -04:00
Robin Ward
40b1558f83
Merge pull request #2747 from cpradio/remove-additional-search-code
...
FIX: Remove additional search code related to the up/down navigation
2014-09-03 14:46:09 -04:00
Robin Ward
a71640c15f
Add the integration test for search back using a fixture.
2014-09-03 13:43:26 -04:00
cpradio
44a25271f1
FIX: Remove additional search code related to the up/down navigation
...
Removed additional search code that was related to the up/down navigation and their related tests.
https://meta.discourse.org/t/magic-search-code-for-keyboard-shortcuts/19563
2014-09-03 06:51:52 -04:00
Sam
921dd75dd9
FIX: anonymous had <a> items for pin/unpin
...
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results
UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
Jens Maier
9be5c98c8c
FIX: Markdown parser: empty links and bbcode parsed as link refs
2014-08-31 02:55:43 +02:00
Arpit Jalan
289d9e4fe1
FIX: use short date format for topic summary
2014-08-30 12:07:43 +05:30
cpradio
2e200ffbf0
Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics
...
Conflicts:
config/locales/client.en.yml
2014-08-29 20:05:59 -04:00
cpradio
875b39fb5f
Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics
2014-08-29 19:56:39 -04:00
cpradio
8a8552019a
Fixed qunit test assertion
2014-08-29 18:03:27 -04:00
cpradio
80cb8f3a96
Fixed qunit test assertion
2014-08-29 17:54:50 -04:00
Neil Lalonde
1291e94c78
Merge pull request #2715 from cpradio/master
...
UX: Add focus to menu only if it comes from a keyboard shortcut and improve keyboard functionality for search
2014-08-29 17:04:52 -04:00
cpradio
096bc0c0ae
Merge branch 'keyboard-binding-new-topics-banner' into dismiss-keyboard-bindings
...
Conflicts:
app/assets/javascripts/discourse/lib/keyboard_shortcuts.js
2014-08-29 09:36:34 -04:00
cpradio
723798cc30
Correct Perform Search Test
2014-08-28 23:32:56 -04:00
cpradio
185769c07b
Correct Perform Search Test
2014-08-28 23:21:43 -04:00
Robin Ward
69cb5bc425
FIX: Centralize Top rendering, remove old code paths. Fix some bugs.
2014-08-28 14:34:31 -04:00
Sam
53e60030bc
FIX: broken tests
2014-08-27 14:47:23 +10:00