Commit graph

8770 commits

Author SHA1 Message Date
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
Régis Hanol
9d4c53c882 FIX: custom emoji autocomplete 2015-06-02 17:48:19 +02:00
Neil Lalonde
8449896f3d more bullet category vertical alignment fussing 2015-06-02 10:50:33 -04:00
Jeff Atwood
fa963e8f38 Revert "Revert "FIX: new task to delete old drafts weekly""
This reverts commit c987a1d571.
2015-06-02 04:26:01 -07:00
Sam Saffron
c987a1d571 Revert "FIX: new task to delete old drafts weekly"
This reverts commit fcaed7a00d.
2015-06-02 20:30:06 +10:00
Sam Saffron
0fd1974838 FIX: leaving around useless drafts after posting 2015-06-02 20:28:33 +10:00
Sam Saffron
d459cb95dc FIX: when advancing draft sequence remove old drafts 2015-06-02 20:28:33 +10:00
Jeff Atwood
afafa30989 Merge pull request #3514 from techAPJ/patch-1
FIX: new task to delete old drafts weekly
2015-06-01 20:21:05 -07:00
Arpit Jalan
fcaed7a00d FIX: new task to delete old drafts weekly 2015-06-02 08:39:27 +05:30
awesomerobot
93de39f1da a few color variable fixes for the topic map 2015-06-01 21:13:37 -04:00
Régis Hanol
64e73e98fb FIX: allow the cooked_post_processor to download external uploads 2015-06-01 20:08:41 +02:00
Robin Ward
72f7c26514 UX: Close user card right away when navigating to a user. 2015-06-01 12:40:53 -04:00
Robin Ward
b2a7411620 FIX: decorateCooked was not being applied to embedded posts 2015-06-01 11:58:50 -04:00
Régis Hanol
81a699e2b0 better support for mixed content 2015-06-01 17:49:58 +02:00
Sam
b2b4af213c UX: clean up title for user avatar hover in header 2015-06-01 17:08:19 +10:00
Sam
9910dc041f Merge pull request #3513 from techAPJ/patch-3
UX: show meaningful tooltip for user menu
2015-06-01 16:55:59 +10:00
Jeff Atwood
5f273f1dc8 missing line from previous commit (?) 2015-05-31 23:32:01 -07:00
Jeff Atwood
d6af1169fc remove extra "posts" text from similar topic panel 2015-05-31 23:31:29 -07:00
Jeff Atwood
728a530d2d remove extra "posts" text from digest 2015-05-31 23:13:00 -07:00
Sam
739a6ff721 FIX: show category in subject not checking for category 2015-06-01 15:43:16 +10:00
Sam
c1a18f91ef FEATURE: Add parent category link to nojs view 2015-06-01 15:25:57 +10:00
Arpit Jalan
2f9662e562 UX: show meaningful tooltip for user menu 2015-06-01 10:23:49 +05:30
Sam Saffron
7942b28780 FIX: Emoji aliases not autocompleted 2015-06-01 12:33:42 +10:00
Sam Saffron
83559bbf45 posts read may enter concurrently, retry 2015-06-01 11:55:07 +10:00
Sam Saffron
9787cb07aa FIX: when missing a static topic we were returning an error 2015-06-01 11:40:52 +10:00
Sam Saffron
97f03e699d FIX: mixed local s3 store missing avatars 2015-06-01 11:17:42 +10:00
Neil Lalonde
7430da0ec4 FIX: unread counts with 2 digits were wrapping in hamburger menu 2015-05-30 14:39:41 -04:00
Neil Lalonde
fbcc8045ec FIX: hanging lowercase characters were cut off in bar style category badges 2015-05-30 14:39:05 -04:00
Robin Ward
e30f62552e FIX: Arrows had inverted visibility settings 2015-05-30 11:03:50 -04:00
Sam
fc2a08731a FIX: sso_not_approved_url not working correctly 2015-05-30 13:19:07 +10:00
Robin Ward
ea80488fef Merge pull request #3510 from riking/patch-5
FEATURE: Add plugin-outlet to top of static pages
2015-05-29 14:17:04 -04:00
Régis Hanol
80a108e3cf FIX: don't break user avatars route 2015-05-29 19:19:41 +02:00
Neil Lalonde
5f3451a3ea another fix for bullet category badges to prevent wrapping with unread counts on long category names 2015-05-29 12:59:00 -04:00
Régis Hanol
acafa491b2 user avatar urls/templates refactor 2015-05-29 18:51:17 +02:00
Régis Hanol
0483f05154 make sure we pass in the user_id when creating avatar thumbnails 2015-05-29 18:11:19 +02:00
Régis Hanol
fe4f8b1519 download largest gravatar image 2015-05-29 18:11:15 +02:00