Commit graph

8261 commits

Author SHA1 Message Date
Robin Ward
0d90b495a8 FIX: Plugins were broken for initial payloads
Our plugins use rails engines which are mounted against the main
application's `ApplicationController`. This works great but path helpers
need to reference `main_app` in order for it not to blow up.
2015-04-09 12:26:24 -04:00
Kris Aubuchon
cd552170a4 rounding the post-count squares in topic summaries 2015-04-08 16:31:19 -04:00
Jens Maier
5d4a22920e Remove white corners from avatars
See https://meta.discourse.org/t/round-avatars-in-topic-list/27098/103?u=elberet
2015-04-08 11:14:06 +02:00
Sam
4aed506917 type less words 2015-04-08 13:10:28 +10:00
Sam
4bfca12b11 FEATURE: anonymous_account_duration_minutes , cycle anon accounts after N minutes from last post
fixes it so anon users can not like stuff
2015-04-08 12:30:02 +10:00
Robin Ward
6398cd855c Don't scope category dropdown when using "Reply as New Topic" 2015-04-07 13:15:18 -04:00
Robin Ward
65bfa574ce Add userId to GA tracking 2015-04-07 13:10:33 -04:00
Ben Hadley-Evans
895e0261ed Fix italics/bold WYSIWYG bug with nothing highlighted.
This bug was reported here: https://meta.discourse.org/t/ctrl-b-selects-asterisks/27215 - It was something I broke whilst writing PR3288.

The fix checks if it is a multiline selection, if it is not (which includes blank selections) it will leave the asterisks unhighlighted.

Also fix a bug where asterisks would not be stripped if there was whitespace at the beginning of a line in a multiline selection.

Also fix styling issues I missed last time so that it matches the rest of the document. Specifically, 4 character tabs and spaces after "if"s.
2015-04-07 17:51:39 +01:00
Régis Hanol
13e97a0b77 Merge pull request #3343 from Qasem-h/RTL-Support-For-Persian
Add pluralization rule to fa_IR.js.erb
2015-04-07 17:59:02 +02:00
Qasem Hajizadeh
cbbe60e66e Add pluralization rule to fa_IR.js.erb
Persian does not distinguish between the singular and plural forms
of nouns in the same way as English does. For numbered elements,
always return the 'other' key from the translation file.
2015-04-07 20:15:30 +04:30
Régis Hanol
babbbc06d1 FIX: add support for .tgz and .gz backup files 2015-04-07 15:26:47 +02:00
Régis Hanol
cbce585c91 make jshint happy 2015-04-07 12:25:28 +02:00
Régis Hanol
bdbcd21687 FIX: hide custom avatar when image upload is disabled 2015-04-07 11:54:35 +02:00
Sam
be27fca904 we should be able to switch out of anon 2015-04-07 18:19:43 +10:00
Sam
f5d89169e2 FEATURE: initial implemenation of anonymous posting mode 2015-04-07 18:05:31 +10:00
Régis Hanol
cd5af46fb7 Merge pull request #3341 from techAPJ/patch-1
FIX: include topic excerpt in topic/message invite mail for existing user
2015-04-07 09:25:18 +02:00
Arpit Jalan
d5db44da87 FIX: include topic excerpt in topic/message invite mail for existing user 2015-04-07 12:02:04 +05:30
Sam
5d31290dbc FIX: cleanup old letter avatars if needed
FEATURE: use image magick version as a key for letter avatars
2015-04-07 13:03:43 +10:00
Sam
f909233ed5 Merge pull request #3338 from Qasem-h/RTL-Support-For-Persian
add rtl support for persian language
2015-04-07 09:39:50 +10:00
Qasem Hajizadeh
768d170d12 add persian language to rtl support 2015-04-07 00:36:46 +04:30
Robin Ward
6b79cc7b30 FIX: Unbind header keydown event 2015-04-06 14:25:41 -04:00
Robin Ward
da9e2792eb FIX: Bugs with autocomplete
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Régis Hanol
2389bee24c FEATURE: add notice when successfully changing avatar 2015-04-06 18:14:13 +02:00
Arpit Jalan
a425060cdd FIX: user should not be able to invite himself to topic 2015-04-06 20:53:58 +05:30
Régis Hanol
aa61c6068b FIX: disable 'save changes' when uploading a profile picture 2015-04-06 16:42:34 +02:00
Régis Hanol
1fd50634f0 FIX: translation issues with top periods 2015-04-06 13:24:46 +02:00
Régis Hanol
7749b3e99f Merge pull request #3320 from Qasem-h/Add-Persian-Language
Add persian language for Discourse
2015-04-06 12:12:44 +02:00
Régis Hanol
33879e1311 Merge pull request #3199 from fantasticfears/seo
FEATURE: add microdata prop and more links for crawler
2015-04-06 11:18:34 +02:00
Régis Hanol
8775dbec54 Merge pull request #3299 from riking/stagger-backups
FIX: Stagger daily backups by up to 10 minutes
2015-04-06 11:14:37 +02:00
Régis Hanol
23e8e1b6c1 Merge pull request #3303 from riking/patch-6
FIX: Don't fail topic auto-close if privledges are lost
2015-04-06 11:12:37 +02:00
Régis Hanol
7ce2dea33e Merge pull request #3306 from riking/badge-rescue
FIX: Don't stop the badge grant after the first failure
2015-04-06 11:12:20 +02:00
Régis Hanol
50edad5fb2 Merge pull request #3336 from techAPJ/patch-1
FEATURE: support inviting existing users to topic and message when SSO is enabled
2015-04-06 11:11:42 +02:00
Sam
c6a5081763 FEATURE: reorder participants in topic so always chronological
FEATURE: tie breaker for same number of posts is last post date
UX: highlight for latest poster when it is OP
2015-04-06 17:27:05 +10:00
Arpit Jalan
e8dd5592c6 FEATURE: support inviting existing users to topic and message when SSO is enabled 2015-04-05 14:31:35 +05:30
riking
1d4a6618d0 UX: Use ellipsis in topic wrench menu for 'more choices' 2015-04-04 21:59:00 -07:00
Jeff Atwood
0e6c54537a UX: remove "last poster" style from topic list 2015-04-04 14:09:56 -07:00
Jeff Atwood
a752cce5e6 try the "McWumbly shadow" effect v2 2015-04-04 13:48:53 -07:00
Jeff Atwood
09b1125bc3 Merge pull request #3332 from techAPJ/patch-2
UX: add reply-to glyph in composer
2015-04-04 02:46:09 -07:00
Arpit Jalan
3f59cf752d UX: add reply-to glyph in composer 2015-04-04 13:02:55 +05:30
Jeff Atwood
6182af5e37 Revert "Allowing poll feed with UTF-8 title"
This reverts commit 63704c5cee.
2015-04-03 23:33:01 -07:00
Jeff Atwood
19be0ff744 try "the McWumbly shadow" effect 2015-04-03 23:07:49 -07:00
Sam
6f63f4fe17 correct anon search 2015-04-04 07:55:32 +11:00
Jeff Atwood
2da0019228 remove word "by" in editor title, ONW 2015-04-03 12:42:23 -07:00
Jeff Atwood
2670ed08b6 remove ending colon in reply-to editor overlay 2015-04-03 12:36:12 -07:00
Régis Hanol
5828ba5b75 ooops, shouldn't have deleted that 2015-04-03 18:45:03 +02:00
Régis Hanol
4e6a2a1fa4 some refactoring (cc @techAPJ) 2015-04-03 18:43:26 +02:00
Thomas Schmit
63704c5cee Allowing poll feed with UTF-8 title 2015-04-03 17:20:20 +02:00
Régis Hanol
7602353209 fix the build 2015-04-03 17:09:51 +02:00
Régis Hanol
3bae2cca4d FIX: delegate click to modal close when pressing ESC 2015-04-03 17:03:27 +02:00
Régis Hanol
7a31131239 FIX: save button is deactivated on create group page 2015-04-03 16:50:51 +02:00
Arpit Jalan
abdd63af0b Remove SHIFT-ENTER support in editor 2015-04-03 19:43:16 +05:30
Régis Hanol
1c4fd78cf6 Merge pull request #3327 from fantasticfears/fix-templates
FIX: unmatched element prevents HTMLbars from compiling
2015-04-03 14:10:26 +02:00
Arpit Jalan
125a0ec5bf UX: dynamic invite copy 2015-04-03 16:24:17 +05:30
Erick Guan
2e7c5e5f35 FIX: unmatched element prevents HTMLbars from compiling 2015-04-03 18:40:17 +08:00
Régis Hanol
0e1c4a0a44 Merge pull request #3313 from techAPJ/patch-1
FEATURE: invite existing user to a topic
2015-04-03 11:41:10 +02:00
Arpit Jalan
8c2d7dcaac FEATURE: invite existing user to a topic 2015-04-03 15:00:04 +05:30
Régis Hanol
d845dd2225 FIX: actually optimize the image! 2015-04-03 11:22:48 +02:00
Jeff Atwood
0f9a22b572 UX: deemphasize alternate login buttons 2015-04-03 00:21:22 -07:00
NomNuggetNom
5932f2d39c Fix circular avatars getting squished 2015-04-02 21:28:13 -04:00
Jeff Atwood
2b53d09db5 use correct invite icon 2015-04-02 17:03:56 -07:00
William Di Luigi
041f7544c6 UX: cleaner trending up/down stats colors 2015-04-03 00:42:02 +02:00
Jeff Atwood
51a9bc055b UX: switch to circle avatars by default 2015-04-02 15:10:15 -07:00
Neil Lalonde
30b063c08b FEATURE: make full names a required field of user profiles with the full_name_required setting 2015-04-02 17:08:04 -04:00
Robin Ward
82124b3222 UX: Login to decide when to show you near the top of the directory
Don't show yourself there if you are close to the top already.
2015-04-02 14:51:49 -04:00
Régis Hanol
1ec73b5ba0 FIX: use 'request.remote_ip' instead of 'request.ip' for better consistency 2015-04-02 16:24:27 +02:00
Régis Hanol
a799f6f8d9 Merge pull request #3321 from techAPJ/patch-2
FIX: include site name in email reply error subject
2015-04-02 13:55:49 +02:00
Arpit Jalan
a80c742855 FIX: include site name in email reply error subject 2015-04-02 15:46:22 +05:30
Sam
54645261aa better disallow search ... this could get ugly 2015-04-02 17:08:00 +11:00
Sam
214034f34a regression search route was getting in the way 2015-04-02 17:03:32 +11:00
Sam
2a2bd3e946 regression and missing filter 2015-04-02 16:30:34 +11:00
Sam
4dbd065026 work-in-progress full page search 2015-04-02 16:02:07 +11:00
Sam
2843224e80 FIX: missing tooltips on topic blue and grey circles in list 2015-04-02 13:07:06 +11:00
Sam
04bb1de057 FIX: Only redirect to top from root url. 2015-04-02 12:51:32 +11:00
Qasem Hajizadeh
d88f291152 Create fa_IR.js.erb 2015-04-02 02:56:16 +04:30
Régis Hanol
682656fa6c FIX: only redirect to whitelisted hostnames 2015-04-01 22:59:25 +02:00
Robin Ward
2fde257506 FIX: Close info was not showing up after removing an attribute
It was removed in 4cc22a55a0.
2015-04-01 15:21:37 -04:00
Régis Hanol
0f4a4651a9 FIX: youtube preview video title link doesn't work 2015-04-01 18:23:27 +02:00
Kris Aubuchon
ceae06b831 adding position: relative; to #main 2015-04-01 11:59:58 -04:00
Robin Ward
35da1ef620 ES6ify category chooser 2015-04-01 11:10:32 -04:00
Régis Hanol
eec1921ba9 FIX: notifications inconsistencies + never notify system user 2015-04-01 11:55:59 +02:00
Jeff Atwood
6137a5f00b FIX: deleted message color was wrong on mobile 2015-04-01 01:28:14 -07:00
Jeff Atwood
801d04997a FIX: staff message color was wrong on mobile 2015-04-01 01:07:22 -07:00
Sam
14741b5dac FIX: only ONE user on site could have a list of muted users 2015-03-31 10:16:23 +11:00
Robin Ward
5f8bd16e7e FIX: Clicking from one user badge to another was not updating badge 2015-03-30 12:47:19 -04:00
Robin Ward
60ab62b73a UX: If you ctrl or cmd click a user card link, don't show the card 2015-03-30 12:08:16 -04:00
Robin Ward
28864e74bc FIX: Don't show the filter title on the default route 2015-03-30 11:40:44 -04:00
Régis Hanol
10b8eca9a6 fix the build 2015-03-30 12:48:20 +02:00
Régis Hanol
588667b1e4 FEATURE: fix avatar in quotes when changing avatars 2015-03-30 12:31:10 +02:00
Régis Hanol
b861669ceb add global notice for S3 deprecation warning 2015-03-30 11:26:45 +02:00
Régis Hanol
8760f7d817 FEATURE: don't show the 'download' link to anon when they can't even download the original image 2015-03-30 10:57:26 +02:00
Régis Hanol
e9e57f3059 UX: banner topic's background was blue 2015-03-30 10:42:14 +02:00
Sam
830ce05fe6 PERF: simplify and shrink the translation cache
FIX: leaking objects into the translation cache causing sidekiq to grow
2015-03-30 16:31:36 +11:00
Sam
586cca352d move memory diagnostics into lib, so it can be reused elsewhere 2015-03-30 10:14:42 +11:00
riking
6ce26ab4d8 FIX: Don't stop the badge grant after the first failure 2015-03-28 18:36:05 -07:00
riking
03b971c3e3 FIX: Don't fail topic auto-close if privledges are lost 2015-03-27 15:31:04 -07:00
Régis Hanol
260b94e7e1 FIX: category class on body was busted (:fired:) 2015-03-27 23:07:05 +01:00
Jeff Atwood
44740a379f change invite icon to user-plus 2015-03-27 13:53:58 -07:00
Kris Aubuchon
36087919b6 adding clearfix to body 2015-03-27 14:42:27 -04:00
Robin Ward
ed58a87616 FIX: Disable links in the preview to avoid losing your drafts 2015-03-27 14:24:41 -04:00
Robin Ward
ada633f084 FIX: Clicking the lock icon was running the "pin" logic 2015-03-27 12:55:19 -04:00
Robin Ward
76fe24251c FIX: unread badges should be inline on the category list 2015-03-27 12:10:21 -04:00
Robin Ward
88c4250df7 FIX: Double slash with finder for admin routes 2015-03-27 12:02:23 -04:00
Régis Hanol
cb14ab7a14 FEATURE: add archetype class to body 2015-03-27 16:56:42 +01:00
Robin Ward
9e7080eee4 FIX: user-small component had a broken link to to the user 2015-03-27 11:55:13 -04:00
Robin Ward
7a38360fbd FIX: Quote widget vanished on Messages 2015-03-27 11:50:09 -04:00
Régis Hanol
9633cfeae1 bump font cache 2015-03-27 16:33:15 +01:00
Régis Hanol
4d58db2b09 also remove zocial svg font 2015-03-27 15:33:03 +01:00
Régis Hanol
ae0fe54980 FIX: show-more div was behind the fa-icon 2015-03-27 13:44:44 +01:00
Régis Hanol
8bbc742247 remove svg version of font-awesome 2015-03-27 13:42:30 +01:00
Régis Hanol
d9606bef9d update font-awesome to 4.3.0 2015-03-27 13:08:58 +01:00
Sam
05737effef FIX: stop stripping dots from SSO names
This could upset Louis C.K.
2015-03-27 10:25:51 +11:00
Sam
d80ed94608 more username cycling avoidance 2015-03-27 10:10:53 +11:00
Sam
0c287d7d6b ensure usernames do not keep cycling 2015-03-27 10:04:16 +11:00
Sam
4566a1e30a FIX: sso override code not triggered when attaching to existing user 2015-03-27 09:39:35 +11:00
Robin Ward
914dd2dd8d FIX: Escape the title of a topic when replying as new 2015-03-26 15:16:23 -04:00
Régis Hanol
9017a7d2de FIX: category description isn't properly escaping html 2015-03-26 18:21:30 +01:00
Régis Hanol
a87083fa76 FIX: use 'resize' option instead of 'thumbnail' when downsizing emojis 2015-03-26 18:16:15 +01:00
Régis Hanol
6493e4f641 FIX: missing tooltip on backup screen 2015-03-26 18:05:27 +01:00
Robin Ward
2cc5858163 Add site setting to disable User Directory, include restricted info 2015-03-26 11:26:19 -04:00
Robin Ward
e6ba3344fa UX: Display unread underneath description on categories page if logo 2015-03-26 11:08:54 -04:00
Robin Ward
a30895e69d Merge pull request #3288 from savef/fix-bold-and-italic-buttons
Improve the italic and bold buttons on multiline selections.
2015-03-26 10:46:45 -04:00
riking
018c467c69 FIX: Stagger daily backups by up to 10 minutes 2015-03-25 23:24:39 -07:00
Sam
5aa1272f05 clean up first day user definition and object model 2015-03-26 16:48:36 +11:00
Sam
9834d11503 Staff and TL2 up are immune to newuser checks and not considered new users 2015-03-26 16:04:46 +11:00
Sam
133e3bab7a Merge pull request #3298 from awesomerobot/master
lighter yellow directory highlight, badge fix on mobile
2015-03-26 12:59:16 +11:00
Kris Aubuchon
a5cffcaa7f lighter yellow directory highlight, badge fix on mobile 2015-03-25 21:29:01 -04:00
Sam
cfa511e35d FIX: correctly mute likers
FEATURE: disallow all muting of staff
2015-03-26 12:08:04 +11:00
Régis Hanol
b4b505d45f UX: move automatic/custom groups properties to their own fields group in user admin 2015-03-25 20:16:47 +01:00
Régis Hanol
fae489b90a Merge pull request #3297 from techAPJ/patch-1
FIX: do not delete already redeemed invite
2015-03-25 19:17:18 +01:00
Régis Hanol
75705f3a98 UX: slide in animation for login/signup modals 2015-03-25 19:14:34 +01:00
Arpit Jalan
fb0e7dc0b2 FIX: do not delete already redeemed invite 2015-03-25 23:30:09 +05:30
Régis Hanol
90de61ee3d S3 deprecation warning 2015-03-25 18:34:07 +01:00
Robin Ward
2b46b52b64 Merge pull request #3296 from techAPJ/patch-1
FIX: delete duplicate invites
2015-03-25 13:25:05 -04:00
Arpit Jalan
4862a93804 FIX: delete duplicate invites 2015-03-25 22:43:41 +05:30
Robin Ward
0c6faca7f4 FIX: Pass the user to checkEmail 2015-03-25 11:33:52 -04:00
Robin Ward
33e35930b0 FIX: Server error when no results on user directory while logged in 2015-03-25 11:18:46 -04:00
Sam
e5c3266c30 Merge pull request #3295 from RaceProUK/master
Swapped order of checks
2015-03-25 16:55:54 +11:00
Sam
eaab5c64f0 window scroll event wreaks havoc, get rid of it. 2015-03-25 16:37:30 +11:00
Sam
692433f0cf try to make it a bit smoother 2015-03-25 15:23:26 +11:00
Sam
eec87b5513 workaround more missing click events 2015-03-25 14:11:17 +11:00
Sam
64cf14e19e increase timeout, so scroll event does not hit 2015-03-25 13:40:22 +11:00
Sam
908c4ce8e6 weird IOs hack to make the upload button work 2015-03-25 13:20:17 +11:00
Sam
707f4f9a58 more nasty iPad Safari and iPhone Safari hacks 2015-03-25 12:17:39 +11:00
RaceProUK
47d60ad86a Swapped order of checks 2015-03-24 22:36:54 +00:00
RaceProUK
33e37950f9 Added 'M' to the number formatter 2015-03-24 22:03:57 +00:00
Neil Lalonde
96a16743c3 add classes to global-notices so they can be found with selectors 2015-03-24 17:12:28 -04:00
Robin Ward
8fd339b994 Include the current user at the top AND in the user directory 2015-03-24 16:19:15 -04:00
Robin Ward
1e3e4135a3 Add Posts Read + Visits to User Directory 2015-03-24 15:31:54 -04:00
Robin Ward
298098745e Allow users to reply as new to closed topics using quote functionality
Previously, only users who could reply to a topic could use the quote
button. Now, if a user has the ability to reply as a new topic, that
operation will be used if the user selects text in a topic they can't
reply to.
2015-03-24 14:05:08 -04:00
Robin Ward
e3eaa7fa75 FIX: In long topics, filtering button was not always showing in card 2015-03-24 12:33:50 -04:00
Robin Ward
4aa2039238 Add full name in emails, tweak styles a bit. 2015-03-24 11:25:47 -04:00
Sam
1bdce815e2 FIX: workaround for Safari on iOS causing crazy composer positioning
see: http://stackoverflow.com/questions/29001977/safari-in-ios8-is-scrolling-screen-when-fixed-elements-get-focus
2015-03-24 17:43:05 +11:00
Sam
92e371f0b3 FEATURE: civilized mute
Allow user to mute all notifications generated by specific users
2015-03-24 11:55:22 +11:00
Robin Ward
ff3e1e1dd7 FIX: User's topic lists weren't consistent WRT visibility 2015-03-23 18:13:06 -04:00
Régis Hanol
6930c8919e FIX: duplicate emojis in emoji-toolbar 2015-03-23 21:35:53 +01:00
Neil Lalonde
55f293d062 FEATURE: add a route to show the password reset dialog: /password-reset 2015-03-23 15:14:50 -04:00
Robin Ward
8513045381 Include user title in email notifications 2015-03-23 14:12:11 -04:00
Robin Ward
5bf7f3f4b5 FIX: Leaky DOM with combo-box 2015-03-23 13:04:33 -04:00
Régis Hanol
3954f69514 FIX: hoisting issue with regexp replacement patterns 2015-03-23 16:33:41 +01:00
Régis Hanol
dce258017f FIX: Avatar shows over banner on mobile
cf. https://meta.discourse.org/t/avatar-shows-over-banner-on-mobile/26668
2015-03-23 16:08:46 +01:00
Kris Aubuchon
84d41be196 clearfix for admin contents 2015-03-23 10:23:42 -04:00
Sam
1601211617 Revert "FEATURE: allow end users to opt out of getting any private messages"
This reverts commit 229ecc4f8a.
2015-03-23 17:21:58 +11:00
Sam
229ecc4f8a FEATURE: allow end users to opt out of getting any private messages 2015-03-23 15:50:45 +11:00
Sam
bb20f64cb2 use standard error so its easier to catch 2015-03-23 12:20:50 +11:00
Sam
853c91d7d0 Merge pull request #3289 from fullfatthings/suppress_sso_welcome_emails
Add an sso option to suppress welcome emails
2015-03-23 10:36:58 +11:00
Jeff Atwood
ce09adb5ff some tweaks to Feature this Topic 2015-03-20 12:47:39 -07:00
Robin Ward
c6afeb2259 Show the user card when clicking on users in the directory 2015-03-20 15:40:28 -04:00
Robin Ward
6d38005a22 Allow staff to change uneditable user fields 2015-03-20 15:18:43 -04:00
Robin Ward
8041342267 UX: Support dark themes on user directory 2015-03-20 14:55:46 -04:00
Robin Ward
4d26ef5e29 Add Title tag, rename to "Users" 2015-03-20 14:20:50 -04:00
Robin Ward
3c0fee1786 Fixes broken spec 2015-03-20 13:24:03 -04:00
Dan Singerman
e8648350eb Add an sso option to suppress welcome emails
As discussed here: https://meta.discourse.org/t/create-new-sso-users-without-sending-welcome-emails/24894
2015-03-20 17:04:52 +00:00
Ben Hadley-Evans
229e1850ab Improve the italic and bold buttons on multiline selections.
This misuses the system that Pagedown has set up somewhat, but it has to in order to affect the content inside the selection. The end behaviour seems to me to be non-buggy and much more obvious to an end user.

Essentially, instead of performing the operation to surround characters on one line, it splits the selection into lines the loops the operation. But usually a single "chunk" is returned with some replacement text and markdown to insert before and after the text. Because we're replacing text inside the selections the before and after are left blank and the selection contains all the changed markdown.
2015-03-20 16:53:44 +00:00
Robin Ward
605fe4b11d Don't count moderator actions in the user directory stats 2015-03-20 12:14:14 -04:00
Robin Ward
9f22be2865 Restrict User Directory results more based on privacy 2015-03-20 11:42:39 -04:00
Régis Hanol
18f4f60956 FIX: used 'pin' terminology instead of 'feature topic' 2015-03-20 11:43:05 +01:00
Robin Ward
640a92ce30 JSHint fix 2015-03-19 18:30:19 -04:00
Robin Ward
051a2a3d14 FEATURE: Can search the user directory by name 2015-03-19 18:07:48 -04:00
Robin Ward
9e13067be0 Replace refreshModel with a custom property 2015-03-19 18:07:47 -04:00
Robin Ward
326dff6068 UX: User directory tweaks.
Also includes Better refresh semantics for query params (avoids
transition)
2015-03-19 17:09:39 -04:00
Robin Ward
1931850151 UX: Always show the current user at the top of the directory 2015-03-19 15:32:23 -04:00
Régis Hanol
28c0f9dd1f FIX: only nag when pinning globally 2015-03-19 20:05:03 +01:00
Régis Hanol
11bf7da63c FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +01:00
Régis Hanol
5084e2bdf1 Merge pull request #3284 from techAPJ/patch-1
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Robin Ward
ae695d6438 UX: Show two lines per user on directory 2015-03-19 14:53:52 -04:00
Arpit Jalan
b706307ac7 FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
Robin Ward
7ef306cd3b A bunch of tweaks to the Users directory
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
Régis Hanol
a7a3b199ef FIX: popups stopped appearing 2015-03-19 13:42:13 +01:00
Régis Hanol
df3b1f6968 FIX: editing a post wasn't showing error messages from the server 2015-03-19 12:25:15 +01:00
Régis Hanol
b31c05704a UX: fix [Object object] on admin/groups buttons 2015-03-18 22:46:24 +01:00
Robin Ward
3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Sam
948617cb0b FIX: ruby 2.2 using new parsing library which is way too lax 2015-03-18 16:25:24 +11:00
Régis Hanol
9cbd0f8e78 UX: separate custom from automatic groups in user admin
REFACTOR: some moar ES6 refactoring
2015-03-17 22:59:05 +01:00
Régis Hanol
aa41a9ce70 FIX: remove empty lines but keep whitespace on first line in code blocks 2015-03-17 17:27:16 +01:00
Neil Lalonde
8fcbea0c2c FIX: don't show delete all posts button in admin when there are no posts 2015-03-17 11:18:39 -04:00
Régis Hanol
177cbf392d UX: remove outline on lightboxes 2015-03-16 22:38:33 +01:00
Régis Hanol
6be645e1ca FEATURE: ask confirmation when clearing more than 1 bookmark 2015-03-16 22:06:11 +01:00
Régis Hanol
10ef30ab3c FIX: better handling of the 'read guidelines' badge 2015-03-16 19:25:28 +01:00
Régis Hanol
4ff1e19712 FIX: emoji aliases were not recognised 2015-03-16 18:28:11 +01:00
Régis Hanol
83a2a832b1 FIX: hide draft status when uploading an image 2015-03-16 17:06:23 +01:00
Erick Guan
c955907f60 FEATURE: add microdata prop and more links for crawler
- add microdata based on schema.org
- add breadcrumb on the top of topic
- add navigations link on the bottom of every pages
- add category description on the category list
2015-03-16 22:52:10 +08:00
Régis Hanol
b0abe3a9d6 FIX: change button to 'remove feature' when a topic is already featured 2015-03-16 12:18:30 +01:00
Régis Hanol
df7c38dd51 FIX: don't add an automated message when *a* moderator already replied (as opposed to *the* moderator) 2015-03-16 12:02:34 +01:00
Régis Hanol
ad8bf65053 Merge pull request #3246 from riking/patch-2
Remove topic_auto_close_at from PostSerializer
2015-03-16 09:53:38 +01:00
Régis Hanol
3a40875e0b Merge pull request #3247 from jmay/group-manager-invites
group manager can issue invitations from restricted topics
2015-03-16 09:53:04 +01:00
Régis Hanol
c5de75d25d Merge pull request #3122 from fantasticfears/share-link
FEATURE: unbind font awesome icon in share button
2015-03-16 09:51:20 +01:00
Erick Guan
ae62c1361e extends share links
- change `iconClass` to `faIcon`
- add `htmlIcon` to allow custom HTML
- add reddit, linkedin, tumblr
2015-03-16 16:44:50 +08:00
Régis Hanol
886e325c98 Merge pull request #3272 from riking/featured-css
FEATURE: Style 'Feature Topic' dialog
2015-03-16 09:44:46 +01:00
Sam
59a2f622c6 FIX: pause processing background messages while saving a post 2015-03-16 18:27:18 +11:00
Sam
8b4469a3f0 improve tests, ensure stream grows if all posts are loaded on commit 2015-03-16 17:40:49 +11:00
Sam
1d021d7019 commit post not working properly when stage post was not called
caused issues editing posts that were committed by the composer
2015-03-16 17:14:01 +11:00
riking
98c31f399a FEATURE: Style 'Feature Topic' dialog 2015-03-15 20:42:14 -07:00
Jeff Atwood
876d8a5174 de-emphasize categories on mobile a bit 2015-03-15 02:23:18 -07:00
Régis Hanol
399418e1ff FIX: modal backup wasn't working 2015-03-14 12:46:46 +01:00
Régis Hanol
4787e73954 FIX: toggle topic status was inverted 2015-03-14 02:45:33 +01:00
Régis Hanol
424a3b042a FEATURE: unified UI for pinning/banner topics
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
77f9d1e223 Use pretender's passthrough for dynamically loaded scripts 2015-03-13 12:14:22 -04:00
Sam
f359cdeddc remove hacky protocol code, not needed 2015-03-13 20:50:38 +11:00
Sam
4301ce6613 another try at a fix 2015-03-13 20:05:24 +11:00
Sam
a09d471514 Correct CDN url creation for "//" rooted CDNs 2015-03-13 19:31:33 +11:00
Sam
08abb85682 oops 2015-03-13 18:50:34 +11:00
Sam
f6d56fef9e correct behavior 2015-03-13 18:33:47 +11:00
Sam
20ab1f97e4 REGRESSION: not caching async scripts, remove cache buster 2015-03-13 16:55:27 +11:00
Sam
a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Robin Ward
893c1aa067 FIX: Quoting an avatar when default_avatars was set was broken. 2015-03-12 15:51:28 -04:00
Robin Ward
091af27a31 FIX: Reply as new topic should select the correct category 2015-03-12 14:41:58 -04:00
Robin Ward
3ecb58980f FIX: Allow loadScript to use script tags if the JS library require it. 2015-03-12 13:09:17 -04:00
Robin Ward
69851bc6cf Deprecates global use of Discourse.MessageBus
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Régis Hanol
9061c26e52 FIX: code block hoisting bug 2015-03-12 11:17:00 +01:00
Sam
c14d17b5f3 FIX: do not include jquery.widget twice 2015-03-12 13:35:51 +11:00
Sam
c51dc9af54 update ace editor to latest, fix regression where syntax highlighting was missing 2015-03-12 12:20:50 +11:00
Sam
b1c18367e4 REGRESSION: not navigating to topic when replying (and not on topic) 2015-03-12 11:26:25 +11:00
Sam
fb41816003 smarter clear cache to help tests 2015-03-12 10:47:32 +11:00
Robin Ward
7c9fb5d3fc Refactored SiteMap/Header to support more dynamic flag counts
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Neil Lalonde
dece5a351a more fixes for post ownership change and user deletion 2015-03-11 15:54:20 -04:00
Régis Hanol
afd2417945 FEATURE: new 'auto_respond_to_flag_actions' site setting 2015-03-11 19:29:09 +01:00
Régis Hanol
c8631a7a8b FIX: auto-message shouldn't generate notifications 2015-03-11 19:07:17 +01:00
Régis Hanol
6cd4330335 FIX: show all deleted posts 2015-03-11 18:07:47 +01:00
Robin Ward
5f3176dfd4 Adds a deprecation for $LAB usage in case plugins use it
Previously it was just removed which broke MathJax.
2015-03-11 10:59:34 -04:00
Robin Ward
fb85d3c8a6 FIX: Edit category button was broken 2015-03-10 16:42:09 -04:00
Robin Ward
354b9ccf3b Allow users to choose "Every 3 days" as a digest frequency 2015-03-10 16:04:48 -04:00
Robin Ward
f50280a889 Split out bulk operations modal and Discourse.Route.showModal
This makes it easier to share bulk topic operations, for example
from a plugin's custom topic list.
2015-03-10 15:40:56 -04:00
Kris Aubuchon
111ac609ec fixing mis-alignment of categories in the dropdown 2015-03-10 13:33:38 -04:00
Neil Lalonde
be446b7e50 use d-buttons, and other small tweaks 2015-03-10 13:06:24 -04:00
Robin Ward
b5263b9b9b Merge pull request #3266 from techAPJ/patch-1
UX: show GitHub logo in front of URL for commit/PR/issue/gist
2015-03-10 12:27:00 -04:00
Neil Lalonde
608647d02f FEATURE: Anonymize User. A way to remove a user but keep their topics and posts. 2015-03-10 11:59:08 -04:00
Régis Hanol
a68512bebf Merge pull request #3265 from awesomerobot/master
a few small alignment fixes for bullet categories
2015-03-10 16:36:28 +01:00
Robin Ward
0db89d20ee FEATURE: email digest frequency of every 3 days 2015-03-10 11:21:15 -04:00
Kris Aubuchon
3d6c636aa8 a few small alignment fixes for bullet categories 2015-03-10 10:34:04 -04:00
Arpit Jalan
470d29086f UX: show GitHub logo in front of URL for commit/PR/issue/gist 2015-03-10 19:54:41 +05:30