Commit Graph

311 Commits

Author SHA1 Message Date
Guo Xiang Tan
50aa9ba396 Fix JS tests. 2016-12-15 14:17:15 +08:00
Guo Xiang Tan
4b940dc8bd FEATURE: Add groups page. 2016-12-14 17:27:47 +08:00
Neil Lalonde
1f0793ac50 Improvements to automatic topic title based on pasted link 2016-12-13 13:11:52 -05:00
Guo Xiang Tan
43ee9f884e FEATURE: Add Group#full_name. 2016-12-13 16:16:26 +08:00
Guo Xiang Tan
7bfabb029b UX: Move editing group from into an individual tab. 2016-12-13 15:15:20 +08:00
Robin Ward
600541c623 REVERT: Ember 2.10 -- it's not building properly 2016-12-12 16:19:05 -05:00
Arpit Jalan
ec5615033d Add acceptance test for escaping search term 2016-12-13 01:55:39 +05:30
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
Guo Xiang Tan
da7009a968 FEATURE: Add request membership button for allowed groups. 2016-12-12 22:48:08 +08:00
Guo Xiang Tan
beb8245d04 Correct tests. 2016-12-12 17:32:16 +08:00
Guo Xiang Tan
05f55dbc10 FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
Guo Xiang Tan
be5b5f6bea FEATURE: Public groups. 2016-12-12 17:00:30 +08: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
Guo Xiang Tan
545dfa7191 FEATURE: Allow group owners to edit title. 2016-12-07 10:26:28 +08:00
Guo Xiang Tan
8c7a0b7684 UX: Display group title if it exists. 2016-12-07 10:20:13 +08:00
Guo Xiang Tan
adb7fcb6b3 FEATURE: Add bio to group page. 2016-12-05 16:58:04 +08:00
Guo Xiang Tan
e0c28d6fd5 REFACTOR: Stop mixing users page and groups page CSS. 2016-12-05 14:27:47 +08:00
Guo Xiang Tan
31acd311e5 FEATURE: Allow group owners to edit group name and avatar flair. 2016-12-05 14:27:46 +08:00
Guo Xiang Tan
0d4f71e90b FIX: Display group avatar flair on user page. 2016-11-29 13:47:45 +08:00
Sam
0631a84ca0 Merge pull request #4576 from cpradio/min-posts-search
FEATURE: Add min_post_count search filter
2016-11-29 10:19:33 +11:00
cpradio
66ca6d622e FEATURE: Add min_post_count search filter 2016-11-28 11:43:12 -05:00
Guo Xiang Tan
5794f1619d PERF: Fix N+1 queries when loading groups. 2016-11-26 02:20:26 +08:00
Robin Ward
ae4fd06444 Add acceptance tests for custom-html 2016-11-23 13:02:22 -05:00
Robin Ward
b07a2baedc FIX: Clear the outlet cache before and after tests 2016-11-22 14:50:03 -05:00
Robin Ward
217007ff54 Add acceptance tests for plugin outlets 2016-11-22 14:03:01 -05:00
Robin Ward
a9ed15e11a FIX: Remove more of those pesky View classes 2016-11-11 17:03:15 -05:00
Robin Ward
93403b0af6 Replace the share popup with a component 2016-11-11 14:13:19 -05:00
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
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
Guo Xiang Tan
adfd9733c6 FIX: Advanced search should retain search term. 2016-10-25 11:47:11 +08: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
Régis Hanol
87f6aadb7e FIX: topic discovery tests 2016-08-24 22:53:43 +02:00
Régis Hanol
4d6028ea2d UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02: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
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
7ff5b228cd REFACTOR: Raw Handlebars ported to ES6 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
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
Arpit Jalan
c9689d4dad fix the build 2016-06-02 18:51:43 +05:30
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates 2016-05-05 12:49:12 -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
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
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
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
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
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
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
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
Sam
6fc2300279 fix test 2015-08-30 09:54:13 +10: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
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
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
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
Guo Xiang Tan
5e215a87c2 Add more acceptance tests for composer. 2015-08-14 00:49:13 +08:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Robin Ward
d37accb5bc FIX: broken debounce in search terms. 2015-08-10 16:33:24 -04:00
Sam
0889f71268 comment out tests till Discourse.ajax is stubbed correctly 2015-08-10 18:25:44 +10:00
Régis Hanol
1eb8f710f1 commented search acceptance tests out 2015-07-27 10:32:02 +02:00
Robin Ward
f647174c95 Add acceptance test for full page search 2015-07-15 11:17:04 -04:00
Robin Ward
20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -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
7ed309666b Refactor search results to be components instead of views for reuse 2015-06-22 15:08:51 -04: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
5890dae64c FIX: Inappropriate error message when you couldn't access a topic 2015-05-27 13:54:11 -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
ea51095ef9 Adds acceptance test for user preferences 2015-05-13 11:15:41 -04:00
Robin Ward
ecafbb0a63 Can delete users via the moderation queue 2015-04-27 15:06:20 -04:00
Robin Ward
5bf8c31af4 Users can see their pending posts 2015-04-21 16:44:47 -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
Robin Ward
08b4b7b7ff Moderators can edit posts that are queued before they approve/reject 2015-04-15 17:20:34 -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
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
Robin Ward
ee3442e562 Also rename the integration directory to be acceptance 2015-04-06 15:47:39 -04:00