Commit Graph

9810 Commits

Author SHA1 Message Date
Guo Xiang Tan
bce8d0632a FIX: Only cancel composer for when editing first post. 2015-09-17 09:24:02 +08:00
Sam
ec4a1bb2c4 FIX: page tracking was not properly tracking transitions
PERF: move closure to self contained method so env is released earlier.
2015-09-17 11:06:33 +10:00
Jeff Atwood
2ac9f6a1b0 Merge branch 'master' of https://github.com/discourse/discourse 2015-09-16 17:16:20 -07:00
Jeff Atwood
4714483612 copyedits on anon user call to signup action 2015-09-16 17:16:17 -07:00
Sam
975837cf0d Merge pull request #3769 from tgxworld/disable_button_while_searching
UX: Disable button while searching.
2015-09-17 10:01:27 +10:00
Kane York
4e587eb68f Store nothing if anon cta is disabled 2015-09-16 16:32:15 -07:00
Kane York
e16eebb48c FIX: Don't even bother checking visit count 2015-09-16 15:35:50 -07:00
Kane York
102b6f6fca FIX: Reduce requirements for signup call-to-action
1 visit, 5 minutes, 3 topics
2015-09-16 15:34:39 -07:00
Neil Lalonde
a2e51b0715 FIX: too few topics/posts notice will only show what needs to be done 2015-09-16 17:12:11 -04:00
Neil Lalonde
f321dd2046 UX: mobile /categories page new and unread styles match other topic lists 2015-09-16 17:12:11 -04:00
Régis Hanol
24f09edbed UX: replace cancel uploading link with icon + fix color (Take 2) 2015-09-16 22:04:48 +02:00
Robin Ward
2546ca3c8e FIX: Remove attributes observer, doesn't work in FF/Safari 2015-09-16 15:36:12 -04:00
Robin Ward
97b608f090 FIX: Allow desktop chrome to scroll to bottom of menu panel 2015-09-16 15:30:40 -04:00
Robin Ward
52f7ab3a06 Revert "UX: replace cancel uploading link with icon + fix color"
This reverts commit 1689f436d9.
2015-09-16 15:15:07 -04:00
Robin Ward
63f0247d21 FIX: Better height estimation / observing for menu panels 2015-09-16 14:46:53 -04:00
Robin Ward
d61cfbe2aa Merge pull request #3773 from tgxworld/fix_composer_bug
FIX: Composer being abandoned when transiting between routes.
2015-09-16 14:34:46 -04:00
Robin Ward
62c20ff5f2 Merge pull request #3760 from riking/signup-cta
Signup cta
2015-09-16 14:33:25 -04:00
Robin Ward
91db481fae Merge pull request #3774 from tgxworld/meta_keys_header
Fixes for headers.
2015-09-16 14:33:08 -04:00
Rafael dos Santos Silva
45a7e200a8 Fix composer for FF14+
Fix the preview for old versions of Firefox.
2015-09-16 15:13:44 -03:00
Guo Xiang Tan
a845e0c498 FIX: Highlight posts was broken. 2015-09-17 01:37:48 +08:00
Guo Xiang Tan
2958b4b0a1 FIX: Don't dismiss dropdown when searching within posts context. 2015-09-17 01:22:19 +08:00
Kane York
390af7118a Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-16 10:06:47 -07:00
Robin Ward
59c628735f Use container for appending views in Discourse.ContainerView 2015-09-16 13:05:22 -04:00
Guo Xiang Tan
685471303a FIX: Don't dismiss headers on modifier keys. 2015-09-17 00:38:05 +08:00
Guo Xiang Tan
a966546843 FIX: Cancel and reopen composer when editing first post. 2015-09-17 00:13:24 +08:00
Régis Hanol
1689f436d9 UX: replace cancel uploading link with icon + fix color 2015-09-16 17:54:09 +02:00
Robin Ward
f427b6639b FIX: Error showing Unread posts 2015-09-16 10:43:36 -04:00
Régis Hanol
5277ec1ac0 FIX: ensure we have a bucket before enabling backups to S3 2015-09-16 15:55:26 +02:00
Arpit Jalan
f2c1dbaa68 FIX: return 422 if the invite is already redeemed 2015-09-16 17:30:00 +05:30
Régis Hanol
cc75890cd4 UX: disable 'Hide results' button when poll is closed 2015-09-16 13:01:08 +02:00
Guo Xiang Tan
28f0a012ca FIX: Composer being abandoned when transiting between routes. 2015-09-16 18:17:57 +08:00
Régis Hanol
468b04db86 FIX: force wrapping on the filename of lightboxed images 2015-09-16 11:58:06 +02:00
Sam
66ec6b6e17 FIX: not counting new/unread on categories 2015-09-16 17:41:53 +10:00
Guo Xiang Tan
5d95b38c65 UX: Disable button while searching. 2015-09-16 14:47:35 +08:00
Sam
afdb15f99f fix search screen looks white 2015-09-16 15:02:57 +10:00
Sam
77895473e5 don't select text on focus 2015-09-16 14:40:44 +10:00
Jude Aakjaer
9cca510944 Add embed/info endpoint for TopicEmbed queries 2015-09-16 03:22:24 +00:00
Sam
31d801ce2c don't blur on autocomplete click 2015-09-16 13:16:08 +10:00
Sam
7db4ddcb66 correct disappering header on mobile compose 2015-09-16 12:50:42 +10:00
Sam
8cb9c348f6 live posts counts is only available to logged in users 2015-09-16 12:27:05 +10:00
Sam
0b2fa2b0af FIX: admin menu rendered at incorrect spot
make sure we don't unsubscribe all events when menu is destroyed
2015-09-16 11:37:56 +10:00
Sam
3215273091 Merge pull request #3771 from riking/category-reorder
Do fix positions upon opening dialog
2015-09-16 11:01:06 +10:00
Sam
ca97b325fd FIX: moderators should not have a link to site settings 2015-09-16 09:46:57 +10:00
Sam
ded23cc9c5 FIX: don't auto select context on mobile 2015-09-16 09:02:53 +10:00
Sam
c9398eaef9 fix comment 2015-09-16 08:55:05 +10:00
Sam
59c12ce35b Stop showing wrench for non admins on topics 2015-09-16 08:51:28 +10:00
Jeff Atwood
a14d7f16c8 fix reply glyph color on mobile editor 2015-09-15 15:39:59 -07:00
Jeff Atwood
0a3388d19f on mobile submit-panel must have width 2015-09-15 15:22:22 -07:00
Jeff Atwood
74da57f77f minor category page style tweaks for mobile 2015-09-15 14:37:14 -07:00
Jeff Atwood
a47a71dd82 fix cancel button alignment on mobile editor 2015-09-15 14:28:31 -07:00
Jeff Atwood
d4db1949a7 fix search help on mobile 2015-09-15 14:22:33 -07:00
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Kane York
2fa801c014 Do fix positions upon opening dialog 2015-09-15 14:06:20 -07:00
Kane York
fc8539cb90 Merge branch 'master' into signup-cta
Conflicts:
	.eslintignore
2015-09-15 13:59:36 -07:00
Robin Ward
24991c4016 FIX: ESLint failure 2015-09-15 16:57:57 -04:00
Neil Lalonde
41025be8f7 add download icon 2015-09-15 16:52:46 -04:00
Kane York
d47f1db2be Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-15 13:52:12 -07:00
Neil Lalonde
b4a724e80a FEATURE: export dashboard reports to csv file 2015-09-15 16:45:10 -04:00
Robin Ward
b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
Kane York
6be78861ca Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/lib/key-value-store.js.es6
2015-09-15 12:26:25 -07:00
Kane York
41721b0898 Rename variables 2015-09-15 12:25:29 -07:00
Kane York
62444b9a13 Fix the visit tracking logic 2015-09-15 12:25:12 -07:00
Régis Hanol
9c740ffa7e UX: top period chooser was misaligned on mobile 2015-09-15 18:33:46 +02:00
Robin Ward
91f3e8e724 For now, restrict whispering to staff only. 2015-09-15 12:29:32 -04:00
Neil Lalonde
721b282d3c Merge pull request #3701 from xfalcox/patch-1
Fix same domains links on subfolder installs
2015-09-15 11:49:09 -04:00
Robin Ward
72f2454290 FIX: Auto close was broken 2015-09-15 11:09:20 -04:00
Régis Hanol
0de00308af FIX: categories' notification_level wasn't serialized when hitting /categories 2015-09-15 14:58:22 +02:00
Régis Hanol
c46269e7ec Merge pull request #3766 from tgxworld/fix_selected_posts_mobile
Fix selected posts mobile
2015-09-15 11:24:15 +02:00
Guo Xiang Tan
6360420aed FIX: Make category combobox in modal take 100% width. 2015-09-15 16:53:49 +08:00
Guo Xiang Tan
9977599ca9 FIX: Input on modal was overflowing. 2015-09-15 16:53:49 +08:00
Guo Xiang Tan
46c93a2687 FIX: Selected posts buttons not clickable. 2015-09-15 16:53:41 +08:00
Arpit Jalan
607265fc28 FEATURE: add users to group via email 2015-09-15 12:36:44 +05:30
Sam
4758144f6a FIX: avoid horizontal scrollbar on narrow windows 2015-09-15 15:35:58 +10:00
Sam
24520937aa FEATURE: improve safari editor hack 2015-09-15 13:09:12 +10:00
Sam
e0562894a8 FEATURE: if there is only one category, don't show the category picker 2015-09-15 10:52:42 +10:00
Neil Lalonde
3ebad3e294 show a dot and reply count for new topics on mobile 2015-09-14 18:56:38 -04:00
Sam
8bcb22f52d Merge pull request #3723 from tgxworld/remove_sequential_rendering_of_time_gap
FIX: Timegap only shows up for sequential posts.
2015-09-15 08:28:45 +10:00
Rafael dos Santos Silva
4e39f9662d Rewrite origin so it matches original behavior
As suggested by @nlalonde
2015-09-14 18:29:39 -03:00
Neil Lalonde
991a36f4f2 always use fetch_stats to get AdminDashboardData data 2015-09-14 16:10:54 -04:00
Robin Ward
a8b3010617 FIX: Pagination was broken for groups 2015-09-14 15:54:48 -04:00
Régis Hanol
edf54979e4 UX: don't show the top period in the navigation bar since it has its own dropdown 2015-09-14 21:54:39 +02:00
Robin Ward
1853829471 FIX: When switching discovery routes, fill the screen if content changes 2015-09-14 13:52:21 -04:00
Neil Lalonde
30999de3e2 add support for reports of 'time to first response' from a set of users 2015-09-14 13:36:54 -04:00
Régis Hanol
48c3fa423a FIX: auto-focus input field on Safari was closing the modal 2015-09-14 12:39:46 +02:00
Régis Hanol
2c06db67a9 fix the build 2015-09-14 10:48:24 +02:00
Régis Hanol
b9a9a91335 FIX: couldn't set 'never' for the default email digest frequency setting 2015-09-14 10:36:25 +02:00
Régis Hanol
bb2ffb7767 Merge pull request #3761 from tgxworld/allow_custom_dates
FIX: Use custom date for redis key in `TopicViewItem.add`.
2015-09-14 08:59:48 +02:00
Guo Xiang Tan
5fb405cca2 FIX: Use custom date for redis key in TopicViewItem.add. 2015-09-14 11:17:28 +08:00
Kane York
a5f906db69 Merge branch 'master' into category-reorder 2015-09-13 19:07:36 -07:00
Sam
447f65890d Merge pull request #3757 from tgxworld/full_page_search
Improvements to full page search.
2015-09-14 12:00:26 +10:00
Sam
f948ee9e26 FIX: ensure letter avatar service uses same algorithm 2015-09-14 09:42:21 +10:00
Guo Xiang Tan
08dccaa874 FIX: Title input validation position. 2015-09-14 00:30:39 +08:00
Jeff Atwood
9ba22b5155 minor embedding css fix 2015-09-13 04:02:58 -07:00
Jeff Atwood
63e96580c4 correct minor default embedding style issues 2015-09-13 03:18:44 -07:00
Guo Xiang Tan
c1deee772b UX: Autofocus when input is empty. 2015-09-13 10:06:21 +08:00
Guo Xiang Tan
2ae0ef0ad9 UX: Select search term when focus returns to search box. 2015-09-13 08:56:40 +08:00
Guo Xiang Tan
b4974f5876 UX: Don't allow search if searchTerm is not valid. 2015-09-13 08:56:20 +08:00
Arpit Jalan
1e6bf67b5b FIX: show category links if category has sub-categories in nojs view 2015-09-13 01:02:00 +05:30
Régis Hanol
1e739e8c96 FIX: move whisper styling to common 2015-09-12 20:44:20 +02:00
Jeff Atwood
4252a2ee1e switch to eye-slash on whisper, similar to unlisted 2015-09-11 16:53:20 -07:00
Neil Lalonde
3b46ec7ae3 visual tweaks for topic lists on mobile 2015-09-11 16:34:37 -04:00
Robin Ward
da4bd6f7e9 Merge pull request #3755 from scossar/category-page-for-mobile
FIX: eliminate horizontal scrolling on category page for mobile
2015-09-11 16:01:48 -04:00
scossar
e5ade5a761 set widths on table cells 2015-09-11 12:28:14 -07:00
Robin Ward
5af0f5f80e FEATURE: Whisper posts 2015-09-11 14:05:21 -04:00
Robin Ward
62cc029886 FIX: Support using enter to change the hash, clicks should update hash 2015-09-11 12:47:44 -04:00
Kane York
42263ac969 use translations (doh) 2015-09-11 09:46:54 -07:00
Kane York
b3913b5692 doh, computed.or 2015-09-11 09:36:03 -07:00
Kane York
fc5e157395 Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
Robin Ward
7454722247 Merge pull request #3747 from scossar/reorder-menu-components-in-markup
FIX: remove 'left: auto' for slide-in menu (required for RTL layouts)
2015-09-11 12:23:16 -04:00
Robin Ward
4f5d42ca69 Merge pull request #3749 from riking/patch-1
FIX: Don't allow editing seeded category security settings
2015-09-11 12:22:58 -04:00
Neil Lalonde
3c9a818a2f fix broken js tests 2015-09-11 12:22:34 -04:00
Kane York
b706c59ab9 Use the json boolean trick 2015-09-11 09:14:45 -07:00
Neil Lalonde
637b110e76 use setter in topic-tracking-state or else get assertion error 2015-09-11 11:38:39 -04:00
Neil Lalonde
4b43edee91 UX: mobile topic list and suggested topics: show new/unread counts OR total post count, not both. 2015-09-11 11:38:39 -04:00
Régis Hanol
18d7c1c75d fix the build - take 2 2015-09-11 15:47:48 +02:00
Régis Hanol
29f25dbf6e fix the build 2015-09-11 15:18:17 +02:00
Régis Hanol
8128abe6b9 ES6ify user preferences controller 2015-09-11 15:10:56 +02:00
Régis Hanol
a28df55518 fix the build 2015-09-11 15:10:56 +02:00
Régis Hanol
93f9dcfcec FIX: don't overwrite custom uploaded avatar when selecting gravatar
FIX: remove unecessary serialized fields
2015-09-11 15:10:56 +02:00
Régis Hanol
569f2815d1 FIX: ensure we still works with cookies off 2015-09-11 15:10:56 +02:00
Régis Hanol
0c58f08207 FIX: profile picture selector 2015-09-11 15:10:56 +02:00
Sam
6437cd0341 FEATURE: add support for generic external avatar services
This changes it so we only ship an avatar template down to the client
it has no magic, all it knows is how to plug in size
2015-09-11 15:10:56 +02:00
Guo Xiang Tan
98e8b16c34 FIX: Broken BasicUserSerializer. 2015-09-11 11:54:08 +08:00
Sam
90d49d1497 correct paths used for external service 2015-09-11 13:18:07 +10:00
Régis Hanol
f6380c66ef oooops 2015-09-11 02:15:45 +02:00
Régis Hanol
2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol
e43034f08f Revert "FEATURE: SVG letter avatars (based on @eviltrout's spike)"
This reverts commit cd77465788.
2015-09-11 00:23:52 +02:00
Régis Hanol
cd77465788 FEATURE: SVG letter avatars (based on @eviltrout's spike) 2015-09-11 00:11:48 +02:00
Kane York
f36dcb6a62 Fix build 2015-09-10 14:21:36 -07:00
Kane York
a9d10f454b Oop 2015-09-10 14:12:08 -07:00
Kane York
d86d4752cb FIX: Don't allow editing seeded category security settings 2015-09-10 14:04:21 -07:00
Kane York
c038758f8c FIX: Several fixes related to category reorder
- Move "New Category" and "Reorder Categories" into a dropdown
 - Always show "New Topic" on categories page, even for admins
 - Make category reorder modal full-height (.full-height-modal)
 - Move category reorder stylesheet out of admin stylesheet
2015-09-10 13:42:10 -07:00
Kane York
0c5fb207e9 FIX: Fix behavior of category reorder dialog 2015-09-10 13:04:25 -07:00
scossar
20c8bb0494 remove hardcoded left: auto 2015-09-10 11:51:47 -07:00
Robin Ward
9224afacaf FIX: Don't put the FAQ as "New" if there is a custom faq_url
If we do this, it's impossible to ever mark it as read.
2015-09-10 14:01:55 -04:00
scossar
1f8328feb5 add code that was accidentally deleted 2015-09-10 09:50:42 -07:00
scossar
d2a177f1dd change menu components position in header 2015-09-10 09:50:42 -07:00
Sam
c5e3be0e71 Merge pull request #3744 from tgxworld/fix_autocomplete_avatar_missing
FIX: Missing avatar in user autocomplete.
2015-09-10 17:35:55 +10:00
Sam
c386158c33 Merge pull request #3745 from tgxworld/add_plugin_outlet
FEATURE: Add a plugin outlet for custom controls.
2015-09-10 17:35:04 +10:00
Sam
abeabfb40f BUG/PERF: Stop shipping PM stats when not needed 2015-09-10 17:18:43 +10:00
Sam
7431c6ac3b FIX: no user card for users with . or - in username 2015-09-10 17:14:34 +10:00
Sam
c845fcb154 PERF: turn 3 queries into 1 2015-09-10 17:07:20 +10:00
Guo Xiang Tan
fcb4eebde1 FEATURE: Add a plugin outlet for custom controls. 2015-09-10 14:50:18 +08:00
Sam
0b9322d16a PERF: remove uneeded data, notification count is pointless
Getting notification count is expensive, no point shipping it to clients
2015-09-10 16:44:42 +10:00
Sam
f6bc46937b PERF: one less query 2015-09-10 16:27:27 +10:00
Sam
cd8d82aa31 correct file size and add note about impending breakage of image_optim 2015-09-10 14:37:46 +10:00
Guo Xiang Tan
60b9985158 FIX: Missing avatar in user autocomplete. 2015-09-10 12:30:21 +08:00
Régis Hanol
38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward
ca8046c7c3 FIX: Switch out topic template if the user hasn't changed it 2015-09-09 16:21:01 -04:00
Robin Ward
3ceadbd5b8 FIX: Allow qunit tests to run in browser by stubbing new functionality 2015-09-09 16:20:36 -04:00