Maja Komel
04baddf731
DEV: migrate tests to async/await
2018-07-30 12:21:05 +02:00
Arpit Jalan
fc3b904e1f
remove "track external right clicks" feature
2018-07-29 15:01:33 +05:30
Maja Komel
d16a2c776a
DEV: migrate components tests to async/await
2018-07-24 22:41:14 +02:00
Neil Lalonde
afc94ac9e4
FEATURE: add a Top Categories section to the user summary page, showing the categories in which a user has the most activity
2018-07-18 16:39:16 -04:00
Guo Xiang Tan
258e9e35ca
PERF: Make mega topics work without a stream.
...
There are tradeoffs that we took here. For the complete
story see
https://meta.discourse.org/t/performance-improvements-on-long-topics/30187/27?u=tgxworld .
2018-07-12 12:46:12 +08:00
Maja Komel
ec3e6a81a4
FEATURE: Second factor backup
2018-06-28 10:12:32 +02:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
kleinfreund
4ce1d230c7
Prefer throwing a new Error object instead of just a string expression
2018-06-12 12:56:22 +10:00
Sam
70179290f3
clean up callbacks during acceptance tests
2018-05-24 15:28:54 +10:00
Sam
9e2131ace8
improve erratic test
2018-05-22 13:58:12 +10:00
Sam
54d153068a
DEV: remove qunit rails fork and add a couple of async tests
2018-04-23 16:42:40 +10:00
Guo Xiang Tan
4319273cf5
UX: Split up group form into smaller sections.
2018-04-09 15:14:50 +08:00
Joffrey JAFFEUX
f0fe16d824
FEATURE: implements minimum selection for select-kit
2018-04-05 16:45:19 +02:00
Guo Xiang Tan
e36e9de28a
Allow admin to view logs of automatic groups.
2018-04-05 16:31:55 +08:00
Guo Xiang Tan
52e75eaee9
UX: Tweaks to group pages.
2018-03-29 17:04:48 +08:00
Robin Ward
b9abd7dc9e
FEATURE: Shared Drafts
...
This feature can be enabled by choosing a destination for the
`shared drafts category` site setting.
* Staff members can create shared drafts, choosing a destination
category for the topic when it is published.
* Shared Drafts can be viewed in their category, or above the
topic list for the destination category where it will end up.
* When the shared draft is ready, it can be published to the
appropriate category by clicking a button on the topic view.
* When published, Drafts change their timestamps to the current
time, and any edits to the original post are removed.
2018-03-20 17:15:26 -04:00
Guo Xiang Tan
a35227918f
UX: Display group topics in a topic list.
2018-03-15 11:37:55 +08:00
Gerhard Schlager
243ee565dc
Reset widget decorators after each test
2018-03-12 14:22:50 +01:00
Guo Xiang Tan
14f3594f9f
Review Changes for f4f8a293e7
.
2018-02-21 14:55:49 +08:00
Jeff Wong
f4f8a293e7
FEATURE: Implement 2factor login TOTP
...
implemented review items.
Blocking previous codes - valid 2-factor auth tokens can only be authenticated once/30 seconds.
I played with updating the “last used” any time the token was attempted but that seemed to be overkill, and frustrating as to why a token would fail.
Translatable texts.
Move second factor logic to a helper class.
Move second factor specific controller endpoints to its own controller.
Move serialization logic for 2-factor details in admin user views.
Add a login ember component for de-duplication
Fix up code formatting
Change verbiage of google authenticator
add controller tests:
second factor controller tests
change email tests
change password tests
admin login tests
add qunit tests - password reset, preferences
fix: check for 2factor on change email controller
fix: email controller - only show second factor errors on attempt
fix: check against 'true' to enable second factor.
Add modal for explaining what 2fa with links to Google Authenticator/FreeOTP
add two factor to email signin link
rate limit if second factor token present
add rate limiter test for second factor attempts
2018-02-21 09:04:07 +08:00
OsamaSayegh
f3815cd785
FEATURE: New site setting for additional allowed filetypes for staff ( #5364 )
...
* FEATURE: New site setting for additional allowed filetypes for staff
* Problematic variable name
* feedback
* small issues
* fix indentation
* failing tests
* Remove message bus and fix minor issues
* Missed this message bus
2018-02-19 10:44:24 +01:00
Robin Ward
80ea2e5107
FIX: Enable personal messages in tests
2018-02-02 17:06:02 -05:00
Arpit Jalan
49424fd798
rename private to personal
2018-02-01 13:25:29 +05:30
Joffrey JAFFEUX
3ec2024466
select-kit refactoring
...
* improve events naming/handling
* do not explicitly check for true/Fasle
* make sure header is re-computed on toggle
2018-01-11 09:39:51 +01:00
Joffrey JAFFEUX
315b9d796d
select-kit refactoring
...
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00
Guo Xiang Tan
87c334c063
Fix randomly failing JS acceptance tests.
2017-12-20 11:04:47 +08:00
Arpit Jalan
eab66065d1
FEATURE: search log term details page ( #5445 )
2017-12-20 13:41:31 +11:00
Vinoth Kannan
f0497ee9c4
FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes ( #5425 )
2017-12-15 10:28:20 +05:30
Régis Hanol
1b4483c942
FEATURE: Added 'select +below' and 'select +all replies' options to selecting posts
2017-12-13 22:12:06 +01:00
Robin Ward
74b9828731
FIX: Remove mentions filters from user and groups
...
Additionally return no data if disabled
2017-12-07 16:29:02 -05:00
Arpit Jalan
e3925278e2
FEATURE: support search click through tracking for user, category and tags
...
https://meta.discourse.org/t/search-logs-page/73281/11?u=techapj
This commit adds following features:
- support for tracking click through to user, tag and category
- new filter for search type (header, full page)
This commit also removes "most viewed topic" field from search logs page because we are now tracking multiple click through entities, so topic is not a special entity anymore. This also improves query perf. The query now takes `20.5ms` to runs, as opposed to `655.9ms` previously.
2017-12-01 12:04:55 +05:30
Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Arpit Jalan
3831663fea
FEATURE: search logs page ( #5313 )
2017-11-15 11:13:50 +11:00
Joffrey JAFFEUX
0da529010a
FEATURE: support for multi-combo-box
2017-11-09 10:57:53 -08:00
Gerhard Schlager
c107e99138
clear localStorage after each test
2017-11-02 23:39:24 +01:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list()
calls
2017-11-01 15:25:35 -04:00
Neil Lalonde
7dc3671490
FEATURE: remove obsolete settings ga_tracking_code and ga_domain_name. Use ga_universal_tracking_code and ga_universal_domain_name instead.
2017-11-01 11:41:51 -04:00
Robin Ward
fbd5f1e411
REFACTOR: Rename store:main
to service:store
so we can inject it
2017-10-27 13:59:45 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
5572d1d5f7
Refactor user summary page to use more components
2017-10-13 16:05:40 -04:00
Guo Xiang Tan
a370d7c7fd
FIX: Compatibility between Client and Server routing.
...
mend
2017-09-29 10:34:50 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
daceeb9700
Refactor user suspension modal
2017-09-25 12:25:14 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
5cf50f0034
Adjust flagged posts to use the store
2017-09-25 12:25:14 -04:00
Robin Ward
1af4acbb3d
Add tests to flagged topics
2017-09-25 12:25:14 -04:00
Robin Ward
40eba8cd93
FEATURE: View flags grouped by topic
2017-09-25 12:25:14 -04:00
Régis Hanol
8ed318c4fe
display 'similar to' earlier when composing a post
2017-09-16 01:03:29 +02:00
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
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