Commit Graph

6590 Commits

Author SHA1 Message Date
Robin Ward
f887637935 Don't use the container to look up the store for drafts 2015-09-08 11:34:52 -04:00
Guo Xiang Tan
b549ed15b9 Reload page when dealing with mass actions on topic. 2015-09-08 23:25:52 +08:00
Régis Hanol
113cb4d3ad FIX: '@observes' doesn't work that way 2015-09-08 10:34:36 +02:00
Sam
202e30097f FIX: clicking on number should open user drawer 2015-09-08 18:01:48 +10:00
Sam
f9f52e3edc FIX: misuse of @observes
it is passed "this" and the name of the property that changed, not actual values
2015-09-08 17:16:20 +10:00
Sam
b2633098ee FIX: regression unable to send any PMs if you have a PM draft 2015-09-08 16:57:52 +10:00
Sam
71892cc5f4 FEATURE: select all / deselect all on search page 2015-09-08 16:11:21 +10:00
Sam
0c5189fa2a SECURITY: fix possible XSS expanding quotes 2015-09-08 15:25:00 +10:00
Sam
e13ed24122 FEATURE: on mobile take users to full page search
UX: improve styling on full page search page
FEATURE: allow search context in full page search
FEATURE: visited color link for full page search
FIX: broken search help on fulls page search page
FEATURE: allow preload store to return a null
FEATURE: "mobileAction" for the header buttons
2015-09-08 11:04:03 +10:00
Régis Hanol
e37dd5a393 FIX: don't reload the page when clicking the number in a notification on mobile 2015-09-07 19:33:04 +02:00
Régis Hanol
d5a2029026 FIX: category permissions weren't properly loaded when /categories is the homepage
FIX: don't scope to a specific category when creating a new topic from /categories
2015-09-07 18:52:53 +02:00
Arpit Jalan
d05bc64df8 do not default button title tag to label 2015-09-07 19:24:13 +05:30
Sam
335be272ff FEATURE: implement capping of new/unread
We cap new and unread at 2/5th of SiteSetting.max_tracked_new_unread

This dynamic capping is applied under 2 conditions:

1. New capping is applied once every 15 minutes in the periodical job, this effectively ensures that usually even super active sites are capped at 200 new items

2. Unread capping is applied if a user hits max_tracked_new_unread,
  meaning if new + unread == 500, we defer a job that runs within 15 minutes that will cap user at 200 unread

This logic ensures that at worst case a user gets "bad" numbers for 15 minutes and then the system goes ahead and fixes itself up
2015-09-07 12:03:17 +10:00
Kane York
342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Sam
e06d407153 Merge pull request #3718 from tgxworld/allow_emojis_to_be_copy_and_pasted
FIX: Allow user to quote Emojis.
2015-09-07 08:48:34 +10:00
Jeff Atwood
81ba90fd22 suppress editor toolbar buttons a bit 2015-09-05 22:22:04 -07:00
Robin Ward
73526e1211 FIX: Category permissions were broken 2015-09-05 11:40:12 -04:00
Jeff Atwood
fa7d38a773 Merge pull request #3730 from riking/patch-7
FIX: Mentions unreadable on user cards
2015-09-04 15:48:28 -07:00
Kane York
72d32160b3 FIX: Mentions unreadable on user cards 2015-09-04 14:19:11 -07: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
Kane York
ea606a348f FEATURE: post-after-cooked plugin-outlet 2015-09-04 12:45:04 -07: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
Régis Hanol
064b62199e FIX: ensure we show the footer in '/categories' when coming from a topics list 2015-09-04 17:38:10 +02:00
Sam
7a5c045399 its not a const anymore 2015-09-04 17:39:52 +10:00
Sam
6709eaeb3c better have some sane upper bound here. 2015-09-04 17:23:37 +10:00
Sam
b3d6cefef4 FIX: never ask for less than 5 notifications 2015-09-04 17:22:26 +10:00
Sam
a54e8f3c5e FEATURE: live refresh notifications as they happen 2015-09-04 13:20:33 +10:00
Sam
8bc7423045 UX: On first load of notifications don't use cached data 2015-09-04 10:43:26 +10:00
Sam
f019f5a62d FIX: return 0 if we are unable to count unread/new topics 2015-09-04 10:33:16 +10:00
Neil Lalonde
64d1c91179 render those links instead of raw html 2015-09-03 18:34:06 -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
Régis Hanol
80041b874c FIX: don't show new topic notifications in homepag for suppressed categories 2015-09-03 19:18:46 +02: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
Régis Hanol
6a25a62e63 FIX: make sure we have a category 2015-09-03 11:59:04 +02:00
Régis Hanol
e43343354a Merge pull request #3727 from tgxworld/fix_autocomplete_mobile_view
UX: Make autocomplete usable on mobile.
2015-09-03 11:43:21 +02:00
Guo Xiang Tan
a77d5d0cef UX: Make autocomplete usable on mobile. 2015-09-03 17:10:08 +08:00
Arpit Jalan
73e6eebde8 UX: fix group header font color 2015-09-03 13:46:55 +05:30
Sam
48f0323032 Merge pull request #3722 from gdpelican/move-header-plugin-outlet
Move plugin menu outlet to live with other menus
2015-09-03 11:34:35 +10:00
Régis Hanol
be6e6dc129 UX: tidy up the category settings tab 2015-09-03 00:22:25 +02:00
Régis Hanol
d34f42d2f7 FIX: hide category column in topic list only when the current category has no children 2015-09-02 23:46:04 +02:00
Robin Ward
0cd393f310 Experiment with variable heights for slide-in menus 2015-09-02 16:46:25 -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
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
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
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