Commit Graph

9504 Commits

Author SHA1 Message Date
Régis Hanol
fadd6582af Merge pull request #3674 from tgxworld/increment_posts_count_when_closing_topic
FIX: Closing and opening topic should increment posts count.
2015-08-19 12:58:51 +02:00
Benjamin Kampmann
a9c25afc29 Replace unused showNames-area with new plugin-outlet 2015-08-19 12:44:12 +02:00
Guo Xiang Tan
23c4b51805 FIX: Closing and opening topic should increment posts count. 2015-08-19 18:12:09 +08:00
Régis Hanol
3ba929de9a Merge pull request #3669 from tgxworld/fixes_for_destroy_recover_post
Fixes for destroy recover post
2015-08-19 11:37:42 +02:00
Guo Xiang Tan
5f5933b4bb Add a plugin outlet beside the poster's name. 2015-08-19 15:05:49 +08:00
Sam
9364194f36 cut out an exception 2015-08-19 16:57:26 +10:00
Sam
157b118559 FIX: pointless error in log when failing to save post
rate_limit gets fired for rollback on in which case there is not post_number
2015-08-19 16:28:04 +10:00
Sam
f1bce927b3 Merge pull request #3670 from riking/dark-theme-fix
Dark theme fixes, part 3
2015-08-19 15:25:41 +10:00
Kane York
2f595f27e9 CLEANUP: Coalesce repeated CSS properties 2015-08-18 22:02:33 -07:00
Kane York
7ede107be9 FIX: User directory dark theme 2015-08-18 21:45:05 -07:00
Kane York
c4e5594826 FIX: Keyboard shortcuts dark theme 2015-08-18 21:42:41 -07:00
Kane York
7ee0ee6769 Optimize CSS properties 2015-08-18 21:40:19 -07:00
Kane York
f7b024eafe FIX: User profiles
Note on removing the color: $secondary - I did a test with browser inspector by
turning the text pink. The only text affected was 'helpful flags', which I
fixed below.
2015-08-18 21:35:25 -07:00
Guo Xiang Tan
33260f3203 FIX: Errors raised for recovering post not being handled. 2015-08-19 10:48:35 +08:00
Sam
82a6176b08 lower the volume on failed to pull hotlinked image
add more diagnostics
2015-08-19 12:32:45 +10:00
Neil Lalonde
71644add2f add plugin-outlet at end of site-map 2015-08-18 22:26:18 -04:00
Sam
c493f82907 cleaner fix 2015-08-19 11:54:12 +10:00
Sam
feed822c48 FIX: grant badge dialog not working 2015-08-19 11:51:29 +10:00
Guo Xiang Tan
019191a944 FIX: undoDeleteState() should restore delete button. 2015-08-19 09:31:09 +08:00
Sam
c20b3b85f9 Merge pull request #3664 from tgxworld/use_popupAjaxError
Use ajax-error in controller:topic.
2015-08-19 09:29:36 +10:00
Kane York
689449b233 FIX: Post highlight on mobile dark theme 2015-08-18 15:51:50 -07:00
Kane York
75f7631367 FIX: Small-actions in dark theme 2015-08-18 15:20:19 -07:00
Sam
08ce974b3a Merge pull request #3667 from riking/dark-theme-fix
Dark theme fixes, part 2
2015-08-19 08:15:47 +10:00
Kane York
924e67af9d FIX: Header icons should be header_primray in dark theme 2015-08-18 15:11:49 -07:00
Kane York
13fdd35517 Revert "FIX: Header icons should be header_primary exactly"
This reverts commit 4d0c328404.
2015-08-18 15:11:13 -07:00
Sam
1dd555e6d6 Merge pull request #3666 from riking/rate-limit-deletions
FIX: Tighter rate-limit for post self-deletions
2015-08-19 08:06:55 +10:00
Kane York
e5f4020c75 FIX: User card badge, interface language select2 dark theme 2015-08-18 15:05:05 -07:00
Kane York
e81f21d848 FIX: Github oneboxes in dark theme 2015-08-18 15:02:41 -07:00
Kane York
78dcf30444 FIX: Suggested topics box was bad in dark theme 2015-08-18 14:50:36 -07:00
Kane York
ca577248d0 FIX: Fix tag input select2 box 2015-08-18 14:44:52 -07:00
Kane York
4d0c328404 FIX: Header icons should be header_primary exactly 2015-08-18 14:37:23 -07:00
Kane York
0282d89b29 FIX: Lightboxes in dark theme 2015-08-18 14:09:20 -07:00
Kane York
cf559893b8 FIX: fully-read topic style in dark theme 2015-08-18 14:03:01 -07:00
Kane York
3baabd14f8 Use variables for user card colors 2015-08-18 13:28:02 -07:00
Kane York
6a0eba3ba2 Oops, that should fix it.. 2015-08-18 13:23:50 -07:00
Kane York
173126673b FIX: Apply blockquote colors to onebox 2015-08-18 12:53:44 -07:00
Kane York
94439ebddd FIX: Tighter rate-limit for post self-deletions 2015-08-18 12:50:45 -07:00
Kane York
c8c3b057cb FIX: Unread posts in dark theme 2015-08-18 12:29:55 -07:00
Kane York
a4da72a83b FIX: Dark theme fixes for admin, quotes, code 2015-08-18 12:23:06 -07:00
Kane York
3edf0e662f FIX: Make user card colors absolute (xcpt shadow) 2015-08-18 12:04:35 -07:00
Robin Ward
707c493e3c FIX: When changing colors, refresh the admin stylesheet 2015-08-18 14:13:40 -04:00
Arpit Jalan
fb233b0b76 Merge pull request #3663 from riking/android-tweaks
FEATURE: Take advantage of Android browser features
2015-08-18 21:11:34 +05:30
Robin Ward
2482cb8f9f FIX: Backwards compatibility for plugin initializers 2015-08-18 11:10:50 -04:00
Régis Hanol
4c2df814de FIX: ensure a file is present when creating an upload 2015-08-18 11:39:51 +02:00
Guo Xiang Tan
1c2f6b97c3 Use ajax-error in controller:topic. 2015-08-18 16:52:12 +08:00
Sam
add6e12ce4 FIX: topic links with long titles can not be crawled
0..255 == 256 numbers column fits 255
2015-08-18 17:34:46 +10:00
Kane York
7b5dea6481 FEATURE: Take advantage of Android browser features
Declare a theme-color, provide high-resolution icon.
2015-08-17 14:30:20 -07:00
Jonathan Brachthaeuser
fc2fe5f02d Use userfield serializer in json dump
Use userfield serializer for json dump to make sure
that also the options are serialized correctly.
2015-08-17 21:44:13 +02:00
Robin Ward
7eb32be4de Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
Robin Ward
2d4729782e FIX: Support quarterly on user directory 2015-08-17 13:58:40 -04:00
Robin Ward
9f75870d99 Merge pull request #3661 from b-studios/preserve-user-field-options
Preserve user-field options when updating user-fields
2015-08-17 13:43:35 -04:00
Jonathan Brachthaeuser
c0e88724c2 Preserve user-field options when updating user-fields
Avoid deleting options of the user-field when no options are
transmitted.
2015-08-17 19:01:20 +02:00
Régis Hanol
827ea641b0 FIX: Use File.size instead of IO.size 2015-08-17 18:57:28 +02:00
Robin Ward
d87520a2cf FIX: Checkboxes weren't always being set properly.
Note to all, `set()` values for computed properties must return the
new value the same as `get()` does.
2015-08-17 12:12:51 -04:00
Régis Hanol
73e4c6ae4d FIX: backups index template wasn't properly bound 2015-08-17 16:21:23 +02:00
Guo Xiang Tan
80f36b81a6 FIX: Rate limit message not shown. 2015-08-17 21:10:44 +08:00
Jeff Atwood
58c9ca6132 make topic map button dimmer 2015-08-17 03:34:18 -07:00
Guo Xiang Tan
fc87e71218 FIX: Missing error message when bookmark rate limit is hit. 2015-08-17 16:36:59 +08:00
Sam
b4d7ff1dac correct logic 2015-08-17 11:54:42 +10:00
Sam
6dc8dda7b6 Merge pull request #3658 from scossar/admin-settings-slideout-menu
FEATURE: Add slide-out menu for small screens on admin settings page
2015-08-17 11:19:05 +10:00
Sam
f9deebefb9 FIX: include theme vars in site customizations 2015-08-17 10:59:46 +10:00
Sam
84c6c2b48c correct logic 2015-08-17 10:52:57 +10:00
Sam
6086b07324 FIX: hitting enter on Msgs not searching Msgs 2015-08-17 09:10:21 +10:00
Simon Cossar
e064663528 Add slide-out menu 2015-08-16 10:35:23 -07:00
Guo Xiang Tan
c7a21b7c23 FEATURE: Allow admin to change timestamp of topic. 2015-08-17 00:00:05 +08:00
Arpit Jalan
90388aa18e FIX: email preview 2015-08-16 15:31:04 +05:30
Régis Hanol
c74a6ab555 FIX: email preview 2015-08-16 11:51:31 +02:00
Sam
da4c377277 FIX: can not approve users from admin dialog 2015-08-16 14:02:22 +10:00
Sam
8d66ca72f1 fix revision dialog brokeness 2015-08-16 11:13:19 +10:00
Arpit Jalan
62fce63952 FIX: do not load custom header in admin section 2015-08-15 17:39:07 +05:30
Arpit Jalan
e526fb0d1c FIX: fix new-topic composer issue 2015-08-15 12:18:37 +05:30
Régis Hanol
23a5c6444a FIX: move topic links and quoted posts extraction to the PostRevisor 2015-08-14 19:33:32 +02:00
Régis Hanol
5a09482b0f Merge pull request #3656 from tgxworld/ember-computed-property
FIX: Wrong value set when using ember-computed-decorators.
2015-08-14 18:23:10 +02:00
Régis Hanol
a47370fc52 Merge pull request #3456 from 5minpause/patch-1
Changes RSS item creation to prevent encoding errors
2015-08-14 18:19:58 +02:00
Guo Xiang Tan
b098e07cf1 FIX: Wrong value set when using ember-computed-decorators. 2015-08-15 00:15:23 +08:00
Régis Hanol
183f6d89b8 Merge pull request #3651 from tgxworld/fix_broken_private_message_search_context
FIX: Broken private message search context.
2015-08-14 18:12:36 +02:00
Régis Hanol
0a2f615aab FIX: pin a topic globally wasn't working 2015-08-14 17:44:33 +02:00
Guo Xiang Tan
87fd70cd4a FIX: Broken private message search context. 2015-08-14 23:43:19 +08:00
Régis Hanol
b8cf797e31 FIX: ensure Badge consistency 2015-08-14 13:03:49 +02:00
Régis Hanol
b6cd4af2ba FIX: follow redirects when pulling hotlinked images 2015-08-14 12:46:52 +02:00
Régis Hanol
d598419742 FIX: don't use 'modelFor' 2015-08-14 12:40:18 +02:00
Régis Hanol
2ad24cf5db UX: button was floating in topic unsubscribe page on Safari 2015-08-14 12:22:32 +02:00
Régis Hanol
20a3b651f8 Merge pull request #3654 from tgxworld/use_site_settings
FIX: Use site settings for min_search_term_length.
2015-08-14 10:52:57 +02:00
Régis Hanol
1485f33cf9 Merge pull request #3650 from tgxworld/strip_html_from_description_meta_tag
FIX: HTML not being stripped in description meta tag.
2015-08-14 10:49:43 +02:00
Guo Xiang Tan
9a3f7a1e44 FIX: Use site settings for min_search_term_length. 2015-08-14 16:22:06 +08:00
Sam
f743bc6e74 stop adding users to a group if they are already in the group 2015-08-14 17:50:24 +10:00
Sam
e82f892c2d FIX: allow global settings to include keys that have numbers in them 2015-08-14 17:01:21 +10:00
Sam
71fb065133 Merge pull request #3653 from gdpelican/latest-rss-fix
Skip latest posts with no topic in rss
2015-08-14 16:48:04 +10:00
James Kiesel
9068f9f9bf Skip latest posts with no topic in rss 2015-08-13 23:39:19 -07:00
Sam
e670ebb433 FEATURE: allow backup settings to be overriden by globals
FEATURE: allow backup interval of up to 30 days
FIX: if a custom file exists in backup directory look at its date
FEATURE: site setting automatic_backups_enabled default true
2015-08-14 16:28:29 +10:00
Sam
5ee4d3ba8c FIX: log post deletion even if user is deleted. 2015-08-14 13:57:02 +10:00
Sam
7d86d23eec correct bad error reporting. 2015-08-14 13:29:39 +10:00
Sam
629fa1223f regression: broken categories page on mobile 2015-08-14 13:21:40 +10:00
Sam
723d49d543 regression, users could not be deleted 2015-08-14 12:34:52 +10:00
Guo Xiang Tan
1a245656e0 FIX: HTML not being stripped in description meta tag. 2015-08-14 10:00:07 +08:00
Sam
e87ffcc457 missing model prefix for saving title 2015-08-14 10:40:35 +10:00
Sam
6d7cb86553 missing model when saving primary group 2015-08-14 10:38:46 +10:00
Robin Ward
6db98f52d6 FIX: Regression with suspended text 2015-08-13 17:32:12 -04:00
Robin Ward
e3cf8b17ba FIX: Regression saving custom user title 2015-08-13 17:28:38 -04:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
4fd79819be FIX: Deprecations in tl3 requirements 2015-08-13 14:14:12 -04:00
Robin Ward
9d3b05fa35 FIX: Regression with post history 2015-08-13 13:56:46 -04:00
Robin Ward
22844b9e46 Ember 1.12 support 2015-08-13 11:14:16 -04:00
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Robin Ward
0442457e7b Fix deprecations in admin groups interface 2015-08-13 10:01:29 -04:00
Guo Xiang Tan
9fbab34e57 FIX: Clear edit post when clicking reply. 2015-08-13 20:17:01 +08:00
Régis Hanol
a8d20c623f FIX: eyeline was broken in dev 2015-08-13 12:42:57 +02:00
Guo Xiang Tan
3ef66b1dca Use existing function. 2015-08-13 18:26:06 +08:00
Guo Xiang Tan
01354b5c30 Remove unused code. 2015-08-13 18:01:40 +08:00
Guo Xiang Tan
73bb60ee74 FIX: Allow user to abandon draft reply when clicking edit. 2015-08-13 16:57:58 +08:00
Guo Xiang Tan
a45d6936f2 FIX: Allow user to abandon reply when clicking edit. 2015-08-13 16:57:58 +08:00
Arpit Jalan
eb941475fa FIX: mark invite accepted notification as read 2015-08-13 11:11:54 +05:30
Régis Hanol
e1fda2b108 ObjectController is deprecated 2015-08-12 23:07:58 +02:00
Régis Hanol
3ebc9d2ab1 make jshint happy 2015-08-12 23:02:36 +02:00
Régis Hanol
6669a2d94d FEATURE: per-topic unsubscribe option in emails 2015-08-12 23:00:16 +02:00
Arpit Jalan
56abd247e1 UX: better twitter onebox in embedded comments 2015-08-13 01:11:15 +05:30
Arpit Jalan
b1488b430a UX: show invite sent date on pending tab 2015-08-12 23:55:13 +05:30
Régis Hanol
ffbaf8c542 FEATURE: automatically downsize large images 2015-08-12 18:33:13 +02:00
Arpit Jalan
40deae55dc FIX: typo in HTML/CSS customizations export path 2015-08-12 12:01:00 +05:30
Régis Hanol
60f5eb8f18 FIX: use fancy title in badges page 2015-08-12 00:43:44 +02:00
Sam
75b4972682 posts with no url should return a 404 2015-08-12 07:28:54 +10:00
Arpit Jalan
267d8be1f5 UX: show complete URL path if website domain is same as instance domain 2015-08-12 01:19:20 +05:30
Robin Ward
b587bc580f Add deprecation for Discourse.PageTracker 2015-08-11 14:07:08 -04:00
Dan Singerman
8055d065f2 Refactor ApplicationController#redirect_to_login_if_required to use session for SSO 2015-08-11 16:48:55 +01:00
Dan Singerman
7056db26e6 Respect cookie[:destination_url] in Single Sign On
When the login_required setting is true, the destination URL is dropped. This change means it will be
respected at login time
2015-08-11 16:31:28 +01:00
Sam
750a3ce5e5 Merge pull request #3647 from tgxworld/fix_draft_too_much_padding
FIX: Get composer height after transition.
2015-08-11 17:52:17 +10:00
Sam
b3297d0d62 FIX: error messages missing if topic edit failed in composer 2015-08-11 17:08:30 +10:00
Sam
ccc943c118 FIX: missing error message when editing topics 2015-08-11 16:32:43 +10:00
Arpit Jalan
5fd6c693d0 UX: show Vimeo links in embedded comments 2015-08-11 10:31:04 +05:30
Guo Xiang Tan
b3a5381e79 FIX: Get composer height after transition. 2015-08-11 11:24:07 +08:00
Sam
f6c6f6e7a1 FIX: if localStorage is disabled, still boot 2015-08-11 12:41:07 +10:00
Robin Ward
aa81261875 FIX: Safari bugs with new customize code 2015-08-10 16:46:36 -04:00
Robin Ward
d37accb5bc FIX: broken debounce in search terms. 2015-08-10 16:33:24 -04:00
Robin Ward
b02d624503 FIX: Okay, add support for hosts that have trailing paths 2015-08-10 15:26:58 -04:00
Robin Ward
6711d12f68 Merge pull request #3644 from gtanczyk/add-outlets-for-dropdowns-and-notifications
Adding two plugin outlets for notifications and their dropdowns
2015-08-10 11:47:55 -04:00
Robin Ward
1551ba93bb FIX: Translation key changed 2015-08-10 11:13:01 -04:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Robin Ward
378087727f Admin adapters should be within the admin JS app 2015-08-10 10:21:05 -04:00
Robin Ward
7fffd483f8 Fix deprecations with site text, upgrade to ES6 / store 2015-08-10 10:21:04 -04:00
Robin Ward
bd631e343a FEATURE: Can create stylesheets for embedded comments 2015-08-10 10:21:04 -04:00
Robin Ward
0932e82508 Refactor Customizations to have deeper URLs 2015-08-10 10:21:04 -04:00
Robin Ward
92b2d8c247 Migrate a bunch of admin routes to ES6 modules 2015-08-10 10:21:04 -04:00
Régis Hanol
0f62a7f781 FEATURE: new date picker component 2015-08-10 12:50:38 +02:00
Sam
2d53436d0a correct intialization order 2015-08-10 18:15:35 +10:00
Régis Hanol
80e6f54198 FIX: don't divide by 0, it's never worth it 2015-08-10 10:06:33 +02:00
Sam
12b6d8a032 FIX: cancel in progress search when flipping to full search 2015-08-10 16:12:51 +10:00
Sam
c2fd93ffa8 DEV: allow Discourse.ajax to be aborted if needed 2015-08-10 16:12:51 +10:00
Arpit Jalan
066824e545 FIX: invite accepted notification should link to invited user profile 2015-08-10 11:28:59 +05:30
Sam
2052ceca95 FIX: stop screen from jittering when mobile has images
This fix makes sure we apply reasonable settings to all images while
they are loading, it stops mobile from dancing around on topics that
have images

We no longer use height: auto on mobile!
2015-08-10 13:19:01 +10:00
Sam
3eeb765f00 fix deprecation 2015-08-10 11:41:11 +10:00
Grzegorz Tanczyk
d76fafc8ec Adding two plugin outlets for notifications and their dropdowns extensibility 2015-08-08 00:00:10 +02:00
Jeff Atwood
3427049ce7 UX: simpler styling on post reply button 2015-08-07 12:49:36 -07:00
Jeff Atwood
262e94c48e make all <i> tags grey in .reply-to area 2015-08-07 12:43:29 -07:00
Arpit Jalan
0300da59e2 UX: simplify composer title 2015-08-07 23:05:28 +05:30
Régis Hanol
1aa075f70b FIX: hide custom top/footer in admin section 2015-08-07 18:06:55 +02:00
Régis Hanol
15418f3d44 FEATURE: new 'backup_frequency' site setting 2015-08-07 17:34:58 +02:00
Sam
1a6cbd37a5 missing outlet for tags on mobile 2015-08-07 19:12:47 +10:00
Sam
415a3ff0de FIX: replace all occurances in preview not only first 2015-08-07 16:52:21 +10:00
Sam
fd63d89753 FEATURE: simpler definition of enum types 2015-08-07 11:41:48 +10:00
Neil Lalonde
a4a14e6d5a add back the warning based on Sidekiq queue size, but only when the queue size is 100k or more 2015-08-06 16:46:49 -04:00
Robin Ward
f667395f9a UX: Embedded stylesheet should use round avatars 2015-08-06 11:39:17 -04:00
Sam
665c3690bb UX: move category below title in search 2015-08-06 17:17:57 +10:00
Sam
cc9f6e53f2 FEATURE: add support for plugin-outlet in raw templates 2015-08-06 15:49:11 +10:00
Sam
bafdf9290d FIX: don't let blocked users reach post creator or new post queue
correct broken spec
2015-08-06 10:32:53 +10:00
Régis Hanol
dbd6099b89 FIX: make sure the global notice shows up on ALL the pages 2015-08-05 22:55:32 +02:00
Robin Ward
7ef83913b6 FIX: Couldn't select values of 0 in the combo-box 2015-08-05 16:19:44 -04:00
Neil Lalonde
5ebd12c070 FEATURE: plugin hooks for topic list nav items 2015-08-05 15:41:36 -04:00
Kane York
4ffca82bab FIX: Issue scroll event after rendering 2015-08-05 11:12:41 -07:00
Régis Hanol
35e6e5ff67 FIX: footer was missing in some pages
- error pages
- search results pages
- list of all tags
- topics list of a specific tag
- user leaderboard
2015-08-05 16:14:26 +02:00
Régis Hanol
b8c8348e5b FIX: remove bookmark from user stream 2015-08-05 12:40:43 +02:00
Sam
aef575aad0 FIX: stop showing incorrect avatars in quote 2015-08-05 19:22:51 +10:00
Sam
4486879fd2 select less data 2015-08-05 16:09:21 +10:00
Sam
a51386a280 FEATURE: allow efficient preloading of custom fields in topic list 2015-08-05 16:09:21 +10:00
Sam
7ba7b23aec Merge pull request #3634 from tgxworld/fix_draft_overlaps
FIX: Draft overlaps topic counts blurb in suggested topics.
2015-08-05 14:49:35 +10:00
Sam
362a69de08 Merge pull request #3637 from tgxworld/fix_alignment_of_login_social_buttons
UX: Social login buttons alignment off on mobile.
2015-08-05 14:47:03 +10:00
Sam
43ac8f8ed2 Revert "odd flexbox side-effect, need CSS width here"
This reverts commit 652eb5b3e3.
2015-08-05 13:49:04 +10:00
Sam
a3c6cd7b38 FIX: handle link tracking correctly for cdn based urls
(usually attachments)
2015-08-05 12:15:08 +10:00
Sam
54b780439d FIX: CDN should always be whitelisted correctly 2015-08-05 11:49:11 +10:00
Sam
c76cb671ad unblock early. 2015-08-05 10:49:59 +10:00
Sam
34122e06df FIX: if post creation fails, raise an exception 2015-08-05 10:47:38 +10:00
Jeff Atwood
2b2ae4bfe7 Revert "adding flexbox to header via mixins (all prefixes)"
This reverts commit 5b229316ee.
2015-08-04 15:56:05 -07:00
Jeff Atwood
652eb5b3e3 odd flexbox side-effect, need CSS width here 2015-08-04 15:44:23 -07:00
Jeff Atwood
a60d449f4c Merge pull request #3641 from awesomerobot/master
adding flexbox to header via mixins (all prefixes)
2015-08-04 14:26:52 -07:00
Robin Ward
59cdde330f Raise errors in development mode on deprecation
We've had quite some time to find the deprecation errors in Ember and
most should be fixed. It is time to turn up the difficulty, which will
raise exceptions in development/test mode if a deprecation is present.
This will force developers to fix them as they encounter them.
2015-08-04 13:23:42 -04:00
Régis Hanol
64dd28d885 FIX: time to first response metric 2015-08-04 18:23:56 +02:00
awesomerobot
5b229316ee adding flexbox to header via mixins (all prefixes) 2015-08-04 10:46:58 -04:00
Jeff Atwood
98fa098e6f fix up mobile alignment on time gaps 2015-08-04 03:44:58 -07:00
Sam
6352528988 EXTENSIBILITY: add filter api to inject hooks in raw templates
TODO: decide with @eviltrout,
decide if registerUnboundOverride makes more sense
2015-08-04 18:53:44 +10:00
Arpit Jalan
09c281f705 UX: show only top 10 categories in email digest 2015-08-04 11:06:04 +05:30
Sam
f456a4b1b4 FIX: missing posts queue link on first notification of queued post 2015-08-04 15:22:17 +10:00
Sam
83593fea58 Revert "aligning text-logos and header with flexbox"
This reverts commit 2ad2ab503f.
2015-08-04 14:49:08 +10:00
Jeff Atwood
618f69d919 slightly reduce header size in search 2015-08-03 20:36:43 -07:00
Sam
3c8ae643b2 UX: improve handling of users in queued-posts
- Display an icon on already blocked users
- Automatically unblock users that you approve
2015-08-04 12:56:37 +10:00
Jeff Atwood
61536c911b Merge pull request #3640 from awesomerobot/master
aligning text-logos and header with flexbox
2015-08-03 18:29:02 -07:00
awesomerobot
2ad2ab503f aligning text-logos and header with flexbox 2015-08-03 21:16:56 -04:00
Sam
01ad88f1ed FEATURE: min_first_post_typing_time
If a user spends less than 3 seconds typing
first post they will automatically enter the approval queue
2015-08-04 10:57:34 +10:00
Sam
a2533e2a02 lighten search blurb for full page search 2015-08-04 10:57:34 +10:00
Jeff Atwood
3d7a2b4788 use default link color on search page results 2015-08-03 17:34:06 -07:00
Jeff Atwood
dc27ae3bf5 make search blurbs more grey to match google 2015-08-03 17:30:18 -07:00
Jeff Atwood
2d7ba13223 full page search CSS tweaks 2015-08-03 16:16:46 -07:00
Jeff Atwood
7d9ee9b378 make invite list styles match topic list 2015-08-03 15:38:32 -07:00
Jeff Atwood
e83b0619e8 switch to refresh icon on resend invite 2015-08-03 14:37:35 -07:00
Sam
7b8b96446e FEATURE: track statistics around post creation
- how long were people typing?
- how long was composer open?
- how many drafts were created?
- correct, draft saved to go away after you continue typing

store in Post.find(xyz).post_stat
2015-08-03 14:29:15 +10:00
Simon Cossar
78edc465d5 Fix comment 2015-08-01 16:57:41 -07:00
Simon Cossar
1f1d30bb7e Make it work 2015-08-01 15:00:39 -07:00
Guo Xiang Tan
2fd4115fd9 UX: Social login buttons alignment off on mobile. 2015-08-01 12:00:47 +08:00
Jeff Atwood
a7f30adb18 minor Emoji tab tweaks 2015-07-31 18:26:06 -07:00
Robin Ward
9629f63612 FIX: Weird translation error. 🔥d 2015-07-31 18:49:17 -04:00
Robin Ward
76aa0795b3 Use small actions for moving posts 2015-07-31 16:30:18 -04:00
Robin Ward
cf91bca0cd FIX: Small actions should show descriptions on the user stream 2015-07-31 14:25:49 -04:00
Régis Hanol
d71301e406 FIX: always 'return true' when overriding a route action 2015-07-31 20:16:37 +02:00
Robin Ward
29bdaa0dd8 Merge pull request #3636 from riking/patch-7
FEATURE: Add off button on preferences for popup notifications
2015-07-31 11:29:16 -04:00
Régis Hanol
1a5c3b4331 FIX: some pages were missing the footer 2015-07-31 17:18:38 +02:00
Régis Hanol
fb65970530 FIX: footer should also be hidden when using back/forward buttons 2015-07-31 16:53:18 +02:00
Régis Hanol
d7aa4e81d6 revert 8f435fcbf6 2015-07-31 15:22:30 +02:00
Régis Hanol
8f435fcbf6 FIX: wrong track view header 2015-07-31 15:03:35 +02:00
Jeff Atwood
d95ad05d76 left align version number table in admin 2015-07-31 03:34:39 -07:00
Sam
d8d849ee84 hoist pre blocks last 2015-07-31 18:27:23 +10:00
Sam
568adc49c0 FIX: fenced code blocks not hoisted correctly
also fixes unhoisting logic
2015-07-31 17:53:20 +10:00
Sam
6f9dc135ba FEATURE: allow logging of raw body of all unprocessable email
set log_mail_processing_failures to true to enable
2015-07-31 15:10:35 +10:00
Kane York
8c62c8d7bf FEATURE: Add off button on preferences for popup notifications 2015-07-30 19:06:14 -07:00
Neil Lalonde
ef0b75386f FIX: badge titles should always render under the badge image on user's badges page 2015-07-30 16:31:56 -04:00
Robin Ward
aa6f792ce1 FEATURE: Custom orders for user fields 2015-07-30 14:53:13 -04:00
Robin Ward
8e603503e6 We can add the no-text class automatically in d-button 2015-07-30 14:53:13 -04:00
Robin Ward
9911e92e24 Merge pull request #3609 from riking/patch-7
FEATURE: Localization fallbacks
2015-07-30 10:44:29 -04:00
Arpit Jalan
10c40775e5 FEATURE: add Open Graph tags on category pages 2015-07-30 19:29:56 +05:30
Sam
ccc07605a7 UX: improve styling of closed messages
also cleans up styling of time gaps on mobile
2015-07-30 11:19:30 +10:00
Robin Ward
b81871b963 FIX: Don't re-write admin urls for users 2015-07-29 17:57:58 -04:00
Robin Ward
00ecec1ee4 FIX: Don't log empty bodies from moderation actions 2015-07-29 14:54:33 -04:00
Robin Ward
9d1e37fb46 FIX: Could click on unlike even after the window. Looked weird. 2015-07-29 14:34:20 -04:00
Robin Ward
92918e3b2b FIX: Different routing for clicking ember links versus not 2015-07-29 13:03:44 -04:00
Arpit Jalan
794b9a5c24 UX: do not show error title 2015-07-29 21:51:27 +05:30
Robin Ward
201617811e Migrate auto closed topics too 2015-07-29 12:20:50 -04:00
Régis Hanol
faf4f44776 FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
Régis Hanol
9e2632badd FIX: title translation for crawlers 2015-07-29 15:39:20 +02:00
Robin Ward
5f45e5361f FIX: Moderation actions can have their messages removed 2015-07-28 16:58:56 -04:00
Robin Ward
510813769f Support for deleting small post actions 2015-07-28 16:27:54 -04:00
Robin Ward
e161f8f9fd FEATURE: Can order value lists 2015-07-28 16:09:45 -04:00
Arpit Jalan
51b477d1f2 FIX: missed semicolon :fired: 2015-07-28 23:26:32 +05:30
Arpit Jalan
a45e87746e UX: emoji toolbar improvements 2015-07-28 23:03:11 +05:30
Guo Xiang Tan
08e69b988c FIX: Draft overlaps topic counts blurb in suggested topics. 2015-07-29 01:02:40 +08:00
Neil Lalonde
7518918b8f FEATURE: add quarterly period to Top page 2015-07-28 12:31:42 -04:00
Robin Ward
dc8a68fd29 FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
Robin Ward
f22618050f FIX: Reformat user fields admin to have a longer form 2015-07-28 12:30:21 -04:00
Arpit Jalan
d6069e8c90 UX: fix container layout 2015-07-28 13:58:30 +05:30
Jeff Atwood
c94f15ec98 another missing grouped Emoji, somehow 2015-07-28 00:04:00 -07:00
Jeff Atwood
cda8e09438 few missing Emojis from groups 2015-07-27 23:43:46 -07:00
Jeff Atwood
cc5e92351e fix Emoji synonyms, add explicit tabicon 2015-07-27 23:21:27 -07:00
Jeff Atwood
d5299001ca normalize to Slack Emoji groups + custom 2015-07-27 17:24:39 -07:00
Sam
a97fa571a1 fix highlighting of text in search, make title bigger 2015-07-28 09:43:03 +10:00
Robin Ward
7aa2a19a76 FIX: Incorrect title attribute on link clicks 2015-07-27 13:41:53 -04:00
Robin Ward
5405cda2dc UX: Mobile tweaks for small post actions 2015-07-27 13:05:31 -04:00
Robin Ward
46ba4ba426 FIX: Edit controls should only show when you can edit 2015-07-27 11:11:46 -04:00
Robin Ward
0d417611a6 FIX: Jshint 2015-07-27 10:39:43 -04:00
Arpit Jalan
c5ec6a6f89 UX: show flag counts in new line 2015-07-27 19:54:17 +05:30
Robin Ward
bb93a345eb UX: Use smaller messages for moderator actions. 2015-07-27 10:09:21 -04:00
Guo Xiang Tan
5be258ded4 FIX: Let users open header links in new tab without dismissing dropdown. 2015-07-27 19:08:39 +08:00
Régis Hanol
8998a54ce6 FIX: make sure we escape titles in user streams 2015-07-27 12:51:20 +02:00
Sam
edb794ee86 play with styling on full page results 2015-07-27 19:38:33 +10:00
Sam
2876725e1b REFACTOR: remove hacky search from discovery 2015-07-27 16:47:06 +10:00
Sam
41ceff8430 UX: move search to its own route
previously search was bundled with discovery, something that makes stuff confusing internally
2015-07-27 16:47:06 +10:00
Jeff Atwood
68a262ff08 fix narrow mobile logo max-width 2015-07-26 01:55:12 -07:00
Régis Hanol
d2b59bf7f2 Merge pull request #3628 from tgxworld/emoji_in_user_stream
FEATURE: Display emojis in user stream.
2015-07-25 15:53:54 +02:00
Neil Lalonde
e344859fbf add plugin outlet to bread-crumbs 2015-07-24 14:04:47 -04:00
Robin Ward
29439e5534 SECURITY: Make sure export CSV is generated via a POST 2015-07-24 12:33:53 -04:00
Neil Lalonde
c78dbb7fa5 FIX: site customization preview links when deployed in a subfolder 2015-07-24 11:19:53 -04:00
Sam
b2fcc17ca2 bump to 45 2015-07-24 16:03:53 +10:00
Sam
b22c890e4b FEATURE: correct :visited styling for logged on users 2015-07-24 12:11:41 +10:00
Sam
0c267e5952 maintain exact old behavior 2015-07-24 09:44:16 +10:00
Sam
719f558746 multisite fix, allow show through (security is handled in the controller) 2015-07-24 09:41:46 +10:00
Guo Xiang Tan
7c1e16da54 FEATURE: Display emojis in user stream. 2015-07-23 23:50:01 +08:00
Arpit Jalan
410ae47dd7 UX: add plus glyph in front of 'Send an Invite' 2015-07-23 18:38:16 +05:30
Arpit Jalan
d2867aa138 UX: show pending invites tab by default 2015-07-23 18:33:20 +05:30
Sam
df8d47bdb6 FEATURE: fix a:visited for anon in topic list 2015-07-23 17:16:29 +10:00
Sam
786cf6e61f format does not allow numbers 2015-07-23 15:33:38 +10:00
Sam
c056c3ba7e FEATURE: allow users to specify a second hostname if needed
(very rarely needed feature, mostly for multisite and origin pull cdns)
2015-07-23 15:22:54 +10:00
Arpit Jalan
6382f3cc03 remove duplicate component from admin 2015-07-23 07:09:11 +05:30
Arpit Jalan
e5e0071cb7 FIX: non-admin users were not able to see invite tabs 2015-07-23 06:51:39 +05:30
Sam
bbf9ca2e14 UX: truncate category names after suggested topics
It's supposed to be project ... not proiect
2015-07-23 10:36:08 +10:00
Sam
172b7bbb85 Merge pull request #3626 from tgxworld/fix_dropdown_dismissing_on_middle_click
FIX: Dropdown dismissing on middle click.
2015-07-23 10:19:00 +10:00
Sam
d647835afe UX: no red hearts in notifications
red hearts there call special attention to likes and emphasize likes over replies
2015-07-23 07:53:15 +10:00
Sam
53b1d89f96 Merge branch 'master' of github.com:discourse/discourse 2015-07-23 07:48:55 +10:00
Jeff Atwood
518406bb2f Merge pull request #3627 from tgxworld/hearts_love_color
UX: Give fa-hearts more love.
2015-07-22 12:10:08 -07:00
Neil Lalonde
bf7875ee86 FIX: time to first reponse and topics with no reponse admin reports should show down arrow as green, up arrow as red 2015-07-22 14:16:10 -04:00
Guo Xiang Tan
876f0b7dc9 UX: Give fa-hearts more love. 2015-07-22 23:52:55 +08:00
Régis Hanol
d456460d33 FIX: don't butcher GIFs
Use 'gifsicle' instead of 'convert' to resize & optimize GIFs

FIX: don't even try to fix GIFs orientation
FIX: use 'allow_animated_thumbnails' site setting for user profile backgrounds & user cards
2015-07-22 17:10:42 +02:00
Guo Xiang Tan
e1a8e32127 FIX: Dropdown dismissing on middle click. 2015-07-22 16:22:37 +08:00
Jeff Atwood
ccdcca578d remove fa-plus from upload dialog button 2015-07-22 01:12:10 -07:00
Régis Hanol
703927d1c0 Merge pull request #3624 from riking/copy-fix
Turn off automatic share link copying
2015-07-22 09:16:58 +02:00
Jeff Atwood
7e548257f4 UX: add glyphs to notification states on profile 2015-07-21 23:56:34 -07:00
Jeff Atwood
92ced4449f add back in sunglasses guy with nose 2015-07-21 23:25:22 -07:00
Sam
3a54923116 FIX: permalink normalization not applied at constraint
implement permalink import for lithium
2015-07-22 13:40:45 +10:00
Kane York
5408abd427 Pull automatic share link copying 2015-07-21 19:29:38 -07:00
Jeff Atwood
6053a0c4af Merge pull request #3625 from scossar/remove-margins-from-mobile-view
FIX: Remove unnecessary padding and margins from mobile view
2015-07-21 19:27:32 -07:00
Simon Cossar
93d9a98497 Remove unnecessary margins from mobile view 2015-07-21 18:46:15 -07:00
Sam
84e0135723 Merge pull request #3623 from riking/patch-6
FIX: Change post owner of deleted post, take 3
2015-07-22 10:48:00 +10:00
Sam
90b85e5b23 FIX: missing category from title in non-js view 2015-07-22 10:26:58 +10:00
Sam
b77017abce Merge pull request #3618 from scossar/add-wrapper-class
FIX: padding and alignment issues
2015-07-22 09:59:24 +10:00
Jeff Atwood
36e31be46a Revert "add 8) as sunglasses emoji shortcut"
This reverts commit 59f547cd3f.
2015-07-21 16:49:32 -07:00
Sam
487999ddc7 Merge pull request #3607 from tgxworld/fix_%_in_url
FIX: Encode percent character in search terms.
2015-07-22 09:45:40 +10:00
Sam
1478c7582e Merge pull request #3621 from riking/patch-3
FIX: Twitter onebox styling
2015-07-22 09:45:06 +10:00
Kane York
acbf82d8db FIX: Change post owner of deleted post, take 3 2015-07-21 16:43:52 -07:00
Kane York
ad3f805d2f FIX: Do automatic copy on share in click handler 2015-07-21 10:34:41 -07:00
Kane York
ae07c670d7 FIX: Twitter onebox styling 2015-07-21 10:24:39 -07:00
Sam
04e9fdc610 make query less strange, no need for outer join
categories must exist for all topics
2015-07-21 22:45:20 +10:00
Arpit Jalan
424f877a77 FIX: enabling sso should hide delete account button from user preferences page 2015-07-21 17:57:38 +05:30
Sam
2847ec0af1 this join is brutal, hardcoding user id is way more efficient, but in pg 2015-07-21 22:26:51 +10:00
Sam
3b61b098ab PERF: optimise original query instead of huge rewrite
better perf for all cases
2015-07-21 21:53:54 +10:00
Sam
4491813d22 Revert "Revert "PERF: optimise query that gathers topic tracking state""
This reverts commit 909be09f1a.
2015-07-21 21:48:07 +10:00
Sam
909be09f1a Revert "PERF: optimise query that gathers topic tracking state"
This reverts commit 343e417a55.
2015-07-21 17:35:50 +10:00
Sam
343e417a55 PERF: optimise query that gathers topic tracking state
(this query runs on the front page to figure out new and unread topics)
2015-07-21 17:14:30 +10:00
Sam
6d9674278e UX: remove zocial and use font awesome instead
UX: use github logo for github login
2015-07-21 15:47:58 +10:00
Jeff Atwood
59f547cd3f add 8) as sunglasses emoji shortcut 2015-07-20 22:41:25 -07:00
Guo Xiang Tan
3c25ca2f9f FIX: Encode percent character in search terms. 2015-07-21 10:54:39 +08:00
Sam
e3d6c476f5 Merge pull request #3593 from tgxworld/cache_results_on_about_page
Cache results on about page
2015-07-21 10:04:51 +10:00
Robin Ward
3eb67dc1ed Add plugin outlet below post 2015-07-20 19:29:18 -04:00
Guo Xiang Tan
b0ea6764e0 PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
5minpause
4ee1bc6320 Changes RSS item creation to prevent encoding errors
SimpleRss is unreliable with parsing RSS feeds that contain German Umlauts.
For example this feed http://www.lauffeuer-lb.de/api/v2/articles.xml can't be
parsed by SimpleRss. Discourse's logs are full of

```
Job exception: Wrapped Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8
Job exception: incompatible character encodings: ASCII-8BIT and UTF-8
```

The embedding fails because the feed can't be parsed.

This change forces the encoding (using #scrub)  which prevents the numerous
encoding errors.
2015-07-20 14:30:42 +02:00
Arpit Jalan
c54de7159c UX: more permalinks page improvements 2015-07-20 17:40:22 +05:30
Sam
45e37d557a Merge pull request #3615 from techAPJ/patch-1
UX: include more details on Permalinks page
2015-07-20 21:28:22 +10:00
Simon Cossar
6ca8f14db4 Remove padding from media query 2015-07-20 01:03:26 -07:00
Simon Cossar
c47c5dd0c6 Substitute wrap for container 2015-07-20 01:02:51 -07:00
Simon Cossar
c8085cf576 remove top and bottom padding 2015-07-20 01:01:55 -07:00
Simon Cossar
8840a611ab Substitute wrap for container 2015-07-20 00:47:53 -07:00
Simon Cossar
35e6eb5cac Add wrap class 2015-07-20 00:42:52 -07:00
Sam
ecf50a741c strip classes from table instead of ignoring table 2015-07-20 17:05:24 +10:00
Sam
e93665b9f7 FEATURE: site setting to allow html tables (which may come from imports)
(allow_html_tables , disabled by default)
2015-07-20 16:56:46 +10:00
Arpit Jalan
5fc7545c01 UX: include more details on Permalinks page 2015-07-17 21:39:23 +05:30
Sam
d7e7ae33ea FIX: IE9 and 10 were getting white screen, due to ES6 usage 2015-07-17 12:43:45 +10:00
Sam
c71098a8b3 Merge pull request #3612 from techAPJ/patch-1
FEATURE: manage Permalinks
2015-07-17 11:59:36 +10:00
Simon Cossar
97a9e997db Fix typo 2015-07-16 18:03:48 -07:00
Arpit Jalan
dc90c396f2 FEATURE: manage Permalinks 2015-07-17 01:26:02 +05:30
Régis Hanol
ee86ae0537 FIX: use CDN for all user avatars (take 3) 2015-07-16 19:40:09 +02:00
Sam
7f43653cad Merge pull request #3608 from Qasem-h/Rtl
Rtl Fix For Customize Toggles & Dashboard
2015-07-16 17:18:22 +10:00
Kane York
61ea8c6f72 FIX: Allow to change ownership on deleted users' posts 2015-07-15 15:29:35 -07:00
Régis Hanol
80bf7bed21 this obviously doesn't work :( 2015-07-15 23:15:58 +02:00
Régis Hanol
ea16797761 FIX: user avatar in oneboxes/quotes when using CDN 2015-07-15 23:00:11 +02:00
Régis Hanol
25a1bf421e FIX: use CDN for user avatars (take 2) 2015-07-15 19:24:23 +02:00
Kane York
ecfa17b5a7 FEATURE: Localization fallbacks (server-side)
The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
languages should be attempted in. Because of the translate_accelerator patch,
the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
server starts, so a call to ensure_loaded! is added after the locale is set for
the current user.

The declarations of config.i18n.fallbacks = true in the environment files were
actually garbage, because the I18n.default_locale was
SiteSetting.default_locale, so there was nothing to fall back to. *derp*
2015-07-15 10:17:36 -07:00
Kane York
728845d008 FEATURE: Localization fallbacks (client)
This patch sets I18n.defaultLocale in the Discourse.start() script block (it
was formerly always 'en') to SiteSetting.default_locale, and patches
translate() to perform fallback to defaultLocale followed by english.
Additionally, when enable_verbose_localization() is called, no fallbacks will
be performed.

It also memoizes the file loading operations in JsLocaleHelper and strips out
translations from the fallbacks that are also present in a prefered language,
to minimize file size.
2015-07-15 10:17:28 -07:00
Régis Hanol
23dadfc06e Merge pull request #3610 from riking/patch-3
Fix test failure (appEvents seems to not be injected?)
2015-07-15 19:16:45 +02:00
Kane York
b201697938 Fix test failure (appEvents seems to not be injected?) 2015-07-15 10:15:05 -07:00
Robin Ward
1851c8d918 Merge pull request #3599 from riking/patch-3
Add ace:resize app event
2015-07-15 12:54:11 -04:00
Kane York
2302442e1a Add ace:resize app event
For discourse-data-explorer
2015-07-15 09:44:08 -07:00
Régis Hanol
0eb69398b9 Revert "FIX: use CDN for user avatars"
This reverts commit 8109bd85c0.
2015-07-15 18:00:29 +02:00
Régis Hanol
8109bd85c0 FIX: use CDN for user avatars 2015-07-15 17:27:51 +02:00
Régis Hanol
b0802abae2 FIX: crop & optimize user background profile/card images 2015-07-15 17:15:43 +02:00
Qasem Hajizadeh
af688a13ea Rtl Fix For Customize Toggles & Dashboard 2015-07-15 15:18:20 +04:30
Sam
fe009ea926 Merge pull request #3595 from cpradio/printer-friendly
UX: Add printer-friendly.scss to make short topics print nicely.
2015-07-15 16:50:38 +10:00