Commit Graph

10545 Commits

Author SHA1 Message Date
Sam 0c5d0ddb1b FIX: defer requires to avoid future dependencies 2015-11-21 00:43:41 +11: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 f5b34d5f53 FEATURE: Admin interface for editing email templates 2015-11-19 16:39:34 -05:00
Arpit Jalan 711a7a146c FIX: clear draft when creating a new topic 2015-11-19 23:15:19 +05:30
Sam 09bedfd4c0 Make DISCOURSE_NO_CONSTANTS work in anon for home page 2015-11-20 00:29:56 +11:00
Arpit Jalan cf389e0137 FIX: search header does not require login for mobile 2015-11-19 14:33:45 +05:30
Sam 88f1a8f0b1 Merge pull request #3821 from mpalmer/letter-avatar-proxy
Proxy letter avatars by default
2015-11-19 20:02:16 +11:00
Sam 116c2be6c7 Merge pull request #3905 from scossar/rtl-d-editor-modal
FIX: check for site direction before positioning d-editor-modal
2015-11-19 20:00:56 +11:00
scossar 712b2cc435 check for direction 2015-11-18 13:39:58 -08:00
Régis Hanol 31a54377be staged users automatically watches all topics they participates in 2015-11-18 22:24:46 +01:00
Régis Hanol ff10eb32a6 don't return staged users in mentions 2015-11-18 20:57:49 +01:00
Robin Ward 84a50a1260 FIX: Keyboard handling regression 2015-11-18 12:35:17 -05:00
Arpit Jalan 0ede6b5ed6 FIX: sub-categories were listed in parent category dropdown 2015-11-18 15:52:36 +05:30
Robin Ward 1be4b6a8f5 Refresh I18n customizations on change 2015-11-17 16:15:09 -05:00
Robin Ward 3282aec792 Merge pull request #3903 from gschlager/keyboard-patch1
FIX: Pressing Ctrl+F twice should close Discourse search window
2015-11-17 14:38:14 -05:00
Gerhard Schlager 2d1c21755f FIX: Pressing Ctrl+F twice should close Discourse search window 2015-11-17 20:31:00 +01:00
Robin Ward 41e722b8bf FIX: Avoid double load on discovery model change 2015-11-17 14:08:33 -05:00
Robin Ward 8dc0fa97d4 Better behavior When inserting a link with no description 2015-11-17 13:26:55 -05:00
Robin Ward bb76c389fd Merge pull request #3817 from gschlager/locale-pluralization
FIX: Pluralizations in English locale files
2015-11-17 12:35:24 -05:00
Régis Hanol 92ba6125c4 FEATURE: new 'automatically_unpin_topics' user preference 2015-11-17 18:21:40 +01:00
Régis Hanol 4ec29f71f1 Merge pull request #3902 from tgxworld/fix_inconsistent_border
UX: Fix misaligned topic list border.
2015-11-17 12:26:23 +01:00
Guo Xiang Tan a4fec28b52 UX: Fix misaligned topic list border. 2015-11-17 19:22:54 +08:00
Guo Xiang Tan e56b3b6a38 UX: Focus composer input after adding text. 2015-11-17 16:42:26 +08:00
Régis Hanol a0834d17b2 Merge pull request #3898 from gschlager/i18n-patch6
UX: Use localized date format in digest email
2015-11-16 11:26:20 +01:00
Gerhard Schlager a00c373b6f UX: Show translated modifier keys in editor shortcuts 2015-11-14 23:13:22 +01:00
Arpit Jalan c9c083108a FIX: show error when user already exists in group 2015-11-15 01:06:31 +05:30
Robin Ward 060ce9bf2a FEATURE: Overwrite server side I18n keys with API 2015-11-13 16:35:02 -05:00
Robin Ward 3720783c1b Refactor to our own Discourse I18n backend
This removes some monkey patches and makes testing easier.
It will also support database backed I18n changes.
2015-11-13 16:35:02 -05:00
Gerhard Schlager 4686383512 UX: Use localized date format in digest email 2015-11-13 21:45:52 +01:00
Gerhard Schlager 6e33a21a7a FIX: Replace invalid pluralizations in locale files 2015-11-13 21:25:15 +01:00
Régis Hanol 43614439e6 FEATURE: can take over a staged account 2015-11-13 19:07:28 +01:00
Arpit Jalan a682ec9444 FIX: handle private category permission error 2015-11-13 23:22:05 +05:30
Robin Ward d993f70ed3 FIX: Don't trigger browser keyboard events when d-editor intercepts 2015-11-13 12:31:55 -05:00
Robin Ward 3939331dec FIX: Staff was getting 500 when editing post in deleted topic 2015-11-13 11:35:23 -05:00
Neil Lalonde 6b1cc8d486 FIX: hrefs in hamburger menu were wrong on subfolder installs 2015-11-12 14:39:38 -05:00
Régis Hanol e5f8e20914 Merge pull request #3897 from scossar/admin-nav-position
FIX: position admin-nav absolutely
2015-11-12 19:18:50 +01:00
Régis Hanol 5f33a81b1c FEATURE: add 'navigation-categories' class on 'body' when visiting /categories 2015-11-12 19:03:43 +01:00
scossar 66ed4b6db9 position admin-nav absolutely 2015-11-12 10:01:12 -08:00
Régis Hanol 3c2486e2ba FIX: compare UTC dates to schedule backups 2015-11-12 18:35:03 +01:00
Robin Ward ea29e1c693 FIX: Use proper `replaceState` when updating a location hash 2015-11-12 12:03:25 -05:00
Régis Hanol a911d93885 remove spoiler-related dialect/whitelists since there's a new spoiler dialect (cf. discourse-spoiler-alert plugin) 2015-11-12 17:55:27 +01:00
Régis Hanol de95573d23 FEATURE: new 'backup_with_uploads' site setting 2015-11-12 16:23:59 +01:00
Robin Ward e20c2726df FIX: Don't use mutationObserver in testing mode. Can hang Phantom 2015-11-12 10:15:24 -05:00
Régis Hanol 72a7bd38e1 FEATURE: new 'backup_time_of_day' site setting 2015-11-12 16:14:49 +01:00
Régis Hanol 16f509afb9 FIX: enforce 'allow_uploaded_avatars' & 'sso_overrides_avatar' server-side 2015-11-12 10:26:45 +01:00
Arpit Jalan 069516f4b4 Merge pull request #3896 from tgxworld/fix_emoji_modal
Some fixes to Emoji modal.
2015-11-12 12:44:19 +05:30
Arpit Jalan 06c11a3235 FIX: do not include word 'Topics' in title of category pages for Googlebot 2015-11-12 12:36:32 +05:30
Arpit Jalan fcca194883 UX: staff color on posts should be consistent on mobile and desktop 2015-11-12 11:12:33 +05:30
Guo Xiang Tan bd09faaaed FIX: Emoji modal triggered from "more" was broken. 2015-11-12 10:24:23 +08:00
Guo Xiang Tan 6a69d79def FIX: Emoji modal height was too short on mobile. 2015-11-12 10:19:33 +08:00
Robin Ward 5f948a35c6 FIX: Don't scroll to the bottom when inserting in the middle 2015-11-11 16:39:55 -05:00
Robin Ward ff85fa2a98 FIX: Remove emoji shortcut. Was conflicting with Euro symbol. 2015-11-11 15:33:21 -05:00
Robin Ward ec02b147b0 FIX: Combobox not working with fixed element on iPad 2015-11-11 14:44:03 -05:00
Robin Ward 393a05ed9e FIX: Emoji window was too big on mobile 2015-11-11 14:21:23 -05:00
Robin Ward db5f8857cf FIX: More iPad focus issues with new composer 2015-11-11 14:01:13 -05:00
Arpit Jalan fb375a04f9 FIX: topic progress bar was hidden behind youtube embed header on mobile 2015-11-11 18:13:36 +05:30
Arpit Jalan 6243a7ad07 UX: show login screen when anon tries to unsubscribe topic 2015-11-11 11:53:24 +05:30
Robin Ward 42bf8151b2 FIX: Regressed editor functionality - scroll position sync 2015-11-10 16:07:18 -05:00
Robin Ward 8eee0cf0ca FIX: Mentioning was broken when username ended with an underscore 2015-11-10 15:25:12 -05:00
Robin Ward fa27f0a2ea FIX: `d-editor` wasn't properly debouncing updates 2015-11-10 15:10:54 -05:00
Robin Ward afe9f90f2b FIX: iPad focusing on the title was messing everything up 2015-11-10 14:33:15 -05:00
Robin Ward 395d01c5f9 FIX: Have the preview refreshed event fire by `decorateCooked` 2015-11-10 13:26:12 -05:00
Robin Ward f85d848649 Remove a bunch of old deprecated code 2015-11-10 13:09:05 -05:00
Robin Ward b05f6ddbe1 FIX: Add back in footer padding. iPad is broken for other reasons. 2015-11-10 12:55:21 -05:00
Régis Hanol 1651c8c2e7 remove 'console.log' 2015-11-10 16:30:39 +01:00
Robin Ward a7d87d1530 Merge pull request #3891 from cpradio/fix-selected-link-text
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 16:24:07 -05:00
cpradio 8f39f25cad FIX: Use selected text in the link if text is already selected, otherwise, put the URL 2015-11-09 15:29:19 -05:00
scossar 532c7c15c1 add plugin outlet 2015-11-09 11:13:24 -08:00
Robin Ward 6eb83a3d00 FIX: Tweak the mutationObserver to respect attributes.
To avoid crashing Firefox, it checks that the values actually changed.
This eliminates a bug where whitespace sometimes appeared in an
expanded menu.
2015-11-09 13:25:50 -05:00
Robin Ward d7ee074837 FIX: Should blur the field when closing the progress widget 2015-11-09 12:36:48 -05:00
Robin Ward a33c2fa165 FIX: Reply and new Topic broke with new composer 2015-11-09 12:28:58 -05:00
Régis Hanol 7d3be0f8f1 forgot password on a staged account does nothing 2015-11-09 17:37:33 +01:00
Régis Hanol 78de89f7a1 FIX: PullHotlinkedImages was messing with URL when using Markdown references 2015-11-09 16:37:51 +01:00
Régis Hanol 1ac0c97c81 fix ESLINT 2015-11-09 15:14:14 +01:00
Régis Hanol d541018bb2 FIX: automagic image downsizing wasn't working for GIFs... 2015-11-09 15:09:08 +01:00
Sam Saffron 6dd4bc7d57 FEATURE: support group owner, capable of controlling group membership
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members

Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Régis Hanol 13bf6a6d7b UX: move 'new dot' in mobile topics lists at the end of the topic title 2015-11-09 11:24:19 +01:00
Sam 9f56381b0b PERF: Shrink mobile payload, don't render for noscript on mobile 2015-11-09 14:55:17 +11:00
Robin Ward 1bcdade45f ESLint fix 2015-11-07 18:43:18 -05:00
Robin Ward 682a3cdfec FIX: Some iPad fixes for the new composer 2015-11-07 18:38:44 -05:00
Sam Saffron ffa523a543 FIX: when moving posts, retain creator and date from OP 2015-11-07 15:17:47 +11:00
Robin Ward ca50252f77 UX: Dim the composer buttons like they used to be 2015-11-06 19:10:22 -05:00
Robin Ward 52579179bd FIX: Broken tests in phantom, not in browser 2015-11-06 16:44:38 -05:00
Robin Ward e2b5919579 FIX: Don't normalize URLs before fetching them, only for saving them 2015-11-06 16:25:11 -05:00
Robin Ward 355215ca91 FIX: Couldn't collapse validation messages 2015-11-06 16:03:34 -05:00
Robin Ward 0f9a009982 FIX: Composer text area height on mobile 2015-11-06 15:51:21 -05:00
Robin Ward 8ad46c1ed7 FIX: Weirdly displayed link dialog in composer 2015-11-06 15:45:04 -05:00
Robin Ward 3438194280 FIX: Remove hairline below composer buttons 2015-11-06 15:42:56 -05:00
Robin Ward 15931fce1e FIX: Allow us to insert things between words. 2015-11-06 15:40:52 -05:00
Robin Ward cd1b83997b FIX: Weird UX with `d-editor` for topic templates 2015-11-06 15:10:28 -05:00
Robin Ward e2a663bff1 Merge pull request #3812 from gwwar/emoji-embed
FIX: allow emoji class when crawling embedded content
2015-11-06 14:52:59 -05:00
Robin Ward 8ba7c06b7d Merge pull request #3735 from riking/patch-4
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -05:00
Régis Hanol acecfeb37f Add 'staged' boolean to User 2015-11-06 19:19:13 +01:00
Régis Hanol 6b197179c9 FEATURE: new 'automatically_unpin_topics' site setting 2015-11-06 17:12:12 +01:00
Robin Ward d569a4e418 FIX: Upload modal was broken 2015-11-06 10:35:26 -05:00
Robin Ward 47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Régis Hanol 86f76e5b4d FIX: better plugin emojis API 2015-11-06 15:02:40 +01:00
Régis Hanol 30eaa0e1c5 FIX: delete spammer wasn't working in /admin/flags 2015-11-06 11:04:10 +01:00
Matt Palmer af4a48a67c Use Discourse.current_hostname
Much cleaner.
2015-11-06 14:13:44 +11:00
Matt Palmer c09f345cff Proxy letter avatars by default
On sites that don't otherwise configure an avatar fallback, Discourse will
now tell the client to get its letter avatars from a location which nginx
proxies to the centralised `avatars.discourse.org` service.  This alleviates
privacy concerns, whilst still providing some degree of performance benefit
(no need for every site to delay avatar response by 300ms for image
rendering).

It is still possible to gain the benefits of global image caching and the
lower latency of requesting directly from a CDN, by explicitly changing the
`external_system_avatars_url` site setting to
`https://avatars.discourse.org/letter/{first_letter}/{color}/{size}.png`.
2015-11-06 14:13:44 +11:00
kerryliu b7803fc68e FIX: allow emoji class when crawling embedded content, add rspc-html-matchers 2015-11-05 18:51:26 -08:00
Sam 85daf56ed4 Merge pull request #3839 from cpradio/admin-nav-mobile-love
UX: Add mobile love to admin-nav for Plugin Pages
2015-11-06 13:31:59 +11:00
Régis Hanol 13e96ffd3b FEATURE: add support for custom emojis via plugins 2015-11-05 17:25:26 +01:00
Arpit Jalan 3bf6617ff6 UX: lighten background of Suggested Topics pop-up 2015-11-05 17:50:08 +05:30
Sam Saffron 03db51877e fix styling 2015-11-05 21:19:54 +11:00
Sam Saffron 6e5bfa62d3 UX: improve show badge page on mobile 2015-11-05 20:51:05 +11:00
Régis Hanol 7e255a151b PERF: only use fulltext when searching for a user (I checked, it's enough) 2015-11-04 23:04:37 +01:00
Régis Hanol ef2f77339a FIX: use '#main' height to check whether screen is full or not 2015-11-04 19:41:12 +01:00
Régis Hanol fddf0d9191 UX: no avatar for pinned topics on mobile topics list 2015-11-04 15:51:00 +01:00
Jeff Atwood 131ae8486b slightly larger reply count numbers on mobile 2015-11-03 15:10:21 -08:00
Jeff Atwood 9effd92f73 mobile topic status was aligned incorrectly 2015-11-03 14:59:42 -08:00
Robin Ward c5ed8f456e FIX: Unicode wasn't transpiled properly 2015-11-03 15:10:39 -05:00
Robin Ward d7d88f816c FIX: Don't use transform for the emoji popup, it blurs it 2015-11-03 14:22:24 -05:00
Robin Ward bb21902954 Add keyboard shortcuts back to d-editor 2015-11-03 14:01:26 -05:00
Robin Ward 4aa601414d Support for titles on d-editor buttons 2015-11-03 14:01:26 -05:00
Arpit Jalan da32be9294 UX: resize stackexchange onebox image 2015-11-03 19:11:15 +05:30
Arpit Jalan 688d44278e UX: move imgur album CSS to Discourse repo 2015-11-03 12:27:09 +05:30
Robin Ward 5cd6308850 API for adding buttons to the new composer 2015-11-02 16:18:09 -05:00
Arpit Jalan 290708ca53 FIX: use absolute URL for open graph image tags 2015-11-03 01:26:39 +05:30
Neil Lalonde 4d6dd3a952 add plugin outlet to the top of the admin dashboard 2015-11-02 14:38:07 -05:00
Régis Hanol 7436a3feb3 FEATURE: automatically unpin topic when user reaches bottom 2015-11-02 18:26:26 +01:00
Régis Hanol ff0c12efa2 Merge pull request #3878 from gdpelican/optimize-all-allowed-users
Optimize all_allowed_users query
2015-11-02 17:06:36 +01:00
Régis Hanol d0fe4fc4b5 FIX: topic.posters might be null or empty 2015-11-02 11:39:23 +01:00
Régis Hanol 7ced16acbf FIX: topic.lastPoster should be based on the 'latest' extra 2015-11-02 11:19:37 +01:00
Régis Hanol 1906b99d1f Merge pull request #3887 from tgxworld/fix_duplicated_custom_badges
FIX: Duplicated custom badges in AdminBadgesController.
2015-11-02 09:47:02 +01:00
Arpit Jalan 700c005c26 PERF: optimize export user list CSV queries 2015-11-02 13:15:58 +05:30
Guo Xiang Tan 30bddd1112 FIX: Duplicated custom badges in AdminBadgesController. 2015-11-02 13:13:17 +08:00
Sam Saffron 606b10445e FEATURE: remove muted topics from suggested and latest 2015-11-02 09:20:22 +11:00
Sam Saffron 0d15dbd886 FIX: lastPoster not defined correctly in model 2015-11-01 14:30:54 +11:00
Sam Saffron 54da461024 UX: simplify Dismiss menu 2015-10-31 15:31:05 +11:00
Régis Hanol 5c0fb34eee FIX: resize emoji job was generate errors 2015-10-30 23:31:30 +01:00
Régis Hanol 7fbf902d09 FIX: prevent cross-contamination of emojis in multisites 2015-10-30 23:26:34 +01:00
Régis Hanol 5e3da94c46 FIX: prevent infinite loop in PullHotlinkedImages job 2015-10-30 22:46:46 +01:00
Robin Ward eaa31cf488 Merge pull request #3886 from LeoMcA/filter-by-username
filter by username in email digest preview
2015-10-30 14:44:50 -04:00
Robin Ward 21b29269d0 Remove excessive text on signup CTA 2015-10-30 14:13:16 -04:00
Leo McArdle fe5264f9e9 filter by username in email digest preview
adds a user prompt on the email digest preview page to generate a preview for a particular user
also fixes some broken styling on the page
2015-10-30 18:11:38 +00:00
Régis Hanol bde4bc52d7 UX: use 'last poster' avatar for mobile topics list 2015-10-30 16:50:46 +01:00
Arpit Jalan 106cb9874a FIX: show 404 page when user is logged out and navigates to private message 2015-10-30 17:41:55 +05:30
Arpit Jalan 9f8d6b6088 FIX: allow exisiting users to be invited to topic/message when enable_local_logins is disabled 2015-10-30 11:28:05 +05:30
Robin Ward fe901163cc FIX: Fetch honeypot on `init` not name change which was error prone 2015-10-29 13:44:27 -04:00
James Kiesel 2fc52e26a6 Optimize all_allowed_users query 2015-10-29 19:39:30 +02:00
Régis Hanol b9437936ab Merge pull request #3848 from gschlager/patch-2
Remove example CSS selectors from locale file
2015-10-29 10:01:52 +01:00
Régis Hanol 93cb2813cf Merge pull request #3863 from tgxworld/fix_last_posted_at_not_updated
FIX: Topic#last_posted_at was not being set when changing topic times…
2015-10-29 10:00:57 +01:00
Robin Ward a9823ab59a FIX: Use a cookie to bypass the anon cache 2015-10-28 17:16:56 -04:00
Robin Ward db5379508e FIX: Don't show an anonymous cache if there is a flash 2015-10-28 15:12:05 -04:00
Régis Hanol bb79e6aff7 FEATURE: new hide_user_profiles_from_public site setting 2015-10-28 19:56:08 +01:00
Robin Ward 971af6a762 FIX: PostAlerter should ignore deleted posts 2015-10-28 13:03:54 -04:00
Arpit Jalan 734c272de8 UX: universal date format in digest email 2015-10-28 22:18:23 +05:30
Robin Ward 23371b026d FIX: Don't raise an error if you try to assign a group that exists 2015-10-28 12:21:54 -04:00
Robin Ward 6b236d3c83 FEATURE: Bulk Unlisting of topics 2015-10-27 16:57:40 -04:00
Robin Ward 46ca66771b FIX: Better error message for resending activation. Don't limit staff. 2015-10-27 16:25:30 -04:00
Robin Ward 010d847c2d Extensibility point for adding a new main button below topics 2015-10-27 15:05:59 -04:00
cpradio 68660cb9ac UX: Add custom classes to the profile page to permit hiding the invited_by and trust_level fields 2015-10-27 09:57:01 -04:00
Régis Hanol 9ea2d30105 UX: always show the avatar modal now that we have the letter avatars 2015-10-27 10:52:05 +01:00
Arpit Jalan 5dab5ada1c FIX: loading members on group page was broken 2015-10-27 09:20:49 +05:30
Robin Ward 47e25648df FEATURE: Change user groups in bulk via admin 2015-10-26 15:57:30 -04:00
Arpit Jalan e1d5503053 FIX: flag button was broken for posts 2015-10-26 23:14:14 +05:30
Arpit Jalan c28843e87b FIX: redirect to return_url when working as SSO provider 2015-10-25 11:30:38 +05:30
Guo Xiang Tan 25161eef39 FIX: 'q' keyboard shortcut not working. 2015-10-24 23:57:55 +08:00
Jeff Atwood 2b64ccb98c clean up portrait .topic-list CSS media query stuff 2015-10-23 17:15:13 -07:00
Jeff Atwood 56c9b4b6e2 UX: hide topic list views column on <= 850px w 2015-10-23 16:35:26 -07:00
Robin Ward 6ad42d4cd2 FIX: Category topics weren't refreshing when changing sort order 2015-10-23 16:39:37 -04:00
Robin Ward 09195768be FIX: Quote button was broken when the quoted post was unloaded 2015-10-23 12:49:13 -04:00
Robin Ward f3d9d1295a FIX: Support subfolder URLs for middle clicking search 2015-10-23 12:02:10 -04:00
Régis Hanol 9483940244 UX: new topics list for mobile 2015-10-23 10:19:28 +02:00
Jeff Atwood fac25763ba mobile topic list and user page CSS tweaks 2015-10-22 23:23:13 -07:00
Jeff Atwood 8a5f8d62b2 remove "right" class from profile buttons 2015-10-22 16:54:46 -07:00
Jeff Atwood 352824a3a4 fix mobile layout issues on user page 2015-10-22 16:43:01 -07:00
Jeff Atwood 7b95f8b633 another minor mobile tweak to alert-info 2015-10-22 14:42:37 -07:00
Jeff Atwood 8ea1ad1b2d minor css tweak to mobile alert-info 2015-10-22 14:40:19 -07:00
Jeff Atwood 567bc70391 make #banner full width on mobile 2015-10-22 14:37:00 -07:00
Robin Ward 1e50883d06 FIX: Incorrect search link 2015-10-22 16:37:44 -04:00
Régis Hanol 0ea54e9255 UX: don't show an empty list when all extensions are authorized 2015-10-22 20:11:17 +02:00
Régis Hanol b46663fab0 FIX: hide full name field on the signup dialog when 'enable_names' is disabled 2015-10-22 18:10:01 +02:00
Jeff Atwood ed0ac4eed3 FIX: incorrect profile background styles 2015-10-21 22:53:47 -07:00
Arpit Jalan 9793ea2c8a UX: change Dismiss button title and add tooltip 2015-10-22 07:52:47 +05:30
Neil Lalonde ca98f66f7e FIX: wrong root path on subfolder installs 2015-10-21 13:13:19 -04:00
Neil Lalonde 976692b387 FIX: moderators need to choose a category when uncategorized topics are no allowed 2015-10-20 15:55:17 -04:00
Robin Ward 3ee1dee3eb UX: If you only had a checkbox user field, it was hoisting Location 2015-10-20 14:55:19 -04:00
Robin Ward f8ff6fc0b5 FIX: Typo in teardown of `d-editor` 2015-10-20 12:42:14 -04:00
Robin Ward 0428bacfa9 SECURITY: A user could XSS themselves on their preference page 2015-10-20 12:09:59 -04:00
Régis Hanol e08c9b8c49 Merge pull request #3867 from cpradio/fix-pin-unpin-shortcut
FIX: Fix the shortcut shift+p for pinning/unpinning a topic
2015-10-20 16:06:21 +02:00
cpradio d2502bd127 FIX: Fix the shortcut shift+p for pinning/unpinning a topic 2015-10-20 09:40:43 -04:00
Régis Hanol 227689d77b Merge pull request #3866 from cpradio/fix-broken-keyboard-shortcuts
FIX: Fix the shortcuts shift+j and shift+k
2015-10-20 15:21:29 +02:00
cpradio 35496cae4f FIX: Fix the shortcuts shift+j and shift+k 2015-10-20 09:17:40 -04:00
Arpit Jalan 4a880a758f FEATURE: new Dismiss posts/topics modal 2015-10-20 16:07:02 +05:30
Jeff Atwood 5d341bef57 remove valign-helper hack, let's go flexbox 2015-10-20 00:46:24 -07:00
Régis Hanol 2fe70f6969 Merge pull request #3862 from tgxworld/emoji_toolbar_mobile
FIX: Emoji toolbar too wide on mobile.
2015-10-20 09:16:21 +02:00
Régis Hanol 18de82afe5 Merge pull request #3864 from tgxworld/push_pixels
UX: Misaligned buttons in image uploader.
2015-10-20 09:15:58 +02:00
Jeff Atwood 5ca93cd79c add opacity to mobile user page details 2015-10-19 23:58:42 -07:00
Jeff Atwood 722cce7400 FIX: mobile logo was too wide 2015-10-19 23:02:32 -07:00
Guo Xiang Tan 63fbab5b29 UX: Misaligned buttons in image uploader. 2015-10-20 11:10:53 +08:00
Guo Xiang Tan d9fe78da20 FIX: Topic#last_posted_at was not being set when changing topic timestamp. 2015-10-20 10:12:52 +08:00
Guo Xiang Tan 97d11b6656 FIX: Emoji toolbar too wide on mobile. 2015-10-20 09:19:45 +08:00
Robin Ward eacd75bcf8 SECURITY: Unread post notifications should respect whispers 2015-10-19 16:32:10 -04:00
Neil Lalonde 32bc9a8f93 FIX: some reports ignored date range parameters 2015-10-19 16:30:34 -04:00
Régis Hanol c618478e88 FIX: sorting in a category isn't working 2015-10-19 19:04:47 +02:00
Robin Ward cca48ce22f FIX: Default selectionStart/end differences in PhantomJS 2015-10-19 12:18:26 -04:00
Robin Ward 94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Arpit Jalan 49edffd3c3 FEATURE: support linking to a specific revision of a topic/post 2015-10-19 14:31:29 +05:30
Sam dfe3ecb914 PERF: disable prepared statements
see: https://github.com/rails/rails/issues/21992
2015-10-19 14:02:22 +11:00
Sam dc10bdee3d FIX: incorrect localization in flagging dialog
- only happens when multiple locales enabled
2015-10-19 11:42:33 +11:00
Sam dc859beff3 FEATURE: add handle_mail admin route
you can post full email payloads to this endpoint /admin/email/handle_mail
2015-10-19 08:33:24 +11:00
James D 44b04e4521 Make @mentions following a slash link to usercards
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown

Pinging @bob/@joe

Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
Arpit Jalan a439500bac FIX: do not mark post as spam if the previous flag was disagreed 2015-10-17 01:30:53 +05:30
Robin Ward 0547fcf799 UX: Show a loading spinner when loading an post you're editing.
cc @coding-horror
2015-10-16 14:57:53 -04:00
Neil Lalonde 14bfeec25e Merge pull request #3844 from gschlager/patch-1
FIX: Pressing Ctrl+F twice should show browser find
2015-10-16 13:16:55 -04:00
Régis Hanol 06b799bfbf Merge pull request #3857 from gdpelican/fix-for-untopiced-posts
Don't error on posts#latest if a post does not have a topic
2015-10-16 14:59:36 +02:00
James Kiesel 695b366a03 Don't error on posts#latest if a post does not have a topic 2015-10-16 14:44:48 +03:00
Guo Xiang Tan 8e8e787ad0 FIX: Whitelist parentheses and brackets in autocomplete. 2015-10-16 13:17:51 +08:00
Jeff Atwood e744d85c99 move jagged-border gap removal to mobile only 2015-10-15 17:19:10 -07:00
Jeff Atwood 7338f74f14 CSS order of operations incorrect 2015-10-15 17:10:02 -07:00
Régis Hanol d75cc67d86 FIX: robots.txt should be accessible even when login is required 2015-10-15 11:42:41 +02:00
Régis Hanol de344bcd7e Merge pull request #3854 from tgxworld/fix_transactional_race_condition
FIX: Race condition when wrapping `PostCreator#create` in a transaction.
2015-10-15 11:07:20 +02:00
Régis Hanol 37c5909a31 FIX: use the first image in the first post in the topic as opengraph image
FEATURE: new 'default_opengraph_image_url' setting
2015-10-15 11:00:47 +02:00
Régis Hanol 73e345fe8f FIX: unescape emojis in digests 2015-10-15 09:59:29 +02:00
Guo Xiang Tan 600e42c2ba FIX: Race condition when wrapping `PostCreator#create` in a transaction. 2015-10-15 14:42:40 +08:00
Kane York f67a877537 Add styling & assets for google docs placeholder oneboxes 2015-10-14 17:09:48 -07:00
Robin Ward e8424bd54e SECURITY: Moderators should not see API keys 2015-10-14 15:40:23 -04:00
Robin Ward a527c58c7d UX: Show a nicer "Log In" screen if the user follows `/my/preferences` 2015-10-14 13:39:31 -04:00
Robin Ward d66a545dd2 FIX: `/my/preferences` should prompt users to log in 2015-10-14 12:40:13 -04:00
Neil Lalonde 37c783c348 Merge pull request #3851 from xfalcox/patch-3
Fix impersonate redirect on subfolder install
2015-10-14 11:02:41 -04:00
Arpit Jalan 2eece87206 UX: clip long category names in suggested topics 2015-10-14 19:02:57 +05:30
Robin Ward bf53938ab7 FIX: On IOS9 the topic entrance was resizing the topic list 2015-10-13 16:59:32 -04:00
Robin Ward 7802757306 FIX: Username for topic creation is required 2015-10-13 16:33:26 -04:00
Rafael dos Santos Silva dfed999ec8 Remove getUrl on impersonate redirect
As said by  @riking @nlalonde and @ZogStriP
2015-10-13 16:52:35 -03:00
Robin Ward ae4ef1e70f Add spinner to composer saving 2015-10-13 13:06:24 -04:00
Régis Hanol 7ceecb0989 Merge pull request #3852 from tgxworld/fix_conditions_when_flagging_message
FIX: Conditions broken in flagging modals.
2015-10-13 11:02:35 +02:00
Guo Xiang Tan aaff46d67f FIX: Conditions broken in flagging modals. 2015-10-13 16:56:32 +08:00
Régis Hanol d863defd3b convert emoji toolbar to use safe local storage 2015-10-13 10:52:42 +02:00
Régis Hanol 7c369ab2b7 convert desktop notifications to use safe localStorage 2015-10-13 10:34:44 +02:00
Régis Hanol cafff9bf01 FIX: ensure we can write to the localStorage 2015-10-13 10:21:49 +02:00
Sam b6c2aa13e6 clean up implementation of non frame login / registration 2015-10-13 14:49:09 +11:00
Sam fab51496cb correct full screen login feature 2015-10-13 13:11:49 +11:00
Sam 5b16adc0e8 FIX: sharing badges were off by 1 2015-10-13 12:32:29 +11:00
Sam b3aebca406 FEATURE: allow auto provider to specify "full screen login"
this feature means we attempt to log in without opening a frame.
2015-10-13 12:23:34 +11:00
Sam 57e3323663 redirect back to base uri if there is no window opener. 2015-10-13 12:03:43 +11:00
Neil Lalonde 3ef16a7711 FIX: permalinks redirect on subfolder installs could add the subfolder to the url twice 2015-10-12 16:54:53 -04:00
Régis Hanol 1a3e9cf571 FIX: sorting was not working in /top
PERF: remove double request when sorting topics lists
2015-10-12 21:58:40 +02:00
Rafael dos Santos Silva ccd46bf431 Fix impersonate redirect on subfolder install
Impersonate was redirecting to base site, instead of Discourse when using subfolder install.
2015-10-12 16:14:39 -03:00
Sam e17978a203 FIX: do not notify in title if you created the post 2015-10-12 12:45:04 +11:00
Arpit Jalan b72434d024 FEATURE: add 'change ownership' button in post admin wrench 2015-10-11 23:53:45 +05:30
Gerhard Schlager 11a6b61cbd Remove example CSS selectors from locale file 2015-10-11 14:48:37 +02:00
Gerhard Schlager d10741170f FIX: Pressing Ctrl+F twice should show browser find 2015-10-08 22:30:33 +02:00
cpradio 979331f762 UX: Add mobile love to admin-nav for Plugin Pages 2015-10-07 09:57:05 -04:00
Sam 845c33e4b1 SECURITY: XSS in search results term
Thanks to Jerbi Nessim
2015-10-07 10:52:24 +11:00
cpradio 8cabc14099 FEATURE: Allow default period to be set for Top Page 2015-10-06 12:04:31 -04:00
Jeff Atwood af7d51e923 Merge pull request #3831 from tgxworld/fix_emoji_toolbar
UX: Emoji toolbar on mobile.
2015-10-05 17:30:19 +11:00
Régis Hanol 9f14c197f2 less errors in js tests suite 2015-10-05 17:04:19 +11:00
Sam Saffron 4ade6138d3 FIX: suggested topics showing up when last post not loaded
New fix means that was show suggested

1. If all posts are loaded
2. If we are in the process of loading 1 more post due to message bus
2015-10-05 16:10:00 +11:00
scossar 71bc7d2e89 fix typo 2015-10-04 10:49:58 -07:00
Guo Xiang Tan 8b59f76f59 FIX: Don't append when there is nothing to append. 2015-10-03 17:22:13 +08:00
Guo Xiang Tan 904a36eea2 UX: Emoji Toolbar was too wide on mobile. 2015-10-03 17:08:13 +08:00
cpradio 57c1b15911 FIX: Who Liked a Post now shows UserCard when avatar is clicked 2015-10-02 18:10:06 -04:00
Jeff Atwood ccb55b82e6 adjust alignment of topic progress popup 2015-10-02 02:41:37 -07:00
Sam 1754fcccf7 PERF: instead of N redis operations perform in bulk 2015-10-02 15:00:51 +10:00
Sam 43345063b9 PERF: avoid needless :try invokes respond_to? etc 2015-10-02 15:00:00 +10:00
Sam 6246dd0aa2 PERF: memoize to avoid N+1 query in category page 2015-10-02 12:35:47 +10:00
Sam 55c0f6a20c PERF: avoid method_missing 2015-10-02 12:27:38 +10:00
Sam 38f50d3bcc FIX: stop rendering blank urls for icons
You get an instant double request if you allow rendering of "" as
a favicon or apple touch icon.
2015-10-02 10:12:58 +10:00
Régis Hanol 2c384aec83 FIX: reply as new topic wasn't working in FF when the post was only composed of an image 2015-10-01 21:43:43 +02:00
Jeff Atwood 0237bece88 Revert "FIX: align topic-progress with topic-progress-expanded" 2015-10-01 10:13:31 -07:00
scossar de61ae272a align topic-progress with topic-progress-expanded 2015-10-01 10:01:57 -07:00
Neil Lalonde dd0a7107a8 FIX: canonical urls for category and topic pages was wrong when deployed to subfolder 2015-10-01 12:24:07 -04:00
Sam 6f43b575a8 FEATURE: no need to cap new and unread together anymore
- leave unread alone
- cap new at 500 per site, with a site setting
2015-10-01 17:17:15 +10:00
Régis Hanol 9bb7a3884b fix the build 2015-10-01 01:17:34 +02:00
Jeff Atwood 0b295150e7 UX: clearer delete user action buttons 2015-09-30 16:06:55 -07:00
Régis Hanol 25cb19eeca FIX: hide 'Quote Reply' button when there's no selection anymore on iOS 2015-10-01 00:11:18 +02:00
Robin Ward 7bd51e7882 FIX: Don't incldue whispers in context emails 2015-09-30 12:39:56 -04:00
Robin Ward 33e58c0587 FIX: You can click to see your own PMs from flags
Also refactors post action users to be a new object type since they can
have `post_url` which is not a field of a `User`
2015-09-30 12:28:55 -04:00
Arpit Jalan 97fbf09259 UX: post action glyphs color on mobile should match desktop color 2015-09-30 20:30:52 +05:30
Robin Ward 0f7aaf5ab1 Revert "FIX: paginated category and topic pages should not have canonical tag"
This reverts commit ecd93f7efb.
2015-09-29 17:22:28 -04:00
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
Ruben Barkow 84450fa34b save height on small screens 2015-09-28 09:46:12 +02: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
Kane York c3aaeedc62 FEATURE: Make it easy to override the home logo 2015-09-21 11:47:23 -07: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
Sam e254030760 FIX: header undocking when opening mobile view
FIX: make it possible to upload an image on iphone
FIX: mobile can now upload more than 1 image
2015-09-17 13:05:31 +10:00
Sam faada383fa Merge pull request #3779 from riking/signup-cta
Allow emoji in translated strings
2015-09-17 11:34:41 +10:00
Kane York 7e8f4286e3 FEATURE: Allow emoji in some translated strings 2015-09-16 18:33:17 -07:00
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 21725cc907 FEATURE: Admin dashboard data for user profile views. 2015-09-16 14:48:31 +08:00
Guo Xiang Tan 7acc93b2a0 FEATURE: Track user profile views. 2015-09-16 14:48:31 +08:00
Guo Xiang Tan f41bcafe8d FEATURE: Add views to UserProfile. 2015-09-16 14:48:06 +08:00
Guo Xiang Tan d30f454261 FEATURE: Create UserProfilerView. 2015-09-16 14:48:06 +08: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