Commit Graph

602 Commits

Author SHA1 Message Date
Régis Hanol b277e71c15 FIX: login-required tests 2015-03-26 12:09:30 +01:00
Sam 512ad4dae3 not sure why this is failing 2015-03-26 17:24:35 +11:00
Régis Hanol 3954f69514 FIX: hoisting issue with regexp replacement patterns 2015-03-23 16:33:41 +01:00
Ben Hadley-Evans 38fbbb28e3 Fix Discourse.Utilities.avatarImg test on Fx.
This qUnit test was failing in Firefox 36 with "setting a property that has only a getter" because devicePixelRatio was being changed directly. The fix uses defineProperty to redefine devicePixelRatio instead.
2015-03-20 12:53:56 +00:00
Régis Hanol 11bf7da63c FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +01: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 7ef306cd3b A bunch of tweaks to the Users directory
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
Régis Hanol df3b1f6968 FIX: editing a post wasn't showing error messages from the server 2015-03-19 12:25:15 +01:00
Robin Ward 3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Régis Hanol aa41a9ce70 FIX: remove empty lines but keep whitespace on first line in code blocks 2015-03-17 17:27:16 +01:00
Sam 8b4469a3f0 improve tests, ensure stream grows if all posts are loaded on commit 2015-03-16 17:40:49 +11:00
Régis Hanol 424a3b042a FEATURE: unified UI for pinning/banner topics
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward 77f9d1e223 Use pretender's passthrough for dynamically loaded scripts 2015-03-13 12:14:22 -04:00
Sam 01fcc7503a big hacks to get tests to pass 2015-03-13 17:45:55 +11:00
Sam a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Robin Ward 69851bc6cf Deprecates global use of `Discourse.MessageBus`
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Régis Hanol 9395bbbbea add test for fix in 9061c26e52 2015-03-12 16:20:14 +01:00
Robin Ward 7c9fb5d3fc Refactored SiteMap/Header to support more dynamic flag counts
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Régis Hanol 70f00e31df FIX: pre-hoist code blocks & spans 2015-03-09 12:32:37 +01:00
Régis Hanol 9b9bd9c0a1 fix my git foo 2015-03-07 02:36:35 +01:00
Régis Hanol f95c86ac72 FIX: hoist code blocks content before doing any kind of processing 2015-03-07 02:16:27 +01: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
Régis Hanol 809edd4da3 FIX: user-card tests 2015-03-04 13:02:36 +01: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
Régis Hanol 8ebab581ad temporarily disable test 2015-03-02 20:02:20 +01:00
Neil Lalonde c04b214910 FEATURE: don't allow username and email to be the same 2015-02-27 13:47:43 -05:00
Robin Ward be9feeb918 Replace `CurrentUserMixin` with an injected `currentUser`
This is a lot simpler and removes the need for stubbing singletons
in unit tests.
2015-02-27 10:33:39 -05:00
Neil Lalonde cf81b3f86d FEATURE: don't allow username and password to be the same 2015-02-25 12:00:13 -05:00
Robin Ward 9264a7914f Removed a bunch of `Discourse.Site` globals 2015-02-23 12:36:04 -05:00
Ed Gibbs c50205725f FIX: Default sort grantable badges by name
Currently has no default sort and was stated as a bug here:
  https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
  (Post was recently deleted or made private?)
2015-02-15 17:37:11 -08: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
Robin Ward cf3582bedb FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
Régis Hanol b809e02c6c FIX: clicking an attachment link works only once 2015-02-09 17:49:59 +01:00
Robin Ward a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -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
Sam a591c019d4 correct tests 2015-01-29 17:57:34 +11:00
Régis Hanol b003c2b4f3 let's try category class again 2015-01-27 23:44:47 +01:00
Sam d52b0a2458 temporarily disable category class on body while debugging issue with missing docking header 2015-01-27 13:43:40 +11:00
Régis Hanol 40da065930 fix the build (:fired:) 2015-01-26 23:49:15 +01:00
Régis Hanol e6f849f873 FIX: make sure pasting an image in the composer is considered as an image instead of an attachment 2015-01-23 19:17:33 +01:00
Robin Ward 2ea4c1c9de FIX: Groups post page was broken.
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward 03eb4752d1 Add `categories-list` css class to body for customization purposes 2015-01-21 14:34:01 -05:00
Robin Ward 649dfd8d23 Revert "Convert html.js to ES6 module format"
This reverts commit 60523d8e02.
2015-01-20 16:13:42 -05:00
Robin Ward 60523d8e02 Convert html.js to ES6 module format 2015-01-20 16:07:29 -05:00
Robin Ward 350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Robin Ward 1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00