Commit graph

9920 commits

Author SHA1 Message Date
Robin Ward
4986314122 Add "more..." to emoji popup in composer. 2015-09-29 16:16:52 -04:00
Régis Hanol
321d1bd0a9 FIX: allow for more than 1 markdown editor instances 2015-09-29 20:21:47 +02:00
Robin Ward
3cd23b45af PERF: Only render 30 site settings in "All" when filtering 2015-09-29 13:34:09 -04:00
Robin Ward
8e86dbe560 FIX: Avatars weren't tappable on mobile 2015-09-29 12:58:19 -04:00
Régis Hanol
54d6d24cbf FIX: timing issue with edits and cook post processing 2015-09-29 18:51:26 +02:00
Robin Ward
3aaa9a8722 Restrict access to the Email admin tab to Admins 2015-09-29 12:37:46 -04:00
Arpit Jalan
ecd93f7efb FIX: paginated category and topic pages should not have canonical tag 2015-09-29 17:23:49 +05:30
Jeff Atwood
980c0196a8 FIX: similar topics lacked badge left margin 2015-09-29 02:14:44 -07:00
Sam
bc8c6d1a97 PERF: optimise new/unread query
This is part 1 of the work, need some internal cleanup to follow

new query seems to handle very large sets very efficiently
2015-09-29 11:55:09 +10:00
Robin Ward
f734a0731e Use capabilities object for browser sniffing 2015-09-28 11:44:37 -04:00
Régis Hanol
a7f2741674 FIX: only show the backups link in dashboard to administrators 2015-09-28 16:51:12 +02:00
Régis Hanol
2ca8d08acb FIX: only display 'show settings' buttons to admins 2015-09-28 16:23:41 +02:00
Régis Hanol
0f49224a60 FIX: don't show the 'new topics' banner in Top 2015-09-28 12:03:37 +02:00
Sam
f269514b6f FIX: Android is bad at firing touchend, which makes quoting impossible 2015-09-28 18:29:08 +10:00
Sam
6c37b26b24 Correct site spec 2015-09-28 16:50:24 +10:00
Sam
1061a9ed06 PERF: introduce full cache for site json when anon 2015-09-28 16:50:24 +10:00
Sam
181ab89485 PERF: introduce fragment caches in site serializer 2015-09-28 16:50:24 +10:00
Sam
edfd870249 PERF: omit needless query 2015-09-28 16:50:24 +10:00
Sam
aefedfafea PERF: increase caching of category descriptions 2015-09-28 16:50:24 +10:00
Sam
3b4e52cb36 FEATURE: fragment cache for use with serializers 2015-09-28 16:50:24 +10:00
Sam
722e1fc4d0 PERF: avoid needless queries on non private messages 2015-09-28 16:50:24 +10:00
Sam
e5c5744dd5 FIX: including info on post queue for non staff 2015-09-28 16:50:24 +10:00
Sam
855419064c FIX: don't use Safari hack on Windows Phone 2015-09-28 16:50:24 +10:00
Arpit Jalan
f26bd48ba0 UX: do not default link title tag to label 2015-09-28 12:02:32 +05:30
Arpit Jalan
193f04842e FIX: permalinks should work for Discourse categories 2015-09-27 12:14:04 +05:30
Jeff Atwood
0d69a827fd correct composer top bar spacing 2015-09-25 17:32:46 -07:00
Jeff Atwood
a8d6b5ed6e loosen up composer title spacing 2015-09-25 12:56:53 -07:00
Robin Ward
1e2f2a244c FIX: Clicking Reply with quoted text should work like quote button
Before this patch, it would ask you if you were sure you wanted to
cancel your draft even if you didn't input anything.
2015-09-25 14:30:20 -04:00
Robin Ward
43c7320f55 FIX: Allow really long links to work 2015-09-25 14:07:20 -04:00
Robin Ward
c4b1b848bc More extension points for login buttons, used by OAuth2 plugin 2015-09-25 11:29:40 -04:00
Régis Hanol
9e2934f635 FIX: replaceMarkdown should be smart about current caret position 2015-09-25 17:21:44 +02:00
Régis Hanol
d5712f051e Merge pull request #3816 from cpradio/small-action-responsiveness
Make the small-action width responsive on desktops
2015-09-25 15:25:50 +02:00
cpradio
e47e4f7169 Make the small-action width responsive on desktops 2015-09-25 08:34:34 -04:00
Sam
57870b970d correct hack and move to oneboxer 2015-09-25 20:14:53 +10:00
Régis Hanol
aee2c535bd Revert "UX: Topic link should not take full width." 2015-09-25 09:49:04 +02:00
Jeff Atwood
42f252d3ba make bar and bullet drop-down cat fullwidth 2015-09-25 00:26:41 -07:00
Sam
a890d45cb6 FIX: disable cloaked view while running ios positioning hack 2015-09-25 16:42:57 +10:00
Sam
150ad01111 improve UX remove username said if we have a title 2015-09-25 14:18:38 +10:00
Sam
855370b242 Merge pull request #3813 from tgxworld/fix_link
UX: Topic link should not take full width.
2015-09-25 13:37:02 +10:00
Sam
e5234b38b8 FEATURE: add title expansion for off topic quotes 2015-09-25 13:35:14 +10:00
Sam
7ca75a88ce UX: always show logout link in user menu, use CSS to hide
.menu-panel .logout-link {display: none}
2015-09-25 12:15:34 +10:00
Guo Xiang Tan
f7ae9a8187 UX: Topic link should not take full width. 2015-09-25 08:32:49 +08:00
Sam
8da8999aa1 Revert "FIX: properly filter badges when they're on a whisper"
This reverts commit 6b07575632.
2015-09-25 10:20:47 +10:00
Sam
2422289c8b FIX: whispers should not be revealed in reply to, or reply expansion
FEATURE: mark whisper as experimental
FIX: badges should never apply to whispers
2015-09-25 10:16:19 +10:00
Régis Hanol
6b07575632 FIX: properly filter badges when they're on a whisper 2015-09-25 00:30:29 +02:00
Régis Hanol
fb62a7c0c3 FIX: only downsize user card & profile backgrounds 2015-09-24 21:04:06 +02:00
Robin Ward
a24afe30d7 FIX: Reply as new topic was broken when you quoted something 2015-09-24 14:44:15 -04:00
Régis Hanol
7e583a65a8 Merge pull request #3811 from tgxworld/fix_related_links_taking_up_full_width
UX: Fix links in gutter taking up full width.
2015-09-24 20:32:11 +02:00
Guo Xiang Tan
fe8a93bdc0 UX: Fix links in gutter taking up full width. 2015-09-25 02:22:15 +08:00
Robin Ward
3620c8c85e Move descriptions for rate limiting errors into the exception 2015-09-24 13:52:46 -04:00
Robin Ward
a1877e8292 FIX: max_topics_per_day was not working 2015-09-24 13:52:45 -04:00
Régis Hanol
a8081c8dd0 FIX: notifications & messages were missing from user profile 2015-09-24 19:04:29 +02:00
Régis Hanol
f29cd5f192 Merge pull request #3808 from gschlager/i18n-patch4
FIX: Use translated badge name and slug within notifications
2015-09-24 09:46:34 +02:00
Régis Hanol
3acb00c2a3 Merge pull request #3809 from gschlager/patch1
FIX: Only enabled badges can be granted
2015-09-24 09:45:54 +02:00
Sam
e817267dd2 FIX: when replying to a expanded reply, correctly attribute author 2015-09-24 15:32:09 +10:00
Sam
ffb8cb8cac FEATURE: remove dependency of Redcarpet
PERF: cache fancy_title in topics table

New pure ruby implementation is far more flexible and easier to amend.
2015-09-24 13:37:53 +10:00
Gerhard Schlager
7d5e2d46c5 FIX: Only enabled badges can be granted
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00
Gerhard Schlager
445bd033d2 FIX: Use correct badge slug within notifications 2015-09-24 00:49:13 +02:00
Gerhard Schlager
25e9aa7653 FIX: Use user's locale for badge notifications 2015-09-24 00:33:33 +02:00
Neil Lalonde
690f839619 FIX: uncategorized topics list is 404 page when allow_uncategorized_topics is turned off 2015-09-23 15:21:36 -04:00
Robin Ward
4d6c99cb3d FIX: On mobile flags could cover the topic map 2015-09-23 14:43:15 -04:00
Neil Lalonde
5ca26a7707 FEATURE: add site setting use_admin_ip_whitelist to enable/disable the whitelisting of admins by IP address 2015-09-23 12:15:08 -04:00
Robin Ward
7d4dbc9962 Give example values for CSS rules in embedding 2015-09-23 12:10:15 -04:00
Robin Ward
6b48647fc7 FIX: Double load sometimes on topic lists 2015-09-23 11:48:58 -04:00
Robin Ward
dcdf76a662 FIX: Category Logo preview should not repeat 2015-09-23 11:34:23 -04:00
Régis Hanol
ef0804fbb0 FIX: only disable the composer grip when the device is touch-only 2015-09-23 16:05:41 +02:00
Régis Hanol
e37ecb9d2f FIX: pikaday wasn't working when using the mouse with a touch-enabled monitor 2015-09-23 15:35:22 +02:00
Arpit Jalan
07ead44187 UX: make old twitter oneboxes look good 2015-09-23 18:02:28 +05:30
Régis Hanol
36309e50cc Merge pull request #3767 from tgxworld/track_user_profile_views
Track user profile views
2015-09-23 11:38:18 +02:00
Régis Hanol
64ef5f79bd Merge pull request #3788 from getabetterpic/fix-create-topic-when-insufficient-category-permissions
Fix bug where create topic is suggested when insufficient permissions
2015-09-23 11:36:58 +02:00
Régis Hanol
ae5134f88e Merge pull request #3791 from gschlager/i18n-patch2
FIX: Slugs for badges
2015-09-23 11:35:38 +02:00
Régis Hanol
ed717ccb6e Merge pull request #3794 from tgxworld/add_web_manifes
FEATURE: Add web manifest for Chrome users.
2015-09-23 11:35:14 +02:00
Régis Hanol
1aad58b642 Merge pull request #3781 from tgxworld/feature_log_category_settings
Feature log category settings
2015-09-23 11:34:08 +02:00
Guo Xiang Tan
a253bf8698 FIX: Don't subscribe to Desktop Notifications on mobile. 2015-09-23 16:08:38 +08:00
Sam
3853e3cfdc PERF: omit 2 queries on every full page load 2015-09-23 16:47:17 +10:00
Sam
613761d1cd FEATURE: upgrade to Rails 4.2.4 2015-09-23 15:24:30 +10:00
Sam
a61765b9e4 PERF: improve perf of initial payload
also reduce  querying in topic query
2015-09-23 13:13:50 +10:00
Jeff Atwood
bcb070f1ca FIX: progress bar popup was misaligned 2015-09-22 16:36:15 -07:00
scossar
9a93a43905 reduce z-index 2015-09-22 11:01:43 -07:00
Robin Ward
79beb9f409 FIX: You could set reply_to_post_number when replying as a new topic 2015-09-22 13:32:19 -04:00
Robin Ward
9f89aefdd3 FIX: Don't update the last poster when a whisper is made 2015-09-22 12:23:37 -04:00
Régis Hanol
e65ddc6c25 FIX: immediately remove upload placeholder when cancelling the upload
FIX: prevent post submit when something is uploading
2015-09-22 18:16:53 +02:00
Régis Hanol
6a4b9a3d38 FIX: remove upload placeholder when cancelling the upload 2015-09-22 17:58:12 +02:00
Régis Hanol
a6934a200e FIX: don't use the filename for the upload placeholder 2015-09-22 17:45:55 +02:00
Sam
a0524ea4d1 FIX: render canonical URLs 2015-09-22 09:37:52 +10:00
Régis Hanol
4f7140fb32 FIX: properly filter whispers in user stream 2015-09-22 00:50:52 +02:00
Neil Lalonde
2ae032c9b0 FIX: categories page would sometimes show no topics, even if there are some visible topics to show 2015-09-21 18:13:14 -04:00
Sam
6e384cd4c7 highlight title in full page search 2015-09-22 07:39:44 +10:00
Robin Ward
b6155889d5 FIX: Respect sort order when user fields are shown publically 2015-09-21 15:26:11 -04:00
Robin Ward
cc0f76e60a Merge pull request #3798 from riking/patch-6
FIX: :( page was never showing the URL
2015-09-21 14:45:42 -04:00
Kane York
e36c0966d0 FIX: :( page was never showing the URL 2015-09-21 11:38:37 -07:00
Régis Hanol
fe656fb04d FIX: select appropriate period when redirecting to top 2015-09-21 20:28:20 +02:00
Robin Ward
b49e9fb174 FIX: Load order of TopicTrackingState was off 2015-09-21 14:15:25 -04:00
Robin Ward
9f6ce653a9 FIX: Selecting posts was broken on IOS9 iPad 2015-09-21 13:50:05 -04:00
Régis Hanol
af7f00099f FIX: uploading a file with a non-ASCII character wasn't removing the placeholder 2015-09-21 16:17:25 +02:00
Arpit Jalan
4f31745e10 UX: improve twitter onebox 2015-09-21 17:40:17 +05:30
Guo Xiang Tan
e3d5cc54a1 UX: Disable button when Notification permission is denied. 2015-09-21 18:14:13 +08:00
Sam
45ab42dea9 UX: upgrade font awesome to 4.4 2015-09-21 12:46:58 +10:00
Guo Xiang Tan
71eab8f4df FEATURE: Add web manifest for Chrome users. 2015-09-21 10:34:03 +08:00
Sam
5a9517af5e correct build failure 2015-09-21 10:57:48 +10:00
Sam
f74c21d2e7 FIX: tracking of new/unread/latest in category/subcategory was broken 2015-09-21 10:36:20 +10:00
Sam
da23735062 FEATURE: Add title notification to topics 2015-09-21 08:28:45 +10:00
Sam
330a5e80cd FIX: regression, not updating incoming count in title 2015-09-21 08:13:12 +10:00
Régis Hanol
a3831a7003 FIX: uploading an animated user card/profile background was converted to a still image 2015-09-20 22:01:03 +02:00
Gerhard Schlager
4cb070f28c FIX: Use translated badge names for slugs
FIX: Use configured slug generater method for badges
2015-09-19 22:41:48 +02:00
Gerhard Schlager
caa1a8231b FIX: Show translated badge name 2015-09-19 21:33:20 +02:00
Arpit Jalan
0717517332 UX: show user full name on admin profile 2015-09-19 18:08:04 +05:30
getabetterpic
519a50e3a5 Fix bug where create topic is suggested when insufficient permissions
When a user is viewing a category they do not have permission to create
a topic in, they are still prompted to create a topic if they are at the
bottom of the topics. This fixes the issue, as well as disabling the
New Topic button if they don't have permission to create a topic for
that category.
2015-09-18 19:27:49 -04:00
Robin Ward
71bac0c342 Add page title and charset to embedded HTML 2015-09-18 16:12:56 -04:00
Robin Ward
c1d321369b We don't need to allow track and meter 2015-09-18 15:37:56 -04:00
Robin Ward
8489118811 FIX: Cropped embedding footer 2015-09-18 15:36:40 -04:00
Jeff Atwood
32fd5bc696 minor fixes to embed HTML 2015-09-18 12:18:54 -07:00
Robin Ward
d062d64278 FIX: Sometimes posts can't be created. Don't raise errors in that case. 2015-09-18 15:07:31 -04:00
Robin Ward
40934e595a FIX: Some RSS feeds do unsafe redirects
There are people who have RSS feeds set up that do HTTPS -> HTTP
redirects which throw errors. Since RSS feeds are all configured
by admins I think it's OK if they allow an unsafe redirect as the
content is public anyway. This will reduce many server side errors.
2015-09-18 13:25:09 -04:00
Robin Ward
e7af8d2239 FIX: Queued Posts should be ordered by created_at 2015-09-18 13:11:57 -04:00
Robin Ward
c9e8dd87e5 Merge pull request #3786 from gschlager/i18n-sidekiq
FIX: Load fallback locales in Sidekiq jobs
2015-09-18 13:00:33 -04:00
Robin Ward
c1a9e32b48 FIX: When recovering a post, it should recreate user actions 2015-09-18 12:48:43 -04:00
Gerhard Schlager
619d5b1bc1 FIX: Load fallback locales in Sidekiq jobs 2015-09-18 18:21:27 +02:00
Robin Ward
cc516d3be0 Merge pull request #3743 from sitepoint/topic-embed-info
Add embed/info endpoint for TopicEmbed queries
2015-09-18 11:00:01 -04:00
Arpit Jalan
7abd4687e2 FIX: redirect to original URL when logging in via OAuth 2015-09-18 18:34:57 +05:30
Jeff Atwood
f37f6f7673 minor embed style tweak 2015-09-18 02:44:13 -07:00
Jeff Atwood
01782affe2 clearer call to action in embed CSS styles 2015-09-18 00:40:04 -07:00
Jeff Atwood
a58b6c5ac0 Merge pull request #3785 from riking/410
FIX: Return 410 Gone for deleted topics you could otherwise see
2015-09-18 00:21:27 -07:00
Sam
a4ace3f08e FEATURE: ui for ordering search results in full page mode 2015-09-18 17:16:53 +10:00
Sam
d97e78b942 FIX: jitter in ui when expanding select 2 2015-09-18 17:16:53 +10:00
Kane York
c9e4745fe8 FIX: Return 410 Gone for deleted topics you could otherwise see 2015-09-18 00:14:43 -07:00
Guo Xiang Tan
74ca8c3318 UX: Allow users to open search in new tab. 2015-09-18 11:14:56 +08:00
Guo Xiang Tan
f39b9124b6 FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
Guo Xiang Tan
c29b7ce498 FIX: Set saving to false about model has been saved. 2015-09-18 10:52:49 +08:00
Guo Xiang Tan
25c7450ea7 Use existing function to extract error message. 2015-09-18 10:52:49 +08:00
Sam
086d31d53b UX: when on full page search header search should not pop open
fix `/` handling in full page search to highlight search term
2015-09-18 12:20:59 +10:00
Sam
7067d32c33 protect against bad data 2015-09-18 11:27:56 +10:00
Sam
287411525a PERF: add missing index on group_users 2015-09-18 10:43:53 +10:00
Sam
c1ecd6f4ce update annotations 2015-09-18 10:41:10 +10:00
Jeff Atwood
7468f85818 Merge pull request #3783 from scossar/fix-comment-in-menu-panel-scss
FIX: remove incorrect comment and rule from menu-panel.scss
2015-09-17 14:46:55 -07:00
Jeff Atwood
0dc11e3a26 remove useless extra <div> around topic-avatar 2015-09-17 14:30:28 -07:00
scossar
6b1eb8df8f remove comment, remove unused rule 2015-09-17 14:19:38 -07:00
Robin Ward
4eaaf4198c FIX: Liking a post shouldn't contract who liked it 2015-09-17 16:29:17 -04:00
Neil Lalonde
0aee7b8211 move age beside title on mobile categories page 2015-09-17 15:25:37 -04:00
Régis Hanol
07e7b07b63 FIX: refreshing gravatar wasn't working 2015-09-17 19:42:44 +02:00
Robin Ward
b45af1d6c8 FIX: Replies to whispers should default to whispers 2015-09-17 11:48:37 -04:00
Robin Ward
0a78cdbd83 FIX: Clicking users in Private Messages Map should show card 2015-09-17 11:38:21 -04:00
Robin Ward
901380224b Merge pull request #3775 from xfalcox/patch-2
Fix composer for FF14+
2015-09-17 10:47:35 -04:00
getabetterpic
87725206cd Fix bug when adding new custom group
When adding a new group, if Delete was clicked before saving the
group, the modal would come up, but the Yes confirmation would
do nothing. This fixes that by taking an approach similar to the
Badges and checks to see if the Group is new, and if it is, just
returns to the index instead of invoking the confirm modal.

This also fixes the redirect after saving a new Group.
2015-09-17 10:23:58 -04:00
Régis Hanol
28d3260b30 Merge pull request #3780 from tgxworld/fix_mistake
FIX: Only cancel composer for when editing first post.
2015-09-17 09:58:46 +02:00
Sam
183d72f2e9 correct composer in iPad landscape 2015-09-17 17:19:50 +10:00
Jeff Atwood
518262ce58 allow wider mobile header 2015-09-17 00:17:35 -07:00
Jeff Atwood
0627a58b8b FIX: too much whitespace at bottom of mobile posts 2015-09-17 00:00:53 -07:00
Jeff Atwood
0969bd0f0d tighten up post spacing on mobile 2015-09-16 23:48:15 -07:00
Sam
527c9158eb we must hide the header for iPad 2015-09-17 13:19:08 +10:00