Commit Graph

9595 Commits

Author SHA1 Message Date
Régis Hanol 18d7c1c75d fix the build - take 2 2015-09-11 15:47:48 +02:00
Régis Hanol 29f25dbf6e fix the build 2015-09-11 15:18:17 +02:00
Régis Hanol 8128abe6b9 ES6ify user preferences controller 2015-09-11 15:10:56 +02:00
Régis Hanol a28df55518 fix the build 2015-09-11 15:10:56 +02:00
Régis Hanol 93f9dcfcec FIX: don't overwrite custom uploaded avatar when selecting gravatar
FIX: remove unecessary serialized fields
2015-09-11 15:10:56 +02:00
Régis Hanol 569f2815d1 FIX: ensure we still works with cookies off 2015-09-11 15:10:56 +02:00
Régis Hanol 0c58f08207 FIX: profile picture selector 2015-09-11 15:10:56 +02:00
Sam 6437cd0341 FEATURE: add support for generic external avatar services
This changes it so we only ship an avatar template down to the client
it has no magic, all it knows is how to plug in size
2015-09-11 15:10:56 +02:00
Guo Xiang Tan 98e8b16c34 FIX: Broken BasicUserSerializer. 2015-09-11 11:54:08 +08:00
Sam 90d49d1497 correct paths used for external service 2015-09-11 13:18:07 +10:00
Régis Hanol f6380c66ef oooops 2015-09-11 02:15:45 +02:00
Régis Hanol 2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol e43034f08f Revert "FEATURE: SVG letter avatars (based on @eviltrout's spike)"
This reverts commit cd77465788.
2015-09-11 00:23:52 +02:00
Régis Hanol cd77465788 FEATURE: SVG letter avatars (based on @eviltrout's spike) 2015-09-11 00:11:48 +02:00
Kane York f36dcb6a62 Fix build 2015-09-10 14:21:36 -07:00
Kane York a9d10f454b Oop 2015-09-10 14:12:08 -07:00
Kane York d86d4752cb FIX: Don't allow editing seeded category security settings 2015-09-10 14:04:21 -07:00
Kane York c038758f8c FIX: Several fixes related to category reorder
- Move "New Category" and "Reorder Categories" into a dropdown
 - Always show "New Topic" on categories page, even for admins
 - Make category reorder modal full-height (.full-height-modal)
 - Move category reorder stylesheet out of admin stylesheet
2015-09-10 13:42:10 -07:00
Kane York 0c5fb207e9 FIX: Fix behavior of category reorder dialog 2015-09-10 13:04:25 -07:00
scossar 20c8bb0494 remove hardcoded left: auto 2015-09-10 11:51:47 -07:00
Robin Ward 9224afacaf FIX: Don't put the FAQ as "New" if there is a custom `faq_url`
If we do this, it's impossible to ever mark it as read.
2015-09-10 14:01:55 -04:00
scossar 1f8328feb5 add code that was accidentally deleted 2015-09-10 09:50:42 -07:00
scossar d2a177f1dd change menu components position in header 2015-09-10 09:50:42 -07:00
Sam c5e3be0e71 Merge pull request #3744 from tgxworld/fix_autocomplete_avatar_missing
FIX: Missing avatar in user autocomplete.
2015-09-10 17:35:55 +10:00
Sam c386158c33 Merge pull request #3745 from tgxworld/add_plugin_outlet
FEATURE: Add a plugin outlet for custom controls.
2015-09-10 17:35:04 +10:00
Sam abeabfb40f BUG/PERF: Stop shipping PM stats when not needed 2015-09-10 17:18:43 +10:00
Sam 7431c6ac3b FIX: no user card for users with . or - in username 2015-09-10 17:14:34 +10:00
Sam c845fcb154 PERF: turn 3 queries into 1 2015-09-10 17:07:20 +10:00
Guo Xiang Tan fcb4eebde1 FEATURE: Add a plugin outlet for custom controls. 2015-09-10 14:50:18 +08:00
Sam 0b9322d16a PERF: remove uneeded data, notification count is pointless
Getting notification count is expensive, no point shipping it to clients
2015-09-10 16:44:42 +10:00
Sam f6bc46937b PERF: one less query 2015-09-10 16:27:27 +10:00
Sam cd8d82aa31 correct file size and add note about impending breakage of image_optim 2015-09-10 14:37:46 +10:00
Guo Xiang Tan 60b9985158 FIX: Missing avatar in user autocomplete. 2015-09-10 12:30:21 +08:00
Régis Hanol 38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward ca8046c7c3 FIX: Switch out topic template if the user hasn't changed it 2015-09-09 16:21:01 -04:00
Robin Ward 3ceadbd5b8 FIX: Allow qunit tests to run in browser by stubbing new functionality 2015-09-09 16:20:36 -04:00
Neil Lalonde bc52b72145 FIX: long category names overflow outside of bullet style category badges 2015-09-09 16:20:04 -04:00
Neil Lalonde 2922cc3036 UX: mobile topic list: move post count to right side of topic title 2015-09-09 16:05:13 -04:00
Robin Ward 9f826f1ad6 UX: Change style of "New" next to unread FAQ 2015-09-09 15:18:26 -04:00
Robin Ward fe6a4b7d1a Merge pull request #3739 from scossar/use-outerHeight-to-calculate-header-height
FIX: eliminate 3px gap under mobile menu-panel
2015-09-09 15:10:29 -04:00
Robin Ward 8a11f7f6c1 Remove `console.log` 2015-09-09 15:05:19 -04:00
Neil Lalonde 74eacba12f FIX: long category names overflow outside of box style badges 2015-09-09 14:46:40 -04:00
Robin Ward b3d2982be7 FIX: Allow trailing `_` because we used to. 2015-09-09 14:06:36 -04:00
Robin Ward 9548876c2d FIX: Some keyboard commands should not fire when anonymous 2015-09-09 13:45:29 -04:00
Régis Hanol 4f890a439c FIX: automatically load pages of topics list until it fills up the entire screen 2015-09-09 17:41:34 +02:00
Régis Hanol 31e8309f05 FIX: ensure we never have a string when an enum is Fixnum - Take 2 2015-09-09 14:34:44 +02:00
Sam 5ed7663a63 FIX: on enter we would double search on full page search 2015-09-09 12:00:31 +10:00
Sam 5eb1fb3bfd FEATURE: cache search results for 5 route transitions
DEV: transientCache that can be used to hold data for N route transitions
FEATURE: remember scroll position when hitting back from full page search
2015-09-09 11:52:11 +10:00
scossar cb787b99bd use outerHeight to calculate menu height 2015-09-08 14:37:07 -07:00
Robin Ward 1c90f77d09 Merge pull request #3715 from gwwar/quote_newline_code
workaround for code block being parsed before quote block.
2015-09-08 16:52:46 -04:00
Robin Ward b6343b1e10 Merge pull request #3697 from riking/patch-6
FEATURE: Allow plugins to add admin dashboard warnings
2015-09-08 16:49:58 -04:00
Robin Ward cf114f323d Merge pull request #3737 from tgxworld/reload_page
Reload page when dealing with mass actions on topic.
2015-09-08 16:34:38 -04:00
Robin Ward d3666d3468 FIX: If private messages are disabled don't show the menu link 2015-09-08 16:32:20 -04:00
scossar 7b4bb186cd Add margin to allow for right and left box-shadow 2015-09-08 11:43:18 -07:00
Régis Hanol 0e02e0272d FIX: always-enabled plugins should be, well, enabled 2015-09-08 19:28:05 +02:00
Régis Hanol e3a80936c8 prefer empty href attribute to # 2015-09-08 18:27:20 +02:00
Robin Ward c0136eb6e6 FIX: IP lookup was broken with relaxed user routes 2015-09-08 12:16:49 -04:00
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
Régis Hanol 5dca462b5a Merge pull request #3721 from riking/patch-1
FEATURE: Include topic title, category in posts.json
2015-09-07 10:22:25 +02:00
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
Sam 6850476cb3 Merge pull request #3734 from gschlager/i18n-2
Remove hard-coded fallback to English locale
2015-09-07 08:44:12 +10:00
Sam 87cd3a3b6a Merge pull request #3728 from tgxworld/add_trigger_post_process
FEATURE: Add a trigger for plugins to include their own post processing jobs.
2015-09-07 08:42:43 +10:00
Gerhard Schlager 3dd9dbf757 Remove hard-coded fallback to English locale
In production mode the English locale is always used as fallback.
In development mode there is currently no fallback, so the English
locale isn't loaded and the second call to I18n.l() fails too.
2015-09-06 21:24:38 +02: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
Kane York 27ee8bea95 FIX: Remove N+1 queries in posts.json 2015-09-04 13:36:47 -07: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
Guo Xiang Tan cbb86f9bf6 FEATURE: Add a trigger for plugins to include their own jobs. 2015-09-04 22:59:39 +08: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 1f31435a7b correct handling of data hash parsing 2015-09-04 13:34:21 +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