Commit Graph

6662 Commits

Author SHA1 Message Date
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
Sam b9a9fb54da FIX: streaming incorrect events into all tab 2014-10-08 13:35:07 +11:00
Sam 67429b29a5 FIX: after visiting "top" unread/new tip rendered in large font 2014-10-08 13:11:26 +11:00
Sam 7ef2f48660 FIX: not showing any search results when scoped on user 2014-10-08 13:03:18 +11:00
Sam 168c690427 FIX: handle paste events for auto completed fields 2014-10-08 11:59:46 +11:00
Sam 0e7be81e60 FIX: badge granted titles were not being revoked when badge was revoked 2014-10-08 10:26:18 +11:00
Robin Ward 2fbfc9dffa FIX: Editing a topic's title should be rate limited too. 2014-10-07 16:46:01 -04:00
Robin Ward 11b52d1334 More deprecations to allow us to work on future versions of Ember 2014-10-07 16:04:19 -04:00
Neil Lalonde 0ab9a0867a Merge branch 'master' of github.com:discourse/discourse 2014-10-07 15:53:11 -04:00
Neil Lalonde a30e70e8f1 FEATURE: trust level 3: likes received must be on min_likes_received/3 different days, and be from min_likes_received/4 different users 2014-10-07 15:52:54 -04:00
Robin Ward e20c82436d FIX: Clicking "Latest" while ordering by a column should reset the
order.
2014-10-07 15:19:17 -04:00
Robin Ward bb192dd0a3 UX: Remove sortable column from "Topic" and "Users" column. 2014-10-07 14:45:36 -04:00
Robin Ward 1252e7324f Added easy impersonate route while in development mode 2014-10-07 12:25:50 -04:00
Kris Aubuchon f4f6236902 changes: topic title editor layout, badge alignment in scrolled header 2014-10-07 11:41:04 -04:00
Régis Hanol c46b9c0ac3 FIX: allow admins to search users by email 2014-10-07 12:05:38 +02:00
Jeff Atwood e8563c7d57 tweaks to make flagging page better on mobile 2014-10-07 01:29:44 -07:00
Jeff Atwood 1146ad3a63 use proper trash watermark 2014-10-07 00:24:24 -07:00
Jeff Atwood 03d440095f clean up /about page styles on mobile 2014-10-07 00:18:54 -07:00
Jeff Atwood a0d78290f2 incorrect fix for avatar height in topic map 2014-10-07 00:03:39 -07:00
Sam a7618ec4f6 FIX: select + replies could not be selected 2014-10-07 16:53:19 +11:00
Sam 620c3b3dcd UX: improve select2 category picker styling 2014-10-07 16:28:11 +11:00
Sam 0378dca66f FIX: dismissed banner topic returned after saving user profile 2014-10-07 16:11:19 +11:00
Sam 836bc0f935 FIX: incorrect edit notification in user stream
FIX: missing edit notifications when post edited by multiple users
2014-10-07 15:57:48 +11:00
Sam dde8ae7e96 FIX: analytics universal not sending correct location 2014-10-07 12:23:04 +11:00
Sam 4e2f1811ca a bit hackish, override fa-certificate for default icon (it is set by pg in the column default) 2014-10-07 12:01:06 +11:00
Jeff Atwood b4c38dbc5a correct star spacing for topics with no category 2014-10-06 16:19:27 -07:00
Jeff Atwood 7c386035d1 remove float-left from title-wrapper 2014-10-06 16:02:16 -07:00
Jeff Atwood 8474e3b77f oops 2014-10-06 15:33:25 -07:00
Jeff Atwood 93e7aa832c tweaks to has-category docked layout 2014-10-06 15:32:38 -07:00
Robin Ward e383a8ab01 Merge pull request #2854 from techAPJ/patch-1
Feature: resend invites
2014-10-06 17:25:36 -04:00
Neil Lalonde 96e4d2b662 remove the notification_email_top customization 2014-10-06 17:00:20 -04:00
Neil Lalonde ad387a1150 FEATURE: posts will be deleted immediately if delete_removed_posts_after is set to 0 2014-10-06 16:30:07 -04:00
Robin Ward 76a9eca5b0 FIX: Malformed HTML really screws with the renderer 2014-10-06 16:29:13 -04:00
Robin Ward 52298faaa0 Revert "Revert "Add striped category badges under title""
This reverts commit 85b6b2550e.
2014-10-06 16:29:13 -04:00
Robin Ward 02814f0d89 Revert "Revert "new docked title category style - needs additional work""
This reverts commit e886cc2dad.
2014-10-06 16:29:13 -04:00
Régis Hanol aa3a658bb1 remove float from the 'show email' button on user's profile on mobile 2014-10-06 22:24:43 +02:00
Robin Ward e886cc2dad Revert "new docked title category style - needs additional work"
This reverts commit 43467a8aaa.
2014-10-06 16:13:51 -04:00
Robin Ward 85b6b2550e Revert "Add striped category badges under title"
This reverts commit 331e63e3af.
2014-10-06 16:13:51 -04:00
Arpit Jalan 78fd99fc40 Feature: resend invites 2014-10-07 01:43:17 +05:30
Robin Ward 331e63e3af Add striped category badges under title 2014-10-06 15:58:57 -04:00
Kris Aubuchon 43467a8aaa new docked title category style - needs additional work 2014-10-06 15:58:57 -04:00
Régis Hanol ac069d22a9 FIX: delete spammer modal doesn't show the email address 2014-10-06 21:55:52 +02:00
Régis Hanol baee5c95ac add more context to allow better translation of 'max' in TL3 requirements 2014-10-06 21:32:19 +02:00
Régis Hanol 67c10a7eab UX: add topic admin button to the bottom of the topic 2014-10-06 20:19:07 +02:00
Robin Ward d82767fbdf Merge pull request #2845 from akshaymohite/access-specifiers-fix
Fix access specifiers with private_class_methods instead of removing dir...
2014-10-06 13:34:29 -04:00
Jeff Atwood 948f4a59e9 Merge pull request #2852 from awesomerobot/master
restructuring post titles a bit
2014-10-06 09:57:00 -07:00
Robin Ward 90e3242a3c FIX: `topic-admin-menu` controller was not a proper singleton. 2014-10-06 12:27:12 -04:00
Kris Aubuchon 1224ffa1c5 restructuring post titles a bit 2014-10-06 11:50:18 -04:00
Victor Kavunenko 1a52dba3af due to travis error message: can't modify frozen string 2014-10-06 12:45:11 +03:00
Victor Kavunenko 9cf68c99b7 FIX: force encoding for title field
Job exception: incompatible character encodings: UTF-8 and ASCII-8BIT
--
This exception rise up for correct(!) UTF-8 cyrillic (in my case, but non-latin overall, I suppose) in title field during RSS polling (feed polling url) and breaks topics creation.
So, just force_encoding() makes it work.
2014-10-06 10:40:14 +03:00
Sam 6391dc7f28 FIX: hitting edit while replying does nothing 2014-10-06 10:51:02 +11:00
Akshay 378bc6e5dc private methods need to be called as method_name instead of ClassName#method_name 2014-10-04 09:53:46 +05:30
Akshay 9524b514c6 Fix access specifiers with private_class_methods instead of removing directly 2014-10-04 09:20:41 +05:30
Jeff Atwood fa830c8d69 fix avatar expanded topic map height 2014-10-03 15:58:02 -07:00
Jeff Atwood 3483c7b0de UX: drop text from loading spinner, make bigger 2014-10-03 13:38:55 -07:00
Neil Lalonde 90771937f0 FIX: broken external auth 2014-10-03 16:15:00 -04:00
Jeff Atwood ce8a4266b6 FIX: mobile layout was too wide 2014-10-03 12:49:48 -07:00
Robin Ward 1e5195e68f FIX: Could sometimes open two category drop downs at once. 2014-10-03 15:42:45 -04:00
Robin Ward e55b437eb9 Replace the rest of the deprecated `{{action xyz}}` with `{{action
"xyz"}}`
2014-10-03 14:43:27 -04:00
Robin Ward 41db949e9d FIX: Allow HTML in custom fields 2014-10-03 13:06:54 -04:00
Robin Ward aeba5ca7d9 Merge pull request #2842 from techAPJ/patch-2
FEATURE: show topic category in email subject
2014-10-03 12:52:34 -04:00
Arpit Jalan 0ae0552543 FEATURE: show topic category in email subject 2014-10-03 22:08:59 +05:30
Jeff Atwood 4343b19c1b Revert "Fix: CSS to reveal hidden or partially visible avatars on 2nd line"
This reverts commit a6d6f6b42a.
2014-10-03 09:25:36 -07:00
Régis Hanol d4f9228058 Merge pull request #2841 from lidel/fix-min-username
FIX: fix @mentions for 1 character usernames
2014-10-03 17:37:47 +02:00
Neil Lalonde 83fc88e965 FIX: when site is in read-only mode, create account action should show a warning like login does. 2014-10-03 11:02:05 -04:00
Neil Lalonde eb473696ff Refactor showLogin and showCreateAccount actions for extensibility 2014-10-03 11:02:05 -04:00
Neil Lalonde ebf46450bc Refactor omniauth_callbacks_controller for extensibility 2014-10-03 11:02:04 -04:00
Marcin Rataj a56f5a9b65 FIX: fix @mentions for usernames shorter than 2 characters
Super short usernames were enabled by
https://github.com/discourse/discourse/pull/2838
This is just a fix for @mentions
2014-10-03 13:20:40 +02:00
Sam f5912a5500 amend previous fix 2014-10-03 16:35:35 +10:00