Commit graph

10188 commits

Author SHA1 Message Date
Régis Hanol
09bfe49254 FIX: don't automagically downsize uploaded images that are larger than 10MB
FIX: don't optimize GIFs since ImageOption was disabled for GIFs (too slow)
2015-11-26 18:16:47 +01:00
Sam
d6932e4ac4 add missing include 2015-11-25 22:47:50 +11:00
Arpit Jalan
3eb0288adb UX: reviving old topic popup should not have red warning background 2015-11-25 16:31:17 +05:30
Arpit Jalan
2eba00a326 FIX: user archive url field should have absolute URLs 2015-11-25 15:13:15 +05:30
Sam
cb05b44ee6 move template compiler into vendor for now
in future we want to remove it and only include handlebars runtime
2015-11-25 15:54:54 +11:00
Sam
d6c925600f temporarily add back compiler while figuring out a better system 2015-11-25 15:11:57 +11:00
Sam
d41a8a21cc FIX: show letter avatars even if NGINX is not running in Dev mode 2015-11-25 14:42:46 +11:00
Sam
c2a9b4aa18 PERF: attempt to omit template compiler in prd 2015-11-25 13:56:48 +11:00
Sam
24be285bf2 PERF: add one more asset for ember and jQuery
at the moment Ember initialization is a bottleneck, to minimize impact
on initial load we download an evaluate it as early as possible
2015-11-25 13:17:57 +11:00
Robin Ward
434deb1bd3 SECURITY: Backported XSS fixes from Handlebars 2015-11-24 16:08:08 -05:00
Robin Ward
49bda0b17d FIX: Improve windows double clicking on words in editor 2015-11-24 13:42:22 -05:00
Arpit Jalan
99c1aa2e85 optimize OpenComposer Mixin 2015-11-24 23:39:19 +05:30
Robin Ward
c76caca109 FIX: Perform the same operation on multilines in d-editor 2015-11-24 13:03:37 -05:00
Arpit Jalan
cbdc613177 fix js tests 2015-11-24 19:08:54 +05:30
Arpit Jalan
362c515f33 FEATURE: compose a new pre-filled message via URL 2015-11-24 18:55:45 +05:30
Robin Ward
e573ea29f3 FIX: Pasting images was broken in Firefox 2015-11-23 12:34:49 -05:00
Neil Lalonde
4a49fbf44c UX: after successfully submitting the forgot password form, show a new modal with a message and OK button 2015-11-23 11:21:11 -05:00
Arpit Jalan
fa83e717f7 UX: better flag modal on mobile 2015-11-23 21:10:58 +05:30
Régis Hanol
72fe3e19f4 UX: username should always be case sensitive in user card 2015-11-23 15:57:10 +01:00
Régis Hanol
753f4d1b7b FIX: redirect to forum home page when impersonating 2015-11-23 15:44:44 +01:00
Régis Hanol
4fe1a13bae FIX: multiple file uploads wasn't working due to composer upgrade 2015-11-23 11:30:26 +01:00
Régis Hanol
bec1606328 Merge pull request #3858 from tgxworld/exclude_letter_character_class
UX: Trigger autocompleter only for specific characters.
2015-11-23 10:08:19 +01:00
Arpit Jalan
db2799507b FIX: admin trust level user list URL should be consistent with new naming 2015-11-23 14:28:56 +05:30
Guo Xiang Tan
f835a0ba22 UX: Trigger autocompleter only for specific characters. 2015-11-23 16:33:47 +08:00
Guo Xiang Tan
8d1636db2b FIX: Keyboard shortcut to quote reply. 2015-11-23 15:58:54 +08:00
Arpit Jalan
3053d48671 FIX: Safari on iOS 9 hangs after logging in 2015-11-22 18:02:40 +05:30
Sam
c70bb0c032 we got to clean up js debugging, its busting caching. 2015-11-22 01:20:39 +11:00
Sam
7038d5f1c4 PERF: cache information about missing view classes. 2015-11-21 23:40:37 +11:00
Arpit Jalan
d75ea1a0ea FIX: remove forgot-password link for SSO enabled instances 2015-11-21 17:49:58 +05:30
Sam
3fa8329068 correct require 2015-11-21 14:03:53 +11:00
Sam
5c899c765b Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7.
2015-11-21 12:27:06 +11:00
Robin Ward
d8734fc542 Fix eslint 2015-11-20 17:16:44 -05:00
Robin Ward
1506eba28d Support for overriding client side translation keys 2015-11-20 17:14:01 -05:00
Neil Lalonde
523138f1fd FEATURE: add setting pending_users_reminder_delay to configure when to send reminders to moderators about user approvals based on how long new users have been waiting 2015-11-20 16:06:07 -05:00
Neil Lalonde
5597957cc6 FIX: don't send repeat notifications to moderators about the same pending approval users 2015-11-20 16:06:07 -05:00
Arpit Jalan
e25ee74209 FIX: handle topic/post creation when the language highlighting is turned off 2015-11-21 02:10:54 +05:30
Robin Ward
1bf2b236cb FIX: Admin section wasn't correctly highlighting some routes 2015-11-20 15:07:04 -05:00
Robin Ward
e82145cbf9 Fix broken spec 2015-11-20 14:27:30 -05:00
Robin Ward
8fdd6c18fc SECURITY: XSS Protection on Queued Posts 2015-11-20 14:13:00 -05:00
Robin Ward
83d5b82c84 OOPS, remove console.log 2015-11-20 13:15:00 -05:00
Robin Ward
5056de1d8a FIX: Never show less than 0 replies when embedding 2015-11-20 13:06:00 -05:00
Robin Ward
8eeb027c65 Can revert changes to email templates 2015-11-20 12:30:21 -05:00
Arpit Jalan
bb1d0dea8a UX: better flagging options 2015-11-20 22:23:29 +05:30
Régis Hanol
8104a07327 one ; should be more than enough ;) 2015-11-20 17:36:55 +01:00
Robin Ward
c21457d6a7 Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
This reverts commit c0b277d273.
2015-11-20 10:00:12 -05:00
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