Commit Graph

144 Commits

Author SHA1 Message Date
Guo Xiang Tan
0ab52b127b Fix JS tests. 2016-12-15 16:52:47 +08: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
be5b5f6bea FEATURE: Public groups. 2016-12-12 17:00:30 +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
Robin Ward
cc93cd76ef Replace quote button with a component 2016-11-11 16:00:28 -05:00
Robin Ward
6a1c05a268 Upgrade ember-qunit 2016-11-08 14:29:50 -05:00
Robin Ward
751e354ca6
Refactor topic-progress into a component 2016-05-31 10:51:39 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
cpradio
67cd08af9b Add qunit tests 2016-04-03 20:26:42 -04:00
Régis Hanol
71911a4c67 fix build 2016-03-04 10:52:23 +01:00
Robin Ward
d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -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
3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -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
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04: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
23eadc3fb1 The entire qunit suite runs without any deprecations 2015-05-27 15:07:09 -04:00
Robin Ward
01d4085125 Removed bad JS tests, upgrade QUnit + ember-qunit 2015-05-13 14:13:37 -04:00
Robin Ward
0b65c88003 Upgrade Notifications to fix deprecations and use store 2015-05-11 11:20:45 -04:00
Robin Ward
aab9706b7a Fixes deprecations on user routes 2015-05-11 11:20:45 -04:00
Robin Ward
ed398e65e0 Fixes issues with composer 2015-05-11 11:18:38 -04:00
Robin Ward
a83a19f6ce ES6 module migrations 2015-04-15 14:54:36 -04:00
Régis Hanol
11bf7da63c FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +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
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
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
38e4defaee Support adding items to the site map via plugin outlet. 2015-01-09 16:15:16 -05:00
Robin Ward
7182767349 Refactor topic title/category saving to support easier changing of
attributes via plugins.
2015-01-02 14:25:41 -05:00
riking
69bc552054 FEATURE: Actually show more notifications
The "Show more notifications..." link in the notifications dropdown now
links to /my/notifications, which is a historical view of all
notifications you have recieved.

Notification history is loaded in blocks of 60 at a time.

Admins can see others' notification history. (This was requested for
'debugging purposes', though that's what impersonation is for, IMO.)
2014-09-09 16:29:08 -07:00
Robin Ward
dac4ed5a1e Prune dead code for search keyboard navigation in search, remove bad
tests.
2014-09-03 15:05:22 -04:00
cpradio
44a25271f1 FIX: Remove additional search code related to the up/down navigation
Removed additional search code that was related to the up/down navigation and their related tests.
https://meta.discourse.org/t/magic-search-code-for-keyboard-shortcuts/19563
2014-09-03 06:51:52 -04:00
Sam
921dd75dd9 FIX: anonymous had <a> items for pin/unpin
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results

UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
Robin Ward
a0d0f859ba Add login buttons to create account template. 2014-08-14 12:51:16 -04:00
Robin Ward
0adfeb1cff ES6: Mega update of controllers 2014-08-13 10:22:47 -04:00
Robin Ward
11e43bd434 FIX: Don't show Sign Up button in cases where users can't sign up 2014-08-12 16:55:23 -04:00
Robin Ward
8279752d3c REFACTOR: Don't use Discourse.Capabilities, instead use injection.
Also fix broken test. /cc @Sam
2014-08-06 18:28:02 -04:00
Robin Ward
417d287813 FIX: Don't link to notifications without URLs 2014-08-06 15:24:20 -04:00
Régis Hanol
3330f5907c FEATURE: restructure notification HTML layout 2014-08-05 23:36:37 +02:00
Robin Ward
d29822e4cb TWEAK: Sum new and unread in the site map category list 2014-08-05 16:01:49 -04:00
Robin Ward
b8bfbcb3cb ES6: Tests 2014-07-31 13:25:39 -04:00
Robin Ward
6f36d5996d Lots of work on tests 2014-07-30 20:09:45 -04:00
Robin Ward
b6684e7168 Upgrade to ember-qunit 2014-07-30 20:09:44 -04:00
Robin Ward
d29157dab9 TESTS: Refactored integration tests 2014-07-30 20:09:44 -04:00
Sam
f7c7d38a30 FIX: broken tests 2014-07-28 12:05:27 +10:00
Robin Ward
7c0e723464 TWEAK: If show_subcategory_list is enabled, hide subcategories from
the site map.
2014-07-22 16:27:33 -04:00
Arpit Jalan
7e946a718e Make bookmarks menu appear all the time 2014-06-23 10:21:33 +05:30
Sam
a288ff331d BUGFIX/FEATURE: call out context for search. 2014-06-17 17:53:45 +10:00
Jeff Atwood
6ceebc3f1c Merge pull request #2435 from techAPJ/add-bookmark-menu
FEATURE: Add Bookmarks menu to user dropdown
2014-06-12 03:28:40 -07:00
Sam
8ff4536a08 BUGFIX: fragile test corrected, stubbing is not needed here. 2014-06-12 10:59:07 +10:00
Arpit Jalan
aed2483bb9 FEATURE: User Bookmarks Menu 2014-06-12 01:54:54 +05:30
Neil Lalonde
78d46a81e1 FIX: js needs to use same max username length as server 2014-06-09 15:28:03 -04:00
Robin Ward
1af2ff6201 ES6: More components moved over. 2014-05-30 12:28:05 -04:00
Sam Saffron
252e93d0f2 BUGFIX: support CDN for avatars
Correct broken spec
Implement S3 support
2014-05-27 14:40:46 +10:00
Robin Ward
919ae73709 ES6: A few more controllers on a Holiday Monday 2014-05-26 14:40:06 -04:00
Sam
2a1f5876cc attempt to fix odd travis fail 2014-05-23 15:10:34 +10:00
Robin Ward
026cfe2dc7 ES6: Half a dozen more controllers 2014-05-15 11:32:15 -04:00
Robin Ward
07007e6cbc ES6: Notification controllers, added helper to create via ES6/container 2014-05-12 14:01:21 -04:00
Arpit Jalan
93cff8deb5 Speech bubble waiting for an ajax response prior to rendering 2014-05-09 22:23:27 +05:30
Robin Ward
842dd91958 Revert "Merge pull request #2304 from techAPJ/speech-bubble-update"
This reverts commit 6590ebbcbe, reversing
changes made to 3855ead62e.
2014-05-09 12:01:36 -04:00
Arpit Jalan
d16974fd4c Speech bubble waiting for an ajax response prior to rendering 2014-05-09 08:06:56 +05:30
Robin Ward
efcf99c21d ES6: A bunch more controllers 2014-05-08 11:35:34 -04:00
Robin Ward
4640b9d653 ES6: Half a dozen more controllers converted 2014-05-08 11:35:34 -04:00
Robin Ward
eee5f85654 ES6: AvatarSelector and HeaderController - also includes support for controllers with
camelcase via an error message.
2014-05-08 11:35:33 -04:00
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
389c50eb1e Revert "ES6: Half a dozen more controllers converted"
This reverts commit bc2d87e5c1.
2014-05-05 13:58:57 -04:00
Robin Ward
bc2d87e5c1 ES6: Half a dozen more controllers converted 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
verg
95f4c0f583 Add User dropdown menu to Header 2014-02-13 09:45:51 -05:00
Wojciech Zawistowski
5b897bc6a4 refactors Discourse.SearchController 2014-01-29 20:53:08 +01:00
Wojciech Zawistowski
e27c007653 Adds unit tests for SearchController 2014-01-23 20:25:37 +01:00
Robin Ward
a502266c42 Enable JSHINT's unused option. It caught a bunch of suspicious stuff which is fixed in this commit. 2013-12-30 13:30:22 -05:00
Wojciech Zawistowski
89bdebac3c fixes HeaderController test 2013-12-19 18:59:30 +01:00
Wojciech Zawistowski
8eef779d38 refactors site map 2013-11-27 21:58:36 +01:00
Neil Lalonde
981d8f6aea Signup form: prefill username if Discourse Hub has a match for the email address. Also, fix some bad specs in username_checker_service_spec that were passing... 2013-11-19 14:15:28 -05:00
Régis Hanol
9165769da2 Merge pull request #1647 from velesin/notifications_controller_test_fix
fixes Ember's deprecation errors in NotificationsController unit tests
2013-11-13 00:27:27 -08:00
Wojciech Zawistowski
e41774a0ea fixes Ember's deprecation errors in NotificationsController unit tests 2013-11-12 21:52:07 +01:00
Wojciech Zawistowski
a2dd197256 fixes the problem with perceived not mocked xhr call in tests 2013-11-12 20:40:46 +01:00
Wojciech Zawistowski
67a1da7af4 refactors header notifications (renders them via separate controller / template) 2013-11-08 21:06:27 +01:00
Régis Hanol
af96ef2994 FIX: deleting a flagged post issue
cf. http://meta.discourse.org/t/deleting-a-flagged-post-issue/10061

The bug was only happening when you were about the delete the first post, which means deleting the entire topic.
2013-10-02 16:59:57 +02:00
Robin Ward
be0ce08cc2 Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
Wojciech Zawistowski
2f9a467453 adds unit tests for Discourse.Controller 2013-09-30 18:12:12 +02:00
Wojciech Zawistowski
7da10c0149 Remove duplicate mixing in of Discourse.Presence
AdminEmailIndexController and AdminEmailPreviewDigestController explicitely mix in Discourse.Presence, but they extend base classes Discourse.Controller and Discourse.ObjectController that already mix in Discourse.Presence, so this explicit inclusion is redundant.
2013-09-18 18:40:57 +02:00
Robin Ward
f157ec1f91 Select +Replies for bulk operations 2013-09-05 11:03:29 -04:00
Régis Hanol
96772af35b FIX: avatar thumbnail won't save after upload 2013-08-27 23:01:35 +02:00
Robin Ward
51f5cf77fb Convert Discourse.User to use Discourse.Singleton 2013-08-08 12:42:08 -04:00
Neil Lalonde
4fd5087f91 Add button to delete a spammer in the flag modal
Add SiteSettings: delete_user_max_age, delete_all_posts_max. Add delete spammer button to admin flags UI
Moderators can delete users too
2013-07-29 15:29:44 -04:00
Robin Ward
5770879472 Refactor: Move Topic Details into better objects, identity map, tests, query string filters 2013-07-02 10:36:46 -04:00