Sam Saffron
7d59ff67b8
adjust qurey to include messages, once everything is read
...
then mark first_topic_unread_at to be current time
2017-05-25 18:40:32 -04:00
Sam Saffron
1a1f5d2101
create or replace
2017-05-25 18:12:45 -04:00
Robin Ward
2820cf2b50
FIX: Broken Acceptance test
2017-05-25 15:56:11 -04:00
Robin Ward
39e1948174
FIX: If the error is 401 unauthorized or such, just do nothing
2017-05-25 15:42:05 -04:00
Robin Ward
b584264d82
FIX: Don't show "resend email" option when user approval is on
2017-05-25 15:29:05 -04:00
Sam
29fac1ac18
PERF: improve performance of unread queries
...
Figuring out what unread topics a user has is a very expensive
operation over time.
Users can easily accumulate 10s of thousands of tracking state rows
(1 for every topic they ever visit)
When figuring out what a user has that is unread we need to join
the tracking state records to the topic table. This can very quickly
lead to cases where you need to scan through the entire topic table.
This commit optimises it so we always keep track of the "first" date
a user has unread topics. Then we can easily filter out all earlier
topics from the join.
We use pg functions, instead of nested queries here to assist the
planner.
2017-05-25 15:07:30 -04:00
Robin Ward
6eb6c25816
FIX: Keep the flash when redirecting for login_required
2017-05-25 14:10:15 -04:00
Robin Ward
ca965f83c3
Revert "FIX: If login is required, redirect to the /login
route instead of root"
...
This reverts commit 8a8dec550b
.
2017-05-25 14:04:28 -04:00
Robin Ward
8a8dec550b
FIX: If login is required, redirect to the /login
route instead of root
2017-05-25 13:35:15 -04:00
Neil Lalonde
bb208be822
Update translations
2017-05-25 09:55:55 -04:00
Neil Lalonde
c95e557db6
add discourse-narrative-bot strings to Transifex for translation
2017-05-25 09:39:36 -04:00
lead4good
0d36fb0c2b
bbpress import script: Adding support for anonymous users
2017-05-25 13:15:50 +02:00
Neil Lalonde
f8584e28d7
UX: improved layout of flag handling UI on mobile
2017-05-24 15:52:29 -04:00
Felix Freiberger
6729f032b0
Typofix in Onebox user_agent
2017-05-24 14:36:02 -04:00
Robin Ward
f481708348
FIX: Sometimes the duplicate link text made no sense
2017-05-24 14:07:29 -04:00
Robin Ward
0a08c18a14
FIX: Don't rate limit gravatar downloads
2017-05-24 13:54:26 -04:00
Robin Ward
cdbe027c1c
Refactor FileHelper
to use keyword arguments.
2017-05-24 13:54:26 -04:00
Robin Ward
87ac758f05
FIX: Don't raise an error when the upload can't be retrieved
2017-05-24 13:54:26 -04:00
Sam
e8c89b4535
Merge pull request #4865 from chrisgavin/login-button-fix
...
Fix the padding on the login and register buttons.
2017-05-24 12:41:07 -04:00
Sam
73ec0c70ae
correct issues with pr
2017-05-24 12:37:27 -04:00
Claas Augner
0a6dd14a4d
discourse-details: Fix German locale prefix
2017-05-24 12:37:27 -04:00
Claas Augner
0fdb30d611
discourse-details: Add German locale
2017-05-24 12:37:27 -04:00
Sam
405fd9c15d
Merge pull request #4870 from tgxworld/fix_cleanup_sockets_servers
...
FIX: Ensure we clean up socket servers.
2017-05-24 12:33:34 -04:00
Sam
3aa3c915e7
detect dead qunit
2017-05-24 12:24:34 -04:00
Robin Ward
8bc93c0b01
FEATURE: Add custom User-Agent to Discourse Oneboxes
2017-05-24 12:19:36 -04:00
Neil Lalonde
4266828c62
FIX: incorrect margins on buttons in modals on mobile
2017-05-24 11:57:26 -04:00
Sam
4c1b0e64d7
Merge pull request #4874 from davidtaylorhq/docker_dev_rake
...
Use `bundle exec` for docker_dev rake
2017-05-24 11:51:13 -04:00
Sam
fcc523c320
Merge pull request #4872 from mcmcclur/add-httrack
...
Update crawler_detection.rb
2017-05-24 11:49:28 -04:00
Sam
d0f84aa14e
FIX: missing to_i which breaks selector component for anon
2017-05-24 11:39:10 -04:00
Robin Ward
b78b010757
FIX: Fixes to grant new user of the month badge
2017-05-24 11:36:24 -04:00
Sam
f12490eae0
FIX: order:latest not working for search within topic
...
FEATURE: use 'l' as a shorthand for order:latest
2017-05-24 11:24:41 -04:00
Neil Lalonde
0756602dfa
UX: h1, h2, etc css reset should give them a bottom margin
2017-05-24 10:38:25 -04:00
Guo Xiang Tan
ee23ce5acc
FIX: Allow advanced tutorial to be started if badges are disabled.
2017-05-24 18:34:10 +08:00
Guo Xiang Tan
9fac5e28a5
Merge pull request #4879 from tgxworld/merge_bot_into_core
...
Merge discourse-narrative-bot into core plugins.
2017-05-24 15:46:22 +08:00
Guo Xiang Tan
7f0561b621
Merge discourse-narrative-bot into core plugins.
2017-05-24 15:28:34 +08:00
Arpit Jalan
796a2967af
hide invites_per_page site setting
2017-05-24 11:30:43 +05:30
Robin Ward
3b0cbf7013
FIX: Always allow downloads from CDN
2017-05-23 16:32:54 -04:00
Robin Ward
f101e052e6
FIX: Roll back file_helper changes, relative URLs were broken
2017-05-23 15:50:48 -04:00
Robin Ward
70638f1291
Remove the word "ago" from the duplicate link popup
2017-05-23 15:45:12 -04:00
Robin Ward
d2121ca272
FIX: Missing HTTP stub
2017-05-23 15:08:19 -04:00
Robin Ward
b81e7be9a1
FEATURE: Rate limit how often we'll crawl a destination IP
2017-05-23 15:03:04 -04:00
Robin Ward
36e477750c
FIX: Use same code path for downloading images
2017-05-23 14:51:30 -04:00
Robin Ward
e5e7a15a85
SECURITY: Never crawl by IP
2017-05-23 13:07:18 -04:00
Robin Ward
93a5fc62bf
FEATURE: A site setting to prevent crawling on private IP blocks
2017-05-23 11:56:06 -04:00
Neil Lalonde
c9028f517a
UX: headings in banners had no margins
2017-05-23 11:25:40 -04:00
Sam
35bb4ae995
FIX: wizard was not showing up if more than 1 system user
2017-05-23 11:09:50 -04:00
Robin Ward
80af54460a
FIX: Use Excon to do its own stubbing
2017-05-22 18:19:20 -04:00
Robin Ward
b51126dd5e
FIX: Reset the WebMock after before every test
2017-05-22 17:52:31 -04:00
Régis Hanol
9dddb81cf6
FIX: remove memoization on class method used in a job
2017-05-22 23:35:41 +02:00
Blake Erickson
4e8beda332
Merge pull request #4866 from JaredReisinger/admin-user-pagination
...
Add pagination to /admin/users/list API
2017-05-22 15:12:59 -06:00