Commit Graph

53 Commits

Author SHA1 Message Date
3d0b310368 DEV: Fix some more deprecated Discourse.User and Discourse.Site 2019-11-13 15:34:30 -05:00
90f934a660 REFACTOR: Use a module for Ember.isEmpty 2019-11-01 13:50:15 -04:00
8d34f4bbd9 Revert "Revert Ember.run refactors"
This reverts commit fcb1ca52f96bdff1a49d558a4ffb18107d8334de.
2019-10-30 09:48:24 -04:00
fcb1ca52f9 Revert Ember.run refactors
This reverts commit 5ca60fcb6b592524086f98279d3e4fd949598343.
2019-10-29 17:10:47 -04:00
5ca60fcb6b REFACTOR: Use imports for Ember.run 2019-10-29 15:31:56 -04:00
035e63c81f FIX: Allow the clear callbacks to execute in acceptance tests 2019-06-14 13:29:13 -04:00
a8793d0d9a REFACTOR: Test Memory Usage Fixes (#7769)
* Calling `Discourse.reset()` creates a new container
We should run our de-initializers only after acceptance tests,
since initializers are not run outside of acceptance tests anyway,
and the container at this point can be passed properly to the
`teardown()` method.

* Remove `Discourse.reset` from tests
This would cause a new container to be created which leaks many objects.

* `updateCurrentUser` is more accurate than `replaceCurrentUser`
2019-06-14 14:54:20 +02:00
19ca2d4772 DEV: reset widget clean callback between tests (#7761) 2019-06-12 17:49:02 +02:00
dc15486f0a Revert "DEV: resets csrf ajax prefilter only if present (#7747)"
This reverts commit 6612218a4eee1496c4aefe6d5ff7b18157fd2881.
2019-06-11 13:34:25 +02:00
6612218a4e DEV: resets csrf ajax prefilter only if present (#7747) 2019-06-11 12:50:20 +02:00
ebf77f74b7 Revert "DEV: prevents csrf token to leak state between tests (#7746)"
This reverts commit b29d63a52d4e1ae5e0ab1127c47663dc79e953a9.
2019-06-11 12:19:49 +02:00
b29d63a52d DEV: prevents csrf token to leak state between tests (#7746) 2019-06-11 11:54:23 +02:00
4deb0f6d59 DEV: prevents post-cooked decorators to leak between tests (#7744) 2019-06-11 10:02:10 +02:00
c80ab08e48 DEV: Fix pretenders leaking across acceptance test. 2019-05-28 10:41:22 +08:00
a1e77aa2ed FEATURE: Reimplement SiteSetting.max_oneboxes_per_post. (#6668)
Previously, the site setting was only effective on the client side of
things. Once the site setting was been reached, all oneboxes are not
rendered. This commit changes it such that the site setting is respected
both on the client and server side. The first N oneboxes are rendered and
once the limit has been reached, subsequent oneboxes will not be
rendered.
2018-11-27 16:00:31 +08:00
03a7d532cf DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
Sam
70179290f3 clean up callbacks during acceptance tests 2018-05-24 15:28:54 +10:00
4319273cf5 UX: Split up group form into smaller sections. 2018-04-09 15:14:50 +08:00
243ee565dc Reset widget decorators after each test 2018-03-12 14:22:50 +01:00
87c334c063 Fix randomly failing JS acceptance tests. 2017-12-20 11:04:47 +08:00
1b4483c942 FEATURE: Added 'select +below' and 'select +all replies' options to selecting posts 2017-12-13 22:12:06 +01:00
c107e99138 clear localStorage after each test 2017-11-02 23:39:24 +01:00
0a69f2bc77 REFACTOR: Remove many Discourse.Category.list() calls 2017-11-01 15:25:35 -04:00
4f9ba874a9 API so that you don't have to use a global variable for pretender 2017-09-13 11:55:58 -04:00
754c1e5438 Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
cc525b1a8d Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
867cefc492 Ember.K was deprecated, so let's remove it. 2017-06-13 15:59:48 -04:00
6b976433c9 Support for both /users/ and /u/ paths 2017-03-30 10:23:24 -04:00
e03d5e2140 Reapply Ember 2.10 for good this time!
This reverts commit ddd299f4aaf25353cc2f47829d213623a3cf7590.
2016-12-19 11:19:10 -05:00
ddd299f4aa Revert "Revert "Revert Ember 2.10+ for a short while""
This reverts commit 76bbc481cb5bb3e3b35ece5aa5e1275d3d34e4a0.
2016-12-16 10:29:30 -05:00
76bbc481cb Revert "Revert Ember 2.10+ for a short while"
This reverts commit 21682fd60b92414348a0e4aecdab1bc5278e14e6.
2016-12-16 09:52:29 -05:00
21682fd60b Revert Ember 2.10+ for a short while 2016-12-15 16:43:38 -05:00
28699e66d8 Revert "REVERT: Ember 2.10 -- it's not building properly"
This reverts commit 600541c6238a5b371992ad363859d5d9c75ad004.
2016-12-15 10:28:15 -05:00
600541c623 REVERT: Ember 2.10 -- it's not building properly 2016-12-12 16:19:05 -05:00
9a7998a930 Various fixes for Ember 2.10 2016-12-12 14:44:29 -05:00
2efe4900cf Plugin Outlets need their arguments to be explicit 2016-12-12 14:44:29 -05:00
ae4fd06444 Add acceptance tests for custom-html 2016-11-23 13:02:22 -05:00
91c21dad28 Reset plugins before tests too 2016-11-23 10:41:21 -05:00
9afa55a3fd FIX: Random failing plugin tests 2016-11-22 15:36:18 -05:00
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
a546395397 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
0fcfc6bed9 Add acceptance tests for all mobile templates 2016-05-05 12:49:12 -04:00
514c3976f0 PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
8e776d0fd7 Move TopicTrackingState to injected object 2015-09-04 13:00:24 -04:00
c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
ed398e65e0 Fixes issues with composer 2015-05-11 11:18:38 -04:00
8294205f7c Ember 1.11 broken WIP 2015-05-11 11:18:37 -04:00
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