Commit Graph

845 Commits

Author SHA1 Message Date
Sam
a7eabade19 User import no longer needed 2015-09-01 21:48:05 +10:00
Sam
bbf3d772c4 use Discourse.logout, it works with SSO 2015-09-01 21:36:56 +10:00
cpradio
68659e834a FIX: Fix the logout functionality in core 2015-08-31 18:39:19 -04:00
Robin Ward
6425650931 UX: Make search panel wider 2015-08-31 16:27:36 -04:00
Robin Ward
a4029675bd FIX: broken spec 2015-08-31 15:41:35 -04:00
Robin Ward
e2b7b2f2cf FIX: Don't outline buttons when menu is in slide out 2015-08-31 15:30:51 -04:00
Robin Ward
989c915a02 FIX: Custom header sizes and scrolling with menu panels 2015-08-31 15:04:33 -04:00
Robin Ward
ca017facf2 FIX: When navigating to pages close panels 2015-08-31 14:43:11 -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
Guo Xiang Tan
d39cfe9068 UX: Combine closed and archived icon. 2015-08-31 09:21:58 +08:00
Guo Xiang Tan
430fc1421a FIX: Emoji not unescaped in topic link. 2015-08-30 13:29:19 +08:00
Sam
41c32ea512 FEATURE: cache notifications in local storage 2015-08-30 09:50:08 +10:00
Robin Ward
aa45429989 UX: Change heuristic for determining slide vs drop down 2015-08-29 11:18:26 -04:00
Robin Ward
c1b3811377 FIX: JSHint failures 2015-08-28 16:25:29 -04: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
Neil Lalonde
cc2dc4d550 FEATURE: the notice asking admins to get discussion started will update with live counts of topics and posts 2015-08-27 17:28:40 -04:00
Robin Ward
7de03f837e UX: Auto size the height of the drop down panel 2015-08-27 14:29:54 -04:00
Robin Ward
d7b43ce238 UX: Adjust menu panels when the browser is resized 2015-08-27 13:34:20 -04:00
Sam
5865bd2abb FEATURE: bulk select on search results 2015-08-27 11:44:13 +10:00
Robin Ward
8fbc8dbae0 UX: Fix menu position with custom header 2015-08-26 17:21:20 -04:00
Robin Ward
a659fe3cc3 Update calculations when opened 2015-08-26 17:00:11 -04:00
Robin Ward
5457684975 Split hamburger-menu out into menu-panel 2015-08-26 16:29:10 -04:00
Régis Hanol
05adcda1fc FIX: pop a descriptive error when pinning a topic without a date 2015-08-26 22:23:08 +02:00
Robin Ward
3998f729da UX: Make hamburger shadow more subtle, don't use active when in full 2015-08-26 14:50:15 -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
e98c354c2d We don't need to remove swipe events since we disabled it 2015-08-26 14:43:08 -04:00
Sam
600ab5ad51 improve hamburger rendering
fix test cases
2015-08-26 13:44:48 +10:00
Sam
6c08bd4265 UX: improve hamburger in desktop
- dock underneath header
- click anywhere to get it to go away
2015-08-26 13:10:50 +10:00
Sam
540fe953e0 UX: remove swipe support from slideout 2015-08-26 10:36:49 +10: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
6d4c07385f FIX: smoke test :fired: 2015-08-21 21:06:47 +02:00
Régis Hanol
bef80633b1 FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
Régis Hanol
ffb0690119 FIX: edit history navigation issues 2015-08-19 21:10:12 +02:00
Guo Xiang Tan
b098e07cf1 FIX: Wrong value set when using ember-computed-decorators. 2015-08-15 00:15:23 +08:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
22844b9e46 Ember 1.12 support 2015-08-13 11:14:16 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Régis Hanol
6669a2d94d FEATURE: per-topic unsubscribe option in emails 2015-08-12 23:00:16 +02:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Régis Hanol
0f62a7f781 FEATURE: new date picker component 2015-08-10 12:50:38 +02:00
Arpit Jalan
066824e545 FIX: invite accepted notification should link to invited user profile 2015-08-10 11:28:59 +05:30
Robin Ward
7ef83913b6 FIX: Couldn't select values of 0 in the combo-box 2015-08-05 16:19:44 -04:00
Neil Lalonde
5ebd12c070 FEATURE: plugin hooks for topic list nav items 2015-08-05 15:41:36 -04:00
Régis Hanol
b8c8348e5b FIX: remove bookmark from user stream 2015-08-05 12:40:43 +02:00
Robin Ward
9629f63612 FIX: Weird translation error. 🔥d 2015-07-31 18:49:17 -04:00
Robin Ward
76aa0795b3 Use small actions for moving posts 2015-07-31 16:30:18 -04:00
Robin Ward
cf91bca0cd FIX: Small actions should show descriptions on the user stream 2015-07-31 14:25:49 -04:00
Robin Ward
29bdaa0dd8 Merge pull request #3636 from riking/patch-7
FEATURE: Add off button on preferences for popup notifications
2015-07-31 11:29:16 -04:00
Kane York
8c62c8d7bf FEATURE: Add off button on preferences for popup notifications 2015-07-30 19:06:14 -07:00
Robin Ward
8e603503e6 We can add the no-text class automatically in d-button 2015-07-30 14:53:13 -04:00
Sam
ccc07605a7 UX: improve styling of closed messages
also cleans up styling of time gaps on mobile
2015-07-30 11:19:30 +10:00
Robin Ward
9d1e37fb46 FIX: Could click on unlike even after the window. Looked weird. 2015-07-29 14:34:20 -04:00
Robin Ward
201617811e Migrate auto closed topics too 2015-07-29 12:20:50 -04:00
Régis Hanol
faf4f44776 FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
Robin Ward
510813769f Support for deleting small post actions 2015-07-28 16:27:54 -04:00
Robin Ward
dc8a68fd29 FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
Sam
a97fa571a1 fix highlighting of text in search, make title bigger 2015-07-28 09:43:03 +10:00
Robin Ward
bb93a345eb UX: Use smaller messages for moderator actions. 2015-07-27 10:09:21 -04:00
Arpit Jalan
e5e0071cb7 FIX: non-admin users were not able to see invite tabs 2015-07-23 06:51:39 +05:30
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
Robin Ward
284b86cf5d Refactor PostActionSummary a bit.
- Remove `Discourse` constant.
- Use `LikeCount` instead of `Likecount`
2015-07-10 15:56:49 -04:00
Sam
feadfb2e46 improve who liked styling 2015-07-10 14:48:44 +10: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
Sam
a0740e8976 Merge pull request #3587 from tgxworld/emoji_not_shown_in_notifications
FIX: Emoji not shown in notifications.
2015-07-09 11:45:13 +10:00
Sam
2bd6e201f9 UX: tweak location of like count
UX: clean up fade logic so it meshes with new like style
EXTENSIBILITY: add hook for insertion of custom HTML for buttons
UX: stop suppressing share for anon, like expander is not suppressed
 old behavior is inconsistent


also reimplements like count expander as a proper button,
adds a nice label for it
2015-07-08 15:10:53 +10:00
Robin Ward
73fc612cbc Use the number formatter for likes in case they get really big 2015-07-07 16:01:30 -04:00
Robin Ward
300faa6744 UX: Put links back in flags summaries in advance of refactor. 2015-07-07 15:50:14 -04:00
Robin Ward
4706b77940 Backwards compatibility with deprecation for Discourse.PostMenuView 2015-07-07 15:18:19 -04:00
Jeff Atwood
4bffacac66 make Likes come before Replies under post 2015-07-04 14:48:35 -07:00
Robin Ward
bcbf538297 FIX: JShint 2015-07-03 17:36:16 -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
7676c5dfe7 Can add topic templates to categories, prepopulated on compose 2015-07-03 10:01:46 -04:00
Robin Ward
84a1acb2ec Refactor category edit to use components 2015-07-03 10:01:46 -04:00
Guo Xiang Tan
210f1ab424 FIX: Emoji not shown in notifications.
Fixes: https://meta.discourse.org/t/topic-title-emoji-not-supported-in-notifications/30670/2.
2015-07-02 23:30:26 +08:00
Kane York
5022507029 Make observing optional 2015-06-30 16:00:43 -07:00
Kane York
969fb2cd4c FIX: combo-box should observe on nameProperty 2015-06-30 12:23:02 -07:00
Kane York
6b1cfd8d87 FIX: combo-box shouldn't crash if no options available
This is a fix for bdfe91914f
2015-06-30 11:47:41 -07:00
Kane York
bdfe91914f FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
2015-06-30 10:18:31 -07:00
Jeff Atwood
e04d66aa2c pulled in manual change incorrectly 2015-06-27 12:09:47 -07:00
Jeff Atwood
58bb918002 add jagged border for post gaps 2015-06-27 11:52:04 -07:00
Robin Ward
4c4b20574d FIX: Broken JSHint. cc @riking 2015-06-22 16:02:14 -04:00
Robin Ward
7ed309666b Refactor search results to be components instead of views for reuse 2015-06-22 15:08:51 -04:00
Robin Ward
76bfd723f6 Merge pull request #3482 from riking/patch-3
Import/Export site customizations
2015-06-22 14:03:07 -04:00
Sam
fe6203d4ec UX: improve front page styling for mobile 2015-06-22 14:25:17 +10:00
Sam
701c23c8b7 REFACTOR: create component for navigation pills 2015-06-22 10:54:50 +10:00
Sam
0dfb9261ea Improve time gap styling 2015-06-19 11:24:10 +10:00
Robin Ward
42bd9b6199 FEATURE: Show time gap between posts if more than a few days 2015-06-18 17:06:25 -04:00
Sam
7b8786e14f FIX: maintain category ordering when position is fixed for browsing
FEATURE: allow mods to set category ordering for topic creation dialog
  using fixed_category_positions_on_create
2015-06-16 09:31:41 +10:00
Sam
37dfb1b4b5 FEATURE: support for custom notification types
used by solved plugin
2015-06-15 14:18:03 +10:00
Régis Hanol
0483f05154 make sure we pass in the user_id when creating avatar thumbnails 2015-05-29 18:11:19 +02:00
Régis Hanol
b974e192eb Merge pull request #3500 from fantasticfears/user-card
FIX: rare user card exception
2015-05-26 16:09:40 +02:00
Régis Hanol
85d4d3223c FIX: crop avatars on the server instead of the client
FIX: support for dots in S3 bucket names
2015-05-26 15:54:25 +02:00
Régis Hanol
bb0c2813ac FEATURE: generate (avatar) thumbnails in a background task
FIX: keep the "uploading..." indicator until the server replies via the MessageBus
FIX: text was disapearing when uploading an avatar

PERF: always use a region for S3 (defaults to 'us-east-1')
FEATURE: ApplyCDN middleware when using S3
FIX: use the same pattern to store files on S3 and locally
PERF: keep a local cache of uploads when generating thumbnails
FEATURE: migrate_to_s3 rake task
2015-05-25 17:59:00 +02:00
Erick Guan
54adf72582 FIX: rare user card exception
- trigger the shown logic in user card view
- some tweaks to user card show logic
2015-05-25 22:37:00 +08:00
Régis Hanol
566b267981 FIX: cropAvatar 2015-05-20 16:45:48 +02:00
Régis Hanol
8d967d9065 FEATURE: move all uploads to a single endpoint + defer upload creation in a background thread 2015-05-20 16:45:48 +02:00
riking
d112f39031 Change extension back to .dcstyle.json 2015-05-19 18:35:16 -07:00
Robin Ward
f496982e79 UX: Always show reply as new topic if the user can. 2015-05-19 12:13:30 -04:00
riking
d0b61ed23e Filter files to only plain-text 2015-05-16 21:19:00 -07:00
riking
30abc91a5c this just in: drag events are very broken 2015-05-16 21:04:57 -07:00
riking
fbc06d044f Use .dcstylejson instead of .dcstyle.json 2015-05-16 20:41:35 -07:00
riking
291d9fc65e FEATURE: Import customizations from a JSON file 2015-05-16 20:24:19 -07:00
Robin Ward
5148c48170 FIX: Image uploading component was missing a class 2015-05-15 11:12:41 -04:00
Robin Ward
0362c50698 Remove deprecations from edit-category and add skeleton acceptance test 2015-05-15 11:12:41 -04:00
Sam
5ef641126f remove s3 deprecation warning, we will continue to support it 2015-05-12 08:27:25 +10:00
Robin Ward
a93dfece70 FIX: Incorrect error message when post isn't long enough 2015-05-11 11:20:46 -04:00
Robin Ward
e1f9f6d02a UX: Improve user directory on mobile 2015-05-11 11:20:46 -04:00
Robin Ward
098556c78d Assorted Ember 1.11 fixes 2015-05-11 11:20:45 -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
aee12fd6ef Ember Deprecations for Topics 2015-05-11 11:18:37 -04:00
Robin Ward
690b579a96 Fixes some deprecations 2015-05-11 11:18:37 -04:00
Robin Ward
b3b4fd21ed Broken WIP 2015-05-11 11:18:37 -04:00
Robin Ward
2c53a8b7bc Link queued post avatar and username to user profile 2015-04-20 16:18:00 -04:00
Robin Ward
2459f52c71 Merge pull request #3375 from techAPJ/patch-2
FEATURE: invite existing users to private topic
2015-04-16 11:13:42 -04:00
Robin Ward
9cb928e893 FIX: Actions summary expanding was broken 2015-04-15 19:08:16 -04:00
Arpit Jalan
d491d4f997 FEATURE: invite existing users to private topic 2015-04-16 00:52:54 +05:30
Robin Ward
7f501a0c41 When a post returns enqueued don't insert it in the stream and notify
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
Robin Ward
da9e2792eb FIX: Bugs with autocomplete
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Régis Hanol
1fd50634f0 FIX: translation issues with top periods 2015-04-06 13:24:46 +02:00
Régis Hanol
b861669ceb add global notice for S3 deprecation warning 2015-03-30 11:26:45 +02:00
Robin Ward
ed58a87616 FIX: Disable links in the preview to avoid losing your drafts 2015-03-27 14:24:41 -04:00
Robin Ward
ada633f084 FIX: Clicking the lock icon was running the "pin" logic 2015-03-27 12:55:19 -04:00
Robin Ward
76fe24251c FIX: unread badges should be inline on the category list 2015-03-27 12:10:21 -04:00
Robin Ward
9e7080eee4 FIX: user-small component had a broken link to to the user 2015-03-27 11:55:13 -04:00
Neil Lalonde
96a16743c3 add classes to global-notices so they can be found with selectors 2015-03-24 17:12:28 -04:00
Robin Ward
1e3e4135a3 Add Posts Read + Visits to User Directory 2015-03-24 15:31:54 -04:00
Robin Ward
4aa2039238 Add full name in emails, tweak styles a bit. 2015-03-24 11:25:47 -04:00
Robin Ward
c6afeb2259 Show the user card when clicking on users in the directory 2015-03-20 15:40:28 -04:00
Régis Hanol
11bf7da63c FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +01:00
Robin Ward
ae695d6438 UX: Show two lines per user on directory 2015-03-19 14:53:52 -04:00
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
Robin Ward
3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Robin Ward
091af27a31 FIX: Reply as new topic should select the correct category 2015-03-12 14:41:58 -04:00
Robin Ward
f50280a889 Split out bulk operations modal and Discourse.Route.showModal
This makes it easier to share bulk topic operations, for example
from a plugin's custom topic list.
2015-03-10 15:40:56 -04:00
Robin Ward
49978d02c2 FIX: category-group didn't work with subdirectories 2015-03-09 16:09:26 -04:00
Robin Ward
de4e4f2b98 Replace $LAB with path aware loadScript that uses jQuery 2015-03-09 14:39:39 -04:00
Robin Ward
3d3b70f4bb Remove duplicated NotificationType globals 2015-02-27 10:33:39 -05:00
Robin Ward
1f716f5514 Convert Notification button to a component 2015-02-27 10:33:39 -05:00
Robin Ward
5a7ae8c63f Clicking on the date of a featured topic should show topic entrance 2015-02-24 12:56:06 -05:00
Robin Ward
9264a7914f Removed a bunch of Discourse.Site globals 2015-02-23 12:36:04 -05:00
Robin Ward
f85f38a887 Update the header action to be ES6 2015-02-19 14:58:02 -05:00
Robin Ward
e503c3859a Allow plugins to change the header to show two rows
This allows the discourse-tagging plugin to correctly use two rows in
the header if it needs to display tags, or one row if there are no tags.
This works in tandem with the same logic for when there is a category
badge to display or not.
2015-02-19 14:56:45 -05:00
Sam
1da5060bf8 FIX: HR in profile causing user badge to behave weirdly
makes no sense to have HR in card anyway so removing them
2015-02-19 14:07:35 +11:00
Robin Ward
2a4b30346c FIX: Category images were not using the CDN 2015-02-18 12:30:41 -05:00
Robin Ward
282476fdf9 FIX: Hide "error logs" logs from staff. Refactor admin menu HTML. 2015-02-11 11:53:06 -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
Neil Lalonde
d5712e43cf FIX: auto-close time can be a date like 2015-2-22 2015-02-10 17:10:20 -05:00
Robin Ward
a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05:00
Sam
ab25ddcc3b we were forced to bind here 2015-02-06 16:46:28 +11:00
Sam
05a56b25a9 FIX: setting custom avatar would not work a lot of the time
Due to internal structure we were often caching "redirect" images.
2015-01-31 23:42:50 +11:00
Sam
6495bca540 bar style fixes 2015-01-29 17:49:14 +11:00
Robin Ward
d491d817a6 UX: Alwasy skip headers on topic lists on mobile.
Fixes topic lists filtered by tag on mobile.
2015-01-28 15:20:26 -05:00
Robin Ward
8fc477ab07 More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
Régis Hanol
e300945879 FEATURE: split group admin in 2 tabs (custom & automatic)
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Robin Ward
350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Jeff Atwood
992ad7991b UX: change private category to lock glyph 2015-01-15 14:07:21 -08:00
Régis Hanol
20d2908c50 FEATURE: add a global notice whenever emails are disabled (disable_emails site setting) 2015-01-15 19:32:19 +01:00
Régis Hanol
beea92a74b FIX: 🐛 show email button wasn't working on user's profile page 2015-01-15 17:58:50 +01:00
Robin Ward
f8d3764d5e Convert many buttons to d-button 2015-01-14 15:50:20 -05:00
Robin Ward
e7443247dd Adds plugin-outlet for topic menu buttons. Also a d-button component. 2015-01-14 15:50:20 -05:00
Robin Ward
8b87d8ac2d Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
Robin Ward
1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00
Robin Ward
7124456ae4 Merge pull request #3083 from cpradio/pr-add-class-to-gutter-links
UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS
2015-01-08 17:35:25 -05:00
cpradio
fdfde22d0b UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS 2015-01-08 17:20:50 -05:00
Sam
e089f699c1 upgrade pg to version 0.18, may fix encoding issue 2015-01-06 06:16:22 +11:00
Sam
fce74e64a1 correct missing new/unread badges 2015-01-05 19:31:29 +11:00
Sam
9c250444ff regression, navigating to category leaves phantom columns 2015-01-05 18:18:50 +11:00
Sam
0396fd66f6 FEATURE: sorting by op likes shows the op likes count 2015-01-05 17:39:49 +11:00
Sam
ea2f892f4b FEATURE: show likes column if sorting by likes 2015-01-05 17:09:17 +11:00
Sam
69771562d7 clean up rendering and correct issues with topic list to raw commit 2015-01-05 16:37:25 +11:00
Sam
fa9bbd554e PERF: unify topic lists, remove star from lists, move to raw rendering 2015-01-05 13:04:15 +11:00
Robin Ward
1e441522c0 Don't use a string buffer to refactor loading outlet 2015-01-02 16:35:56 -05:00
Robin Ward
030bab92a2 Small optimization: remove a template with an {{if}} 2015-01-02 16:29:08 -05:00
Sam
f0ca6150d8 refactor topic list header to use a raw template 2014-12-31 12:32:43 +11:00
Sam
d0fe1725c8 FIX: users should be allowed to add @ to the to field of a PM 2014-12-30 13:26:39 +11:00
Sam
8cfd14120c allow forcing of name if needed 2014-12-30 11:07:16 +11:00
Robin Ward
07b8dc4eca FIX: Clicking on pin/unpin would refresh the page 2014-12-29 12:29:50 -05:00
Sam
b48f04e772 possible regression fix 2014-12-29 16:32:31 +11:00
Sam
a6fbf7d86b PERF: improve rendering speed of topic header
This also ensures we have a clean point to override rendering of topic list header
in case we decide to add/remove columns, you no longer need to override the
entire discovery template, only the header and item templates.
2014-12-29 16:27:41 +11:00
Régis Hanol
45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
Robin Ward
8b51176f2e FIX: Category badges were missing stripes in some places 2014-12-18 11:03:17 -05:00
Robin Ward
a8acbc37a2 Refactor selector components for extensibility 2014-12-18 10:36:58 -05:00
Robin Ward
f42a5c1ba3 Convert a lot of Globals to ES6 modules 2014-12-17 09:31:42 -05:00
Robin Ward
5659b93c71 Many fixes for Ember 1.9.0 2014-12-17 09:31:40 -05:00
Régis Hanol
6096c88454 FIX: automatically use uploaded avatar when uploading an avatar 2014-12-16 18:36:28 +01:00
Régis Hanol
a014507da4 FIX: semantic HTML for category with images 2014-12-15 15:39:13 +01:00
Sam
0542c080b3 PERF: optimise rendering of posts 2014-12-10 18:05:04 +11:00
Robin Ward
5fd3f2547c FIX: Fix rerendering issues on some components. 2014-12-08 14:47:49 -05:00
Régis Hanol
183c93904d FIX: don't show the banner topic on error page 2014-11-25 19:09:17 +01:00
Robin Ward
0d12ed2231 UX: More spinner upgrades 2014-11-13 15:40:28 -05:00
Robin Ward
03bc91f204 Unify loading-spinner helper, add conditional support via component 2014-11-12 15:11:20 -05:00
Sam
9c81f2c6af remove duplicate code
fix issue where clicking on
the same user in 2 locations on the page would not work correctly

centralize logic
2014-11-06 12:13:46 +11:00
Robin Ward
e79c1c23d9 Show CSV groups on user profile 2014-11-05 14:05:16 -05:00
Régis Hanol
568033f623 FIX: escape topic status' title 2014-11-05 12:09:22 +01:00
Robin Ward
bab4f48eeb FIX: Trim the profile text in the user card even if it has multiple lines. 2014-11-03 11:59:56 -05:00
Régis Hanol
a6972fe543 UX: fix position of the topic entrance box 2014-10-29 08:36:52 +01:00
Sam
7327dbc7cc PERF: don't render the category list if we are not showing it. 2014-10-29 17:17:32 +11:00
Sam
0621e87bcd PERF: don't render dropdowns till we need them 2014-10-29 16:54:11 +11:00
Sam
d7c4987ecb PERF: reduce one view, cleaner pattern for component visibility 2014-10-29 16:28:56 +11:00
Sam
e3b88d3688 Revert "REVERT commits for raw handlebars rendering. We need to create a"
This reverts commit a4363e033d.
2014-10-29 13:05:19 +11:00
Robin Ward
a4363e033d REVERT commits for raw handlebars rendering. We need to create a
separate branch and discuss issues of this approach.
2014-10-28 10:56:04 -04:00
Sam
f5379cee89 PERF: move activity-column to handlebars 2014-10-28 17:20:56 +11:00
Robin Ward
71f211f0b3 FEATURE: Allow users to select a badge with an image to appear on their
user card
2014-10-20 16:35:38 -04:00
Robin Ward
1cf4a0d604 Rename "User Expansion" to the much clearer "User Card" 2014-10-20 12:11:59 -04:00
Sam
10db8f21d7 FEATURE: experimental reply-to expansion which hides intermediate posts
experimental_reply_expansion
2014-10-15 18:13:13 +11:00
Robin Ward
08233fc86e FIX: Show images in the admin section list for badges. Add help text to
indicate icons can be images too.
2014-10-16 16:43:34 -04:00
Robin Ward
d439bd274e Merge pull request #2878 from daemonsy/daemonsy_focus_topic_input
UX Improvement: Autofocus the topic field on edit
2014-10-16 15:56:35 -04:00
Robin Ward
bde0820cd4 FIX: Category group picker was broken with category path rename 2014-10-16 14:30:58 -04: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
Damon Aw
a5e576adca UX Improvement: Autofocus the topic field on edit
- After clicking on the pencil icon to edit a topic, the focus is not set on the input.
- This leads to cases where using keyboard shorcuts (e.g. cmd + left) leads to navigation instead.
- Searching around online, it seems the cleanest way to add a text-field that autofocuses is to create a component.
- I followed the [cookbook](http://emberjs.com/guides/cookbook/user_interface_and_interaction/focusing_a_textfield_after_its_been_inserted/) and did the most naive implementation.
- This focuses the text-field but at the start of the input. Setting selectionStart and selectionEnd solves this problem, but does not work on IE 8 and below.
2014-10-14 23:31:01 -04:00
Régis Hanol
5754e8dd0f FEATURE: auto-close topics based on last post 2014-10-10 18:21:44 +02:00
Régis Hanol
67c10a7eab UX: add topic admin button to the bottom of the topic 2014-10-06 20:19:07 +02:00
Robin Ward
1e5195e68f FIX: Could sometimes open two category drop downs at once. 2014-10-03 15:42:45 -04:00
Robin Ward
e55b437eb9 Replace the rest of the deprecated {{action xyz}} with `{{action
"xyz"}}`
2014-10-03 14:43:27 -04:00
Robin Ward
381814fd5d Adds support for a description to user fields. 2014-10-02 15:56:52 -04:00
Robin Ward
edb34c178a FEATURE: Show user fields when the user is signing up 2014-09-30 10:45:18 -04:00
Robin Ward
626e896c13 FEATURE: Enable topic entrance on mobile 2014-09-22 11:49:11 -04:00
Jeff Atwood
6aff562883 UX: gutter links use link color, no glyphs 2014-09-18 20:01:49 -07:00
Robin Ward
af6936cf72 Refactor some deprecations for newer versions of Ember. Also set up
injection for some globals so we can migrate away from them.
2014-09-11 16:16:21 -04:00
Sam
5cb7c8ee11 FEATURE: suppress admin glyph for admins
If you want to a shield you must grant moderation to the admin.
2014-09-11 10:54:25 +10:00
Robin Ward
504d61de94 FIX: Clicking on expanded user actions uses user expansion. Also added
integration test.
2014-09-09 15:18:04 -04:00
Robin Ward
8b33e659a1 FIX: Only use cached topic lists on popState 2014-09-09 12:57:51 -04:00
Robin Ward
334e21a03a Revert "Revert "FEATURE: Can create warnings for users via PM""
This reverts commit 1c7559380c.
2014-09-08 11:11:56 -04:00
Robin Ward
1c7559380c Revert "FEATURE: Can create warnings for users via PM"
This reverts commit b0bfc1f93f.
2014-09-08 10:38:59 -04:00
Robin Ward
b0bfc1f93f FEATURE: Can create warnings for users via PM 2014-09-08 10:27:06 -04:00
Jeff Atwood
9b2e850553 UX: suppress outgoing right arrow on gutter links 2014-09-08 01:15:40 -07:00
Robin Ward
0b6c84e292 UX: Remove background color from new badge. DRY up lots of repeated code
for rendering badges on topics.
2014-09-03 12:22:18 -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
Arpit Jalan
8955bf02d8 hide poster avatars when only two posts 2014-09-02 20:10:36 +05:30
Arpit Jalan
eba3f6b408 suppress post count on avatar for single post 2014-09-01 14:23:34 +05:30
Jeff Atwood
553e0290a6 mods can use shield glyph as well, don't need two 2014-08-25 23:49:39 -07:00
Jeff Atwood
bd66c67398 whoops, used font awesome 3.2 styles :( 2014-08-24 22:20:59 -07:00
Jeff Atwood
01853fb9d3 replace trophy with shield to indicate admin 2014-08-24 22:05:11 -07:00
Sam
643d0dfc13 FIX: use CDN when expanding avatar templates 2014-08-25 08:18:41 +10:00
Robin Ward
c1aa2458f8 UX: Add drop down for top lists, big refactor of repeated code. 2014-08-21 16:08:47 -04:00
Robin Ward
eb02619d1f UX: Move topic entrance widget to posts column 2014-08-20 14:15:23 -04:00
Robin Ward
c5d6f6a034 UX: Allow users to tab to the activity column 2014-08-18 14:44:31 -04:00
Robin Ward
454c634b7e UX: Make posts columns link to the last post in a topic. 2014-08-18 14:17:14 -04:00
Robin Ward
aa41548e8e UX: When clicking an activity date, pop up a little menu with options to
go to beginning or end of the topic.
2014-08-15 16:39:57 -04:00
Robin Ward
2f4f5d56e1 Use Site Settings for the cold date ranges 2014-08-15 12:09:31 -04:00
Robin Ward
26ca197be9 Adds Site settings to configure post:like ratio thresholds 2014-08-15 12:02:29 -04:00
Robin Ward
eb5a3da10d UX: Include tooltip text when hovering over posts column 2014-08-15 11:49:30 -04:00
Robin Ward
6f3db0e386 UX: Squash activity columns together. Show a cold map on the difference
between the last post and original post dates. Fix some missing classes
in the mobile templates and topic map.
2014-08-14 16:06:27 -04:00
Robin Ward
a0d0f859ba Add login buttons to create account template. 2014-08-14 12:51:16 -04:00
Robin Ward
c103398e9a First stab at About page 2014-08-11 16:59:15 -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
Sam
5c72297695 FEATURE: clean up badges admin 2014-07-30 08:56:46 +10:00
Robin Ward
380411457a UX: Show the category name even if there's an image. It's too confusing
otherwise for many sites.
2014-07-28 16:03:13 -04:00
Régis Hanol
bddffa7f9a FEATURE: flag dispositions normalization
All flags should end up in one of the three dispositions
  - Agree
  - Disagree
  - Defer

In the administration area, the *active* flags section displays 4 buttons
  - Agree (hide post + send PM)
  - Disagree
  - Defer
  - Delete

Clicking "Delete" will open a modal that offer to
  - Delete Post & Defer Flags
  - Delete Post & Agree with Flags
  - Delete Spammer (if available)

When the flag has a list associated, the list will now display 1
response and 1 reply and a "show more..." link if there are more in the
conversation. Replying to the conversation will NOT give a disposition.
Moderators must click the buttons that does that.

If someone clicks one buttons, this will add a default moderator message
from that moderator saying what happened.

The *old* flags section now displays the proper dispositions and is
super duper fast (no more N+9999 queries).

FIX: the old list includes deleted topics
FIX: the lists now properly display the topic states (deleted, closed,
archived, hidden, PM)
FIX: flagging a topic that you've already flagged the first post
2014-07-28 19:28:07 +02:00
Robin Ward
227ca5dd23 FIX: Home logo wasn't scrolling to top if on second page of topic
results.
2014-07-25 17:02:46 -04:00
Robin Ward
f33ebc512b FIX: Link a poster's name to their profile, makes much more sense now
that we're showing the popup to that.
2014-07-24 13:13:24 -04:00
Robin Ward
27f786e06a FEATURE: Show user popup when clicking on an @mention in a post. 2014-07-23 16:10:29 -04:00
lreeves
9c2f4b55ac This moves the finder logic out of the component 2014-07-22 20:30:30 -04:00
Neil Lalonde
386b6213a5 FEATURE: warn when caps lock is on during password input 2014-07-22 13:53:58 -04:00
Robin Ward
4d354cff7e FIX: Clicking an avatar in an expanded post should show the user
expansion popup.
2014-07-21 18:05:24 -04:00
Robin Ward
75f6b43e62 ES6: Discourse.ContainerView 2014-07-18 12:20:07 -04:00
riking
19b757b058 FEATURE: Hide deleted posts by default for staff 2014-07-17 10:40:15 -07:00
Régis Hanol
f43293a7bc FEATURE: replace 'deleted by' with the trashcan glyph 2014-07-16 22:38:39 +02:00
Neil Lalonde
18fafa12a2 Add admin and moderator classes to usernames so they can be styled 2014-07-07 14:48:25 -04:00
Robin Ward
4237099db3 ES6: More modal views 2014-07-04 11:50:40 -04:00
Robin Ward
f247ea89b0 TWEAK: Show subcategory name even if there is a logo 2014-07-03 11:31:42 -04:00
Sam
8701a39044 FIX: improve matching algorithm 2014-07-03 11:29:02 +10:00
Sam
6d8200b1b1 FIX: smarter suppression of name
match on lowercase, trim.
2014-07-03 11:20:58 +10:00
Robin Ward
554e5c8482 XSS: Escape the custom title (admin only) when displaying group titles. 2014-07-02 19:55:52 -04:00
Robin Ward
462dcadd01 FEATURE: Subcategory list on parent subcategory page. 2014-07-02 16:47:43 -04:00
Robin Ward
e22688a204 FEATURE: Can upload images to categories 2014-06-30 14:14:00 -04:00
Robin Ward
9000c358d1 REFACTOR: Use common path for RESTful DELETE action from upload image
component
2014-06-30 14:13:59 -04:00
Robin Ward
3cbb32cc20 REFACTOR: uploading avatar should share code with upload component 2014-06-30 14:13:59 -04:00
Robin Ward
4088fba4f2 REFACTOR: Convert profile background uploader to be an ember component 2014-06-30 14:13:59 -04:00
Robin Ward
07cb3aff97 We shouldn't have to redeclare tab panels in the category edit menu 2014-06-26 12:30:07 -04:00
Robin Ward
2f710142f0 Use partials for category modal sections, components for pills 2014-06-25 16:12:35 -04:00
Sam
d5d1473ced BUGFIX: better seperation of action from act too.
Also create spans for styling.
2014-06-25 10:39:55 +10:00
Robin Ward
39c2c958e6 ES6: ComposerView 2014-06-24 16:53:10 -04:00
Robin Ward
4b745612d8 FIX: Gaps weren't refreshing on refresh 2014-06-24 15:07:13 -04:00
Sam
56a04366ec Merge pull request #2431 from vikhyat/badge-system
Custom badge icons
2014-06-20 09:13:29 +10:00
Neil Lalonde
f0a0be1c2c Merge pull request #2454 from riking/mobile-logo
Allow a sepearate mobile logo URL
2014-06-19 14:14:32 -04:00
Vikhyat Korrapati
cd766ed587 Use Em.computed.match. 2014-06-19 16:56:19 +05:30
Vikhyat Korrapati
e0fd1f6f5e Add ability to specify custom font awesome icon for badges. 2014-06-19 16:56:18 +05:30
Robin Ward
42c7ad4670 FIX: build broke, also escaping issue on poster name 2014-06-18 17:47:31 -04:00
Régis Hanol
08b8cacdb0 BUGFIX: ctrl+click on logo doesn't open site in new tab 2014-06-18 22:52:31 +02:00
riking
cd186aee56 Allow a sepearate mobile logo URL 2014-06-18 12:44:00 -07:00
Régis Hanol
00117c18c3 FEATURE: dismissable banner topic 2014-06-18 20:05:19 +02:00
Robin Ward
6f8888d405 XSS: Topic links needed sanitization 2014-06-14 12:53:48 -04:00
Arpit Jalan
9e0cf55758 Add tooltip to Admin & Moderator glyph 2014-06-14 00:37:55 +05:30
Robin Ward
e985ffc273 Add link back to logo so it can be copied and pasted and what not. 2014-06-10 13:27:55 -04:00
Régis Hanol
3b6b2770f3 BUGFIX: date of the post in the share dialog is now properly bound
CLEANUP: removed all unused handlebars helpers
REFACTOR: removed 'unbound' prefix (for performance reasons, helpers are unbound by default)
REFACTOR: added 'bound' prefix to bound helpers
REFACTOR: renamed helper using 'foo-bar-foo' syntax (instead of camel case)
2014-06-10 19:04:31 +02:00
Robin Ward
9d96fc6370 FIX: Back button not working well to latest 2014-06-09 14:05:26 -04:00
Jeff Atwood
3dd61a2056 f**ing bootstrap, span5 = .gutter 2014-06-05 02:57:56 -07:00
Robin Ward
e690c1ff14 ES6: Start on some views 2014-06-04 12:18:06 -04:00
Robin Ward
bb0cf87684 ES6: All components ported over 2014-06-03 12:11:17 -04:00
Robin Ward
3f9c4100ef Many Plugin upgrades. 2014-06-03 10:33:47 -04:00
Robin Ward
bf749f127c ES6: Topic Message Map converted 2014-06-02 13:31:42 -04:00