Commit Graph

6730 Commits

Author SHA1 Message Date
Arpit Jalan 8700716fcd separate site setting for showing full name in emails 2014-10-22 00:50:39 +05:30
Neil Lalonde c330fb7639 add missing semicolon 2014-10-21 14:57:26 -04:00
Arpit Jalan 83068fab94 FEATURE: show full name in emails 2014-10-21 23:34:44 +05:30
Jeff Atwood d501f003ca fix up /about on mobile 2014-10-21 01:09:54 -07:00
Jeff Atwood 7cda43e502 fix expanded avatar 1 row css suppress mobile 2014-10-21 00:50:17 -07:00
Jeff Atwood e88fc65de4 fix expanded avatar 1 row css suppression 2014-10-21 00:34:57 -07:00
Sam 832655df14 attempt to get content length through 2014-10-21 16:17:13 +11:00
Sam 4e7057efb1 Clean up content type and add Expires header when serving CDN assets 2014-10-21 15:59:34 +11:00
Sam d4f3f894f4 FEATURE: focus input on modals is optional 2014-10-21 08:12:29 +11:00
Robin Ward 71f211f0b3 FEATURE: Allow users to select a badge with an image to appear on their
user card
2014-10-20 16:35:38 -04:00
Robin Ward 1cf4a0d604 Rename "User Expansion" to the much clearer "User Card" 2014-10-20 12:11:59 -04:00
Régis Hanol 10094a0bcd FIX: resolve flags as good when deleting a spam user 2014-10-20 16:59:06 +02:00
Régis Hanol 29b2788ca6 Merge pull request #2896 from awesomerobot/master
sticking transitions into a sass mixin
2014-10-20 16:26:53 +02:00
Kris Aubuchon b97a4f5bd0 sticking transitions into a sass mixin 2014-10-20 09:54:36 -04:00
Arpit Jalan 42714d7d25 Hide google search when the instance is private 2014-10-20 16:50:42 +05:30
Arpit Jalan e6171c31fb FIX: browser password manager was saving name instead of username 2014-10-20 01:16:07 +05:30
Arpit Jalan 7b81e79b12 Show raw email in text box 2014-10-20 00:51:22 +05:30
Kris Aubuchon d132b35426 a handful of minor style updates/fixes 2014-10-18 23:07:55 -04:00
Régis Hanol c59e56ec63 Merge pull request #2882 from techAPJ/patch-1
FEATURE: show raw email for replies/topics created via email
2014-10-18 21:16:17 +02:00
Jeff Atwood b77f7ce567 overflow:hidden on blockquote caused IE freakout 2014-10-18 02:48:25 -07:00
Jeff Atwood 736dd6c948 Revert "jQuery-ize the 404 page Google search"
This reverts commit 6b209f0d7e.
2014-10-20 00:22:24 -07:00
Jeff Atwood 6b209f0d7e jQuery-ize the 404 page Google search 2014-10-20 00:19:48 -07:00
Sam 147e4bf056 add some padding 2014-10-18 18:12:48 +11:00
Sam bfbfc16cca Correct hard coded URL, implement missing features 2014-10-18 18:09:45 +11:00
Sam bf7ee92d56 Move search help to a more intuative spot 2014-10-18 18:00:54 +11:00
Sam 8efee0d03d don't use Markdown 2014-10-18 17:17:38 +11:00
Jeff Atwood 92b615b503 reorganize site settings a bit 2014-10-19 23:14:50 -07:00
Jeff Atwood ba9e4b42fe mobile "new/updated topics" alert was too small 2014-10-19 23:01:19 -07:00
Jeff Atwood 2517496bf4 multiple lines of post-actions smushed on mobile 2014-10-19 22:47:34 -07:00
Sam 742c5e29c9 FEATURE: advanced search help 2014-10-18 14:27:33 +11:00
Arpit Jalan 72873b8368 further optimize raw email feature 2014-10-18 00:50:02 +05:30
Arpit Jalan 3854c0a29e only staff can view raw email 2014-10-17 23:21:18 +05:30
Arpit Jalan 2131a37811 FEATURE: show raw email for replies/topics created via email 2014-10-17 22:22:19 +05:30
Régis Hanol ab9a0235b4 UX: make sure onebox avatar's dimensions arent overriden in order to prevent 'bumps' when the image loads 2014-10-17 18:32:24 +02:00
Robin Ward 569874c2b6 UX: Added help text below profile images 2014-10-17 11:26:30 -04:00
Régis Hanol 35c30368f0 UX: fix embedded posts background for good 2014-10-17 17:04:08 +02:00
Jeff Atwood 3825b04751 move user-dropdown unread PM badge to right 2014-10-17 16:28:10 -07:00
Robin Ward 0cbdf6f5bb FIX: Many bugs with admin badges interface
* Editing a badge's title would show it as changed in the side even if
  you didn't hit save

* Clicking a badge would not scroll to the top

* If there was an error saving a badge there was a missing i18n key

* URLs were using queryParams instead of paths

* User `label` tags for checkboxes for larger click targets

* Saved! text would persist when viewing another badge

* After creating a new badge it would show nothing

* Validation errors were not being properly released to the client

* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Sam 10db8f21d7 FEATURE: experimental reply-to expansion which hides intermediate posts
experimental_reply_expansion
2014-10-15 18:13:13 +11:00
Jeff Atwood 9e9bfe03c0 add overflow:hidden to blockquote (for images) 2014-10-16 22:45:45 -07:00
Sam 8b508e704b Merge pull request #2881 from DeanMarkTaylor/patch-1
FIX: Censored word match fail if earlier partial match
2014-10-17 15:03:19 +11:00
Sam cb044bb219 Merge pull request #2851 from VickMellon/title_encoding_cast
FIX: force encoding for title field
2014-10-17 15:01:40 +11:00
Dean Taylor 0a5acba77e FIX: Censored word match fail if earlier partial match 2014-10-17 02:43:28 +01:00
Sam c2c4e03e0f FIX: when opening links in new window link only worked once 2014-10-15 14:50:20 +11:00
Sam 4f697f234d FIX: Password managers picking name as opposed to username 2014-10-15 11:40:19 +11:00
Robin Ward 08233fc86e FIX: Show images in the admin section list for badges. Add help text to
indicate icons can be images too.
2014-10-16 16:43:34 -04:00
Robin Ward f3a67a48a3 Merge pull request #2874 from cpradio/clear-notifications
FEATURE: Mark All as Read button for Notifications page
2014-10-16 15:57:19 -04:00
Robin Ward d439bd274e Merge pull request #2878 from daemonsy/daemonsy_focus_topic_input
UX Improvement: Autofocus the topic field on edit
2014-10-16 15:56:35 -04:00
Michael Verdi 1f95cfedc3 [patch] When a post is split out to be a new topic
the topic's last_post_user_id is set to the user who split out
the post.  But, this should really be the user_id of the last post
of the split out posts.
2014-10-16 12:38:26 -07:00
Robin Ward 4d465362b5 FEATURE: Allow a user to upload an image for their expansion background. 2014-10-16 15:05:36 -04:00
Robin Ward bde0820cd4 FIX: Category group picker was broken with category path rename 2014-10-16 14:30:58 -04:00
Robin Ward fe1b561228 UX: Only the title of a quote should have a pointer cursor 2014-10-16 13:05:45 -04:00
Robin Ward d2ac5a9ac6 Rename `/category/xyz` paths to `/c/xyz` -- @SamSaffron did most of the
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Régis Hanol 8bb20f2260 UX: dim hidden revisions 2014-10-16 16:32:02 +02:00
Régis Hanol 5b004f8cce UX: add 'no-text' class to button that only use an icon 2014-10-16 16:25:51 +02:00
Régis Hanol de47acf548 UX: wiki/moderator/deleted background applied excessively to unrolled replies 2014-10-16 16:19:01 +02:00
Damon Aw a5e576adca UX Improvement: Autofocus the topic field on edit
- After clicking on the pencil icon to edit a topic, the focus is not set on the input.
- This leads to cases where using keyboard shorcuts (e.g. cmd + left) leads to navigation instead.
- Searching around online, it seems the cleanest way to add a text-field that autofocuses is to create a component.
- I followed the [cookbook](http://emberjs.com/guides/cookbook/user_interface_and_interaction/focusing_a_textfield_after_its_been_inserted/) and did the most naive implementation.
- This focuses the text-field but at the start of the input. Setting selectionStart and selectionEnd solves this problem, but does not work on IE 8 and below.
2014-10-14 23:31:01 -04:00
Robin Ward cd8b896272 Revert "UX: On mobile add a max width for really long forum names"
This reverts commit ba245ca098.
2014-10-14 17:27:58 -04:00
Robin Ward 2322586131 FIX: Saving a field as not required was actually making it required
until you edited it.
2014-10-14 17:21:34 -04:00
Jeff Atwood 3dbd1c195a FIX: wide mobile topic title overflowed in editor 2014-10-14 14:12:52 -07:00
Robin Ward ba245ca098 UX: On mobile add a max width for really long forum names 2014-10-14 17:01:16 -04:00
cpradio ac708b4068 Don't use __container__ instead use needs: ['user-notifications'], (thanks eviltrout!) 2014-10-14 16:23:20 -04:00
Robin Ward 216f718607 Support `/group/xyz` paths as well as `/groups/xyz` 2014-10-14 15:11:22 -04:00
Robin Ward 366d7e892c Merge pull request #2867 from techAPJ/patch-1
FEATURE: send `set password` instructions after invite redemption
2014-10-14 11:01:07 -04:00
Régis Hanol 1f42e85e0d Merge pull request #2873 from mcwumbly/hide-post-revisions
FEATURE: ability to hide/show specific post revisions
2014-10-14 16:45:17 +02:00
David McClure 19d5362c6b FEATURE: ability to hide or show specific post revisions 2014-10-14 07:19:45 -07:00
Sam cc688155f4 Merge pull request #2868 from chancancode/dont_silence_deprecation_warnings
*Don't* silence the deprecation warnings in test
2014-10-14 18:44:36 +11:00
Sam b4c29a9f3b FIX: regression in autocomplete 2014-10-14 18:22:44 +11:00
Sam 737be5e151 Merge pull request #2871 from mamhoff/autocomplete-again
Fix buggy autocomplete behaviour for non-US keyboards
2014-10-16 17:35:48 +11:00
Martin Meyerhoff f3337ab551 reduce number of times caretPosition() is called 2014-10-15 08:50:47 +02:00
Jeff Atwood 6c95ddf90c remove another lightbox 100% width hack 2014-10-15 22:38:18 -07:00
Jeff Atwood fc1176acae FIX: use overflow:hidden on reply expansions 2014-10-15 22:34:56 -07:00
Jeff Atwood 08d1f1ef7c JavaScript does love its commas 2014-10-13 21:27:32 -07:00
Jeff Atwood 825bd0d053 UX: add reply glyph back to topic level reply button 2014-10-13 21:16:44 -07:00
Robin Ward 2c989f3eb3 FIX: ActiveRecord error when calling `find` for the topic list key. 2014-10-15 15:29:45 -04:00
Régis Hanol bb59798066 FEATURE: ensure consistency of post revisions 2014-10-15 21:09:08 +02:00
Robin Ward a967d4dfba FIX: Support popState on static 404 page 2014-10-15 14:42:18 -04:00
Robin Ward 022ca25fea Remove acccidental `console.log` 2014-10-15 14:37:14 -04:00
Robin Ward 224f503e6f FIX: `refreshTitle` error when navigating to a 404 page 2014-10-15 14:33:22 -04:00
Régis Hanol 31e9cafe0e FEATURE: use original filename when clicking the download link in the lightbox 2014-10-15 19:20:04 +02:00
Neil Lalonde 4762b4ac24 FIX: on completion of external auth, window.close may fail because of iOS Safari bug. Prompt user to manually close the window. 2014-10-15 11:00:34 -04:00
Régis Hanol 5569c45d3b FIX: revision history modal wasn't properly handling large revision on mobile 2014-10-14 00:02:09 +02:00
Régis Hanol 65dd05cb41 UX: fix revision history modal on mobile 2014-10-13 23:26:49 +02:00
Régis Hanol d70bb0e58b UX: fix post admin menu positioning & closing on mobile 2014-10-13 22:38:22 +02:00
Régis Hanol 199896a607 UX: add new wiki color as a site-level color variable 2014-10-13 19:43:24 +02:00
Régis Hanol 0555b84e4d UX: different auto-close message when 'based on last post' is checked 2014-10-13 18:58:56 +02:00
cpradio 8f390c979b FEATURE: Mark All as Read button for Notifications page
Added a Mark All as Read button to the top/bottom of the notifications user page
https://meta.discourse.org/t/possibility-to-selectively-or-completely-mark-notifications-as-read/20227

Remove notifications property (no longer used)
2014-10-13 06:31:27 -04:00
Jeff Atwood 3a571997a0 remove right padding from topic list titles 2014-10-13 02:49:22 -07:00
Jeff Atwood ad4994ff0b move "easier to tap" topic list paddings to base 2014-10-13 00:26:13 -07:00
Jeff Atwood dd870e8cdc top/bottom pad title in topic lists: easier click 2014-10-12 23:48:04 -07:00
Jeff Atwood 0a678fbf36 slight mobile improvement for editing topic title 2014-10-12 23:28:33 -07:00
Jeff Atwood 1f8e1f8f17 Remove old IE support from WMD, part III 2014-10-12 01:01:40 -07:00
Jeff Atwood 43bcde2060 Remove old IE support froM WMD, part II
native methods that IE8 didn't support but IE9 does
2014-10-12 00:46:08 -07:00
Jeff Atwood 28b9176bbc oh JavaScript, you so crazy 2014-10-12 00:33:13 -07:00
Jeff Atwood aa29fc3b4a remove old IE support from WMD, part I: uaSniffed 2014-10-12 00:22:14 -07:00
Jeff Atwood 08bdf26e70 Revert "remove old IE support crap from WMD Editor"
This reverts commit 7bbf7d02e3.
2014-10-12 00:14:22 -07:00
Jeff Atwood 7bbf7d02e3 remove old IE support crap from WMD Editor
we barely support IE9 this does not matter at all
2014-10-12 00:05:18 -07:00
Jeff Atwood 053e3fca20 improve 'try again' mobile network error page 2014-10-11 23:36:37 -07:00
Jeff Atwood a23884fd53 FIX: mobile, multi-line first post actions blocked topic map 2014-10-11 23:25:38 -07:00
Jeff Atwood 68b456a57d remove unnecessary spinner styles for mobile 2014-10-11 23:19:04 -07:00
Jeff Atwood 67b543754a edit preview got unhidden on mobile, hide it again 2014-10-11 23:04:55 -07:00
Jeff Atwood c8ab29fa31 get rid of bad editor media queries in mobile.scss 2014-10-11 15:38:32 -07:00
Godfrey Chan 7ddf1df3e0 FIX: honor `email_token_grace_period_hours` setting correctly
The documentation said that the unit for this setting is in *hours*, but the
code is treating it as *seconds*. Also, `Numeric#ago` has been deprecated since
Rails 4.1 (precisely to help prevent these kind of bugs) and will go away in
Rails 4.2.
2014-10-11 15:02:15 -07:00
Martin Meyerhoff 97b60e6422 Fix buggy autocomplete behaviour for non-US keyboards
This change moves the code for actually entering data from the keydown handler to the
keypress handler, which can reliably catch the character entered (rather than
the key pressed).

This is my second attempt at
https://meta.discourse.org/t/typing-shows-on-non-us-keyboard-layouts/20449
without doing dangerous refactoring.

This does not fix the issue reported in
https://meta.discourse.org/t/overly-aggresive-emoji-autocomplete/20691/7
as that is a different bug.
2014-10-11 17:55:48 +02:00
Jeff Atwood b736fb7016 hacky override of inline select2 width in editor 2014-10-11 05:49:18 -07:00
Jeff Atwood 98c8c48f6c add better mobile inline title edit styles 2014-10-11 05:41:10 -07:00
Jeff Atwood 8156518aa6 oops 2014-10-11 05:32:40 -07:00
Jeff Atwood ab83fbff89 few more mobile editor tweaks 2014-10-11 05:29:50 -07:00
Jeff Atwood bf5ef3aec3 minor mobile editor tweaks 2014-10-11 05:08:25 -07:00
Jeff Atwood 5dbf707cb3 min-width of 1280px for editor on mobile??
OH HELLllll TO THE NO
2014-10-11 04:37:30 -07:00
Jeff Atwood 15b94acd85 width 100% for editor on mobile; no preview
also  remove box-sizing mixin, use native CSS3
2014-10-11 04:30:34 -07:00
Jeff Atwood 27061d5fab move editor spinner css to shared (base) css 2014-10-11 04:08:16 -07:00
Jeff Atwood b587137302 remove editor preview css styles from mobile 2014-10-11 03:59:26 -07:00
Jeff Atwood be43d51536 remove admin-loading in favor of spinner css 2014-10-11 03:46:42 -07:00
Arpit Jalan a682de6331 FIX: css change broke build 2014-10-11 14:33:17 +05:30
Arpit Jalan 861f321263 FEATURE: send set password instructions after invite redemption 2014-10-11 14:13:05 +05:30
Jeff Atwood 6571a9d924 make editor preview cursor default not i-beam 2014-10-10 16:02:14 -07:00
Jeff Atwood 333aafad47 add clip to mobile text site title 2014-10-10 15:48:50 -07:00
Jeff Atwood 1c838513cd FIX: all-text site titles were too wide 2014-10-10 15:43:01 -07:00
Jeff Atwood 70cccb0a06 tweak header box shadow 2014-10-10 15:31:54 -07:00
Jeff Atwood 5c0bb56748 remove unnecessary @includes on box-shadow 2014-10-10 15:02:46 -07:00
Jeff Atwood 66a51729b3 copyedits on relative auto-close 2014-10-10 14:32:52 -07:00
Robin Ward 27e68518df FIX: BBCode was trimming leading space in `[code]` blocks 2014-10-10 15:11:30 -04:00
Régis Hanol 5504622c1b rename export/import in favor of backup/restore for better consistency 2014-10-10 20:04:07 +02:00
Robin Ward bbbec13606 FIX: Cursor would stay on lightbox when hitting the back button 2014-10-10 13:09:24 -04:00
Régis Hanol 5754e8dd0f FEATURE: auto-close topics based on last post 2014-10-10 18:21:44 +02:00
Robin Ward ac72b0bcf6 FIX: Bug when sorting by category column, navigating to home 2014-10-10 12:17:53 -04:00
Robin Ward d3b268cd2c FIX: Broken build 2014-10-09 19:42:50 -04:00
Robin Ward c1b8943a6f FIX: Category badges in the header should use the primary header color 2014-10-09 16:48:15 -04:00
Robin Ward 3b38667274 FIX: Check for word boundaries with censored words. 2014-10-09 16:35:27 -04:00
Robin Ward 80183f04f5 FIX: CSS on admin referrals broke with the fixed table. See:
https://meta.discourse.org/t/admin-dashboard-top-referred-topics-links-overlap-with-clicks/20945
2014-10-09 16:12:02 -04:00
Robin Ward 285c66b899 FIX: Say the file uploaded is too large, not "image" as you can upload
other kinds of files.
2014-10-09 16:03:04 -04:00
Robin Ward 1cda92c753 Minor documentation change to `PageTracker` 2014-10-09 15:07:10 -04:00
Robin Ward 5fc150e057 A mucher saner API for updating the title of routes, even when nested.
Properly sends the title of the page to google analytics
2014-10-09 14:55:29 -04:00
Robin Ward e8637344c3 Merge pull request #2864 from techAPJ/patch-3
FIX: invite email should be verified against `email_domains_blacklist`
2014-10-09 11:24:04 -04:00
Arpit Jalan 430967c354 FIX: invite email should be verified against email_domains_blacklist 2014-10-09 20:21:01 +05:30
Régis Hanol 7e8c4b63f4 FIX: only show agreed abd deferred flags on user's profile 2014-10-09 16:10:16 +02:00
Sam be48dfbb8c correct badge title revocation query 2014-10-09 22:01:08 +11:00
Robin Ward d03e811ab7 UX: Fixed padding on reply to user 2014-10-08 17:17:43 -04:00
Robin Ward a16d483c3c UX: If there is a reply by email icon, don't overlap with the reply tab 2014-10-08 15:58:49 -04:00
Robin Ward f9a8f6d6ce FEATURE: Support for a `required` setting on user fields. 2014-10-08 15:10:19 -04:00
Régis Hanol 9f2be41710 this method isn't private
cc @akshaymohite
2014-10-08 20:11:28 +02:00
Robin Ward b2d478a6fc Merge branch 'master' of github.com:awesomerobot/discourse into awesomerobot-master
Conflicts:
	app/assets/javascripts/discourse/templates/header.hbs
2014-10-08 13:48:26 -04:00
Robin Ward 32441ebcac FIX: Don't escape HTML content on category descriptions 2014-10-08 13:04:22 -04:00
Robin Ward a98b8251a6 FIX: Private messages were getting the `has-category` style 2014-10-08 12:59:00 -04:00
Robin Ward 1f26a79899 FIX: Category latest pages were not preloading properly, causing weird
refreshes when clicking the home logo.
2014-10-08 12:45:18 -04:00
Kris Aubuchon 75cf1a1953 adding animation to extra-info title, and mild restructure 2014-10-08 12:20:44 -04:00
Neil Lalonde 8a88e71b3c FEATURE: permalinks lookup table can redirect to any arbitrary url 2014-10-08 11:51:24 -04:00
Régis Hanol dcd4956ea4 remove `console.log` 2014-10-08 17:37:44 +02:00
Robin Ward 89fdc87402 Add back CSS classes to sortable headings. 2014-10-08 10:50:49 -04:00