Joffrey JAFFEUX
fa43969fe2
FIX: crashes with date conversion in reports
2018-06-20 14:42:15 +02:00
Arpit Jalan
a171464a55
bump onebox version
2018-06-20 16:47:55 +05:30
Guo Xiang Tan
bb959e85e6
Pin exifr to 1.2.5.
2018-06-20 17:27:46 +08:00
Guo Xiang Tan
ff5fc3cb08
Use a fixed limit for mega topic posts count.
2018-06-20 16:58:52 +08:00
Guo Xiang Tan
9c925a66ff
PERF: Don't display days ago on timeline for megatopics.
...
Analysis using `pg_stat_statements` showed this query
to be eating up a significant portion of CPU.
2018-06-20 16:25:54 +08:00
Sam
cbdab71179
PERF: stop counting participants on very large topics
...
This query gets very expensive and can be bypassed on large topics
2018-06-20 18:11:39 +10:00
Sam
35e0ccfc84
make linter happy
2018-06-20 18:03:27 +10:00
Sam
2f0e73f2d6
DEV: fast pluck to use type_map in mini_sql
2018-06-20 17:53:49 +10:00
Sam
44091f20c6
DEV: allow for method deprecation using Discourse.deprecate
...
New method deprecator will ensure one log message an hour happens
for all deprecated method calls per call site
Also removes unused monkey patches to ActiveRecord::Base
2018-06-20 17:53:49 +10:00
Sam
cb824a6b33
DEV: remove all calls to SqlBuilder use DB.build instead
...
This is part of the migration to mini_sql, SqlBuilder.new is being
deprecated and replaced with DB.build
2018-06-20 17:53:49 +10:00
Guo Xiang Tan
76707eec1b
Update rails_multisite.
2018-06-20 15:11:41 +08:00
Arpit Jalan
ccb57e609f
bump onebox version
2018-06-20 11:06:56 +05:30
Joe
5fc4e9e324
FIX: nav-pill dropdown overlaps category-selector when both are open
2018-06-20 13:09:14 +08:00
Guo Xiang Tan
806f0ca19d
FIX: URL with params for svg images should not be light boxed.
2018-06-20 10:47:14 +08:00
Jeff Wong
ca4d08f9d9
Make linter happy
2018-06-19 18:07:41 -07:00
Jeff Wong
406c6d679a
FIX: correct display for unlocking on tl0
2018-06-19 17:47:03 -07:00
Sam
591512fcb8
adjust defaults for search log retention
2018-06-20 10:46:07 +10:00
riking
7f37ee9152
SearchLog: fix specs
2018-06-20 10:44:11 +10:00
riking
38a8e52ca4
FIX: Add time retention limit to search logs
...
3 years is a very conservative limit that allows for a very wide buffer
for year-over-year analysis. The max is set to 5 years because that is
the policy listed for logging in hosted Discourse.
2018-06-20 10:44:11 +10:00
riking
1de0ef137e
FIX: SearchLog: Do not store IP of logged in users
2018-06-20 10:44:11 +10:00
Sam
94124ee2a6
skip erratic spec
2018-06-20 10:08:06 +10:00
Sam
2a8e7a5d4e
upgrade gems
2018-06-20 10:07:56 +10:00
Sam
8ea29c51ae
SECURITY: update sprockets for CVE-2018-3760
2018-06-20 09:49:26 +10:00
Sam
4d984a5a63
extra diagnostics for thread issues
2018-06-20 09:19:16 +10:00
Sam
cbaf521fc1
correct regression and add integrity spec for onceoffs
2018-06-20 09:09:31 +10:00
Jeff Atwood
ab48664f79
Merge pull request #6014 from jtlindsey/patch-1
...
Updated Elastic Email Pricing for clarity
2018-06-19 15:52:24 -07:00
J Travis Lindsey
e7840095bd
Updated Elastic Email Pricing for clarity
...
Updated Elastic Email Pricing for clarity
2018-06-19 18:40:50 -04:00
Kris
b637b57e4f
FIX: Alignment of user dropdown menu icons
2018-06-19 15:38:06 -04:00
Jeff Wong
35a645c71f
DOC: update ruby version recommendations, remove old about pg10 compatability
2018-06-19 12:12:36 -07:00
Neil Lalonde
b9cb97df7f
add support for badges in discourse_merger
2018-06-19 15:11:48 -04:00
Kris
82cb163ef3
formatting fix
2018-06-19 13:07:16 -04:00
Kris
0d81633da9
Replacing onebox loading gif with css spinner
2018-06-19 12:59:00 -04:00
Jeff Wong
2ff226e509
FIX: consider staged users mature (no spam checks) after 1 day
2018-06-19 09:41:10 -07:00
Andrew Schleifer
2f7a8ed86c
use different example domain
2018-06-19 11:15:27 -05:00
Arpit Jalan
784202170b
fix the build
2018-06-19 21:40:08 +05:30
Arpit Jalan
aedc61a3b4
FEATURE: allow large icon to be uploaded in wizard
2018-06-19 21:08:02 +05:30
Michael Brown
ae5d255f83
FIX: Reference example.com instead of somesite.com in examples
...
* somesite.com actually exists...
* example.com should be used in examples and is harmless to visit
2018-06-19 10:37:24 -04:00
Neil Lalonde
dbcbd8d939
close connections in discourse_merger
2018-06-19 10:34:05 -04:00
Joffrey JAFFEUX
24c27b5321
FEATURE: adds a add_report method accessible in plugin.rb
2018-06-19 15:00:11 +02:00
Guo Xiang Tan
7eff64773c
Revert "FIX: Don't clear active connections in defer queue."
...
This reverts commit c9feadf9ec
.
2018-06-19 17:58:21 +08:00
Guo Xiang Tan
df24c51c6f
Revert "FIX: Don't try to dequeue an empty queue."
...
This reverts commit 1af7d4a894
.
2018-06-19 15:49:45 +08:00
Guo Xiang Tan
41c1e1b302
FIX: Discourse.keep_readonly_mode
does not work for multisite.
2018-06-19 15:44:08 +08:00
Guo Xiang Tan
1af7d4a894
FIX: Don't try to dequeue an empty queue.
2018-06-19 15:25:44 +08:00
Sam
b8e5989201
correct rake db:create, which needs a defer DB object
2018-06-19 16:43:50 +10:00
Sam
5f64fd0a21
DEV: remove exec_sql and replace with mini_sql
...
Introduce new patterns for direct sql that are safe and fast.
MiniSql is not prone to memory bloat that can happen with direct PG usage.
It also has an extremely fast materializer and very a convenient API
- DB.exec(sql, *params) => runs sql returns row count
- DB.query(sql, *params) => runs sql returns usable objects (not a hash)
- DB.query_hash(sql, *params) => runs sql returns an array of hashes
- DB.query_single(sql, *params) => runs sql and returns a flat one dimensional array
- DB.build(sql) => returns a sql builder
See more at: https://github.com/discourse/mini_sql
2018-06-19 16:13:36 +10:00
Sam
cc3fc87dd7
DEV: handle termination cleanly in autospec
2018-06-19 16:13:36 +10:00
OsamaSayegh
91b73e0c2d
FIX: remap shouldn't fail silently when an error occurs
2018-06-19 14:49:43 +10:00
Guo Xiang Tan
c9feadf9ec
FIX: Don't clear active connections in defer queue.
2018-06-19 12:45:16 +08:00
Guo Xiang Tan
34e4c8f573
FIX: Discourse.keep_readonly_mode
spins a new thread each time it is called.
2018-06-19 10:24:08 +08:00
Guo Xiang Tan
6e97242bb9
Monkey patch in 7830a950ef
2018-06-19 09:45:48 +08:00