Guo Xiang Tan
8e45322b09
FIX: Only group admins can see group edit page.
2017-03-14 11:45:58 +08:00
Neil Lalonde
6d7e968e30
FEATURE: box-style rendering of sub-categories
2017-03-13 15:25:52 -04:00
Régis Hanol
dd60cb82c3
UX: add client-side rate limit on click counters
2017-03-13 11:31:37 +01:00
Guo Xiang Tan
b419a5765e
FEATURE: Add seen/unseen filters to advanced search UI.
...
https://meta.discourse.org/t/advanced-search-posts-that-i-have-seen/57966
2017-03-09 10:46:06 +08:00
Robin Ward
c310a32ac1
FIX: Broken tests. :(
2017-03-07 12:36:31 -05:00
Guo Xiang Tan
2a35abf757
Fix the build.
2017-03-02 12:36:15 +08: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
Régis Hanol
b20b568039
FIX: allow for empty translated strings
2017-03-01 11:30:44 +01:00
Régis Hanol
3f5d8b8000
make eslint happy
2017-02-28 10:33:16 +01:00
Régis Hanol
5738253998
FIX: locale fallback with pluralized strings
2017-02-28 10:02:29 +01:00
Guo Xiang Tan
ac37bd3dbc
FIX: Search menu results does not refresh when search context is changed.
2017-02-27 12:23:41 +08:00
Régis Hanol
a2c04be718
FIX: eradicate I18n fallback issues 💣
...
FIX: client's translation overrides were not working when the current locale was missing a key
FIX: ExtraLocalesController.show was not properly handling multiple translations
FIX: JsLocaleHelper#output_locale was not properly handling multiple translations
FIX: ExtraLocalesController.show's spec which was randomly failing
FIX: JsLocaleHelper#output_locale was muting cached translations hashes
REFACTOR: move 'enableVerboseLocalization' to the 'localization' initializer
REFACTOR: remove unused I18n.js methods (getFallbacks, localize, parseDate, toTime, strftime, toCurrency, toPercentage)
REFACTOR: remove all I18n.pluralizationRules and instead use MessageFormat's pluralization rules
TEST: add tests for localization initializer
TEST: add tests for I18n.js
2017-02-24 11:31:21 +01:00
Neil Lalonde
a702330ccd
FEATURE: make show_subcategory_list a per-category setting
2017-02-22 11:42:36 -05:00
Neil Lalonde
1dda998a4e
FEATURE: search should default scope to current category or user
2017-02-20 17:02:02 -05:00
Neil Lalonde
a6ebe495bf
FEATURE: links that can't have no onebox can be used as featured topic links
2017-02-17 18:35:19 -05:00
Robin Ward
e089515dab
FIX: Don't try to load avatars in test mode
2017-02-17 16:21:35 -05:00
Robin Ward
c6a0e74945
FIX: Remove errors when running phantomjs
2017-02-17 16:21:35 -05:00
Neil Lalonde
d0fbb27f3e
FEATURE: new invite acceptance page, where username can be chosen and password can be set
2017-02-15 16:51:57 -05:00
Robin Ward
9d4405d602
Don't add an empty class to the list elements in the hamburger
2017-02-13 11:28:10 -05:00
Rimian Perkins
432b08f296
remove personal email from fixtures
...
I'm writing acceptance tests against the user fixture in my plugin. It would be a good idea to use a generic email address as I'd like to respect eviltrout's privacy :)
2017-02-13 11:29:03 +11:00
Neil Lalonde
e077b3f141
FIX: composer should only feature links to external sites
2017-02-08 15:34:54 -05:00
Neil Lalonde
8643620172
automatically redirect when password reset completes successfully
2017-02-06 15:04:58 -05:00
Neil Lalonde
e82240fbd9
autofocus password field on password reset page, and remove static password length message
2017-02-06 12:46:02 -05:00
Neil Lalonde
5613e3b82b
fix travis build. use indexOf instead of includes in js tests.
2017-02-06 11:21:29 -05:00
Neil Lalonde
c4e10f2a9d
FEATURE: redesign the change password page to use javascript and validations
2017-02-03 16:09:24 -05:00
Guo Xiang Tan
0988420b48
Fix broken qunit tests.
2017-02-03 12:09:30 +08:00
Guo Xiang Tan
058df4329d
FIX: Escape escape regexp characters.
2017-01-31 10:39:45 +08:00
Leo McArdle
c76f6856ea
FEATURE: reply as new message to the same recipients
2017-01-27 12:24:31 +08:00
Guo Xiang Tan
156a00af47
UX: Show edit button on post revision modal as long as user can edit.
2017-01-27 10:49:17 +08:00
Guo Xiang Tan
ee396edd9c
Add edit post button to post revision modal for wiki-ed posts.
2017-01-25 14:36:00 +08:00
Guo Xiang Tan
32846aad2a
FIX: Toggling post's wiki status should not create a new version.
2017-01-20 15:42:33 +08:00
Neil Lalonde
222125de10
oops here's the test
2017-01-18 12:13:55 -05:00
Guo Xiang Tan
c76ee788a7
Merge pull request #4656 from tgxworld/dont_display_an_extra_button_for_wiki_post
...
UX: Display wiki icon on post edits indicator.
2017-01-17 06:34:43 +08:00
Guo Xiang Tan
17da0bd11f
UX: Display wiki icon on post edits indicator.
2017-01-17 06:33:58 +08:00
Neil Lalonde
60a9030d25
UX: don't show search and hamburger menus to anon visitors on login-required sites
2017-01-16 16:33:14 -05:00
Guo Xiang Tan
d793a0fbfc
Fix JS tests.
2017-01-06 16:00:29 +08:00
Guo Xiang Tan
389e1d0bd5
Add acceptance JS tests for group membership button.
2017-01-06 11:56:10 +08:00
Robin Ward
7c8095294d
FIX: Raw plugin outlets were broken
2017-01-05 11:38:57 -05:00
Guo Xiang Tan
3aed15c99e
FIX: Group membership button now showing properly.
2017-01-03 14:36:56 +08:00
Guo Xiang Tan
f1beef43a8
Merge pull request #4618 from tgxworld/fix_invalid_emails
...
FIX: Don't allow invalid email to be saved.
2016-12-30 07:11:48 +08:00
Régis Hanol
f71040dc23
Merge pull request #4630 from caugner/feature-preserve-cursor-in-editor-upload
...
FEATURE: Preserve cursor in editor upload
2016-12-29 14:46:10 +01:00
Claas Augner
37386faff2
Fix eslint nits.
2016-12-29 10:05:07 +01:00
Claas Augner
43c1dd82f6
Add cursor tests, fix algorithm and extract method.
2016-12-29 09:54:15 +01:00
Guo Xiang Tan
6d00650972
Fix JS tests.
2016-12-29 13:47:11 +08:00
Guo Xiang Tan
a481bf048f
FIX: Incorrect membership action buttons shown for non logged in users.
2016-12-29 12:51:36 +08:00
Guo Xiang Tan
3c4920d234
FIX: Group admin tabs showing for non logged in users.
2016-12-29 11:52:07 +08:00
Guo Xiang Tan
a5fead3857
UX: Redesign group page to follow user page.
2016-12-22 13:08:59 +08:00
Neil Lalonde
783490f763
FIX: with featured links enabled and uncategorized topic not allowed, allow featued links behaviour before choosing a category
2016-12-21 13:40:05 -05:00
Guo Xiang Tan
13c6191e89
FIX: Don't allow invalid email to be saved.
2016-12-21 17:47:11 +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
0ab52b127b
Fix JS tests.
2016-12-15 16:52:47 +08:00
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
eefd286f71
Fix JS tests.
2016-12-13 16:45:49 +08: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
Robin Ward
765e5e9186
Upgrade to Ember 2.9
2016-12-12 14:44:29 -05:00
Guo Xiang Tan
3089752b13
Make eslint happy.
2016-12-12 22:52:57 +08: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
fb2633366a
FIX: featured link topics shouldn't require the same min post length
2016-12-09 15:46:26 -05:00
Neil Lalonde
a4c4f13901
Remove the topic_featured_link_onebox setting. We will always try to onebox a link and add it to the body if topic_featured_link_enabled is enabled.
2016-12-09 13:28:12 -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
a9acced4ca
FIX: Broken tests after removing attribute
2016-12-08 11:45:27 -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
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01: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
Robin Ward
6aa5722d2b
Remove Ember 1.x specific code
2016-11-25 15:38:45 -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
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
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
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime
2016-11-16 22:15:34 +01:00
Robin Ward
2567fdc402
FIX: Wrong path to loader
2016-11-15 12:41:20 -05:00
Sam
7d531910a4
fix tests
2016-11-15 13:30:03 +11:00
Robin Ward
a9ed15e11a
FIX: Remove more of those pesky View classes
2016-11-11 17:03:15 -05:00
Robin Ward
cc93cd76ef
Replace quote button with a component
2016-11-11 16:00:28 -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
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