Sam
1bd9e64a36
FIX: offline controller regression
2017-10-31 15:44:50 +11:00
Sam
9197feefb8
UX: onebox images no longer cause jiggle
...
This stops pages from "jiggling" while oneboxes download.
see: http://cssmojo.com/aspect-ratio-using-custom-properties-and-calc/
2017-10-31 13:50:58 +11:00
Sam
7c5a71e929
DEV: allow queue_jobs = false in dev
...
your mileage may vary
2017-10-31 13:50:58 +11:00
Sam
fab3e25101
FIX: badge selector showing up for anon
2017-10-30 16:21:31 +11:00
Sam
7ca08216bd
FIX: ensure we have no dangling db connections on threads
...
This correct 10 second timeouts in dev mode, when reloader kicks in
2017-10-30 14:24:15 +11:00
Sam
70aed105a6
FIX: bypass all site setting work for shadowed method
2017-10-27 11:12:44 +11:00
Sam
1db4c2d1a0
moving redis to readonly mode destablizes the test suite
2017-10-25 14:39:49 +11:00
Sam
0d816302e2
Explicitly avoid all readonly protection and scoping
2017-10-25 13:31:44 +11:00
Sam
7ca8853861
don't risk being stuck in readonly
2017-10-25 13:22:50 +11:00
Sam
877b7be579
FIX: in readonly mode don't double count pages
2017-10-25 13:19:43 +11:00
Sam
d4d5e6965e
FEATURE: discourse-prometheus is an official plugin
2017-10-24 10:27:28 +11:00
Sam
361fbfa518
FEATURE: raise an event when a sidekiq job runs
2017-10-23 17:30:17 +11:00
Sam
55d096ee8b
FEATURE: add event for scheduled_job_ran
2017-10-23 17:22:17 +11:00
Sam
220a961898
correct unicorn sidekiq messaging
2017-10-23 17:12:25 +11:00
Sam
15932f391e
FEATURE: Add events when web and sidekiq forks start
2017-10-23 15:40:45 +11:00
Sam
87e4c2a90f
allow for missing header in tests
2017-10-23 11:04:24 +11:00
Sam
8eb00984ea
improve plugin autospec watcher
2017-10-23 10:49:42 +11:00
Sam
7f9b0f5e60
try moving shortcut to ctrl+alt+f
2017-10-18 12:20:45 +11:00
Sam
a4c539bade
FEATURE: Allow registration of detailed request logger
...
Detailed request loggers can be used to gather rich timing info
from all requests (which in turn can be forwarded to monitoring solution)
Middleware::RequestTracker.detailed_request_logger(->|env, data| do
# do stuff with env and data
end
2017-10-18 12:10:30 +11:00
Sam
1dd2b51059
remove redundent stubs
2017-10-18 12:10:30 +11:00
Sam Saffron
8185b8cb06
FEATURE: cache https redirects per hostname
...
If a hostname does an https redirect we cache that so next
lookup does not incur it.
Also, only rate limit per ip once per final destination
Raise final destination protection to 1000 ip lookups an hour
2017-10-17 16:22:54 +11:00
Sam Saffron
646c6eb7cd
FEATURE: add :before_post_process_cooked hook
...
Also reduce amount of image downloading
2017-10-17 16:22:54 +11:00
Sam
229a10e142
Missed a whitelist, compensate for strict classes
2017-10-16 10:46:01 +11:00
Sam
7af1bf32d5
UX: switch global search trigger to ctrl+alt+s
...
Otherwise it conflicts with firefox
2017-10-16 10:01:17 +11:00
Sam
9cb088e3f6
FIX: restrict classes allowed for img tag in Markdown
2017-10-16 09:34:30 +11:00
Sam
9b4fd0b26b
correct multisite issues with scheduler
2017-10-11 18:46:53 +11:00
Sam
61f32ed431
FIX: we can not namespace eval automatically, it is impossible
2017-10-11 16:41:26 +11:00
Sam
6b4a1af160
FIX: don't attempt to schedule if there is no next run
2017-10-11 14:27:16 +11:00
Sam
233299982f
keep time consistent, we always use to_i
2017-10-11 14:26:50 +11:00
Sam
4ea87b5ab8
Merge branch 's3_refactor'
2017-10-09 10:27:52 +11:00
Sam
a8b4255bae
Correct rule installation in AWS
2017-10-09 10:26:58 +11:00
Sam
70bb2aa426
FEATURE: allow specifying s3 config via globals
...
This refactors handling of s3 so it can be specified via GlobalSetting
This means that in a multisite environment you can configure s3 uploads
without actual sites knowing credentials in s3
It is a critical setting for situations where assets are mirrored to s3.
2017-10-06 16:20:01 +11:00
Sam
5881355006
remove uneeded assertion
2017-10-04 15:59:16 +11:00
Sam
ebdf8d6718
remove uneeded code
2017-10-04 15:05:58 +11:00
Sam
14310d2eee
UX: title in JS must match title on Server
...
Corrects title flashing with incorrect value on front page reloads
2017-10-04 15:04:42 +11:00
Sam
a4d4db4f0c
PERF: code not correctly caching git commands
...
Every check for Discourse version could result in shelling out.
2017-10-04 14:22:38 +11:00
Sam
4ee2fcd3d5
correct flaky spec
2017-10-04 10:47:24 +11:00
Sam
5b96463c40
in production there is no cached it seems
2017-10-03 18:27:09 +11:00
Sam
ac01885b60
FEATURE: rake tasks for uploading assets to S3
...
This opens the door to serving application.js and so on from s3.
Also updates s3 gem for some tagging support
2017-10-03 18:00:53 +11:00
Sam
eaa896d8ee
FIX: not serving non brotli cdns from cdn_url
...
(this means that access control allow origin could break)
2017-10-03 11:20:08 +11:00
Sam
9fa575dca1
Update message bus
...
This corrects a rare race condition.
2017-10-02 15:21:45 +11:00
Sam
8f7062bd7b
FEATURE: reduce API key permission to TL0
2017-10-02 10:59:55 +11:00
Sam
41261b32a5
FIX: update message bus
...
- Corrects broken short polling
- Corrects after fork
2017-09-29 16:58:12 +10:00
Sam
0358931b9f
correct erratic spec
2017-09-29 12:58:15 +10:00
Sam
f6fdc1ebe8
FEATURE: flexible crawler detection
...
You can use the crawler user agents site setting to amend what user agents
are considered crawlers based on a string match in the user agent
Also improves performance of crawler detection slightly
2017-09-29 12:31:50 +10:00
Sam
05dd97ffe0
correct iPad sizing
2017-09-29 11:49:10 +10:00
Sam
b2575a8ce3
improve keyboard height detection
2017-09-28 21:25:03 +10:00
Sam
cfed431ef2
More height hacks for iPhone
2017-09-28 18:06:00 +10:00
Sam
d36d5ba8ac
Correct iPad fudge factors for keyboard size detection
2017-09-28 17:26:54 +10:00
Sam
8ecf313a81
FIX: correctly raise errors when downloads fail
...
This corrects an issue where we are hitting Gravatar for 404 over and over
Also ensures file download properly reports errors
2017-09-28 16:35:43 +10:00
Sam
b80320da5e
no verbose logging for failed downloads of gravatars
2017-09-28 11:32:26 +10:00
Sam
a311dd06fe
UX: mess with iPad and iPhone sizing to compensate for keyboard
...
iOS still has no mechanism for figuring out how big the keyboard is, so
we fudge it.
2017-09-27 16:50:28 +10:00
Sam Saffron
4cef3cd762
move fix to top of test
2017-09-01 13:12:47 -04:00
Sam Saffron
936582b8d1
Correct flaky spec
...
Can fail if the machine running tests has less that 10% free space
2017-09-01 13:10:01 -04:00
Sam Saffron
46ebd0ee40
correct spec and allow for zero allowed iframes
2017-09-01 12:08:55 -04:00
Sam Saffron
e283e6aea0
FEATURE: allowed_iframes site setting for allowing iframes
...
This allows you to whitelist custom iframes if needed in posts
2017-09-01 10:15:44 -04:00
Sam Saffron
7f8a90ef63
remove non english comment
2017-08-31 17:00:37 -04:00
Sam Saffron
3bdade8970
correct fragile spec
2017-08-31 15:55:56 -04:00
Sam Saffron
85ff6b8083
hold back on dropping email for now
2017-08-30 10:40:49 -04:00
Sam
9a861c1b43
Correct previous commit
...
Selector was way too wide
2017-08-29 16:51:57 -04:00
Sam
5cdb486332
UX: large topic creation area on mobile
...
This refines the iOS hack and allows for height 100%
on the composer
Also removes annoying box shadows
2017-08-29 15:45:02 -04:00
Sam
04e3526096
Only remove default locale which is the only column we touch
...
see: https://meta.discourse.org/t/failing-tests-in-discourse-dev-due-to-multisite/68720/5
2017-08-29 14:02:24 -04:00
Sam
c705159d22
Remove email column from user table
2017-08-29 11:50:56 -04:00
Sam
b3fd091379
annotate stuff
2017-08-29 10:48:22 -04:00
Sam
50203794e6
FIX: staged users should get emails on must_approve_users sites
2017-08-28 17:32:07 -04:00
Sam
41e7bdff38
FIX: don't refresh notifications in a tight loop
2017-08-28 16:52:00 -04:00
Sam
9f0f086b3e
FEATURE: allow API to mark accounts as approved on creation
2017-08-28 15:36:46 -04:00
Sam
e282f10d94
defer drop alias_level
2017-08-28 13:26:13 -04:00
Sam
552fbd3c8d
lint
2017-08-28 12:25:34 -04:00
Sam
6e1809ce32
add a debugging task for running all schedules
2017-08-25 12:19:34 -04:00
Sam
fef08c6fee
FEATURE: rake db:stats
...
Basic rake task to provide db stats like largest tables, row count and size
2017-08-25 10:29:04 -04:00
Sam
237968b1b7
PERF: add an index on slug to make sure that slug lookups are quick
2017-08-24 13:33:25 -04:00
Sam
bcbee91f0c
lint
2017-08-24 13:24:52 -04:00
Sam
f60a1b0275
correct erratic spec
2017-08-24 13:19:26 -04:00
Sam
a4e3e081c9
correct spec
2017-08-24 10:40:14 -04:00
Sam
fdc5c080ea
FIX: bump default max for int site settings to a much higher number
...
(close to long int)
2017-08-24 10:16:41 -04:00
Sam
f766ea4257
Correct short url decoding for sha1s leading with zero
...
This was picked up cause we had a flaky test!
2017-08-23 11:08:18 -04:00
Sam
c7532003f3
add more diagnostics for flaky spec
2017-08-23 10:41:57 -04:00
Sam
8dfb1be4d1
FEATURE: unlisted *only* means not listed in topic lists
...
Remove security by obscurity feature that tries for exact slug match
If you need to hide a topic from users either move to a secure category
or convert to a PM
2017-08-22 17:53:54 -04:00
Sam
e8cdb1d8a7
correct flaky spec
2017-08-22 16:54:29 -04:00
Sam
d7a2584c6e
FEATURE: image uploads now have short urls
...
Shorten all image uploads to use short urls, this is the client
side implementation.
2017-08-22 16:40:08 -04:00
Sam
117ce24ac3
Correct a flaky spec
2017-08-22 13:56:38 -04:00
Sam
ce8030716f
FIX: broken badge show page
2017-08-22 13:28:02 -04:00
Sam
d4c28f6fcb
remove stray puts from spec
2017-08-22 11:46:51 -04:00
Sam
bcf7dc38c2
FEATURE: server side support for upload:// markdown
...
This allows uploads to be specified using short sha1 hash instead of full
URL
Client side change is pending
2017-08-22 11:46:23 -04:00
Sam
505939eab7
correct spec
2017-08-21 14:40:44 -04:00
Sam
2f0c6c99e0
FIX: ip lookup not working
...
Also add a powered by line so it is clear this makes an external service call
2017-08-21 14:18:49 -04:00
Sam
5c80d4bcdd
UX: move close button to bottom and add esc hint.
2017-08-18 15:40:34 -04:00
Sam
aeedecd27c
correct erratically failing spec
2017-08-18 15:10:37 -04:00
Sam
a83bd537f4
FIX: exception in excerpt parser for null nodes
2017-08-17 16:13:30 -04:00
Sam
c2a6616035
Correct erratic spec failure
2017-08-17 15:26:31 -04:00
Sam
0c4527323e
FIX: queues posts broken for multiple posts
2017-08-17 14:47:09 -04:00
Sam
9246bc3400
support up button from first result
2017-08-17 13:32:30 -04:00
Sam
889b99552a
FEATURE: allow ctrl+shift+s to open search
2017-08-17 12:57:08 -04:00
Sam
dc4d5677eb
FEATURE: use a when search result is focused to add to composer
2017-08-17 12:39:43 -04:00
Sam Saffron
aea9db56d4
fix formatting
2017-08-17 08:10:57 -04:00
Sam
91f0f76fb1
update message bus to ruby 2.0 packaged version
2017-08-16 15:05:39 -04:00
Sam
304379d436
FEATURE: up/down arrow will highlight search result
...
Then you can use enter to visit result.
2017-08-16 14:14:55 -04:00
Sam
c68999e128
annotate models
...
WARNING annotators out there, be to run bin/annotate on RAILS_ENV=test on a clean db
2017-08-16 10:38:11 -04:00
Sam Saffron
56f7b4e01e
PERF: reindex search data without loading large post counts
2017-08-16 08:18:59 -04:00