Commit graph

10193 commits

Author SHA1 Message Date
Sam
1c8b3c9447 sort out import ordering in admin js 2015-11-21 01:10:31 +11:00
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