Commit Graph

233 Commits

Author SHA1 Message Date
Robin Ward 765e5e9186 Upgrade to Ember 2.9 2016-12-12 14:44:29 -05: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
Erick Guan 52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Robin Ward a9d7569dda Replace computed properties for topic query params 2016-11-03 13:09:43 -04:00
Régis Hanol 6d1d7b7c8f UX: new /categories layout 2016-08-17 23:23:16 +02: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
Robin Ward 21684c98be FIX: Don't remove the `id` from the input to `createRecord` 2016-07-06 13:52:30 -04:00
Robin Ward 559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Arpit Jalan 706ea28ef9 FIX: prepend 'continue discussion' link to topic template 2016-05-03 15:01:02 +05:30
Sam fe51f84aa7 FEATURE: allow admins to enter badge long descriptions
FIX: fallback to description if badge long description is missing

Also moves all badge localization into server.en, this slims the client down

serializers pass down localized names/descriptions/long descriptions
2016-03-28 18:38:57 +11:00
Robin Ward 396713718b FEATURE: Adds ~200 more emoji
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -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 fa794ef59d FIX: Deleting characters on category hashtag was not triggering autocomplete. 2016-01-20 17:18:04 +08: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
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
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 de88be2fbc Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -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
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 47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Sam Saffron 85f1cf7d1b correct test 2015-10-05 16:45:53 +11:00
Sam f74c21d2e7 FIX: tracking of new/unread/latest in category/subcategory was broken 2015-09-21 10:36:20 +10:00
Robin Ward b34b3293a3 FIX: Broken test 2015-09-09 17:00:07 -04:00
Robin Ward 8e776d0fd7 Move `TopicTrackingState` to injected object 2015-09-04 13:00:24 -04:00
Robin Ward bf2c18fddb Migrate `KeyValueStore` to ES6 modules 2015-09-01 14:45:24 -04: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
kerryliu 5bd1d52de2 FIX: emoji unescape 2015-08-26 21:37:57 -07:00
Robin Ward d1c69189f3 FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
Robin Ward abd9b26642 Convert Badges / User Badges to ES6. 2015-08-19 12:09:10 -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
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
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
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 e026dc16d8 FIX: Broken tests :fired: 2015-06-29 15:38:28 -04: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
Robin Ward b6357e4d48 FIX: Return promises from async tests. 2015-05-11 11:30:14 -04:00
Robin Ward 0b65c88003 Upgrade Notifications to fix deprecations and use store 2015-05-11 11:20:45 -04:00
Robin Ward c6d99bd141 Fixes routing in tests 2015-05-11 11:18:38 -04:00
Robin Ward ed398e65e0 Fixes issues with composer 2015-05-11 11:18:38 -04:00
Erick Guan b772ff6e13 FEATURE: add slug geneartion options 2015-05-05 18:08:30 +08:00
Robin Ward 3cb4554bbb Can refresh queued posts via button 2015-04-27 13:52:54 -04:00
Robin Ward b2ab95f9c2 Fix an issue with the store hydrating embedded objects 2015-04-21 13:15:40 -04:00
Robin Ward 0c233e4e25 Interface is wired up for Approving/Rejecting posts 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 d4a05825da Convert `Composer` to use Store
- Uses store for `PostStream`, `TopicList` too
2015-04-15 14:54:36 -04:00
Robin Ward a83a19f6ce ES6 module migrations 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
Régis Hanol 5084e2bdf1 Merge pull request #3284 from techAPJ/patch-1
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Arpit Jalan b706307ac7 FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
Robin Ward 3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Sam 8b4469a3f0 improve tests, ensure stream grows if all posts are loaded on commit 2015-03-16 17:40:49 +11:00
Robin Ward 7c25efc095 Move identity map into the store, shouldn't have been in the adapter 2015-03-06 13:23:38 -05:00
Robin Ward ecb553af3f Add tests for our store 2015-03-06 12:37:24 -05:00
Sam db7a225df7 correct specs 2015-03-06 14:36:00 +11:00
Robin Ward 9974a26c47 FEATURE: Can specify a list of `default_avatars` urls.
These new avatars will be used by new users until they upload their own
avatars. If left blank, letter avatars are used.
2015-03-03 16:19:29 -05:00
Robin Ward a519fd5bcf FIX: Highlighting was not being applied after some rendering.
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Régis Hanol 42ab39ce18 fix the build (cc @riking) 2015-02-05 12:57:33 +01:00
Régis Hanol 0a252d7785 FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01:00
Robin Ward 1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00
Robin Ward f42a5c1ba3 Convert a lot of Globals to ES6 modules 2014-12-17 09:31:42 -05:00
Robin Ward 2d6b15a34d Load fewer posts when the android platform is detected 2014-12-12 11:47:39 -05:00
Robin Ward e035b07e92 Put Ember 1.8.1 + fixes back. 2014-12-04 08:51:35 -05:00
Sam 8977d5917b revert 2014-12-04 09:35:11 +11:00
Robin Ward 39fde5b9fb Upgrade to 1.8.1: So long, metamorphs! 2014-12-03 10:49:18 -05:00
Jeff Atwood 92b615b503 reorganize site settings a bit 2014-10-19 23:14:50 -07:00
Robin Ward d2ac5a9ac6 Rename `/category/xyz` paths to `/c/xyz` -- @SamSaffron did most of the
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Robin Ward 11b52d1334 More deprecations to allow us to work on future versions of Ember 2014-10-07 16:04:19 -04:00
Robin Ward edb34c178a FEATURE: Show user fields when the user is signing up 2014-09-30 10:45:18 -04:00
Sam 306d31b92e fix test 2014-09-11 11:15:49 +10:00
Régis Hanol 5b1785157d TRIVIAL: fix deprecations due to momentjs upgrade 2014-08-20 22:22:58 +02:00
Robin Ward f977843391 ES6: Convert all test files over 2014-08-06 17:51:03 -04:00
Neil Lalonde 443caaa8f7 FIX: don't let admins skip post validations, unless it's faq, tos, or privacy 2014-08-01 14:53:35 -04:00
Robin Ward 6f36d5996d Lots of work on tests 2014-07-30 20:09:45 -04:00
Neil Lalonde e1be478ef4 FIX: admins bypass some post validations. This allows them to edit legal docs even if those docs are longer than max post length, for example. 2014-07-28 16:40:14 -04:00
Sam ec03d135fa FEATURE: allow advanced badge options in admin screen
clean up serializer, allow simplistic preview
2014-07-24 18:28:23 +10:00
Robin Ward 0a0d32efb4 TRIVIAL: Rename `map` to `idMap` because `map` means something for
enumerables.
2014-07-23 11:11:13 -04:00
Peter Le Bek f63e6e6dab Optimize Category find-by-id by using a hash. 2014-07-22 23:49:49 -04:00
Robin Ward d9e5c2317f FIX: If a topic title edit fails, revert to previous title. 2014-07-21 13:39:23 -04:00
riking de3633235b Add JS tests for deleted post hiding (fix the build) 2014-07-17 11:13:42 -07:00