Commit Graph

212 Commits

Author SHA1 Message Date
Joffrey JAFFEUX 562e48dfb7 adds a dsl to simplify testing of the select-box 2017-09-14 19:50:32 +02:00
Robin Ward 4f9ba874a9 API so that you don't have to use a global variable for pretender 2017-09-13 11:55:58 -04:00
Joffrey JAFFEUX e924920bec uses select-box for pinned-button
This commit also moves more logic in dropdown-select-box instead of
duplicating it for notifications-options and pinned-options
2017-09-11 19:14:22 +02:00
Joffrey JAFFEUX 1ea5205022 FIX: tests helper do not use es6 2017-08-29 16:16:51 +02:00
Joffrey JAFFEUX 1bcfa87d18 FIX: select-box broken spec
Introduces a test helper for selectBox to simplify these cases.
2017-08-29 15:51:25 +02:00
Neil Lalonde 2c56f8df7c FEATURE: show tags in search results 2017-08-25 11:52:59 -04:00
Neil Lalonde ec85b41078 UX: Move watched words to the Logs section of admin 2017-07-31 17:06:50 -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
Robin Ward 754c1e5438 Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
Robin Ward cc525b1a8d Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
Robin Ward 867cefc492 Ember.K was deprecated, so let's remove it. 2017-06-13 15:59:48 -04:00
Neil Lalonde 019f954c44 fix js test failure 2017-05-18 13:36:45 -04:00
Neil Lalonde dbb814ec6a FIX: allow pasting links into title field that are longer than the max title length 2017-05-18 12:32:47 -04:00
Robin Ward 40ab2e5667 FEATURE: Let users update their emails before confirming
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
Robin Ward 45a257815a Convert front end paths from `/users/` to `/u/` 2017-03-30 10:23:24 -04:00
Robin Ward 6b976433c9 Support for both `/users/` and `/u/` paths 2017-03-30 10:23:24 -04:00
Neil Lalonde 262016604d FEATURE: each category can control how many topics to show on categories page 2017-03-01 15:12:57 -05:00
Neil Lalonde a702330ccd FEATURE: make show_subcategory_list a per-category setting 2017-02-22 11:42:36 -05:00
Neil Lalonde e077b3f141 FIX: composer should only feature links to external sites 2017-02-08 15:34:54 -05:00
Neil Lalonde c4e10f2a9d FEATURE: redesign the change password page to use javascript and validations 2017-02-03 16:09:24 -05:00
Leo McArdle c76f6856ea FEATURE: reply as new message to the same recipients 2017-01-27 12:24:31 +08:00
Robin Ward e03d5e2140 Reapply Ember 2.10 for good this time!
This reverts commit ddd299f4aa.
2016-12-19 11:19:10 -05:00
Guo Xiang Tan 51679ef6b2 Fix JS tests. 2016-12-17 00:51:40 +08: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
Guo Xiang Tan 4b940dc8bd FEATURE: Add groups page. 2016-12-14 17:27:47 +08: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
Robin Ward 2efe4900cf Plugin Outlets need their arguments to be explicit 2016-12-12 14:44:29 -05:00
Neil Lalonde fbd8e6ed4a FEATURE: pasting a link into the title of the composer can automatically onebox it and update the title 2016-12-08 16:09:46 -05:00
Robin Ward ae4fd06444 Add acceptance tests for `custom-html` 2016-11-23 13:02:22 -05:00
Robin Ward 91c21dad28 Reset plugins before tests too 2016-11-23 10:41:21 -05:00
Robin Ward 9afa55a3fd FIX: Random failing plugin tests 2016-11-22 15:36:18 -05:00
Robin Ward 217007ff54 Add acceptance tests for plugin outlets 2016-11-22 14:03:01 -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
Robin Ward 7d560ea3d5 More ember-qunit fixes 2016-11-08 14:42:10 -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 a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04: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
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
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
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 cf5b756b1a SECURITY: Cross-Site Scripting in Category and Group Settings 2016-07-28 11:57:59 -04:00
Robin Ward bba0fd0654 REFACTOR: PreloadStore 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
Neil Lalonde 1fd27bdbb3 FIX: js test error "Unhandled request /tag_groups" 2016-07-05 14:59:00 -04:00
Robin Ward 67303d7679 REFACTOR: Composer messages to use new ember idioms 2016-06-07 14:47:22 -04:00
Jeff Atwood 80082f0e2b UX: hide flag behind ellipsis by default 2016-05-18 16:50:43 -07:00
Robin Ward 0fcfc6bed9
Add acceptance tests for all mobile templates 2016-05-05 12:49:12 -04:00
Robin Ward 400c061046
`Ember.keys` is deprected in favor of `Object.keys` 2016-04-28 16:37:20 -04:00
Robin Ward 514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
Robin Ward f6c460c207 Add tests for groups pages, DRY html into a component 2016-04-11 13:17:34 -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
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 f77ec0b610 FIX: broken tests 2016-02-18 12:19:00 -05:00
Robin Ward d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -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
Robin Ward 5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05: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
Robin Ward b49e9fb174 FIX: Load order of `TopicTrackingState` was off 2015-09-21 14:15:25 -04: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 42e510753d Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04: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 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 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
Guo Xiang Tan 5e215a87c2 Add more acceptance tests for composer. 2015-08-14 00:49:13 +08: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
Robin Ward aa6f792ce1 FEATURE: Custom orders for user fields 2015-07-30 14:53:13 -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 23daa9d8ce Refactor and add tests for category editing 2015-07-03 10:01:46 -04:00
Régis Hanol 50e705a078 fix the build 2015-06-15 16:02:30 +02:00
Robin Ward e54125b5dc FIX: Endless spinner when anonymous users navigated to 404s 2015-06-10 13:12:37 -04:00
Robin Ward 5890dae64c FIX: Inappropriate error message when you couldn't access a topic 2015-05-27 13:54:11 -04:00
Robin Ward 4685d833b5 FIX: Broken acceptance test 2015-05-19 13:00:50 -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
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