Commit graph

898 commits

Author SHA1 Message Date
Sam
1e131a120c Merge branch 'master' into vdom 2016-02-17 18:39:11 +11:00
Sam
8981ca41f0 correct acceptance test 2016-02-17 18:38:57 +11:00
Robin Ward
482a65821b FIX: Latest eslint doesn't recognize TypedArray 2016-02-15 11:12:57 +01:00
Robin Ward
878ced8920 FIX: Latest eslint doesn't recognize TypedArray 2016-02-12 13:31:26 -05:00
Robin Ward
960f9ed132 FIX: Broken test 2016-02-11 16:51:50 -05: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
Guo Xiang Tan
4cd07fbb29 Fix broken tests. 2016-02-04 15:24:49 +08:00
Guo Xiang Tan
2c19e7f73d Fix the build. 2016-01-29 17:52:30 +08:00
Guo Xiang Tan
07b244741c FIX: the build. 2016-01-21 16:21:54 +08:00
Guo Xiang Tan
bd86e88b05 UX: Remove category hashtag decoration. 2016-01-21 12:27:52 +08:00
Guo Xiang Tan
fa794ef59d FIX: Deleting characters on category hashtag was not triggering autocomplete. 2016-01-20 17:18:04 +08:00
Guo Xiang Tan
9652c3df4f FIX: Don't track category-badges links. 2016-01-20 12:48:00 +08:00
Guo Xiang Tan
4a7f560a35 FEATURE: Decorate category hashtag links. 2016-01-19 10:58:15 +08:00
Robin Ward
57c3d65777 Change d-editor to use _ instead of * for italics. 2016-01-18 14:54:54 -05:00
Guo Xiang Tan
f519834824 FIX: Don't include child categories when term is black. 2016-01-08 11:26:06 +08:00
Guo Xiang Tan
c947c75de3 FIX: Make eslint happy. 2016-01-05 15:22:29 +08:00
Guo Xiang Tan
0fa9a50378 FIX: Ignore case when comparing category name and search term. 2016-01-05 15:15:04 +08:00
Guo Xiang Tan
d6b5b9436c UX: Prioritize categories autocomplete with new rules. 2016-01-05 14:59:18 +08:00
Guo Xiang Tan
a549229a0d Remove unused code. 2016-01-05 09:37:46 +08:00
Guo Xiang Tan
c1dbf5c1c4 FEATURE: Autolinking to category using hashtags. 2016-01-05 00:12:24 +08:00
Régis Hanol
bebeeffc30 FIX: ico are images too 2015-12-31 11:40:23 +01:00
Robin Ward
fd6bbc69e2 FIX: On chrome, focusing on a recently changed textarea would scroll 2015-12-29 14:59:12 -05:00
Jeff Atwood
e03861da7e change all emoji image tests to use ?v=1 2015-12-22 14:36:21 -08:00
Robin Ward
67c08e8aae FIX: Broken tests for slightly_smiling 2015-12-22 16:07:28 -05: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
Sam Saffron
f97a754b30 Revert "Try adding an ALT tag for avatars" 2015-12-15 19:57:54 +11:00
Sam Saffron
dd6e38133a correct tests and implemenation 2015-12-15 19:46:00 +11:00
Sam Saffron
b7f6df7d0c fix specs and tests 2015-12-15 18:18:20 +11:00
Robin Ward
4e80323567 FIX: Remove useless stub tests 2015-12-07 14:27:43 -05:00
Robin Ward
255a5be015 Revert "Cleaner implementation of postsWithPlaceholders and more tests."
This reverts commit 4c0670a109.
2015-12-04 15:59:46 -05:00
Robin Ward
a51c91ac05 Revert "FIX: Errors with summary views and placeholders"
This reverts commit 5be3bf80eb.
2015-12-04 15:59:39 -05:00
Robin Ward
5be3bf80eb FIX: Errors with summary views and placeholders 2015-12-04 15:10:13 -05:00
Robin Ward
4c0670a109 Cleaner implementation of postsWithPlaceholders and more tests. 2015-12-04 15:10:13 -05:00
Robin Ward
40c8d39137 FEATURE: Reply Placeholders in Stream 2015-12-04 10:02:58 -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
Sam
ad3dd161e7 FEATURE: first class group mentions built in
If you allow a group to be mentioned it can be mentioned with the @ symbol.

Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Robin Ward
5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
Sam
0844350308 correct production mode due to ember loading changes 2015-11-25 13:57:10 +11:00
Robin Ward
49bda0b17d FIX: Improve windows double clicking on words in editor 2015-11-24 13:42:22 -05:00
Robin Ward
c76caca109 FIX: Perform the same operation on multilines in d-editor 2015-11-24 13:03:37 -05:00
Sam
5c899c765b Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7.
2015-11-21 12:27:06 +11:00
Arpit Jalan
e25ee74209 FIX: handle topic/post creation when the language highlighting is turned off 2015-11-21 02:10:54 +05:30
Robin Ward
c21457d6a7 Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
This reverts commit c0b277d273.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273 REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821

Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11: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
8dc0fa97d4 Better behavior When inserting a link with no description 2015-11-17 13:26:55 -05:00
Régis Hanol
896c23fadc fix build 2015-11-12 18:02:13 +01:00
Robin Ward
a7d87d1530 Merge pull request #3891 from cpradio/fix-selected-link-text
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 16:24:07 -05:00
cpradio
8f39f25cad FIX: Use selected text in the link if text is already selected, otherwise, put the URL 2015-11-09 15:29:19 -05:00
Sam Saffron
6dd4bc7d57 FEATURE: support group owner, capable of controlling group membership
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members

Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward
52579179bd FIX: Broken tests in phantom, not in browser 2015-11-06 16:44:38 -05:00
Robin Ward
15931fce1e FIX: Allow us to insert things between words. 2015-11-06 15:40:52 -05:00
Robin Ward
8ba7c06b7d Merge pull request #3735 from riking/patch-4
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -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
5cd6308850 API for adding buttons to the new composer 2015-11-02 16:18:09 -05:00
Seth Reeser
85da9c6ff8 Digital Ocean should be DigitalOcean https://www.digitalocean.com/legal/terms/ 2015-10-30 13:31:48 -04:00
Neil Lalonde
ca98f66f7e FIX: wrong root path on subfolder installs 2015-10-21 13:13:19 -04:00
Robin Ward
0428bacfa9 SECURITY: A user could XSS themselves on their preference page 2015-10-20 12:09:59 -04: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
James D
44b04e4521 Make @mentions following a slash link to usercards
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown

Pinging @bob/@joe

Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
Sam Saffron
85f1cf7d1b correct test 2015-10-05 16:45:53 +11:00
Sam
bfd08ca649 correct invalid tests 2015-09-28 17:18:46 +10:00
Gerhard Schlager
7d5e2d46c5 FIX: Only enabled badges can be granted
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00
Robin Ward
b49e9fb174 FIX: Load order of TopicTrackingState was off 2015-09-21 14:15:25 -04:00
Sam
f74c21d2e7 FIX: tracking of new/unread/latest in category/subcategory was broken 2015-09-21 10:36:20 +10:00
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Neil Lalonde
721b282d3c Merge pull request #3701 from xfalcox/patch-1
Fix same domains links on subfolder installs
2015-09-15 11:49:09 -04:00
Rafael dos Santos Silva
230bc8bb6e Add tests to isInternal on subfolder installs 2015-09-14 18:39:54 -03:00
Régis Hanol
0c58f08207 FIX: profile picture selector 2015-09-11 15:10:56 +02:00
Kane York
aca70805f1 FIX: Discourse.BaseUri should not default to / 2015-09-10 17:34:08 -07:00
Robin Ward
b34b3293a3 FIX: Broken test 2015-09-09 17:00:07 -04:00
Robin Ward
3ceadbd5b8 FIX: Allow qunit tests to run in browser by stubbing new functionality 2015-09-09 16:20:36 -04:00
Robin Ward
1c90f77d09 Merge pull request #3715 from gwwar/quote_newline_code
workaround for code block being parsed before quote block.
2015-09-08 16:52:46 -04:00
Sam
e06d407153 Merge pull request #3718 from tgxworld/allow_emojis_to_be_copy_and_pasted
FIX: Allow user to quote Emojis.
2015-09-07 08:48:34 +10: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
c36fdccab2 Add d-link component to simplify menu markup 2015-09-01 16:14:34 -04:00
Robin Ward
bf2c18fddb Migrate KeyValueStore to ES6 modules 2015-09-01 14:45:24 -04:00
kerryliu
cb9c603b6b workaround for code block being parsed before quote block. 2015-09-01 09:13:51 -07:00
Guo Xiang Tan
9909c715dc FIX: Emoji can't be copy and pasted. 2015-09-01 15:45:46 +08:00
Robin Ward
ddf0db0338 Refactor notifications localStorage cache into adapter pattern.
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.

It also returns a `refresh()` method to freshen up the stale data.

To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Guo Xiang Tan
d3fea106fc FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny. 2015-08-31 00:14:57 +08:00
Guo Xiang Tan
50ce95b37d FIX: Post age time not being translated correctly. 2015-08-31 00:11:52 +08:00
Sam
6fc2300279 fix test 2015-08-30 09:54:13 +10:00
Jeff Atwood
5336677be7 missed a few spots where close-panel was used 2015-08-29 04:04:04 -07: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
Robin Ward
42e510753d Support for Acceptance tests in plugins 2015-08-27 17:07:11 -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
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
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
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
Régis Hanol
c002845b1a Merge pull request #3668 from gwwar/image_and_text_spoiler
spoiler tag uses replaceBBCode
2015-08-20 16:28:54 +02:00
kerryliu
ee804f608f spoiler tag uses replaceBBCode instead of rawBBCode for emoji and text formatting support. 2015-08-19 15:52:06 -07:00
Robin Ward
abd9b26642 Convert Badges / User Badges to ES6. 2015-08-19 12:09:10 -04:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Guo Xiang Tan
5e215a87c2 Add more acceptance tests for composer. 2015-08-14 00:49:13 +08:00
Robin Ward
22844b9e46 Ember 1.12 support 2015-08-13 11:14:16 -04: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
Régis Hanol
2f6788342e fix build 2015-08-12 19:23:41 +02:00
Robin Ward
d37accb5bc FIX: broken debounce in search terms. 2015-08-10 16:33:24 -04:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Robin Ward
0932e82508 Refactor Customizations to have deeper URLs 2015-08-10 10:21:04 -04:00
Sam
0889f71268 comment out tests till Discourse.ajax is stubbed correctly 2015-08-10 18:25:44 +10:00
Robin Ward
7ef83913b6 FIX: Couldn't select values of 0 in the combo-box 2015-08-05 16:19:44 -04:00
Régis Hanol
b8c8348e5b FIX: remove bookmark from user stream 2015-08-05 12:40:43 +02:00
Régis Hanol
64dd28d885 FIX: time to first response metric 2015-08-04 18:23:56 +02:00
Robin Ward
aa6f792ce1 FEATURE: Custom orders for user fields 2015-07-30 14:53:13 -04:00
Robin Ward
33b03c1503 FIX: Broken js tests 2015-07-28 17:23:24 -04:00
Neil Lalonde
7518918b8f FEATURE: add quarterly period to Top page 2015-07-28 12:31:42 -04:00
Robin Ward
dc8a68fd29 FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
Régis Hanol
1eb8f710f1 commented search acceptance tests out 2015-07-27 10:32:02 +02:00
Guo Xiang Tan
3c25ca2f9f FIX: Encode percent character in search terms. 2015-07-21 10:54:39 +08:00
Robin Ward
f647174c95 Add acceptance test for full page search 2015-07-15 11:17:04 -04:00
Robin Ward
cc2a33617f Refactor likes/flags to simplify things a lot 2015-07-14 15:50:27 -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
20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
Sam
f533276507 FIX: do not publish all categories when a category changes.
minor fixes to UI, still needs more work for live refresh of category listing
2015-07-10 12:09:43 +10:00
Robin Ward
db75774440 UX: Move likes into drop down instead of its own status line 2015-07-03 17:15:20 -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
c4b685469e Merge pull request #3569 from gschlager/i18n
FEATURE: Make abbreviated numbers (k, M) localizable
2015-07-01 15:27:17 -04:00
Robin Ward
e026dc16d8 FIX: Broken tests :fired: 2015-06-29 15:38:28 -04:00
Gerhard Schlager
d08693edce FEATURE: Make abbreviated numbers (k, M) localizable
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02: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
6dfef49392 fix the build... 2015-06-22 19:57:02 +02:00
Robin Ward
00572c4f11 FIX: The time gap would disappear after a post was comitted 2015-06-19 10:32:58 -04:00
Robin Ward
42bd9b6199 FEATURE: Show time gap between posts if more than a few days 2015-06-18 17:06:25 -04:00
Régis Hanol
01a23203c7 FIX: slightly improve emoji support in titles (no need for spaces between emojis) 2015-06-16 10:15:42 +02:00
Régis Hanol
50e705a078 fix the build 2015-06-15 16:02:30 +02:00
Régis Hanol
2d03163be0 FEATURE: add support for emojis in title 2015-06-15 15:27:22 +02: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
7b6d6b76eb FEATURE: Multiple embeddable hosts
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00