Commit Graph
100 Commits
Author SHA1 Message Date
Robin Ward 73526e1211 FIX: Category permissions were broken 2015-09-05 11:40:12 -04:00
Robin Ward 32e2d7963a FEATURE: Show FAQ at top of the hamburger until the user reads it 2015-09-04 16:56:02 -04:00
Robin Ward 5881f68556 Support for rewiring plugin outlets so we can move Akismet up 2015-09-04 16:09:02 -04:00
Robin Ward c6d8bfe3b7 Merge pull request #3729 from riking/patch-4
FEATURE: post-after-cooked plugin-outlet
2015-09-04 15:58:49 -04:00
Robin Ward 49096e5801 FIX: Logout link was too small 2015-09-04 15:36:48 -04:00
Robin Ward 2d684899f7 Make the whole "view older notifications..." a link target 2015-09-04 13:11:25 -04:00
Robin Ward a83312513e Move mobile toggle to the bottom of the hamburger 2015-09-04 13:07:51 -04:00
Robin Ward 8e776d0fd7 Move TopicTrackingState to injected object 2015-09-04 13:00:24 -04:00
Robin Ward 531ab65ccf Add counts to new / unread in hamburger 2015-09-03 16:16:49 -04:00
Robin Ward 035e263356 Two column layout for hamburger 2015-09-03 15:58:27 -04:00
Robin Ward 0818a502f3 Group admin stuff in Hamburger 2015-09-03 15:39:45 -04:00
Robin Ward ecf21cabe1 Move Keyboard item to bottom. Add d-link to hamburger 2015-09-03 15:14:04 -04:00
Robin Ward 0e1d6272b9 FIX: highest_post_number was not being updated from gaps 2015-09-03 13:37:55 -04:00
Robin Ward 7516643f11 Middle clicking the avatar should go to profile 2015-09-03 11:53:42 -04:00
Robin Ward 12e0225c51 FIX: Better metaKey support for menu panels 2015-09-03 11:47:18 -04:00
Robin Ward e53d9f0e8b FIX: Don't use observers to update data
Message bus events were triggering users who didn't have access to
update posts to update them. Instead, perform the update in the action
itself.
2015-09-03 11:10:04 -04:00
Robin Ward 0cd393f310 Experiment with variable heights for slide-in menus 2015-09-02 16:46:25 -04:00
Robin Ward 286738c712 FIX: Include dummy capabilities object in component tests 2015-09-02 16:18:14 -04:00
Robin Ward 73dba5af38 FIX: Notifications when no limit is provided 2015-09-02 15:48:41 -04:00
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
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
Robin Ward a76d1079b2 Support jumping to messages 2015-09-02 13:39:14 -04: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
Robin Ward f2fa7a39be FEATURE: Use shift+Z twice to log out 2015-09-01 16:37:54 -04: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
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
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
Robin Ward ce0a50eae1 FIX: user_custom_preferences did not match other outlet names 2015-08-31 11:06:23 -04: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
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
Robin Ward 42e510753d Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
Robin Ward 7de03f837e UX: Auto size the height of the drop down panel 2015-08-27 14:29:54 -04: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
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
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
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
Robin Ward b5b099d372 FIX: Remove broken test, add descriptions 2015-08-25 17:34:26 -04: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
Robin Ward 324c6551d3 FIX: Both rules are important 2015-08-25 11:34:13 -04: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
Robin Ward f40f733269 FIX: The digests aren't always weekly 2015-08-24 11:37:24 -04:00
Robin Ward d418c4cfc0 FIX: Bug with migrating old embeddedable hosts with http:// 2015-08-22 10:20:41 -04:00
Robin Ward be17b3e04f FIX: Strip lightbox metadata from embedding comments 2015-08-21 15:22:50 -04:00
Robin Ward 4dd03ad6fe FIX: Couldn't restrict search to a category 2015-08-21 14:40:12 -04:00
Robin Ward 4f85420088 FIX: Fields should be ordered by position on preferences page 2015-08-21 12:47:16 -04:00
Robin Ward 7ffdc43091 Include the error messages so we can debug this easier 2015-08-21 12:43:10 -04:00
Robin Ward 2b72bd3592 FIX: Missed incrementing idx 2015-08-21 11:39:40 -04:00
Robin Ward 37f2d8c73c Adds more helpers for plugin authors
`add_class_method` can be used to add a class method that only
executes when the plugin is enabled.

`add_model_callback` can be used to attach a callback to an
ActiveRecord model such as `before_save` that will only execute
when the plugin is enabled.
2015-08-21 11:29:45 -04:00
Robin Ward 676416f478 FIX: Build broken when someone didn't have an embed category 2015-08-20 16:10:34 -04:00
Robin Ward 0dfeee8016 Merge pull request #3680 from riking/dark-theme-fix
Dark theme fix, part 4
2015-08-20 16:05:06 -04:00
Robin Ward 146f2eab7f Can edit settings on the embedding page 2015-08-20 15:56:05 -04:00
Robin Ward d1c69189f3 FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
Robin Ward 320e4a83ac FIX: Don't cache translations in development mode 2015-08-20 12:05:15 -04:00
Robin Ward 11d1619e2c Hack to allow posts to have access to siteSettings 2015-08-20 11:06:23 -04:00
Robin Ward 00c9469fba FIX: Don't include admin in non-admin and vice versa 2015-08-19 15:12:15 -04:00
Robin Ward 42cb1fcaf6 FIX: Embed now needs mixins 2015-08-19 14:14:39 -04:00
Robin Ward aa36671de3 Lighten code blocks 2015-08-19 13:30:16 -04:00
Robin Ward 54c0bea294 Darken asides on a dark theme. Create a mixin to DRY things up. 2015-08-19 13:27:41 -04:00
Robin Ward e2c9e11dd9 Merge pull request #3662 from b-studios/include-options-in-serialization
Use userfield serializer in json dump
2015-08-19 12:16:25 -04:00
Robin Ward 6d6b41dbcc Merge pull request #3660 from tgxworld/wrong_message_on_rate_limit
FIX: Rate limit message not shown.
2015-08-19 12:14:51 -04:00
Robin Ward 4062e4a464 Merge pull request #3671 from riking/css-cleanup
CLEANUP: Coalesce repeated CSS properties
2015-08-19 12:13:49 -04:00
Robin Ward cdc3fdae5d Merge pull request #3677 from YesThatAllen/patch-2
fix for links in smtp providers
2015-08-19 12:12:40 -04:00