Commit Graph

347 Commits

Author SHA1 Message Date
Robin Ward aa269c92a0 Revert "ES6: `AvatarSelector` and `HeaderController` - also includes support for controllers with"
This reverts commit 44b2f82be8.
2014-05-05 13:58:57 -04:00
Robin Ward 69225a7ea9 Revert "ES6: Uses proper `normalize` method, includes support for namespaced"
This reverts commit b98324a937.
2014-05-05 13:58:57 -04:00
Robin Ward 389c50eb1e Revert "ES6: Half a dozen more controllers converted"
This reverts commit bc2d87e5c1.
2014-05-05 13:58:57 -04:00
Robin Ward b17cd2f251 Revert "ES6: More controllers converted to ES6"
This reverts commit 23cc7c174a.
2014-05-05 13:58:57 -04:00
Robin Ward 23cc7c174a ES6: More controllers converted to ES6 2014-05-05 13:23:45 -04:00
Robin Ward bc2d87e5c1 ES6: Half a dozen more controllers converted 2014-05-05 13:23:45 -04:00
Robin Ward b98324a937 ES6: Uses proper `normalize` method, includes support for namespaced
controllers.
2014-05-05 13:23:45 -04:00
Robin Ward 44b2f82be8 ES6: `AvatarSelector` and `HeaderController` - also includes support for controllers with
camelcase via an error message.
2014-05-05 13:23:45 -04:00
Robin Ward 7a2dbf0d2d FIX: Changed fixture paths 2014-04-29 21:09:29 -04:00
Robin Ward 0528b408a3 Add an integration test for the new Ember 404 route 2014-04-29 15:29:13 -04:00
Robin Ward f50039b48b Support 404 routes in the Ember App 2014-04-29 15:29:13 -04:00
Robin Ward ba683bc611 FIX: XSS in markdown converter. 2014-04-28 14:44:15 -04:00
Robin Ward cf6cbb955b REFACTOR: Introduce `Discourse.computed.setting` to create a computed
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Régis Hanol 39cc147138 BUGFIX: only redirect users top /top page once 2014-04-21 20:00:37 +02:00
Robin Ward 4dc20e6855 FIX: Sanitize custom quote attributes 2014-04-21 10:19:39 -04:00
Robin Ward b3ed8b6a32 Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
Robin Ward fdb751296a FIX: ZALGO test suite was causing failures in the wrong place due to
missing `async` bits.
2014-04-17 10:46:33 -04:00
Robin Ward 617b4bed41 FIX: Rather than using `singleton: false` for avoiding caching in the
container, just unregister it afterwards.
2014-04-17 10:45:06 -04:00
Robin Ward 73cc722ed5 Update Ember.js, Handlebars and jQuery to latest 2014-04-17 10:45:06 -04:00
Vikhyat Korrapati b62606e7f1 Remove color_hexcode column from badge_types. 2014-04-17 05:36:29 +05:30
Vikhyat Korrapati 3136217fc1 Add badge page. 2014-04-17 01:57:57 +05:30
Robin Ward ed6e2b1d79 Remove Zalgo API from `Discourse.Mention`:
http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony -
Thanks @riking for finding it.
2014-04-14 16:51:18 -04:00
Robin Ward 36bb4c02b7 Only use `.jshintignore` for the ignore rules. 2014-04-01 12:28:17 -04:00
Wojciech Zawistowski c0a11adbc5 Moves Markdown Editor from vendor to discourse. 2014-03-31 21:56:19 +02:00
Sam 291df4d48d Merge pull request #2193 from slainer68/delete_enable_local_account_create
Delete enable_local_account_create option as it is not used anywhere.
2014-03-28 10:19:09 +11:00
Régis Hanol 5edec22e28 fix the build 2014-03-27 16:57:46 +01:00
Régis Hanol e663d78104 SECURITY: sanitize markdown urls (prevent XSS) 2014-03-27 15:34:35 +01:00
slainer68 6fb323fd71 Delete enable_local_account_create option as it is not used anywhere.
JS fixture
2014-03-27 00:55:06 +01:00
Neil Lalonde 86244e3a4b New sub-category badges in category chooser. Normalize category badge rendering code. 2014-03-25 17:29:59 -04:00
Vikhyat Korrapati 0f9ea25010 Interface for granting/revoking badges from admin user page. 2014-03-21 11:09:19 +05:30
Sam 2dc5e3c81e Merge pull request #2118 from vikhyat/firefox-middle-click
Fix Firefox middle-click popup blocker issue
2014-03-21 16:27:02 +11:00
Vikhyat Korrapati 4f71256542 Fix badge description i18n match. 2014-03-17 18:43:09 +05:30
Vikhyat Korrapati 9b26c8584e Initial badge system implementation. 2014-03-14 21:49:26 +05:30
Vikhyat Korrapati e798705aec Do not call preventDefault on right and middle-click/Ctrl+click.
This should fix the middle click popup blocker issue on Firefox.
2014-03-13 11:03:19 +05:30
Régis Hanol 8b6930a5cf FIX: shortDate tests 2014-03-11 12:37:54 +01:00
Nick Schonning 62d5a10873 JSHint test helpers
Remove unreferenced globals
2014-03-11 02:40:27 -04:00
Nick Schonning 86a9e0db6a JSHint assertions.js
Mark all functions as exported
2014-03-11 02:36:10 -04:00
Nick Schonning 054eca840a JSHint parse_html.js
- Mark Tautologistics as a global
- Mark parseHTML as exported
2014-03-11 02:34:17 -04:00
Nick Schonning 3342741876 JSHint QUnit helpers
- Don’t redefine controller
- Mark all functions as exported
- Mark the QUnit asyncTest as a global function
2014-03-11 02:30:49 -04:00
Vikhyat Korrapati b0d1d7a3e8 i18n of new/unread text next to topics. 2014-03-09 16:31:44 +05:30
Régis Hanol 8214536614 BUGFIX: don't show redirect reason if you aren't redirected
Move the redirect to top page logic server-side and make sure the reason
is not shown when top is not in the navigation menu (top_menu).
2014-03-07 18:58:53 +01:00
Régis Hanol ca12ea42a7 FEATURE: only redirect new users to top page for a limited period
That period is defined by the `redirect_new_users_to_top_page_duration`
site setting and defaults to 7 days.
2014-03-05 22:11:01 +01:00
Robin Ward 15c9c90533 When links have thousands of clicks, display them like 3.3K 2014-03-04 13:44:53 -05:00
Robin Ward 02ea67eece BUGFIX: A MDTest was conflicting with BBCode support for upper case 2014-03-03 13:14:11 -05:00
Robin Ward 6143753fef Support uppercase bbcode too. 2014-03-03 11:59:57 -05:00
Robin Ward d079538a6d Allow the `customHTML` helper to look up fragments outside of the
preloadStore, so plugins can stuff HTML in there when overriding a whole
template doesn't make sense.
2014-02-25 16:02:27 -05:00
Robin Ward 7716d940a0 BUGFIX: Allow links to images with absolute URLs as well as parens 2014-02-20 15:24:03 -05:00
Neil Lalonde b696c96a19 Look at the age of a user's first post to determine if the user can be nuked, instead of looking at when the user registered. 2014-02-20 12:29:40 -05:00
Régis Hanol 69e0342d8f fix typo 2014-02-18 18:24:11 +01:00
Régis Hanol aac4b55926 FEATURE: do not redirect to top page when number of topis is low 2014-02-17 14:28:12 +01:00