Commit graph

8807 commits

Author SHA1 Message Date
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
Sam Saffron
bf8c9c3411 FEATURE: ship user_id with topic serializer 2015-06-10 18:30:46 +10:00
Guo Xiang Tan
d127e1179f FIX: Incorrect check when no text is selected. 2015-06-10 14:39:29 +08:00
dfabulich
195cdaec11 Convert author tag to dc:creator
RSS spec says the author tag should be an email address, forcing us to put in a junk no-reply@example.com email. Instead, we should use dc:creator, which allows us to use any name we want for the user.
2015-06-09 13:57:10 -07:00
Robin Ward
ae277e28a6 FEATURE: Allow embedding topics without creating them, by id 2015-06-09 16:24:20 -04:00
Sam Saffron
e3fa27a01c FEATURE: serialize and update category custom_fields
- send to client
- update from client
2015-06-10 06:13:36 +10:00
Sam Saffron
79027c2775 EXTENSIBILITY: add category-custom-settings outlet 2015-06-10 06:13:36 +10:00
Arpit Jalan
9049f31456 add posts.rss rel alternate 2015-06-10 00:52:11 +05:30
Régis Hanol
90eca69e0a FEATURE: add a link to the topic in the banner for staff members 2015-06-09 19:31:14 +02:00
Robin Ward
7b6d6b76eb FEATURE: Multiple embeddable hosts
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00
Arpit Jalan
71ee84f848 FEATURE: latest posts RSS feed 2015-06-09 21:45:06 +05:30
Sam Saffron
5db768b69f FEATURE: improve no-js topic list information
- Provide links to pages
- Provied link to last topic
2015-06-10 00:28:20 +10:00
Guo Xiang Tan
c872e3f092 Show breakdown for site settings. 2015-06-09 20:34:06 +08:00
Sam Saffron
64c0c968e4 Attempt micro data using old vocubulary
Seeing weird results on Google
2015-06-09 18:48:06 +10:00
Arpit Jalan
545f19500d FIX: when sending private message emails do not check email_direct setting 2015-06-09 13:05:26 +05:30
Robin Ward
5da5269652 FIX: Bad page title for categories view by google crawler 2015-06-08 12:07:35 -04:00
Arpit Jalan
74141cc475 FIX: send 404 error when unauthorized user tries to download user archive 2015-06-08 11:32:31 +05:30
Régis Hanol
a09d893c0c FIX: missing emoji autocomplete 2015-06-05 20:24:49 +02:00
Sam Saffron
feeb509a97 SECURITY: expire all existing email tokens on password reset 2015-06-06 03:50:06 +10:00
Sam Saffron
4171eb758c SECURITY: expire all existing sessions if user changes passwords 2015-06-06 03:09:19 +10:00
Régis Hanol
bfa3da640d Merge pull request #3529 from cpradio/remove-ip-on-created-at
FEATURE: Use created_at to remove an ip if its last_match_at is null
2015-06-05 18:45:33 +02:00
Robin Ward
c6cd1928be Simple "cook" for email imports from mailing lists 2015-06-05 11:46:36 -04:00
cpradio
afb566260e FEATURE: Use created_at to remove an ip if its last_match_at is null 2015-06-05 10:51:13 -04:00
Sam Saffron
4409a3072d FEATURE: we need admin login always 2015-06-05 18:43:59 +10:00
Régis Hanol
803083fc2e we don't care about convert output/errors 2015-06-04 19:16:52 +02:00
Jeff Atwood
9675b426ee lighter quote controls 2015-06-04 00:39:19 -07:00
Jeff Atwood
5f988c74f2 fix minor alignment issues with expanded posts 2015-06-04 00:10:35 -07:00
Régis Hanol
db84f30465 Merge pull request #3524 from techAPJ/patch-1
UX: prevent horizontal scroll on iPhone
2015-06-03 19:27:27 +02:00
Régis Hanol
c9a341417c Merge pull request #3527 from techAPJ/patch-3
FEATURE: include email_prefix in digest email subject instead of site title
2015-06-03 19:27:08 +02:00
Régis Hanol
bd33cd3ffb Merge pull request #3525 from techAPJ/patch-2
UX: post content was moving up when viewing replies
2015-06-03 19:26:58 +02:00
Arpit Jalan
5180d3e355 FEATURE: include email_prefix in digest email subject instead of site title 2015-06-03 22:22:29 +05:30
Neil Lalonde
f18140b81f FIX: digest emails weren't using user's last emailed and last seen times 2015-06-03 12:16:39 -04:00
Neil Lalonde
ec6b21227e slightly better alignment for bullet category badge 2015-06-03 11:35:15 -04:00
Robin Ward
2a0084ff87 Improve code formatting 2015-06-03 11:34:30 -04:00
Arpit Jalan
4c14d981d7 UX: post content was moving up when viewing replies 2015-06-03 20:24:41 +05:30
Arpit Jalan
52125228af UX: prevent horizontal scroll on iPhone 2015-06-03 19:43:50 +05:30
Jeff Atwood
9df9cd2c66 for some reason we don't clear h1,2,3 margins on mobile.. 2015-06-03 03:15:34 -07:00
Jeff Atwood
538f0d1199 fix mobile styles around topic map 2015-06-03 02:46:41 -07:00
Sam
11619247b4 Merge pull request #3522 from techAPJ/patch-2
FIX: move old drafts cleanup to the dedicated method and add test
2015-06-03 19:12:58 +10:00
Sam Saffron
56b4826b9f FEATURE: plugin filter for topic categories breadcrumb 2015-06-03 19:06:55 +10:00
Arpit Jalan
725861f344 FIX: move draft cleanup to the dedicated method and add test 2015-06-03 14:35:54 +05:30
Sam Saffron
89b475e538 FEATURE: clean up microdata breadcrumb
* do not include any breadcrumb for uncategorized
* do not include the work "Categories" as a breadcrumb
2015-06-03 18:17:45 +10:00
Arpit Jalan
acf6c27c65 UX: show category badge underneath title in user stream 2015-06-03 12:35:11 +05:30
Robin Ward
34acb805a4 FIX: When navigating back to the user's profile page items were missing 2015-06-02 21:30:36 -04:00
Robin Ward
42f2cd83db Run cleanDOM even when swapping out models 2015-06-02 21:13:11 -04:00
Jeff Atwood
1c0610427d UX: remove dark background on expanded replies 2015-06-02 14:42:34 -07:00
Robin Ward
92cddfa598 Basic support for server side plugin outlets 2015-06-02 14:28:12 -04:00
Robin Ward
f3ff435a62 FIX: Incorrect logo showing up on home page after focus 2015-06-02 12:36:23 -04:00
Robin Ward
f28719fd85 FIX: Incorrect capitalization. No idea how it didn't fail! 2015-06-02 12:02:48 -04:00