Commit Graph

11339 Commits

Author SHA1 Message Date
Erick Guan 0c6e5befe4 FIX: topic summary description text was conflicts with reply counter 2016-02-16 12:38:51 +01:00
Sam 18d67851c0 Merge branch 'master' into vdom 2016-02-16 11:53:14 +11:00
Sam 2b689d45ff Revert "save height on small screens"
This reverts commit 37b5905b44.

It is causing too much confusion for little gain
2016-02-16 11:52:33 +11:00
Régis Hanol 4ad5660615 add slightly more logs when skipping email notifications 2016-02-15 17:53:07 +01:00
Guo Xiang Tan 2af587005b FIX: find_by_attribute method in Rails 4.5 is case insensitive.
* https://github.com/rails/rails/pull/23690
2016-02-15 23:05:16 +08:00
Régis Hanol 40b099f1a6 FIX: keep whitespaces when replacing direct link to external images with local images 2016-02-15 12:34:45 +01:00
Sam bdcd791530 Merge branch 'master' into vdom 2016-02-15 20:47:23 +11:00
Sam d7400dd10a UX: Stop taking you to user page when compose private message is called 2016-02-15 20:27:29 +11:00
Sam 071d4aec4d Merge branch 'master' into vdom 2016-02-15 20:14:14 +11:00
Sam e083fb44f4 FIX: cope with unset notifications on the component 2016-02-15 20:13:55 +11:00
Sam 1dc168a7e6 Merge branch 'master' into vdom 2016-02-15 19:29:59 +11:00
Sam dd6ebde824 FIX: Always ensure notifications are treated as read once clicked
UX: improve messaging so notifications list is far more stable
PERF: improve performance of notifcation lookup queries

- Add feature "SetTransientHeader" that allows shipping info to server
   in the next Ajax request
- remove local storage hack used for notifications
- amend lookupStale to return hydrated objects, move logic into store
- stop magically clearing various notifications (likes, invitee accepted, group_summary, granted badge)
2016-02-15 19:29:47 +11:00
Sam 1f062ae2fd PERF: improve performance of consistency query 2016-02-15 19:29:47 +11:00
Sam Saffron 8e9a8472f4 FEATURE: don't move muted messages back into inbox 2016-02-15 10:56:39 +11:00
Sam b878598418 Merge branch 'master' into vdom 2016-02-13 17:49:50 +11:00
Robin Ward f9722f8598 Add custom post icons to PluginAPI 2016-02-12 16:57:24 -05:00
Robin Ward 9b8871d7dd PluginAPI for more stable backwards compatibility going forward 2016-02-12 15:46:36 -05:00
Robin Ward 81ee8f760a FIX: On mobile some elements were overlayed on each other 2016-02-12 15:12:01 -05:00
Neil Lalonde 06c9e79984 FIX: pending flags reminder email was ignoring the 'notify about flags after' site setting. 2016-02-12 14:33:23 -05:00
Robin Ward 3abf5ebb66 FIX: Queued posts were not being removed from the stream 2016-02-12 14:21:20 -05:00
Robin Ward a3dcd06a93 FIX: Emoji in the post gutter weren't being rendered properly 2016-02-12 13:58:44 -05:00
Robin Ward c8f7e4d878 FIX: Couldn't jump to small action posts 2016-02-12 13:49:31 -05:00
Robin Ward 776020cc8a FIX: Wasn't jumping to new topic 2016-02-12 13:19:00 -05:00
Robin Ward d08007f505 FIX: Jumping to new posts was broken 2016-02-12 12:37:00 -05:00
Guo Xiang Tan 6fc2d9db3a UX: Fix a bunch of overflowing links on mobile nav. 2016-02-13 00:02:53 +08:00
Régis Hanol c740b42328 FIX: whitelist post_types used in context in email notifications 2016-02-12 12:10:30 +01:00
Sam 560e910c6c Merge branch 'master' into vdom 2016-02-12 22:06:41 +11:00
Sam f77dfda097 FIX: bind the suggested topic/messages text 2016-02-12 22:06:14 +11:00
Sam f02e035f94 Merge branch 'master' into vdom 2016-02-12 18:21:03 +11:00
Sam 6478f5defa UX: envelope glyph for suggested PMs 2016-02-12 18:20:39 +11:00
Sam 06403df059 Merge branch 'master' into vdom 2016-02-12 17:51:44 +11:00
Sam 3e87250215 UX: initial take at collapsing mobile nav on user page 2016-02-12 17:51:26 +11:00
Robin Ward aa31f3081a FIX: Placeholders should not show up to non-admins when deleting posts 2016-02-11 16:45:28 -05:00
Robin Ward 4e209846cb FIX: Not tracking posts that dynamically load 2016-02-11 16:23:41 -05:00
Robin Ward a0d61ebf7f FIX: Clear bookmarks didn't update the UI properly 2016-02-11 15:44:04 -05:00
Robin Ward 5693795dbf FIX: Posts should have auto updating dates 2016-02-11 15:17:58 -05:00
Robin Ward 1d54ba260a FIX: Double hairline in `time-gap`s on mobile 2016-02-11 14:59:07 -05:00
Robin Ward c364d08113 FIX: Improved like animation 2016-02-11 14:36:12 -05:00
Robin Ward 5af00da2d8 FIX: Small post actions weren't applying the `deleted` class 2016-02-11 14:21:22 -05:00
Robin Ward 786f6ff8b0 FIX: Use chrome's `scrollRestoration` to fix scrolling uses with history 2016-02-11 13:14:43 -05:00
Régis Hanol 86819f08c3 FIX: use RFC-compliant previous replies separator 2016-02-11 18:48:09 +01:00
Robin Ward e3cc04f315 FIX: Odd scrolling 2016-02-11 11:00:42 -05:00
Robin Ward 867215a915 Oops, decorators are causing jumpiness 2016-02-11 11:00:42 -05:00
Robin Ward 5f65bf420c FIX: Support the plugin-api for decorators 2016-02-11 11:00:42 -05:00
Robin Ward bc1927dc1e FIX: Tab was broken with keyboard shortcuts 2016-02-11 11:00:42 -05:00
Robin Ward b5b1178f3a FIX: Suppression below was broken 2016-02-11 11:00:42 -05:00
Robin Ward 05377c62de FIX: The dom was slightly incorrect, messing up mobile rendering 2016-02-11 11:00:42 -05:00
Robin Ward 5af834b6d0 FIX: Avatars in small post actions weren't clickable 2016-02-11 11:00:42 -05:00
Robin Ward 88c104bb83 FIX: Upwards scrolling was broken in a topic 2016-02-11 11:00:41 -05:00
Robin Ward ea98a4366e FIX: Badge page was using poster-name component 2016-02-11 11:00:41 -05:00
Robin Ward 9b60551d4e Upgrade jQuery 2016-02-11 11:00:41 -05:00
Robin Ward 65d0426ff1 FIX: Janky animations when liking or expanding the post menu 2016-02-11 11:00:41 -05:00
Robin Ward 9ec44f755c FIX: If last post was deleted the gap was not displayed 2016-02-11 11:00:41 -05:00
Robin Ward 2998fe1ee5 FIX: Quoted text wasn't inserted when replying as new topic 2016-02-11 11:00:41 -05:00
Robin Ward eeafa67984 FIX: Reply as New Topic was not fading in properly 2016-02-11 11:00:41 -05:00
Robin Ward 0b84426a3a FIX: Could like your own posts if they already had likes 2016-02-11 11:00:41 -05:00
Robin Ward 68db4057dc FIX: Small actions weren't showing the avatar of who did it 2016-02-11 11:00:41 -05:00
Robin Ward bd967ba38c FIX: Placeholders were missing when scrolling downwards 2016-02-11 11:00:41 -05:00
Robin Ward cd412976d7 FIX: Bookmark by keyboard was broken 2016-02-11 11:00:40 -05:00
Robin Ward 363cf5c5da FIX: Couldn't like via keyboard 2016-02-11 11:00:40 -05:00
Robin Ward befae52c09 FIX: Read post icon was not fading 2016-02-11 11:00:40 -05:00
Robin Ward c76e6e173e FIX: Include small actions when determining what's on screen 2016-02-11 11:00:40 -05:00
Robin Ward 81a0b25324 FIX: `postChangedRoute` was firing after destruction sometimes 2016-02-11 11:00:40 -05:00
Robin Ward bad9835120 FIX: Regression with quickly hitting back button in vdom branch 2016-02-11 11:00:40 -05:00
Robin Ward 2b1e7306e1 FIX: Regression with `time-gap` showing decimals and no clearfix 2016-02-11 11:00:40 -05:00
Robin Ward d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
Régis Hanol cad7fc1062 FIX: don't allow blocked user to send emails in 2016-02-11 10:39:57 +01:00
Jeff Atwood 26763c141c rotated thumbtack glyph reverses left/right padding 2016-02-10 15:26:32 -08:00
Régis Hanol cc695605b7 fix textarea styling in incoming email details modal 2016-02-10 22:43:00 +01:00
Régis Hanol 91bb38626c FEATURE: new incoming email details modal 2016-02-10 22:00:27 +01:00
Régis Hanol 510f9c5bed Merge pull request #4005 from tgxworld/close_autocomplete_if_term_is_blank
FIX: Close autocomplete is term is blank.
2016-02-10 12:57:50 +01:00
Guo Xiang Tan c7186b1403 FIX: Close autocomplete is term is blank. 2016-02-10 19:50:58 +08:00
Régis Hanol c2cc9da9a7 remove the wiki color 2016-02-10 11:18:37 +01:00
Jeff Atwood 32cc3a66c8 I can't deal with diagonal pushpins any more 2016-02-10 01:15:59 -08:00
Guo Xiang Tan ee38572be3 UX: Set max-width on category column to trigger overflow. 2016-02-10 16:34:43 +08:00
Guo Xiang Tan abc4454e89 UX: Set max-width in order to trigger overflow. 2016-02-10 16:27:03 +08:00
Guo Xiang Tan d220eb34ff Remove unused mixin. 2016-02-10 16:17:41 +08:00
Régis Hanol 13983c2f80 rever wiki background color, just change the default color 2016-02-09 23:06:08 +01:00
Erick Guan 35142847ba FIX: Prepend the user id before username in admin user routes 2016-02-09 15:14:13 +01:00
Sam 3df2ee3431 UX: allow for an optional toolbar in composer in mobile
Allows preview of text, emoji, quoting, whisper
2016-02-09 17:10:41 +11:00
Régis Hanol 460665895c properly name purge emails/email logs site settings 2016-02-08 22:18:52 +01:00
Régis Hanol ac863bab91 FEATURE: new 'suppress_email_logs_after_days' site setting 2016-02-08 18:47:35 +01:00
Jeff Atwood 2ca1449f17 Merge pull request #4001 from techAPJ/search-page
FEATURE: add 'New Topic' button on full page search view
2016-02-08 01:57:44 -08:00
Jeff Atwood c47b4ceffd Merge pull request #3963 from scossar/post-avatar-table
FIX: avatar and username should be side-by-side in post-notification email
2016-02-08 01:57:20 -08:00
Arpit Jalan 796a0db98b FEATURE: add 'New Topic' button on full page search view 2016-02-08 09:09:14 +05:30
Sam Saffron b9e8732018 UX: tweak autocomplete to limit hijacking
- Stop eating up back arrow when you hit @
- Clicking anywhere closes autocomplete
- Forward arrow no longer issues autocompletion, instead functions as right arrow
2016-02-08 10:51:59 +11:00
Sam Saffron 38983bc977 oops 2016-02-08 09:53:47 +11:00
Sam Saffron b032c63773 FIX: properly defer authentication complete 2016-02-08 08:44:12 +11:00
Sam Saffron b0567f9c62 FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
Jeff Atwood d81728f70d don't allow relative dates to wrap 2016-02-06 14:22:55 -08:00
cpradio 0270da5555 Enable block quotes to be readable on the Profile About Me section 2016-02-06 10:13:27 -05:00
Régis Hanol 54b0de8472 Merge pull request #3994 from tgxworld/fix_autocomplete
FIX: Don't update autocomplete when removing the key.
2016-02-06 11:10:54 +01:00
Régis Hanol 62cd6a4122 Merge pull request #3995 from devonestes/reducing-duplication-csv-export
Reducing duplication and string allocation in Jobs::ExportCsvFile
2016-02-06 11:10:21 +01:00
Régis Hanol 8db11aab62 Merge pull request #3996 from gschlager/i18n-datepicker
UX: Use i18n for date picker
2016-02-06 11:07:21 +01:00
Régis Hanol edfe14b1f1 Merge pull request #3997 from gschlager/datepicker
UX: Date Picker in user preferences was ugly
2016-02-06 11:05:14 +01:00
Gerhard Schlager 8e135e460b UX: Date Picker in user preferences was ugly 2016-02-05 23:28:57 +01:00
Arpit Jalan 8a7868be07 FIX: validate user website 2016-02-06 02:19:48 +05:30
Gerhard Schlager f7eb7f25bd UX: Use i18n for date picker 2016-02-05 21:49:21 +01:00
Régis Hanol ea0e63b150 FIX: handle cases where we only pass the notification type rather than the notification id when sending user email 2016-02-05 20:07:30 +01:00
Devon Estes 0aa59956fa Extract method refactoring in Jobs::ExportCsvFile
I was combing through some of the files with worse grades on Code Climate as a guide for places where I could jump in and help, and I saw this as one of the ones in need of some love. I reduced duplication in the #user_list_export method by extracting several methods that were common to both branches of the logic in that method.
2016-02-05 16:47:15 +01:00
Régis Hanol 91ec2c5171 fix eslint 2016-02-05 16:08:31 +01:00
Régis Hanol 56a16a0e89 we still need md5 2016-02-05 15:27:24 +01:00
Sam Saffron e3747f654b SECURITY: hoist blocks using guids, not md5 hashes 2016-02-06 01:02:48 +11:00
Guo Xiang Tan 726d81f83b FIX: Don't update autocomplete when removing the key. 2016-02-05 16:47:47 +08:00
Guo Xiang Tan 46589a1a0c FEATURE: AR adapter to failover to a replica DB server. 2016-02-05 08:51:10 +08:00
Régis Hanol 2d170712d7 new 'private_email_time_window_seconds' site setting 2016-02-04 17:22:16 +01:00
Régis Hanol 03938afc9b Merge pull request #3992 from techAPJ/report-filter
FEATURE: filter admin reports via user group
2016-02-04 11:21:14 +01:00
Guo Xiang Tan c99775ebdb FIX: PrettyText should return the valid slug. 2016-02-04 15:05:15 +08:00
Arpit Jalan eec8436cfe FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
Régis Hanol 7d992cb4c5 FIX: sending emails to mailing list subscribers wasn't working 2016-02-03 19:27:58 +01:00
Neil Lalonde ccbbfbc24e FIX: /signup route will show sign up modal for private sites too if they allow registrations 2016-02-03 12:18:33 -05:00
Neil Lalonde 2ff4248c19 FIX: also show Sign Up button on front page of private sites that allow new registrations 2016-02-03 11:36:28 -05:00
Sam Saffron 3f67f91d27 need to allow for now scope 2016-02-04 00:19:08 +11:00
Sam Saffron 60ba9dcc5e PERF: fix N+1 on categories page 2016-02-03 23:59:15 +11:00
Sam Saffron e9c1f8171c more protection 2016-02-03 19:21:49 +11:00
Sam Saffron 835bedca67 add some protection so it works if currentUser is missing somehow 2016-02-03 19:04:23 +11:00
Sam Saffron bc75010b20 FEATURE: suggested messages for messages
FEATURE: clicking envelope takes you to inbox

Suggested messages works somewhat like suggested topics.

- New show up first (in either group inbox or inbox)
- Then unread (in either group inbox or inbox)
- Finally "related" which are messages with same participants as the current pm.
2016-02-03 18:50:05 +11:00
Jeff Atwood 133fcef72c remove link for created on topic map 2016-02-02 16:20:14 -08:00
Jeff Atwood a3cd0ae8ae make PM usernames grey not link-blue 2016-02-02 16:17:14 -08:00
Régis Hanol cf4c256b17 FEATURE: new 'raw email' modal when listing rejected emails 2016-02-01 21:41:49 +01:00
Régis Hanol 12051f79a8 FIX: don't send empty email notifications for small_actions 2016-02-01 19:12:10 +01:00
Régis Hanol 8608b5cbc1 FIX: don't poll the mailbox in development 2016-02-01 16:56:32 +01:00
Sam Saffron 904e532439 SECURITY: topic titles can show up in user page unescaped when streamed in 2016-02-01 20:53:55 +11:00
Régis Hanol ce8c2d34d7 FIX: add a 20 seconds grace period before sending a notification about a PM 2016-02-01 10:14:30 +01:00
Jeff Atwood c3af4abfb5 reduce signup cta thresh, 2 topics, 2 min read time 2016-02-01 00:25:36 -08:00
Sam Saffron 4099823efe FIX: batch badge assigner was not including full info in notification
(missing drilldown link in notification)
2016-02-01 18:27:07 +11:00
Guo Xiang Tan 8772ba2f80 FIX: Redirecting breaks the back button. 2016-02-01 15:11:44 +08:00
Jeff Atwood f281f6e026 Merge pull request #3989 from cpradio/topic-footer-button-outline
Remove outline: 0 from the topic-footer-buttons, so focus is visible
2016-01-30 15:44:57 -08:00
Sam Saffron 01e0321f44 UX: match mention styling with username styling on top of post 2016-01-31 10:39:05 +11:00
cpradio f9f5c5e66b Remove outline: 0 from the topic-footer-buttons, so focus is visible 2016-01-30 18:29:36 -05:00
Sam Saffron 6a13cc1c22 UX: tweak mention color to match username color in post header. 2016-01-31 10:02:21 +11:00
Régis Hanol 96380bfd38 FIX: only create 1 email_log when an email is sent 2016-01-29 16:49:49 +01:00
Régis Hanol 378b7f964c Revert "FEATURE (WIP): add max-width and center email notifications" 2016-01-29 11:13:59 +01:00
Guo Xiang Tan 350f1685e5 UX: Hashtag color for dark theme. 2016-01-29 17:28:41 +08:00
Guo Xiang Tan e8c5127865 Convert to link as long as a valid link is received. 2016-01-29 13:31:11 +08:00
Guo Xiang Tan 90100378b8 Extract category hashtag autocomplete into a resuable function. 2016-01-29 10:55:29 +08:00
Jeff Atwood 6d6d8842d2 make mentions color less black 2016-01-28 11:41:09 -08:00
Arpit Jalan 26bba1f481 UX: preserve localization in digest email 2016-01-28 23:38:07 +05:30
Régis Hanol d51019ee53 FIX: *always* create an EmailLog whenever we run the UserEmail job
There were actually 2 bugs:

1/ Calling '.try(:key)' on a hash doesn't work. So EmailLogs were never associated to a user.

2/ Turns out that we update the 'user.last_emailed_at' whenever we create an EmailLog (in the 'after_create' callback).
So we need to always create an EmailLog (whenever the email is sent or skipped).
2016-01-28 19:01:35 +01:00
Arpit Jalan 90d41a994a universal date format in digest email 2016-01-28 23:15:32 +05:30
Robin Ward 617dc42cd9 Merge pull request #3975 from techAPJ/category-user
FIX: changing topic from one watched category to another watched category makes topic 'new' again
2016-01-28 10:53:29 -05:00
Régis Hanol b5bc43023d Merge pull request #3980 from startsat60/master
added plugin outlet under the header content div
2016-01-28 10:40:14 +01:00
Régis Hanol 5c52beeaf2 Merge pull request #3981 from gschlager/uncategorized_description
Replace uncategorized_description setting with translation
2016-01-28 10:36:10 +01:00
Régis Hanol 9832bb4103 Merge pull request #3969 from scossar/email-layout
FEATURE (WIP): add max-width and center email notifications
2016-01-28 10:34:43 +01:00
Emanuele Tonello 6589fe73d8 moved outlet outside of the weap container 2016-01-28 15:27:28 +10:00
scossar 77167f12ad move styles to Styles 2016-01-27 19:07:21 -08:00
Sam Saffron b25e505fb7 SECURITY: user summary could show topic links you have no permissions to 2016-01-28 11:12:12 +11:00
Gerhard Schlager f4f87921c2 Replace uncategorized_description setting with translation 2016-01-28 00:26:25 +01:00
scossar 3f09ec2aca add layout for notifications 2016-01-27 11:27:32 -08:00
Sam 5ed21e8767 filter out archived correctly 2016-01-28 00:14:26 +11:00
Sam b75353c26f correct specs 2016-01-27 23:40:45 +11:00
Sam 50a63a491c don't alert for inbox count of 0 2016-01-27 23:13:37 +11:00
Sam Saffron bf650de7be FEATURE: change group default tracking level to tracking (database changes) 2016-01-27 21:56:25 +11:00
Sam Saffron a764cc3a42 FEATURE: by default users track a group (as opposed to watch)
FEATURE: a rollup counting number of messages in the group inbox to tracking users
2016-01-27 21:38:33 +11:00
Arpit Jalan 74f22f95da FEATURE: log admin/moderator grant/revoke action 2016-01-27 15:39:04 +05:30
Emanuele Tonello 938992e9a0 added plugin outlet under the header content div 2016-01-27 16:12:43 +10:00
Sam 1bb485fca5 FIX: when a user got multiple replies to a topic, emails were missing 2016-01-27 12:20:08 +11:00
Jeff Atwood 12b85b9ef9 CSS tweak to top expanded in-reply-to 2016-01-26 17:03:23 -08:00
Gerhard Schlager 1368e2182a UX: Distinguish between noun and verb for "Archive" 2016-01-26 22:41:49 +01:00
Arpit Jalan 5b8817cc70 Merge pull request #3807 from riking/patch-8
Add styling & assets for google docs placeholder oneboxes
2016-01-26 14:37:57 +05:30
Arpit Jalan 3ed703b856 FIX: new user summary page was broken 2016-01-26 03:02:16 +05:30
Arpit Jalan d0719aed24 FIX: changing topic from one watched category to another watched category makes topic 'new' again 2016-01-26 01:28:01 +05:30
Arpit Jalan 23c1c5ef19 UX: change glyph when inviting existing user to a topic 2016-01-25 13:10:51 +05:30
Sam 403f766546 UX: improve styling of messages and mobile view of messages 2016-01-24 18:11:49 +11:00
Sam d0ee32f3ce FIX: correct counts on user summary 2016-01-24 16:39:01 +11:00
Sam 4b8e12d138 FIX: link to filtered down list of badges from summary
FEATURE: pick featured badges in summary page
2016-01-24 15:51:30 +11:00
Arpit Jalan 0064927077 FIX: do not allow new email to be duplicate
FIX: return proper error message when email already exists
2016-01-23 13:42:53 +05:30
Neil Lalonde 685ba1eb7f FEATURE: blocked users can send and reply to private messages from staff 2016-01-22 12:54:24 -05:00
Sam 9569235d76 correct path 2016-01-22 07:55:07 +11:00
Guo Xiang Tan fc83525a2b FIX: Missing tag in CSS. 2016-01-21 20:39:48 +08:00
Sam 7c5a448f63 PERF: remove 10-20ms of work from every page view
<%  s=Time.now;

main_app.categories_path
main_app.guidelines_path
main_app.tos_path
main_app.privacy_path

p (Time.now-s)*1000%>

Returns 10-20ms consistently on i7-4770k, on shared hosts the cost
could easily reach 40ms

This code simply calculates the strings

/categories
/guidelines
/tos
/privacy

It is ludicrous to spend this enormous amount of work just to calculate
4 strings.

I do not know if this is something specific about Discourse or a bug in
Rails (I tried without the main_app prefix and got similar results),
regardless we can got to avoid these _path APIs for now

Discovered this when running a flamegraph on our home page.
2016-01-21 22:43:56 +11:00
Régis Hanol 66f9504632 FIX: remove green background for wiki (this can be re-added via a customization if needed) 2016-01-21 11:46:53 +01:00
Arpit Jalan 590adb5899 Merge pull request #3968 from techAPJ/top-topics
FEATURE: make top criteria formula multipliers controlled by site setting
2016-01-21 14:02:26 +05:30
Arpit Jalan 1cee914565 FEATURE: make top criteria formula multipliers controlled by site
setting
2016-01-21 10:30:06 +05:30
Guo Xiang Tan a2857d68bb Make eslint happy. 2016-01-21 12:31:50 +08:00
Guo Xiang Tan bd86e88b05 UX: Remove category hashtag decoration. 2016-01-21 12:27:52 +08:00
Régis Hanol c79a8e836e FIX: date picker on mobile
UPDATE pickaday.js to latest version
2016-01-20 21:06:41 +01:00
Régis Hanol 74b5d063f9 FIX: enabling suppress_from_homepage should only remove the category from the homepage 2016-01-20 17:55:58 +01:00
Régis Hanol a601d4b4ba Merge pull request #3954 from rubo77/patch-5
save height on small screens
2016-01-20 16:29:09 +01:00
Régis Hanol fc3bedaaed Merge pull request #3921 from gschlager/locale-sk
Add Slovak locale
2016-01-20 15:38:48 +01:00
Régis Hanol c88093eecb Merge pull request #3920 from tgxworld/fix_onebox_emoji
FIX: Emoji in Discourse onebox is wrapped in square brackets.
2016-01-20 15:38:12 +01:00
Régis Hanol c2c01cdb5d FIX: username suggester to account for the more relaxed username rules (closes #3907) 2016-01-20 15:37:34 +01:00
Régis Hanol a44fb0cb15 Merge pull request #3799 from riking/patch-6
FEATURE: Make it easy to override the home logo
2016-01-20 14:47:21 +01:00
Régis Hanol 0ba4bcb2ea Merge pull request #3934 from gschlager/badges
UX: Show translated badge names and badge groupings
2016-01-20 14:42:30 +01:00
Régis Hanol f61537bc16 Merge pull request #3952 from gdpelican/unsubscribe-via-email
Unsubscribe via email
2016-01-20 14:38:14 +01:00
Arpit Jalan 13f5151ced FIX: refresh admin report was broken 2016-01-20 17:41:21 +05:30
James Kiesel c7283751a3 Unsubscribe via email 2016-01-20 22:25:25 +13:00
Guo Xiang Tan fa794ef59d FIX: Deleting characters on category hashtag was not triggering autocomplete. 2016-01-20 17:18:04 +08:00
Guo Xiang Tan 55352eeb1b FIX: Make eslint happy. 2016-01-20 12:51:54 +08:00
Guo Xiang Tan c6697e2c14 Prefix decorate category badges with '#'. 2016-01-20 12:48:00 +08:00
Guo Xiang Tan 9652c3df4f FIX: Don't track category-badges links. 2016-01-20 12:48:00 +08:00
Sam Saffron 7303f8f309 FEATURE: first pass at user summary page 2016-01-20 15:14:25 +11:00
Neil Lalonde 9ad226aaa8 FEATURE: add email query param to login, signup, and password-reset URLs to prefill form 2016-01-19 16:53:46 -05:00
Régis Hanol 11ea16a91a FIX: localize S3 region names 2016-01-19 17:14:45 +01:00
Régis Hanol 5018a8033d FIX: add link to user profile for staged users 2016-01-19 16:41:07 +01:00
Sam d18085c57d Merge pull request #3962 from scossar/category-dropdown-badge-wrapper-width
FIX: category-dropdown-menu badge-wrapper width
2016-01-19 19:54:43 +11:00
Régis Hanol 522e0dc9ca Merge pull request #3964 from keepcosmos/add-s3-region
Add new s3 region
2016-01-19 09:16:48 +01:00
Sam 665fc44741 FIX: message_archived? not set correctly for groups 2016-01-19 18:35:46 +11:00
Guo Xiang Tan 843f93594f UX: Smaller margins for category badges. 2016-01-19 13:45:18 +08:00
Guo Xiang Tan 4a7f560a35 FEATURE: Decorate category hashtag links. 2016-01-19 10:58:15 +08:00
Guo Xiang Tan 0812807a53 FIX: Use declared constant. 2016-01-19 10:58:15 +08:00
Régis Hanol 61cc776fdd FIX: only send email notifications for regular and whisper type of posts 2016-01-19 01:39:57 +01:00
Régis Hanol 3083657358 FEATURE: better email in support
FEATURE: new incoming_email model
FEATURE: infinite scrolling in emails admin
FEATURE: new 'emails:import' rake task
2016-01-19 00:57:55 +01:00
Régis Hanol 8b0ffd9a88 don't bother iterating over disabled badges 2016-01-18 21:41:12 +01:00
Robin Ward 57c3d65777 Change `d-editor` to use `_` instead of `*` for italics. 2016-01-18 14:54:54 -05:00
Arpit Jalan cf1bd35fc6 FIX: while changing site text, old and new values can be nil 2016-01-18 20:56:14 +05:30
keepcosmos c53b4ae66d add s3 region 2016-01-18 22:50:15 +09:00
Sam e6c1f1db52 FEATURE: link to filtered badge list from notification
When notified on a badge link to the badge page filtered on username
2016-01-18 18:20:16 +11:00
Sam ca3e2b4da3 FEATURE: you can not drill down and see why you have badges
Clicking on badges filters down the list to a particular user.
2016-01-18 17:59:20 +11:00
Guo Xiang Tan a055c37939 Merge pull request #3956 from tgxworld/fix_clashing_slug
FIX: Clashing category slug.
2016-01-18 10:15:13 +08:00
scossar 08801b835c put avatar in nested table 2016-01-17 12:36:15 -08:00
scossar 02c3884661 box-sizing border box 2016-01-17 11:46:37 -08:00
Arpit Jalan 4e269368fc Merge pull request #3960 from techAPJ/ux
UX: set max-width for topic list
2016-01-16 19:16:29 +05:30
Arpit Jalan 380764dc92 FIX: validate email when changing via user preferences page 2016-01-16 10:50:49 +05:30
Neil Lalonde 1fb3c2cee6 make top period chooser styled more like the heading 2016-01-15 17:55:00 -05:00
Neil Lalonde 89be23a5d4 FEATURE: show date ranges in top period chooser 2016-01-15 17:45:00 -05:00
Robin Ward 7b755c3280 FIX: Precompiler should apply `get` magic too 2016-01-15 14:26:10 -05:00
Robin Ward 4bbbdd8dc4 SECURITY: Upgrade Ember to fix CVE-2015-7565. Also upgrade Handlebars 2016-01-15 13:57:45 -05:00
Régis Hanol 825a01cec3 fix the build 2016-01-15 12:34:28 +01:00
Régis Hanol c9c6b09f36 FIX: allow staff members to edit staged users preferences 2016-01-15 12:16:00 +01:00
Neil Lalonde 1aa68e085e don't hide all a user's posts when staff manually blocks them 2016-01-14 15:20:26 -05:00
Arpit Jalan 6aa376576f UX: set max-width for topic list 2016-01-15 01:42:09 +05:30
Neil Lalonde b8299a2710 log when staff blocks/unblocks someone 2016-01-14 15:05:11 -05:00
Neil Lalonde 12790d8dcc FEATURE: staff can block users, which prevents them from creating topics and replies 2016-01-14 14:42:06 -05:00
Arpit Jalan 0dec98f50a FIX: CDN URL should start with protocol 2016-01-14 18:31:23 +05:30
Arpit Jalan d2c297955a FIX: use CDN URL for audio/video uploads 2016-01-14 17:44:22 +05:30
Robin Ward 166c56ee0d Merge pull request #3958 from halfstrik/master
FIX: Incorrect subfolder authors urls when embedding
2016-01-13 10:20:41 -05:00
Régis Hanol 50408bc7a1 Merge pull request #3957 from tgxworld/allow_opts_to_datepicker
Allow date-picker component to be extended with custom options.
2016-01-13 15:51:34 +01:00
Guo Xiang Tan a362ad9407 FIX: Emoji in Discourse onebox is wrapped in square brackets. 2016-01-13 19:00:11 +08:00
Guo Xiang Tan 4f9eb0fc67 Allow date-picker component to be extended with custom options. 2016-01-13 17:33:37 +08:00
strikki cbd2fbf9a8 FIX: Incorrect subfolder authors urls when embedding 2016-01-13 12:24:03 +03:00
Régis Hanol 737c606710 FIX: 'cancel_scheduled_job' wasn't working due to sidekiq upgrade 2016-01-13 09:08:26 +01:00
Guo Xiang Tan c60e360c90 FIX: Clashing category slug. 2016-01-13 15:32:29 +08:00
Arpit Jalan 68a69c213c UX: handle long words in topic title 2016-01-13 12:11:02 +05:30
Arpit Jalan e676974f16 Merge pull request #3953 from techAPJ/wiki
FEATURE: allow users to wikify their own posts based on trust level
2016-01-13 09:53:33 +05:30
Sam Saffron f5c2ce8141 FIX: download my post button was broken 2016-01-13 14:37:58 +11:00
Robin Ward 1f8586168b FIX: Incorrect subfolder urls when embedding 2016-01-12 12:38:49 -05:00
Régis Hanol e2744fc19f FIX: adding the 'contains_messages' column back 2016-01-12 12:06:51 +01:00
Régis Hanol 8049dfdfda CLEANUP: remove 'contains_messages' leftover 💩 2016-01-12 11:29:26 +01:00
Régis Hanol 96aa5b865f FIX: mentions regex server-side (ie. don't count email addresses) 2016-01-12 09:53:09 +01:00
Sam 65e808b26d FEATURE: go to inbox after archiving a message 2016-01-12 15:49:05 +11:00
Sam 06b5798fb9 fix activity pending route, hidden for now 2016-01-12 15:48:44 +11:00
Sam 1c65fbc9b5 UX: remove glyphs from user page for now 2016-01-12 14:14:52 +11:00
Sam e1050d0273 UX: fix styling on group page 2016-01-12 14:14:38 +11:00
Arpit Jalan 06bac23e5f FEATURE: allow users to wikify their own posts based on trust level 2016-01-12 08:44:25 +05:30
Ruben Barkow 37b5905b44 save height on small screens
There is a lot of white space between each post, that annoys on small screens.

This will minimize the used space if the screen is lower than 700px in height.

Rework of #3820
2016-01-12 00:02:39 +01:00
Régis Hanol fbacaab2fc FIX: disable scheduled jobs when in readonly mode 2016-01-11 18:31:28 +01:00
Robin Ward 19c630e7c2 FIX: Missing username key 2016-01-11 11:50:58 -05:00
Régis Hanol cf0558cd33 FEATURE: properly style whisper email notifications 2016-01-11 17:47:17 +01:00
Robin Ward 2a84db73b5 Support IP addresses for embeddable hosts 2016-01-11 11:06:32 -05:00
Sam Saffron abd460bb9b UX: move message button to top, hide from non-self 2016-01-11 22:44:45 +11:00
Sam Saffron 7350b6c6e6 UX: improve user page styling 2016-01-11 22:44:45 +11:00
Régis Hanol 98c0fac461 FEATURE: add small action post when adding/removing users in messages 2016-01-11 12:42:06 +01:00
Sam Saffron c2e45c8377 Update annotate and annotate models 2016-01-11 17:30:56 +11:00
Arpit Jalan 97e4f7f6d3 Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
Sam 3b45cd0fcb FIX: missing suspension reasons (and many other messages) 2016-01-08 14:57:05 +11:00
Guo Xiang Tan f519834824 FIX: Don't include child categories when term is black. 2016-01-08 11:26:06 +08:00
Régis Hanol c5f9ae0de1 FIX: username mentions weren't working when immediately followed by a dot 2016-01-07 22:23:01 +01:00
Arpit Jalan 850838147a add Twitter labels only if both properties are present 2016-01-07 16:48:05 +05:30
Arpit Jalan 2a819546ae add Twitter label meta tags only if value is present 2016-01-07 14:30:13 +05:30
Arpit Jalan bfd21461df FIX: proper regex for category slug validation 2016-01-07 12:06:45 +05:30
Régis Hanol f654528aa4 FIX: user/group/category mention dialects with less strict matchers 2016-01-06 18:47:21 +01:00
Sam Saffron bfcb0a52bb correct previous commit 2016-01-06 20:36:09 +11:00
Sam Saffron 9f4efed03a PERF: don't publish notification state unless it changed 2016-01-06 20:36:09 +11:00
Arpit Jalan 499599c2a2 UX: add CSS class to user mailing list mode preference 2016-01-05 13:32:35 +05:30
Guo Xiang Tan 0fa9a50378 FIX: Ignore case when comparing category name and search term. 2016-01-05 15:15:04 +08:00
Guo Xiang Tan d6b5b9436c UX: Prioritize categories autocomplete with new rules. 2016-01-05 14:59:18 +08:00
Arpit Jalan 294f0e6491 FIX: new users were not able to self delete 2016-01-05 08:40:27 +05:30
Guo Xiang Tan 0096efadc8 💣 2016-01-05 09:52:53 +08:00
Guo Xiang Tan 3af7509945 FIX: Limit number of items for category hashtag autocomplete. 2016-01-05 09:27:57 +08:00
Jeff Atwood 73336db311 use grey for similar topic blurbs 2016-01-04 15:25:30 -08:00
Robin Ward 29e5ab0121 Revert "remove blue from "similar to" topic excerpts"
This reverts commit 33669f97e4.
2016-01-04 15:43:30 -05:00
Robin Ward c8f90a3973 FIX: On mobile forgot password was broken 2016-01-04 15:24:36 -05:00
Neil Lalonde c7df6783a9 FIX: only invalidate password reset links using javascript 2016-01-04 11:48:54 -05:00
Guo Xiang Tan c1dbf5c1c4 FEATURE: Autolinking to category using hashtags. 2016-01-05 00:12:24 +08:00
Jeff Atwood b425f74ef4 missed an IE9 removal 2016-01-02 23:51:03 -08:00
Jeff Atwood e1f90d12f1 formally remove IE9 support 2016-01-02 23:49:52 -08:00
Arpit Jalan 3251bcb405 FEATURE: streamline 'Reply as linked Topic' feature 2016-01-02 22:12:22 +05:30
Sam Saffron 426299d261 FEATURE: upgrade to Sidekiq 4 2016-01-01 15:40:31 +11:00
Robin Ward 8af5c7385e Merge pull request #3944 from abbasfaisal/410-gone-fix
FIX: When 410 is received, display proper error message instead of generic.
2015-12-31 10:44:23 -05:00
Régis Hanol bebeeffc30 FIX: ico are images too 2015-12-31 11:40:23 +01:00
Sam fcf1777ddf FIX: group notification drop down not populated on user page 2015-12-31 15:49:32 +11:00
Sam 01281b6364 FIX: hide bookmarks tab on other peoples profile (unless self or admin)
FIX: missing download my posts button
FIX: moderators had no way of seeing responses and edits etc
2015-12-31 15:05:23 +11:00
Sam cba76db53b FIX: if people link own post, watchers not notified 2015-12-31 10:51:58 +11:00
Gerhard Schlager 8517674a32 UX: Show translated badge names and badge groupings
FIX: Disallow renaming of system badges
FIX: Disallow renaming/deleting of system badge groupings
UX: Use "modern" button style in badge groupings dialog
2015-12-30 23:35:16 +01:00
Robin Ward 74780c1688 Add more server side unicode replacements for emoji 2015-12-30 14:46:52 -05:00
Robin Ward b17e5c99cc PERF: Use a regexp for unicode replacements 2015-12-30 14:35:25 -05:00
Faisal Abbas f2480aa81f FIX: When 410 is received, display proper error message instead of generic. 2015-12-30 17:18:32 +05:00
Arpit Jalan 51ced7aeae make site setting for read time word count per minute 2015-12-30 12:15:30 +05:30
Sam 736cbf3d2d FEATURE: add parameter that allows you to filter directory items on user
adding ?username= will filter directory_items.json by the username
2015-12-30 15:00:00 +11:00
Sam 92724dcee1 FEATURE: show posters as opposed to participants in messages
Inbox now mixes stuff that you started with stuff you replied to, removing
your avatar from the avatar list causes a lot of confusion.
2015-12-30 14:49:40 +11:00
Sam 2a95e46d3e FIX: missing Mark all as Read button 2015-12-30 13:50:01 +11:00
Sam a4587b18f5 FEATURE: allow users to archive messages from message page 2015-12-30 13:26:39 +11:00
Neil Lalonde 007326d3bd FIX: hidden posts that are edited by the author and unhidden could not be flagged by the same users again 2015-12-29 16:59:36 -05:00
Neil Lalonde 98eee2b5de FEATURE: when all posts in a topic are moved, close the topic 2015-12-29 16:01:55 -05:00
Robin Ward fd6bbc69e2 FIX: On chrome, focusing on a recently changed textarea would scroll 2015-12-29 14:59:12 -05:00
Robin Ward a42826f2ae Merge pull request #3939 from scossar/clickable-category-logo
FEATURE: make category logo clickable
2015-12-29 13:42:18 -05:00
Neil Lalonde c3e81dba68 FIX: setting tl3_min_likes_received too high can make it impossible to be promoted to tl3. Cap the min number of days over which those likes must be received. 2015-12-29 12:59:59 -05:00
scossar ee4beca12a get logo_url with one request 2015-12-29 09:45:40 -08:00
Robin Ward e4adfdb624 Merge pull request #3936 from tgxworld/add_saving_status_to_groups_admin
Add saving status to groups admin
2015-12-29 10:18:02 -05:00
Jeff Atwood 0613399d7a Merge pull request #3940 from mcwumbly/slack_unfurl_heart
UX: replace 💚 with ❤️ in slack unfurling
2015-12-28 15:25:57 -08:00
scossar cc2093f32b add semicolon 2015-12-28 14:49:24 -08:00
David McClure 7654c855b4 UX: replace 💚 with ❤️ in slack unfurling 2015-12-28 17:46:00 -05:00
scossar 993f63ee2b add category-logo-link component 2015-12-28 14:39:27 -08:00
scossar 0fba9443a6 show popup menu over preview window 2015-12-28 13:51:07 -08:00
Arpit Jalan 6ef1537ee0 FEATURE: better unfurling of Discourse topics on Slack 2015-12-28 19:10:19 +05:30
Guo Xiang Tan 1c3d4a6d15 UX: Missing tag attribute. 2015-12-28 11:39:15 +08:00
Guo Xiang Tan 778ae06000 UX: Add saving status to groups admin. 2015-12-28 11:25:30 +08:00
Guo Xiang Tan 2fd228d95a UX: Too much spacing between usernames. 2015-12-28 11:20:32 +08:00
Arpit Jalan 3a28bafc0f FEATURE: onebox internal audio or video files 2015-12-25 01:52:14 +05:30
Sam 14a86dd125 tweak styling 2015-12-24 10:10:00 +11:00
Sam 7ae1846834 improve user page styling 2015-12-24 09:45:09 +11:00
Robin Ward eab9ad7b27 FIX: Was refocusing on resize events
This was annoying on small screens in desktop mode, where a keyboard
appearing would refocus on the search bar and make it impossible to
dismiss.
2015-12-23 15:17:00 -05:00
Robin Ward d1ebb9d0b5 FIX: I18n Fallbacks were not applying correctly 2015-12-23 12:09:18 -05:00
Sam 03ea0bfe22 FEATURE: allow users to archive messages
Messages are now in 3 buckets

- Inbox for all new messages
- Sent for all sent messages
- Archive for all messages you are done with

You can select messages from your Inbox or Sent and move them to your Archive,
you can move messages out of your Archive similarly

Similar concept applied to group messages, except that archiving and unarchiving
will apply to all group members
2015-12-23 11:09:30 +11:00
Neil Lalonde 95749fdeb7 Merge pull request #3929 from techAPJ/tl4
FEATURE: make "trust level 3" requirements time period admin setting
2015-12-22 17:04:19 -05:00
Sam 205b1c5fbd Update emoji.js.erb
bump emoji number
2015-12-23 08:46:42 +11:00
Robin Ward 3095dd160e Add `slightly_smiling` emoji and use it as default smile. 2015-12-22 14:40:49 -05:00
Arpit Jalan f40249faad FEATURE: make trust level 3 time period admin setting 2015-12-22 23:26:19 +05:30
Sam Saffron 00342faff9 FIX: use default favicon if a bad favicon is specified 2015-12-22 18:08:27 +11:00
Arpit Jalan c87fff670d add category list label and state 2015-12-21 23:07:16 +05:30
Régis Hanol a9099f9e23 SECURITY: ensure we never accept fake images 2015-12-21 16:08:14 +01:00
Arpit Jalan 727fd727ea UX: properly parse activity column 2015-12-21 16:52:19 +05:30
Jeff Atwood 33669f97e4 remove blue from "similar to" topic excerpts 2015-12-21 01:12:03 -08:00
Sam 460675400f forgotten semicolons 2015-12-21 10:23:17 +11:00
Arpit Jalan 4c86758f74 FIX: show proper message on invite error 2015-12-20 22:13:37 +05:30
Sam 2470a0adbe remove max-height rule, it was messing up display of front page
was targetting .ember-view which is huge.
2015-12-20 18:27:10 +11:00
Sam f9e6e5a66a PERF: properly preload all category notification levels 2015-12-20 17:47:02 +11:00
Sam 8496f8dfc2 FEATURE: display username user dropdown 2015-12-20 17:15:45 +11:00
Sam 63076a841e Merge branch 'refactor_user_page' 2015-12-20 16:50:33 +11:00
Sam a8b5192efd FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00
Jeff Atwood 5efe4e7e73 Merge pull request #3820 from rubo77/patch-3
save height on small screens
2015-12-19 04:00:16 -08:00
Régis Hanol e89d8e796e FIX: group messages notifications
Prevent double notifications when watching a group
Make sure mentions/quotes/replies in a group message shows up
2015-12-18 16:32:53 +01:00
Arpit Jalan 4c967d11b4 FEATURE: log site text changes 2015-12-18 19:42:06 +05:30
Kelle Connolly a7aeeaffdb Add Discourse.getURL to the url passed into page view events
This means that instances in a subdirectory correctly receive the
subfolder string as a part of the path.
2015-12-18 14:17:51 +11:00
Régis Hanol 1704a362ef FIX: manually blocking/whitelisting an IP address wasn't working 2015-12-17 19:40:50 +01:00
Neil Lalonde 5eff3153e5 FIX: reply as linked topic has [object object] in composer 2015-12-17 12:11:28 -05:00
Sam c3f08145b8 FIX: Chrome scrolling page up when you expand likes 2015-12-17 16:56:18 +11:00
Sam 8baf5bb40d FIX: not proxying protocol-less urls 2015-12-17 13:21:09 +11:00
Régis Hanol e53f110c83 Revert "FIX: prevent double notifications when replying to a group message"
This reverts commit e82dc21083.
2015-12-16 22:20:38 +01:00
Neil Lalonde 650c2f271e add classes to topic admin menu so it can be styles with css 2015-12-16 14:08:26 -05:00
Régis Hanol e82dc21083 FIX: prevent double notifications when replying to a group message 2015-12-16 17:41:54 +01:00
Régis Hanol f2c58d08c5 Merge pull request #3925 from tgxworld/improve_notification_count
FIX: Update all does not trigger callbacks.
2015-12-16 17:21:36 +01:00
Guo Xiang Tan cca0896b9e FIX: Update all does not trigger callbacks. 2015-12-17 00:07:04 +08:00
Arpit Jalan 2412542c77 FIX: check post edit/delete permission 2015-12-16 19:16:55 +05:30
Sam 36fa57f145 Use a real placeholder avatar for all bad avatar links 2015-12-16 14:02:09 +11:00
Sam db7c878f3d correct bad logic 2015-12-16 13:40:34 +11:00
Sam a0e38a52ed PERF: proxy avatars locally when stored on s3
this avoids a nasty redirect
2015-12-16 13:18:38 +11:00
Régis Hanol 4bb31daa2e FIX: when getting a reply by email, ensure it's by the same user 2015-12-16 00:43:05 +01:00
Neil Lalonde 1e7850fa90 FIX: quote reply to new topic doesn't add quote to composer 2015-12-15 18:08:15 -05:00
Neil Lalonde 2d7c3067ba FIX: automatic redirect after activating account on subfolder installs 2015-12-15 14:46:35 -05:00
Arpit Jalan 42a523a3be UX: show ellipsis for long category names 2015-12-15 18:30:44 +05:30
Sam 2230879a24 Merge pull request #3922 from featheredtoast/username-email-from-field
username as from in emails
2015-12-15 21:23:53 +11:00
Sam Saffron f97a754b30 Revert "Try adding an ALT tag for avatars" 2015-12-15 19:57:54 +11:00
Sam Saffron dd6e38133a correct tests and implemenation 2015-12-15 19:46:00 +11:00
Jeff Wong bffdc5907a username as from in emails
Add a site setting to display name in from header for emails
2015-12-15 00:34:04 -08:00
Sam Saffron 436da215ae FIX: allow .network as a domain name 2015-12-15 18:01:31 +11:00
Sam Saffron f2bed10087 Try adding an ALT tag for avatars 2015-12-15 18:00:59 +11:00
Régis Hanol 33181c7152 make eslint happy 2015-12-14 23:25:53 +01:00
Régis Hanol 15c229195f FEATURE: notification_level on a per-group basis 2015-12-14 23:17:09 +01:00
Gerhard Schlager e56f8fa471 Add Slovak locale 2015-12-14 21:55:36 +01:00
Guo Xiang Tan f60a53762f FIX: Keyboard shortcut to quote reply selecting wrong post. 2015-12-14 20:06:38 +08:00
Sam Saffron 1ff5ed4e08 FIX: don't crash if "latest" poster is missing 2015-12-14 16:22:46 +11:00
Faisal Abbas 6b69d717cc FIX: On clicking edit category button, notification level is set to default
commit message
2015-12-13 22:12:23 +05:00
Guo Xiang Tan 7bf4ebf2f6 FIX: Incorrect key when checking for primary tab. 2015-12-12 11:43:43 +08:00
Robin Ward f3748ce0a9 Add new outlet for plugin notifications, plus use right alignment 2015-12-11 16:42:21 -05:00
Robin Ward b2c73e7045 UX: On mobile use a dropdown for topic controls instead of many buttons 2015-12-11 15:09:09 -05:00
Régis Hanol 93d1cc6294 add support for incoming emails in CC/BCC fields 2015-12-10 23:49:16 +01:00
Robin Ward 6c2dee29a8 UX: Upgrade Font Awesome to 4.5.0 2015-12-10 17:19:23 -05:00
Arpit Jalan e2ea0b629f FIX: Empty parentheses admin settings search 2015-12-10 15:47:10 +05:30
Arpit Jalan 335e797776 FIX: trip password reset username/email 2015-12-10 14:31:42 +05:30
Sam 8cf4d52cb6 FEATURE: split up group PMS on user page 2015-12-10 11:39:33 +11:00
Robin Ward fe8c74d0b6 FIX: Flag button broken at the bottom of a topic 2015-12-09 17:08:04 -05:00
Régis Hanol 1d70434de5 use light email template for staged users 2015-12-09 19:45:46 +01:00
Régis Hanol e54837d285 UX: hide group's incoming_email field unless 'email_in' is enabled 2015-12-09 12:10:46 +01:00
Arpit Jalan 94d7908311 UX: dropdowns overlay the header 2015-12-09 11:03:19 +05:30
Sam 564eada45a PERF: limit number of user actions retrieved to a saner page size 2015-12-09 16:23:15 +11:00
Robin Ward d22a479c61 FIX: Error filtering for overidden values with no query 2015-12-08 12:49:37 -05:00
Arpit Jalan e52852dd0f FIX: Autoclose message was not correct when immediate
FEATURE: Warn when setting auto-close for right now
2015-12-08 18:16:48 +05:30
Régis Hanol b09ee9cb82 FIX: don't show members of a group in the user summary 2015-12-08 11:55:34 +01:00
Régis Hanol 3aa5129f54 FEATURE: allow group members to see all messages on group page 2015-12-07 23:19:33 +01:00
Robin Ward b781b6aea3 Add `header_instructions` overridable translation for email headers. 2015-12-07 16:52:33 -05:00
Robin Ward 467485cf47 FIX: Don't show placeholder when triggering one post 2015-12-07 14:21:07 -05:00
Robin Ward 8f1937e88f Clean up PostsWithPlaceholders 2015-12-07 14:21:07 -05:00
Robin Ward 5f995323e1 FIX: Hairline should extend the full width when preview is hidden 2015-12-07 12:51:58 -05:00
Régis Hanol a37d575d7d FEATURE: new 'My Groups' messages filter in user page 2015-12-07 18:37:03 +01:00
Régis Hanol 1cde276656 FEATURE: ability to send emails to a group 2015-12-07 17:01:08 +01:00
Régis Hanol f3c4ed706f Merge pull request #3914 from tgxworld/allow_/_autocomplete
FIX: Allow '/' to trigger autocomplete.
2015-12-07 15:04:26 +01:00
Guo Xiang Tan b6eb8f7793 FIX: Wrong period for quarterly reports. 2015-12-07 21:04:34 +08:00
Guo Xiang Tan 8dbf1e457b FIX: Allow '/' to trigger autocomplete. 2015-12-07 20:22:14 +08:00
Régis Hanol 578f606a1a add 'incoming_email' to groups 2015-12-07 12:39:28 +01:00
Sam fa6687841f remove leftover code 2015-12-07 20:17:05 +11:00
Sam 8d49091572 PERF: stop running VACUUM FULL only run VACUUM 2015-12-07 20:14:26 +11:00
Guo Xiang Tan 8b6b3cf858 FIX: Admin logging should not log permissions if none has been set. 2015-12-06 15:29:13 +08:00
Arpit Jalan ad98f270c9 FIX: preserve redirect URL when logging in via social logins 2015-12-05 15:08:42 +05:30
Sam c82b33600a FIX: serialize current user fields in standard user serializer 2015-12-05 17:50:03 +11:00
Robin Ward d97b2382e6 Don't show placeholders on Android 2015-12-04 17:19:54 -05:00
Neil Lalonde aa54006ad5 add div under poster avatar so people can add badges without a plugin 2015-12-04 16:49:08 -05:00
Robin Ward 420e362bdb FIX: Issues with summaries and our Array 2015-12-04 16:36:16 -05:00
Robin Ward 63ba6c78af FIX: Jump to previously loaded post was broken 2015-12-04 16:20:43 -05:00
Robin Ward 6d38640645 FIX: Remove console.log 2015-12-04 16:00:47 -05:00
Robin Ward 255a5be015 Revert "Cleaner implementation of `postsWithPlaceholders` and more tests."
This reverts commit 4c0670a109.
2015-12-04 15:59:46 -05:00
Robin Ward a51c91ac05 Revert "FIX: Errors with summary views and placeholders"
This reverts commit 5be3bf80eb.
2015-12-04 15:59:39 -05:00
Robin Ward 5be3bf80eb FIX: Errors with summary views and placeholders 2015-12-04 15:10:13 -05:00
Robin Ward 4c0670a109 Cleaner implementation of `postsWithPlaceholders` and more tests. 2015-12-04 15:10:13 -05:00
Robin Ward 80bdc7333c UX: Show category description beside logo 2015-12-04 12:36:09 -05:00
Robin Ward 83be335c54 FIX: Firefox wasn't focusing on d-editor 2015-12-04 12:13:50 -05:00
Robin Ward 40c8d39137 FEATURE: Reply Placeholders in Stream 2015-12-04 10:02:58 -05:00
Robin Ward 1987a35daf Update postream to use ES2015 syntax and decorators 2015-12-04 10:02:46 -05:00
Robin Ward 949f51ffe0 Remove ajax stubbing from post-stream tests 2015-12-04 10:02:37 -05:00
Arpit Jalan dd8b773059 UX: use pastel blue background for topic education pop-ups 2015-12-04 09:19:55 +05:30
Sam 7917316f6f FEATURE: display warning on top of composer for group mentions
If users attempt to mention a group that is "mentionable" display a warning
informing them that people will be notified.
2015-12-04 13:41:07 +11:00
Neil Lalonde 1b510447db FIX: chrome 47 started showing square outline around avatar on user cards 2015-12-03 10:34:11 -05:00
Sam 7f60693b46 add missing filter 2015-12-02 16:16:19 +11:00
Sam 9899e8d4a5 FEATURE: First class messages to groups, you can select a group as a target of a message 2015-12-02 15:49:43 +11:00
Sam fbffe28772 es6 migration and fixes 2015-12-02 11:15:22 +11:00
Neil Lalonde ddd4500d7a FIX: admin reports were broken 2015-12-01 18:31:30 -05:00
James Kiesel 71d7a96fd1 Allow compat with ActionSummary for topic model 2015-12-01 22:07:52 +08:00
Sam d1a5d8ea62 FEATURE: show group mentions and topics in groups page 2015-12-01 16:52:43 +11:00
Sam 1f7c03df5c FIX: missing email notifications for group mentions 2015-12-01 12:12:55 +11:00
Robin Ward b0b85725ad If a search for a translation is exactly the value, prioritize it 2015-11-30 15:31:30 -05:00
Robin Ward de88be2fbc Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -05:00
Arpit Jalan fc57fa70f9 UX: load onebox CSS at the end for embed stylesheet 2015-11-30 14:17:49 +05:30
Sam f6390c8ad6 correct bad merge 2015-11-30 17:12:51 +11:00
Sam ad3dd161e7 FEATURE: first class group mentions built in
If you allow a group to be mentioned it can be mentioned with the @ symbol.

Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Arpit Jalan 86374c90de FIX: if the email template has multiple subjects, link to customize text page 2015-11-28 11:50:02 +05:30
Robin Ward 222fd00724 FIX: Another missing translation replacement 2015-11-27 17:41:03 -05:00
Neil Lalonde 84342ecdef FIX: anonymized user's preferences should have system assigned avatar chosen 2015-11-27 14:37:30 -05:00
Arpit Jalan 4bc6cfd718 FIX: admin email customization editor should not have bold text 2015-11-28 00:46:14 +05:30
Régis Hanol 16b3d26d7b allow staff members to view staged accounts user card/profile 2015-11-27 20:02:24 +01:00
Robin Ward 8c48c12498 FIX: Inserting link wouldn't clear the text field sometimes 2015-11-27 13:32:11 -05:00
Régis Hanol 914b854d92 send invite & message notification emails immediately 2015-11-27 19:09:35 +01:00
Régis Hanol 08cd17b4cf remove deprecation warning in admin/user-index template 2015-11-27 18:58:40 +01:00
Robin Ward c2241ed368 FIX: "Saved!" wasn't resetting when viewing a different email template 2015-11-27 12:51:50 -05:00
Robin Ward 82ef27bb79 FIX: Category not updating below suggested topics 2015-11-27 12:42:32 -05:00
Robin Ward 5a15c4997c Let's be honest: we skip focus for iOS, not touch in general. 2015-11-27 12:23:51 -05:00
Régis Hanol 76692235ae FIX: don't ever fetch staged accounts in unseen mentions 2015-11-27 18:16:50 +01:00
Robin Ward 5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
Arpit Jalan 6354324f2f FIX: validate automatic membership email domains 2015-11-27 12:35:33 +05:30
Sam 55b6f1aaa0 more fields needed flagging as HTML fields 2015-11-27 12:22:54 +11:00
Sam 43d63367fd PERF: stop loading handlebars and ember compilers in prod
(this removes a nice 50K from our initial payload and saves memory)

Also fixes invalid HTML automatically if added to HEAD or /BODY
2015-11-27 11:59:01 +11:00
Régis Hanol c8c6034a7a missed the CategoryList constant 2015-11-26 23:44:15 +01:00
Neil Lalonde 4a25d55e9f FIX: validate email address in signup form even for 3rd party auths 2015-11-26 15:44:30 -05:00
Régis Hanol ba0df7e4cd rename 'is_support' to 'contains_messages' 2015-11-26 18:40:54 +01:00
Régis Hanol e8a6ff4808 prevent users from ever changing the category of a topic in a support category 2015-11-26 18:31:24 +01:00
Régis Hanol 578e15224b UX: hide support categories from selectors 2015-11-26 18:31:24 +01:00
Régis Hanol 9ef8397164 new Category.is_support attribute 2015-11-26 18:31:24 +01:00
Régis Hanol 0d54c18c8b new hidden 'allow_staged_accounts' setting 2015-11-26 18:31:23 +01:00
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
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