Commit Graph
100 Commits
Author SHA1 Message Date
Sam 1721872084 cleanup out-of-memory detection and correction code 2015-03-27 15:44:52 +11:00
Sam 251ebb0d65 disable memory check till we confirm all is good 2015-03-27 14:51:22 +11:00
Sam 43eb030402 PERF: restart sidekiq if it consumes more than 500MB
configurable with UNICORN_SIDEKIQ_MAX_RSS
2015-03-27 14:27:01 +11:00
Sam 48c58601a6 fix spec 2015-03-27 13:14:50 +11:00
Sam 58c95f64d2 FIX: stop stripping zero-width-whitespace
This char is used for formatting khmer words
2015-03-27 13:03:24 +11:00
Sam 05737effef FIX: stop stripping dots from SSO names
This could upset Louis C.K.
2015-03-27 10:25:51 +11:00
Sam d80ed94608 more username cycling avoidance 2015-03-27 10:10:53 +11:00
Sam 0c287d7d6b ensure usernames do not keep cycling 2015-03-27 10:04:16 +11:00
Sam 94fceaf517 Remove non-legit test, we should always change attributes even if external is unchanged
Overriding should be all or nothing
2015-03-27 09:57:43 +11:00
Sam 4566a1e30a FIX: sso override code not triggered when attaching to existing user 2015-03-27 09:39:35 +11:00
Sam 512ad4dae3 not sure why this is failing 2015-03-26 17:24:35 +11:00
Sam 5aa1272f05 clean up first day user definition and object model 2015-03-26 16:48:36 +11:00
Sam 9834d11503 Staff and TL2 up are immune to newuser checks and not considered new users 2015-03-26 16:04:46 +11:00
Sam 133e3bab7a Merge pull request #3298 from awesomerobot/master
lighter yellow directory highlight, badge fix on mobile
2015-03-26 12:59:16 +11:00
Sam cfa511e35d FIX: correctly mute likers
FEATURE: disallow all muting of staff
2015-03-26 12:08:04 +11:00
Sam e5c3266c30 Merge pull request #3295 from RaceProUK/master
Swapped order of checks
2015-03-25 16:55:54 +11:00
Sam eaab5c64f0 window scroll event wreaks havoc, get rid of it. 2015-03-25 16:37:30 +11:00
Sam 692433f0cf try to make it a bit smoother 2015-03-25 15:23:26 +11:00
Sam eec87b5513 workaround more missing click events 2015-03-25 14:11:17 +11:00
Sam 64cf14e19e increase timeout, so scroll event does not hit 2015-03-25 13:40:22 +11:00
Sam 908c4ce8e6 weird IOs hack to make the upload button work 2015-03-25 13:20:17 +11:00
Sam 707f4f9a58 more nasty iPad Safari and iPhone Safari hacks 2015-03-25 12:17:39 +11:00
Sam 4bad697a8f Merge pull request #3294 from RaceProUK/master
Added 'M' to the number formatter
2015-03-25 09:22:20 +11:00
Sam 1bdce815e2 FIX: workaround for Safari on iOS causing crazy composer positioning
see: http://stackoverflow.com/questions/29001977/safari-in-ios8-is-scrolling-screen-when-fixed-elements-get-focus
2015-03-24 17:43:05 +11:00
Sam 92e371f0b3 FEATURE: civilized mute
Allow user to mute all notifications generated by specific users
2015-03-24 11:55:22 +11:00
Sam 624b0b81b2 remove uneeded column 2015-03-23 17:24:23 +11:00
Sam 1601211617 Revert "FEATURE: allow end users to opt out of getting any private messages"
This reverts commit 229ecc4f8a.
2015-03-23 17:21:58 +11:00
Sam 229ecc4f8a FEATURE: allow end users to opt out of getting any private messages 2015-03-23 15:50:45 +11:00
Sam 8cb380354e leftover debug code 2015-03-23 15:49:02 +11:00
Sam 536c930090 update message bus so we pick up on Exception -> StandardError change 2015-03-23 12:26:18 +11:00
Sam bb20f64cb2 use standard error so its easier to catch 2015-03-23 12:20:50 +11:00
Sam 23513eaf87 get satisfaction has topics with no body 2015-03-23 12:16:43 +11:00
Sam 23ed7e9db8 Exceptions we use in the app should inherit off StandardError 2015-03-23 12:16:21 +11:00
Sam 24e4808aeb ensure titles exist 2015-03-23 11:58:17 +11:00
Sam acf6b253e1 FEATURE: pick a valid hostname for notification email based on hostname
FEATURE: allow notification email to be set via ENV
2015-03-23 11:57:59 +11:00
Sam 853c91d7d0 Merge pull request #3289 from fullfatthings/suppress_sso_welcome_emails
Add an sso option to suppress welcome emails
2015-03-23 10:36:58 +11:00
Sam c5dd11f64c we dont need much of the escaping magic cause for whatever crazy reason
this CSV format does not allow newlines
2015-03-20 16:51:46 +11:00
Sam 8bc5de665b message bus upgrade to correct polling in background tabs 2015-03-20 09:01:32 +11:00
Sam 85df7436bb added get satisfaction importer for gradle 2015-03-19 16:09:25 +11:00
Sam 89ea125c73 automatic need only be added once to the hash 2015-03-18 17:47:39 +11:00
Sam 948617cb0b FIX: ruby 2.2 using new parsing library which is way too lax 2015-03-18 16:25:24 +11:00
Sam a0369855b9 FIX: subfolder offsite message bus was not returning wrong header 2015-03-18 09:10:35 +11:00
Sam 4720d0c12b Merge pull request #3277 from techAPJ/patch-1
FIX: return proper error message when replying to a closed or deleted topic
2015-03-17 07:38:00 +11:00
Sam 59a2f622c6 FIX: pause processing background messages while saving a post 2015-03-16 18:27:18 +11:00
Sam 8b4469a3f0 improve tests, ensure stream grows if all posts are loaded on commit 2015-03-16 17:40:49 +11:00
Sam 1d021d7019 commit post not working properly when stage post was not called
caused issues editing posts that were committed by the composer
2015-03-16 17:14:01 +11:00
Sam f359cdeddc remove hacky protocol code, not needed 2015-03-13 20:50:38 +11:00
Sam 4301ce6613 another try at a fix 2015-03-13 20:05:24 +11:00
Sam a09d471514 Correct CDN url creation for "//" rooted CDNs 2015-03-13 19:31:33 +11:00
Sam 08abb85682 oops 2015-03-13 18:50:34 +11:00
Sam f6d56fef9e correct behavior 2015-03-13 18:33:47 +11:00
Sam 01fcc7503a big hacks to get tests to pass 2015-03-13 17:45:55 +11:00
Sam 20ab1f97e4 REGRESSION: not caching async scripts, remove cache buster 2015-03-13 16:55:27 +11:00
Sam 6262ff457d hmmm 2015-03-13 16:34:57 +11:00
Sam 1da2b466ba jshint ignore 2015-03-13 16:28:31 +11:00
Sam a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Sam 12d59d13a7 stop randomly failing here 2015-03-12 13:44:13 +11:00
Sam c14d17b5f3 FIX: do not include jquery.widget twice 2015-03-12 13:35:51 +11:00
Sam c51dc9af54 update ace editor to latest, fix regression where syntax highlighting was missing 2015-03-12 12:20:50 +11:00
Sam b1c18367e4 REGRESSION: not navigating to topic when replying (and not on topic) 2015-03-12 11:26:25 +11:00
Sam fb41816003 smarter clear cache to help tests 2015-03-12 10:47:32 +11:00
Sam c4c5c10ea0 FEATURE: stop pinning child categories on to parent 2015-03-12 10:42:26 +11:00
Sam f4a051c2c3 UX: remove visited styling from topic list 2015-03-10 21:30:46 +11:00
Sam b62a72f82c Merge pull request #3264 from awesomerobot/master
bullet category fixes
2015-03-10 16:40:43 +11:00
Sam 1fdf9038db FIX: clicking on username was causing page to scroll all the way up 2015-03-10 16:33:14 +11:00
Sam 927f14ebda update more gems 2015-03-10 11:32:51 +11:00
Sam 710f33b135 more gem updates 2015-03-10 11:26:32 +11:00
Sam 34fcad154e more gem updates (this is all part of preparing for a new docker image) 2015-03-10 11:23:11 +11:00
Sam 7835bb90ef update gems 2015-03-10 11:09:49 +11:00
Sam 5b1ee3fedf oops 2015-03-09 13:42:37 +11:00
Sam ff063f4f9b play around with mock_redis, add comment explaining what happened 2015-03-09 13:14:29 +11:00
Sam da5446a438 FIX: Don't use discourse.conf in test 2015-03-09 13:14:29 +11:00
Sam 79a17d5c22 FIX: discourse.conf not parsing out comments correctly 2015-03-09 13:14:29 +11:00
Sam d4d5f739ea get rid of deprecation 2015-03-09 13:14:29 +11:00
Sam f5af4768eb FEATURE: add clean support for running Discourse in a subfolder
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
2015-03-09 13:14:29 +11:00
Sam 4c4183228f Merge pull request #3250 from cdesch/master
Bump plugin version from 0.1 to 0.2
2015-03-09 09:42:49 +11:00
Sam 3abac82d84 Merge pull request #3255 from jamesgecko/vagrant-docs-update
Documentation: prefix `gem install mailcatcher` with sudo
2015-03-09 09:41:54 +11:00
Sam ea1cd8dcd4 remove migration bombs 2015-03-06 18:14:19 +11:00
Sam 2a586d59e9 FEATURE: top topics all time
tweak top algorithm (we will continue next week)
2015-03-06 18:00:29 +11:00
Sam db7a225df7 correct specs 2015-03-06 14:36:00 +11:00
Sam de107a60c2 UX: navigate to staged posts faster right away
stop with the blue unread circle on new posts
2015-03-06 14:17:01 +11:00
Sam a26853c1a4 try to work around caching bug in spec 2015-03-05 17:47:34 +11:00
Sam bf8fd0815f FIX: stop hiding suggested topics when new posts show up 2015-03-05 17:35:43 +11:00
Sam ad30c9ed92 Merge pull request #3253 from riking/site-json
FEATURE: All preload data available under /site/
2015-03-05 15:59:23 +11:00
Sam 360ab3510d oops 2015-03-05 15:36:08 +11:00
Sam 09e470c98a FEATURE: start counting repeat topic views (default is one per 8 hours)
configurable with topic_view_duration_hours site setting
2015-03-05 15:25:05 +11:00
Sam 3e5420da35 correct comments 2015-03-05 15:09:31 +11:00
Sam 5ba5a9f3d6 UX: fix jerky UI when creating new posts
- do not scroll screen if post is already on screen
- do not hide/show suggested topics each time you post
- be less aggressive about setting scrollTop in LockOn
2015-03-05 15:01:17 +11:00
Sam b015db647b BUGFIX: js error in composer 2015-03-05 14:57:31 +11:00
Sam 531511fe35 correct staging code so it works as expected even if preview is simply disabled 2015-03-04 17:08:29 +11:00
Sam c5897972fd FIX: do not stage posts on mobile, we have no cooked 2015-03-04 15:13:20 +11:00
Sam 9698447e89 FEATURE: support staff only custom user fields 2015-03-03 17:51:01 +11:00
Sam f432b9f5b7 correct spec failure, only test code was affected 2015-03-03 10:21:01 +11:00
Sam 474c947427 temporarily disable test while debugging 2015-03-03 09:51:10 +11:00
Sam 336c15672a clear cache to fix spec 2015-03-03 08:27:27 +11:00
Sam 96f240283b Merge pull request #3241 from techAPJ/patch-1
UX: show user name and title on about page
2015-03-02 21:14:51 +11:00
Sam 14feec8aac UX: rename posts -> replies (and change to be posts-1) 2015-03-02 15:59:23 +11:00
Sam 37fefc16de workaround, something about report spec is messed up 2015-03-02 12:29:56 +11:00
Sam ec078ddad6 Merge pull request #3232 from riking/patch-i18n
FIX: Reenable console output for verbose localization
2015-03-02 10:20:16 +11:00
Sam 79249a8d5f Merge pull request #3244 from gschlager/german_umlauts
FEATURE: Adds transliteration of German umlauts in slugs
2015-03-02 10:19:30 +11:00