Commit Graph

5732 Commits

Author SHA1 Message Date
Robin Ward 8294205f7c Ember 1.11 broken WIP 2015-05-11 11:18:37 -04:00
Robin Ward b3b4fd21ed Broken WIP 2015-05-11 11:18:37 -04:00
Qasem Hajizadeh 6bd15dd86d Add .rtl for css tags
Im added .rtl to front of tags @SamSaffron
2015-05-11 12:22:30 +04:30
Arpit Jalan 8366b71176 FEATURE: check nofollow setting when showing website 2015-05-11 13:16:21 +05:30
Sam 2282869f30 fix rtl changing general styles 2015-05-11 12:12:37 +10:00
Qasem Hajizadeh b99c3c85aa Update rtl.scss 2015-05-09 18:26:00 +04:30
Jeff Atwood f355579e60 remove transparent outline on topic-progress-wrapper 2015-05-08 15:47:27 -07:00
Arpit Jalan 8b876a3c21 convert open-composer mixin to es6 2015-05-09 01:01:50 +05:30
Robin Ward 4b1145dbb0 Merge pull request #3434 from techAPJ/patch-1
FEATURE: support category/subcategory name in new-topic route
2015-05-08 14:14:20 -04:00
Arpit Jalan 6cc092d54c FEATURE: support category/subcategory name in new-topic route 2015-05-08 23:33:06 +05:30
Neil Lalonde 46606cd818 FIX: missing aria-label on X of share modal 2015-05-07 17:31:36 -04:00
Neil Lalonde ffeab82947 FIX: reset message field of flag form after submitting flag 2015-05-07 17:08:07 -04:00
Allen Hancock 53c85662c6 A red meh icon is less ambiguous than a red-smile
Builds on https://meta.discourse.org/t/why-a-frowny-face-on-admin-version/27895/
2015-05-07 13:44:27 -07:00
Sam 4191d97d48 FIX: missing titles and aria-labels on sharing links 2015-05-07 12:14:12 +10:00
Sam 4f53b85ee2 add aria-label to composer buttons 2015-05-07 12:03:20 +10:00
Neil Lalonde a0afaf6d48 tweak subcategories position on mobile categories page 2015-05-06 10:58:30 -04:00
Sam 46aa7dab80 FEATURE: add aria-label for accessibility 2015-05-06 15:33:50 +10:00
Neil Lalonde 72cb784eae UX: mobile categories page is more like desktop categories page 2015-05-05 12:04:18 -04:00
Sam 8e372f3616 FEATURE: add op-bookmark class for op-bookmarks 2015-05-05 10:23:17 +10:00
Sam 66423e62dc FIX: don't strip / mangle full quotes 2015-05-05 10:06:48 +10:00
Michael Downey 41a0b16cc6 Fixing map-marker FontAwesome typo
The correct icon is map-marker, not map-maker.
2015-05-04 15:53:10 -04:00
Sam 4dfc1907ac Simplify desktop notifications, only include if mention/reply/pm/link
Include post excerpt in the notification
2015-05-04 13:49:32 +10:00
Sam 1c7fa956dc Improve Notification probing 2015-05-04 11:14:03 +10:00
Sam 5623827433 careful checking for a global that is not there 2015-05-04 11:08:52 +10:00
Sam fe34a6acbd Merge pull request #3420 from techAPJ/patch-2
FEATURE: accept category_id as new-topic param to better support subcategory
2015-05-04 10:13:06 +10:00
Sam 9723b77b6d Merge pull request #3422 from riking/notifications-patches
FIX: Don't ask for notification permission until first one
2015-05-04 10:10:23 +10:00
Jens Maier 23cde96a1b Fix: @mention dialect matches too often 2015-05-03 18:30:53 +02:00
riking 6ea2051c4e FIX: Don't ask for notification permission until first one 2015-05-02 12:53:30 -07:00
Jeff Atwood 83b7620cb2 use pencil glyph on edit history dialog 2015-05-02 03:48:37 -07:00
Arpit Jalan 480cea7284 FEATURE: accept category_id as new-topic param to better support subcategory 2015-05-01 21:40:28 +05:30
Neil Lalonde 8521ee24b1 FIX: /password-reset route now works when login_required is enabled 2015-05-01 11:14:09 -04:00
Jens Maier 1a692bee0c Apply fix against nested SUP tags to preview 2015-04-30 23:05:04 +02:00
Arpit Jalan bb99bd8a03 FIX: flagging topic was giving error message 2015-05-01 02:15:06 +05:30
Sam 9e16e03198 FIX: text was impossible to quote on Windows Phone 2015-04-30 15:43:39 +10:00
Sam d7d93c20d7 Merge pull request #3406 from techAPJ/patch-2
FEATURE: prefill topic title, body and category via URL
2015-04-29 13:46:26 +10:00
Robin Ward 3252bf1252 FIX: Desktop Notifications break Qunit tests
We should figure out why they can't run without the conditional in a
browser.
2015-04-28 19:24:32 -04:00
Robin Ward 15ea0c4789 Merge pull request #3304 from riking/desktop-notifications
Desktop notifications!
2015-04-28 16:24:02 -04:00
Robin Ward c2f7676370 Support for custom reasons for things being queued for approval 2015-04-28 15:06:47 -04:00
Arpit Jalan cff6e49eb7 FEATURE: prefill topic title, body and category via URL 2015-04-29 00:01:10 +05:30
Régis Hanol 5783e908ea FIX: Erratic behaviour when clicking an attachment link - Take 2 2015-04-28 20:05:41 +02:00
Robin Ward 1e36400021 FIX: Enter to change username was broken 2015-04-28 11:39:10 -04:00
Sam 4eaee8f611 Merge pull request #3377 from scossar/auto-rtl
Auto rtl
2015-04-28 07:58:35 +10:00
Régis Hanol ad3d2269b2 FIX: erratic behaviour when clicking an attachment link 2015-04-27 22:18:52 +02:00
Robin Ward 8c930c97e0 If there are pending posts in a topic, display a message at the bottom 2015-04-27 15:55:10 -04:00
Robin Ward ecafbb0a63 Can delete users via the moderation queue 2015-04-27 15:06:20 -04:00
Robin Ward 3cb4554bbb Can refresh queued posts via button 2015-04-27 13:52:54 -04:00
Robin Ward 19a89bb501 Small hooks for Queued Post version of discourse-akismet 2015-04-27 11:56:07 -04:00
Robin Ward 15dbce5886 Show pending posts count in modal when your posts are enqueued 2015-04-24 15:44:59 -04:00
Robin Ward 3a6efa25f0 Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
Robin Ward eff921d1ec FIX: Turn that frown upside down! 2015-04-24 11:14:06 -04:00
Simon Cossar def9740d5d Fix size on onebox-avatar 2015-04-23 20:42:27 -07:00
riking 21b915f209 Suggested changes 2015-04-23 18:39:48 -07:00
Robin Ward e17ea2e787 UX: Show a dash if a version string is missing 2015-04-23 14:50:37 -04:00
Régis Hanol a737090442 - FEATURE: revamped poll plugin
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Robin Ward 839416212e FIX: Category badge was showing before topic loaded 2015-04-22 13:39:04 -04:00
Robin Ward 56cd381ff8 FIX: Loading more was broken on topic list after changing sort order 2015-04-22 12:52:12 -04:00
riking 3681674ec4 FIX: Don't cache-bust onebox requests 2015-04-21 23:11:25 -07:00
riking a616d9ed1c Fix jshint 2 2015-04-21 21:23:05 -07:00
riking f5630b9791 Fix JSHint errors 2015-04-21 21:10:07 -07:00
riking fdf86143b3 fixup NotificationController 2015-04-21 20:23:30 -07:00
riking f4b0f1dbef a few fixups 2015-04-21 20:23:30 -07:00
riking 8bbead315d Add idle checking, use localStorage for seen notifications 2015-04-21 20:23:30 -07:00
riking da9913359c Convert to file in lib/, rough active tracking 2015-04-21 20:23:29 -07:00
riking 41819838ef Prevent "0 new notifications" 2015-04-21 20:21:56 -07:00
riking 59bdff348c Use Discourse.URL.routeTo 2015-04-21 20:21:56 -07:00
riking 84896bdccf Close the notification after 10 seconds 2015-04-21 20:21:56 -07:00
riking c1528e598f Use unreadCount in title 2015-04-21 20:21:55 -07:00
riking f5e27fe2c8 FEATURE: Desktop notifications 2015-04-21 20:21:52 -07:00
Jeff Atwood 706183f886 hide editor button bar overflow 2015-04-21 17:35:10 -07:00
Robin Ward 5bf8c31af4 Users can see their pending posts 2015-04-21 16:44:47 -04:00
Robin Ward 26693c16ac Don't show the link to "Needs Approval" unless approval is enabled.
Note that any plugin that extends the NewPostMananger to support
enqueuing will enable it.
2015-04-21 13:59:57 -04:00
Robin Ward b2ab95f9c2 Fix an issue with the store hydrating embedded objects 2015-04-21 13:15:40 -04:00
Robin Ward 66be9147a0 FIX: You can edit two queued posts simultaneously 2015-04-20 16:49:11 -04:00
Robin Ward 5476723906 Add post date to moderator queue 2015-04-20 16:34:36 -04:00
Robin Ward 2c53a8b7bc Link queued post avatar and username to user profile 2015-04-20 16:18:00 -04:00
Neil Lalonde 3071650eb3 FEATURE: when post is too short, suggest using the like button instead 2015-04-20 11:10:56 -04:00
Neil Lalonde c2e3c86883 FIX: broken header links when using relative_url_root 2015-04-19 13:52:10 -04:00
Robin Ward bed7781fe2 FIX: Broken build 2015-04-17 14:45:17 -04:00
Robin Ward 2f7b241087 FIX: Keyboard shortcuts broke in the composer 2015-04-17 14:01:45 -04:00
Robin Ward 952b345883 FIX: Focus was being lost on error message popup when composing failed 2015-04-17 13:24:02 -04:00
Robin Ward 32365fbc58 Composer Messages can be dismissed by Esc 2015-04-17 12:41:31 -04:00
Robin Ward a61c202ac4 Rewrite `/private-messages` to `/messages` 2015-04-17 12:01:50 -04:00
Robin Ward 0660a905b8 FIX: Back button broken navigating from one topic back to another 2015-04-17 11:52:30 -04:00
Neil Lalonde ccce27d1b8 add plugin outlets for adsense plugin 2015-04-17 11:13:52 -04:00
Robin Ward e83bf7dc07 FIX: Restrict editing queued posts to one at a time 2015-04-16 15:50:47 -04:00
Robin Ward e912b698ac FIX: Updating the category was not updating the UI 2015-04-16 13:56:27 -04:00
Robin Ward 2459f52c71 Merge pull request #3375 from techAPJ/patch-2
FEATURE: invite existing users to private topic
2015-04-16 11:13:42 -04:00
Robin Ward b973a7e83c FIX: `update` was not returning the `responseJson` 2015-04-16 10:36:17 -04:00
Régis Hanol b903a83eea Merge pull request #3382 from techAPJ/patch-1
FIX: do not show send invites button if sso is enabled
2015-04-16 09:26:50 +02:00
Arpit Jalan b77cd1f287 FIX: do not show send invites button if sso is enabled 2015-04-16 12:31:56 +05:30
Sam Saffron 948f9b357e protect against failure 2015-04-16 15:22:21 +10:00
Sam Saffron c2dd9564b3 creating new category was broken 2015-04-16 15:10:55 +10:00
Sam Saffron 67ed6b1e9a FIX: missing pluralization, change topic card to use replies 2015-04-16 14:54:24 +10:00
Jeff Atwood 3d30bd115d Merge pull request #3376 from awesomerobot/master
some fixes for tag alignment
2015-04-15 20:37:31 -07:00
Sam 61f53a0de0 rogue console.log 2015-04-16 12:59:16 +10:00
Robin Ward b2f34da477 FIX: A couple of other deprecations to keep `discourse-tagging` happy 2015-04-15 22:36:16 -04:00
Robin Ward a1cbd31166 FIX: Tags plugin uses `Discourse.TopicList.list` 2015-04-15 22:19:54 -04:00
Sam 4919ec4c44 FIX: don't hide "public invisible" groups from groups on user page 2015-04-16 10:44:55 +10:00
Robin Ward 9cb928e893 FIX: Actions summary expanding was broken 2015-04-15 19:08:16 -04:00
Robin Ward 43669f7b24 FIX: Posting was showing errors due to misfiring wiki observer 2015-04-15 17:54:46 -04:00
Robin Ward 08b4b7b7ff Moderators can edit posts that are queued before they approve/reject 2015-04-15 17:20:34 -04:00
Robin Ward 245777ba04 FIX: Lost position in topic 2015-04-15 16:18:32 -04:00
Robin Ward d2ed64751e UX: Show category badge on enqueued posts 2015-04-15 15:29:37 -04:00
Arpit Jalan d491d4f997 FEATURE: invite existing users to private topic 2015-04-16 00:52:54 +05:30
Robin Ward 0c233e4e25 Interface is wired up for Approving/Rejecting posts 2015-04-15 14:54:37 -04:00
Robin Ward 96d2c5069b Interface for reviewing queued posts 2015-04-15 14:54:37 -04:00
Robin Ward f1ede42569 Add the posts that need to be reviewed to the hamburger 2015-04-15 14:54:37 -04:00
Robin Ward 7f501a0c41 When a post returns `enqueued` don't insert it in the stream and notify
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
Robin Ward 76f7786d0d Support saving posts via Store 2015-04-15 14:54:36 -04:00
Robin Ward d4a05825da Convert `Composer` to use Store
- Uses store for `PostStream`, `TopicList` too
2015-04-15 14:54:36 -04:00
Robin Ward a83a19f6ce ES6 module migrations 2015-04-15 14:54:36 -04:00
Robin Ward 22ffcba8e6 Convert `Discourse.Post` to ES6 and use Store model
- Includes acceptance tests for composer (post, edit)
- Supports acceptance testing of bootbox
2015-04-15 14:54:36 -04:00
Jens Maier 535f7aab88 Fix admin badge UI style when no badge selected 2015-04-15 18:35:08 +02:00
Arpit Jalan 499bed69e2 FIX: show error message if user already exist in group 2015-04-15 14:15:58 +05:30
Simon Cossar 4b8ad7637c Remove old styles from rtl.scss. Add new styles to fix some positioning. 2015-04-14 19:19:11 -07:00
Simon Cossar 9b7f98edc5 Add to html element - this needs to be explicit so it can be reversed by r2 2015-04-14 19:07:23 -07:00
Sam 6a0cce8571 UX: tweak copy and position of tracking and new prefs 2015-04-15 08:38:42 +10:00
Kris Aubuchon a87bf1d9aa some fixes for tag alignment 2015-04-14 15:54:17 -04:00
Ben Hadley-Evans c3b461f58d Add blank alt attribute to avatars.
This was giving an ugly border to avatars in the user card as the full size version loaded in Firefox.
2015-04-14 14:39:40 +01:00
Arpit Jalan 64d0eb567d FIX: scale large vertial images for onebox 2015-04-14 08:02:01 +05:30
Robin Ward afe0781c50 FIX: Topic bulk actions refresh was broken 2015-04-10 12:43:14 -04:00
Régis Hanol da8e5fbda3 search template clean-up 2015-04-10 16:09:16 +02:00
Régis Hanol ae953e8087 FIX: missing username in the IP Lookup dialog 2015-04-10 15:56:40 +02:00
Sam 75890aed26 FEATURE: allow admins to choose a group as a primary group
FEATURE: allow admins to set a default title for a group
2015-04-10 12:17:28 +10:00
Sam e143eb595f UX: add link to group member from groups admin page
UX: remove uneeded refresh button from custom groups
2015-04-10 09:49:26 +10:00
Sam eed8ddbb5c UX: select on blur if there are no choices for select2 2015-04-10 09:13:51 +10:00
Neil Lalonde 930937cfd5 FIX: mobile categories page should show the same dates as desktop categories page 2015-04-09 17:06:44 -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
Robin Ward 6398cd855c Don't scope category dropdown when using "Reply as New Topic" 2015-04-07 13:15:18 -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 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
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 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