Commit Graph

8855 Commits

Author SHA1 Message Date
Kane York 6b1cfd8d87 FIX: combo-box shouldn't crash if no options available
This is a fix for bdfe91914f
2015-06-30 11:47:41 -07:00
Kane York 130d6a3a26 Join together all errors if mulitple 2015-06-30 11:40:35 -07:00
Kane York 05010b6b33 Add HTTP error codes to ajax-error 2015-06-30 11:39:17 -07:00
Robin Ward 951d6ac28f FIX: Don't reload a topic when clicking the first post search result 2015-06-30 14:15:05 -04:00
Kane York bdfe91914f FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
2015-06-30 10:18:31 -07:00
Kane York 3a8808ee3f FIX: buildPluginAdapter not passing args 2015-06-30 09:14:22 -07:00
Jeff Atwood b5d196fb29 smaller font on Replies expansion 2015-06-29 16:25:53 -07:00
Robin Ward 1b1ea08ac3 FIX: If you follow a link to a user that doesn't exist, show 404 2015-06-29 15:47:05 -04:00
Robin Ward 0013477453 UX: Don't show "X days later" unless the posts are sequential.
This fixes the display of later posts when in summary mode.
2015-06-29 15:23:26 -04:00
Robin Ward fb03c13bc6 UX: When summarizing/filtering by participant jump to second post 2015-06-29 15:16:28 -04:00
Guo Xiang Tan eb97fb6ee7 UX: Seeing black hearts make me sad. 2015-06-29 22:31:46 +08:00
Guo Xiang Tan 5c93188bc9 UX: Make category links heading take the entire width. 2015-06-29 22:02:22 +08:00
Guo Xiang Tan 7ce77a151c UX: Dropdown not dismissing until next page renders. 2015-06-29 22:02:21 +08:00
Jeff Atwood b9add46c92 text a bit too dim on .gap 2015-06-29 02:47:06 -07:00
Jeff Atwood 05763f123a move .gap width into desktop styles 2015-06-29 01:14:54 -07:00
Jeff Atwood 439927fa81 move .gap style to base 2015-06-29 00:47:07 -07:00
Sam 0c403272e2 missing condition 2015-06-28 10:00:17 +10:00
Jeff Atwood e04d66aa2c pulled in manual change incorrectly 2015-06-27 12:09:47 -07:00
Jeff Atwood 58bb918002 add jagged border for post gaps 2015-06-27 11:52:04 -07:00
Gerhard Schlager 2e8838a0cd FIX: Disable validation during thumbnail creation 2015-06-27 01:26:16 +02:00
Robin Ward 7dbc2590a5 Support for auth plugins to freeze the username 2015-06-26 15:55:33 -04:00
Robin Ward b52e5d1536 FIX: `default_avatars` wasn't being used for some server side templates 2015-06-26 13:38:09 -04:00
Robin Ward 9408d5891d FIX: `url_list` wasn't updating properly 2015-06-26 13:38:09 -04:00
Robin Ward 92f97fa94f Upgrade topics to modern ES6 2015-06-26 13:38:09 -04:00
Robin Ward 9cf77bc01d Merge pull request #3570 from tgxworld/middle_click_on_profile_image
FIX: Middle click on user card image and name not working.
2015-06-26 12:30:42 -04:00
Robin Ward e322c9a9ff Support resolving models 2015-06-26 12:27:13 -04:00
Jeff Atwood d818f7a54a more spacing for "your topic is similar to.." results 2015-06-26 01:53:19 -07:00
Jeff Atwood bca9191419 tighten spacing on search summary blurbs 2015-06-26 00:48:50 -07:00
Sam c2aab0b1b8 more of type will not go to fullpage search if looking at a topic 2015-06-26 17:47:20 +10:00
Sam 93b5af716c FEATURE: enter on search will take you to full page search 2015-06-26 17:47:20 +10:00
Jeff Atwood 9e4080d825 to match rounded avatar, rounded @name mentions 2015-06-25 23:41:30 -07:00
Sam e32cecf60f Don't run perf report in multisite 2015-06-26 16:30:07 +10:00
Guo Xiang Tan 47f120c346 FIX: Middle click on user card image and name not working.
Extension of 0a9e2f54ff.
2015-06-26 12:20:06 +08:00
Sam 4b449241fb correct formatting 2015-06-26 14:15:52 +10:00
Sam 542e796fb0 FEATURE: daily performance reports 2015-06-26 13:37:05 +10:00
Sam ba1cf44d0f UX: wrapping around code blocks is crazy, impossible to read 2015-06-26 13:37:05 +10:00
Gerhard Schlager d08693edce FEATURE: Make abbreviated numbers (k, M) localizable
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02:00
Neil Lalonde 93d7edb810 FIX: reports of topics with no response and time to first response should not include replies to your own topic 2015-06-25 18:45:11 -04:00
Robin Ward 2eb551e10a Merge pull request #3568 from techAPJ/patch-1
FIX: mark user as approved if an invite is already present
2015-06-25 17:12:23 -04:00
Arpit Jalan 03665e8466 FIX: mark user as approved if an invite is already present 2015-06-26 01:57:29 +05:30
Kane York 20ccbc79c2 Use the underscore-private convention, simplify 2015-06-25 12:53:50 -07:00
Kane York b0e62e4dc1 FEATURE: addPluralization() in the store adapter 2015-06-25 12:49:36 -07:00
Robin Ward 0a9e2f54ff FIX: Middle clicking on a user was not working 2015-06-25 13:53:23 -04:00
Sam 1edb5919fa PERF: don't count all likes twice on like 2015-06-25 17:19:32 +10:00
Sam 8252f4e110 FEATURE: allow use of redis sentinel via redis_sentinels
Use: DISCOURSE_REDIS_SENTINELS and DISCOURSE_REDIS_HOST to configure redis
sentinel
2015-06-25 16:51:48 +10:00
Régis Hanol 18f887772d FEATURE: allow plugins to add custom admin reports 2015-06-25 02:42:08 +02:00
Robin Ward d7007207c9 FIX: Missing `url` attribute for suggested topics 2015-06-24 15:13:36 -04:00
Robin Ward 6422d5efbd Use the same component for similar topics as search results. 2015-06-24 15:08:22 -04:00
Robin Ward b4960d48b4 Better support for passing up errors when OmniAuth fails after auth 2015-06-24 12:12:43 -04:00
Régis Hanol f18098fd9b FEATURE: category dropdown in admin reports 2015-06-24 15:19:39 +02:00
Régis Hanol 80f258e51c FIX: don't count mentions in oneboxes 2015-06-24 11:44:58 +02:00
Sam b052179ae6 Merge pull request #3163 from rcfox/fix-by-external
Allow periods in the external_id value used in the /users/by-external route.
2015-06-24 13:07:12 +10:00
awesomerobot 46fccada69 fixing category selector background color (to match button bg) 2015-06-23 22:08:12 -04:00
Robin Ward cb94a9000d Revert "Revert "Extract logic to save external avatar url""
This reverts commit 2d20e4c692.
2015-06-23 15:59:50 -04:00
Robin Ward 2d20e4c692 Revert "Extract logic to save external avatar url"
This reverts commit 18b8df3f32.
2015-06-23 15:45:34 -04:00
Robin Ward 18b8df3f32 Extract logic to save external avatar url 2015-06-23 15:23:19 -04:00
Sam afa11b214e UX: smoother j/k handling 2015-06-23 17:00:57 +10:00
Sam a0e8bc2492 Merge pull request #3557 from scossar/rtl-usercard
FIX: positioning of usercard in rtl layouts
2015-06-23 15:58:09 +10:00
Sam a714334180 Merge pull request #3559 from gschlager/keyboard
FEATURE: Close search window when Ctrl+F is pressed
2015-06-23 15:53:32 +10:00
Sam a589d217c1 Merge pull request #3561 from tgxworld/make_submit_panel_fluid
FIX: Tagging plugin was blocking composer status on smaller screens.
2015-06-23 15:51:46 +10:00
Sam 65ac5b6475 Merge pull request #3562 from riking/no-index
Add noindex directive on unlisted topics
2015-06-23 15:50:53 +10:00
Sam 24d8c423df correct hamburger link 2015-06-23 13:55:19 +10:00
Sam f101408d03 FEATURE: on mobile display a rollup of unread and new on latest 2015-06-23 12:45:41 +10:00
Sam b593a8db92 order by latest and views filters
sane wrapping for large text in excerpt
2015-06-23 11:01:10 +10:00
Sam 0768a3b2e9 Improve full page search handling
- add highlighting, clean up url
2015-06-23 09:47:33 +10:00
Robin Ward 4cb8f0ffdb FIX: Clicking on topics in search broke 2015-06-22 16:40:10 -04:00
Sam 9f88d6e252 fix regression in visible notification detection 2015-06-23 06:14:22 +10:00
Robin Ward 4c4b20574d FIX: Broken JSHint. cc @riking 2015-06-22 16:02:14 -04:00
Neil Lalonde 7ae1ff439d FIX: modal explaining that your account hasn't been activated yet was broken if you saw it more than once 2015-06-22 15:36:42 -04:00
Robin Ward 7ed309666b Refactor search results to be components instead of views for reuse 2015-06-22 15:08:51 -04:00
Robin Ward 76bfd723f6 Merge pull request #3482 from riking/patch-3
Import/Export site customizations
2015-06-22 14:03:07 -04:00
Kane York 2f0bd6294c Add noindex directive on unlisted topics 2015-06-22 11:00:39 -07:00
Régis Hanol b25a16ee3e FEATURE: 2 new reports: time to first response, topics with no response
FIX: relativeAgeMediumSpan was off by 1
REFACTOR: extracted decimalAdjust & round functions from the poll plugin
2015-06-22 19:46:51 +02:00
Régis Hanol 0bfabed2d5 FIX: avatar selection wasn't properly pre-selected 2015-06-22 16:22:15 +02:00
Régis Hanol 5a77f62181 PERF: poor SQL performances when counting notifications 2015-06-22 14:40:03 +02:00
Régis Hanol efb02ae561 FIX: take into account unlisted banners 2015-06-22 14:08:30 +02:00
Guo Xiang Tan 565450601f FIX: Tagging plugin was blocking composer status on smaller screens. 2015-06-22 19:56:45 +08:00
Sam 41e427bd2e Work in progress, full page search 2015-06-22 18:09:08 +10:00
Sam 374f951c65 fix live css changes on mobile 2015-06-22 14:35:11 +10:00
Sam fe6203d4ec UX: improve front page styling for mobile 2015-06-22 14:25:17 +10:00
Sam 701c23c8b7 REFACTOR: create component for navigation pills 2015-06-22 10:54:50 +10:00
Konstantin Ilchenko 131cf643ce FIX: Allow api to send uploads with :url 2015-06-21 14:54:59 +03:00
Jeff Atwood ca42d00883 match time gap styling for mobile/desktop 2015-06-19 23:08:49 -07:00
Simon Cossar 4896a7dec7 Change const to a variable 2015-06-19 15:31:03 -07:00
Simon Cossar aa8b06aed2 Clean up code 2015-06-19 14:43:34 -07:00
Simon Cossar 7cf910a408 Merge branch 'master' into rtl-usercard 2015-06-19 14:31:08 -07:00
Gerhard Schlager 3e2653d198 FEATURE: Close search window when Ctrl+F is pressed.
FIX: All search related keyboard shortcuts enabled the "search context", but only Ctrl+F inside of topics should enable it.
2015-06-19 23:04:00 +02:00
Robin Ward 00572c4f11 FIX: The time gap would disappear after a post was comitted 2015-06-19 10:32:58 -04:00
Sam d12de36c82 FIX: denote that we are not collapsed if no buttons are hidden 2015-06-19 16:09:26 +10:00
Sam 309d1b267b style mobile time gap 2015-06-19 13:30:01 +10:00
Simon Cossar 7d898ff517 remove comment 2015-06-18 19:33:23 -07:00
Sam 5ab7f7e88d FIX: double like notification
If you got a like -> edit/quote/etc -> like you would get a
double notification
2015-06-19 12:31:36 +10:00
Simon Cossar 1bdf43d5cc Correct user-card positioning for rtl layouts 2015-06-18 19:28:02 -07:00
Sam 0dfb9261ea Improve time gap styling 2015-06-19 11:24:10 +10:00
Sam 054789038c remove leftover code 2015-06-19 11:23:52 +10:00
Sam 5eabf01c29 FIX: don't allow storage of post timings batch larger than 60 secs 2015-06-19 10:35:55 +10:00
Robin Ward 42bd9b6199 FEATURE: Show time gap between posts if more than a few days 2015-06-18 17:06:25 -04:00
Robin Ward 4e898c604e UX: Update suggested topics to include topic status + category 2015-06-18 15:53:10 -04:00
Neil Lalonde 77595bcaa9 FEATURE: notify by email when there are posts from new users waiting to be reviewed 2015-06-18 15:47:35 -04:00
Sam f0c74d7685 PERF: batch update post timings
previously we would issue a query per row in post timings,
this batches it
2015-06-18 17:02:10 +10:00
Sam 1343d40558 PERF: deleting a post in huge topics was timing out
- add missing index to user actions for fast retrieval by post
- add missing indexes to users for fast retrieval of staff
- only refresh topic_users liked/bookmarked cache for affected users
2015-06-18 09:58:49 +10:00
Régis Hanol 9cdfef2b27 UX: no need for all these margins 2015-06-17 21:46:55 +02:00
Régis Hanol 3db743640e fix the build :fired: 2015-06-17 17:45:53 +02:00
Robin Ward 874b2a628d FIX: `plugin-outlet` should do view injections 2015-06-17 11:11:16 -04:00
Régis Hanol 56b9528de8 FIX: catch the PG::UniqueViolation exception too 2015-06-17 15:38:45 +02:00
Sam 86b485f165 Merge pull request #3554 from scossar/set-inline-category-badge-to-display-inline
FIX: set inline category badge to display inline
2015-06-17 09:02:50 +10:00
Régis Hanol 01a23203c7 FIX: slightly improve emoji support in titles (no need for spaces between emojis) 2015-06-16 10:15:42 +02:00
Sam f26eee8431 FEATURE: add username to NGINX logs 2015-06-16 17:43:53 +10:00
Arpit Jalan 4628b06fd6 FIX: use session instead of cookie to preserve url 2015-06-16 11:43:29 +05:30
Arpit Jalan d37c2a2c98 Merge pull request #3550 from techAPJ/patch-1
FIX: new-topic URL should survive login redirection
2015-06-16 07:19:42 +05:30
Sam 690f4a4c37 add X so it shows up at the end of chrome 2015-06-16 10:27:42 +10:00
Sam 9b8b1d0034 FEATURE: add special header that names the action for the request 2015-06-16 09:54:44 +10:00
Sam 7b8786e14f FIX: maintain category ordering when position is fixed for browsing
FEATURE: allow mods to set category ordering for topic creation dialog
  using fixed_category_positions_on_create
2015-06-16 09:31:41 +10:00
Simon Cossar d396e4eeed set inline category-badge to display inline 2015-06-15 15:24:08 -07:00
Régis Hanol 357d4e3dd3 FIX: support for more than 1 emojis in the title 2015-06-15 23:44:39 +02:00
Neil Lalonde 76a14cd279 FIX: user visit stats on admin dashboard should show sum of values for 7 day and 30 day columns 2015-06-15 13:16:29 -04:00
Régis Hanol 81290d7f18 UX: sort staff members by username 2015-06-15 18:53:53 +02:00
Régis Hanol 87ab1cef8e FIX: destroy optimized images that cant' be migrated to new scheme
Since we can always recompute an optimized image from the original upload, there's no need to keep optimized images that are generating errors.
2015-06-15 18:30:11 +02:00
Robin Ward fb8ba5e137 FIX: `PG::UniqueViolation` when trying to use the same embed code
Previously providing an embed code already in use would result in
a logged server error. After this commit the error is gracefully
bubbled up from the `PostCreator`
2015-06-15 12:09:59 -04:00
Régis Hanol 08e62347e1 FIX: blue notification bar overlaps text on New/Unread tab 2015-06-15 17:27:56 +02:00
Robin Ward e4085a64ce FIX: Use proper upper/lower case when previewing mentions 2015-06-15 10:58:03 -04:00
Régis Hanol 7bc0cbc672 FEATURE: add support for up to 10 uploads in the composer 2015-06-15 16:29:01 +02:00
Régis Hanol 1ac3941130 FEATURE: allow API to upload files synchronously 2015-06-15 16:12:15 +02:00
Régis Hanol 50e705a078 fix the build 2015-06-15 16:02:30 +02:00
Régis Hanol 2d03163be0 FEATURE: add support for emojis in title 2015-06-15 15:27:22 +02:00
Sam 05d343a921 EXTENSIBILITY: add point for topic loading 2015-06-15 16:25:54 +10:00
Jeff Atwood b4c568b301 Merge pull request #3551 from awesomerobot/master
replacing the remnants of the old color variable code
2015-06-14 22:11:29 -07:00
Sam 37dfb1b4b5 FEATURE: support for custom notification types
used by solved plugin
2015-06-15 14:18:03 +10:00
awesomerobot f20c28c16b replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
Arpit Jalan d1632c1dbd FIX: new-topic URL should survive login redirection 2015-06-14 20:24:47 +05:30
Régis Hanol bc9fd2c46d don't silence these errors 2015-06-12 20:11:23 +02:00
Régis Hanol 9e7eb4c48b FIX: show email wasn't working for moderators 2015-06-12 18:43:53 +02:00
Régis Hanol 34a0389ff3 FIX: time read column was empty in user directory 2015-06-12 12:40:07 +02:00
Régis Hanol 189cb3ff12 FEATURE: move migrate_to_new_scheme into a background job
- new hidden site setting 'migrate_to_new_scheme' (defaults to false)
- new rake tasks to toggle migration to new scheme
- FIX: migrate_to_new_scheme also works with CDN
- PERF: improve perf of the DbHelper.remap method
- REFACTOR: UrlHelper is now a class
2015-06-12 12:07:57 +02:00
Robin Ward ef1d27fffc PERF: Debounce mention lookup, enforce minimum username 2015-06-11 15:12:16 -04:00
Sam Saffron c58b495e15 SECURITY: Query @usernames in bulk
Otherwise you could add many requests at once while composing.
2015-06-11 13:03:49 -04:00
Régis Hanol 9572b28986 Merge pull request #3545 from ligthyear/add-plugin-outlet-to-user-card-metadata
Add plugin outlet to user card metadata
2015-06-11 16:02:20 +02:00
Arpit Jalan 7a9baa6c89 FIX: fix category badge and link in email digest 2015-06-11 19:22:22 +05:30
Benjamin Kampmann a9f3531c70 Add plugin outlet to metadata area of user card template 2015-06-11 15:31:14 +02:00
Arpit Jalan f99a9324ff Merge pull request #3538 from dfabulich/dfabulich-rss-dc-creator
Convert author tag to dc:creator
2015-06-11 14:35:10 +05:30
Régis Hanol 8bf07c02c8 Merge pull request #3543 from tgxworld/fix_for_double_click_highlight_on_IE11
FIX: Double click on IE11 not highlighting word.
2015-06-11 09:23:34 +02:00
Guo Xiang Tan 273e5c00bb FIX: Double click on IE11 not highlighting word. 2015-06-11 11:21:44 +08:00
Jeff Atwood ae52f4e776 Revert "Don't limit @mention autocomplete to latin characters"
This reverts commit effe83d7a9.
2015-06-10 12:53:57 -07:00
Neil Lalonde 611b5f996e FIX: unpinned topics shouldn't remain pinned on categories page 2015-06-10 14:36:55 -04:00
Robin Ward e54125b5dc FIX: Endless spinner when anonymous users navigated to 404s 2015-06-10 13:12:37 -04:00
Robin Ward b779591846 Merge pull request #3540 from noamraph/autocomplete_non_latin_display_names
Don't limit @mention autocomplete to latin characters
2015-06-10 12:36:52 -04:00
Régis Hanol a52d31e25e FIX: properly handle external image download errors 2015-06-10 18:18:20 +02:00
Régis Hanol bdfdbcd217 FIX: we need the sha of the upload to create a thumbnail 2015-06-10 18:15:10 +02:00
Régis Hanol a078eb1eed Merge pull request #3539 from tgxworld/fix_incorrect_check_for_highlighted_test
FIX: Incorrect check when no text is selected.
2015-06-10 11:29:16 +02:00
Noam Yorav-Raphael effe83d7a9 Don't limit @mention autocomplete to latin characters
The userSearch() function, used for @mention autocomplete, returned an empty
list if the query string included non-latin characters or spaces. This removes
this restriction, so you can search users by any characters in their display
name, including spaces.
2015-06-10 11:50:52 +03:00