Commit Graph

9526 Commits

Author SHA1 Message Date
Robin Ward 4a6f617f4d UX: Long category names pushed badges to a new line in the hamburger 2015-09-02 15:42:20 -04:00
Robin Ward d1717cdb12 FIX: Safer JS code 2015-09-02 15:33:44 -04:00
Robin Ward f11bdd13fc FIX: Menu panels scrolled weird in iOS 2015-09-02 15:12:49 -04:00
Régis Hanol 5984b62347 FIX: ensure we remove 'category_users' records when a user is deleted 2015-09-02 20:43:15 +02:00
Robin Ward e624b7198d Try to estimate the amount of notifications to return based on height 2015-09-02 14:30:18 -04:00
Robin Ward b3a930f2ed DRY up header height calculation 2015-09-02 14:30:18 -04:00
Régis Hanol a501947d67 FEATURE: suppress categories from the homepage 2015-09-02 20:25:18 +02:00
Robin Ward a76d1079b2 Support jumping to messages 2015-09-02 13:39:14 -04:00
Neil Lalonde 1fbc142b0c UX: add screen reader support to notifications. (title attribute is ignored by screen readers) 2015-09-02 12:29:30 -04:00
Sam a0dd0bf1af when looking at your own profile it should be collapsed. 2015-09-02 16:50:40 +10:00
James Kiesel d8490fb65f Move plugin menu outlet to live with other menus 2015-09-01 20:25:22 -07:00
Sam c2e9644558 Revert "flexbox for the post header"
This reverts commit bef3084516.
2015-09-02 12:20:35 +10:00
Sam 262f561a87 FEATURE: relax username rules to allow - and . and leading _
This relaxes our very strict username rules to allow for some long asked for requests

- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Kane York 32e5016dbb FEATURE: Include topic title, category in posts.json 2015-09-01 17:46:06 -07:00
Sam 0a46ec9c50 Merge pull request #3519 from fullfatthings/fix_sso_redirect_when_login_required
Respect cookie[:destination_url] in Single Sign On
2015-09-02 10:32:18 +10:00
Sam ef2dd46382 Merge pull request #3710 from scossar/use-transform-and-transition-mixins
FIX: use transform mixin for mobile admin settings
2015-09-02 10:28:12 +10:00
Sam ecfc075391 Merge pull request #3719 from awesomerobot/master
flexbox for the post header
2015-09-02 10:27:27 +10:00
Robin Ward c84a2632e3 FIX: Number alignment on categories in hamburger 2015-09-01 17:36:34 -04:00
Robin Ward f5cbaf5609 Have menu panels show up on top of the composer, stop composer at header 2015-09-01 17:34:04 -04:00
Neil Lalonde 1bd0f5b015 FEATURE: group can grant a trust level when a user is added 2015-09-01 16:52:12 -04:00
Robin Ward f2fa7a39be FEATURE: Use shift+Z twice to log out 2015-09-01 16:37:54 -04:00
Kane York 65790452d8 Clean up the test checks when done 2015-09-01 13:32:35 -07:00
Robin Ward 9f50f70670 UX: Return more notifications in the user menu 2015-09-01 16:23:23 -04:00
Robin Ward d18b02d53b OH NO I DIDN'T 2015-09-01 16:19:47 -04:00
Robin Ward 88e44542f5 FIX: Don't show scrollbar in notifications with logout button 2015-09-01 16:18:12 -04:00
Robin Ward c36fdccab2 Add `d-link` component to simplify menu markup 2015-09-01 16:14:34 -04:00
Robin Ward 6fb69d4434 Notifications cache should use `localStorage` wrapper 2015-09-01 14:45:24 -04:00
Robin Ward bf2c18fddb Migrate `KeyValueStore` to ES6 modules 2015-09-01 14:45:24 -04:00
Robin Ward 11b73e1fb7 Avoid calling `Discourse.logout` and use an action instead 2015-09-01 14:41:31 -04:00
Guo Xiang Tan c2eceaa50d FIX: Allow user to quote Emojis. 2015-09-02 00:16:08 +08:00
kerryliu cb9c603b6b workaround for code block being parsed before quote block. 2015-09-01 09:13:51 -07:00
Robin Ward da25abfcc9 Merge pull request #3714 from riking/live-settings
FEATURE: Live-update site settings
2015-09-01 12:03:30 -04:00
Robin Ward 51eb88a0ea Merge pull request #3720 from riking/patch-7
FIX: First post time not visible in topic list
2015-09-01 12:00:40 -04:00
Robin Ward b41b176bc6 Support for `value_list` in site settings 2015-09-01 11:54:16 -04:00
Kane York cca621e70a FIX: First post time not visible in topic list 2015-09-01 08:49:38 -07:00
awesomerobot bef3084516 flexbox for the post header 2015-09-01 10:38:37 -04:00
Sam a7eabade19 User import no longer needed 2015-09-01 21:48:05 +10:00
Sam bbf3d772c4 use Discourse.logout, it works with SSO 2015-09-01 21:36:56 +10:00
Guo Xiang Tan 9909c715dc FIX: Emoji can't be copy and pasted. 2015-09-01 15:45:46 +08:00
Sam 7ec6e87b4d Revert "UX: Love hearts." 2015-09-01 08:45:08 +10:00
cpradio 68659e834a FIX: Fix the logout functionality in core 2015-08-31 18:39:19 -04:00
Sam a13e7d10cf FEATURE: site setting for show log out in header 2015-09-01 07:44:21 +10:00
Robin Ward a10e9ed232 FIX: Super sized badge 2015-08-31 16:49:46 -04:00
Robin Ward 553d0ebb76 UX: Search spinner should appear in a decent place in slide-in and drop 2015-08-31 16:41:08 -04:00
Robin Ward 6425650931 UX: Make search panel wider 2015-08-31 16:27:36 -04:00
Robin Ward a4029675bd FIX: broken spec 2015-08-31 15:41:35 -04:00
Robin Ward f34f3a0f44 UX: Move flags to left side of hamburger 2015-08-31 15:33:17 -04:00
Robin Ward e2b7b2f2cf FIX: Don't outline buttons when menu is in slide out 2015-08-31 15:30:51 -04:00
Robin Ward 989c915a02 FIX: Custom header sizes and scrolling with menu panels 2015-08-31 15:04:33 -04:00
Robin Ward e5911e7fc4 FIX: Opening panels by keyboard should respect closing 2015-08-31 14:51:38 -04:00
Robin Ward ca017facf2 FIX: When navigating to pages close panels 2015-08-31 14:43:11 -04:00
Robin Ward 82ad3e0401 Support for jump to profile 2015-08-31 14:40:52 -04:00
Robin Ward 585fc7a25c FIX: Couldn't tab to Log Out button 2015-08-31 14:34:34 -04:00
Robin Ward ddf0db0338 Refactor notifications `localStorage` cache into adapter pattern.
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.

It also returns a `refresh()` method to freshen up the stale data.

To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Kane York d4c68f2096 FEATURE: Live-update site settings 2015-08-31 10:40:50 -07:00
Arpit Jalan abdb9467a8 fix the build :fired: 2015-08-31 21:42:31 +05:30
Arpit Jalan eb96016043 FEATURE: copy invite link for topic invites 2015-08-31 21:15:15 +05:30
Robin Ward ce0a50eae1 FIX: `user_custom_preferences` did not match other outlet names 2015-08-31 11:06:23 -04:00
Neil Lalonde 43c62d413c FIX: similar topics api shouldn't return error if params are below minimum lengths 2015-08-31 10:54:45 -04:00
Régis Hanol 95351058ee Merge pull request #3709 from tgxworld/love_color
UX: Love hearts.
2015-08-31 10:29:51 +02:00
Sam f2f5d1bfc7 FEATURE: add header-after-home-logo outlet 2015-08-31 17:29:42 +10:00
Arpit Jalan 4e5228dc9e FIX: don't send notification emails to deactivated user 2015-08-31 12:35:12 +05:30
Sam 14a15491a4 Merge pull request #3712 from tgxworld/combine_double_lock_icon
UX: Combine closed and archived icon.
2015-08-31 12:14:27 +10:00
Sam 8cf60bfd3d lets try it in gray 2015-08-31 12:07:30 +10:00
Sam 4d67bba44a redo user menu adding small glyphs linking to various functions 2015-08-31 12:02:16 +10:00
Guo Xiang Tan d39cfe9068 UX: Combine closed and archived icon. 2015-08-31 09:21:58 +08:00
scossar 1df8600081 set mobile breakpoint at 700px 2015-08-30 12:09:28 -07:00
scossar 640c0f81f6 hide search checkbox at 550px 2015-08-30 10:36:54 -07:00
scossar adccdf4b89 restore mobile breakpoint 2015-08-30 10:30:56 -07:00
scossar 5baa6ea66c use transition and transform mixins 2015-08-30 10:02:12 -07:00
Guo Xiang Tan be0d971eb3 UX: Love hearts. 2015-08-31 00:46:39 +08:00
Guo Xiang Tan d3fea106fc FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny. 2015-08-31 00:14:57 +08:00
Guo Xiang Tan 50ce95b37d FIX: Post age time not being translated correctly. 2015-08-31 00:11:52 +08:00
Guo Xiang Tan 430fc1421a FIX: Emoji not unescaped in topic link. 2015-08-30 13:29:19 +08:00
Sam 41c32ea512 FEATURE: cache notifications in local storage 2015-08-30 09:50:08 +10:00
Sam fa4b00a144 tighten padding some on menus 2015-08-30 09:26:02 +10:00
Robin Ward aa45429989 UX: Change heuristic for determining slide vs drop down 2015-08-29 11:18:26 -04:00
Robin Ward 4dc5717af4 Remove notifications from keyboard shortcuts 2015-08-29 11:00:07 -04:00
Robin Ward 879f9648d2 FIX: Keyboard shortcuts for menu panels were broken 2015-08-29 10:43:46 -04:00
Jeff Atwood 5336677be7 missed a few spots where close-panel was used 2015-08-29 04:04:04 -07:00
Jeff Atwood 88a30fafdd remove close button on right menu panel 2015-08-29 04:00:16 -07:00
Jeff Atwood 39c545873c remove a few things from user menu for now 2015-08-28 15:47:35 -07:00
Jeff Atwood f8f2e6f81e Merge pull request #3704 from riking/patch-7
Nix the grey comparison on color scheme page
2015-08-28 15:11:40 -07:00
Robin Ward b417f636aa FIX: Smoke test needs a class that was accidentally removed 2015-08-28 16:55:18 -04:00
Robin Ward c1b3811377 FIX: JSHint failures 2015-08-28 16:25:29 -04:00
Robin Ward 3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -04:00
Robin Ward d4b987ff32 Migrate search drop down to `menu-panel` component. 2015-08-28 15:44:24 -04:00
Arpit Jalan 3bc79f6885 UX: select invite link by default 2015-08-29 00:42:58 +05:30
Kane York eea09ac8e1 Nix the grey comparison on color scheme page 2015-08-28 11:43:24 -07:00
Arpit Jalan 92a2dd3ee3 FIX: staff action logs details were not showing up 2015-08-28 22:36:15 +05:30
Arpit Jalan 4ad07b8c09 FEATURE: generate invite token 2015-08-28 18:29:31 +05:30
Régis Hanol 727827dc25 FIX: error when loading admin > flags 2015-08-28 12:31:32 +02:00
Régis Hanol 71c1eccf2b FIX: 'typeClass' shoud handle multi-word setting types - take 2 2015-08-28 01:13:11 +02:00
Jeff Atwood a11c284902 Merge pull request #3702 from scossar/horizontal-scrollbar
FIX: prevent horizontal scrollbar from appearing at 1000px screen width
2015-08-27 14:52:43 -07:00
Neil Lalonde cc2dc4d550 FEATURE: the notice asking admins to get discussion started will update with live counts of topics and posts 2015-08-27 17:28:40 -04:00
scossar 25316c8e37 remove medium screen width rule 2015-08-27 14:09:21 -07:00
Robin Ward 7de03f837e UX: Auto size the height of the drop down panel 2015-08-27 14:29:54 -04:00
Régis Hanol 96c23d51a2 FIX: don't break the message bus when restoring a backup 2015-08-27 20:02:13 +02:00
Robin Ward 2589a75c46 FIX: hitting `=` should show the hamburger menu 2015-08-27 13:37:41 -04:00
Robin Ward d7b43ce238 UX: Adjust menu panels when the browser is resized 2015-08-27 13:34:20 -04:00
Robin Ward 74ca1189db FIX: Only show "View Pending" link if the user can approve things 2015-08-27 13:15:37 -04:00
Robin Ward fc296d88dc FIX: Jumping to `last` was broken 2015-08-27 13:11:57 -04:00
Régis Hanol d96531b163 FEATURE: bronze/silver/gold badges for popular links 2015-08-27 18:52:31 +02:00
Régis Hanol 42e785ee5a FIX: missed a couple of places where we should use the topic's fancy title 2015-08-27 17:32:04 +02:00
Régis Hanol fa5cb30731 FIX: use fancy title in search results 2015-08-27 17:04:02 +02:00
Régis Hanol fd3dd3bdeb Merge pull request #3691 from tgxworld/toggle_edits
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
Jeff Atwood fb04d09ba8 progess bar was causing horizontal scroll at bottom 2015-08-27 02:53:47 -07:00
Jeff Atwood 24c049df75 remove bg on code lines 2015-08-27 02:48:29 -07:00
Régis Hanol 95c8ec50a8 FIX: 'typeClass' shoud handle multi-word setting types 2015-08-27 10:48:37 +02:00
kerryliu 5bd1d52de2 FIX: emoji unescape 2015-08-26 21:37:57 -07:00
Sam 5865bd2abb FEATURE: bulk select on search results 2015-08-27 11:44:13 +10:00
Sam 83f76acbcb FIX: we need the bulk action glyph above everything 2015-08-27 11:43:56 +10:00
Sam e8d0aa9777 FIX: since stuff is unbound in the list we must issue a refresh on all bulk actions
Otherwise when you recategorize stuff will look as though its in the wrong category
2015-08-27 11:43:32 +10:00
Robin Ward 8fbc8dbae0 UX: Fix menu position with custom header 2015-08-26 17:21:20 -04:00
Robin Ward a659fe3cc3 Update calculations when opened 2015-08-26 17:00:11 -04:00
Robin Ward 8f1b6eb561 Move hamburger into header 2015-08-26 17:00:10 -04:00
Robin Ward 5457684975 Split `hamburger-menu` out into `menu-panel` 2015-08-26 16:29:10 -04:00
Régis Hanol 05adcda1fc FIX: pop a descriptive error when pinning a topic without a date 2015-08-26 22:23:08 +02:00
Robin Ward 3998f729da UX: Make hamburger shadow more subtle, don't use active when in full 2015-08-26 14:50:15 -04:00
Robin Ward e66f111348 UX: Use dropdown for hamburger on wide screens, full height on smaller 2015-08-26 14:43:08 -04:00
Robin Ward 9760369e4c Clean up clicking outside the hamburger, add test 2015-08-26 14:43:08 -04:00
Robin Ward e98c354c2d We don't need to remove `swipe` events since we disabled it 2015-08-26 14:43:08 -04:00
Régis Hanol 3409f25c53 remove console.log (@eviltrout get out of my head) 2015-08-26 19:57:48 +02:00
Régis Hanol 31f0300b06 FIX: category class in body + memory leak 2015-08-26 19:56:51 +02:00
Robin Ward f9717da28f Merge pull request #3695 from riking/patch-10
FIX: Consider reserved usernames as not 'available'
2015-08-26 10:51:50 -04:00
Guo Xiang Tan a376bc0901 FIX: Allow emoji to be bounded by non-word characters in preview. 2015-08-26 17:06:01 +08:00
Guo Xiang Tan f3e3cbe3b2 FIX: Trigger autocomplete when bounded by non-word characters. 2015-08-26 16:02:42 +08:00
Sam ea9bc68ee5 PATCH: in some cases this is being turned to a string workaround for now 2015-08-26 16:19:21 +10:00
Sam 5afdbb314b correct mobile margins. 2015-08-26 13:55:42 +10:00
Sam 600ab5ad51 improve hamburger rendering
fix test cases
2015-08-26 13:44:48 +10:00
Sam 6c08bd4265 UX: improve hamburger in desktop
- dock underneath header
- click anywhere to get it to go away
2015-08-26 13:10:50 +10:00
Sam 540fe953e0 UX: remove swipe support from slideout 2015-08-26 10:36:49 +10:00
Sam 16d532e9c8 FIX: stop disabling default in detect swipe library 2015-08-26 10:26:58 +10:00
Kane York 1586886bf9 FIX: Consider reserved usernames as not 'available'
https://meta.discourse.org/t/reserved-usernames-ignored-by-invites/32490
2015-08-25 17:24:07 -07:00
Kane York 3cbfc45bf6 FEATURE: Allow plugins to add admin dashboard warnings 2015-08-25 17:20:14 -07:00
Sam a7d1c220e1 FIX: normalize transform usage, fix slideout on safari 2015-08-26 09:58:37 +10:00
Régis Hanol 01406c65a6 Merge pull request #3694 from riking/patch-9
FIX: Badge SQL controls would never show up, needed refresh
2015-08-25 23:53:47 +02:00
Robin Ward c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Kane York 633c175a8a FIX: Badge SQL controls would never show up, needed refresh 2015-08-25 13:30:26 -07:00
Régis Hanol d5adf61458 Revert "FIX: body class from category not loadeing on topics on first load"
This reverts commit d15b698ac9.
2015-08-25 17:44:52 +02:00
Robin Ward 324c6551d3 FIX: Both rules are important 2015-08-25 11:34:13 -04:00
Régis Hanol d15b698ac9 FIX: body class from category not loadeing on topics on first load 2015-08-25 17:28:20 +02:00
Guo Xiang Tan 23b4d2d7d7 FIX: Censored words filter not applied to title. 2015-08-25 22:35:29 +08:00
Guo Xiang Tan 6a31a5d52b Extract logic for censored-words so that it can be reused. 2015-08-25 22:26:01 +08:00
Sam 00e59bdc62 FIX: display warning when user is tracking too many topics
FEATURE: allow admins to bump up number of tracked topics if needed
using max_tracked_new_unread
2015-08-25 15:40:50 +10:00
Sam 4e37bcc3e2 Add extra safety 2015-08-25 12:05:15 +10:00
Sam 2c59ad3dd3 FIX: favicon update broken when favicon lived on a CDN 2015-08-25 11:54:23 +10:00
Robin Ward 9c882795c3 FIX: Weird double escaping of `<` and `>` in quotes 2015-08-24 16:58:24 -04:00
Robin Ward f2db4bfcf3 FIX: Conflict in dialect method names broke code formatting
Sometimes newlines were being stripped from code contents due to the
table formatting using the same method name.

In the future we will be rewriting dialects to prevent this.
2015-08-24 16:30:42 -04:00
Arpit Jalan 99edcddafb FEATURE: show pending/redeemed invite count in tabs 2015-08-25 01:12:46 +05:30